[SOLVED] PVE 4.1 does not work with intel x520-da2

elurex

Active Member
Oct 28, 2015
204
14
38
Taiwan
Hi all,

PVE 4.1 its ixgbe does not work with intel x520-da2... however if I use ubuntu 15.10 live cd or centos 7.2 both distribution works but PVE 4.1 does not. dmesg does not output any error msg and shows the ixgbe is loaded and assign NIC with eth0 and eth1, however, after PVE 4.1 boots, the light modules just got turn off and fibre channel somehow got disabled, and again, no dmesg or syslog msg at all.

With ubuntu 15.10 and centos, both can get a link with the sfp+ switch without problem.
 
Hello, I'm elurex friend

this pve have ip link set ethX up when I reboot

and /etc/networks/interfaces setting ↓
auto lo
iface lo inet loopback

auto eth2
iface eth2 inet manual

auto eth3
iface eth3 inet manual

auto eth6
iface eth6 inet static
address 192.168.0.228
netmask 255.255.255.0

auto eth7
iface eth7 inet static
address 192.168.0.229
netmask 255.255.255.0

allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds eth2 eth3
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options bond_mode=balance-slb

auto vmbr0
iface vmbr0 inet static
address 192.168.0.17
netmask 255.255.255.0
gateway 192.168.0.254
ovs_type OVSBridge
ovs_ports bond0 vmbr0p1 vmbr0p2

allow-vmbr0 vmbr0p1
iface vmbr0p1 inet static
address 192.168.0.17
netmask 255.255.255.0
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=100

allow-vmbr0 vmbr0p2
iface vmbr0p2 inet static
address 192.168.252.17
netmask 255.255.255.0
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=200

auto vmbr1
iface vmbr1 inet static
address 10.0.9.17
netmask 255.255.255.0
ovs_type OVSBridge
ovs_ports vmbr1p1

allow-vmbr1 vmbr1p1
iface vmbr1p1 inet static
address 10.0.9.17
netmask 255.255.255.0
ovs_type OVSIntPort
ovs_bridge vmbr1
 
thanks sili

intel x520 da-2 is assigned to eth6 and eth7
Code:
auto lo
iface lo inet loopback

auto eth2
iface eth2 inet manual

auto eth3
iface eth3 inet manual

auto eth6
iface eth6 inet static
        address  192.168.0.228
        netmask  255.255.255.0

auto eth7
iface eth7 inet static
        address  192.168.0.229
        netmask  255.255.255.0

allow-vmbr0 bond0
iface bond0 inet manual
        ovs_bonds eth2  eth3
        ovs_type OVSBond
        ovs_bridge vmbr0
        ovs_options bond_mode=balance-slb

auto vmbr0
iface vmbr0 inet static
        address  192.168.0.17
        netmask  255.255.255.0
        gateway  192.168.0.254
        ovs_type OVSBridge
        ovs_ports bond0 vmbr0p1 vmbr0p2

allow-vmbr0 vmbr0p1
iface vmbr0p1 inet static
        address  192.168.0.17
        netmask  255.255.255.0
        ovs_type OVSIntPort
        ovs_bridge vmbr0
        ovs_options tag=100

allow-vmbr0 vmbr0p2
iface vmbr0p2 inet static
        address  192.168.252.17
        netmask  255.255.255.0
        ovs_type OVSIntPort
        ovs_bridge vmbr0
        ovs_options tag=200

auto vmbr1
iface vmbr1 inet static
        address  10.0.9.17
        netmask  255.255.255.0
        ovs_type OVSBridge
        ovs_ports vmbr1p1

allow-vmbr1 vmbr1p1
iface vmbr1p1 inet static
        address  10.0.9.17
        netmask  255.255.255.0
        ovs_type OVSIntPort
        ovs_bridge vmbr1
 
ifconfig -a ( i have intel 350 with sr-iov VF enabled)
Code:
root@pve-dol1:~# ifconfig -a
bond0  Link encap:Ethernet  HWaddr ba:dd:fa:01:df:d8
  inet6 addr: fe80::b8dd:faff:fe01:dfd8/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 B)  TX bytes:868 (868.0 B)

eth2  Link encap:Ethernet  HWaddr 0c:c4:7a:75:8b:90
  inet6 addr: fe80::ec4:7aff:fe75:8b90/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:31577 errors:0 dropped:0 overruns:0 frame:0
  TX packets:16110 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:6313581 (6.0 MiB)  TX bytes:4642793 (4.4 MiB)
  Memory:fba20000-fba3ffff

eth3  Link encap:Ethernet  HWaddr 0c:c4:7a:75:8b:91
  inet6 addr: fe80::ec4:7aff:fe75:8b91/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:25986 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8291 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:3929335 (3.7 MiB)  TX bytes:1318464 (1.2 MiB)
  Memory:fba00000-fba1ffff

