View previous topic :: View next topic |
Author |
Message |
chrism Guru
Joined: 15 Jul 2004 Posts: 526
|
Posted: Wed Feb 23, 2005 10:26 pm Post subject: How does Coldplug work? |
|
|
Hi,
I was using genkernel and emerged coldplug. Now I compiled my own Kernel and therefor deleted coldplug from my default runlevel.
Now I found out that one of my Networkcards aren't working anymore(which is no suprise, since I didn't compile in the support for that type of card.)
Just for the fun of it I added coldplug to the default runlevel again, and now the networkcards works again. How can that be? Does coldplug bring his own Modules or something?
Thanks,
Chris |
|
Back to top |
|
|
chrism Guru
Joined: 15 Jul 2004 Posts: 526
|
Posted: Tue Mar 01, 2005 6:41 pm Post subject: |
|
|
No one knows how coldplug works??
I still haven't found any satisfying answers.
Thanks,
Chris |
|
Back to top |
|
|
chunderbunny Veteran
Joined: 31 May 2004 Posts: 1281 Location: 51°24'27" N, 0°57'15" W
|
Posted: Tue Mar 01, 2005 7:18 pm Post subject: |
|
|
Maybe when you compiled your own kernel you compiled some stuff as modules? |
|
Back to top |
|
|
chrism Guru
Joined: 15 Jul 2004 Posts: 526
|
Posted: Wed Mar 02, 2005 9:42 pm Post subject: |
|
|
chunderbunny wrote: | Maybe when you compiled your own kernel you compiled some stuff as modules? |
So coldplug is needed to load modules?
Chris |
|
Back to top |
|
|
Jengu Guru
Joined: 28 Oct 2004 Posts: 384
|
Posted: Wed Mar 02, 2005 10:24 pm Post subject: |
|
|
yellowhippy wrote: | chunderbunny wrote: | Maybe when you compiled your own kernel you compiled some stuff as modules? |
So coldplug is needed to load modules?
Chris |
That's exactly what coldplug does. It loads modules automatically so you don't have to specify which ones to load in a config file. Whether you've just compiled your own kernel doesn't matter -- what matters is whether or not you've compiled support for your hardware into the kernel or compiled it in as a module. If your network card only works with coldplug, then you've compiled it in as a module. |
|
Back to top |
|
|
schiotz Apprentice
Joined: 20 Jan 2004 Posts: 206 Location: Denmark
|
Posted: Thu Mar 03, 2005 9:16 am Post subject: |
|
|
Jengu wrote: |
That's exactly what coldplug does. It loads modules automatically so you don't have to specify which ones to load in a config file. Whether you've just compiled your own kernel doesn't matter -- what matters is whether or not you've compiled support for your hardware into the kernel or compiled it in as a module. If your network card only works with coldplug, then you've compiled it in as a module. |
It apparently also calls the network initialization scripts after loading the module (just as hotplug does). Very useful, although it did confuse me a bit initially. |
|
Back to top |
|
|
chrism Guru
Joined: 15 Jul 2004 Posts: 526
|
Posted: Fri Mar 04, 2005 7:23 pm Post subject: |
|
|
Is it bad to use Coldplug? I mean does it slow the system down?
Thanks,
Chris |
|
Back to top |
|
|
gentoo_lan l33t
Joined: 08 Sep 2004 Posts: 891 Location: Charles Town, WV
|
Posted: Fri Mar 04, 2005 7:58 pm Post subject: |
|
|
I don't know that coldplug slows down your system. I know coldplug is very aggressive in the way it loads modules which can sometimes cause problems. For some reason coldplug will never allow me to coldplug pci devices so I just build them into my kernel or autoload them. |
|
Back to top |
|
|
chrism Guru
Joined: 15 Jul 2004 Posts: 526
|
Posted: Fri Mar 04, 2005 8:22 pm Post subject: |
|
|
gentoo_lan wrote: | I don't know that coldplug slows down your system. I know coldplug is very aggressive in the way it loads modules which can sometimes cause problems. For some reason coldplug will never allow me to coldplug pci devices so I just build them into my kernel or autoload them. |
Then I guess I just stay with coldlpug untill I get problems. but for know I stop worrying about it.
Thanks,
Chris |
|
Back to top |
|
|
|