lkml.org 
[lkml]   [2010]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@hp.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.


\
 
 \ /
  Last update: 2010-06-01 22:09    [W:0.080 / U:2.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site