Bug 673565 - Install to dual-node HX5 results is inconsistent ethernet device names
Summary: Install to dual-node HX5 results is inconsistent ethernet device names
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: biosdevname
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matt Domsch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-28 18:20 UTC by Roger Mach
Modified: 2011-01-29 00:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-28 22:00:05 UTC
Type: ---


Attachments (Terms of Use)
Anaconda trace from exception at end of install (739.90 KB, application/octet-stream)
2011-01-28 18:20 UTC, Roger Mach
no flags Details
output of biosdevname -d, dmidecode, and lspci -tv (43.16 KB, text/plain)
2011-01-28 18:22 UTC, Roger Mach
no flags Details

Description Roger Mach 2011-01-28 18:20:01 UTC
Created attachment 475843 [details]
Anaconda trace from exception at end of install

Description of problem:
After installing rawhide onto a dual-node IBM HX5 during test day on 27 Jan 2011, the network interfaces on the first node were named em1 and em2 while the interfaces on the second node were named eth2 and eth3.

Version-Release number of selected component (if applicable):
biosdevname-0.3.4-1.fc15.x86_64

How reproducible:
Easily

Steps to Reproduce:
1.Boot Fedora 14 DVD
2.Deselect fedora repository and add rawhide repository
3.Complete installation and reboot
  
Actual results:
Network interfaces named em1, em2, eth2, eth3

Expected results:
Network interfaces named em1, em2, em3, em4

Additional info:
I did encounter the issue described in bugzilla 671981 at the end of the install, however as suggested in that bugzilla I was able to reboot and the system was usable.  I'm attaching the anaconda trace just in case it's relevant, and will also attach biosdevname -d, dmidecode, and lspci-tv output.

Comment 1 Roger Mach 2011-01-28 18:22:41 UTC
Created attachment 475844 [details]
output of biosdevname -d, dmidecode, and lspci -tv

Comment 2 Matt Domsch 2011-01-28 22:00:05 UTC
Roger, thanks much for the report.

Your two add-in NICs are seen by Linux on PCI 0000:86:00.0 and  0000:86:00.1.

SMBIOS type 9 fields describe slots at:
 Bus Address: 0000:04:00.0
 Bus Address: 0000:02:00.0
 Bus Address: 0000:08:00.0
 Bus Address: 0000:84:00.0
 Bus Address: 0000:82:00.0
 Bus Address: 0000:88:00.0

but none of these fields includes an Physical Slot number (starting at offset 0x09) and none of these match the bus 86 even if they did have a slot number.  

So,
1) please have your BIOS populate the Physical Slot field in type 9 for all slots
2) please have your BIOS include a type 9 entry for bus 86

Notwithstanding those changes, biosdevname is working as designed.

Thanks,
Matt

Comment 3 Matt Domsch 2011-01-28 22:03:07 UTC
As the interfaces are on the second node, but are also embedded (not in a slot - sorry I misread that), I need to adjust my recommendation for step 2) above to include a type 41 entry for each of the devices on bus 86.

Comment 4 Matt Domsch 2011-01-28 22:08:14 UTC
Two more problems...  The entries are present, but have the wrong bus numbers (bus 81 shown instead of 86).  However, because the Type Instances are the same value (1) for embedded NIC 1 on the first node and on the second node, if they simply fix the bus number, then biosdevname will see the duplicate type instance numbers, and, rather than guess which one is 1 and which should really be 3, will refuse to assign a name to either.

When they fix the bus numbers, they should also assign type instance values of 3 and 4 to the NICs on the second node.



Handle 0x0065, DMI type 41, 11 bytes
Onboard Device
        Reference Designation: Ethernet 1 BroadCom 5709C Ethernet Controller
        Type: Ethernet
        Status: Enabled
        Type Instance: 1
        Bus Address: 0000:01:00.0

Handle 0x0066, DMI type 41, 11 bytes
Onboard Device
        Reference Designation: Ethernet 2 BroadCom 5709C Ethernet Controller
        Type: Ethernet
        Status: Enabled
        Type Instance: 2
        Bus Address: 0000:01:00.1


Handle 0x0068, DMI type 41, 11 bytes
Onboard Device
        Reference Designation: Ethernet 1 BroadCom 5709C Ethernet Controller
        Type: Ethernet
        Status: Enabled
        Type Instance: 1
        Bus Address: 0000:81:00.0

Handle 0x0069, DMI type 41, 11 bytes
Onboard Device
        Reference Designation: Ethernet 2 BroadCom 5709C Ethernet Controller
        Type: Ethernet
        Status: Enabled
        Type Instance: 2
        Bus Address: 0000:81:00.1


Note You need to log in before you can comment on or make changes to this bug.