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

Talat Batheesh 1535045 at bugs.launchpad.net
Thu Feb 18 07:37:16 UTC 2016


Hi,

unfortunately, also with Kernel 4.4 xenial this issue not fixed.

# ethtool  -i enp17s0f1
driver: mlx5_core
version: 3.0-1 (January 2015)
firmware-version: 14.14.1100
expansion-rom-version:
bus-info: 0000:11:00.1
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

# biosdevname  -i enp17s0f1
<No output>

# dpkg --list |grep biosdevname
ii  biosdevname                       0.4.1-0ubuntu9                      amd64        apply BIOS-given names to network devices

With ConnectX3 is working properly.

David, Thank you for pointing to fix, you are right, and this is a formal patch.
use this link 
http://linux.dell.com/cgi-bin/cgit.cgi/biosdevname.git/commit/?id=22aa46663000304e5b9542273ec67d1b988ae3da

Thanks,
Talat 

** Attachment added: "patch"
   https://bugs.launchpad.net/ubuntu/+source/biosdevname/+bug/1535045/+attachment/4574159/+files/biosdevname-22aa46663000304e5b9542273ec67d1b988ae3da.zip

-- 
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:
  Biosdevname does not provide interface naming information for ConnecX4
  Devices

Status in biosdevname package in Ubuntu:
  Incomplete

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/biosdevname/+bug/1535045/+subscriptions



More information about the foundations-bugs mailing list