Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267720AbUIZJcb (ORCPT ); Sun, 26 Sep 2004 05:32:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268525AbUIZJca (ORCPT ); Sun, 26 Sep 2004 05:32:30 -0400 Received: from anchor-post-34.mail.demon.net ([194.217.242.92]:64012 "EHLO anchor-post-34.mail.demon.net") by vger.kernel.org with ESMTP id S267720AbUIZJc2 (ORCPT ); Sun, 26 Sep 2004 05:32:28 -0400 Date: Sun, 26 Sep 2004 10:32:54 +0100 From: Colin Phipps To: Maurice Volaski Cc: Jeff Garzik , linux-kernel@vger.kernel.org, davem@nuts.davemloft.net, mchan@broadcom.com Subject: Re: 2.68.rc4 affected by tg3 [Was Re: tg3 module in kernel 2.6.5 panics ] Message-ID: <20040926093254.GA2593@cph.demon.co.uk> Mail-Followup-To: Maurice Volaski , Jeff Garzik , linux-kernel@vger.kernel.org, davem@nuts.davemloft.net, mchan@broadcom.com References: <40AE4DDC.7050508@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6+20040722i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1885 Lines: 33 On Sat, Sep 25, 2004 at 09:26:07PM -0400, Maurice Volaski wrote: > I just tested with 2.68.rc4 from gentoo and although it doesn't panic > and the driver even appears to load, the kernel spews out a crash > message in the log similar to before. The eth0 interface doesn't show > up in ifconfig. Going back to your original oops > RIP {kobject_add+120} > call trace: {kobject_register+40}{bus_add_driver+86} {:tg3:tg3_init +16} {sys_init_module+436}{system_call+124> this looks similar to one I saw with 2.6.8.1 on a machine here on its first upgrade to 2.6.x - except it was with totally different modules (oops in kobject_add reached via pnp_register_driver loading ns558). : EIP; c01a432f : Call Trace: [] kobject_register+0x28/0x60 [] bus_add_driver+0x50/0xb0 [] driver_register+0x2f/0x40 [] pnp_register_driver+0x2d/0x70 [] ns558_init+0x30/0x50 [ns558] [] sys_init_module+0x100/0x210 [] syscall_call+0x7/0xb It turned out to be due to hotplug loading a buggy module earlier in the boot, which did a pnp_register_driver and then aborted the module load when it found nothing, without unregistering itself. The problem went away with 2.6.9-rc2 for me, the offending module (cs4232) seems to be fixed. So it's worth looking for any modules that failed to load earlier in the boot, they could be leaving junk in pci_bus_type.drivers . -- Colin Phipps - 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/