Re: 2.6.12 udev hangs at boot

From: Greg KH
Date: Tue Jun 21 2005 - 04:57:35 EST


On Sun, Jun 19, 2005 at 04:39:27PM +0100, Nick Warne wrote:
> Andrew Haninger wrote:
>
> > Anyway, just a heads-up to anyone else experiencing a breaking of
> > 'less' and missing /dev files.
>
> Yep... I had 'less' break too (you will find 'man' is broke also, rolling on
> from that).
>
> It turns out to be a problem (typo?) in /etc/udev/rules.d/udev.rules
>
> Try changing:
>
> # pty devices
> KERNEL="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k"
> KERNEL="tty[p-za-e][0-9a-f]*", NAME="tty/s%n", SYMLINK="%k"
>
> to:
>
> # pty devices
> KERNEL="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k"
> KERNEL="tty[p-za-e][0-9a-f]*", NAME="pty/s%n", SYMLINK="%k"
>
> (change is in second line tty -> pty)

Hm, that's what already ships with the udev tarball in the gentoo rule
set (which is usually the most up-to-date rule set in the tarball.)

Which one are you looking at?

> As to the missing /dev/ entries - remember you are using udev now - they
> appear 'on the fly' as and when you plug something in - ensure you have set
> 'hotplug' to start.

Not necessarily, people are getting udev working and full hotplug
support by setting /sbin/hotplug to NULL. Ah, the magic of netlink...

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/