I would like to run AROS on my Arch Linux system. Unfortunately, due to the way the X11 libraries are compiled here without the -mstackrealign flag, it doesn't work normally. I had some help almost a year ago, and that is the conclusion that was drawn. 64-bit AROS works, but it seems not to be useful due to the relatively few programs that have been recompiled for this ABI version. I can recompile X with the flag, but with the next version of X11, the package manager will just blow it away again. Which is what brought me here.
But then I noticed that there is an SDL replacement for X11. Hoping that this would allow me to run the 32-bit AROS on my system, have switched out the files in Storage/Monitors, but there is still a problem.
First question, is SDL supported?
If so, here's what I did. I have this Git repo and branch:
jlm@mcp:~/code/AROS_build/AROS 237> git remote -v
origin https://github.com/deadw00d/AROS.git (fetch)
origin https://github.com/deadw00d/AROS.git (push)
jlm@mcp:~/code/AROS_build/AROS 238> git branch -vv
* alt-abiv0 6302dc7d23 [origin/alt-abiv0] Backport: Change labels of Register group int ZText to support escape sequences
master 98ff8456ea [origin/master: behind 670] Add documentation on requirements and porting issues
I built using the rebuild.sh script to build toolchain-alt-abiv0-i386, and then alt-abiv0-linux-i386 . Updates to the repo have made it so that it builds perfectly cleanly for me, so thanks for that.
When I run it I get these errors:
215> ./Arch/linux/AROSBootstrap
[Bootstrap] RAM memory block allocated: 0xe7800000 - 0xf7800000 (268435456 bytes)
[ELF Loader] Calculating kickstart size...
[ELF Loader] Code 1624021 bytes, data 2241 bytes, BSS array 240 bytes
[ELF Loader] Loading kickstart...
[ELF Loader] Code 0xf7a73000, Data 0x57dac8b0, Module Arch/linux/kernel...
[ELF Loader] Code 0xf7a9d0fa, Data 0x57dace48, Module Arch/linux/Devs/hostlib.resource...
[ELF Loader] Code 0xf7a9ee39, Data 0x57dace50, Module Arch/linux/Devs/Drivers/unixio.hidd...
[ELF Loader] Code 0xf7aa34cc, Data 0x57daceb8, Module Arch/linux/L/emul-handler...
[ELF Loader] Code 0xf7aac0a6, Data 0x57dacfb4, Module Arch/linux/Libs/expansion.library...
[ELF Loader] Code 0xf7aaf3ba, Data 0x57dacfbc, Module Arch/linux/Devs/processor.resource...
[ELF Loader] Code 0xf7ab368b, Data 0x57dacff8, Module Arch/linux/Devs/battclock.resource...
[ELF Loader] Code 0xf7ab5307, Data 0x57dad010, Module Arch/linux/Devs/timer.device...
[ELF Loader] Code 0xf7ab900d, Data 0x57dad018, Module Devs/bootloader.resource...
[ELF Loader] Code 0xf7abba15, Data 0x57dad020, Module Devs/FileSystem.resource...
[ELF Loader] Code 0xf7abc901, Data 0x57dad024, Module Devs/console.device...
[ELF Loader] Code 0xf7aca9e8, Data 0x57dad02c, Module Devs/dosboot.resource...
[ELF Loader] Code 0xf7ad529e, Data 0x57dad034, Module Devs/gameport.device...
[ELF Loader] Code 0xf7ad7c0d, Data 0x57dad03c, Module Devs/lddemon.resource...
[ELF Loader] Code 0xf7adaa02, Data 0x57dad044, Module Devs/input.device...
[ELF Loader] Code 0xf7addb26, Data 0x57dad04c, Module Devs/keyboard.device...
[ELF Loader] Code 0xf7ae0515, Data 0x57dad054, Module Devs/Drivers/gfx.hidd...
[ELF Loader] Code 0xf7b112be, Data 0x57dad058, Module Devs/Drivers/hiddclass.hidd...
[ELF Loader] Code 0xf7b14584, Data 0x57dad060, Module Devs/Drivers/keyboard.hidd...
[ELF Loader] Code 0xf7b16b9f, Data 0x57dad068, Module Devs/Drivers/mouse.hidd...
[ELF Loader] Code 0xf7b19474, Data 0x57dad06c, Module Libs/aros.library...
[ELF Loader] Code 0xf7b1ad0e, Data 0x57dad074, Module Libs/debug.library...
[ELF Loader] Code 0xf7b1e54f, Data 0x57dad07c, Module Libs/dos.library...
[ELF Loader] Code 0xf7b466ad, Data 0x57dad084, Module Libs/graphics.library...
[ELF Loader] Code 0xf7b77186, Data 0x57dad088, Module Libs/intuition.library...
[ELF Loader] Code 0xf7bd38f3, Data 0x57dad090, Module Libs/keymap.library...
[ELF Loader] Code 0xf7bd6b3c, Data 0x57dad098, Module Libs/layers.library...
[ELF Loader] Code 0xf7be2f04, Data 0x57dad0a0, Module Libs/oop.library...
[ELF Loader] Code 0xf7be932d, Data 0x57dad0a8, Module Libs/utility.library...
[ELF Loader] Code 0xf7bed989, Data 0x57dad0b0, Module L/con-handler...
[ELF Loader] Code 0xf7bf8116, Data 0x57dad0b4, Module L/ram-handler...
[Bootstrap] Entering kernel at 0xf7a73000...
[KRN] Protecting host process stack (0xfff18fe0 - 0xfff22fe0)
sdl.hidd: using SDL version 1.2.60
[KRN] Trap signal 11, SysBase e88011e0, KernelBase e8801f44
SP=e8857ddc FP=e8857ed4 PC=f7b9d569
R0=00000000 R1=e88591d0 R2=e88591d0 R3=0000045b
R4=00000000 R5=00000018
The workbench screen shows up with an error. There is no mouse cursor on the screen so I can't interact with the window there. It says:
Software Failure!
Program failed
Task : 0xE884B940 - input.device
Error : 0x80000002 - Hardware bus fault/address error
PC : 0xF7B9D569
Module Libs/intuition.library Segment 1 .text (0xF7B771A0) Offset 0x00263C9
Wait for disk activity to finish.
Now, this brings vaguely to mind some input problem I think I had in the past. I thought the issue was documented in my previous thread on this forum, but I didn't find it. Something about SDL not liking commas in the device name. But both of my keyboards have that, and all of my other software seems to work fine so I am not sure here. I have pulled out all of my other input devices: A DS4, a Griffin Powermate, and a 3DConnexion SpaceNavigator, but the error persists.
Here are my input devices:
256> lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 016: ID 5043:5442 PloopyCo Trackball
Bus 002 Device 015: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 002 Device 014: ID 11b0:6368 ATECH FLASH TECHNOLOGY Multi-Reader
Bus 002 Device 013: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 005: ID 04fe:0006 PFU, Ltd Happy Hacking Keyboard Lite2
Bus 009 Device 004: ID 04fe:0008 PFU, Ltd Generic USB Hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Any assistance (again, if SDL is supported), is appreciated.