[Kernel-packages] [Bug 1482304] Re: Upgrade i40e and i40evf driver to latest

2016-01-14 Thread Andreas Schröder
I switched to linux-image-generic-lts-wily (4.2.0-23-generic) kernel.
Everything seems to work for the moment, but now the driver complains
about the firmware beeing to new:

i40e: Intel(R) Ethernet Connection XL710 Network Driver - version 1.3.4-k
i40e: Copyright (c) 2013 - 2014 Intel Corporation.
i40e :41:00.0: f4.40.35115 a1.4 n4.53 e1dc1
i40e :41:00.0: The driver for the device detected a newer version of the 
NVM image than expected. Please install the most recent version of the network 
driver.
i40e :41:00.0: FCoE capability is disabled
i40e :41:00.0: MAC address: 00:11:22:33:44:55
i40e :41:00.0: SAN MAC:  00:11:22:33:44:55
i40e :41:00.0: fcoe queues = 0
i40e :41:00.0: enabling bridge mode: VEPA
i40e :41:00.0: i40e_ptp_init: added PHC on eth2
i40e :41:00.0: PCI-Express: Speed 8.0GT/s Width x8
i40e :41:00.0: Features: PF-id[0] VFs: 32 VSIs: 34 QP: 24 RX: 1BUF RSS 
FD_ATR FD_SB NTUPLE DCB PTP

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1482304

Title:
  Upgrade i40e and i40evf driver to latest

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  It appears that the latest i40e driver in Trusty is 0.3.36-k.  We've
  been experiencing some kernel panics with this driver and have found
  that it looks like bringing the driver up to the latest 1.2.48 has
  alleviated some of the kernel panics on boot.

  Is this something we could look at getting upgraded to a more modern
  revision of the driver?

  Thanks

  Output of Panic (Using Intel x710)

  [3.143088] i40e :05:00.0 p1p1: NIC Link is Up
  [3.301138] Switched to clocksource tsc
  [6.216639] random: nonblocking pool is initialized
  [8.934783] [ cut here ]
  [8.934805] WARNING: CPU: 0 PID: 0 at 
/build/buildd/linux-3.13.0/net/sched/sch_generic.c:264 
dev_watchdog+0x276/0x280()
  [8.934808] NETDEV WATCHDOG: p1p1 (i40e): transmit queue 0 timed out
  [8.934828] Modules linked in: joydev hid_generic gpio_ich 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul 
crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul 
glue_helper ablk_helper cryptd serio_raw usbhid hid lpc_ich hpilo ioatdma dca 
ipmi_si shpchp wmi acpi_power_meter mac_hid lp parport psmouse i40e vxlan 
ip_tunnel ptp hpsa pps_core
  [8.934874] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.13.0-57-generic 
#95-Ubuntu
  [8.934877] Hardware name: HP ProLiant DL380 Gen9, BIOS P89 05/06/2015
  [8.934878]  0009 88103fc03d98 817232f0 
88103fc03de0
  [8.934891]  88103fc03dd0 8106784d  
881028d18000
  [8.934895]  881023734f40 0040  
88103fc03e30
  [8.934904] Call Trace:
  [8.934905][] dump_stack+0x45/0x56
  [8.934921]  [] warn_slowpath_common+0x7d/0xa0
  [8.934925]  [] warn_slowpath_fmt+0x4c/0x50
  [8.934928]  [] dev_watchdog+0x276/0x280
  [8.934935]  [] ? dev_graft_qdisc+0x80/0x80
  [8.934942]  [] call_timer_fn+0x36/0x100
  [8.934946]  [] ? dev_graft_qdisc+0x80/0x80
  [8.934950]  [] run_timer_softirq+0x1ef/0x2f0
  [8.934957]  [] __do_softirq+0xec/0x2c0
  [8.934961]  [] irq_exit+0x105/0x110
  [8.934971]  [] smp_apic_timer_interrupt+0x45/0x60
  [8.934976]  [] apic_timer_interrupt+0x6d/0x80
  [8.934977][] ? cpuidle_enter_state+0x52/0xc0
  [8.934986]  [] cpuidle_idle_call+0xb9/0x1f0
  [8.934994]  [] arch_cpu_idle+0xe/0x30
  [8.935000]  [] cpu_startup_entry+0xc5/0x290
  [8.935008]  [] rest_init+0x77/0x80
  [8.935016]  [] start_kernel+0x438/0x443
  [8.935021]  [] ? repair_env_string+0x5c/0x5c
  [8.935023]  [] ? early_idt_handlers+0x120/0x120
  [8.935027]  [] x86_64_start_reservations+0x2a/0x2c
  [8.935030]  [] x86_64_start_kernel+0x143/0x152
  [8.935034] ---[ end trace fabec2b76d314b12 ]---
  [8.935037] i40e :05:00.0 p1p1: tx_timeout recovery level 0
  [8.935071] i40e :05:00.0: VSI reinit requested
  [8.945435] i40e :05:00.0 p1p1: NIC Link is Up
  [   14.856689] i40e :05:00.0: Detected Tx Unit Hang
  [   14.856689]   VSI  <518>
  [   14.856689]   Tx Queue <0>
  [   14.856689]   next_to_use  <1>
  [   14.856689]   next_to_clean<0>
  [   14.856697] i40e :05:00.0: tx_bi[next_to_clean]
  [   14.856697]   time_stamp   
  [   14.856697]   jiffies  
  [   14.856699] i40e :05:00.0: tx hang detected on queue 0, resetting 
