You are not logged in.

#1 2008-04-24 07:11:13

praka123
Member
From: Kerala,India
Registered: 2008-03-04
Posts: 188
Website

udev takes much time while booting :(

hi,
this is a new arch installation with Gnome-2.22.when booted,udev shows 6sec to settle down devices sad .How can I fix this delay?
below is my lsmod for hdd.

sg                     26896  0
sd_mod                 23168  13 
sr_mod                 15268  0 
cdrom                  34080  1 sr_mod
ata_piix               14852  11 
ata_generic             5380  0 
pata_acpi               5248  0 
libata                141424  3 ata_piix,ata_generic,pata_acpi

and below is my /etc/mkinitcpio.conf

HOOKS="base udev autodetect pata scsi sata keymap filesystems"

Is there anything which I should remove,inorder to boot fast?
Thanks! smile

Offline

#2 2008-04-24 08:54:43

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: udev takes much time while booting :(

You might want to try searching the forums first.
This has been discussed numerous time.


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#3 2008-04-24 11:59:37

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

Re: udev takes much time while booting :(

a) mkinitcpio is NOT related to boot time udev. It has nothing at all to do with it.
b) 6 seconds is totally acceptable. This sort of stuff takes time. Blame the udev developers if that takes too long for you.

However, you can stop using udev altogether and manually load all your modules. Please search the forums/wiki for details on how to do this

Offline

#4 2008-04-24 12:58:55

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: udev takes much time while booting :(

phrakture wrote:

b) 6 seconds is totally acceptable. This sort of stuff takes time. Blame the udev developers if that takes too long for you.

With our latest and greatest version; I get between 2 and 2.5 seconds for udev on both my machines, so 6 seconds is a lot. I'd like to see the complete output of the lsmod command please.

Offline

#5 2008-04-24 13:12:56

praka123
Member
From: Kerala,India
Registered: 2008-03-04
Posts: 188
Website

Re: udev takes much time while booting :(

Here it is! :-

[root@myhost ~]# lsmod 
Module                  Size  Used by
bsd_comp                5888  0 
ipt_LOG                 6016  3 
xt_tcpudp               3200  6 
iptable_filter          2688  1 
ip_tables              11476  1 iptable_filter
x_tables               11908  3 ipt_LOG,xt_tcpudp,ip_tables
ppp_synctty             8192  0 
ppp_async               9728  1 
crc_ccitt               2304  1 ppp_async
ipv6                  253764  10 
parport_pc             35300  1 
ppdev                   7556  0 
serio_raw               5636  0 
psmouse                37136  0 
lp                      9220  0 
i2c_i801                8848  0 
parport                31560  3 parport_pc,ppdev,lp
ppp_generic            24596  7 bsd_comp,ppp_synctty,ppp_async
ehci_hcd               33804  0 
pcspkr                  2944  0 
uhci_hcd               23312  0 
nvidia               7817696  24 
agpgart                28120  1 nvidia
i2c_core               19584  2 i2c_i801,nvidia
sg                     26896  0 
thermal                12956  0 
evdev                   9344  3 
processor              29144  1 thermal
fan                     3844  0 
button                  6544  0 
battery                10756  0 
ac                      4612  0 
snd_seq_oss            30336  0 
snd_seq_midi_event      6656  1 snd_seq_oss
snd_seq                48464  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          6796  2 snd_seq_oss,snd_seq
snd_intel8x0           29084  3 
snd_ac97_codec         97828  1 snd_intel8x0
snd_pcm_oss            38432  0 
snd_pcm                70404  4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              19588  3 snd_seq,snd_pcm
snd_page_alloc          8072  2 snd_intel8x0,snd_pcm
snd_mixer_oss          14848  1 snd_pcm_oss
snd                    46436  13 snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               6496  1 snd
ac97_bus                2304  1 snd_ac97_codec
slhc                    6016  1 ppp_generic
it87                   18060  0 
hwmon_vid               3328  1 it87
fuse                   42644  6 
8139too                22912  0 
8139cp                 19840  0 
mii                     4992  2 8139too,8139cp
rtc_cmos                7712  0 
rtc_core               15752  1 rtc_cmos
rtc_lib                 3072  1 rtc_core
usbcore               128620  3 ehci_hcd,uhci_hcd
ext3                  124040  8 
jbd                    44308  1 ext3
mbcache                 7168  1 ext3
sd_mod                 23168  13 
sr_mod                 15268  0 
cdrom                  34080  1 sr_mod
ata_piix               14852  11 
ata_generic             5380  0 
pata_acpi               5248  0 
libata                141424  3 ata_piix,ata_generic,pata_acpi

Offline

#6 2008-04-24 13:18:37

Demind
Member
Registered: 2007-07-10
Posts: 111

Re: udev takes much time while booting :(

My udev section takes between 1.5 and 2 seconds to be completed...6 is very much indeed in my opinion.
That's why i don't try to use autoload...maybe a could save 2-300 ms and that's not worth it i believe :-)
I love udev

Offline

#7 2008-04-24 14:30:39

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: udev takes much time while booting :(

I understand renaming (or linking) devices with custom names might slow down udev's startup too. I get 5-6s, but otherwise boot is fast as hell, and if I don't need my laptop for a while I just suspend it, so no biggie.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2008-04-24 22:13:25

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: udev takes much time while booting :(

Very few modules there, at least the ones that might be detected by udev. However, there is 8139too and 8139cp loaded, you should probably blacklist one of those, as they conflict (and only one of them works with your ethernet). In most cases, 8139too is used, 8139cp is for very few devices.

I don't see a reason though why it would slow you down that much.

Offline

#9 2008-04-25 00:06:58

praka123
Member
From: Kerala,India
Registered: 2008-03-04
Posts: 188
Website

Re: udev takes much time while booting :(

OK.will try now with 8139cp blacklisted smile

Offline

#10 2008-04-25 14:50:06

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: udev takes much time while booting :(

Hmm, udev takes 6 seconds for me too, i thought that was normal.

Offline

#11 2008-04-25 15:10:57

imrehg
Member
From: London, UK
Registered: 2008-04-10
Posts: 108
Website

Re: udev takes much time while booting :(

My EeePC takes about 8s to complete the udev....  Well, sometimes it was quicker (down to a whooping 6s) but well, that 2s doesn't feel much longer. That claimed 1.5-2.5s would be great, though....

Offline

#12 2008-04-25 18:36:35

Demind
Member
Registered: 2007-07-10
Posts: 111

Re: udev takes much time while booting :(

imrehg wrote:

My EeePC takes about 8s to complete the udev....  Well, sometimes it was quicker (down to a whooping 6s) but well, that 2s doesn't feel much longer. That claimed 1.5-2.5s would be great, though....

I've a recompiled kernel and a custom kernel26.img created with less HOOKS than the standard one...maybe this help my udev section to last max 2 s...

Offline

#13 2008-04-25 18:54:01

imrehg
Member
From: London, UK
Registered: 2008-04-10
Posts: 108
Website

Re: udev takes much time while booting :(

Demind wrote:
imrehg wrote:

My EeePC takes about 8s to complete the udev....  Well, sometimes it was quicker (down to a whooping 6s) but well, that 2s doesn't feel much longer. That claimed 1.5-2.5s would be great, though....

I've a recompiled kernel and a custom kernel26.img created with less HOOKS than the standard one...maybe this help my udev section to last max 2 s...

Yeah, I've been putting off kernel recompilation for a while, but probably it would be the right time... Always nice to be faster, and more customized to the actual hardware present... So, the target is ~2s? smile

Offline

#14 2008-04-25 19:55:34

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: udev takes much time while booting :(

Could you guys post hardware specs along with your udev uevent times?

Offline

#15 2008-04-25 21:15:42

Demind
Member
Registered: 2007-07-10
Posts: 111

Re: udev takes much time while booting :(

imrehg wrote:
Demind wrote:
imrehg wrote:

My EeePC takes about 8s to complete the udev....  Well, sometimes it was quicker (down to a whooping 6s) but well, that 2s doesn't feel much longer. That claimed 1.5-2.5s would be great, though....

I've a recompiled kernel and a custom kernel26.img created with less HOOKS than the standard one...maybe this help my udev section to last max 2 s...

Yeah, I've been putting off kernel recompilation for a while, but probably it would be the right time... Always nice to be faster, and more customized to the actual hardware present... So, the target is ~2s? smile

i would say between 1.5 and 3 s!
As regards hardware specs it could be a good idea to make a sort of comparison

[EDIT]:

First reboot: 1.879 s
Second reboot: 1.947 s

Clock speed     2 GHz
Processor type     Core 2 Duo T7300
RAM installed     2024 MB
Motherboard Chipset type Mobile Intel PM965
Hard drive size     160 GB (Sata 5400 rpm)
USB     2
Firewire     1
Ethernet     sky2
Bluetooth     Yes, broadcom bla bla bla
Wireless networking     ipw-3945
Modem     56K
Video Output
Graphics processor     Nvidia 8400GS-M
Soundcard     Realtek High Definition Audio (With SRS)

Last edited by Demind (2008-04-25 22:33:14)

Offline

#16 2008-04-26 13:06:31

praka123
Member
From: Kerala,India
Registered: 2008-03-04
Posts: 188
Website

Re: udev takes much time while booting :(

with removing 8139cp from module list(for 8139too),there isnt any increase in speed sad
still,takes ~6 sec.also,Gnome seems buggy with volume control muted on every boot sad

Offline

#17 2008-04-26 16:59:30

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: udev takes much time while booting :(

praka123, do you have the alsa daemon in your rc.conf in DAEMONS ?
What it does is save and restore volume levels on boot and reboot/halt.

Offline

#18 2008-04-26 18:48:07

praka123
Member
From: Kerala,India
Registered: 2008-03-04
Posts: 188
Website

Re: udev takes much time while booting :(

sorry!it was my mistake sad I though I have added alsa in daemon list,but I have added as "asla" instead of "alsa" .changed and now the sound problem is fixed!.

still,udev takes a full 6 sec to finish neutral !

also,pls tell me,is it normal to have HAL automounting the other partitions?

Offline

Board footer

Powered by FluxBB