[Bug 235246] if_em init fails to allocate IRQ in 12.0-RELEASE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 7 15:34:33 UTC 2019


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

--- Comment #5 from pr at aoek.com ---
Patch is for head, I only have 12s around, so I applied the patch (no too
cleanly, required some manual edit) but it did not work:
em0: <Intel(R) PRO/1000 Network Connection> port 0xec00-0xec1f mem
0xfe9e0000-0xfe9fffff,0xfe9dc000-0xfe9dffff irq 17 at device 0.0 on pci11
em0: Using 1024 tx descriptors and 1024 rx descriptors
em0: Using 0 rx queues 0 tx queues
em0: Using MSI-X interrupts with 1 vectors
em0: failed to allocate IRQ for rid 0, name irq0.
em0: iflib_legacy_setup failed 12
device_attach: em0 attach returned 12

Disabling MSI-X in loader.conf (with a stock kernel) did the trick:
em0: <Intel(R) PRO/1000 Network Connection> port 0xec00-0xec1f mem
0xfe9e0000-0xfe9fffff,0xfe9dc000-0xfe9dffff irq 17 at device 0.0 on pci11
em0: attach_pre capping queues at 1
em0: using 1024 tx descriptors and 1024 rx descriptors
em0: msix_init qsets capped at 1
em0: System has MSIX disabled 
em0: Using an MSI interrupt
em0: allocated for 1 tx_queues
em0: allocated for 1 rx_queues
em0: Ethernet address: bc:ae:c5:33:6d:98
em0: netmap queues/slots: TX 1/1024, RX 1/1024

Which is different but similar to how it was under 11.2:
em0: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xec00-0xec1f mem
0xfe9e0000-0xfe9fffff,0xfe9dc000-0xfe9dffff irq 17 at device 0.0 on pci11
em0: Using an MSI interrupt
em0: Ethernet address: bc:ae:c5:33:6d:98
em0: netmap queues/slots: TX 1/1024, RX 1/1024

Before we close we shall test the patch under head, I cannot at the moment as
the Intels I have are all in production. Anyone?

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


More information about the freebsd-net mailing list