ethernet name clash at boot

Andries.Brouwer@cwi.nl
Sat, 22 Jun 2002 19:12:16 +0200 (MEST)


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
-
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/