[SRU] Biosdevname does not provide interface naming information for ConnecX4 Devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
biosdevname (Ubuntu) |
Fix Released
|
Wishlist
|
Gianfranco Costamagna | ||
Xenial |
Triaged
|
Undecided
|
Unassigned | ||
Bionic |
Triaged
|
Undecided
|
Unassigned |
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://
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
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
affects: | linux (Ubuntu) → biosdevname (Ubuntu) |
Changed in biosdevname (Ubuntu): | |
assignee: | Brian Fromme (brianfromme) → Ubuntu Foundations Bugs (foundations-bugs) |
Changed in biosdevname (Ubuntu): | |
status: | Won't Fix → New |
Changed in biosdevname (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in biosdevname (Ubuntu Bionic): | |
status: | New → In Progress |
summary: |
- Biosdevname does not provide interface naming information for ConnecX4 - Devices + [SRU] Biosdevname does not provide interface naming information for + ConnecX4 Devices |
description: | updated |
tags: | added: rls-x-notfixing |
description: | updated |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1535045
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.