Mailinglist Archive: opensuse-bugs (8010 mails)

< Previous Next >
[Bug 243265] New: sysconfig extension to try using BIOS-provided ethernet device names if available
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 7 Feb 2007 12:52:07 -0700 (MST)
  • Message-id: <bug-243265-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=243265

Summary: sysconfig extension to try using BIOS-provided ethernet
device names if available
Product: openSUSE 10.3
Version: unspecified
Platform: All
OS/Version: SuSE Other
Status: NEW
Severity: Enhancement
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: matt_domsch@xxxxxxxx
QAContact: qa@xxxxxxx
CC: marc.ruehrschneck@xxxxxxxxxx, gregkh@xxxxxxxxxx,
wwlinuxengineering@xxxxxxxx
BugsThisDependsOn: 209107


+++ This bug was initially created as a copy of Bug #209107 +++

Cloned for openSuSE 10.3 Enhancement.

Background:
Dell PowerEdge 1950, 1955, 2900, and 2950 servers, with 2.6 kernels, enumerate
their onboard ethernet NICs "backwards" from what the BIOS presents. (i.e.
BIOS names devices NIC1 and NIC2; the kernel names those devices eth1 and eth0,
reverse of expectations). This is primarily due to way the motherboards are
physically routed, where in a depth-first search of the PCI tree, NIC2 is found
first, then NIC1; whereas in a breadth-first search of the PCI tree, NIC1 would
be found first. We also have reports of some HP and Sun systems behaving
similarly. This has been discussed on the linux-pci mailing list, where I
proposed a kernel patch to address this, which caused additional problems for
people with other systems.

SLES10 sysconfig has a nice method in udev + rename_netiface where it assigns
persistent names to devices after being discovered for the first time. I want
to hook into that initial discovery, and run an external program to query the
hardware for what names it would recommend for the network devices, and then
use those names. If the 30-net-persistent_names.rules file exists, that gets
used, otherwise it falls into this new path.

I'll have legal approval to release this external program, bios_dev_name, under
the GNU GPL v2 shortly, but wanted to start the conversation here. I'll upload
a patch to the /etc/sysconfig/network/config that adds a BIOS_DEV_NAME_POLICY
option where the user can specify one of several naming policies, and the patch
to /lib/udev/rename_netiface which calls bios_dev_name.


--
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, or are watching someone who is.

< Previous Next >