You are not logged in.

#51 2008-05-25 02:59:40

kclive18
Member
From: Columbus, Ohio, USA
Registered: 2008-05-08
Posts: 219

Re: Slow bootup as "Loading UDev uevent" takes its time at bootup

I have a really slow udev load time on my HP ZV6000 laptop here, and I'm not sure exactly what is wrong here (this is 32-bit, fyi).  It takes like 170,000 milliseconds to load udev during startup.

EDIT: I tried reinstalling the kernel, and while the kernel is recompiling, it is hanging on parsing the "autodetect" hook.  This may explain even more as to why udev hangs at startup when it autodetects hardware.

EDIT: Is anyone else having this trouble with Arch Linux, specifically on laptops?

Last edited by kclive18 (2008-05-25 19:37:22)


My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! tongue, OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686 cool
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor

Offline

#52 2008-06-02 02:45:34

_clark_
Member
Registered: 2008-05-06
Posts: 14

Re: Slow bootup as "Loading UDev uevent" takes its time at bootup

Hello guys,

I have found a solution to avoid the "loading udev uevents" problem. In fact, it seems there is a problem in the modules management beetween initramfs and udevd.

Frist, maybe you have experimented that playing with MODULES an MOD_AUTOLOAD in rc.conf doesn't solve the problem (especially this post, which didn't help me).

So, after a lot (!) of tests, the only "hack" that works on my computer is to play with mkinitcpio.conf in order to remove all the elements related with udev :

MODULES="ide_core atiixp ide_disk reiserfs"
[...]
HOOKS="base keymap"

The idea is to build the initramfs with only the modules needed to create the root partition. To find them, from a working system, run lsmod and consider the latest modules, including the one for your filesystem.

In your rc.conf, check that MOD_AUTOLOAD="yes" and that MODULES is as empty as possible (except very specific modules like fglrx).

With these configurations, udev uevents loads always in less than 6 seconds and my system does not lag anymore. So if it can help anyone it would be a goog thing, but it was not a pleasure to "solve" this problem !

For the developpers, the remark in my previous post about the double udevd during the boot sequence is still valid wink

Last edited by _clark_ (2008-06-02 02:49:19)

Offline

#53 2008-06-02 03:50:37

ataylor
Member
Registered: 2008-04-10
Posts: 54

Re: Slow bootup as "Loading UDev uevent" takes its time at bootup

Seems udev slowdown is a common issue for many people... yet for me it has never been a problem. Running the latest Arch on an old IBM ThinkPad T30, udev uevents processes in six seconds.

Offline

#54 2008-06-02 07:07:58

_clark_
Member
Registered: 2008-05-06
Posts: 14

Re: Slow bootup as "Loading UDev uevent" takes its time at bootup

ataylor wrote:

Running the latest Arch on an old IBM ThinkPad T30, udev uevents processes in six seconds.

On your computer. Happy for you. It's not the case for other people, so your post is useless...

Offline

#55 2008-06-02 08:25:57

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

Re: Slow bootup as "Loading UDev uevent" takes its time at bootup

Its not useless, if more people would show their hardware specs it would be easier to narrow it down.

Pentium 4 2.8GHz CPU with HT enabled, 1024MB DDR400 RAM, ATI Radeon 9800 Pro with latest Catalyst, Audigy 2 ZS soundcard, USB mouse, PS/2 keyboard.
Udev uevents takes 6 (5,9-6,1) seconds also.
If I plugin my Logitech webcam it takes 6 (5,8-6,1) seconds, an additional second just for loading gspca module, aint that too much?

Offline

#56 2010-04-10 03:15:42

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: Slow bootup as "Loading UDev uevent" takes its time at bootup

I have the same issue. I am running a LG R500 laptop. I have no rules in /etc/udev/rules.d and I have the latest version of udev (151-3) and the latest kernel installed (2.6.33). Please someone solve this problem ASAP.

Offline

#57 2010-04-10 03:27:39

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Slow bootup as "Loading UDev uevent" takes its time at bootup

MarcoRosso wrote:

I have the same issue. I am running a LG R500 laptop. I have no rules in /etc/udev/rules.d and I have the latest version of udev (151-3) and the latest kernel installed (2.6.33). Please someone solve this problem ASAP.

Then you should open a bug report ASAP

Offline

#58 2010-04-10 17:23:16

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: Slow bootup as "Loading UDev uevent" takes its time at bootup

I don't know what to add to the bug report. Can someone tell me what to add. I know where some of the logs are, but not enough to know what ones log what. Please advise.

Offline

#59 2010-04-10 18:11:37

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: Slow bootup as "Loading UDev uevent" takes its time at bootup

I fixed the problem I put the "/sbin/udevadm trigger"(without quotes) after the "/sbin/udevd --daemon" command in the "stat_busy "Starting UDev Daemon"" section of /etc/rc.sysinit.

!NOTE I didn't take out "/sbin/udevadm trigger" from the uevents if statement in  /etc/rc.sysinit.!

Could someone please post this as a sticky so that if there is anyone else with this problem, or if it reoccurs again it can be easily solved.

Thanks,
and have a good day.

Last edited by MarcoRosso (2010-04-10 18:12:43)

Offline

Board footer

Powered by FluxBB