LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-05-2006, 01:14 PM   #1
shievelet
LQ Newbie
 
Registered: May 2006
Distribution: LFS
Posts: 18

Rep: Reputation: 0
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
 
Old 06-06-2006, 06:19 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
udev, hotplug and kernel hussam Linux - General 2 02-19-2006 12:01 AM
installing hotplug removes hal & udev. How to get rid? dimarcoe Linux - Software 5 01-07-2006 09:16 PM
iPod not mounting with sbp2 / udev / autofs / hotplug nakko Linux - Hardware 3 06-13-2005 06:50 PM
udev+hotplug+2.6.6=questions shilo Slackware 4 05-31-2004 09:43 PM
[kernel 2.6.5] hotplug/udev and compact flash rapazp Linux - Laptop and Netbook 0 04-12-2004 04:03 PM


All times are GMT -5. The time now is 10:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration