AROSBootstrap for Linux Hosted fails on Ubuntu 22.04 LTS

NathanH · 3942

NathanH

  • Newbie
  • *
    • Posts: 17
    • Karma: +1/-0
Hi,

I just upgraded my laptop from Ubuntu 20.10 LTS to Ubuntu 22.04 LTS.  Everything worked fine on Ubuntu 20.10 LTS.  Now, however, I get the following error when running AROSBootstrap:

...
[ELF Loader] Code 0xb7843cec, Data 0x80ace04, Module ram-handler...
[Bootstrap] Entering kernel at 0xb772c000...
XError 8 (Major=73, Minor=0) task = X11
BadMatch (invalid parameter attributes)

My installation is icAROSDesktop 2.2.  Is my installation just too old now or is there a workaround like just updating the modules and kernel?  Thanks for your help.

Nathan



deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1524
    • Karma: +118/-0
Reply #1 on: October 16, 2022, 02:00:10 AM
Hi,

What's the effect of that error? Does AROS still boot?



NathanH

  • Newbie
  • *
    • Posts: 17
    • Karma: +1/-0
Reply #2 on: October 16, 2022, 10:55:55 AM
Hi,

I'm sorry, I should have been more explicit.  AROS fails to load with this error.

Nathan



deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1524
    • Karma: +118/-0
Reply #3 on: October 16, 2022, 02:23:36 PM



NathanH

  • Newbie
  • *
    • Posts: 17
    • Karma: +1/-0
Reply #4 on: October 16, 2022, 07:32:57 PM
Hi,

Thank you.  I CDed into that directory and ran ./AROSBootstrap -m 1024 and got the same result.  The error message below and the terminal window progresses no further failing to boot.

[ELF Loader] Code 0xb78e26a4, Data 0x575ece04, Module ram-handler...
[Bootstrap] Entering kernel at 0xb77cc000...
[KRN] Protecting host process stack (0xff801b80 - 0xff80bb80)
XError 8 (Major=73, Minor=0) task = X11
BadMatch (invalid parameter attributes)

Nathan



deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1524
    • Karma: +118/-0
Reply #5 on: October 17, 2022, 12:23:40 AM
Hmm, I tried that build on my Linux Mint 21 (which is LTS 22.04) and it starts without problems. It looks like this is something related to your setup. The messages should be:

[ELF Loader] Code 0xe75f96a4, Data 0x581a9764, Module ram-handler...
[Bootstrap] Entering kernel at 0xe74e3000...
[KRN] Protecting host process stack (0xffef1f60 - 0xffefbf60)
[X11] BitMap class @ 0xe86436e4

Clearly connecting to X11 server is failing in your case. I don't have ideas right now what could be causing it. What I could suggest you is to build locally AROS and enable logging in X11 driver to see more or less what fails. If you like, I can guide you through that process.



dizzy

  • Junior Member
  • **
    • Posts: 59
    • Karma: +60/-0
    • YouTube channel
Reply #6 on: October 17, 2022, 07:47:40 AM



NathanH

  • Newbie
  • *
    • Posts: 17
    • Karma: +1/-0
Reply #7 on: October 17, 2022, 08:08:43 PM
Hi,

Thank you.  That solved the problem.  I uncommented the line:

#WaylandEnable=false

in /etc/gdm3/custom.conf

and AROS Hosted booted just fine with no errors.  I have no idea what Wayland is and whether this setting will effect anything else but it solved my problem.  Just fyi, my Ubuntu installation of 22.04 LTS was bog standard with me changing no settings so others will probably run into this.  If you want me to do the logging with the setting the way it was initially so the AROS code can be updated to accommodate this please let me know.  Thanks guys for your help!

Nathan



deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1524
    • Karma: +118/-0
Reply #8 on: October 17, 2022, 11:39:25 PM
Thanks @dizzy for the tip and glad it solved it for you NathanH. We'll keep that problem in mind and eventually adjust AROS to work out of the box with standard 22.04 releases.