LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-12-2020, 11:57 AM   #1
Superblond
LQ Newbie
 
Registered: Dec 2020
Posts: 23

Rep: Reputation: Disabled
Question INTEL X540-T2 network card installed but only at 100Mbit, cant change or improve


Hello forum, hello experts!

I successfully installed Debian 10 on my old hardware, after some problems with my onboard Dual-LAN Realtek 8110 network card.

Now I disabled the onboard Dual LAN-adatpers in the bios and plugged a INTEL X540-T2 card in a PCI-slot, booted in rescue-mode, found the card, installed, reboot and...

The LAN-adatper is running, but only on 100MBits, cant even reach 1GBE, but never 10GBE; tried the following:

- Updated IXGBE to latest 5.9.4. (sucess unclear, pls see logs)
- de-installed frimware, re-installed
- restarted network device
- Used Debian Network-Manager to change settings
- ethtool -s enp2s0f0 autoneg on/off, then change 'speed'
- I checked Patch cable: Cat6a, changed them
- I check my router-settings 'auto, fixed 1000, fixes 10GBE' (Netgear 'GS110EMX')
- I check the wall patch panel, tried a other pc: 1000MBits ok
- plugged the card, with same patch panel & cabel in my -hopefully soon obsolete- Win10: 10GBE-mode: worked!

Outputs of different CMD, asking you to please check!
# Trying to „talk“ to eth0
Code:
root@NAS:/etc/network# ip a show eth0
Device "eth0" does not exist.
# searching for network card?
Code:
root@NAS:/etc/network# /usr/sbin/ethtool -S eth0
Cannot get stats strings information: No such device

# Searching for my Ethernet hardware
Code:
root@NAS:/etc/network# lspci | grep -i ethernet
02:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)
02:00.1 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)
# is it up & running
Code:
root@NAS:/etc/network# ip link show | grep "UP"
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
2: enp2s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
3: enp2s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
#Trying to talk to ‚enp2s0f0‘
Code:
root@NAS:/etc/network# ip a show enp2s0f0
2: enp2s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether a0:36:9f:6e:15:04 brd ff:ff:ff:ff:ff:ff
    inet 192.168.178.7/24 brd 192.168.178.255 scope global dynamic enp2s0f0
       valid_lft 6908248sec preferred_lft 6908248sec
    inet6 2003:f8:5739:d400:a236:9fff:fe6e:1504/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 7131sec preferred_lft 1731sec
    inet6 fe80::a236:9fff:fe6e:1504/64 scope link 
       valid_lft forever preferred_lft forever
# settings & info of ‚enp2s0f0‘
Code:
root@NAS:/etc/network# /usr/sbin/ethtool enp2s0f0
Settings for enp2s0f0:
	Supported ports: [ TP ]
	Supported link modes:   100baseT/Full 
	                        1000baseT/Full 
	                        10000baseT/Full 
	Supported pause frame use: Symmetric
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  100baseT/Full 
	                        1000baseT/Full 
	                        10000baseT/Full 
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: 100Mb/s
	Duplex: Full
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: on
	MDI-X: Unknown
	Supports Wake-on: d
	Wake-on: d
	Current message level: 0x00000007 (7)
			       drv probe link
	Link detected: yes

# firmware / drivers installed properly?
Code:
root@NAS:/etc/network# /usr/sbin/ethtool -i enp2s0f0
driver: ixgbe
version: 5.1.0-k
firmware-version: 0x80000389
expansion-rom-version: 
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
# ok ‚ixgbe‘-kernel present, info about that
Code:
root@NAS:/etc/network# /usr/sbin/modinfo ixgbe
filename:       /lib/modules/4.19.0-13-amd64/updates/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
version:        5.9.4
license:        GPL
description:    Intel(R) 10GbE PCI Express Linux Network Driver
author:         Intel Corporation, <linux.nics@intel.com>
srcversion:     AA8061C6A752528BD6CFE19
alias:          pci:v00008086d000015E5sv*sd*bc*sc*i*
alias:          pci:v00008086d000015E4sv*sd*bc*sc*i*
alias:          pci:v00008086d000015CEsv*sd*bc*sc*i*
alias:          pci:v00008086d000015CCsv*sd*bc*sc*i*
alias:          pci:v00008086d000015CAsv*sd*bc*sc*i*
alias:          pci:v00008086d000015C8sv*sd*bc*sc*i*
alias:          pci:v00008086d000015C7sv*sd*bc*sc*i*
alias:          pci:v00008086d000015C6sv*sd*bc*sc*i*
alias:          pci:v00008086d000015C4sv*sd*bc*sc*i*
alias:          pci:v00008086d000015C3sv*sd*bc*sc*i*
alias:          pci:v00008086d000015C2sv*sd*bc*sc*i*
alias:          pci:v00008086d000015AEsv*sd*bc*sc*i*
alias:          pci:v00008086d000015ADsv*sd*bc*sc*i*
alias:          pci:v00008086d000015ACsv*sd*bc*sc*i*
alias:          pci:v00008086d000015ABsv*sd*bc*sc*i*
alias:          pci:v00008086d000015B0sv*sd*bc*sc*i*
alias:          pci:v00008086d000015AAsv*sd*bc*sc*i*
alias:          pci:v00008086d000015D1sv*sd*bc*sc*i*
alias:          pci:v00008086d00001563sv*sd*bc*sc*i*
alias:          pci:v00008086d00001560sv*sd*bc*sc*i*
alias:          pci:v00008086d00001558sv*sd*bc*sc*i*
alias:          pci:v00008086d0000154Asv*sd*bc*sc*i*
alias:          pci:v00008086d00001557sv*sd*bc*sc*i*
alias:          pci:v00008086d0000154Dsv*sd*bc*sc*i*
alias:          pci:v00008086d00001528sv*sd*bc*sc*i*
alias:          pci:v00008086d000010F8sv*sd*bc*sc*i*
alias:          pci:v00008086d0000151Csv*sd*bc*sc*i*
alias:          pci:v00008086d00001529sv*sd*bc*sc*i*
alias:          pci:v00008086d0000152Asv*sd*bc*sc*i*
alias:          pci:v00008086d000010F9sv*sd*bc*sc*i*
alias:          pci:v00008086d00001514sv*sd*bc*sc*i*
alias:          pci:v00008086d00001507sv*sd*bc*sc*i*
alias:          pci:v00008086d000010FBsv*sd*bc*sc*i*
alias:          pci:v00008086d00001517sv*sd*bc*sc*i*
alias:          pci:v00008086d000010FCsv*sd*bc*sc*i*
alias:          pci:v00008086d000010F7sv*sd*bc*sc*i*
alias:          pci:v00008086d00001508sv*sd*bc*sc*i*
alias:          pci:v00008086d000010DBsv*sd*bc*sc*i*
alias:          pci:v00008086d000010F4sv*sd*bc*sc*i*
alias:          pci:v00008086d000010E1sv*sd*bc*sc*i*
alias:          pci:v00008086d000010F1sv*sd*bc*sc*i*
alias:          pci:v00008086d000010ECsv*sd*bc*sc*i*
alias:          pci:v00008086d000010DDsv*sd*bc*sc*i*
alias:          pci:v00008086d0000150Bsv*sd*bc*sc*i*
alias:          pci:v00008086d000010C8sv*sd*bc*sc*i*
alias:          pci:v00008086d000010C7sv*sd*bc*sc*i*
alias:          pci:v00008086d000010C6sv*sd*bc*sc*i*
alias:          pci:v00008086d000010B6sv*sd*bc*sc*i*
depends:        dca
retpoline:      Y
name:           ixgbe
vermagic:       4.19.0-13-amd64 SMP mod_unload modversions 
parm:           IntMode:Change Interrupt Mode (0=Legacy, 1=MSI, 2=MSI-X), default 2 (array of int)
parm:           InterruptType:Change Interrupt Mode (0=Legacy, 1=MSI, 2=MSI-X), default IntMode (deprecated) (array of int)
parm:           MQ:Disable or enable Multiple Queues, default 1 (array of int)
parm:           DCA:Disable or enable Direct Cache Access, 0=disabled, 1=descriptor only, 2=descriptor and data (array of int)
parm:           RSS:Number of Receive-Side Scaling Descriptor Queues, default 0=number of cpus (array of int)
parm:           VMDQ:Number of Virtual Machine Device Queues: 0/1 = disable (1 queue) 2-16 enable (default=8) (array of int)
parm:           max_vfs:Number of Virtual Functions: 0 = disable (default), 1-63 = enable this many VFs (array of int)
parm:           VEPA:VEPA Bridge Mode: 0 = VEB (default), 1 = VEPA (array of int)
parm:           InterruptThrottleRate:Maximum interrupts per second, per vector, (0,1,956-488281), default 1 (array of int)
parm:           LLIPort:Low Latency Interrupt TCP Port (0-65535) (array of int)
parm:           LLIPush:Low Latency Interrupt on TCP Push flag (0,1) (array of int)
parm:           LLISize:Low Latency Interrupt on Packet Size (0-1500) (array of int)
parm:           LLIEType:Low Latency Interrupt Ethernet Protocol Type (array of int)
parm:           LLIVLANP:Low Latency Interrupt on VLAN priority threshold (array of int)
parm:           FdirPballoc:Flow Director packet buffer allocation level:
			1 = 8k hash filters or 2k perfect filters
			2 = 16k hash filters or 4k perfect filters
			3 = 32k hash filters or 8k perfect filters (array of int)
