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

Rafael David Tinoco rafael.tinoco at canonical.com
Fri Jun 26 13:45:00 UTC 2015


Subscribing Sponsors and Asking for Sponsorship

** Description changed:

+ [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.
+ 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.
+ 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
+   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

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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:
  Confirmed

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 Ubuntu-sponsors mailing list