LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PCI] duplicate sysfs symbols getting registered in current git
Date: Wed, 27 Feb 2008 12:39:25 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0802271237360.5059@axis700.grange> (raw)
In-Reply-To: <20080226201619.GA10343@kroah.com>

On Tue, 26 Feb 2008, Greg KH wrote:

> We did just find a problem in the kobject core that might be causing
> this to happen, can you try the patch below to see if this causes it to
> go away as well?

No, didn't help, same 3 stack dumps, only offsets / addresses a bit 
different (CONFIG_SYSFS_DEPRECATED enabled):

kobject (c7c35900): tried to init an initialized object, something is 
seriously wrong.
Pid: 1, comm: swapper Not tainted 2.6.25-rc2-testpm-dirty #37
 [<c01ea0c5>] kobject_init+0x75/0x80
 [<c025072e>] device_initialize+0x1e/0x90
 [<c0250f7b>] device_register+0xb/0x20
 [<c01f3db8>] pci_bus_add_devices+0x98/0x140
 [<c030add7>] ? pcibios_scan_root+0x27/0xa0
 [<c03f69d0>] pci_legacy_init+0x50/0xf0
 [<c03db5c2>] kernel_init+0x132/0x310
 [<c010303a>] ? ret_from_fork+0x6/0x1c
 [<c03db490>] ? kernel_init+0x0/0x310
 [<c03db490>] ? kernel_init+0x0/0x310
 [<c0103d3f>] kernel_thread_helper+0x7/0x18
 =======================
sysfs: duplicate filename '0000:01' can not be created
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:424 sysfs_add_one+0x80/0xa0()
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.25-rc2-testpm-dirty #37
 [<c01209f4>] warn_on_slowpath+0x54/0x70
 [<c01210bc>] ? __call_console_drivers+0x5c/0x70
 [<c0313e81>] ? _spin_unlock_irqrestore+0x11/0x30
 [<c0121379>] ? release_console_sem+0x1d9/0x1f0
 [<c01217fd>] ? vprintk+0x2ad/0x3b0
 [<c01e9749>] ? ida_get_new_above+0x89/0x180
 [<c01aa410>] ? sysfs_ilookup_test+0x0/0x20
 [<c0313ddf>] ? _spin_unlock+0xf/0x30
 [<c01807aa>] ? ifind+0x8a/0x90
 [<c012191b>] ? printk+0x1b/0x20
 [<c01aa7a0>] sysfs_add_one+0x80/0xa0
 [<c01aacd9>] create_dir+0x49/0x90
 [<c01aad4b>] sysfs_create_dir+0x2b/0x50
 [<c01ea38e>] kobject_add_internal+0xae/0x190
 [<c01ea4ed>] ? kobject_set_name_vargs+0x2d/0x40
 [<c01ea4ed>] ? kobject_set_name_vargs+0x2d/0x40
 [<c01ea54f>] kobject_add_varg+0x4f/0x60
 [<c01ea83f>] kobject_add+0x2f/0x60
 [<c01ea252>] ? kobject_get+0x12/0x20
 [<c0250b0c>] device_add+0x8c/0x4f0
 [<c01ea07a>] ? kobject_init+0x2a/0x80
 [<c0250f82>] device_register+0x12/0x20
 [<c01f3db8>] pci_bus_add_devices+0x98/0x140
 [<c030add7>] ? pcibios_scan_root+0x27/0xa0
 [<c03f69d0>] pci_legacy_init+0x50/0xf0
 [<c03db5c2>] kernel_init+0x132/0x310
 [<c010303a>] ? ret_from_fork+0x6/0x1c
 [<c03db490>] ? kernel_init+0x0/0x310
 [<c03db490>] ? kernel_init+0x0/0x310
 [<c0103d3f>] kernel_thread_helper+0x7/0x18
 =======================
---[ end trace ca143223eefdc828 ]---
kobject_add_internal failed for 0000:01 with -EEXIST, don't try to 
register things with the same name in the same directory.
Pid: 1, comm: swapper Not tainted 2.6.25-rc2-testpm-dirty #37
 [<c01ea419>] kobject_add_internal+0x139/0x190
 [<c01ea4ed>] ? kobject_set_name_vargs+0x2d/0x40
 [<c01ea54f>] kobject_add_varg+0x4f/0x60
 [<c01ea83f>] kobject_add+0x2f/0x60
 [<c01ea252>] ? kobject_get+0x12/0x20
 [<c0250b0c>] device_add+0x8c/0x4f0
 [<c01ea07a>] ? kobject_init+0x2a/0x80
 [<c0250f82>] device_register+0x12/0x20
 [<c01f3db8>] pci_bus_add_devices+0x98/0x140
 [<c030add7>] ? pcibios_scan_root+0x27/0xa0
 [<c03f69d0>] pci_legacy_init+0x50/0xf0
 [<c03db5c2>] kernel_init+0x132/0x310
 [<c010303a>] ? ret_from_fork+0x6/0x1c
 [<c03db490>] ? kernel_init+0x0/0x310
 [<c03db490>] ? kernel_init+0x0/0x310
 [<c0103d3f>] kernel_thread_helper+0x7/0x18
 =======================

Thanks
Guennadi
---
Guennadi Liakhovetski

      parent reply	other threads:[~2008-02-27 11:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-18 20:52 Guennadi Liakhovetski
2008-02-20  6:38 ` Greg KH
2008-02-25 12:43   ` Guennadi Liakhovetski
2008-02-25 18:15     ` Guennadi Liakhovetski
2008-02-25 20:25       ` Greg KH
2008-02-25 20:31         ` Guennadi Liakhovetski
2008-02-25 21:14           ` Greg KH
2008-02-25 22:03             ` Guennadi Liakhovetski
2008-02-25 22:21               ` Greg KH
2008-02-26 20:16     ` Greg KH
2008-02-27 11:24       ` Guennadi Liakhovetski
2008-02-27 11:27         ` Guennadi Liakhovetski
2008-02-27 11:47         ` Cornelia Huck
2008-02-27 12:33           ` Guennadi Liakhovetski
2008-02-27 13:21             ` Cornelia Huck
2008-02-27 13:46               ` Guennadi Liakhovetski
2008-02-27 14:38                 ` Cornelia Huck
2008-02-27 11:39       ` Guennadi Liakhovetski [this message]

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=Pine.LNX.4.64.0802271237360.5059@axis700.grange \
    --to=g.liakhovetski@gmx.de \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [PCI] duplicate sysfs symbols getting registered in current git' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).