[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#701095: marked as done (linux-image-3.2.0-4-amd64: ixgbe driver vendor-locks SFP+ optics)



Your message dated Sat, 24 Apr 2021 07:55:21 -0700 (PDT)
with message-id <60843159.1c69fb81.4f92f.80e4@mx.google.com>
and subject line Closing this bug (BTS maintenance for src:linux bugs)
has caused the Debian Bug report #701095,
regarding linux-image-3.2.0-4-amd64: ixgbe driver vendor-locks SFP+ optics
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
701095: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701095
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: linux-image-3.2.0-4-amd64
Severity: normal
Tags: patch upstream

ixgbe driver enforces vendor locking for SFP+ optics in the open source
driver.
Attaching a patch to address this issue.

-- System Information:
Distributor ID: Debian
Description:    Debian 
Release:        6.0.5
Codename:       wheezy
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Description: Remove intel vendor lock for SFP(+) optics
 Makes sure all optics will work.
 .
Author: Wilco Baan Hofman <wilco@baanhofman.nl>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: other
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Forwarded: no
Reviewed-By: Wilco Baan Hofman <wilco@baanhofman.nl>
Last-Update: 2013-02-21

--- linux-3.2.35.orig/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
+++ linux-3.2.35/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
@@ -1068,9 +1068,11 @@ s32 ixgbe_identify_sfp_module_generic(st
 			if (hw->phy.type == ixgbe_phy_sfp_intel) {
 				status = 0;
 			} else {
-				hw_dbg(hw, "SFP+ module not supported\n");
-				hw->phy.type = ixgbe_phy_sfp_unsupported;
-				status = IXGBE_ERR_SFP_NOT_SUPPORTED;
+				hw_dbg(hw, "SFP+ module not supported, but unlocking the card for you.\n");
+				enforce_sfp |= IXGBE_DEVICE_CAPS_ALLOW_ANY_SFP;
+				hw->eeprom.ops.write(hw, IXGBE_DEVICE_CAPS, enforce_sfp);
+				ixgbe_update_eeprom_checksum_generic(hw);
+				status = 0;
 			}
 		} else {
 			status = 0;


--- End Message ---
--- Begin Message ---
Hi

This bug was filed for a very old kernel or the bug is old itself
without resolution.

If you can reproduce it with

- the current version in unstable/testing
- the latest kernel from backports

please reopen the bug, see https://www.debian.org/Bugs/server-control
for details.

Regards,
Salvatore

--- End Message ---

Reply to: