[BUG on 2.6.35-rc2] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:11.0/0000:02:03.0/slot'

From: Ryan Wang
Date: Sun Jun 06 2010 - 20:23:34 EST


Hi,

I have just compiled 2.6.35-rc2 on my VMWare Player box, and
got the warning info after boot up from dmesg.

------------[ cut here ]------------
WARNING: at /home/crossover/kernel-dev/src/linux-2.6.35-rc2/fs/sysfs/dir.c:451
sysfs_add_one+0xa1/0x110()
Hardware name: VMware Virtual Platform
sysfs: cannot create duplicate filename
'/devices/pci0000:00/0000:00:11.0/0000:02:02.0/slot'
Modules linked in:
Pid: 1, comm: swapper Tainted: G W 2.6.35-rc2 #1
Call Trace:
[<c0444402>] warn_slowpath_common+0x72/0xa0
[<c054ed81>] ? sysfs_add_one+0xa1/0x110
[<c054ed81>] ? sysfs_add_one+0xa1/0x110
[<c04444d3>] warn_slowpath_fmt+0x33/0x40
[<c054ed81>] sysfs_add_one+0xa1/0x110
[<c054f415>] sysfs_do_create_link+0xa5/0x150
[<c054fdc1>] ? sysfs_create_bin_file+0x21/0x30
[<c054f4f7>] sysfs_create_link+0x17/0x20
[<c060c976>] pci_create_sysfs_dev_files+0x356/0x4d0
[<c060b186>] ? pci_get_subsys+0x76/0xa0
[<c0aa6fc1>] pci_sysfs_init+0x1a/0x44
[<c0401132>] do_one_initcall+0x32/0x1d0
[<c0aa6fa7>] ? pci_sysfs_init+0x0/0x44
[<c0a823b7>] kernel_init+0x13e/0x1d9
[<c0a82279>] ? kernel_init+0x0/0x1d9
[<c04035c2>] kernel_thread_helper+0x6/0x10
---[ end trace f545de55182313ba ]---
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/