From: Brian Bloniarz <bmb@athenacr.com>
To: Mikael Pettersson <mikpe@it.uu.se>
Cc: linux-kernel@vger.kernel.org,
"David S. Miller" <davem@davemloft.net>,
achiang@canonical.com
Subject: Re: [2.6.35-rc1 regression] sysfs: cannot create duplicate filename ... XVR-600 related?
Date: Tue, 01 Jun 2010 16:06:44 -0400 [thread overview]
Message-ID: <4C056854.3@athenacr.com> (raw)
In-Reply-To: <19461.26166.427857.612983@pilspetsen.it.uu.se>
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.
next prev parent reply other threads:[~2010-06-01 20:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-01 19:57 [2.6.35-rc1 regression] sysfs: cannot create duplicate filename ... XVR-600 related? Mikael Pettersson
2010-06-01 20:06 ` Brian Bloniarz [this message]
2010-06-01 22:31 ` David Miller
2010-06-01 22:51 ` Mikael Pettersson
2010-06-02 3:09 ` Alex Chiang
2010-06-02 3:53 ` Alex Chiang
2010-06-02 9:08 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C056854.3@athenacr.com \
--to=bmb@athenacr.com \
--cc=achiang@canonical.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mikpe@it.uu.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox