All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: Kay Sievers <kay.sievers@vrfy.org>
Cc: Greg KH <greg@kroah.com>, "Rafael J. Wysocki" <rjw@sisk.pl>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Tejun Heo <htejun@gmail.com>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: linux-2.6.23-git3: Many sysfs-related warnings in dmesg
Date: Wed, 17 Oct 2007 12:44:05 +0200	[thread overview]
Message-ID: <20071017104405.GS5043@kernel.dk> (raw)
In-Reply-To: <20071017103345.GR5043@kernel.dk>

On Wed, Oct 17 2007, Jens Axboe wrote:
> On Wed, Oct 17 2007, Kay Sievers wrote:
> > On 10/16/07, Jens Axboe <jens.axboe@oracle.com> wrote:
> > > On Tue, Oct 16 2007, Greg KH wrote:
> > > > On Tue, Oct 16, 2007 at 10:04:51PM +0200, Rafael J. Wysocki wrote:
> > > > > On Tuesday, 16 October 2007 06:50, Greg KH wrote:
> > > > > > On Sat, Oct 13, 2007 at 09:26:32PM +0200, Rafael J. Wysocki wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > There are many traces like this in my dmesg from 2.6.23-git3 (they don't
> > > > > > > appear for vanilla 2.6.23):
> > > > > > >
> > > > > > > <4>sysfs: duplicate filename 'ethxx1' can not be created
> > > > > > > WARNING: at /home/rafael/src/linux-2.6/fs/sysfs/dir.c:425 sysfs_add_one()
> > > > > > >
> > > > > > > Call Trace:
> > > > > > >  [<ffffffff802d1532>] sysfs_add_one+0x5c/0xc9
> > > > > > >  [<ffffffff802d2411>] sysfs_create_link+0xd1/0x12c
> > > > > > >  [<ffffffff803756da>] device_rename+0x17a/0x1db
> > > > > > >  [<ffffffff803c903d>] dev_change_name+0x114/0x20c
> > > > > > >  [<ffffffff803c9339>] dev_ifsioc+0x204/0x2d0
> > > > > > >  [<ffffffff803c9925>] dev_ioctl+0x520/0x633
> > > > > > >  [<ffffffff803bf445>] sk_alloc+0x37/0x10c
> > > > > > >  [<ffffffff8024b977>] up_read+0x9/0xb
> > > > > > >  [<ffffffff803bc65e>] sock_ioctl+0x1fe/0x20c
> > > > > > >  [<ffffffff8029b34a>] do_ioctl+0x2a/0x77
> > > > > > >  [<ffffffff8029b5e8>] vfs_ioctl+0x251/0x26e
> > > > > > >  [<ffffffff8029b664>] sys_ioctl+0x5f/0x83
> > > > > > >  [<ffffffff8020bd4e>] system_call+0x7e/0x83
> > > > > > >
> > > > > > > net ethxx1: device_rename: sysfs_create_symlink failed (-17)
> > > > > > > sysfs: duplicate filename 'eth1' can not be created
> > > > > > >
> > > > > > > Everything seems to work, but this just looks fishy.
> > > > > >
> > > > > > This is a userspace program renaming your network device to a name that
> > > > > > is already in use.  What distro and release is this?
> > > > >
> > > > > openSUSE 10.2, with some updates (not the most recent, though).
> > > >
> > > > Can you try 10.3?  I think we fixed this issue there.
> > >
> > > Ehm nope:
> > >
> > > Oct 16 19:36:27 carl kernel: sysfs: duplicate filename 'wlan0_rename'
> > > can not be created
> > > Oct 16 19:36:27 carl kernel: udev: renamed network interface wmaster0 to
> > > eth1
> > > Oct 16 19:36:27 carl kernel: WARNING: at fs/sysfs/dir.c:425
> > > sysfs_add_one()
> > > Oct 16 19:36:27 carl kernel:  [<c01b2dbf>] sysfs_add_one+0x9f/0xe0
> > > Oct 16 19:36:27 carl kernel:  [<c01b3b76>] sysfs_create_link+0x86/0x110
> > > Oct 16 19:36:27 carl kernel:  [<c02398ca>] device_rename+0x17a/0x1e0
> > > Oct 16 19:36:27 carl kernel:  [<c015b56f>] filemap_fault+0x1ff/0x400
> > > Oct 16 19:36:27 carl kernel:  [<c02b8fc0>] dev_change_name+0xb0/0x210
> > > Oct 16 19:36:27 carl kernel:  [<c02b9779>] dev_ioctl+0x3c9/0x530
> > > Oct 16 19:36:27 carl kernel:  [<c01a1938>]
> > > inotify_d_instantiate+0x18/0x80
> > > Oct 16 19:36:27 carl kernel:  [<c0120044>] do_page_fault+0x4a4/0x6f0
> > > Oct 16 19:36:27 carl kernel:  [<c02ac080>] sock_ioctl+0x0/0x220
> > > Oct 16 19:36:27 carl kernel:  [<c01851ab>] do_ioctl+0x2b/0x90
> > > Oct 16 19:36:27 carl kernel:  [<c02ad50b>] sys_socket+0x2b/0x50
> > > Oct 16 19:36:27 carl kernel:  [<c018542e>] vfs_ioctl+0x21e/0x2a0
> > > Oct 16 19:36:27 carl kernel:  [<c01854ed>] sys_ioctl+0x3d/0x70
> > > Oct 16 19:36:27 carl kernel:  [<c01042d6>] sysenter_past_esp+0x6b/0xa1
> > > Oct 16 19:36:27 carl kernel:  =======================
> > > Oct 16 19:36:27 carl kernel: net wlan0_rename: device_rename:
> > > sysfs_create_symlink failed (-17)
> > 
> > Are you switching from the ipw to the iwl driver?
> > Care to delete (or remove the entries):
> >   /etc/udev/rules.d/70-persistent-net.rules
> > and try with iwl only? It should work then, even when going back to ipw.
> 
> Yep, that's exactly what I'm doing. I'll try and kill that udev entry.

