[Bug 676025] New: biosdevname returns 'pci6p1' for embedded network device
https://bugzilla.novell.com/show_bug.cgi?id=676025 https://bugzilla.novell.com/show_bug.cgi?id=676025#c0 Summary: biosdevname returns 'pci6p1' for embedded network device Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: per@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 As describe here: https://features.opensuse.org/311364 Looks like biosdevname might need some work - I tried it on a system with one embedded NIC and a 4-port PCI NIC - the suggestion for eth0 (the embedded NIC) was 'pci6p1'. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=676025
https://bugzilla.novell.com/show_bug.cgi?id=676025#c1
--- Comment #1 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=676025
https://bugzilla.novell.com/show_bug.cgi?id=676025#c2
--- Comment #2 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=676025
https://bugzilla.novell.com/show_bug.cgi?id=676025#c3
--- Comment #3 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=676025
https://bugzilla.novell.com/show_bug.cgi?id=676025#c4
--- Comment #4 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=676025
https://bugzilla.novell.com/show_bug.cgi?id=676025#c5
Narendra K -
https://bugzilla.novell.com/show_bug.cgi?id=676025
https://bugzilla.novell.com/show_bug.cgi?id=676025#c6
--- Comment #6 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=676025
https://bugzilla.novell.com/show_bug.cgi?id=676025#c7
--- Comment #7 from Per Jessen
I understand that biosdevname v0.3.7 is being used. Please confirm.
Confirmed.
Biosdevname uses SMBIOS type 41 to name onboard interfaces. It looks like the system does not have type 41 defined from looking at the dmidecode output attached. If type 41 is not available, it falls back to PCI IRQ routing table.
The attached output looks like this -
PCI Interrupt Routing 1.0 present. Router ID: 00:1f.0 Exclusive IRQs: None Compatible Router: 8086:122e Slot Entry 1: ID 00:00, on-board Slot Entry 2: ID 00:01, on-board Slot Entry 3: ID 01:00, slot number 4 Slot Entry 4: ID 00:02, on-board Slot Entry 5: ID 00:1b, on-board Slot Entry 6: ID 00:1c, on-board Slot Entry 7: ID 02:00, slot number 6 ------> note this.
It seems to suggest that device 02:00.0 (Intel 82573E) is on slot 6. So biosdevname thinks it is on slot 6 and names it pci6p1.
Yes, I understand that, I just wanted to point out that that interface IS embedded, but wasn't named as such. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=676025
https://bugzilla.novell.com/show_bug.cgi?id=676025#c8
--- Comment #8 from Matt Domsch
Just a quick update - some, maybe many things depend on 'eth' indicating a network device. See e.g. bug 677251.
FWIW, there is a tracking bug in the Fedora bugzilla for applications whose source code assumes particular ethernet device naming conventions. Hopefully these will get fixed upstream over time. https://bugzilla.redhat.com/showdependencytree.cgi?id=682334&hide_resolved=1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=676025
https://bugzilla.novell.com/show_bug.cgi?id=676025#c10
Torsten Duwe
https://bugzilla.novell.com/show_bug.cgi?id=676025
https://bugzilla.novell.com/show_bug.cgi?id=676025#c11
Per Jessen
Can you elaborate whether this is a code issue or a BIOS problem?
Not really - I can only offer an opinion, and say it's probably both. The BIOS probably doesn't deliver quite the right information, and biosdevname fails to deal with a slightly misbehaving BIOS. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=676025
https://bugzilla.novell.com/show_bug.cgi?id=676025#c12
--- Comment #12 from Narendra K -
Can you elaborate whether this is a code issue or a BIOS problem?
The incorrect name is due to wrong PIRQ table entry which says the device is add-in. This is a BIOS issue (as mentioned in comment #5) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=676025
https://bugzilla.novell.com/show_bug.cgi?id=676025#c13
Torsten Duwe
https://bugzilla.novell.com/show_bug.cgi?id=676025
https://bugzilla.novell.com/show_bug.cgi?id=676025#c14
--- Comment #14 from Per Jessen
participants (1)
-
bugzilla_noreply@novell.com