Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 22 Jun 2002 13:23:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 22 Jun 2002 13:23:18 -0400 Received: from chaos.physics.uiowa.edu ([128.255.34.189]:4587 "EHLO chaos.physics.uiowa.edu") by vger.kernel.org with ESMTP id ; Sat, 22 Jun 2002 13:23:17 -0400 Date: Sat, 22 Jun 2002 12:23:15 -0500 (CDT) From: Kai Germaschewski X-X-Sender: kai@chaos.physics.uiowa.edu To: Andries.Brouwer@cwi.nl cc: jgarzik@mandrakesoft.com, Subject: Re: ethernet name clash at boot In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1093 Lines: 28 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/