Thank you for all your work and these confirmations Tommy!

I was bringing my RPi4 up as well...
Note: My RPi4 is installed as aarch64
I ran userspaces with arm64 and armhf (via LXD).

In the arm64 userspace case I was able to trigger the bug reliably in 3/3 tries 
under a minute each time
In the armhf userspace case it worked just fine.

So to summarize (on my RPi4)
- RPi4  riscv emulation on arm64 userspace on arm64 kernel - fails (local 
system)
- RPi4  riscv emulation on armhf userspace on arm64 kernel - TODO (local system)
- XGene riscv emulation on armhf userspace on arm64 kernel - works (Canonistac)
- M1    riscv emulation on armhf userspace on armhf kernel - fails (Tommy)

But I've found a way to recreate this, which is all I needed for now \o/

...
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Started udev Kernel Device Manager.
qemu-system-riscv64: ../../util/qemu-coroutine-lock.c:57: 
qemu_co_queue_wait_impl: Assertion `qemu_in_coroutine()' failed.
./run_riscvVM.sh: line 31:  8302 Aborted                 (core dumped) 
qemu-system-riscv64 -machine virt -nographic -smp 2 -m 1G -bios fw_payload.bin 
-device virtio-blk-device,drive=hd0 -object 
rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-device,rng=rng0 
-drive file=riscv64-UbuntuFocal-qemu.qcow2,format=qcow2,id=hd0 -device 
virtio-net-device,netdev=usernet -netdev user,id=usernet,$ports


I need to build & rebuild the different qemu options (git, ubuntu, ubuntu 
without delta, former ubuntu version) to compare those. And a lot of other 
tasks fight for having higher prio ... that will take a while ...

** Changed in: qemu (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1921664

Title:
  Recent update broke qemu-system-riscv64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1921664/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to