You are not logged in.

#1 2005-12-07 13:27:25

Zanton
Member
Registered: 2005-12-06
Posts: 80

hotplug, hwdetect ? what are those lines at bootup :s ?

Hi all,

I'm just new to the Arch world after running Debian and Gentoo for 3 years and I think I found the distro I was looking for. Anyway, I'd like to speed up a little this boot as I did for gentoo with initng for example. I read some interesting informations on hwdetect which can replace hotplug so I did it smile Anyway it works (seems to by the way smile ) but as Arch boots, I still get these lines about my hardware you know, just before Arch Linux "logo" appears and then all the scripts indicating done when they did their task. I thought these lines were providing by hotplug but since I "replace" it with hwdetect, I don't understand from where they come sad Which script/program ?

Offline

#2 2005-12-07 13:35:31

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: hotplug, hwdetect ? what are those lines at bootup :s ?

Well, the init process will still say "Loading Modules" when it loads the modules found in your MODULES=() array and executes hwdetect.  (just check out rc.sysinit, around line 252)

As for any other such messages, the daemons 'hotplug' and 'hwd'  both autoload hardware; make sure they're not in your DAEMONS array.

Offline

#3 2005-12-07 13:38:11

Zanton
Member
Registered: 2005-12-06
Posts: 80

Re: hotplug, hwdetect ? what are those lines at bootup :s ?

These lines are after the lines I talk about. Those are just after choosing Arch in Grub. It can be informations from kernel but it sounds strange to me (it takes 5-6s on my P4 3.2) I always thouht they were from hotplug or coldplug.

Offline

#4 2005-12-07 14:39:29

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: hotplug, hwdetect ? what are those lines at bootup :s ?

If I understood correctly what lines you are referring to, they come from the kernel which is booting up.

Offline

#5 2005-12-07 14:48:20

Zanton
Member
Registered: 2005-12-06
Posts: 80

Re: hotplug, hwdetect ? what are those lines at bootup :s ?

I think you're right. I didn't think it was taking so much time to boot up kernel sad

Offline

#6 2005-12-07 15:10:35

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: hotplug, hwdetect ? what are those lines at bootup :s ?

Zanton wrote:

I think you're right. I didn't think it was taking so much time to boot up kernel sad

It also takes a few seconds on my Pentium M 1.7GHz. You could try the initrd kernel in testing with a custom initrd26.img. It's smaller than the one in [current] repo so it should boot faster. To do so, enable the testing repo in /etc/pacman.conf. Also it would be better to move it at the end of the other repo if you don't want to use the other packages in testing. Then:
# pacman -Sy testing/kernel26
# pacman -Sy testing/mkinitrd
Don't forget to read the instructions in the wiki.

Offline

#7 2005-12-07 16:46:21

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

Re: hotplug, hwdetect ? what are those lines at bootup :s ?

you can pass "quiet" as a kernel parameter to get rid of all that info.

Offline

#8 2005-12-07 18:28:15

Zanton
Member
Registered: 2005-12-06
Posts: 80

Re: hotplug, hwdetect ? what are those lines at bootup :s ?

thank you snowman but I use ck sources so I don't know if I can make an initrd easily with your tool. I didn't try but it sounds good anyway smile

Offline

#9 2005-12-07 20:55:45

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: hotplug, hwdetect ? what are those lines at bootup :s ?

Zanton wrote:

thank you snowman but I use ck sources so I don't know if I can make an initrd easily with your tool. I didn't try but it sounds good anyway smile

If you compile your own kernel, then initrd won't be much of use as you probably already compile the kernel with only the HD controllers/ filesystems you need.  As I use the stock kernels, the new initrd kernel in testing let me get a relatively custom kernel without the hassle of compiling my own.

Offline

#10 2005-12-23 15:03:42

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: hotplug, hwdetect ? what are those lines at bootup :s ?

@snowman

I compile my own kernel, can I completely remove initrd?


The ultimate Archlinux release name: "I am your father"

Offline

#11 2005-12-23 15:58:28

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,681

Re: hotplug, hwdetect ? what are those lines at bootup :s ?

You shouldn't need initrd if you have a properly compiled custom kernel.


oz

Offline

#12 2005-12-23 17:07:03

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: hotplug, hwdetect ? what are those lines at bootup :s ?

jinn wrote:

@snowman

I compile my own kernel, can I completely remove initrd?

Like snowman said, if you compile your HD controllers and filesystem module into the kernel, you don't need initrd.

Offline

Board footer

Powered by FluxBB