adapter
  [   14.856701] i40e :05:00.0 p1p1: tx_timeout recovery level 1
  [   14.882582] i40e :05:00.0: i40e_ptp_init: added PHC on p1p1
  [   14.899577] i40e :05:00.0 p1p1: NIC Link is Up
  [   14.899623] i40e :05:00.0: reset complete
  [   24.928762] i40e :05:00.0 p1p1: tx_timeout recovery level 2
  [   

[Kernel-packages] [Bug 1482304] Re: Upgrade i40e and i40evf driver to latest

2015-09-24 Thread Andreas Schröder
I have a Supermicro AOC-STG-i4S quad port card
(ftp://ftp.supermicro.com/Networking_Drivers/CDR-NIC_1.41_for_Add-
on_NIC_Cards/MANUALS/datasheet-AOC-STG-i4S.pdf) which is also based on
the Intel XL710 chip.

With the standard Trusty 3.13 kernel and the included i40e module version 
0.3.36-k the card doesn't work at all. Interfaces are not created because of 
some firmware API mismatch.
With the LTS Vivid 3.19 kernel and the included i40e module version 1.2.2-k the 
card is detected, the interfaces are created, but bonding doesn't work 
properly. Seem to be this bug: http://sourceforge.net/p/e1000/bugs/475/ .

I had to manually install the driver version 1.3.39.1. Bonding works
now. But the driver complains about the 'NVM image' (part of firmware)
being too old. So I had to update the firmware as well.

A recent driver in the backported LTS kernels would be very important
for many users, as the existing older versions don't seem to be matured
enough.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1482304

Title:
  Upgrade i40e and i40evf driver to latest

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  It appears that the latest i40e driver in Trusty is 0.3.36-k.  We've
  been experiencing some kernel panics with this driver and have found
  that it looks like bringing the driver up to the latest 1.2.48 has
  alleviated some of the kernel panics on boot.

  Is this something we could look at getting upgraded to a more modern
  revision of the driver?

  Thanks

  Output of Panic (Using Intel x710)

  [3.143088] i40e :05:00.0 p1p1: NIC Link is Up
  [3.301138] Switched to clocksource tsc
  [6.216639] random: nonblocking pool is initialized
  [8.934783] [ cut here ]
  [8.934805] WARNING: CPU: 0 PID: 0 at 
/build/buildd/linux-3.13.0/net/sched/sch_generic.c:264 
dev_watchdog+0x276/0x280()
  [8.934808] NETDEV WATCHDOG: p1p1 (i40e): transmit queue 0 timed out
  [8.934828] Modules linked in: joydev hid_generic gpio_ich 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul 
crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul 
glue_helper ablk_helper cryptd serio_raw usbhid hid lpc_ich hpilo ioatdma dca 
ipmi_si shpchp wmi acpi_power_meter mac_hid lp parport psmouse i40e vxlan 
ip_tunnel ptp hpsa pps_core
  [8.934874] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.13.0-57-generic 
#95-Ubuntu
  [8.934877] Hardware name: HP ProLiant DL380 Gen9, BIOS P89 05/06/2015
  [8.934878]  0009 88103fc03d98 817232f0 
88103fc03de0
  [8.934891]  88103fc03dd0 8106784d  
881028d18000
  [8.934895]  881023734f40 0040  
88103fc03e30
  [8.934904] Call Trace:
  [8.934905][] dump_stack+0x45/0x56
  [8.934921]  [] warn_slowpath_common+0x7d/0xa0
  [8.934925]  [] warn_slowpath_fmt+0x4c/0x50
  [8.934928]  [] dev_watchdog+0x276/0x280
  [8.934935]  [] ? dev_graft_qdisc+0x80/0x80
  [8.934942]  [] call_timer_fn+0x36/0x100
  [8.934946]  [] ? dev_graft_qdisc+0x80/0x80
  [8.934950]  [] run_timer_softirq+0x1ef/0x2f0
  [8.934957]  [] __do_softirq+0xec/0x2c0
  [8.934961]  [] irq_exit+0x105/0x110
  [8.934971]  [] smp_apic_timer_interrupt+0x45/0x60
  [8.934976]  [] apic_timer_interrupt+0x6d/0x80
  [8.934977][] ? cpuidle_enter_state+0x52/0xc0
  [8.934986]  [] cpuidle_idle_call+0xb9/0x1f0
  [8.934994]  [] arch_cpu_idle+0xe/0x30
  [8.935000]  [] cpu_startup_entry+0xc5/0x290
  [8.935008]  [] rest_init+0x77/0x80
  [8.935016]  [] start_kernel+0x438/0x443
  [8.935021]  [] ? repair_env_string+0x5c/0x5c
  [8.935023]  [] ? early_idt_handlers+0x120/0x120
  [8.935027]  [] x86_64_start_reservations+0x2a/0x2c
  [8.935030]  [] x86_64_start_kernel+0x143/0x152
  [8.935034] ---[ end trace fabec2b76d314b12 ]---
  [8.935037] i40e :05:00.0 p1p1: tx_timeout recovery level 0
  [8.935071] i40e :05:00.0: VSI reinit requested
  [8.945435] i40e :05:00.0 p1p1: NIC Link is Up
  [   14.856689] i40e :05:00.0: Detected Tx Unit Hang
  [   14.856689]   VSI  <518>
  [   14.856689]   Tx Queue <0>
  [   14.856689]   next_to_use  <1>
  [   14.856689]   next_to_clean<0>
  [   14.856697] i40e :05:00.0: tx_bi[next_to_clean]
  [   14.856697]   time_stamp   
  [   14.856697]   jiffies  
  [   14.856699] i40e :05:00.0: tx hang detected on queue 0, resetting 
adapter
  [   14.856701] i40e :05:00.0 p1p1: tx_timeout recovery level 1
  [   14.882582] i40e :05:00.0: i40e_ptp_init: added PHC on p1p1
  [   14.899577] i40e :05:00.0 p1p1: NIC Link is Up
  [   14.899623] i40e :05:00.0: reset complete
  [   24.928762] i40e :05:00.0 p1p1: tx_timeout recovery