| Summary: | Early failure in ixl_attach causes kernel panic | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Mike Hibler <hibler> |
| Component: | kern | Assignee: | Eric Joyner <erj> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | erj, jeffrey.e.pieper, net |
| Priority: | --- | Keywords: | IntelNetworking, crash |
| Version: | 10.2-STABLE | Flags: | koobs:
mfc-stable10-
|
| Hardware: | amd64 | ||
| OS: | Any | ||
| URL: | https://reviews.freebsd.org/D5205 | ||
|
Description
Mike Hibler
2016-03-27 18:21:18 UTC
This was fixed in r208339: https://reviews.freebsd.org/D5205. It still needs to be MFCed. I meant r295946. We do not see this on 11-CURRENT. No, as I mentioned in my original report, r295946 does NOT fix the problem. 11-CURRENT crashes too.
You can simulate the failure by changing the driver:
Index: if_ixl.c
===================================================================
--- if_ixl.c (revision 297415)
+++ if_ixl.c (working copy)
@@ -550,7 +550,7 @@
/* Establish a clean starting point */
i40e_clear_hw(hw);
error = i40e_pf_reset(hw);
- if (error) {
+ if (1 || error) {
device_printf(dev,"PF reset failure %x\n", error);
error = EIO;
goto err_out;
and then rebuilding and booting the kernel on a machine with an ixl interface.
This was fixed in 11. Assign to committer that resolved Update resolution (Resolution by commit -> FIXED) |