Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753348AbYHTFrs (ORCPT ); Wed, 20 Aug 2008 01:47:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751120AbYHTFrh (ORCPT ); Wed, 20 Aug 2008 01:47:37 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:44606 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751258AbYHTFrg (ORCPT ); Wed, 20 Aug 2008 01:47:36 -0400 Date: Tue, 19 Aug 2008 22:47:32 -0700 From: Andrew Morton To: Li Zefan Cc: LKML , linux-acpi@vger.kernel.org Subject: Re: [-mm] sysfs: duplicate filename 'acpi' can not be created Message-Id: <20080819224732.5b1393c1.akpm@linux-foundation.org> In-Reply-To: <48ABACF2.4060503@cn.fujitsu.com> References: <48ABACF2.4060503@cn.fujitsu.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2717 Lines: 64 On Wed, 20 Aug 2008 13:34:42 +0800 Li Zefan wrote: > 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. The only acpi-specific patches in mm(otm) are acpi-add-checking-for-null-early-param.patch acpi-avoid-dropping-rapid-hotkey-events-or-other-gpes-on-asus-eeepc.patch mm-only-enforce-acpi-resource-conflict-checks.patch so I'd say you've hit a linux-next regression there. Random-possible-feel-it-in-my-water-guess: do you have CONFIG_FASTBOOT set and if so, does unsetting it fix things? -- 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/