udevsend: main: error sending message: Connection refused

Jim Gifford lfs at jg555.com
Wed Feb 1 07:26:15 PST 2006


Ken Moffat wrote:
> Actually, there _is_ a problem here - hotplugging in the current book 
> doesn't work (or maybe doesn't _all_ work), although it's mostly a 
> BCLFS issue (example - I've got a usb printer, the device node for 
> /dev/usb/lp0 isn't created).
>
>  I eventually found a post from Kay on the hotplug list, saying that 
> from udev076 the initscript has to start udevd --daemon (this 
> apparently used to happen through udevsend).
>
>  A patch follows which fixes the udev initscript in init.d on a built 
> system, works for me with 2.6.14.5.  I'm open to suggestions/advice on 
> how to handle this for the book (probably, the problem will disappear 
> when the new udev stuff goes in ?)  Do we need new bootscripts for the 
> short term, or would a patch be better (the problem is only in clfs, 
> lfs is still using an older udev) ?
>
> Ken
>
>
> --- udev.bak    2006-02-01 01:30:00.000000000 +0000
> +++ udev    2006-02-01 01:43:42.000000000 +0000
> @@ -69,6 +69,9 @@
>          # and save it's status so we can report failures.
>          udevstart || failed=1
>
> +        # for udev076 onwards, run udev as a daemon, it is no longer 
> automatic
> +        /sbin/udevd --daemon
> +
>          # Now, create some required files/directories/devices that sysfs
>          # doesn't export for us.
>          make_extra_nodes
>
This should probably be sent to lfs-dev and so Nathan can update the 
bootscripts.

-- 
------
jim at linuxfromscratch.org
lfs at jg555.com

LFS User # 2577
Registered Linux User # 299986




More information about the cross-lfs mailing list