Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751440Ab0FGObp (ORCPT ); Mon, 7 Jun 2010 10:31:45 -0400 Received: from e24smtp05.br.ibm.com ([32.104.18.26]:59120 "EHLO e24smtp05.br.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751046Ab0FGObo (ORCPT ); Mon, 7 Jun 2010 10:31:44 -0400 Message-ID: <4C0D02BC.4080504@linux.vnet.ibm.com> Date: Mon, 07 Jun 2010 11:31:24 -0300 From: Breno Leitao User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Ryan Wang CC: linux-kernel@vger.kernel.org Subject: Re: [BUG on 2.6.35-rc2] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:11.0/0000:02:03.0/slot' References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 14809 Lines: 238 Ryan Wang wrote: > Hi, > > I have just compiled 2.6.35-rc2 on my VMWare Player box, and > got the warning info after boot up from dmesg. > I also found the same problem on PPC64 sysfs: cannot create duplicate filename '/devices/pci0002:00/0002:00:01.0/slot' ------------[ cut here ]------------ Badness at fs/sysfs/dir.c:451 NIP: c00000000022b1fc LR: c00000000022b1f8 CTR: 0000000000000001 REGS: c00000097c1238e0 TRAP: 0700 Not tainted (2.6.35-rc2+) MSR: 8000000000029032 CR: 28008084 XER: 20000000 TASK = c00000078c8d0090[1] 'swapper' THREAD: c00000097c120000 CPU: 0 GPR00: c00000000022b1f8 c00000097c123b60 c000000000fc1950 0000000000000056 GPR04: 0000000000000000 ffffffffffffffff 0000000000000007 0000000000020000 GPR08: 00000000000035fc 0000000000000000 00000000000035ae 000000000000000a GPR12: 0000000028008082 c00000000ed70000 0000000001adfa78 0000000000f86800 GPR16: 0000000003400000 000000000021e1af 0000000000c89468 0000000002a5a970 GPR20: 0000000000000000 0000000002a5a4f0 0000000000000040 c0000000002ddbd8 GPR24: c00000000022b17c 0000000000001000 c00000078ce97580 c0000003ae040180 GPR28: c00000097c123c80 c0000003a9313b40 c000000000f61558 ffffffffffffffef NIP [c00000000022b1fc] .sysfs_add_one+0xfc/0x170 LR [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 Call Trace: [c00000097c123b60] [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 (unreliable) [c00000097c123c10] [c00000000022cbb8] .sysfs_do_create_link+0x118/0x250 [c00000097c123cd0] [c0000000002ddb14] .pci_create_sysfs_dev_files+0x414/0x640 [c00000097c123da0] [c000000000943dc0] .pci_sysfs_init+0x34/0x90 [c00000097c123e30] [c00000000000972c] .do_one_initcall+0x5c/0x200 [c00000097c123ee0] [c0000000009104e0] .kernel_init+0x270/0x32c [c00000097c123f90] [c000000000030f54] .kernel_thread+0x54/0x70 Instruction dump: 7f44d378 4bfffec1 e89e8030 4be1eb05 60000000 e89d0018 4be1eaf9 60000000 7c641b78 e87e8038 48369195 60000000 <0fe00000> 7f43d378 4bf5e1bd 60000000 sysfs: cannot create duplicate filename '/devices/pci0002:00/0002:00:01.1/slot' ------------[ cut here ]------------ Badness at fs/sysfs/dir.c:451 NIP: c00000000022b1fc LR: c00000000022b1f8 CTR: 0000000000000001 REGS: c00000097c1238e0 TRAP: 0700 Tainted: G W (2.6.35-rc2+) MSR: 8000000000029032 CR: 28008084 XER: 20000000 TASK = c00000078c8d0090[1] 'swapper' THREAD: c00000097c120000 CPU: 0 GPR00: c00000000022b1f8 c00000097c123b60 c000000000fc1950 0000000000000056 GPR04: 0000000000000000 ffffffffffffffff 0000000000000007 0000000000020000 GPR08: 0000000000003d42 0000000000000000 0000000000003cf4 000000000000000a GPR12: 0000000028008082 c00000000ed70000 0000000001adfa78 0000000000f86800 GPR16: 0000000003400000 000000000021e1af 0000000000c89468 0000000002a5a970 GPR20: 0000000000000000 0000000002a5a4f0 0000000000000040 c0000000002ddbd8 GPR24: c00000000022b17c 0000000000001000 c00000097c680500 c0000003ae040180 GPR28: c00000097c123c80 c0000007893591d0 c000000000f61558 ffffffffffffffef NIP [c00000000022b1fc] .sysfs_add_one+0xfc/0x170 LR [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 Call Trace: [c00000097c123b60] [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 (unreliable) [c00000097c123c10] [c00000000022cbb8] .sysfs_do_create_link+0x118/0x250 [c00000097c123cd0] [c0000000002ddb14] .pci_create_sysfs_dev_files+0x414/0x640 [c00000097c123da0] [c000000000943dc0] .pci_sysfs_init+0x34/0x90 [c00000097c123e30] [c00000000000972c] .do_one_initcall+0x5c/0x200 [c00000097c123ee0] [c0000000009104e0] .kernel_init+0x270/0x32c [c00000097c123f90] [c000000000030f54] .kernel_thread+0x54/0x70 Instruction dump: 7f44d378 4bfffec1 e89e8030 4be1eb05 60000000 e89d0018 4be1eaf9 60000000 7c641b78 e87e8038 48369195 60000000 <0fe00000> 7f43d378 4bf5e1bd 60000000 sysfs: cannot create duplicate filename '/devices/pci0003:00/0003:00:01.0/slot' ------------[ cut here ]------------ Badness at fs/sysfs/dir.c:451 NIP: c00000000022b1fc LR: c00000000022b1f8 CTR: 0000000000000001 REGS: c00000097c1238e0 TRAP: 0700 Tainted: G W (2.6.35-rc2+) MSR: 8000000000029032 CR: 28008084 XER: 20000000 TASK = c00000078c8d0090[1] 'swapper' THREAD: c00000097c120000 CPU: 0 GPR00: c00000000022b1f8 c00000097c123b60 c000000000fc1950 0000000000000056 GPR04: 0000000000000000 ffffffffffffffff 0000000000000007 0000000000020000 GPR08: 0000000000004492 0000000000000000 0000000000004444 000000000000000a GPR12: 0000000028008082 c00000000ed70000 0000000001adfa78 0000000000f86800 GPR16: 0000000003400000 000000000021e1af 0000000000c89468 0000000002a5a970 GPR20: 0000000000000000 0000000002a5a4f0 0000000000000040 c0000000002ddbd8 GPR24: c00000000022b17c 0000000000001000 c000000b7c6ce580 c0000003ae040180 GPR28: c00000097c123c80 c00000097ac45260 c000000000f61558 ffffffffffffffef NIP [c00000000022b1fc] .sysfs_add_one+0xfc/0x170 LR [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 Call Trace: [c00000097c123b60] [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 (unreliable) [c00000097c123c10] [c00000000022cbb8] .sysfs_do_create_link+0x118/0x250 [c00000097c123cd0] [c0000000002ddb14] .pci_create_sysfs_dev_files+0x414/0x640 [c00000097c123da0] [c000000000943dc0] .pci_sysfs_init+0x34/0x90 [c00000097c123e30] [c00000000000972c] .do_one_initcall+0x5c/0x200 [c00000097c123ee0] [c0000000009104e0] .kernel_init+0x270/0x32c [c00000097c123f90] [c000000000030f54] .kernel_thread+0x54/0x70 Instruction dump: 7f44d378 4bfffec1 e89e8030 4be1eb05 60000000 e89d0018 4be1eaf9 60000000 7c641b78 e87e8038 48369195 60000000 <0fe00000> 7f43d378 4bf5e1bd 60000000 sysfs: cannot create duplicate filename '/devices/pci0003:00/0003:00:01.1/slot' ------------[ cut here ]------------ Badness at fs/sysfs/dir.c:451 NIP: c00000000022b1fc LR: c00000000022b1f8 CTR: 0000000000000001 REGS: c00000097c1238e0 TRAP: 0700 Tainted: G W (2.6.35-rc2+) MSR: 8000000000029032 CR: 28008084 XER: 20000000 TASK = c00000078c8d0090[1] 'swapper' THREAD: c00000097c120000 CPU: 0 GPR00: c00000000022b1f8 c00000097c123b60 c000000000fc1950 0000000000000056 GPR04: 0000000000000000 ffffffffffffffff 0000000000000007 0000000000020000 GPR08: 0000000000004be2 0000000000000000 0000000000004b94 000000000000000a GPR12: 0000000028008082 c00000000ed70000 0000000001adfa78 0000000000f86800 GPR16: 0000000003400000 000000000021e1af 0000000000c89468 0000000002a5a970 GPR20: 0000000000000000 0000000002a5a4f0 0000000000000040 c0000000002ddbd8 GPR24: c00000000022b17c 0000000000001000 c0000003a91f0280 c0000003ae040180 GPR28: c00000097c123c80 c000000b7aaa99a0 c000000000f61558 ffffffffffffffef NIP [c00000000022b1fc] .sysfs_add_one+0xfc/0x170 LR [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 Call Trace: [c00000097c123b60] [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 (unreliable) [c00000097c123c10] [c00000000022cbb8] .sysfs_do_create_link+0x118/0x250 [c00000097c123cd0] [c0000000002ddb14] .pci_create_sysfs_dev_files+0x414/0x640 [c00000097c123da0] [c000000000943dc0] .pci_sysfs_init+0x34/0x90 [c00000097c123e30] [c00000000000972c] .do_one_initcall+0x5c/0x200 [c00000097c123ee0] [c0000000009104e0] .kernel_init+0x270/0x32c [c00000097c123f90] [c000000000030f54] .kernel_thread+0x54/0x70 Instruction dump: 7f44d378 4bfffec1 e89e8030 4be1eb05 60000000 e89d0018 4be1eaf9 60000000 7c641b78 e87e8038 48369195 60000000 <0fe00000> 7f43d378 4bf5e1bd 60000000 sysfs: cannot create duplicate filename '/devices/pci0005:01/0005:01:00.0/slot' ------------[ cut here ]------------ Badness at fs/sysfs/dir.c:451 NIP: c00000000022b1fc LR: c00000000022b1f8 CTR: 0000000000000001 REGS: c00000097c1238e0 TRAP: 0700 Tainted: G W (2.6.35-rc2+) MSR: 8000000000029032 CR: 28008084 XER: 20000000 TASK = c00000078c8d0090[1] 'swapper' THREAD: c00000097c120000 CPU: 0 GPR00: c00000000022b1f8 c00000097c123b60 c000000000fc1950 0000000000000056 GPR04: 0000000000000000 ffffffffffffffff 0000000000000007 0000000000020000 GPR08: 0000000000005332 0000000000000000 00000000000052e4 000000000000000a GPR12: 0000000028008082 c00000000ed70000 0000000001adfa78 0000000000f86800 GPR16: 0000000003400000 000000000021e1af 0000000000c89468 0000000002a5a970 GPR20: 0000000000000000 0000000002a5a4f0 0000000000000040 c0000000002ddbd8 GPR24: c00000000022b17c 0000000000001000 c00000078ce95580 c0000003ae040180 GPR28: c00000097c123c80 c0000003a93138c0 c000000000f61558 ffffffffffffffef NIP [c00000000022b1fc] .sysfs_add_one+0xfc/0x170 LR [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 Call Trace: [c00000097c123b60] [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 (unreliable) [c00000097c123c10] [c00000000022cbb8] .sysfs_do_create_link+0x118/0x250 [c00000097c123cd0] [c0000000002ddb14] .pci_create_sysfs_dev_files+0x414/0x640 [c00000097c123da0] [c000000000943dc0] .pci_sysfs_init+0x34/0x90 [c00000097c123e30] [c00000000000972c] .do_one_initcall+0x5c/0x200 [c00000097c123ee0] [c0000000009104e0] .kernel_init+0x270/0x32c [c00000097c123f90] [c000000000030f54] .kernel_thread+0x54/0x70 Instruction dump: 7f44d378 4bfffec1 e89e8030 4be1eb05 60000000 e89d0018 4be1eaf9 60000000 7c641b78 e87e8038 48369195 60000000 <0fe00000> 7f43d378 4bf5e1bd 60000000 sysfs: cannot create duplicate filename '/devices/pci0005:01/0005:01:00.1/slot' ------------[ cut here ]------------ Badness at fs/sysfs/dir.c:451 NIP: c00000000022b1fc LR: c00000000022b1f8 CTR: 0000000000000001 REGS: c00000097c1238e0 TRAP: 0700 Tainted: G W (2.6.35-rc2+) MSR: 8000000000029032 CR: 28008084 XER: 20000000 TASK = c00000078c8d0090[1] 'swapper' THREAD: c00000097c120000 CPU: 0 GPR00: c00000000022b1f8 c00000097c123b60 c000000000fc1950 0000000000000056 GPR04: 0000000000000000 ffffffffffffffff 0000000000000007 0000000000020000 GPR08: 0000000000005a82 0000000000000000 0000000000005a34 000000000000000a GPR12: 0000000028008082 c00000000ed70000 0000000001adfa78 0000000000f86800 GPR16: 0000000003400000 000000000021e1af 0000000000c89468 0000000002a5a970 GPR20: 0000000000000000 0000000002a5a4f0 0000000000000040 c0000000002ddbd8 GPR24: c00000000022b17c 0000000000001000 c00000097c3d9480 c0000003ae040180 GPR28: c00000097c123c80 c0000007893594a0 c000000000f61558 ffffffffffffffef NIP [c00000000022b1fc] .sysfs_add_one+0xfc/0x170 LR [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 Call Trace: [c00000097c123b60] [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 (unreliable) [c00000097c123c10] [c00000000022cbb8] .sysfs_do_create_link+0x118/0x250 [c00000097c123cd0] [c0000000002ddb14] .pci_create_sysfs_dev_files+0x414/0x640 [c00000097c123da0] [c000000000943dc0] .pci_sysfs_init+0x34/0x90 [c00000097c123e30] [c00000000000972c] .do_one_initcall+0x5c/0x200 [c00000097c123ee0] [c0000000009104e0] .kernel_init+0x270/0x32c [c00000097c123f90] [c000000000030f54] .kernel_thread+0x54/0x70 Instruction dump: 7f44d378 4bfffec1 e89e8030 4be1eb05 60000000 e89d0018 4be1eaf9 60000000 7c641b78 e87e8038 48369195 60000000 <0fe00000> 7f43d378 4bf5e1bd 60000000 sysfs: cannot create duplicate filename '/devices/pci0005:01/0005:01:00.2/slot' ------------[ cut here ]------------ Badness at fs/sysfs/dir.c:451 NIP: c00000000022b1fc LR: c00000000022b1f8 CTR: 0000000000000001 REGS: c00000097c1238e0 TRAP: 0700 Tainted: G W (2.6.35-rc2+) MSR: 8000000000029032 CR: 28008084 XER: 20000000 TASK = c00000078c8d0090[1] 'swapper' THREAD: c00000097c120000 CPU: 0 GPR00: c00000000022b1f8 c00000097c123b60 c000000000fc1950 0000000000000056 GPR04: 0000000000000000 ffffffffffffffff 0000000000000007 0000000000020000 GPR08: 00000000000061d2 0000000000000000 0000000000006184 000000000000000a GPR12: 0000000028008082 c00000000ed70000 0000000001adfa78 0000000000f86800 GPR16: 0000000003400000 000000000021e1af 0000000000c89468 0000000002a5a970 GPR20: 0000000000000000 0000000002a5a4f0 0000000000000040 c0000000002ddbd8 GPR24: c00000000022b17c 0000000000001000 c000000b7c6cd580 c0000003ae040180 GPR28: c00000097c123c80 c00000097ac45530 c000000000f61558 ffffffffffffffef NIP [c00000000022b1fc] .sysfs_add_one+0xfc/0x170 LR [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 Call Trace: [c00000097c123b60] [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 (unreliable) [c00000097c123c10] [c00000000022cbb8] .sysfs_do_create_link+0x118/0x250 [c00000097c123cd0] [c0000000002ddb14] .pci_create_sysfs_dev_files+0x414/0x640 [c00000097c123da0] [c000000000943dc0] .pci_sysfs_init+0x34/0x90 [c00000097c123e30] [c00000000000972c] .do_one_initcall+0x5c/0x200 [c00000097c123ee0] [c0000000009104e0] .kernel_init+0x270/0x32c [c00000097c123f90] [c000000000030f54] .kernel_thread+0x54/0x70 Instruction dump: 7f44d378 4bfffec1 e89e8030 4be1eb05 60000000 e89d0018 4be1eaf9 60000000 7c641b78 e87e8038 48369195 60000000 <0fe00000> 7f43d378 4bf5e1bd 60000000 sysfs: cannot create duplicate filename '/devices/pci0005:01/0005:01:00.3/slot' ------------[ cut here ]------------ Badness at fs/sysfs/dir.c:451 NIP: c00000000022b1fc LR: c00000000022b1f8 CTR: 0000000000000001 REGS: c00000097c1238e0 TRAP: 0700 Tainted: G W (2.6.35-rc2+) MSR: 8000000000029032 CR: 28008084 XER: 20000000 TASK = c00000078c8d0090[1] 'swapper' THREAD: c00000097c120000 CPU: 0 GPR00: c00000000022b1f8 c00000097c123b60 c000000000fc1950 0000000000000056 GPR04: 0000000000000000 ffffffffffffffff 0000000000000007 0000000000020000 GPR08: 0000000000006922 0000000000000000 00000000000068d4 000000000000000a GPR12: 0000000028008082 c00000000ed70000 0000000001adfa78 0000000000f86800 GPR16: 0000000003400000 000000000021e1af 0000000000c89468 0000000002a5a970 GPR20: 0000000000000000 0000000002a5a4f0 0000000000000040 c0000000002ddbd8 GPR24: c00000000022b17c 0000000000001000 c0000003a91f0280 c0000003ae040180 GPR28: c00000097c123c80 c000000b7aaa9c70 c000000000f61558 ffffffffffffffef NIP [c00000000022b1fc] .sysfs_add_one+0xfc/0x170 LR [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 Call Trace: [c00000097c123b60] [c00000000022b1f8] .sysfs_add_one+0xf8/0x170 (unreliable) [c00000097c123c10] [c00000000022cbb8] .sysfs_do_create_link+0x118/0x250 [c00000097c123cd0] [c0000000002ddb14] .pci_create_sysfs_dev_files+0x414/0x640 [c00000097c123da0] [c000000000943dc0] .pci_sysfs_init+0x34/0x90 [c00000097c123e30] [c00000000000972c] .do_one_initcall+0x5c/0x200 [c00000097c123ee0] [c0000000009104e0] .kernel_init+0x270/0x32c [c00000097c123f90] [c000000000030f54] .kernel_thread+0x54/0x70 Instruction dump: 7f44d378 4bfffec1 e89e8030 4be1eb05 60000000 e89d0018 4be1eaf9 60000000 7c641b78 e87e8038 48369195 60000000 <0fe00000> 7f43d378 4bf5e1bd 60000000 rtc-generic rtc-generic: setting system clock to 2010-06-07 14:08:21 UTC (1275919701) -- 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/