Public bug reported:
Running QEMU with linux-starfive-5.17 results in a crash:
$ qemu-system-riscv64 -M virt -cpu host -accel kvm -m 4G -smp 4 -nographic
-bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin -kernel
/usr/lib/u-boot/qemu-riscv64_smode/u-boot.bin -object
memory-backend-file,id=mem,size=4096M,mem-path=/dev/hugepages,share=on -numa
node,memdev=mem -mem-prealloc -drive file=riscv64_2.img,format=raw,if=virtio
-drive file=/mnt/cidata-riscv64-2.iso,format=raw,if=virtio,read-only=on -global
driver=cfi.pflash01,property=secure,value=off -device
virtio-net-pci,mac=00:00:00:00:01:01,netdev=eth0 -netdev
user,id=eth0,hostfwd=tcp::8141-:22 -chardev
socket,id=char1,server=on,path=/tmp/vsock2 -device
virtio-net-pci,mac=00:00:00:00:01:02,netdev=eth1,mrg_rxbuf=off -netdev
type=vhost-user,id=eth1,chardev=char1,vhostforce=on,queues=2
qemu-system-riscv64: -chardev socket,id=char1,server=on,path=/tmp/vsock2: info:
QEMU waiting for connection on: disconnected:unix:/tmp/vsock2,server=on
error: kvm run failed Bad address
pc 0000000080201738
mhartid 0000000000000000
mstatus 0000000200000000
mip 0000000000000000
mie 0000000000000000
mideleg 0000000000000000
medeleg 0000000000000000
mtvec 0000000000000000
mepc 0000000000000000
mcause 0000000000000000
mtval 0000000000000000
mscratch 0000000000000000
x0/zero 0000000000000000 x1/ra 000000008000f38c x2/sp 00000000801fee80
x3/gp 0000000000000000
x4/tp 0000000000000000 x5/t0 00000000801fee00 x6/t1 0000000000000001
x7/t2 0000000000000000
x8/s0 00000000801fee90 x9/s1 00000000bf000000 x10/a0 00000000801fee90
x11/a1 0000000000000000
x12/a2 0000000000000170 x13/a3 00000000801ff000 x14/a4 0000000000000048
x15/a5 0000000080201738
x16/a6 0000000000000000 x17/a7 0000000000000000 x18/s2 0000000000000000
x19/s3 0000000000000000
x20/s4 0000000000000000 x21/s5 0000000000000000 x22/s6 0000000000000000
x23/s7 0000000000000000
x24/s8 0000000000000000 x25/s9 0000000000000000 x26/s10 0000000000000000
x27/s11 0000000000000000
x28/t3 0000000000000000 x29/t4 0000000000000000 x30/t5 0000000000000000
x31/t6 0000000000000000
** Affects: linux-starfive-5.17 (Ubuntu)
Importance: Undecided
Status: New
** Tags: riscv64
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-starfive-5.17 in Ubuntu.
https://bugs.launchpad.net/bugs/1985067
Title:
kvm run failed Bad address
Status in linux-starfive-5.17 package in Ubuntu:
New
Bug description:
Running QEMU with linux-starfive-5.17 results in a crash:
$ qemu-system-riscv64 -M virt -cpu host -accel kvm -m 4G -smp 4 -nographic
-bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin -kernel
/usr/lib/u-boot/qemu-riscv64_smode/u-boot.bin -object
memory-backend-file,id=mem,size=4096M,mem-path=/dev/hugepages,share=on -numa
node,memdev=mem -mem-prealloc -drive file=riscv64_2.img,format=raw,if=virtio
-drive file=/mnt/cidata-riscv64-2.iso,format=raw,if=virtio,read-only=on -global
driver=cfi.pflash01,property=secure,value=off -device
virtio-net-pci,mac=00:00:00:00:01:01,netdev=eth0 -netdev
user,id=eth0,hostfwd=tcp::8141-:22 -chardev
socket,id=char1,server=on,path=/tmp/vsock2 -device
virtio-net-pci,mac=00:00:00:00:01:02,netdev=eth1,mrg_rxbuf=off -netdev
type=vhost-user,id=eth1,chardev=char1,vhostforce=on,queues=2
qemu-system-riscv64: -chardev socket,id=char1,server=on,path=/tmp/vsock2:
info: QEMU waiting for connection on: disconnected:unix:/tmp/vsock2,server=on
error: kvm run failed Bad address
pc 0000000080201738
mhartid 0000000000000000
mstatus 0000000200000000
mip 0000000000000000
mie 0000000000000000
mideleg 0000000000000000
medeleg 0000000000000000
mtvec 0000000000000000
mepc 0000000000000000
mcause 0000000000000000
mtval 0000000000000000
mscratch 0000000000000000
x0/zero 0000000000000000 x1/ra 000000008000f38c x2/sp
00000000801fee80 x3/gp 0000000000000000
x4/tp 0000000000000000 x5/t0 00000000801fee00 x6/t1
0000000000000001 x7/t2 0000000000000000
x8/s0 00000000801fee90 x9/s1 00000000bf000000 x10/a0
00000000801fee90 x11/a1 0000000000000000
x12/a2 0000000000000170 x13/a3 00000000801ff000 x14/a4
0000000000000048 x15/a5 0000000080201738
x16/a6 0000000000000000 x17/a7 0000000000000000 x18/s2
0000000000000000 x19/s3 0000000000000000
x20/s4 0000000000000000 x21/s5 0000000000000000 x22/s6
0000000000000000 x23/s7 0000000000000000
x24/s8 0000000000000000 x25/s9 0000000000000000 x26/s10
0000000000000000 x27/s11 0000000000000000
x28/t3 0000000000000000 x29/t4 0000000000000000 x30/t5
0000000000000000 x31/t6 0000000000000000
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-starfive-5.17/+bug/1985067/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp