Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Coldplug/Hotplug install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
AllenB
n00b
n00b


Joined: 25 Jan 2005
Posts: 64
Location: Portland, Oregon

PostPosted: Thu Jan 27, 2005 4:43 pm    Post subject: Coldplug/Hotplug install Reply with quote

Hey all,

Should I install Coldplug and Hotplug if I compile my kernel manually?

I complied the vanilla 2.6.10 kernel following the install guide but I think I may have misread the Coldplug and Hotplug section uder the Genkernel section.

Thanks
Back to top
View user's profile Send private message
curtis119
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 2160
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

PostPosted: Thu Jan 27, 2005 5:20 pm    Post subject: Reply with quote

Coldplug is necesarry if you built your kernel with modules and want the modules loaded automatically at system boot. You can do the same thing if you list all the modules in /etc/modules.autoload.d/kernel-2.4.x


Hotplug is necessary if you want removable devices like usb sticks, cameras, etc... to have their modules loaded and devices created in /dev. It also is used by HAL, dbus, Gnome-volume-manager to automount these things and put a nice icon on your desktop. KDE is expected to move to this in the next realease but still uses hotplug. All PCMCIA must have hotplug installed in order to function.

If you don't need any of this functionality then don't install them.

If you use udev to manage your devices (and you should since devfs will no longer be included in kernels starting with 2.7) then you really should be using hotplug but agian, if you have no removable media of any kind then it is not strictly necessary.

I suggest reading the udev guide to help determine if you need hotplug/coldplug.
http://www.gentoo.org/doc/en/udev-guide.xml
_________________
Gentoo: it's like wiping your ass with silk.
Back to top
View user's profile Send private message
thechris
Veteran
Veteran


Joined: 12 Oct 2003
Posts: 1203

PostPosted: Thu Jan 27, 2005 5:37 pm    Post subject: Reply with quote

from the logs:
Code:
bash-2.05b# cat /var/portage/2148-hotplug-20040923.log
 * WARNING: The hotplug init script is now gone (dead and burried.)
 * WARNING: If you want to load modules for hardware that was already
 * WARNING: discovered at boot time, like the old hotplug init script
 * WARNING: did, then emerge the coldplug package, and add coldplug to
 * WARNING: a runlevel, e.g. # rc-update add coldplug boot

 * WARNING: All firmware loaded by the hotplug scripts needs to be
 * WARNING: moved to the /lib/firmware directory, as the scripts now
 * WARNING: expect it to be in that location.

 * If you still have the file /etc/hotplug/isapnp.rc on your system,
 * please delete it by hand, the file /etc/hotplug/pnp.rc superseeds it.


its amazing what you can learn from setting PORT_LOGDIR in make.conf!
so amazing in fact, that I think they should suggest setting it up in the install docs...
_________________
HW problems. It's a VIA thing.
Back to top
View user's profile Send private message
AllenB
n00b
n00b


Joined: 25 Jan 2005
Posts: 64
Location: Portland, Oregon

PostPosted: Fri Jan 28, 2005 12:58 am    Post subject: Reply with quote

Thanks guys for the info.

I installed udev and got it up and running. It really screwed up my Nvidia settings, but I was able to unmerge the Nvidia module and change some settings to prevent devfs from working within the system. After that I emerged Nvidia back onto the system and umerged devfsd.

Of course it took more steps than what I outlined above but now I am running a pure udev system.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum