Created attachment 469325 [details] lspci -v output Description of problem: I have couple Dell Optiplexes GX620 with latest BIOS. They have one network card embedded in motherboard (tg3 driver) and I put additional Intel e100 PCI card in them. Both cards are treated as emX type. Current git version os b-d-n shows: # biosdevname -d BIOS device: em0 Kernel name: eth0 Permanant MAC: 00:18:8B:15:BE:85 Assigned MAC : 00:18:8B:15:BE:85 Driver: tg3 Driver version: 3.113 Firmware version: 5751-v3.44a Bus Info: 0000:02:00.0 PCI name : 0000:02:00.0 PCI Slot : embedded Embededed Index: 0 BIOS device: em1 Kernel name: eth2 Permanant MAC: 00:02:B3:4B:4D:96 Assigned MAC : 00:02:B3:4B:4D:96 Driver: e100 Driver version: 3.5.24-k2-NAPI Firmware version: N/A Bus Info: 0000:04:00.0 PCI name : 0000:04:00.0 PCI Slot : embedded Embededed Index: 1 BIOS device: Kernel name: eth1 Assigned MAC : FA:0F:72:64:93:55 Driver: macvlan Driver version: 0.1 Firmware version: Bus Info: (please ignore eth1, it was created for some other stuff using "ip link add link eth0 type macvlan") pirq output: PCI IRQ Routing Table Signature: $PIR Version : 100 Size : f0h Bus : 0 DevFn : f8 Exclusive IRQs : 0 Compatable Router: 27b08086 Slot 0: PCI 0:1. INTA link 60 irq cef8 B link 61 irq cef8 C link 62 irq cef8 D link 63 irq cef8 Slot 0: PCI 0:2. INTA link 60 irq cef8 B link 61 irq cef8 C link 62 irq cef8 D link 63 irq cef8 Slot 0: PCI 0:1c. INTA link 60 irq cef8 B link 61 irq cef8 C link 62 irq cef8 D link 63 irq cef8 Slot 0: PCI 0:1d. INTA link 69 irq cef8 B link 6a irq cef8 C link 62 irq cef8 D link 6b irq cef8 Slot 0: PCI 0:1e. INTA link 6b irq cef8 B link 61 irq cef8 C link 0 irq 0 D link 0 irq 0 Slot 0: PCI 0:1f. INTA link 60 irq cef8 B link 61 irq cef8 C link 68 irq cef8 D link 0 irq 0 Slot 10: PCI 1:0. INTA link 60 irq cef8 B link 61 irq cef8 C link 62 irq cef8 D link 63 irq cef8 Slot 0: PCI 2:0. INTA link 60 irq cef8 B link 0 irq 0 C link 0 irq 0 D link 0 irq 0 Slot 5: PCI 3:0. INTA link 61 irq cef8 B link 62 irq cef8 C link 63 irq cef8 D link 60 irq cef8 Slot 1: PCI 4:1. INTA link 61 irq cef8 B link 62 irq cef8 C link 63 irq cef8 D link 60 irq cef8 Slot 2: PCI 4:0. INTA link 60 irq cef8 B link 61 irq cef8 C link 62 irq cef8 D link 63 irq cef8 Slot 3: PCI 4:2. INTA link 62 irq cef8 B link 63 irq cef8 C link 60 irq cef8 D link 61 irq cef8 Slot 4: PCI 4:3. INTA link 63 irq cef8 B link 60 irq cef8 C link 61 irq cef8 D link 62 irq cef8 Hardware enumeration on PCs still is tricky ;)
Created attachment 469326 [details] dmidecode output
Created attachment 475987 [details] biosdevname-recursion.patch Tomasz, would you care to test upstream biosdevname source, plus this patch? git://linux.dell.com/biosdevname.git for the tree, plus this patch attached. Thanks, Matt
Matt, It seems that you already included this patch as d428719821e907d3c88de1d816a18bc2138cbc05. I can report that upstream biosdevname works correctly: # ./biosdevname -d BIOS device: em1 Kernel name: em1 Permanant MAC: 00:18:8B:15:C6:0B Assigned MAC : 00:18:8B:15:C6:0B Driver: tg3 Driver version: 3.115 Firmware version: 5751-v3.44a Bus Info: 0000:02:00.0 PCI name : 0000:02:00.0 PCI Slot : embedded Embededed Index: 1 BIOS device: pci3p1 ←←←← Kernel name: em2 Permanant MAC: 00:90:27:C5:10:92 Assigned MAC : 00:90:27:C5:10:92 Driver: e100 Driver version: 3.5.24-k2-NAPI Firmware version: N/A Bus Info: 0000:04:02.0 PCI name : 0000:04:02.0 PCI Slot : 3 Index in slot: 1
Patch in upstream http://linux.dell.com/cgi-bin/gitweb/gitweb.cgi?p=biosdevname.git;a=commit;h=d428719821e907d3c88de1d816a18bc2138cbc05
Matt -- Do we have a corresponding BZ for RHEL 6.1? We'll need one. Thanks!
(In reply to comment #5) > Matt -- Do we have a corresponding BZ for RHEL 6.1? We'll need one. Thanks! Already in rhel6.1 tree so not required.
Great, thanks Shyam!
biosdevname-0.3.7-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/biosdevname-0.3.7-1.fc15
biosdevname-0.3.7-1.fc15 has been pushed to the Fedora 15 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update biosdevname'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/biosdevname-0.3.7-1.fc15
biosdevname-0.3.7-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.