public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Li Zefan <lizf@cn.fujitsu.com>
Cc: LKML <linux-kernel@vger.kernel.org>, linux-acpi@vger.kernel.org
Subject: Re: [-mm] sysfs: duplicate filename 'acpi' can not be created
Date: Tue, 19 Aug 2008 22:47:32 -0700	[thread overview]
Message-ID: <20080819224732.5b1393c1.akpm@linux-foundation.org> (raw)
In-Reply-To: <48ABACF2.4060503@cn.fujitsu.com>

On Wed, 20 Aug 2008 13:34:42 +0800 Li Zefan <lizf@cn.fujitsu.com> 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
>  [<c0421173>] warn_slowpath+0x61/0x83
>  [<c043b422>] __lock_acquire+0x601/0x658
>  [<c047ea0d>] ifind+0x13/0x79
>  [<c05c2ce9>] _spin_unlock+0x14/0x1c
>  [<c047ea6d>] ifind+0x73/0x79
>  [<c04a5a32>] sysfs_find_dirent+0x13/0x23
>  [<c04a5ac5>] sysfs_add_one+0x27/0x2f
>  [<c04a5f83>] create_dir+0x3c/0x81
>  [<c04a5ff1>] sysfs_create_dir+0x29/0x3b
>  [<c05c2ce9>] _spin_unlock+0x14/0x1c
>  [<c04c466d>] kobject_add_internal+0xb1/0x14a
>  [<c04c490b>] kobject_init_and_add+0x29/0x2c
>  [<c06ea613>] kernel_param_sysfs_setup+0x4f/0x9f
>  [<c06ea753>] param_sysfs_init+0xf0/0x147
>  [<c0401122>] _stext+0x3a/0x12f
>  [<c06ea663>] param_sysfs_init+0x0/0x147
>  [<c041b3ee>] try_to_wake_up+0x146/0x14f
>  [<c042d9f5>] __create_workqueue_key+0xa0/0x13c
>  [<c06d9550>] kernel_init+0x18d/0x1f1
>  [<c06d93c3>] kernel_init+0x0/0x1f1
>  [<c04044ff>] 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
>  [<c04c46d0>] kobject_add_internal+0x114/0x14a
>  [<c04c490b>] kobject_init_and_add+0x29/0x2c
>  [<c06ea613>] kernel_param_sysfs_setup+0x4f/0x9f
>  [<c06ea753>] param_sysfs_init+0xf0/0x147
>  [<c0401122>] _stext+0x3a/0x12f
>  [<c06ea663>] param_sysfs_init+0x0/0x147
>  [<c041b3ee>] try_to_wake_up+0x146/0x14f
>  [<c042d9f5>] __create_workqueue_key+0xa0/0x13c
>  [<c06d9550>] kernel_init+0x18d/0x1f1
>  [<c06d93c3>] kernel_init+0x0/0x1f1
>  [<c04044ff>] 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?

  reply	other threads:[~2008-08-20  5:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-20  5:34 [-mm] sysfs: duplicate filename 'acpi' can not be created Li Zefan
2008-08-20  5:47 ` Andrew Morton [this message]
2008-08-20  5:48   ` Li Zefan
2008-08-20  6:25   ` Li Zefan
2008-08-20 15:04   ` Randy.Dunlap

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=20080819224732.5b1393c1.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizf@cn.fujitsu.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox