[Bug 276242] Attaching e1000e NIC to aarch64 ancauses ifconfig to hang

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 10 Jan 2024 16:10:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276242

            Bug ID: 276242
           Summary: Attaching e1000e NIC to aarch64  ancauses ifconfig to
                    hang
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: mxb1143@student.bham.ac.uk

Attaching an e1000e NIC to an aarch64 machine in QEMU causes ifconfig to hang
upon trying to bring the interface up during boot, causing boot to hang
indefinitely. Booting into single-user mode allows the system to boot fine, but
running "ifconfig em0 up" causes the same behaviour. From my understanding
ifconfig gets stuck in a syscall(?), rendering it impossible to kill. Otherwise
FreeBSD seems to recognise the device fine, assigning it "em0" and chatting
about it during boot. It also shows up as an adapter in ifconfig fine before
any attempt is made to bring it up.

uname -a:
FreeBSD freebsd 14.0-RELEASE FreeBSD 14.0-RELEASE #0
releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:54:07 UTC 2023    
root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64

freebsd-version -kur:
14.0-RELEASE
14.0-RELEASE
14.0-RELEASE

To reproduce:
1) Download an aarch64 release from
https://download.freebsd.org/releases/VM-IMAGES/14.0-RELEASE/aarch64/Latest/
2) Run with:
qemu-system-aarch64 -m 4096M -cpu cortex-a57 -M virt -bios edk2-aarch64-code.fd
-nographic -drive if=none,file=/path/to/fbsd.qcow2,id=hd0 -device
virtio-blk-device,drive=hd0 -device e1000e,netdev=net0 -netdev user,id=net0

-- 
You are receiving this mail because:
You are the assignee for the bug.