Re: ethernet name clash at boot

From: Kai Germaschewski (kai-germaschewski@uiowa.edu)
Date: Sat Jun 22 2002 - 12:23:15 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:26 EST