I'm trying to run a generic armv7 image (13.2) on an amd64 host (13.2) and I get a panic with the network interface: To start the VM, I use the following command:
The tap interface is connected to the bridge of the host, the DHCP negotiation is OK, but as soon as I use the network (
I'm not familiar with Qemu, maybe I'm missing something.
Regards
qemu-system-arm -M virt -m 2048m -nographic -nic tap -bios /usr/local/share/u-boot/u-boot-qemu-arm/u-boot.bin -hda FreeBSD-13.2-RELEASE-arm-armv7-GENERICSD.img
The tap interface is connected to the bridge of the host, the DHCP negotiation is OK, but as soon as I use the network (
pkg install
for example), I get a panic:
Code:
root@generic:~ # pkg install git
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:13:armv7/quarterly, please wait...
Fatal kernel mode data abort: 'Alignment Fault' on read
trapframe: 0xd5ecea60
FSR=00000001, FAR=e11eb01a, spsr=20000013
r0 =00000000, r1 =00000001, r2 =00000001, r3 =d5eceb4c
r4 =00000014, r5 =d91eb800, r6 =e11eb02e, r7 =000001f7
r8 =00000000, r9 =000001f7, r10=e11eb01a, r11=d5eceb90
r12=35006f01, ssp=d5eceaf0, slr=c04a9728, pc =c04a9750
panic: Fatal abort
cpuid = 0
time = 1680846870
KDB: stack backtrace:
#0 0xc035786c at kdb_backtrace+0x48
#1 0xc02fdd20 at vpanic+0x140
#2 0xc02fdbe0 at vpanic+0
#3 0xc06304ac at abort_align+0
#4 0xc063052c at abort_align+0x80
#5 0xc063017c at abort_handler+0x480
#6 0xc060f480 at exception_exit+0
#7 0xc04a9750 at udp_input+0x288
#8 0xc0473f54 at ip_input+0x1e0
#9 0xc04447c0 at netisr_dispatch_src+0xf8
#10 0xc043bf2c at ether_demux+0x1a4
#11 0xc043d5e4 at ether_nh_input+0x480
#12 0xc04447c0 at netisr_dispatch_src+0xf8
#13 0xc043c404 at ether_input+0x50
#14 0xc01c0838 at vtnet_rx_vq_process+0x880
#15 0xc01b70d0 at vtpci_intx_intr+0xac
#16 0xc02b87f0 at ithread_loop+0x2ec
#17 0xc02b465c at fork_exit+0xc0
Uptime: 2m25s
U-Boot 2023.01 (Apr 03 2023 - 20:47:58 +0000)
DRAM: 2 GiB
Core: 47 devices, 13 uclasses, devicetree: board
Flash: 64 MiB
Loading Environment from Flash... *** Warning - bad CRC, using default environment
I'm not familiar with Qemu, maybe I'm missing something.
Regards
Last edited by a moderator: