Unable to start network controller on Intel I225-V chipset. Crashes with an error
igc0: <intel(r) ethernet="" controller="" i225-v=""> mem 0xde200000-0xde2fffff,0xde300000
-0xde303fff at device 0.0 on pci2
igc0: Setup of Shared code failed, error -2
igc0: IFDI_ATTACH_PRE failed 6
device_attach: igc0 attach returned 6</intel(r)>
On TrueNas Core 13 network card works
I am having the same error.
This appears to be an issue with how the device is detected, as there are variants of the I225 (particularly the I225-IT) which - though functionally identical - do not need to have their PHY vendor checked against.
Please see;
https://forum.netgate.com/topic/171224/i225-v-is-really-an-i225-it-and-needs-a-patch
https://bugs.launchpad.net/intel/+bug/1945548/comments/4 (Intel recommends deprecating checking against PHY vendor)
The simplest patch seems to be this: https://github.com/freebsd/freebsd-src/commit/6f3c0d2764f230444818a95009028861493c1594
Could this be prioritized, as the fix appears to be rather simple?
Additional information: I believe Intel's suggested changes may have been integrated into FreeBSD 13.2 and/or FreeBSD 14, so the changes could be pulled from there if it makes things any easier.
Last edit: Mike K 2023-02-25
The patches applied to FreeBSD are temporary and are not the final fix for the troubles this specific network device is getting. However i will apply the patch as it only affects this driver alone and is not touching other system files.
Commit completed [r9705]
Regards,
zoon01
Related
Commit: [r9705]