Date: Sat, 25 Mar 2017 12:59:34 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 218113] igb(4) panic on guest passthrough of i340 Message-ID: <bug-218113-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218113 Bug ID: 218113 Summary: igb(4) panic on guest passthrough of i340 Product: Base System Version: 11.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: igor@hybrid-lab.co.uk I've been trying to build a virtualised box with FreeBSD as a guest to do s= ome network stuff and I needed to passthrough physical NICs to the guest. I attempted to passthrough a port of i340-T4 to FreeBSD guest, but this caused panic at boot time:=20 igb0: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> mem 0xe7a00000-0xe7a7ffff,0xe7afc000-0xe7afffff irq 19 at device 0.0 on pci4 panic: resource_list_release: can't find resource cpuid =3D 0 KDB: stack backtrace: #0 0xffffffff80b240f7 at kdb_backtrace+0x67 #1 0xffffffff80ad9462 at vpanic+0x182 #2 0xffffffff80ad92d3 at panic+0x43 #3 0xffffffff80b16d5f at resource_list_release+0x1bf #4 0xffffffff8054a7d4 at igb_attach+0x804 #5 0xffffffff80b160f0 at device_attach+0x420 #6 0xffffffff80b172dd at bus_generic_attach+0x2d #7 0xffffffff80711145 at pci_attach+0xd5 #8 0xffffffff80b160f0 at device_attach+0x420 #9 0xffffffff80b172dd at bus_generic_attach+0x2d #10 0xffffffff803c02e1 at acpi_pcib_pci_attach+0xa1 #11 0xffffffff80b160f0 at device_attach+0x420 #12 0xffffffff80b172dd at bus_generic_attach+0x2d #13 0xffffffff80711145 at pci_attach+0xd5 #14 0xffffffff80b160f0 at device_attach+0x420 #15 0xffffffff80b172dd at bus_generic_attach+0x2d #16 0xffffffff803bfa1a at acpi_pcib_acpi_attach+0x3ba #17 0xffffffff80b160f0 at device_attach+0x420 This behaviour is consistent with both ESXi 6.5 and KVM (on Ubuntu 16.04.2) hypervisors, yet when the same is attempted with Linux (Ubuntu 16.04.2) as guest, everything seems alright. The problem doesn't arise when the NIC is i350-T4. For completeness:=20 % uname -a FreeBSD gamma 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0: Wed Feb 22 06:12:= 04 UTC 2017 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERI= C=20 amd64 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218113-8>