From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 06 Oct 2004 18:07:49 +0000 Subject: Re: Problems using scsi_id with udevstart Message-Id: <20041006180749.GA10986@vrfy.org> List-Id: References: <1097019226.2300.38.camel@bluto.andrew> In-Reply-To: <1097019226.2300.38.camel@bluto.andrew> 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, Oct 06, 2004 at 11:33:55AM -0600, Andrew Patterson wrote: > On Wed, 2004-10-06 at 18:44 +0200, Kay Sievers wrote: > >=20 > > Where is the "path =3D /sbin/scsi_id" line coming from? Other lines are= missing. > > Did you change anything in the code. It should look more like this: > >=20 >=20 > Yep, added some debugging code. Here are the diff's: Ok, I've no idea :) Could you please try: DEVPATH=3D/block/sda ACTION=ADd strace -o /tmp/udev-callout-trace -f -s10= 00 /sbin/udev block It will create a ~2MB file in /tmp with something like this: 26863 rt_sigaction(SIGPIPE, {0x2ab9a0, [], SA_RESTORER, 0x212718}, {SIG_D= FL}, 8) =3D 0=C2=B6 26863 send(3, "<15>Oct 6 19:52:27 udev: execute_program: execute \'/sbin= /scsi_id\' with main argument", 85, 0) =3D 85=C2=B6 26863 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) =3D 0=C2=B6 26863 execve("/sbin/scsi_id", ["/sbin/udev", "block"], [/* 26 vars */]) = =3D 0=C2=B6 26863 uname({sys=3D"Linux", node=3D"pim", ...}) =3D 0=C2=B6 26863 brk(0) =3D 0x9f0e000=C2=B6 ... This should give us some more information. Please send it to me by privat email. Thanks, Kay ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ 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