parm:           AtrSampleRate:Software ATR Tx packet sample rate (array of int)
parm:           FCoE:Disable or enable FCoE Offload, default 1 (array of int)
parm:           MDD:Malicious Driver Detection: (0,1), default 1 = on (array of int)
parm:           LRO:Large Receive Offload (0,1), default 0 = off (array of int)
parm:           allow_unsupported_sfp:Allow unsupported and untested SFP+ modules on 82599 based adapters, default 0 = Disable (array of int)
parm:           dmac_watchdog:DMA coalescing watchdog in microseconds (0,41-10000), default 0 = off (array of int)
parm:           vxlan_rx:VXLAN receive checksum offload (0,1), default 1 = Enable (array of int)
# check the firmwares
Code:
root@NAS:/etc/network# /usr/bin/dmesg | grep firmware
[    1.978774] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/CAICOS_pfp.bin
[    1.978794] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/CAICOS_me.bin
[    1.978810] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/BTC_rlc.bin
[    1.978834] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/CAICOS_mc.bin
[    1.978857] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/CAICOS_smc.bin
[    1.993019] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/SUMO_uvd.bin
#check only ‚xgbe‘
Code:
root@NAS:/etc/network# /usr/bin/dmesg | grep xgbe    
[    1.901337] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 5.1.0-k
[    1.901339] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
[    2.265216] ixgbe 0000:02:00.0: Multiqueue Enabled: Rx Queue count = 4, Tx Queue count = 4 XDP Queue count = 0
[    2.349271] ixgbe 0000:02:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x4 link at 0000:00:1c.0 (capable of 32.000 Gb/s with 5 GT/s x8 link)
[    2.445410] ixgbe 0000:02:00.0: MAC: 3, PHY: 0, PBA No: G45270-003
[    2.445412] ixgbe 0000:02:00.0: a0:36:9f:6e:15:04
[    2.603292] ixgbe 0000:02:00.0: Intel(R) 10 Gigabit Network Connection
[    2.887654] ixgbe 0000:02:00.1: Multiqueue Enabled: Rx Queue count = 4, Tx Queue count = 4 XDP Queue count = 0
[    2.971318] ixgbe 0000:02:00.1: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x4 link at 0000:00:1c.0 (capable of 32.000 Gb/s with 5 GT/s x8 link)
[    3.067468] ixgbe 0000:02:00.1: MAC: 3, PHY: 0, PBA No: G45270-003
[    3.067470] ixgbe 0000:02:00.1: a0:36:9f:6e:15:06
[    3.214563] ixgbe 0000:02:00.1: Intel(R) 10 Gigabit Network Connection
[    3.215684] ixgbe 0000:02:00.0 enp2s0f0: renamed from eth0
[    3.229381] ixgbe 0000:02:00.1 enp2s0f1: renamed from eth1
[    5.164148] ixgbe 0000:02:00.1: registered PHC device on enp2s0f1
[    5.362482] ixgbe 0000:02:00.0: registered PHC device on enp2s0f0
[   33.916188] ixgbe 0000:02:00.0 enp2s0f0: NIC Link is Up 100 Mbps, Flow Control: RX/TX
# lets set speed=1000 (instead of 100)
Code:
root@NAS:/etc/network# /usr/sbin/ethtool -s enp2s0f0 speed 1000
Cannot advertise speed 1000
Cant do anything with the network adapter, its just there with 100Mbit...

Thanks a lot for reading all that stuff!
Hope that you guys find a solution for my problem...
SB
 
Old 12-12-2020, 12:13 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,329

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Hi,

From the output of your first 3 commands, It's modules or firmware. You would probably get an lspci output from the hex code and pci.ids without one or the other. It looks as if you have 2 of them, but I'm not following the 'enp2s0f0' stuff. Are those two 10gb nics? I'm told there can be problems with 2 identical nics on the same driver.
 
Old 12-12-2020, 04:38 PM   #3
Superblond
LQ Newbie
 
Registered: Dec 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Dual port 10GBE , 2 RJ45

Hi & thx for your reply.

Yeah you're right: This card is a Dual-Port RJ-45 Copper 10GBASE-T Adapter with a Single-Chip, which can support Category-6A up to 100 m.

Maybe it's possible to deactivate one of the ports completly and prevent to have both 10GBE ports using the same x540 chipset?


Any ideas?

Thnks
SB
 
Old 12-13-2020, 12:02 AM   #4
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
On my Intel system, which does work at 1000, the driver is e1000e, not ixgbe. I don't know anything about ixgbe. Are you certain that's the correct driver for the card? It's advertised as being for PCI-Express cards. From the Intel website:
Quote:
There are three Linux* base drivers for Intel® Gigabit Network Connections:

igb-x.x.x.tar.gz driver: Supports all 82575/6, 82580, I350, I354, and I210/I211 based gigabit network connections.
e1000e-x.x.x.x.tar.gz driver: Supports the Intel® PRO/1000 PCI-E (82563/6/7, 82571/2/3/4/7/8/9, or 82583) I217/I218/I219 based gigabit network adapters.
e1000-x.x.x.tar.gz driver: Supports Intel® PRO/1000 PCI and PCI-X family of gigabit network connections.
I'm not sure, but perhaps the last is the one you want.
Intel Gigabit support page

This appears to be the driver package you need:
https://downloadcenter.intel.com/dow...eng%2F25_5.zip

Last edited by sgosnell; 12-13-2020 at 12:34 AM.
 
Old 12-15-2020, 11:07 AM   #5
Superblond
LQ Newbie
 
Registered: Dec 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Thanks sgosnell for your advice!
I will check the drivers and come back here to report...
SB
 
Old 12-17-2020, 02:45 AM   #6
Superblond
LQ Newbie
 
Registered: Dec 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sgosnell View Post
On my Intel system, which does work at 1000, the driver is e1000e, not ixgbe.
This appears to be the driver package you need:
https://downloadcenter.intel.com/dow...eng%2F25_5.zip
Hey sgosnell, you were right about the drivers/firmware you linked here.
However, the zip contains exactly the same Ixbe driver that I have already installed.
(25_5.zip -> PROXGB -> Linux -> ixgbe-5.9.4.)
At least I have a confirmation about the Firmware pack.
Again thx for your help, I appreciate your help.
SB
 
Old 12-17-2020, 11:12 AM   #7
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Maybe try one of the others. I don't have the ixgbe driver, nor any hardware which uses it, so I can't test it. I think one of the e1000 versions should work.
 
Old 12-18-2020, 09:50 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,329

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
It would be good to review the exact conditions to get 1Gb. Cat6, run length, etc. I remember looking at those criteria which went in as 'Knowledge Bulimia' [= Learn it for the test, immediately forget it] but I noted in passing that people would be better going to POF.
 
Old 12-19-2020, 06:03 AM   #9
Superblond
LQ Newbie
 
Registered: Dec 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
cable lenght, errors, faults, losses and cable attenuation

Hey business_kid,

thx for your answer & suggestions.

I know the cable lenght, errors, faults, losses and cable attenuation from my Netgear router. Short version: Everthing perfect & only 25m through a Pro-Cat6a cable from Company called "Belden" (they do datacenter normally.

But mst important: I can get 10Gbit throught my old Win10-Client just by using the exact same infrastructure in my house = same Network card, same patch cables to the same wall plate, same in-wall cables, patch panel and port on switch(!)

Just startet new installation from scratch... hopefully I will find something.

Will report here.
SB
 
Old 12-19-2020, 08:51 AM   #10
Superblond
LQ Newbie
 
Registered: Dec 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Lightbulb SOLVED: 2x10GBE network card needed a x8-Slot to achieve the theoretical bandwidth.

Hallo Debian-people,

before reinstalling my Debian I did a little SATA & power cable management & fixed a loose fan in my case. For that I had to take out my Intel x540-T2. After finishing the installation I plugged the network card but one PCI-Slot higher...

After a reboot both 10GBE J45 Ethernet ports were running with full 10Gbit speed!!!
So I was just using a "wrong" PCI-Slot.

I think, but I am not sure, I have on my Mobo Abit IP-35Pro 2x PCIE Express slots (one working at x16 and the other, black, working at x8 and three more with x1(?) PCI slots.
I dont know how the PCI-lanes are connected to the SATA-Controller or the other two onboard 1GBE network cards, but at least I know now: PCI-Slot are not all the same ;-D

Solution:
The 2x10GBE portd network card needed a x8-Slot to achieve the theoretical bandwidth.

I hope this will help other with the similar problems.
SB
 
Old 12-21-2020, 01:47 AM   #11
jadewick
LQ Newbie
 
Registered: Dec 2020
Posts: 1

Rep: Reputation: Disabled
I effectively introduced Debian 10 on my old equipment, after certain issues with my locally available Dual-LAN Realtek 8110 organization card

acnl hair guide

Last edited by jadewick; 12-23-2020 at 01:03 AM.
 
  


Reply

Tags
firmware, gigabit, intel, nic, slow internet



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent. Many problems installing intel x540 on centos 5.4 parsalian Linux - Hardware 2 08-04-2013 07:27 PM
Change speed to 100mbit/s Fadoksi Linux - Networking 1 06-15-2006 08:11 AM
Throughput of 100Mbit ethernet vu_lan Linux - Networking 2 10-31-2004 03:24 AM
How can i exact 10Mbit on 100Mbit ethernet card ?? QueerDomi Linux - Networking 1 11-29-2003 03:39 PM
nic - 10/100mbit - full/half-duplex aaronluke Slackware 2 10-17-2002 11:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration