You are not logged in.

#1 2005-03-31 02:12:34

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

hotplug

I compiled my own kernel, it's actually 2.6.11-gentoo-r4 running under Arch, plays very nicely and I have all my hardware compile directly into the kernel, not as modules. The only modules I actually use are nvidia and lirc_dev and lirc_streamzap, so is hotplug actually doing anything or can I disable it? I do often add/remove USB peripherals, does hotplug handle this or some other part of the kernel since USB is known as plug and play.

Don't really have a clue when it comes to this so any help  would be appreciated smile Thanks

Offline

#2 2005-03-31 05:56:30

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: hotplug

No, feel free to disable it. Just add the modules you use to the MODULES array in rc.conf.


·¬»· i am shadowhand, powered by webfaction

Offline

#3 2005-03-31 07:30:32

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: hotplug

Thanks for the reply smile -1 slow  down form  my boot process, let's see what else I can get rid of;)

Offline

#4 2005-03-31 10:33:33

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: hotplug

There are two parts of hotplug: the coldplug process at startup, and the real hotplug when you add devices after startup. In this case you can disable the first.

If you want faster startup it may help to add hdb=none ide1=noprobe etc. options for the devices you don't have, depending on how fast the probing is done on your hardware.

If the Arch boot process is too slow for you then search this forum for the background option of the daemon loading (is it merged yet?).

Offline

#5 2005-03-31 13:16:00

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: hotplug

Yes, it is. Background daemon loading is working great :-)

For boot options start with this:
http://www.tldp.org/HOWTO/BootPrompt-HOWTO.html
and
http://www.kernelhq.cc/browse.py?css=taichi
under your kernel version / Documentation / kernel-parameters.txt

Offline

#6 2005-04-02 00:09:27

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: hotplug

How would I disable the coldplug part? In gentoo it's just emerge -C coldplug but they aren't seperate packages with Arch sad And thanks for the links lanrat, reading them now smile

I've only compiled support into my  kernel for devices I use, no floppy support and no parallel port support along with a few other things that I don't use. I have two HDDs so the hdb=no isn't any use to me wink It's not that Arch boots too slowly, it's extremely fast I just don't really like the idea of things being there that don't need to be. So I play around smile

Offline

#7 2005-04-02 01:10:49

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: hotplug

coldplug in arch is called "hotplug" in the daemons array in rc.conf,
just remove it and it's done,


arch + gentoo + initng + python = enlisy

Offline

#8 2005-04-04 13:04:41

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: hotplug

This is insane, I don't know what hotplug was doing but from pushing the power button, I'm at the CLI prompt within 15 seconds easy.I'd say it's almost half the time it was taking before, that's for the tips guys1

Offline

#9 2005-04-04 15:52:52

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: hotplug

Weird, hotplug takes no more than 4 seconds here. scsi perhaps? That takes allways so long.

Offline

#10 2005-04-04 19:44:43

puntmuts
Member
Registered: 2005-02-22
Posts: 138

Re: hotplug

Perhaps it has something to do with the amount of modules that are on disc ? My custom kernel has limited number of kernel modules (only the ones I think I will possibly need) opposed to a distro kernel with a lot of modules ?

Just thinking out loud big_smile


Out / Gone
Mirgrating all my machines off ArchLinux . No longer part of the ArchLinux community / users .
Done. Goodbye.

Offline

#11 2005-04-04 19:51:34

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: hotplug

puntmuts wrote:

Perhaps it has something to do with the amount of modules that are on disc ? My custom kernel has limited number of kernel modules (only the ones I think I will possibly need) opposed to a distro kernel with a lot of modules ?

Just thinking out loud big_smile

or maybe alot of blacklisted stuff?

Offline

#12 2005-04-05 11:30:39

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: hotplug

I'm still reasonably new but I went and specifically compiled support for as much of my hardware as I could directly in, not as modules. And I used the stopwatch on my phone and it seems I exaggerated anyways so just ignore me tongue

Offline

Board footer

Powered by FluxBB