Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Booting armv7 in QEMU crashes



Hi,

I am trying to run NetBSD/arm in QEMU 7.2.0 from 20221230, but as soon
as I'm booting, the kernel crashes.

I'm following https://wiki.netbsd.org/ports/evbarm/qemu_arm/.

I'm using the image and kernel from
https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-10/202302281740Z/evbarm-earmv7hfeb/binary/.

set PATH=C:\Program Files\qemu;%PATH%

copy /y armv7.img disk

qemu-img ^
  resize -f raw disk 2g

qemu-system-arm ^
  -M virt ^
  -cpu cortex-a15 ^
  -smp 4 ^
  -m 2g ^
  -drive id=hd0,if=none,file=disk,format=raw,index=0,media=disk ^
  -device virtio-blk-device,drive=hd0 ^
  -netdev type=user,id=net0 ^
  -device virtio-net-device,netdev=net0,mac=00:11:22:33:44:55 ^
  -bios QEMU_EFI.fd ^
  -nographic

The console log contains:

...
[   1.0000040] ld4: 8192 KB, 16656 cyl, 16 head, 63 sec, 131072
bytes/sect x 64 sectors
[   1.0000040] gpiokeys0 at simplebus0: GPIO Key Poweroff
[   1.0000040] pcihost0 at simplebus0: Generic PCI host controller
[   1.0000040] pci0 at pcihost0 bus 0
[   1.0000040] vendor 1b36 product 0008 (host bridge) at pci0 dev 0
function 0 not configured
[   1.5836306] panic: buf mem pool index 10
[   1.5836306] cpu2: Begin traceback...
[   1.5915875] 0xc57d3bc4: netbsd:db_panic+0x14
[   1.5915875] 0xc57d3be4: netbsd:vpanic+0x114
[   1.5915875] 0xc57d3bfc: netbsd:panic+0x24
[   1.6032201] 0xc57d3c5c: netbsd:allocbuf+0x428
[   1.6032201] 0xc57d3c7c: netbsd:geteblk+0xa0
[   1.6032201] 0xc57d3d8c: netbsd:readdisklabel+0xbc
[   1.6118488] 0xc57d3ddc: netbsd:dk_getdisklabel+0x90
[   1.6118488] 0xc57d3e14: netbsd:dk_open+0x134
[   1.6118488] 0xc57d3e44: netbsd:ldopen+0x78
[   1.6232507] 0xc57d3ea4: netbsd:cdev_open+0x140
[   1.6232507] 0xc57d3f2c: netbsd:spec_open+0x26c
[   1.6232507] 0xc57d3f54: netbsd:VOP_OPEN+0x44
[   1.6338853] 0xc57d3f7c: netbsd:dkwedge_discover+0x94
[   1.6338853] 0xc57d3fac: netbsd:config_interrupts_thread+0xc4
[   1.6435706] cpu2: End traceback...
Stopped in pid 0.112 (system) at        netbsd:cpu_Debugger+0x4:        bx
r14
db{2}>

What could be the problem?

Roland


Home | Main Index | Thread Index | Old Index