From: Jeff Garzik <jeff@garzik.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
"David S. Miller" <davem@davemloft.net>
Subject: Re: [bug, 2.6.24-rc1] sysfs: duplicate filename 'eth0' can not be created
Date: Mon, 29 Oct 2007 17:35:11 -0400 [thread overview]
Message-ID: <4726520F.1020605@garzik.org> (raw)
In-Reply-To: <20071029211746.GA19876@elte.hu>
Ingo Molnar wrote:
> hm, this seems to have popped up in the last few days, never had it
> before:
>
> sysfs: duplicate filename 'eth0' can not be created
> WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
>
> Call Trace:
> [<ffffffff802de00a>] sysfs_add_one+0x54/0xbd
> [<ffffffff802dee61>] sysfs_create_link+0xc6/0x11d
> [<ffffffff8047c491>] device_rename+0x175/0x1d6
> [<ffffffff806180a6>] dev_change_name+0x118/0x211
> [<ffffffff8061893c>] dev_ioctl+0x4fa/0x5f8
> [<ffffffff8062eb11>] netlink_insert+0x13c/0x14b
> [<ffffffff806a877f>] do_page_fault+0x3eb/0x73f
> [<ffffffff8060b909>] sock_ioctl+0x1f2/0x200
> [<ffffffff802a5a5d>] do_ioctl+0x21/0x6b
> [<ffffffff802a5cea>] vfs_ioctl+0x243/0x25c
> [<ffffffff802a5d54>] sys_ioctl+0x51/0x71
> [<ffffffff8020c02e>] system_call+0x7e/0x83
>
> net eth0: device_rename: sysfs_create_symlink failed (-17)
>
> 32-bit bzImage kernel - config attached. (The 64-bit kernel even lost
> connectivity due to this and ifcfg-eth0 got renamed to ifcfg-eth0.bak by
> kudzu.)
>
> detected order of the interfaces is:
>
> forcedeth 0000:00:0a.0: ifname eth0, PHY OUI 0x5043 @1
> eth1: RealTek RTL8139 at 0xffffc200001f2000
>
> and that's the ordering in /etc/sysconfig/network-scripts as well.
Does your setup do anything like try to rename the interfaces?
I cannot think of anything that changed recently in this area in net,
off the top of my head.
Jeff
next prev parent reply other threads:[~2007-10-29 21:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-29 21:17 [bug, 2.6.24-rc1] sysfs: duplicate filename 'eth0' can not be created Ingo Molnar
2007-10-29 21:35 ` Jeff Garzik [this message]
2007-10-29 21:49 ` Rick Jones
2007-10-29 21:40 ` Stephen Hemminger
2007-10-29 21:48 ` Ingo Molnar
2007-10-29 22:36 ` 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=4726520F.1020605@garzik.org \
--to=jeff@garzik.org \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).