0. Repro:
$ wget
https://github.com/carlosedp/riscv-bringup/releases/download/v1.0/UbuntuFocal-riscv64-QemuVM.tar.gz
$ tar xzf UbuntuFocal-riscv64-QemuVM.tar.gz
$ ./run_riscvVM.sh
(wait ~ 20 s)
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting udev Kernel Device Manager...
qemu-system-riscv64: ../../block/aio_task.c:64: aio_task_pool_wait_one:
Assertion `qemu_coroutine_self() == pool->main_co' failed.
(root password is "riscv" fwiw)
1. "Was the formerly working version 1:5.2+dfsg-6ubuntu2?"
I'm afraid I don't know, but I update a few times a week.
If you can tell me know to try individual versions, I'll do that
2. "full commandline you use to start your qemu test case?"
Probably the repo above is more useful, but FWIW:
qemu-system-riscv64 \
-machine virt \
-nographic \
-smp 4 \
-m 4G \
-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
3. "the same 1:5.2+dfsg-9ubuntu1 @amd64 it works fine for you? Just the
emulation of riscv64 on arm64 HW is what now fails for you correct?"
Yes x 2, confirmed with the above repro.
$ apt-cache policy qemu
qemu:
Installed: 1:5.2+dfsg-9ubuntu1
Candidate: 1:5.2+dfsg-9ubuntu1
Version table:
*** 1:5.2+dfsg-9ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
100 /var/lib/dpkg/status
4. "It also is interesting that you built qemu from git to have it work.
Did you build tag v5.2.0 or the latest commit?"
latest.
Rebuilding from the "vommit" tagged with v5.2.0 ...
--
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