From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 23 Mar 2005 17:53:47 +0000 Subject: Re: udevinfo messages Message-Id: <1111600427.4937.14.camel@localhost.localdomain> List-Id: References: <4241673C.8090901@conterra.de> In-Reply-To: <4241673C.8090901@conterra.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Wed, 2005-03-23 at 13:55 +0100, Dieter St=C3=BCken wrote: > While trying to get 2.6.11 running on my Suse 9.1 system I encountered so= me > problems with mkinitrd and the udev package Suse uses (seems to be a patc= hed > udev-052 version). I noticed a few funny synlinks within /dev: >=20 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.196950896 +0100 device2 -> = hda2 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.196950896 +0100 not2 -> hda2 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.196950896 +0100 found2 -> h= da2 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.196950896 +0100 in2 -> hda2 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.196950896 +0100 database2 -= > hda2 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.471909096 +0100 device1 -> = hdc1 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.471909096 +0100 not1 -> hdc1 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.471909096 +0100 found1 -> h= dc1 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.471909096 +0100 in1 -> hdc1 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.471909096 +0100 database1 -= > hdc1 > lrwxrwxrwx 1 root root 3 2005-03-21 15:33:54.785861368 +0100 mknod: -> h= da > lrwxrwxrwx 1 root root 3 2005-03-21 15:33:54.785861368 +0100 No -> hda > lrwxrwxrwx 1 root root 3 2005-03-21 15:33:54.785861368 +0100 such -> hda > lrwxrwxrwx 1 root root 3 2005-03-21 15:33:54.785861368 +0100 file -> hda > lrwxrwxrwx 1 root root 3 2005-03-21 15:33:54.785861368 +0100 or -> hda > lrwxrwxrwx 1 root root 3 2005-03-21 15:33:54.785861368 +0100 directory\n= ata_identify: -> hda > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.844852400 +0100 mknod:1 -> = hdg1 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.844852400 +0100 No1 -> hdg1 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.844852400 +0100 such1 -> hd= g1 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.844852400 +0100 file1 -> hd= g1 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.844852400 +0100 or1 -> hdg1 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.844852400 +0100 directory1 = -> hdg1 >=20 > I don't know exactly, what caused this in depth. But I found udevinfo > prints all error messages to stdout instead of using stderr, like: >=20 > if (retval !=3D 0) { > printf("device not found in database\n"); > goto exit; > } Ah, ok. I will change this. Thanks! > seems this is taken as a list of symliks to create. This looks pretty funny. :) > Seems there is some "ata_identify" utility involved, but I could not find > how this is used. It does not apear within the official udev-056 release. > Seems to be some SuSE/Redhad addition. >=20 > Can some one give me a hint, how to debug this? During boot there are some > messages scrolling by, but finally the console-font gets switched which c= lips > off my console history :-( You may search for PROGRAM=3D keys in all files in: /etc/udev/rules.d/ This is the only way to call external stuff from udev. One of these rules should match for ide-block-devices and seems to call udevinfo. Good luck, Kay ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Regist= er by 3/29 & save $300 http://ads.osdn.com/?ad_idh83&alloc_id=15149&op=CCk _______________________________________________ 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