[Bug 218113] igb(4) panic on guest passthrough of i340
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Mar 25 12:59:35 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218113
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 at FreeBSD.org
Reporter: igor at hybrid-lab.co.uk
I've been trying to build a virtualised box with FreeBSD as a guest to do some
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:
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 = 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:
% uname -a
FreeBSD gamma 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0: Wed Feb 22 06:12:04
UTC 2017 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
amd64
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list