Re: 2.68.rc4 affected by tg3 [Was Re: tg3 module in kernel 2.6.5 panics ]

From: Colin Phipps
Date: Sun Sep 26 2004 - 04:33:48 EST


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 <ffffffff802ad048>{kobject_add+120}
> call trace: <ffffffff802ad0c8>{kobject_register+40}<ffffffff80306676>{bus_add_driver+86} <ffffffff802380e0{pci_register_driver+128}<ffffffffa00c06010>{:tg3:tg3_init +16} <ffffffff80157404>{sys_init_module+436}<ffffffff80110e24>{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 <kobject_add+6f/100>
: Call Trace: [<c01a43e8>] kobject_register+0x28/0x60 [<c01f5fe0>] bus_add_driver+0x50/0xb0 [<c01f65cf>] driver_register+0x2f/0x40 [<c01ced5d>] pnp_register_driver+0x2d/0x70 [<d0825030>] ns558_init+0x30/0x50 [ns558] [<c0133030>] sys_init_module+0x100/0x210 [<c010603b>] 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 <cph@xxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/