eth6  Link encap:Ethernet  HWaddr 00:1b:21:d4:6b:51
  inet addr:192.168.0.228  Bcast:192.168.0.255  Mask:255.255.255.0
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth7  Link encap:Ethernet  HWaddr 00:1b:21:d4:6b:50
  inet addr:192.168.0.229  Bcast:192.168.0.255  Mask:255.255.255.0
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo  Link encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:65536  Metric:1
  RX packets:1782 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1782 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:1525625 (1.4 MiB)  TX bytes:1525625 (1.4 MiB)

ovs-system Link encap:Ethernet  HWaddr 6a:f1:0d:e3:82:ed
  BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tap806i0  Link encap:Ethernet  HWaddr ee:ff:4d:07:55:e7
  inet6 addr: fe80::ecff:4dff:fe07:55e7/64 Scope:Link
  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
  RX packets:12 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1932 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:500
  RX bytes:1040 (1.0 KiB)  TX bytes:93300 (91.1 KiB)

tap806i1  Link encap:Ethernet  HWaddr 5e:3a:1e:f4:d7:7a
  inet6 addr: fe80::5c3a:1eff:fef4:d77a/64 Scope:Link
  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:2 errors:0 dropped:1442 overruns:0 carrier:0
  collisions:0 txqueuelen:500
  RX bytes:0 (0.0 B)  TX bytes:180 (180.0 B)

tap806i2  Link encap:Ethernet  HWaddr 9a:c4:ae:a3:aa:97
  inet6 addr: fe80::98c4:aeff:fea3:aa97/64 Scope:Link
  UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:2 errors:0 dropped:1442 overruns:0 carrier:0
  collisions:0 txqueuelen:500
  RX bytes:0 (0.0 B)  TX bytes:160 (160.0 B)


vmbr0  Link encap:Ethernet  HWaddr 0c:c4:7a:75:8b:90
  inet addr:192.168.0.17  Bcast:192.168.0.255  Mask:255.255.255.0
  inet6 addr: fe80::ec4:7aff:fe75:8b90/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:29990 errors:0 dropped:2 overruns:0 frame:0
  TX packets:13429 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:5788184 (5.5 MiB)  TX bytes:4262721 (4.0 MiB)

vmbr1  Link encap:Ethernet  HWaddr 5a:97:1f:ec:47:4a
  inet addr:10.0.9.17  Bcast:10.0.9.255  Mask:255.255.255.0
  inet6 addr: fe80::5897:1fff:feec:474a/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1942 errors:0 dropped:1 overruns:0 frame:0
  TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:94260 (92.0 KiB)  TX bytes:868 (868.0 B)

vmbr0p1  Link encap:Ethernet  HWaddr 86:b6:01:9a:c6:bb
  inet addr:192.168.0.17  Bcast:192.168.0.255  Mask:255.255.255.0
  inet6 addr: fe80::84b6:1ff:fe9a:c6bb/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 B)  TX bytes:868 (868.0 B)

vmbr0p2  Link encap:Ethernet  HWaddr 52:b0:52:6f:cb:45
  inet addr:192.168.252.17  Bcast:192.168.252.255  Mask:255.255.255.0
  inet6 addr: fe80::50b0:52ff:fe6f:cb45/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 B)  TX bytes:798 (798.0 B)

vmbr1p1  Link encap:Ethernet  HWaddr 42:94:33:71:89:b6
  inet addr:10.0.9.17  Bcast:10.0.9.255  Mask:255.255.255.0
  inet6 addr: fe80::4094:33ff:fe71:89b6/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1944 errors:0 dropped:0 overruns:0 frame:0
  TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:94420 (92.2 KiB)  TX bytes:798 (798.0 B)
 
root@pve-dol1:~# lspci -vknn -s 05:00
Code:
05:00.0 Ethernet controller [0200]: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01)
  Subsystem: Intel Corporation Ethernet Server Adapter X520-2 [8086:0003]
  Physical Slot: 2
  Flags: bus master, fast devsel, latency 0, IRQ 26
  Memory at f9c80000 (64-bit, prefetchable) [size=512K]
  I/O ports at e020 [size=32]
  Memory at f9d04000 (64-bit, prefetchable) [size=16K]
  Capabilities: [40] Power Management version 3
  Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
  Capabilities: [70] MSI-X: Enable+ Count=64 Masked-
  Capabilities: [a0] Express Endpoint, MSI 00
  Capabilities: [100] Advanced Error Reporting
  Capabilities: [140] Device Serial Number 00-1b-21-ff-ff-d4-6b-50
  Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
  Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
  Kernel driver in use: ixgbe

05:00.1 Ethernet controller [0200]: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01)
  Subsystem: Intel Corporation Ethernet Server Adapter X520-2 [8086:0003]
  Physical Slot: 2
  Flags: bus master, fast devsel, latency 0, IRQ 100
  Memory at f9c00000 (64-bit, prefetchable) [size=512K]
  I/O ports at e000 [size=32]
  Memory at f9d00000 (64-bit, prefetchable) [size=16K]
  Capabilities: [40] Power Management version 3
  Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
  Capabilities: [70] MSI-X: Enable+ Count=64 Masked-
  Capabilities: [a0] Express Endpoint, MSI 00
  Capabilities: [100] Advanced Error Reporting
  Capabilities: [140] Device Serial Number 00-1b-21-ff-ff-d4-6b-50
  Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
  Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
  Kernel driver in use: ixgbe

