WARN_ON() at fs/sysfs/dir.c:424 sysfs_add_one()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: LKML <linux-kernel@...>
Date: Tuesday, January 22, 2008 - 4:41 pm

(Re)

Booting 2.6.24-rc8 on my Dell Vostro 1500 laptop I see this:


sysfs: duplicate filename 'fan' can not be created
WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
Pid: 819, comm: modprobe Not tainted 2.6.24-rc8 #2
 [<c01b18ff>] sysfs_add_one+0x9f/0xe0
 [<c01b1e38>] create_dir+0x48/0x90
 [<c01b1ea9>] sysfs_create_dir+0x29/0x50
 [<c024873f>] kobject_get+0xf/0x20
 [<c0248bff>] kobject_add+0x8f/0x1b0
 [<c0248db1>] kobject_register+0x21/0x50
 [<c02dc6f1>] bus_add_driver+0x71/0x1e0
 [<f886402f>] acpi_fan_init+0x2f/0x4d [fan]
 [<c0148986>] sys_init_module+0x126/0x19b0
 [<c024af87>] rb_insert_color+0xb7/0xe0
 [<c029dc8d>] acpi_bus_register_driver+0x0/0x38
 [<c0104286>] syscall_call+0x7/0xb
 =======================
kobject_add failed for fan with -EEXIST, don't try to register things
with the same name in the same directory.
Pid: 819, comm: modprobe Not tainted 2.6.24-rc8 #2
 [<c0248c81>] kobject_add+0x111/0x1b0
 [<c0248db1>] kobject_register+0x21/0x50
 [<c02dc6f1>] bus_add_driver+0x71/0x1e0
 [<f886402f>] acpi_fan_init+0x2f/0x4d [fan]
 [<c0148986>] sys_init_module+0x126/0x19b0
 [<c024af87>] rb_insert_color+0xb7/0xe0
 [<c029dc8d>] acpi_bus_register_driver+0x0/0x38
 [<c0104286>] syscall_call+0x7/0xb
 =======================
processor: exports duplicate symbol acpi_processor_set_thermal_limit
(owned by kernel)



There are two more WARN_ON()s. Check attached dmesg. Also attached
lspci -v and .config.

--
Miguel Ojeda
http://maxextreme.googlepages.com/index.htm
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
WARN_ON() at fs/sysfs/dir.c:424 sysfs_add_one(), Miguel Ojeda, (Tue Jan 22, 4:41 pm)