Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507644 - sys-kernel/gentoo-sources-3.14.0, -3.14.1, sys-kernel/hardened-sources-3.14.1 - igb driver oops's when MSI / MSIX not available
Summary: sys-kernel/gentoo-sources-3.14.0, -3.14.1, sys-kernel/hardened-sources-3.14.1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-04-14 16:39 UTC by Hank Leininger
Modified: 2014-09-14 00:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix for igb oops in set_interrupt_capability (gentoo-sources-3.14.0-igb_main-set_interrupt_capability-msix.patch,544 bytes, patch)
2014-04-14 16:39 UTC, Hank Leininger
Details | Diff
fix for igb oops in reset_q_vector (gentoo-sources-3.14.0-igb_main-reset_q_vector-msix.patch,663 bytes, patch)
2014-04-14 16:40 UTC, Hank Leininger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hank Leininger 2014-04-14 16:39:22 UTC
Created attachment 374916 [details, diff]
fix for igb oops in set_interrupt_capability

3.14.0 shipped with bugs in the igb driver that crashes if MSI/MSIX is not enabled or available.

There are two patches needed to fix that, here's URLs but I will attach the isolated .patch files as well.

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b709323d2477614823a38c2f2a9a206e087e28fc

http://marc.info/?l=linux-netdev&m=139540390526158&w=2

With both of these patches, 3.14.0 boots and works for me.

Please consider adding these to the current genpatches set.
Comment 1 Hank Leininger 2014-04-14 16:40:11 UTC
Created attachment 374918 [details, diff]
fix for igb oops in reset_q_vector
Comment 2 Hank Leininger 2014-04-17 02:19:16 UTC
3.14.1 is out, and there's a new genpatches, but both bugs appear to still be present in the igb driver.

The same patches apply cleanly to gentoo-sources-3.14.1.
Comment 4 Hank Leininger 2014-04-25 03:22:48 UTC
hardened-sources-3.14.1 is out now (yay!).

But it contains the same broken igb driver, so will also oops at driver init on a system without MSI(X) enabled.

It needs the same patches above.
Comment 5 Anthony Basile gentoo-dev 2014-09-14 00:39:23 UTC
(In reply to Hank Leininger from comment #4)
> hardened-sources-3.14.1 is out now (yay!).
> 
> But it contains the same broken igb driver, so will also oops at driver init
> on a system without MSI(X) enabled.
> 
> It needs the same patches above.

This appears to be included in the latest hardened-sources.