https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221462

            Bug ID: 221462
           Summary: vtnet gets stuck when assigning IP on aarch64
           Product: Base System
           Version: CURRENT
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: gergely.czu...@harmless.hu

Hello,

In a qemu VM, when trying to have networking using the virtio-net-device
device, assigning an IP address to the vtnet0 device gets ifconfig stuck in an
uninterruptable state.

Tried it with qemu 2.8.0, 2.8.1 and 2.9.0.

FreeBSD version:
# uname -a
FreeBSD build-aarch64.marvin.harmless.hu 12.0-CURRENT FreeBSD 12.0-CURRENT #0
r322371: Thu Aug 10 21:09:06 CEST 2017    
t...@marvin.harmless.hu:/tank/rpi3/obj/arm64.aarch64/tank/rpi3/src/sys/GENERIC-NODEBUG
 arm64

vtnet0 device:
vtnet0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80028<VLAN_MTU,JUMBO_MTU,LINKSTATE>
        ether 52:54:00:12:34:56
        media: Ethernet 10Gbase-T <full-duplex>
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
vtnet0: <VirtIO Networking Adapter> on virtio_mmio30
vtnet0: Ethernet address: 52:54:00:12:34:56


QEMU cmdline:
qemu-system-aarch64 -m 4096M -cpu cortex-a57 -M virt  \
                    -accel tcg,thread=single \
                    -bios QEMU_EFI.fd -serial telnet::4444,server -nographic \
                    -drive if=none,file=${image},id=hd0,format=raw \
                    -device virtio-blk-device,drive=hd0 \
                    -device virtio-net-device,netdev=net0 \
                    -netdev
tap,id=net0,ifname=tap0,script=/tank/rpi3/build/qemu-ifup.sh

Should be easy to reproduce, just add a vtnet device into a qemu-system-aarch64
VM, and try assigning an IP.

Best regards,
Gergely

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to