linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* eth0 in dmesg became eth1 from kernel
@ 2006-10-06  6:13 Aras Vaichas
  2006-10-06 12:47 ` Martin Hicks
  0 siblings, 1 reply; 2+ messages in thread
From: Aras Vaichas @ 2006-10-06  6:13 UTC (permalink / raw)
  To: linux-hotplug

Hello,

I'm working on a Linux live filesystem CD and I've come across a very strange
problem. My system is based on a Debian system with a custom 2.6.17 kernel.

dmesg reported the SKY2 network adapter as eth0, but it became eth1 in
/sys/class/net. /sys/class/net doesn't show any eth0 whatsoever.

The laptop I was using also had a firewire adapter, but I'm not loading any
firewire modules at all. If I boot a Knoppix CD on this system, the ethernet
becomes eth0 and the firewire becomes eth1.

On my live filesystem, if I run udevmonitor followed by udevtrigger, I see that
the kernel is sending a UEVENT for eth1 only - even though dmesg say that the
only network device is eth0.

Why is this happening? Is there anything I can do about this in udev?

I can probably handle this with iftab and ifrename, but I'd like to know if
there is a udev way.

regards,

Aras Vaichas


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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] 2+ messages in thread

* Re: eth0 in dmesg became eth1 from kernel
  2006-10-06  6:13 eth0 in dmesg became eth1 from kernel Aras Vaichas
@ 2006-10-06 12:47 ` Martin Hicks
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Hicks @ 2006-10-06 12:47 UTC (permalink / raw)
  To: linux-hotplug


[-- Attachment #1.1: Type: text/plain, Size: 459 bytes --]


On Fri, Oct 06, 2006 at 04:13:04PM +1000, Aras Vaichas wrote:
> Hello,
> 
> I'm working on a Linux live filesystem CD and I've come across a very strange
> problem. My system is based on a Debian system with a custom 2.6.17 kernel.
> 

Debian keeps track of MAC addresses and uses udev to keep the names
persistent.  Take a look at:

/etc/udev/rules.d/z25_persistent-net.rules

mh

-- 
Martin Hicks || mort@bork.org || PGP/GnuPG: 0x4C7F2BEE

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 348 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 226 bytes --]

_______________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2006-10-06 12:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-06  6:13 eth0 in dmesg became eth1 from kernel Aras Vaichas
2006-10-06 12:47 ` Martin Hicks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).