Re: [-mm] sysfs: duplicate filename 'acpi' can not be created

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Morton wrote:
> On Wed, 20 Aug 2008 13:34:42 +0800 Li Zefan <lizf@xxxxxxxxxxxxxx> 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.
> 

You are right.

after 'quilt push linux-next.patch', I still saw the regression, and then
it's ok after 'quilt pop 1'

> 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-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux