Intel Ethernet Controller I225-LM Support?
-
I think I have the same issue as @setarcos, that is very poor inbound packages (drops to zero) while outbound packages are working perfect at full 2.5GB speed.
I've tested the same setup with debian 11 and everything is working fine. So there's definitely something wrong with the freebsd driver.
The following is my setup and I've tried all the tricks mentioned in this thread:
- i225-v b3 (which has supposedly fixed issues of early steppings) PCI-E adapter.
- disabled onboard Broadcom BCM570x NIC at BIOS to avoid conflicts.
- the NIC is connected to a TP-LINK TL-SH1008 switch at 2.5GB speed.
- Truenas 12.0-U6.1 with the igc driver compiled from latest source from freebsd 12.0-stable dated Nov 13, 2021 (commit "igc: Use hardware routine for PHY reset").
- disabled all hardware checksum and VLAN support as show below.
- disabled all jails.
root@freenas:~ # pciconf -lv | grep -A1 -B2 network igc0@pci0:2:0:0: class=0x020000 card=0x00008086 chip=0x15f38086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet root@freenas:~ # ifconfig igc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=802020<JUMBO_MTU,WOL_MAGIC> ether 2c:53:4a:0a:f5:ec inet 10.1.1.12 netmask 0xffffff00 broadcast 10.1.1.255 media: Ethernet autoselect (2500Base-T <full-duplex>) status: active nd6 options=9<PERFORMNUD,IFDISABLED> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> pflog0: flags=0<> metric 0 mtu 33160 groups: pflog
-
@xiazuojie said in Intel Ethernet Controller I225-LM Support?:
Truenas 12.0-U6.1 with the igc driver compiled from latest source from freebsd 12.0-stable
You see the same running pfSense?
-
Something I've noticed is that 6100 has i225-V B1 revision while both @setarcos and I have B3 revisions. I wonder if that makes any difference.
@stephenw10 said in Intel Ethernet Controller I225-LM Support?:
as far as I know though the only tested NIC is that in the 6100:
igc0@pci0:4:0:0: class=0x020000 card=0x00008086 chip=0x15f38086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'Ethernet Controller I225-V'
class = network
subclass = ethernetB3 revision supposedly fixes hardware issues of B1 revision.
-
@xiazuojie said in Intel Ethernet Controller I225-LM Support?:
very poor inbound packages (drops to zero) while outbound packages are working perfect at full 2.5GB speed.
Is it actually zero of just close to zero. @Setarcos was seeing nothing come in at all, not even ARP replies. Reading back now I see I didn't ask if they were running the current Coreboot version. Some early versions had a bug that presented like this.
Steve
-
@stephenw10 I was (and still am) running ADI_PLCC-01.00.00.11 on my XG-7100
-
Hmm, not that then. Or at least not a known issue.
-
@stephenw10 What I see is unstable connection with the NIC actually goes to down status after a short period with high inbound traffic (while outbound traffic is working fine). However, it's tested with TrueNAS 12.0-U6.1.
Since the igc driver is contributed to FreeBSD from netgate, I report the issue here.With the same setup on pfsense 2.6.0-DEVELOPMENT snapshot and the i225-v b3 port as lan port, it does not show the issue.
Debian 11 does not have the same issue.
-
The development was sponsored by Netgate but issue still need to be reported upstream to FreeBSD. I have no idea how TrueNAS might be different to what we're running but it could be significantly.
Steve
-
I'm seeing mixed results online. Is the I225 working in 2.5.2 or is 2.6 basically a requirement?
I have the 2 port QNAP card coming tonight, and I'm not sure if I need to reinstall it or just plop it in and go.
I'd prefer to stay away from 2.6 for reliability sake, if this card is not "working", would an x550-t2 work? I saw posts that there's no 2.5g option in the UI with this card (only x710?)
-
@n1ck31 The QNAP cards work in 2.5.2 with UDP Checksum offloading disabled and they work in 2.6 snapshots without any modifications.
-
@bk150 I also saw some posts that people were claiming after a little while, the connection just drops or the ping goes crazy high?
I'm assuming that's due to that one setting being ticked?
I'm trying to decide if I put this new card in now or wait for a stable 2.6 release...
-
@n1ck31 I've seen mixed info on if UDP checksum offloading even does anything worthwhile. I'm no software engineer but in my limited knowledge, assuming your CPU can keep up with doing everything in software, you really shouldn't notice any difference. I've been running 2.5.2 with checksum offloading turned off for around 4 months now with multiple VLANs, a Wireguard tunnel, and am hosting a handful of gaming servers. I've seen absolutely no issues.
FWIW OPNSense has that setting off by default and PfSense has it on by default so who knows.
-
@bk150 Just tried on My Dell XE2, the same issue as someone had mentioned in this thread, not being detected correctly by pfSense. It sees the card is there but has an error -2 when trying to load the driver/attach.
Tested both 2.5.2 and 2.6, integrated intel NIC disabled.
-
Hmm, you probably need this:
https://github.com/freebsd/freebsd-src/commit/561cd74b1704ab76a3286733fb43da53b6892ea4#diff-6bb19804656a668f9aa22575da6a622a983af20b269eb5b35dbfda026c2499b9
That's not in pfSense, yet.Though we'd need to see exactly how it fails at boot to know for sure. It's odd that card works at all for others if that's the case. Maybe there are different revisions?
Steve
-
@stephenw10 Hey Steve, if it helps it's a QNAP QXG-2G2T-I225 Rev: 1.1
I am going to RMA it as I noticed it got so hot to touch within 15 mins so maybe there's something wrong with this specific card. I'll try again when B&H sends out the new one.
Are you able to recommend me a card that will just work plug and play with no "tinkering" for 2.5G/10G support?
-
If you need 2.5G or 10G I think your only option is the X550-T2 or maybe the X710-T2.
I haven't tested either personally.
Steve
-
@xiazuojie Did something happen?
Wan side I have an i225-LM 1 port card 2.6.0-DEVELOPMENT I use speedtest to drop the connection completely shuts down and 100% packet loss
Due to 2Gb / s internet connection it would be good for the card the ONT supports 2.5Gbe connection -
What card exactly? What does
pciconf -lvv igc0
show?And it just stops passing all traffic when you load it?
What do you do to recover?
Steve
-
@pci0:3:0:0:class=0x020000 card=0xc0011baa chip=0x15f28086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel(R) Ethernet Controller I225-LM' class = network subclass = ethernet
QNAP QXG-2G1T-I225 is the card. If I start a download or a speedtest, it starts to lose packet on the wan interface after that, it drops the interface, but after a few seconds, the download starts again and drops it again.
-
What throughput does it reach before it starts to fail?
Can you try setting a Limiter, is there a limit you can set that prevents it failing?
I know at least one dev has got that NIC but I don't think they've done any significant testing with it yet.
Steve