← Back to team overview

kernel-packages team mailing list archive

[Bug 1454286] Re: BNX2X firmware an hang on Trusty (3.13) and Utopic (3.16).

 

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 <Dmitry.Kravkov@xxxxxxxxxx>
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 <Dmitry.Kravkov@xxxxxxxxxx>
    Signed-off-by: Yuval Mintz <Yuval.Mintz@xxxxxxxxxx>
    Signed-off-by: Ariel Elior <Ariel.Elior@xxxxxxxxxx>
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

2)

Author: Yuval Mintz <Yuval.Mintz@xxxxxxxxxx>
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 <Yuval.Mintz@xxxxxxxxxx>
    Signed-off-by: Ariel Elior <Ariel.Elior@xxxxxxxxxx>
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

    Conflicts:
        drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
        drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c

3)

Author: Yuval Mintz <Yuval.Mintz@xxxxxxxxxx>
Date: Sun Aug 17 16:47:46 2014 +0300

    bnx2x: Update driver version to 1.710.51

    Signed-off-by: Yuval Mintz <Yuval.Mintz@xxxxxxxxxx>
    Signed-off-by: Ariel Elior <Ariel.Elior@xxxxxxxxxx>
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

-- 
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/1454286

Title:
  BNX2X firmware an hang on Trusty (3.13) and Utopic (3.16).

Status in linux package in Ubuntu:
  In Progress

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(NETDEV_UP): em3: link is not ready
  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_open:11791(em3)]Recovery flow hasn't been properly completed yet. Try again later.
  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_open:11791(em3)]Recovery flow hasn't been properly completed yet. Try again later.
  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(NETDEV_UP): br1: link is not ready
  """

  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://launchpad.net/~inaddy/+archive/ubuntu/sf00080928/) the issue
  was fixed after package installation and power-cycle -> Power cycle is
  needed since previous firmware hangs HW until it is shutdown.

  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 626041248d3fb5b2fca5c9af172f00fa3bb6dcfe 
  Author: Yuval Mintz <Yuval.Mintz@xxxxxxxxxx> 
  Date: Sun Aug 17 16:47:46 2014 +0300 

  bnx2x: Update driver version to 1.710.5

  commit e42780b66aab88d3a82b6087bcd6095b90eecde7 
  Author: Dmitry Kravkov <Dmitry.Kravkov@xxxxxxxxxx> 
  Date: Sun Aug 17 16:47:43 2014 +0300 

  bnx2x: Utilize FW 7.10.51

  Observations:

  inaddy@alien:~/Bugs/customer/sf00080928/sources/trusty/linux-firmware-1.127.11$ find . | grep bnx2x 
  ./bnx2x 
  ./bnx2x/bnx2x-e1h-7.8.19.0.fw 
  ./bnx2x/bnx2x-e1-7.8.17.0.fw 
  ./bnx2x/bnx2x-e1-7.8.19.0.fw 
  ./bnx2x/bnx2x-e2-7.8.17.0.fw 
  ./bnx2x/bnx2x-e1h-7.8.17.0.fw 
  ./bnx2x/bnx2x-e2-7.8.19.0.fw 

  inaddy@alien:~/Bugs/customer/sf00080928/sources/utopic/linux-firmware-1.138.1$ find . | grep bnx2x 
  ./bnx2x 
  ./bnx2x/bnx2x-e1h-7.8.19.0.fw 
  ./bnx2x/bnx2x-e1-7.8.17.0.fw 
  ./bnx2x/bnx2x-e1-7.8.19.0.fw 
  ./bnx2x/bnx2x-e2-7.10.51.0.fw 
  ./bnx2x/bnx2x-e1h-7.10.51.0.fw 
  ./bnx2x/bnx2x-e2-7.8.17.0.fw 
  ./bnx2x/bnx2x-e1h-7.8.17.0.fw 
  ./bnx2x/bnx2x-e1-7.10.51.0.fw 
  ./bnx2x/bnx2x-e2-7.8.19.0.fw 

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1454286/+subscriptions


References