root@pve-dol1:~# modinfo ixgbe
Code:
filename:  /lib/modules/4.2.6-1-pve/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
version:  4.1.5
license:  GPL
description:  Intel(R) 10 Gigabit PCI Express Network Driver
author:  Intel Corporation, <linux.nics@intel.com>
srcversion:  9781CEF8A3110F93FF9DBA8
alias:  pci:v00008086d000015ADsv*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:v00008086d0000154Fsv*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:  ptp,dca,vxlan
vermagic:  4.2.6-1-pve SMP mod_unload modversions
parm:  InterruptType:Change Interrupt Mode (0=Legacy, 1=MSI, 2=MSI-X), default IntMode (deprecated) (array of int)
parm:  IntMode:Change Interrupt Mode (0=Legacy, 1=MSI, 2=MSI-X), default 2 (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, 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:  LRO:Large Receive Offload (0,1), default 1 = on (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)
 
root@pve-dol1:~# dmesg |grep ixgbe
Code:
[    3.927421] ixgbe 0000:03:00.0 eth2: MAC: 5, PHY: 6, PBA No: 020000-000
[    3.927430] ixgbe 0000:03:00.0: 0c:c4:7a:75:8f:78
[    3.927436] ixgbe 0000:03:00.0 eth2: Enabled Features: RxQ: 16 TxQ: 16 FdirHash RSC vxlan_rx
[    3.949647] ixgbe 0000:03:00.0 eth2: Intel(R) 10 Gigabit Network Connection
[    5.875588] ixgbe 0000:03:00.1 eth3: MAC: 5, PHY: 6, PBA No: 020000-000
[    5.875597] ixgbe 0000:03:00.1: 0c:c4:7a:75:8f:79
[    5.875603] ixgbe 0000:03:00.1 eth3: Enabled Features: RxQ: 16 TxQ: 16 FdirHash RSC vxlan_rx
[    5.897805] ixgbe 0000:03:00.1 eth3: Intel(R) 10 Gigabit Network Connection
[    5.897917] ixgbe: 0000:05:00.0: ixgbe_check_options: FCoE Offload feature enabled
[    6.065484] ixgbe 0000:05:00.0: PCI Express bandwidth of 32GT/s available
[    6.065487] ixgbe 0000:05:00.0: (Speed:5.0GT/s, Width: x8, Encoding Loss:20%)
[    6.065569] ixgbe 0000:05:00.0 eth4: MAC: 2, PHY: 18, SFP+: 5, PBA No: E68793-004
[    6.065571] ixgbe 0000:05:00.0: 00:1b:21:d4:6b:50
[    6.065572] ixgbe 0000:05:00.0 eth4: Enabled Features: RxQ: 16 TxQ: 16 FdirHash RSC
[    6.065597] ixgbe 0000:05:00.0 eth4: Intel(R) 10 Gigabit Network Connection
[    6.065737] ixgbe: 0000:05:00.1: ixgbe_check_options: FCoE Offload feature enabled
[    6.233512] ixgbe 0000:05:00.1: PCI Express bandwidth of 32GT/s available
[    6.233514] ixgbe 0000:05:00.1: (Speed:5.0GT/s, Width: x8, Encoding Loss:20%)
[    6.233596] ixgbe 0000:05:00.1 eth5: MAC: 2, PHY: 18, SFP+: 6, PBA No: E68793-004
[    6.233598] ixgbe 0000:05:00.1: 00:1b:21:d4:6b:51
[    6.233600] ixgbe 0000:05:00.1 eth5: Enabled Features: RxQ: 16 TxQ: 16 FdirHash RSC
[    6.233622] ixgbe 0000:05:00.1 eth5: Intel(R) 10 Gigabit Network Connection
[   16.424374] ixgbe 0000:03:00.1 rename5: renamed from eth3
[   16.455839] ixgbe 0000:05:00.1 eth6: renamed from eth5
[   16.515727] ixgbe 0000:03:00.0 rename4: renamed from eth2
[   16.563878] ixgbe 0000:05:00.0 eth7: renamed from eth4
[   16.591807] ixgbe 0000:03:00.1 eth0: renamed from rename5
[   16.615721] ixgbe 0000:03:00.0 eth1: renamed from rename4
[   21.551304] ixgbe 0000:05:00.1: registered PHC device on eth6
[   21.715977] ixgbe 0000:05:00.1 eth6: detected SFP+: 6
[   21.755034] ixgbe 0000:05:00.0: registered PHC device on eth7
[   23.345424] ixgbe 0000:05:00.0 eth7: detected SFP+: 5
 
I have the exact same problem with pve3.4 & latest pve4.2. How has this been solved and what was the solution ?
 
Same problem today on a DELL R530 and X520 10Gb ethernet.
Using latest proxmox VE 4.2 iso.
Somebody solves this problem ?
May I fall back to 3.3 (if 3.4 has also this problem as GT1 says), the previous version running on my old server ?
Thank

Patrick
 

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!