From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kamalesh Babulal 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 Message-ID: <48ADC08C.6030406@linux.vnet.ibm.com> References: <20080821191253.ba180d5e.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080821191253.ba180d5e.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Stephen Rothwell Cc: linux-next@vger.kernel.org, LKML , gregkh@suse.de, Kernel Testers List , Andy Whitcroft 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] [] warn_slowpath+0x4e/0x76 [ 3.394150] [] ? trace_hardirqs_on_thunk+0xc/0x10 [ 3.411425] [] ? restore_nocheck_notrace+0x0/0xe [ 3.428751] [] ? release_console_sem+0x194/0x1a7 [ 3.445750] [] ? ifind+0x83/0x8d [ 3.458593] [] ? _spin_unlock+0x1d/0x20 [ 3.473408] [] ? ifind+0x83/0x8d [ 3.485999] [] ? sysfs_find_dirent+0x16/0x27 [ 3.501950] [] sysfs_add_one+0x2a/0x36 [ 3.516236] [] create_dir+0x43/0x72 [ 3.529747] [] sysfs_create_dir+0x2d/0x41 [ 3.544838] [] kobject_add_internal+0xe5/0x189 [ 3.561205] [] kobject_add_varg+0x35/0x41 [ 3.576304] [] kobject_init_and_add+0x26/0x28 [ 3.592435] [] kernel_param_sysfs_setup+0x4c/0x99 [ 3.609605] [] param_sysfs_init+0xf7/0x153 [ 3.625006] [] _stext+0x3d/0x11d [ 3.637760] [] ? param_sysfs_init+0x0/0x153 [ 3.653450] [] ? wake_up_process+0xf/0x11 [ 3.668925] [] ? start_workqueue_thread+0x1d/0x20 [ 3.685999] [] ? __create_workqueue_key+0xa4/0x13c [ 3.703507] [] kernel_init+0x177/0x1de [ 3.717798] [] ? kernel_init+0x0/0x1de [ 3.732215] [] 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] [] kobject_add_internal+0x151/0x189 [ 3.850635] [] kobject_add_varg+0x35/0x41 [ 3.865700] [] kobject_init_and_add+0x26/0x28 [ 3.881807] [] kernel_param_sysfs_setup+0x4c/0x99 [ 3.899005] [] param_sysfs_init+0xf7/0x153 [ 3.914359] [] _stext+0x3d/0x11d [ 3.927111] [] ? param_sysfs_init+0x0/0x153 [ 3.942802] [] ? wake_up_process+0xf/0x11 [ 3.958005] [] ? start_workqueue_thread+0x1d/0x20 [ 3.975282] [] ? __create_workqueue_key+0xa4/0x13c [ 3.992999] [] kernel_init+0x177/0x1de [ 4.007322] [] ? kernel_init+0x0/0x1de [ 4.021732] [] kernel_thread_helper+0x7/0x10 [ 4.037578] ======================= -- Thanks & Regards, Kamalesh Babulal, Linux Technology Center, IBM, ISTL.