On mercoledì 25 aprile 2007, Antoine Martin wrote:
> Jeff Dike wrote:
> > On Sun, Apr 22, 2007 at 07:43:21PM +0100, Antoine Martin wrote:
> >> Using the exact same kernel config with 2.6.19.x works but not with
> >> 2.6.20.x
> >>
> >> # ifconfig eth1 0.0.0.0 promisc up
> >> SIOCSIFADDR: No such device
> >> eth1: unknown interface: No such device
> >> eth1: unknown interface: No such device
> >> eth1: unknown interface: No such device
> >
> > Works here - what do ifconfig -a and dmesg say?
>
> Ah, DOH!
> Could it be that the randomization of the mac address made it appear as
> eth4 and not eth1... (why eth4 and not eth3 or eth2, beats me)
> Until now all kernels made it appear as eth1.

Hmm... Ubuntu renames interfaces based on their MAC address, which are listed 
in /etc/iftab. Dunno about other distributions.

If there are so many interfaces and they were just reordered, this could be 
caused by a (non-existant) change in link order. Or (I don't know how) it 
could derive some way from the fact that interfaces are initialized later 
(instead of __initcall, late_initcall is now used).
-- 
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to