Backport from Linux Kernel v5.12, commit: https://github.com/torvalds/linux/commit/9f4ad9e425a1d3b6a34617b8ea226d56a119a717
I have updated the most pciids of I225/I226 NICs. All I225/I226 NICs should work normal.
If this igc driver is compatible with your devices, you can reply in this issue.
Motherboard | NIC Version | Device ID | Ports | Firmware Version |
---|---|---|---|---|
UGREEN DX4600 | I225-V B3 | 8086:15F3 | 2 | 1057:8754 |
ROG MAXIMUS XIII HERO | I225-V B3 | 8086:15F3 | 2 | 1057:8754 |
CW N5105-N6005-6SATA | I226-V | 8086:125C | 4 | 2014:8877 |
Download from https://github.com/jim3ma/synology-igc/tree/main/igc/releases
Eg: https://github.com/jim3ma/synology-igc/raw/main/igc/releases/igc-geminilake.tgz
Follow load module action: https://github.com/jim3ma/synology-igc#3-load-module
mkdir -p output
# avaliable platform:
# apollolake
# broadwell
# broadwellnk
# denverton
# geminilake
# v1000
# I think the platform is not important for building `igc`, change it as your own
PLATFORM=geminilake
docker run -u 1000 --rm -t -v "${PWD}":/input -v "${PWD}/output":/output fbelavenuto/syno-compiler compile-module ${PLATFORM}
The output/igc.ko
is the module.
And then Follow load module actions: https://github.com/jim3ma/synology-igc#3-load-module
Refer: https://help.synology.com/developer-guide/getting_started/prepare_environment.html
Assume platform=geminilake
, version=7.1
, working directory is /synology-toolkit
Now the build env is /synology-toolkit/build_env/ds.geminilake-7.1
sudo chroot /synology-toolkit/build_env/ds.geminilake-7.1
cd /usr/src/
git clone https://github.com/jim3ma/synology-igc.git
cd /usr/src/synology-igc/
make -C /usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.1/build M=$PWD modules
Copy igc.ko
to target machine
03:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 03)
insmod igc.ko debug=16 # enable debug log
echo igc > /sys/bus/pci/devices/0000:03:00.0/driver_override
echo 0000:03:00.0 > /sys/bus/pci/drivers_probe
ip link set up eth1 # in my machine, the nic name is eth1
Date 2022.11.26
Date 2022.11.23
Date 2022.11.17
Only test for automating build, no code changes
Date 2022.11.16
This version support i226 with device id 8086:125C, firmware version: 2014:8877
Date 2022.11.15
Date 2022.11.03
Date 2022.10.27
Backport fixes from upstream
Date 2022.10.27
Date 2022.10.26