From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Schwarzott Date: Wed, 11 Apr 2007 06:41:16 +0000 Subject: Re: Problems with udev > 106 and multiple network cards Message-Id: <200704110841.17145.zzam@gentoo.org> List-Id: References: <461BFFDD.2040401@googlemail.com> In-Reply-To: <461BFFDD.2040401@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Dienstag, 10. April 2007, Gabriel C wrote: > Hello, > > I have some problems with udev 107 and 108 with my network cards. > > This box has 3 network cards ( 2 at the moment ) a buildin sis900 , and > 2 RealTek cards one USB and one pcmcia. > > I use the pcmcia RealTek one as default , sis900 is not used while > borken and the usb one is used just sometimes for my LAN. > > I use on this box minimal initramfs ( FS drivers etc to boot ) but I get > the same problem without initramfs too. > > After upgrading from udev 106 to 107 ( later to 108 ) and rebooting the > box my network stoped working. > > I figured the 'cards names' looks weird , random they are called now > ethX_rename ( > http://frugalware.org/~crazy/other/udev/sys_class_net.txt | > http://frugalware.org/~crazy/other/udev/ifconfig-a.txt ) > as well I get for each card an long timeout ( 5 to 15 seconds for each > wrong named card ) on boot because the 70-persistent-net.rules. > > Deleting the rules before udev starts make the timout be human again ( > like 2 - 3 seconds ) but the rules are still wrong because I get as > NAME ethX_rename. > I suspect it is this bug:=20 http://thread.gmane.org/gmane.linux.hotplug.devel/11001 Look into /etc/udev/rules.d/70-persistent-net.rules, and=20 into /dev/.udev/tmp-rules--70-persistent-net.rules if there are rules that = set the same name for two different cards (mac addresses). The tmp-location is used as long as / is read-only at udev startup time. Easiest is to delete both files and reboot / or edit the set names for=20 net-devices to be unique. Then the error should be gone. If not you found another bug. > > I noticed one more strange thing with the db , while in <=3D 106 the db > was like foo\@bar -> something , >106 looks here like %2fbar%2fbaz -> > something > ( http://frugalware.org/~crazy/other/udev/udev_db.txt ) > This is OK, it's the new name-encoding. Matthias --=20 Matthias Schwarzott (zzam) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel