[Bug 1535045] Re: [SRU] Biosdevname does not provide interface naming information for ConnecX4 Devices

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Thu Jul 4 14:18:58 UTC 2019


Sorry, but I don't own that hardware, so unless somebody can help, I
prefer to not accept it.

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

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

Status in biosdevname package in Ubuntu:
  Fix Released
Status in biosdevname source package in Xenial:
  In Progress
Status in biosdevname source package in Bionic:
  In Progress

Bug description:
  [ Impact ]
  * People using ConnecX4 devices

  [ Regression Potential ]
  * really low, this is something that comes from upstream codebase and newer versions
  * that if statement was for connectX3 devices, because they needed special handling. With version 4, there is a custom PCI function associtated with 
  each port, so the hacky workaround has to be dropped.
  * the regression potential should be none, since the name is reserved, and the hack is now relegated only to the old version 3 and nothing upper

  [Other info ]
  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/biosdevname/+bug/1535045/+subscriptions



More information about the foundations-bugs mailing list