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

Kamal Heib kamalh at mellanox.com
Sun May 17 08:53:33 UTC 2015


Public bug reported:

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

** Affects: biosdevname (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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 biosdevname package in Ubuntu:
  New

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/ubuntu/+source/biosdevname/+bug/1455871/+subscriptions



More information about the foundations-bugs mailing list