[Bug 1455871] Re: biosdevname isn't giving interface names as expected
Rafael David Tinoco
rafael.tinoco at canonical.com
Tue Jun 23 20:30:43 UTC 2015
Note that, differently from what was request in the BUG description, I
can't back port newer version to LTS Ubuntu Versions. I have to find
commits that were responsible for fixing erratic behaviour and make sure
all versions are fixed and, possibly, work together with the core team
to upstream version for Willy (Ubuntu development version nowadays).
Could you please provide:
- Server Type
- HBA Type
- Kernel Version
I could NOT reproduce this behaviour in a Proliant server with "mlx4_en:
Mellanox ConnectX HCA Ethernet driver v2.2-1 (Feb 2014)". So I'll rely
on feedbacks in this case for proposing the SRU.
For now I have back-ported the following upstream commits:
commit 47da4e4e399c7455b282e3dae03de28519dcb166
Author: Jordan Hargrave <Jordan_Hargrave at dell.com>
Date: Tue Sep 23 09:51:10 2014 -0500
Add dev_port attribute for new Mellanox driver
commit c140ce659a204d67e4cc61d2191443123f7dd970
Author: Jordan Hargrave <Jordan_Hargrave at dell.com>
Date: Mon Mar 3 11:06:44 2014 -0600
Add port code for Mellanox driver
commit f3e6790b7986a4f9dd4a407901717ef8de3cbbc6
Author: Jordan Hargrave <Jordan_Hargrave at dell.com>
Date: Tue Feb 25 16:35:40 2014 -0600
Add port structure to PCI device, handle multiple ports per BDF
(Mellanox)
commit cee3f7b101fb22540e2f92067a5c49d3f817e441
Author: Jordan Hargrave <Jordan_Hargrave at dell.com>
Date: Tue Feb 25 15:51:50 2014 -0600
Scan for devid for Mellanox cards
commit 70d82c269a335cf8f781f347b3708283d63ce213
Author: Jordan Hargrave <Jordan_Hargrave at dell.com>
Date: Wed Oct 16 15:12:06 2013 -0500
Stop reading VPD data once VPD-R section has been read
Mellanox cards were taking too long to read entire VPD
AND Will inform a PPA to be tested soon.
Thank you
Rafael Tinoco
--
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 One Hundred Papercuts:
Confirmed
Status in biosdevname package in Ubuntu:
Confirmed
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/hundredpapercuts/+bug/1455871/+subscriptions
More information about the foundations-bugs
mailing list