Re: 2.6.25-rc3-mm1

From: Greg KH
Date: Wed Mar 05 2008 - 12:15:16 EST


On Wed, Mar 05, 2008 at 07:59:32PM +0300, Pavel Emelyanov wrote:
> Greg KH wrote:
> > On Wed, Mar 05, 2008 at 04:04:43PM +0300, Pavel Emelyanov wrote:
> >> With CONFIG_SYSFS not set got this on boot:
> >>
> >> kobject: '<NULL>' (f88774c8): is not initialized, yet kobject_put() is
> >> ------------[ cut here ]------------
> >> WARNING: at lib/kobject.c:652 kobject_put+0x29/0x3c()
> >> Modules linked in: sky2 e1000
> >> Pid: 1303, comm: modprobe Not tainted 2.6.25-rc3-mm1 #79
> >> [<c041855b>] warn_on_slowpath+0x40/0x66
> >> [<c041c687>] irq_exit+0x50/0x67
> >> [<c040cc70>] smp_apic_timer_interrupt+0x6e/0x7a
> >> [<c0403380>] apic_timer_interrupt+0x28/0x30
> >> [<c0418e36>] vprintk+0x2b0/0x2df
> >> [<c04118e8>] __update_rq_clock+0x1d/0x110
> >> [<c0565e43>] schedule_timeout+0x13/0x86
> >>
> >> [<c05656c2>] wait_for_common+0xd1/0x123
> >> [<c0418e79>] printk+0x14/0x18
> >> [<c04b34bf>] kobject_put+0x29/0x3c
> >> [<c0431e39>] free_module+0x2f/0x72
> >> [<c04328dd>] sys_init_module+0xa61/0x15d2
> >>
> >> [<c04ba863>] pci_bus_read_config_byte+0x0/0x58
> >> [<c0454f87>] vfs_read+0x6c/0x8b
> >> [<c0455323>] sys_read+0x3c/0x63
> >> [<c04028b2>] sysenter_past_esp+0x5f/0x85
> >
> > Hm, but with CONFIG_SYSFS set this does not show up?
>
> Yes, with CONFIG_SYSFS set everything is OK.

Thanks. Odds are we have some sysfs issue in the module core, that code
really needs to be refactored, I'll go work on it to see if we can try
to isolate all of that code into one file, which should help find these
kinds of things easier.

thanks,

greg k-h
--
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/