BNX2X firmware an hang on Trusty (3.13) and Utopic (3.16).
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Dan Streetman | ||
Trusty |
Won't Fix
|
Undecided
|
Dan Streetman |
Bug Description
It was brought to my attention that BNX2X FIRMWARE is causing HW hangs on kernels 3.13 and 3.16 (until next power-cycle):
Messages like this one:
"""
Mar 30 13:42:05 host kernel: [3986360.755781] device em3 left promiscuous mode
Mar 30 13:42:05 host kernel: [3986360.755849] br1: port 1(em3) entered disabled state
Mar 30 13:42:05 host kernel: [3986360.756305] IPv6: ADDRCONF(
Mar 30 13:42:08 host kernel: [3986363.354376] device em3 entered promiscuous mode
Mar 30 13:42:08 host kernel: [3986363.376093] bnx2x: [bnx2x_
Mar 30 13:42:08 host kernel: [3986363.376093] If you still see this message after a few retries then power cycle is required.
Mar 30 13:42:08 host kernel: [3986363.420113] bnx2x: [bnx2x_
Mar 30 13:42:08 host kernel: [3986363.420113] If you still see this message after a few retries then power cycle is required.
Mar 30 13:42:08 host kernel: [3986363.443840] IPv6: ADDRCONF(
"""
Are likely to be given in syslog whenever this happens.
WORKAROUND: After providing the user a "linux-lts-vivid" and an updated linux-firmware package (https:/
My comments:
"""
Actually after reading the Changelog for FW 7.10.51 (specifically the part "Chip may stall in very rare cases under heavy traffic with FW GRO enabled.") I think we might need to upgrade not only the FIRMWARE but also the DRIVER.
commit 626041248d3fb5b
Author: Yuval Mintz <email address hidden>
Date: Sun Aug 17 16:47:46 2014 +0300
bnx2x: Update driver version to 1.710.5
commit e42780b66aab88d
Author: Dmitry Kravkov <email address hidden>
Date: Sun Aug 17 16:47:43 2014 +0300
bnx2x: Utilize FW 7.10.51
Observations:
inaddy@
./bnx2x
./bnx2x/
./bnx2x/
./bnx2x/
./bnx2x/
./bnx2x/
./bnx2x/
inaddy@
./bnx2x
./bnx2x/
./bnx2x/
./bnx2x/
./bnx2x/
./bnx2x/
./bnx2x/
./bnx2x/
./bnx2x/
./bnx2x/
Firmware 7.10.51 is already present in Utopic but the commit to support it is only in 3.18. It might be feasible to backport it to 3.16 (and use HWE) but not sure about 3.13 (to be resolved if this new firmware/driver fixes the issue).
"""
I'll provide more comments right after my backport attempt (of this new version) is made.
Changed in linux (Ubuntu): | |
assignee: | nobody → Rafael David Tinoco (inaddy) |
status: | New → In Progress |
tags: | added: sts |
Changed in linux (Ubuntu): | |
assignee: | Rafael David Tinoco (inaddy) → nobody |
Changed in linux (Ubuntu): | |
assignee: | nobody → Dan Streetman (ddstreet) |
This is a HOTFIX for LP1454286:
https:/ /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/1454286
Where I am backporting bnx2x driver from Vivid to Trusty and Utopic.
-> Please provide feedback regarding bnx2x new driver and firmware for Utopic (and lts-utopic HWE for Trusty).
Thank you
Rafael Tinoco
Observations from PPA:
#### Trusty
Not available yet
#### Utopic (and Trusty lts-utopic HWE kernel)
Kernel UBUNTU: Ubuntu-3.16.0-38.52 + the following upstream patches:
1)
Author: Dmitry Kravkov <email address hidden>
Date: Sun Aug 17 16:47:43 2014 +0300
bnx2x: Utilize FW 7.10.51
- (L2) In some multi-function configurations, inter-PF and inter-VF
Tx switching is incorrectly enabled.
- (L2) Wrong assert code in FLR final cleanup in case it is sent not
after FLR.
- (L2) Chip may stall in very rare cases under heavy traffic with FW GRO
enabled.
- (L2) VF malicious notification error fixes.
- (L2) Default gre tunnel to IPGRE which allows proper RSS for IPGRE packets,
L2GRE traffic will reach single queue.
- (FCoE) Fix data being placed in wrong buffer when corrupt FCoE frame is
received.
- (FCoE) Burst of FIP packets with destination MAC of ALL-FCF_MACs
causes FCoE traffic to stop.
Signed-off-by: Dmitry Kravkov <email address hidden>
Signed-off-by: Yuval Mintz <email address hidden>
Signed-off-by: Ariel Elior <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
2)
Author: Yuval Mintz <email address hidden>
Date: Sun Aug 17 16:47:45 2014 +0300
bnx2x: Code cleanup
This patch does several semantic things:
- Fixing typos.
- Removing unnecessary prints.
- Removing unused functions and definitions.
- Change 'strange' usage of boolean variables.
Signed-off-by: Yuval Mintz <email address hidden>
Signed-off-by: Ariel Elior <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
Conflicts:
drivers/ net/ethernet/ broadcom/ bnx2x/bnx2x. h
drivers/ net/ethernet/ broadcom/ bnx2x/bnx2x_ sriov.c
3)
Author: Yuval Mintz <email address hidden>
Date: Sun Aug 17 16:47:46 2014 +0300
bnx2x: Update driver version to 1.710.51
Signed-off-by: Yuval Mintz <email address hidden>
Signed-off-by: Ariel Elior <email address hidden>
Signed-off-by: David S. Miller <email address hidden>