public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Dave Young" <hidave.darkstar@gmail.com>
To: "Greg KH" <greg@kroah.com>
Cc: "Andrew Morton" <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org,
	linux-usb-devel@lists.sourceforge.net
Subject: Re: 2.6.23-rc8-mm2
Date: Mon, 8 Oct 2007 14:43:12 +0800	[thread overview]
Message-ID: <a8e1da0710072343h2addc01eh911bdcf5c81985df@mail.gmail.com> (raw)
In-Reply-To: <20070929151942.GE3653@kroah.com>

On 9/29/07, Greg KH <greg@kroah.com> 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

  parent reply	other threads:[~2007-10-08  6:43 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-27  9:22 2.6.23-rc8-mm2 Andrew Morton
2007-09-27 10:52 ` 2.6.23-rc8-mm2 - drivers/net/ibm_newemac/mal - broken Kamalesh Babulal
2007-09-27 15:19 ` 2.6.23-rc8-mm2: problems on HP nx6325 Rafael J. Wysocki
2007-09-27 15:59   ` Rafael J. Wysocki
2007-09-27 15:49     ` Thomas Gleixner
2007-09-28 21:31       ` Rafael J. Wysocki
2007-09-27 16:53     ` Sam Ravnborg
2007-09-27 17:33       ` Randy Dunlap
2007-09-27 19:19         ` Sam Ravnborg
2007-09-27 19:48           ` Rafael J. Wysocki
2007-09-27 19:37             ` Randy Dunlap
2007-09-27 20:01               ` Rafael J. Wysocki
2007-09-27 19:18 ` 2.6.23-rc8-mm2: BUG near reiserfs_xattr_set Laurent Riffard
2007-09-27 19:48   ` Andrew Morton
2007-09-27 20:05     ` Dave Hansen
2007-09-27 20:26     ` Christoph Hellwig
2007-09-27 20:53       ` [RFC][PATCH] make reiserfs stop using 'struct file' for internal xattr operations Dave Hansen
2007-09-27 21:04         ` Christoph Hellwig
2007-09-27 21:27           ` Dave Hansen
2007-09-27 21:51             ` Andrew Morton
2007-09-27 21:54               ` Andrew Morton
2007-09-27 22:02               ` Peter Zijlstra
2007-09-28  7:16               ` Christoph Hellwig
2007-09-28  7:29                 ` [RFC][PATCH] stop abusing filp_open in reiserfs journal code Christoph Hellwig
     [not found] ` <20070928024054.GA14457@mail.ustc.edu.cn>
2007-09-28  2:40   ` WARNING: at arch/x86_64/kernel/smp.c:397 smp_call_function_mask() Fengguang Wu
2007-09-28  8:52     ` Laurent Vivier
2007-09-28  9:09       ` Andrew Morton
2007-09-28  9:18         ` Laurent Vivier
2007-09-28  9:34           ` Andrew Morton
2007-09-28 12:07             ` Laurent Vivier
     [not found]               ` <20070929065908.GA19615@mail.ustc.edu.cn>
2007-09-29  6:59                 ` Fengguang Wu
     [not found]               ` <20070929081524.GA32760@mail.ustc.edu.cn>
2007-09-29  8:15                 ` Fengguang Wu
     [not found]                 ` <20071002091133.GA31284@mail.ustc.edu.cn>
2007-10-02  9:11                   ` [PATCH][RESEND] call free_init_pages() with irqs enabled in alternative_instructions() Fengguang Wu
2007-09-28 15:42 ` 2.6.23-rc8-mm2 - tcp_fastretrans_alert() WARNING Cedric Le Goater
2007-09-28 19:10   ` Ilpo Järvinen
2007-09-29 12:44     ` Ilpo Järvinen
2007-09-29 14:55       ` Cedric Le Goater
2007-09-29 20:49         ` Ilpo Järvinen
2007-10-01  9:26           ` Cedric Le Goater
2007-10-02 10:26             ` Ilpo Järvinen
2007-10-02 20:06               ` Ilpo Järvinen
2007-10-02 21:48                 ` Ilpo Järvinen
2007-09-28 16:30 ` /proc/net/ bad hard links count [Was: 2.6.23-rc8-mm2] Jiri Slaby
2007-09-28 17:03   ` Eric W. Biederman
2007-09-29  9:37 ` 2.6.23-rc8-mm2 Dave Young
2007-09-29 15:19   ` 2.6.23-rc8-mm2 Greg KH
2007-09-30  1:29     ` 2.6.23-rc8-mm2 Dave Young
2007-09-30  5:18     ` 2.6.23-rc8-mm2 thunder7
2007-10-08  6:43     ` Dave Young [this message]
2007-09-30  2:26 ` 2.6.23-rc8-mm2 Valdis.Kletnieks
2007-09-30  8:50   ` 2.6.23-rc8-mm2 Andrew Morton
2007-09-30 20:01     ` 2.6.23-rc8-mm2 Rafael J. Wysocki
2007-10-01 17:12       ` 2.6.23-rc8-mm2 Valdis.Kletnieks
2007-10-01 16:12     ` 2.6.23-rc8-mm2 Valdis.Kletnieks
2007-09-30  4:10 ` 2.6.23-rc8-mm2 - PowerPC link failure at arch/powerpc/kernel/head_64.o Kamalesh Babulal
2007-09-30  9:37   ` Kamalesh Babulal
2007-10-09 17:49 ` 2.6.23-rc8-mm2 Matt Mackall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a8e1da0710072343h2addc01eh911bdcf5c81985df@mail.gmail.com \
    --to=hidave.darkstar@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox