Hi, I can't boot my computer with ~udev-089 while using kernel 2.6.13.5 The problem lies in /lib/rcscripts/addons/udev-start.sh in function populate_udev() if [ "$(get_KV)" -gt "$(KV_to_int '2.6.14')" ] ; then ebegin "Populating /dev with existing devices through uevents" udevtrigger eend 0 else ebegin "Populating /dev with existing devices with udevstart" /sbin/udevstart eend 0 fi but according to the udev-089 and udev-089-r1 ebuilds, udevstart gets no longer installed. My solution was to hack the ebuild and let install udevstart again but I know that udevstart is considered as deprecated so I don't know if this was the correct solution. Cheers Poly-C
Crap, you are right, I'll go fix this. udevstart should only be for older kernels...
Fixed in 089-r2
Hi. You have already solved that bug, so this may be of no use. Bud i didn't want to throw it away and so i post it anyway: HTH, sg --- sys-fs/udev/udev-089-r2.ebuild 2006-04-04 22:21:05.000000000 +0200 +++ /usr/local/overlays/portage/sys-fs/udev/udev-089-r3.ebuild 2006-04-04 23:42:47.000000000 +0200 @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-089-r2.ebuild,v 1.1 2006/04/04 20:21:05 gregkh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-089-r1.ebuild,v 1.1 2006/04/04 03:27:23 gregkh Exp $ -inherit eutils flag-o-matic +inherit eutils flag-o-matic toolchain-funcs DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)" HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" @@ -77,9 +77,8 @@ dosbin udev dosbin udevd dosbin udevsend - dosbin udevstart dosbin udevtrigger - dosbin udevcontrol + dosbin udevcontrol dosbin extras/run_directory/udev_run_devd dosbin extras/run_directory/udev_run_hotplugd dosbin extras/ata_id/ata_id @@ -89,6 +88,12 @@ dosbin extras/path_id/path_id dosbin extras/cdrom_id/cdrom_id + # Check wether the running kernel has revision 2.6.15 or newer (uevent interface) + + if [ $(KV_to_int 2.6.15) -gt $(KV_to_int ${KV}) ]; then + dosbin udevstart + fi + # vol_id library (needed by mount and HAL) dolib extras/volume_id/lib/*.a extras/volume_id/lib/*.so* # move the .a files to /usr/lib @@ -244,6 +249,15 @@ ewarn fi + if [ $(KV_to_int 2.6.15) -gt $(KV_to_int ${KV}) ]; then + ewarn "Your kernel does not support uevent interface." + ewarn "Only kernels with revision 2.6.15 or later support uevent." + ewarn "Deprecated udevstart has been installed to sustain functionality," + ewarn "but anyway you should upgrade your kernel." + else + einfo "Your kernel supports uevent. /sbin/udevstart has not been merged." + fi + einfo einfo "For more information on udev on Gentoo, writing udev rules, and" einfo " fixing known issues visit:"
Hm, patches only work as attachments... Anyway, we don't want to check the running kernel, because what happens if you want to revert to an older one after you have already installed udev? So that kind of patch doesn't work, the current ebuild should work properly for you now. If not, please let me know.
*** Bug 129132 has been marked as a duplicate of this bug. ***