29 Sep 00:53
udev: bug in /lib/udev/path_id -- wrong assumptions about ieee1394 devices?
From: Stefan Richter <stefanr <at> s5r6.in-berlin.de>
Subject: udev: bug in /lib/udev/path_id -- wrong assumptions about ieee1394 devices?
Newsgroups: gmane.linux.hotplug.devel, gmane.linux.kernel.firewire.devel
Date: 2008-09-28 22:54:21 GMT
Subject: udev: bug in /lib/udev/path_id -- wrong assumptions about ieee1394 devices?
Newsgroups: gmane.linux.hotplug.devel, gmane.linux.kernel.firewire.devel
Date: 2008-09-28 22:54:21 GMT
Hi, the path_id script was apparently written with the assumption that the hierarchy of IEEE1394 device representation begins with fw-host devices and ends with children (node entry devices) or grandchildren (unit directory devices) of them. If there are more levels of descendant devices than that, i.e. if there are children of unit directory devices, then path_id may get stuck with 100% CPU utilization. This is not a problem with current mainline drivers. But there is a new driver to be added soon which adds input devices which would naturally be children of unit directory devices. (It's the firedtv driver for FireDTV DVB devices which feature a remote control. See http://ieee1394.wiki.kernel.org/index.php/Out-of-tree_Kernel_Drivers and http://user.in-berlin.de/~s5r6/linux1394/firedtv/.) I will work around this path_id bug by making the input devices children of the fw-host devices. The drawback is that some useful information from the unit directory device and node entry device (like model, vendor, and unique ID) will be unavailable that way. Strangely, path_id does not hang due to the dvb child and dvb/* grandchildren of the node entry device. (I tested with Gentoo's udev-124-r1.) I hope that I won't need that workaround when I port firedtv from the ieee1394 stack to the firewire stack. The firewire stack does not have(Continue reading)
RSS Feed