Re: 2.6.23-rc8-mm2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/29/07, Greg KH <[email protected]> wrote:
> On Sat, Sep 29, 2007 at 05:37:29PM +0800, Dave Young wrote:
> > Hi,
> > The kernel report warnings about sysfs filename duplicate under
> > rc8-mm1 and rc8-mm2.
> >  1.
> > ----cut----
> > NET: Registered protocol family 16
> > ACPI: bus type pci registered
> > PCI: PCI BIOS revision 2.10 entry at 0xfb93e, last bus=3
> > PCI: Using configuration type 1
> > Setting up standard PCI resources
> > sysfs: duplicate filename 'usbcore' can not be created
> > WARNING: at fs/sysfs/dir.c:433 sysfs_add_one()
> >  [<c010528f>] dump_trace+0x1bf/0x1d0
> >  [<c0105358>] show_trace_log_lvl+0x18/0x30
> >  [<c010537f>] show_trace+0xf/0x20
> >  [<c01054a2>] dump_stack+0x12/0x20
> >  [<c01c6680>] sysfs_add_one+0xa0/0xe0
> >  [<c01c69e8>] create_dir+0x48/0xb0
> >  [<c01c6a99>] sysfs_create_dir+0x29/0x50
> >  [<c02501eb>] create_dir+0x1b/0x50
> >  [<c02504b6>] kobject_add+0x46/0x150
> >  [<c05a38a0>] kernel_param_sysfs_setup+0x50/0xb0
> >  [<c05a39ee>] param_sysfs_builtin+0xee/0x130
> >  [<c05a3a54>] param_sysfs_init+0x24/0x60
> >  [<c0592866>] do_initcalls+0x46/0x1e0
> >  [<c0592aa2>] kernel_init+0x62/0xb0
> >  [<c0104fb3>] kernel_thread_helper+0x7/0x14
> >  =======================
> > kobject_add failed for usbcore with -EEXIST, don't try to register
> > things with the same name in the same directory.
>
> That is very wierd, do you have both USB built in and as a module
> somehow?
>
> >  [<c010528f>] dump_trace+0x1bf/0x1d0
> >  [<c0105358>] show_trace_log_lvl+0x18/0x30
> >  [<c010537f>] show_trace+0xf/0x20
> >  [<c01054a2>] dump_stack+0x12/0x20
> >  [<c0250566>] kobject_add+0xf6/0x150
> >  [<c05a38a0>] kernel_param_sysfs_setup+0x50/0xb0
> >  [<c05a39ee>] param_sysfs_builtin+0xee/0x130
> >  [<c05a3a54>] param_sysfs_init+0x24/0x60
> >  [<c0592866>] do_initcalls+0x46/0x1e0
> >  [<c0592aa2>] kernel_init+0x62/0xb0
> >  [<c0104fb3>] kernel_thread_helper+0x7/0x14
> >  =======================
> > Module 'usbcore' failed to be added to sysfs, error number -17
>
> I think I need to clean up the double stack trace here, that's reall not
> needed :)
>
Hi,
I debugged the problem, found that it is a bug of kernel/params.c, I
will send a patch later to fix it.

Regards
dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux