From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Stekloff Date: Tue, 23 Mar 2004 19:24:34 +0000 Subject: Re: libsysfs/udev hang Message-Id: <200403231124.34167.dsteklof@us.ibm.com> List-Id: References: <4060259D.4000905@gmx.net> In-Reply-To: <4060259D.4000905@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Tuesday 23 March 2004 11:09 am, Greg KH wrote: > On Tue, Mar 23, 2004 at 06:04:16PM +0100, Carl-Daniel Hailfinger wrote: > > > That's probably the bug. > > > > Then it has to be fixed in udevinfo.c:print_device_chain, too. > > Probably. Care to send a patch? Yes, udevinfo.c print_device_chain is wrong. It doesn't properly use libsys= fs=20 mechanisms of "open/close" and "get". I will make a patch, unless someone=20 else beats me to it. If there's confusion on "open/close" and "get" and how that works with=20 libsysfs, please let me know. I can explain further. Thanks, Dan > > Unfortunately this does not explain why the lockup vanishes once I > > compile with DEBUG=3Dtrue. Added debugging should not change the behavi= our > > of a library, right? > > It "shouldn't", correct. But who knows :) > > Why not ask on the mailing list for libsysfs? > > thanks, > > greg k-h > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=3Dclick > _______________________________________________ > 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 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&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