[haiku-bugs] Re: [Haiku] #17511: qemu riscv64 no longer booting

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 25 Mar 2022 22:09:51 -0000

#17511: qemu riscv64 no longer booting
-------------------------------------+-------------------------
  Reporter:  kallisti5               |      Owner:  (none)
      Type:  bug                     |     Status:  new
  Priority:  normal                  |  Milestone:  Unscheduled
 Component:  System/Boot Loader/EFI  |    Version:  R1/beta3
Resolution:                          |   Keywords:
Blocked By:                          |   Blocking:
  Platform:  riscv64                 |
-------------------------------------+-------------------------
Comment (by kallisti5):

 To touch on this one, we have determined a bit more.  There are two known
 major issues with the riscv64 port.

 1) Only seen in qemu (this issue)

 Adding a single dprintf in src/system/boot/loader/loader.cpp solves this
 crash...
 {{{
     status_t status = elf_load_image(modules, name);
     dprintf("DJ QUACKY QUACK\n");
 }}}

 The cause is unknown. Speculation has included some kind of memory
 alignment issue, or some other mmu issue.


 2) userspace hang #17468 - seen in qemu and the unmatched board.

 This is seen on both the Unmatched hardware, and in qemu after problem 1
 above is worked around.  x512 has mentioned the issue happens due to the
 ICU67 package (and downgrading to previous ICU 5x solves the problem).

 The most likely core cause is the GCC 11.2 upgrade which occurred around
 roughly the same time as the ICU version bump.    Building ICU70 might
 solve this problem, however more likely is some lingering bug in binaries
 generated by gcc 11.2
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17511#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: