Go Back   DriverHeaven > Forums > Software / Tools > Linux Operating Systems
Register Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old Feb 8, 2006, 07:35 AM   #1 (permalink)
RIV@NVX
Freedom is a feature.
 
RIV@NVX's Avatar
 
Join Date: Jul 2002
Location: Croatia, Rijeka
Posts: 4,339
RIV@NVX is on a distinguished road

udev/hotplug/coldplug in Gentoo

Did I get this straight?
1) In Gentoo, hotplug is split into hotplug and coldplug package; colplug searches for hardware, and hotplug loads firmware.
2) Lastest udev has all the functions of hotplug and is supposed to make it obsolete.

I ask because:
1) ipw2200-firmware has dependancy on hotplug
2) In case I remove hotplug/coldplug from boot, udev DOES NOT probe device or load firmware, therefore I see no ipw2200 network device (eth1 in my case) and I need to manually modprobe it.

So:
1) How come I still need hotplug, even I use udev 084?
2) Did I miss something in udev configuration?

In Ubuntu (and other distros), new udev made hotplug obsolete and everything works normally.
__________________
RIV@NVX is offline   Reply With Quote
Old Feb 8, 2006, 11:38 AM   #2 (permalink)
UberLord
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,256
UberLord is on a distinguished road

The key part you're missing is coldplug.

the "coldplug" package has a coldplug init script which does what you need.

Or you can enable udev coldplugging be editing /lib/rcscripts/addons/udev-start.sh and uncommenting the line regarding coldplug.
__________________
Gentoo Linux - Developer (baselayout)
Read my blog

"I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours."
Stephen Roberts
UberLord is offline   Reply With Quote
Old Feb 9, 2006, 03:10 PM   #3 (permalink)
RIV@NVX
Freedom is a feature.
 
RIV@NVX's Avatar
 
Join Date: Jul 2002
Location: Croatia, Rijeka
Posts: 4,339
RIV@NVX is on a distinguished road

Quote:
Originally Posted by UberLord
Or you can enable udev coldplugging be editing /lib/rcscripts/addons/udev-start.sh and uncommenting the line regarding coldplug.
I will take a look, thanks for the info. So, if I do that, I can remove both coldplug and hotplug and leave only udev?
__________________
RIV@NVX is offline   Reply With Quote
Old Feb 13, 2006, 12:08 PM   #4 (permalink)
UberLord
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,256
UberLord is on a distinguished road

double post
__________________
Gentoo Linux - Developer (baselayout)
Read my blog

"I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours."
Stephen Roberts
UberLord is offline   Reply With Quote
Old Feb 13, 2006, 12:09 PM   #5 (permalink)
UberLord
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,256
UberLord is on a distinguished road

Quote:
Originally Posted by RIV@NVX
I will take a look, thanks for the info. So, if I do that, I can remove both coldplug and hotplug and leave only udev?

In theory yes, but I can tell you that it won't work :P

You need to replicate the coldplug code there in a coldplug init script - I'm trying to get the udev maintainer to do this

It has to happen in an init script otherwise coldplugging of network interfaces (or anything that triggers a script in /etc/init.d) would happen too early and we forceably block this.

I may look into posting such a script if/when I can be bothered to write one as the existing coldplug package works fine for me.
__________________
Gentoo Linux - Developer (baselayout)
Read my blog

"I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours."
Stephen Roberts
UberLord is offline   Reply With Quote
Reply



Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
Artwork by Allan 'Zardon' Campbell, vBulletin implementation by Craig '5320' Humphreys based on original artwork by Ratchet.

All times are GMT -5. The time now is 04:39 AM. Copyright ©2008 DriverHeaven.net