[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C056854.3@athenacr.com>
Date: Tue, 01 Jun 2010 16:06:44 -0400
From: Brian Bloniarz <bmb@...enacr.com>
To: Mikael Pettersson <mikpe@...uu.se>
CC: linux-kernel@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>, achiang@...onical.com
Subject: Re: [2.6.35-rc1 regression] sysfs: cannot create duplicate filename
... XVR-600 related?
On 06/01/2010 03:57 PM, Mikael Pettersson wrote:
> Booting 2.6.35-rc1 on a Sun Blade 2500 Red, I'm greeted with:
>
> ------------[ cut here ]------------
> WARNING: at fs/sysfs/dir.c:451 sysfs_add_one+0x74/0x90()
> sysfs: cannot create duplicate filename '/devices/root/f0079a58/pci0003:00/0003:00:02.0/slot'
> Modules linked in:
> Call Trace:
> [0000000000458e20] warn_slowpath_fmt+0x2c/0x3c
> [0000000000501dac] sysfs_add_one+0x74/0x90
> [0000000000502cd4] sysfs_do_create_link+0xf0/0x184
> [000000000055a62c] pci_create_sysfs_dev_files+0x304/0x428
> [000000000074c6f8] pci_sysfs_init+0x20/0x6c
> [0000000000426acc] do_one_initcall+0x44/0x164
> [000000000073a32c] kernel_init+0x1a0/0x238
> [000000000042aea4] kernel_thread+0x30/0x48
> [0000000000640efc] rest_init+0x18/0x88
> ---[ end trace 8093a3146373dac8 ]---
I've seen this too on KVM; this commit caused it:
commit 75568f8094eb0333e9c2109b23cbc8b82d318a3c
Author: Alex Chiang <achiang@...com>
Date: Mon Mar 8 10:24:29 2010 -0700
PCI: create function symlinks in /sys/bus/pci/slots/N/
Create convenience symlinks in sysfs, linking slots to device
functions, and vice versa. These links make it easier for users to
figure out which devices actually live in what slots.
Some discussion happened at http://lkml.org/lkml/2010/4/12/259.
Alex Chiang is working on resolving this AFAIK, adding him.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists