[Bug 1455871] Re: biosdevname isn't giving interface names as expected

Launchpad Bug Tracker 1455871 at bugs.launchpad.net
Wed Sep 23 14:45:40 UTC 2015


This bug was fixed in the package biosdevname - 0.4.1-0ubuntu7.1

---------------
biosdevname (0.4.1-0ubuntu7.1) vivid; urgency=medium

  * Added upstream Mellanox fixes to biosdevname per their request: (LP: #1455871)
      + d/p/Stop-reading-VPD-data-once-VPD-R-section-has-been-re.patch
      + d/p/Scan-for-devid-for-Mellanox-cards.patch
      + d/p/Add-port-structure-to-PCI-device-handle-multiple-por.patch
      + d/p/Add-port-code-for-Mellanox-driver.patch
      + d/p/Add-dev_port-attribute-for-new-Mellanox-driver.patch

 -- Rafael David Tinoco (Inaddy) <inaddy at ubuntu.com>  Tue, 01 Sep 2015
11:53:11 -0500

** Changed in: biosdevname (Ubuntu Vivid)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to biosdevname in Ubuntu.
https://bugs.launchpad.net/bugs/1455871

Title:
  biosdevname isn't giving interface names as expected

Status in One Hundred Papercuts:
  Confirmed
Status in biosdevname package in Ubuntu:
  Fix Released
Status in biosdevname source package in Trusty:
  Fix Released
Status in biosdevname source package in Vivid:
  Fix Released

Bug description:
  [Impact]

  * Dual port Mellanox HBAs have the second port's name misconfigured

  [Test Case]

  * "biosdevname -d" on a dual port Mellanox HBA machine

  [Regression Potential]

  * based on upstream commits/fixes for Mellanox
  * already tested by Mellanox and 2 other users

  [Other Info]

  Original Bug Description:

  We see an issue with the biosdevname package that comes with ubuntu
  14.04.2 package version 0.4.1-0ubuntu6.1.

  There is two issue that we see with Mellanox Card that include two ports:
  1- Both ports aren't given interface names with format of "p<num>p<num> (e.g. p514p1) as expected.
  2- Second port isn't given "BIOS device" at all.

  After update the biosdevname to version 0.6.2 we don't see the issue (
  please see below the output of the biosdevname before and after the
  update).

  Could please update the version of the biosdevname package to fix this
  issue.

  Output from "biosdevname -d" for biosdevname 0.4.1-0ubuntu6.1, "BIOS
  device" and "Kernel name" aren't the same.

  BIOS device: p514p1
  Kernel name: eth1
  Permanent MAC: 00:02:C9:2F:DD:20
  Assigned MAC : 00:02:C9:2F:DD:20
  ifIndex: 6
  Driver: mlx4_en
  Driver version: 2.2-1 (Feb 2014)
  Firmware version: 2.33.5100
  Bus Info: 0000:02:00.0
  PCI name      : 0000:02:00.0
  PCI Slot      : 514
  SMBIOS Label: RSC-R1UW-2E16 SLOT2 PCI-E X16
  Index in slot: 1

  BIOS device:                       <------ no name
  Kernel name: eth2
  Permanent MAC: 00:02:C9:2F:DD:21
  Assigned MAC : 00:02:C9:2F:DD:21
  ifIndex: 7
  Driver: mlx4_en
  Driver version: 2.2-1 (Feb 2014)
  Firmware version: 2.33.5100
  Bus Info: 0000:02:00.0

  Output from "biosdevname -d" for biosdevname 0.6.2, both "BIOS device"
  and "kernel name" as expected.

  BIOS device: p514p1
  Kernel name: p514p1
  Permanent MAC: 00:02:C9:2F:DD:20
  Assigned MAC : 00:02:C9:2F:DD:20
  ifIndex: 6
  Driver: mlx4_en
  Driver version: 2.2-1 (Feb 2014)
  Firmware version: 2.33.5100
  Bus Info: 0000:02:00.0
  PCI name      : 0000:02:00.0
  PCI Slot      : 514
  SMBIOS Label: RSC-R1UW-2E16 SLOT2 PCI-E X16
  Index in slot: 1

  BIOS device: p514p2
  Kernel name: p514p2
  Permanent MAC: 00:02:C9:2F:DD:21
  Assigned MAC : 00:02:C9:2F:DD:21
  ifIndex: 7
  Driver: mlx4_en
  Driver version: 2.2-1 (Feb 2014)
  Firmware version: 2.33.5100
  Bus Info: 0000:02:00.0
  PCI name      : 0000:02:00.0
  PCI Slot      : 514
  SMBIOS Label: RSC-R1UW-2E16 SLOT2 PCI-E X16
  Index in slot: 1

  lsb_release -rd output:
  Description:	Ubuntu 14.04.2 LTS
  Release:	14.04

  apt-cache policy biosdevname output:
  biosdevname:
    Installed: 0.4.1-0ubuntu6.1
    Candidate: 0.4.1-0ubuntu6.1
    Version table:
   *** 0.4.1-0ubuntu6.1 0
          500 http://webrepo/ubuntu-mirror/ trusty-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       0.4.1-0ubuntu6 0
          500 http://webrepo/ubuntu-mirror/ trusty/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1455871/+subscriptions



More information about the foundations-bugs mailing list