mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ethernet name clash at boot
@ 2002-06-22 17:12 Andries.Brouwer
  2002-06-22 17:23 ` Kai Germaschewski
  0 siblings, 1 reply; 3+ messages in thread
From: Andries.Brouwer @ 2002-06-22 17:12 UTC (permalink / raw)
  To: jgarzik; +Cc: linux-kernel

On a machine with a handful of ethernet cards things go wrong
when booting 2.5.24. Backing out the change that makes
net_dev_init() into an initcall in net/core/dev.c solves
the problem (no doubt accidentally).

More precisely, what happens is that two cards both get assigned
eth0, and then when the second one wants to register the error
-EEXIST is returned.

Thus, some more locking is required, or names must only be given
to things in the dev_base chain, or ...

Andries

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ethernet name clash at boot
  2002-06-22 17:12 ethernet name clash at boot Andries.Brouwer
@ 2002-06-22 17:23 ` Kai Germaschewski
  0 siblings, 0 replies; 3+ messages in thread
From: Kai Germaschewski @ 2002-06-22 17:23 UTC (permalink / raw)
  To: Andries.Brouwer; +Cc: jgarzik, linux-kernel

On Sat, 22 Jun 2002 Andries.Brouwer@cwi.nl wrote:

> On a machine with a handful of ethernet cards things go wrong
> when booting 2.5.24. Backing out the change that makes
> net_dev_init() into an initcall in net/core/dev.c solves
> the problem (no doubt accidentally).
> 
> More precisely, what happens is that two cards both get assigned
> eth0, and then when the second one wants to register the error
> -EEXIST is returned.
> 
> Thus, some more locking is required, or names must only be given
> to things in the dev_base chain, or ...

Hmmh, I did that change (being aware of the potential to cause breakage, 
though I actually thought it should be fine), so I'll go try figure out
what's going wrong. Can you give some more info on your config (which
ethernet drivers are built-in, and which ethernet cards do you have in 
your box).

--Kai



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ethernet name clash at boot
@ 2002-06-22 17:33 Andries.Brouwer
  0 siblings, 0 replies; 3+ messages in thread
From: Andries.Brouwer @ 2002-06-22 17:33 UTC (permalink / raw)
  To: Andries.Brouwer, kai-germaschewski; +Cc: jgarzik, linux-kernel

> Can you give some more info on your config

Hmm. The more you know about my actual setup the more likely
it is that you'll only fix the symptoms.

But anyway: what happens is that a vortex card starts initializing,
gets the name eth0, but then a 3c509 also takes eth0 and registers
first. The vortex gets -EEXIST.

Andries

[Everything built-in. No modules.]


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-22 17:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-22 17:12 ethernet name clash at boot Andries.Brouwer
2002-06-22 17:23 ` Kai Germaschewski
2002-06-22 17:33 Andries.Brouwer

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®