Two latest kernels and udev

Bill Nottingham notting at redhat.com
Thu May 5 18:44:34 UTC 2005


Ville Skyttä (ville.skytta at iki.fi) said: 
> On Thu, 2005-05-05 at 20:36 +0200, Kyrre Ness Sjobak wrote:
> > I am not able to boot my computer using either of the two latest kernels
> > (2.6.11-1.1286_FC4 and .1284). All that happens is during "Starting
> > udev" i get the error "MAKEDEV mkdir: File exists". Yet udev gets the
> > green "OK". It then hangs at "Initiating hardware...".
> > 
> > Kernel .1282, .1276, and .1275 are all OK - they boot, no problem.
> > (there is an error "mknod: failed to create /dev/"{"console", "zero",
> > "null"}" 17"
> > 
> > Anyone with similar experiences?
> 
> Yep.

Index: start_udev
===================================================================
RCS file: /cvs/dist/rpms/udev/devel/start_udev,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- start_udev	2 Mar 2005 16:19:37 -0000	1.35
+++ start_udev	5 May 2005 16:24:22 -0000	1.36
@@ -200,7 +200,7 @@
 echo -n "$STRING "
 
 # mount the tmpfs on ${udev_root%/}, if not already done
-LANG=C fgrep -q "none ${udev_root%/} " /proc/mounts || { 
+LANG=C awk "\$2 == \"${udev_root%/}\" && \$3 == \"tmpfs\" { exit 1 }" /proc/mounts && {
 	if LANG=C fgrep -q "none ${udev_root%/}/pts " /proc/mounts; then
 		PTSDIR=$(mktemp -d)
 		mount --move $udev_root/pts "$PTSDIR"


Bill




More information about the fedora-devel-list mailing list