Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Feb 2019 15:34:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 235246] if_em init fails to allocate IRQ in 12.0-RELEASE
Message-ID:  <bug-235246-7501-tUAE7EERHh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235246-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235246-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235246

--- Comment #5 from pr@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=20
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?

--=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-235246-7501-tUAE7EERHh>