LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   hotplug, udev, and module loading (http://www.linuxquestions.org/questions/linux-general-1/hotplug-udev-and-module-loading-451826/)

shievelet 06-05-2006 12:14 PM

hotplug, udev, and module loading
 
i've been reading lots about them...man pages, READMEs, online summaries, etc, but things are still a little fuzzy for me about udev and hotplug.

as far as i have it, when i plug in a device...say my lexar usb jumpdrive, the following happens:

1. the kernel detects the device and places it's properties in /sys
2. the kernel sends a hotplug event to udev
3. udev reads from /sys and finds the appropriate /etc/hotplug/*.agent script
4. the .agent script loads the appropriate module for the device and handles setup
5. udev checks /etc/udev/rules.d/* for the appropriate device to create in /dev
6. the device is created, the module is loaded, and everyone is happy

is this correct somewhat?

basically all of this is stemming from my need to upgrade from udev 056 to 093 without it breaking the universe. i get a:

Code:

udevd[27552]: init_udevd_socket: bind failed: Address already in use
and my system won't boot

if this has something to do with hotplug, i need to figure it out. the only thing i can think of is that my bootscripts aren't compatible with the new version of udev and the old hotplug scripts

thanks in advance for any insight

LFS 6.1

timmeke 06-06-2006 05:19 AM

It sounds to me like 2 apps are trying to allocate the same socket. Are you running 2 copies of udev, by any chance?


All times are GMT -5. The time now is 06:46 PM.