* Re: ANNOUNCE: bios_dev_name 0.2, now with more SMBIOS goodness
2007-07-28 4:03 ANNOUNCE: bios_dev_name 0.2, now with more SMBIOS goodness Matt Domsch
@ 2007-08-06 14:37 ` Matt Domsch
2007-08-14 2:57 ` Matt Domsch
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Matt Domsch @ 2007-08-06 14:37 UTC (permalink / raw)
To: linux-hotplug
On Fri, Jul 27, 2007 at 11:03:23PM -0500, Matt Domsch wrote:
> You may recall a problem several hardware manufacturers faced, where
> the BIOS-given name for an ethernet device (e.g. "Gb1") didn't map to
> the expected and obvious Linux device name (e.g. eth0), but instead
> mapped to another name (e.g. eth1). This was highly confusing to
> system admins with such hardware.
[snip]
> so now, option 3:
>
> 3) bios_dev_name (http://linux.dell.com/files/bios_dev_name) -
> intended to be a udev helper. For example, something like:
>
> KERNEL="eth*", ACTION="add", PROGRAM="/usr/sbin/bios_dev_name -i %k", NAME="%c"
>
> which, given the kernel's name for a device, retreives the
> BIOS-expected name, and sets it to that. Alternately, it can be
> integrated into SuSE's rename_netiface script as demonstrated in the
> patch included in the release. As a udev helper, it doesn't need
> config files to accomplish its work.
Any thoughts on this?
-Matt
--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: ANNOUNCE: bios_dev_name 0.2, now with more SMBIOS goodness
2007-07-28 4:03 ANNOUNCE: bios_dev_name 0.2, now with more SMBIOS goodness Matt Domsch
2007-08-06 14:37 ` Matt Domsch
@ 2007-08-14 2:57 ` Matt Domsch
2007-08-14 7:17 ` Greg KH
2007-08-14 8:53 ` Kay Sievers
3 siblings, 0 replies; 5+ messages in thread
From: Matt Domsch @ 2007-08-14 2:57 UTC (permalink / raw)
To: linux-hotplug
On Mon, Aug 06, 2007 at 09:37:08AM -0500, Matt Domsch wrote:
> On Fri, Jul 27, 2007 at 11:03:23PM -0500, Matt Domsch wrote:
> > You may recall a problem several hardware manufacturers faced, where
> > the BIOS-given name for an ethernet device (e.g. "Gb1") didn't map to
> > the expected and obvious Linux device name (e.g. eth0), but instead
> > mapped to another name (e.g. eth1). This was highly confusing to
> > system admins with such hardware.
>
> [snip]
>
> > so now, option 3:
> >
> > 3) bios_dev_name (http://linux.dell.com/files/bios_dev_name) -
> > intended to be a udev helper. For example, something like:
> >
> > KERNEL="eth*", ACTION="add", PROGRAM="/usr/sbin/bios_dev_name -i %k", NAME="%c"
> >
> > which, given the kernel's name for a device, retreives the
> > BIOS-expected name, and sets it to that. Alternately, it can be
> > integrated into SuSE's rename_netiface script as demonstrated in the
> > patch included in the release. As a udev helper, it doesn't need
> > config files to accomplish its work.
I'd appreciate any feedback people have on this. I've gotten one
report of it working for someone with both Dell and non-Dell hardware
on Debian. I think it solves a real problem, cleanly.
Thanks,
Matt
--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ANNOUNCE: bios_dev_name 0.2, now with more SMBIOS goodness
2007-07-28 4:03 ANNOUNCE: bios_dev_name 0.2, now with more SMBIOS goodness Matt Domsch
2007-08-06 14:37 ` Matt Domsch
2007-08-14 2:57 ` Matt Domsch
@ 2007-08-14 7:17 ` Greg KH
2007-08-14 8:53 ` Kay Sievers
3 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2007-08-14 7:17 UTC (permalink / raw)
To: linux-hotplug
On Mon, Aug 13, 2007 at 09:57:53PM -0500, Matt Domsch wrote:
> On Mon, Aug 06, 2007 at 09:37:08AM -0500, Matt Domsch wrote:
> > On Fri, Jul 27, 2007 at 11:03:23PM -0500, Matt Domsch wrote:
> > > You may recall a problem several hardware manufacturers faced, where
> > > the BIOS-given name for an ethernet device (e.g. "Gb1") didn't map to
> > > the expected and obvious Linux device name (e.g. eth0), but instead
> > > mapped to another name (e.g. eth1). This was highly confusing to
> > > system admins with such hardware.
> >
> > [snip]
> >
> > > so now, option 3:
> > >
> > > 3) bios_dev_name (http://linux.dell.com/files/bios_dev_name) -
> > > intended to be a udev helper. For example, something like:
> > >
> > > KERNEL="eth*", ACTION="add", PROGRAM="/usr/sbin/bios_dev_name -i %k", NAME="%c"
> > >
> > > which, given the kernel's name for a device, retreives the
> > > BIOS-expected name, and sets it to that. Alternately, it can be
> > > integrated into SuSE's rename_netiface script as demonstrated in the
> > > patch included in the release. As a udev helper, it doesn't need
> > > config files to accomplish its work.
>
> I'd appreciate any feedback people have on this. I've gotten one
> report of it working for someone with both Dell and non-Dell hardware
> on Debian. I think it solves a real problem, cleanly.
I have no objection to this solution, but I'm a little unclear as to
what you want us to do about this? Do you want to add this to the udev
tree? If so, send a patch.
But you asked that it go into distros, and the developers here, while
some do work for distros, the proper way to achieve this is to probably
go through the different company "add a feature" request proceedure.
thanks,
greg k-h
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ANNOUNCE: bios_dev_name 0.2, now with more SMBIOS goodness
2007-07-28 4:03 ANNOUNCE: bios_dev_name 0.2, now with more SMBIOS goodness Matt Domsch
` (2 preceding siblings ...)
2007-08-14 7:17 ` Greg KH
@ 2007-08-14 8:53 ` Kay Sievers
3 siblings, 0 replies; 5+ messages in thread
From: Kay Sievers @ 2007-08-14 8:53 UTC (permalink / raw)
To: linux-hotplug
On 8/14/07, Greg KH <greg@kroah.com> wrote:
> On Mon, Aug 13, 2007 at 09:57:53PM -0500, Matt Domsch wrote:
> > On Mon, Aug 06, 2007 at 09:37:08AM -0500, Matt Domsch wrote:
> > > On Fri, Jul 27, 2007 at 11:03:23PM -0500, Matt Domsch wrote:
> > > > You may recall a problem several hardware manufacturers faced, where
> > > > the BIOS-given name for an ethernet device (e.g. "Gb1") didn't map to
> > > > the expected and obvious Linux device name (e.g. eth0), but instead
> > > > mapped to another name (e.g. eth1). This was highly confusing to
> > > > system admins with such hardware.
> > > > so now, option 3:
> > > >
> > > > 3) bios_dev_name (http://linux.dell.com/files/bios_dev_name) -
> > > > intended to be a udev helper. For example, something like:
> > > >
> > > > KERNEL="eth*", ACTION="add", PROGRAM="/usr/sbin/bios_dev_name -i %k", NAME="%c"
> > > >
> > > > which, given the kernel's name for a device, retreives the
> > > > BIOS-expected name, and sets it to that. Alternately, it can be
> > > > integrated into SuSE's rename_netiface script as demonstrated in the
> > > > patch included in the release. As a udev helper, it doesn't need
> > > > config files to accomplish its work.
> >
> > I'd appreciate any feedback people have on this. I've gotten one
> > report of it working for someone with both Dell and non-Dell hardware
> > on Debian. I think it solves a real problem, cleanly.
>
> I have no objection to this solution, but I'm a little unclear as to
> what you want us to do about this? Do you want to add this to the udev
> tree?
If we can avoid, we do not like to run another program for every
event, just for the case some bios would like to suggest a name. Is
there really a need to run that again and again, every time at bootup
and when a new network interface is registered?
It is all about built-in interfaces that never change, right? So this
could run once at installation time, or once when the persistent
interfaces file is created, and never after that. Is that right?
> If so, send a patch.
I think it belongs to the distro installer, not in udev. Oh, and the
tarball it's 1.5 the size of udev itself. :) It should go in its own
package.
Thanks,
Kay
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 5+ messages in thread