From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Date: Mon, 23 Jan 2006 18:00:00 +0000 Subject: Re: udev issues Message-Id: <200601232100.01067.arvidjaar@mail.ru> List-Id: References: <000901c62034$83ee5260$6401a8c0@HomePC> In-Reply-To: <000901c62034$83ee5260$6401a8c0@HomePC> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 23 January 2006 20:22, Brian Sammon wrote: > Let me see if I can explain the situation a bit more. > In Debian, the testing udev package "conflicts" with hotplug. The stable > udev package is 0.056-3, too old for recent 2.6 kernels. As a result, in > Debian, if you want to dual-boot 2.4 and 2.6, your 2.4 kernel won't have > any kind of hotplugging support if you use the udev debian package for a > recent 2.6 kernel. > > In fact, this is primarily a Debian problem. However, there is an > unfortunate lack of distribution-independent information about how to set > things up for dual-boot between 2.4 and 2.6. > > When I was looking into this a few weeks ago, I learned that there was one > simple way of dealing with this: Forget udev, and use hotplug for both 2.4 > and 2.6. > Alternatively, I suspect there may be a way to get udev and hotplug to > coexist, and to get your startup scripts to automatically figure out which > one to run. > Debian doesn't have anything like that (at least not for recent 2.6 > kernels). If I get around to hacking something like that together manually, > I'll be sure to post a howto. > I do not understand the problem. On 2.4 you are using hotplug like always (sysctl -w kernel.hotplug="/sbin/hotplug"). On 2.6 you use sysctl -w kernel.hotplug="/sbin/udevsend" or - on recent kernel - simply /bin/true (I guess it gets removed in near future anyway). How do they conflict (except for coldplugging but here trivial version check is sufficient)? So there is nothing inherently broken, just that maintainers do not want to spend time on those interoperability issues. - -andrey -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD1RmgR6LMutpd94wRAtSVAJ95Eyl2qRwoDsss32SvmNog+E27GgCfWv/h CRoL/6Sgy5rx3XI7ccWv2RU=ircV -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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