* 2.4.1 swaps hardware addresses for ethernet cards
@ 2001-02-13 6:59 al goldstein
2001-02-13 11:33 ` Andrew Morton
0 siblings, 1 reply; 3+ messages in thread
From: al goldstein @ 2001-02-13 6:59 UTC (permalink / raw)
To: kernel
I have 2 ether cards 59x (eth0) and 509 (eth1). I have been adding 509
at boot in lilo.conf. Using this same config in 2.4.1 results in
the hardware addresses for the cards to be swapped. If I remove 509 from
Lilo I get the same result. Suggestions would be appreciated
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.4.1 swaps hardware addresses for ethernet cards
2001-02-13 6:59 2.4.1 swaps hardware addresses for ethernet cards al goldstein
@ 2001-02-13 11:33 ` Andrew Morton
2001-02-13 19:26 ` al goldstein
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2001-02-13 11:33 UTC (permalink / raw)
To: al goldstein; +Cc: kernel
al goldstein wrote:
>
> I have 2 ether cards 59x (eth0) and 509 (eth1). I have been adding 509
> at boot in lilo.conf. Using this same config in 2.4.1 results in
> the hardware addresses for the cards to be swapped. If I remove 509 from
> Lilo I get the same result. Suggestions would be appreciated
If both drivers are statically linked into the kernel then
I guess this is entirely dependent upon the linkage order of
net/core/dev.o and drivers/net/3c59x.o.
If you make the drivers modular then you can force the order
within your boot scripts.
If you make just one driver modular then that one will be
"eth1".
You can grab Andi's "nameif" app which allows you to rename
interfaces based on their MAC address, which will certainly
put and end to the issue. I'm not sure whether this
app is in net-tools yet.
Finally, you can wait until the Linux hotplug architecture
is fully implemented, after which the naming order will
be nicely randomised each time you boot :)
It's fun, isn't it?
-
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.4.1 swaps hardware addresses for ethernet cards
2001-02-13 11:33 ` Andrew Morton
@ 2001-02-13 19:26 ` al goldstein
0 siblings, 0 replies; 3+ messages in thread
From: al goldstein @ 2001-02-13 19:26 UTC (permalink / raw)
To: Andrew Morton; +Cc: al goldstein, kernel
On Tue, 13 Feb 2001, Andrew Morton wrote:
Thanks Andrew, I appreciate your note. I'll try it again with 509 as a module.
I had forgotten about linkage order problems.
> al goldstein wrote:
> >
> > I have 2 ether cards 59x (eth0) and 509 (eth1). I have been adding 509
> > at boot in lilo.conf. Using this same config in 2.4.1 results in
> > the hardware addresses for the cards to be swapped. If I remove 509 from
> > Lilo I get the same result. Suggestions would be appreciated
>
> If both drivers are statically linked into the kernel then
> I guess this is entirely dependent upon the linkage order of
> net/core/dev.o and drivers/net/3c59x.o.
>
> If you make the drivers modular then you can force the order
> within your boot scripts.
>
> If you make just one driver modular then that one will be
> "eth1".
>
> You can grab Andi's "nameif" app which allows you to rename
> interfaces based on their MAC address, which will certainly
> put and end to the issue. I'm not sure whether this
> app is in net-tools yet.
>
> Finally, you can wait until the Linux hotplug architecture
> is fully implemented, after which the naming order will
> be nicely randomised each time you boot :)
>
> It's fun, isn't it?
>
> -
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-02-13 19:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-13 6:59 2.4.1 swaps hardware addresses for ethernet cards al goldstein
2001-02-13 11:33 ` Andrew Morton
2001-02-13 19:26 ` al goldstein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®