[Bug 1324558] Re: [SRU] biosdevname returns identical names for two different devices.
Justin Shepherd
jshepher at rackspace.com
Tue Sep 2 21:47:07 UTC 2014
I don't believe this bug has been fixed. I am running on 14.04.1 with
the latest biosdevname package and am still seeing the issue:
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
# dpkg -l | grep biosdevname
ii biosdevname 0.4.1-0ubuntu6.1 amd64 apply BIOS-given names to network devices
# lshw -businfo -C network
Bus info Device Class Description
=======================================================
pci at 0000:03:00.0 p1p1 network 82599ES 10-Gigabit SFI/SFP+ Network Connection
pci at 0000:03:00.1 p1p2 network 82599ES 10-Gigabit SFI/SFP+ Network Connection
pci at 0000:08:00.0 rename9 network MT27500 Family [ConnectX-3]
# ifconfig -a | grep HWaddr
p1p1 Link encap:Ethernet HWaddr 90:e2:ba:2f:7c:68
p1p2 Link encap:Ethernet HWaddr 90:e2:ba:2f:7c:69
p9p1 Link encap:Ethernet HWaddr 00:02:c9:d3:3b:5e
rename9 Link encap:Ethernet HWaddr 00:02:c9:d3:3b:5f
# biosdevname -i p9p1
# biosdevname -i rename9
p9p1
--
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/1324558
Title:
[SRU] biosdevname returns identical names for two different devices.
Status in “biosdevname” package in Ubuntu:
Fix Released
Status in “biosdevname” source package in Saucy:
Fix Committed
Status in “biosdevname” source package in Trusty:
Fix Released
Bug description:
SRU justification :
The 'addslot' function can return the same value for two or more
interfaces (same dev->index_in_slot), causing the interfaces on a
given PCI slot get same port number. This could trigger a rename to a
different name space (such as rename*) presented on LP: #1284043.
Example problematic behavior:
# biosdevname -i em1
em1
# biosdevname -i em2
em3
# biosdevname -i em3
em4
# biosdevname -i rename3
em2
Another user points:
On first reboot the names are different. eth0 renamed to p4p1 and eth1 renamed to p4p2
then on next reboot eth0 renamed to p4p1 and eth1 renamed to rename3
Impact :
Without this SRU users will experience erroneous output from
biosdevname ( renamed interfaces) as noticed on LP: #1293633 and LP:
#1284043
Fix :
Apply fix from upstream project.
Origin: upstream, http://linux.dell.com/cgi-bin/gitweb/gitweb.cgi?p=biosdevname.git;a=commit;h=0bc6ce6d8da61153e7bfd1c3444ab06c0c83d0af
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=782145
Test Case :
1) Have one or more PCI ethernet cards attached
2) Have one or more onboard ethernet cards available.
3) Run biosdevname -d and notice the renamed interfaces.
If you get some rename* interfaces this bug isn't fixed, if you can
see the correct bios hardware names associated with the interface,
it's fixed.
Regression :
None expected
Description of the problem :
See justification
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/biosdevname/+bug/1324558/+subscriptions
More information about the foundations-bugs
mailing list