Removing that udev rule file got rid of the warning here. Now I just
have to figure out why iwl3945 doesn't work for me in the vanilla
kernel, when it does in the SUSE kernel...


-- 
Jens Axboe


  reply	other threads:[~2007-10-17 10:44 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-13 19:26 linux-2.6.23-git3: Many sysfs-related warnings in dmesg Rafael J. Wysocki
2007-10-16  4:50 ` Greg KH
2007-10-16 20:04   ` Rafael J. Wysocki
2007-10-16 20:42     ` Greg KH
2007-10-16 20:50       ` Jens Axboe
2007-10-16 21:13         ` Rafael J. Wysocki
2007-10-16 21:36           ` Greg KH
2007-10-16 23:58             ` Rafael J. Wysocki
2007-10-17 10:17               ` Kay Sievers
2007-10-17 17:35                 ` Rafael J. Wysocki
2007-10-16 21:37         ` Greg KH
2007-10-16 22:32           ` David Miller
2007-10-16 23:23             ` Greg KH
2007-10-17 10:16               ` Kay Sievers
2007-10-24 23:43                 ` Greg KH
2007-10-24 23:52                   ` Greg KH
2007-10-25 16:58                     ` Kay Sievers
2007-10-17 10:22         ` Kay Sievers
2007-10-17 10:33           ` Jens Axboe
2007-10-17 10:44             ` Jens Axboe [this message]
2007-10-16 20:49     ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2007-10-26 17:05 Larry Finger
2007-10-26 18:07 ` Kay Sievers
2007-10-26 18:20   ` Larry Finger
2007-10-27  2:36   ` Greg KH
2007-10-27  6:08     ` Kay Sievers
2007-10-27  6:32       ` Greg KH

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=20071017104405.GS5043@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=greg@kroah.com \
    --cc=htejun@gmail.com \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=torvalds@linux-foundation.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.