HardwareHeaven.com
Looking for the skin chooser?
 
 
  • Home

  • Reviews

  • Articles

  • News

  • Tools

  • GamingHeaven

  • Forums

  • Network

 

Go Back   HardwareHeaven.com > Forums > Software / Tools > Linux Operating Systems


Linux Operating Systems Talk about all Linux distributions and software here!

Reply
 
Thread Tools
Old Feb 8, 2006, 01:35 PM   #1
Freedom is a feature.
 
RIV@NVX's Avatar
 
Join Date: Jul 2002
Location: Croatia, Rijeka
Posts: 4,476
Rep Power: 67
RIV@NVX will become famous soon enough
System Specs

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.
__________________
-- Vedran
RIV@NVX is offline   Reply With Quote


Old Feb 8, 2006, 05:38 PM   #2
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 70
UberLord will become famous soon enough

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, 09:10 PM Threadstarter Thread Starter   #3
Freedom is a feature.
 
RIV@NVX's Avatar
 
Join Date: Jul 2002
Location: Croatia, Rijeka
Posts: 4,476
Rep Power: 67
RIV@NVX will become famous soon enough
System Specs

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?
__________________
-- Vedran
RIV@NVX is offline   Reply With Quote
Old Feb 13, 2006, 06:08 PM   #4
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 70
UberLord will become famous soon enough

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, 06:09 PM   #5
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 70
UberLord will become famous soon enough

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

Bookmarks

Thread Tools