From: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
gregkh@suse.de,
Kernel Testers List <kernel-testers@vger.kernel.org>,
Andy Whitcroft <apw@shadowen.org>
Subject: [BUG] linux-next: Tree for August 21 - WARNING: at fs/sysfs/dir.c:465 sysfs_add_one()
Date: Fri, 22 Aug 2008 00:52:52 +0530 [thread overview]
Message-ID: <48ADC08C.6030406@linux.vnet.ibm.com> (raw)
In-Reply-To: <20080821191253.ba180d5e.sfr@canb.auug.org.au>
Hi,
while booting up the next-20080821 kernel on x86 machine, warning shows up for sysfs_add_one
of acpi getting called twice
[ 3.070999] kobject: 'acpi' (f78b2130): kobject_add_internal: parent: 'module', set: 'module'
[ 3.095999] kobject: 'acpi' (f78b2130): kobject_uevent_env
[ 3.112571] kobject: 'acpi' (f78b2130): fill_kobj_path: path = '/module/acpi'
[ 3.134999] kobject: 'processor' (f7907ad0): kobject_add_internal: parent: 'module', set: 'module'
[ 3.161999] kobject: 'processor' (f7907ad0): kobject_uevent_env
[ 3.179847] kobject: 'processor' (f7907ad0): fill_kobj_path: path = '/module/processor'
[ 3.203999] kobject: 'thermal' (f7907b28): kobject_add_internal: parent: 'module', set: 'module'
[ 3.230731] kobject: 'thermal' (f7907b28): kobject_uevent_env
[ 3.247999] kobject: 'thermal' (f7907b28): fill_kobj_path: path = '/module/thermal'
[ 3.270999] kobject: 'acpi' (f7907b80): kobject_add_internal: parent: 'module', set: 'module'
[ 3.296886] ------------[ cut here ]------------
[ 3.310838] WARNING: at fs/sysfs/dir.c:465 sysfs_add_one+0x2a/0x36()
[ 3.329985] sysfs: duplicate filename 'acpi' can not be created
[ 3.347828] Modules linked in:
[ 3.356999] Pid: 1, comm: swapper Not tainted 2.6.27-rc3-next-20080821-autotest #1
[ 3.379835] [<c0425899>] warn_slowpath+0x4e/0x76
[ 3.394150] [<c04ff278>] ? trace_hardirqs_on_thunk+0xc/0x10
[ 3.411425] [<c0403a50>] ? restore_nocheck_notrace+0x0/0xe
[ 3.428751] [<c0425d52>] ? release_console_sem+0x194/0x1a7
[ 3.445750] [<c0488c7e>] ? ifind+0x83/0x8d
[ 3.458593] [<c0645a28>] ? _spin_unlock+0x1d/0x20
[ 3.473408] [<c0488c7e>] ? ifind+0x83/0x8d
[ 3.485999] [<c04b6ce8>] ? sysfs_find_dirent+0x16/0x27
[ 3.501950] [<c04b6d83>] sysfs_add_one+0x2a/0x36
[ 3.516236] [<c04b7227>] create_dir+0x43/0x72
[ 3.529747] [<c04b7283>] sysfs_create_dir+0x2d/0x41
[ 3.544838] [<c04fac51>] kobject_add_internal+0xe5/0x189
[ 3.561205] [<c04fada0>] kobject_add_varg+0x35/0x41
[ 3.576304] [<c04faf69>] kobject_init_and_add+0x26/0x28
[ 3.592435] [<c07cf7f1>] kernel_param_sysfs_setup+0x4c/0x99
[ 3.609605] [<c07cf935>] param_sysfs_init+0xf7/0x153
[ 3.625006] [<c0401125>] _stext+0x3d/0x11d
[ 3.637760] [<c07cf83e>] ? param_sysfs_init+0x0/0x153
[ 3.653450] [<c041ec8b>] ? wake_up_process+0xf/0x11
[ 3.668925] [<c0432777>] ? start_workqueue_thread+0x1d/0x20
[ 3.685999] [<c0432a2f>] ? __create_workqueue_key+0xa4/0x13c
[ 3.703507] [<c07bc58c>] kernel_init+0x177/0x1de
[ 3.717798] [<c07bc415>] ? kernel_init+0x0/0x1de
[ 3.732215] [<c0404643>] kernel_thread_helper+0x7/0x10
[ 3.748060] =======================
[ 3.758882] ---[ end trace 4eaa2a86a8e2da22 ]---
[ 3.772837] kobject_add_internal failed for acpi with -EEXIST, don't try to register things with the same name in the same directory.
[ 3.809008] Pid: 1, comm: swapper Tainted: G W 2.6.27-rc3-next-20080821-autotest #1
[ 3.834005] [<c04facbd>] kobject_add_internal+0x151/0x189
[ 3.850635] [<c04fada0>] kobject_add_varg+0x35/0x41
[ 3.865700] [<c04faf69>] kobject_init_and_add+0x26/0x28
[ 3.881807] [<c07cf7f1>] kernel_param_sysfs_setup+0x4c/0x99
[ 3.899005] [<c07cf935>] param_sysfs_init+0xf7/0x153
[ 3.914359] [<c0401125>] _stext+0x3d/0x11d
[ 3.927111] [<c07cf83e>] ? param_sysfs_init+0x0/0x153
[ 3.942802] [<c041ec8b>] ? wake_up_process+0xf/0x11
[ 3.958005] [<c0432777>] ? start_workqueue_thread+0x1d/0x20
[ 3.975282] [<c0432a2f>] ? __create_workqueue_key+0xa4/0x13c
[ 3.992999] [<c07bc58c>] kernel_init+0x177/0x1de
[ 4.007322] [<c07bc415>] ? kernel_init+0x0/0x1de
[ 4.021732] [<c0404643>] kernel_thread_helper+0x7/0x10
[ 4.037578] =======================
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
next prev parent reply other threads:[~2008-08-21 19:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-21 9:12 linux-next: Tree for August 21 Stephen Rothwell
2008-08-21 19:22 ` Kamalesh Babulal [this message]
[not found] ` <48ADC08C.6030406-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-08-21 19:23 ` [BUG] linux-next: Tree for August 21 - WARNING: at fs/sysfs/dir.c:465 sysfs_add_one() Greg KH
2008-08-21 19:23 ` Greg KH
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=48ADC08C.6030406@linux.vnet.ibm.com \
--to=kamalesh@linux.vnet.ibm.com \
--cc=apw@shadowen.org \
--cc=gregkh@suse.de \
--cc=kernel-testers@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.