Problem installing Intel 10gbe ixgbe driver for X540-T2 dual port card

OldSunGuy

New Member
Mar 23, 2012
12
0
1
I am running into problem install the Intel X540-T2 driver. I got a tar.gz file from the intel site for the driver for this card.When I unpack it I get ixgbevf-2.12.1 source directory and no .deb package . After I had to install build-essential to get the missing make utility (etc), I still get error when I try the make install as directed. I get following errors:

#: Downloads/Intel_drivers/ixgbevf-2.12.1/src# make install
Makefile:68: *** Kernel header files not in any of the expected locations.
Makefile:69: *** Install the appropriate kernel development package, e.g.
Makefile:70: *** kernel-devel, for building kernel modules and try again. Stop.

I must be doing something very wrong as I do not think it should be so hard to install a hardware driver for an ethernet card.

I am using 2.6.32-26-pve

Any help in getting this card's driver installed would be most helpful. Thank you.
 
Thank you Dietmar. That did the trick. Now onto the hard part of configuring the x540-t2's to do iscsi connectivity for our pve boxes. I appreciate your help.
 
getting:
Unable to locate package pve-headers-2.6.32-27-pve (my kernel 2.6.32-27-pve)
tried pve-headers-2.6.32-26-pve with same results.
thx.
/DL
 
what is the result of: apt-cache search pve-headers ?
Can you locate the required package there?
 
Thx for your VERY fast reply...
root@kvm01:~/e1000e-3.1.0.2/src# apt-cache search pve-headers
pve-headers-2.6.32-27-pve - The Proxmox PVE Kernel Headers

I guess that's because I have found and installed the headers already (see my previous post).
 
No, it should show you all available kernel headers.
For example to me it shows:

apt-cache search pve-headers

pve-headers-3.10.0-4-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-30-pve - The Proxmox PVE Kernel Headers
pve-headers-3.10.0-3-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-27-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-33-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-25-pve - The Proxmox PVE Kernel Headers
pve-headers-3.10.0-5-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-34-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-32-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-24-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-26-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-23-pve - The Proxmox PVE Kernel Headers
pve-headers-3.10.0-1-pve - The Proxmox PVE Kernel Headers
pve-headers-3.10.0-2-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-28-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-29-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-31-pve - The Proxmox PVE Kernel Headers

Can you post /etc/apt/sources.list?
Did you do apt-get update first?

https://pve.proxmox.com/wiki/Package_repositories
 
Looks like you're reading my mind...

was missing: deb http://download.proxmox.com/debian wheezy pve

update, now:
root@kvm01:~/e1000e-3.1.0.2/src# apt-cache search pve-headers
pve-headers-2.6.32-20-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-25-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-24-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-26-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-23-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-22-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-27-pve - The Proxmox PVE Kernel Headers

thx!
 
I have a motherboard with Intel x540 dual 10 GB ethernet ports and am using Proxmox 4.1, which has ixgbe.ko already present in the kernel image.

I type "modprobe ixgbe" and get no errors. Yet the command "ifconfig -a" does not show my adapters.

I've tried downloading the kernel headers and build-essentials, then doing a make on the latest downloaded ixgbe driver from Intel, but that ixgbe.ko file generates errors when I try to load it.

Does anyone have an idea why the modules that came with the default proxmox install won't work? what could I be missing?
 
@Riverrradio:
what is the ouput of "dmesg" after you issued the modprobe command ?
Also the ouput of lspci -k where you see the part relating to Ethernet Controllers
It should look like this:
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V
Subsystem: ASUSTeK Computer Inc. Device 85c4
Kernel driver in use: e1000e



It could be that your card is too new for the ixgbe kernel you ahve but it would surprise me as we have a very recent kernel.
 
  • Like
Reactions: Riverradio
"dmesg" reports the following:

[17552.327852] Intel(R) 10 Gigabit PCI Express Network Driver - version 4.1.5
[17552.327854] Copyright (c) 1999-2015 Intel Corporation.​

However, when execute "lspci -k" i get nothing about an Ethernet adapter. Similarly, "lshw -c network" yields nothing but info on the USB Ethernet adapter i hooked up for some rudimentary connectivity. I'm beginning to think there is some trick to the BIOS settings that is keeping the OS from detecting the hardware. I built two systems with this motherboard, and they are both doing the same thing. Incidentally, the brand is Gigabyte and the motherboard is MD70-HB0
 
lsmod |grep ixgbe yields this:

ixgbe 294912 0
vxlan 45056 1 ixgbe
ptp 20480 1 ixgbe
dca 16384 1 ixgbe

I think I may have found the answer. On Gigabyte's MD70-HB0 product specifications page, I saw the following:


NOTE: If only 1 CPU is installed, some PCIe, memory, network or I/O functions might be unavailable.

Guess how many CPUs I purchased. Nice of them to tell me in advance. D'Oh!

<sheepish> I'll try installing a second CPU and let you all know whether the problem is solved. </sheepish>
 
I think I may have found the answer. On Gigabyte's MD70-HB0 product specifications page, I saw the following:

NOTE: If only 1 CPU is installed, some PCIe, memory, network or I/O functions might be unavailable.

Guess how many CPUs I purchased. Nice of them to tell me in advance. D'Oh!

<sheepish> I'll try installing a second CPU and let you all know whether the problem is solved. </sheepish>
Have you tried swapping the cpu sockets?
 
Ok if the card is not seen on the pci bus with lspci, it's most probably a hardware problem to start with.
 
I tried swapping the CPU sockets, and the system wouldn't boot at all; but with both CPU sockets populated and a fresh install of Proxmox, I can finally see both of the Intel 10GBe adapters using "ifconfig -a". So, yay! On to the next problem: I need to connect one of these adapters to a gigabit switch; unfortunately, ethtool shows that the adapter failed to autonegotiate the speed or the duplex of the gigabit connection. Here's the output of the command:

root@pve1:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 100baseT/Full
1000baseT/Full
10000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Full
10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: Unknown!
Duplex: Unknown! (255)

Port: Twisted Pair
PHYAD: 0
Transceiver: external
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: no
(Red emphasis mine.) When I plug one port into the other, however, the output changes:

Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 100baseT/Full
1000baseT/Full
10000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Full
10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 10000Mb/s
Duplex: Full

Port: Twisted Pair
PHYAD: 0
Transceiver: external
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: no


According to Intel's product briefing, the X540 adapter is supposed to work with gigabit switches in order to help make the transition to 10GBaseT easier and more affordable; so this ought to work. Could it be that the driver and default configuration settings provided by the Proxmox install assumes that this adapter will be used for FCoE, and thus configures the port differently than one would for a LAN?

 
looks like a switch problem to me how is the status led on the switch ?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!