← Back to team overview

kernel-packages team mailing list archive

[Bug 1535045] [NEW] Biosdevname does not provide interface naming information for ConnecX4 Devices

 

Public bug reported:

Hi,

Biosdevname is enabled by default for ubuntu14.04.4, 
We see that the ConnectX3 interface name is pXpX and ConnectX4 interfaces is ethX
when biosdevname is enabled we should see all the interfaces like pxpX

As for biosdevname user manual :
when we ran #biosdevname -i <interface name> , it should return the interface biosdevname
the command exit code should return 0 for success 
see it in the link :http://linux.die.net/man/1/biosdevname.

When we run biosdevname on ConnectX4 interface we get return status 2.

could you please add support for ConnectX4 devices ?

Exit Codes

Returns 0 on success, with BIOS-suggested name printed to stdout.
Returns 1 on provided device name lookup failure.
Returns 2 if system BIOS does not provide naming information. biosdevname requires system BIOS to provide naming information, either via SMBIOS or sysfs files.
Returns 3 if not run as root but requires root privileges.
Returns 4 if running in a virtual machine.


# dpkg --list |grep biosdevname
ii  biosdevname                        0.4.1-0ubuntu6.3                 amd64        apply BIOS-given names to network devices
# uname -r
4.2.0-24-generic

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:        14.04
Codename:       trusty

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

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

Title:
  Biosdevname does not provide interface naming information for ConnecX4
  Devices

Status in linux package in Ubuntu:
  New

Bug description:
  Hi,

  Biosdevname is enabled by default for ubuntu14.04.4, 
  We see that the ConnectX3 interface name is pXpX and ConnectX4 interfaces is ethX
  when biosdevname is enabled we should see all the interfaces like pxpX

  As for biosdevname user manual :
  when we ran #biosdevname -i <interface name> , it should return the interface biosdevname
  the command exit code should return 0 for success 
  see it in the link :http://linux.die.net/man/1/biosdevname.

  When we run biosdevname on ConnectX4 interface we get return status 2.

  could you please add support for ConnectX4 devices ?

  Exit Codes

  Returns 0 on success, with BIOS-suggested name printed to stdout.
  Returns 1 on provided device name lookup failure.
  Returns 2 if system BIOS does not provide naming information. biosdevname requires system BIOS to provide naming information, either via SMBIOS or sysfs files.
  Returns 3 if not run as root but requires root privileges.
  Returns 4 if running in a virtual machine.

  
  # dpkg --list |grep biosdevname
  ii  biosdevname                        0.4.1-0ubuntu6.3                 amd64        apply BIOS-given names to network devices
  # uname -r
  4.2.0-24-generic

  lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 14.04.3 LTS
  Release:        14.04
  Codename:       trusty

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


Follow ups