Add patch for various SFP+ module support to ixgbe driver in kernel 3.2.0-x (12.04 Precise)

Bug #1065475 reported by Andreas Schröder
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Luis Henriques
Precise
Fix Released
Undecided
Luis Henriques
Quantal
Fix Released
Medium
Luis Henriques

Bug Description

The ixgbe driver in kernel 3.2.0-31 (12.04 Precise) does not include the patch "ixgbe: Add module parameter to allow untested and unsafe SFP+ modules" (see http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=8ef78adcb03b1fcb53c3bd62df4e96c1d2706c58).

Intel has locked down the ixgbe driver for the X520-DA2 (82599EB) 10 Gigabit Ethernet adapters to only support Intel's own SFP+ modules.

If you insert for example a Dell 0WTRD1 / FTLX8571D3BCL-FC module into one port, you get the following kernel output:
ixgbe 0000:41:00.0: failed to initialize because an unsupported SFP+ module type was detected.
ixgbe 0000:41:00.0: Reload the driver after installing a supported module.

I expect to be able to use any SFP+ module in these adapters, if the hardware allows it. This is clearly a driver limitation, not a hardware problem.

'lspci' shows:
41:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFP+ Network Connection (rev 01)
41:00.1 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFP+ Network Connection (rev 01)

'lsb_release -rd' shows:
Description: Ubuntu 12.04.1 LTS
Release: 12.04

'uname -a' shows:
Linux foobar 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Please include this patch, as it's already accepted in upstream and people using these adapters are not forced to buy their SFP+ modules from Intel.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1065475

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: precise
Revision history for this message
Andreas Schröder (andreas-schroeder-s) wrote :

Can't run "apport-collect 1065475" because package "apport" is not installed. Can't install package "apport" because network card is not working (caused by this bug).

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Andreas Schröder (andreas-schroeder-s) wrote :

Using the described patch leads to the following output:

ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 3.6.7-k
ixgbe: Copyright (c) 1999-2011 Intel Corporation.
ixgbe 0000:41:00.0: PCI INT A -> GSI 80 (level, low) -> IRQ 80
ixgbe 0000:41:00.0: setting latency timer to 64
ixgbe 0000:41:00.0: Multiqueue Enabled: Rx Queue count = 24, Tx Queue count = 24
ixgbe 0000:41:00.0: (PCI Express:5.0GT/s:Width x8) a0:36:9f:07:2f:bc
ixgbe 0000:41:00.0: MAC: 2, PHY: 12, SFP+: 5, PBA No: G28774-000
ixgbe 0000:41:00.0: Intel(R) 10 Gigabit Network Connection
ixgbe 0000:41:00.0: eth2: WARNING: Intel (R) Network Connections are quality tested using Intel (R) Ethernet Optics. Using untested modules is not supported and may cause unstable operation or damage to the module or the adapter. Intel Corporation is not responsible for any harm caused by using untested modules.
ixgbe 0000:41:00.0: eth2: detected SFP+: 5
ixgbe 0000:41:00.0: eth2: NIC Link is Up 10 Gbps, Flow Control: RX/TX

Revision history for this message
Luis Henriques (henrix) wrote :

Hi Andreas,

I've built a test kernel containing the referred commit, and uploaded it here:

http://people.canonical.com/~henrix/lp1065475

(there's a 32 and a 64 bits version)

Could you please install it in your system and see if it solves the problem?

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Andreas Schröder (andreas-schroeder-s) wrote :

Hello Luis,

I installed your packages. It works. Thanks!

kernel output:
ixgbe 0000:41:00.0: eth2: WARNING: Intel (R) Network Connections are quality tested using Intel (R) Ethernet Optics. Using untested modules is not supported and may cause unstable operation or damage to the module or the adapter. Intel Corporation is not responsible for any harm caused by using untested modules.
ixgbe 0000:41:00.0: eth2: detected SFP+: 5
ixgbe 0000:41:00.0: eth2: NIC Link is Up 10 Gbps, Flow Control: RX/TX

'uname -a' shows:
Linux foobar 3.2.0-32-generic #51~lp1065475v1 SMP Thu Oct 11 13:52:37 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Luis Henriques (henrix)
Changed in linux (Ubuntu):
status: Confirmed → Triaged
assignee: nobody → Luis Henriques (henrix)
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Precise):
assignee: nobody → Luis Henriques (henrix)
status: New → Fix Committed
Changed in linux (Ubuntu Quantal):
status: Triaged → Fix Released
Revision history for this message
Luis Henriques (henrix) wrote :

This bug is awaiting verification that the kernel for Precise in -proposed solves the problem (3.2.0-33.52). Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-precise' to 'verification-done-precise'.

If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-precise
Revision history for this message
Luis Henriques (henrix) wrote :

Hi Andreas, could you please check if the -proposed kernel fixes this issue (as per comment #6)? Thanks.

Revision history for this message
Andreas Schröder (andreas-schroeder-s) wrote :

Hi Luis,

I installed the new kernel from precise-proposed and it's working. Thanks!

'uname -a' shows:
Linux foobar 3.2.0-33-generic #52-Ubuntu SMP Thu Oct 18 16:29:15 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

tags: added: verification-done-precise
removed: verification-needed-precise
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (9.1 KiB)

This bug was fixed in the package linux - 3.2.0-33.52

---------------
linux (3.2.0-33.52) precise-proposed; urgency=low

  [Luis Henriques]

  * Release Tracking Bug
    - LP: #1067666

  [ Andy Whitcroft ]

  * [Config] add fs/udf to linux-image to support DVD/CD formats in virtual
    instances
    - LP: #1066921

  [ James M Leddy ]

  * SAUCE: input: fix weird issue of synaptics psmouse sync lost after
    resume
    - LP: #717970

  [ Paolo Pisati ]

  * [SRU] [Config] enable TIDSPBRIDGE for omap arm[el|hf] flavours
    - LP: #1058022

  [ Sarveshwar Bandi ]

  * SAUCE: bridge: Pull ip header into skb->data before looking into ip
    header.
    - LP: #1065150

  [ Upstream Kernel Changes ]

  * Revert "drm/radeon: rework pll selection (v3)"
    - LP: #1065047
  * sched: Fix migration thread runtime bogosity
    - LP: #1057593
  * Bluetooth: Add support for Sony Vaio T-Series
    - LP: #1054307
  * drm/radeon: properly handle mc_stop/mc_resume on evergreen+ (v2)
    - LP: #1058303
  * Bluetooth: Use USB_VENDOR_AND_INTERFACE() for Broadcom devices
    - LP: #1058303
  * Bluetooth: Add USB_VENDOR_AND_INTERFACE_INFO() for Broadcom/Foxconn
    - LP: #1030233, #1058303
  * target: Fix ->data_length re-assignment bug with SCSI overflow
    - LP: #1065047
  * ASoC: samsung dma - Don't indicate support for pause/resume.
    - LP: #1065047
  * fs/proc: fix potential unregister_sysctl_table hang
    - LP: #1065047
  * mm/ia64: fix a memory block size bug
    - LP: #1065047
  * nbd: clear waiting_queue on shutdown
    - LP: #1065047
  * drivers/rtc/rtc-twl.c: ensure all interrupts are disabled during probe
    - LP: #1065047
  * mm/page_alloc: fix the page address of higher page's buddy calculation
    - LP: #1065047
  * memory hotplug: fix section info double registration bug
    - LP: #1065047
  * cciss: fix handling of protocol error
    - LP: #1065047
  * vfs: dcache: use DCACHE_DENTRY_KILLED instead of DCACHE_DISCONNECTED in
    d_kill()
    - LP: #1065047
  * workqueue: reimplement work_on_cpu() using system_wq
    - LP: #1065047
  * cpufreq/powernow-k8: workqueue user shouldn't migrate the kworker to
    another CPU
    - LP: #1065047
  * sched: Fix ancient race in do_exit()
    - LP: #1065047
  * hpwdt: Fix kdump issue in hpwdt
    - LP: #1065047
  * rtlwifi: rtl8192ce: Log message that B_CUT device may not work
    - LP: #1065047
  * brcmfmac: fix big endian bug in i-scan.
    - LP: #1065047
  * brcmfmac: Fix big endian host configuration data.
    - LP: #1065047
  * dmaengine: at_hdmac: fix comment in atc_prep_slave_sg()
    - LP: #1065047
  * dmaengine: at_hdmac: check that each sg data length is non-null
    - LP: #1065047
  * ARM: 7532/1: decompressor: reset SCTLR.TRE for VMSA ARMv7 cores
    - LP: #1065047
  * drm/i915: Reduce a pin-leak BUG into a WARN
    - LP: #1065047
  * bnx2i: Fixed NULL ptr deference for 1G bnx2 Linux iSCSI offload
    - LP: #1065047
  * mpt2sas: Fix for issue - Unable to boot from the drive connected to HBA
    - LP: #1065047
  * hwmon: (ads7871) Add 'name' sysfs attribute
    - LP: #1065047
  * DMA: PL330: Check the pointer returned by kzalloc
    - LP: #1065047
  * hpsa: fix handling of protocol error
    -...

Read more...

Changed in linux (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.