Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754849AbYHTFgW (ORCPT ); Wed, 20 Aug 2008 01:36:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751873AbYHTFgJ (ORCPT ); Wed, 20 Aug 2008 01:36:09 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:58863 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751678AbYHTFgH (ORCPT ); Wed, 20 Aug 2008 01:36:07 -0400 Message-ID: <48ABACF2.4060503@cn.fujitsu.com> Date: Wed, 20 Aug 2008 13:34:42 +0800 From: Li Zefan User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Andrew Morton CC: LKML , linux-acpi@vger.kernel.org Subject: [-mm] sysfs: duplicate filename 'acpi' can not be created Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2161 Lines: 51 When I compiled latest -mm and booted up: ------------[ cut here ]------------ WARNING: at fs/sysfs/dir.c:463 sysfs_add_one+0x27/0x2f() sysfs: duplicate filename 'acpi' can not be created Modules linked in: Pid: 1, comm: swapper Not tainted 2.6.27-rc3-mm1 #2 [] warn_slowpath+0x61/0x83 [] __lock_acquire+0x601/0x658 [] ifind+0x13/0x79 [] _spin_unlock+0x14/0x1c [] ifind+0x73/0x79 [] sysfs_find_dirent+0x13/0x23 [] sysfs_add_one+0x27/0x2f [] create_dir+0x3c/0x81 [] sysfs_create_dir+0x29/0x3b [] _spin_unlock+0x14/0x1c [] kobject_add_internal+0xb1/0x14a [] kobject_init_and_add+0x29/0x2c [] kernel_param_sysfs_setup+0x4f/0x9f [] param_sysfs_init+0xf0/0x147 [] _stext+0x3a/0x12f [] param_sysfs_init+0x0/0x147 [] try_to_wake_up+0x146/0x14f [] __create_workqueue_key+0xa0/0x13c [] kernel_init+0x18d/0x1f1 [] kernel_init+0x0/0x1f1 [] kernel_thread_helper+0x7/0x10 ======================= ---[ end trace 4eaa2a86a8e2da22 ]--- kobject_add_internal failed for acpi with -EEXIST, don't try to register things with the same name in the same directory. Pid: 1, comm: swapper Tainted: G W 2.6.27-rc3-mm1 #2 [] kobject_add_internal+0x114/0x14a [] kobject_init_and_add+0x29/0x2c [] kernel_param_sysfs_setup+0x4f/0x9f [] param_sysfs_init+0xf0/0x147 [] _stext+0x3a/0x12f [] param_sysfs_init+0x0/0x147 [] try_to_wake_up+0x146/0x14f [] __create_workqueue_key+0xa0/0x13c [] kernel_init+0x18d/0x1f1 [] kernel_init+0x0/0x1f1 [] kernel_thread_helper+0x7/0x10 ======================= Module 'acpi' failed to be added to sysfs, error number -17 The system will be unstable now. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/