You are not logged in.

#1 2010-09-29 09:23:20

liorc666
Member
Registered: 2009-03-28
Posts: 11

waiting for udev uevents hangs

hey guys , I am having a real slow boot (hanging on the "waiting for udev uevents to be processed") I've tried to see what takes so long (bootchart) and I find that modprobe hangs for about 40 seconds .. how can I see what module takes so long ?


* booting with : nomodeset , acpi=off , noapic
is not working
** I have a nvidia card
*** bootchart : http://i.imgur.com/uIm5H.png

thanks in advance for your time

Offline

#2 2010-09-29 12:18:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: waiting for udev uevents hangs

Please post your rc.conf.

Offline

#3 2010-09-29 20:35:36

liorc666
Member
Registered: 2009-03-28
Posts: 11

Re: waiting for udev uevents hangs

#
# /etc/rc.conf - Main Configuration for Arch Linux
# comments removed

LOCALE="en_US.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="Asia/Jerusalem"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(!snd_pcm_oss)

USELVM="no"

HOSTNAME="ickyfreakie"

eth0="eth0 192.168.1.5 netmask 255.255.255.0 broadcast 192.168.1.255"
#eth0="dhcp"
INTERFACES=(eth0)

gateway="default gw 192.168.1.1"
ROUTES=(gateway)

NETWORK_PERSIST="no"

DAEMONS=(syslog-ng network netfs crond alsa)

Offline

#4 2010-09-30 00:12:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: waiting for udev uevents hangs

https://bbs.archlinux.org/viewtopic.php … 97#p610197 (basically: downgrade)
https://bbs.archlinux.org/viewtopic.php … 94#p819594 (the last comment in the thread)
Not really helpful, I know :-(

Is it a fresh install or was it OK before and it started acting up recently? If the latter, you can downgrade until sb figures out what's wrong or the problems goes away by itself.

Last edited by karol (2010-09-30 00:13:03)

Offline

#5 2010-09-30 00:27:35

liorc666
Member
Registered: 2009-03-28
Posts: 11

Re: waiting for udev uevents hangs

thank you for your comment I will check these out.

I have already tried googling and some of the solutions on the forum nothing worked (including disconnecting everything)
but I do believe its something with the package as I use arch for quite long now and this problem suddenly appeared after an update.
anyway I wanted a clean install and I just reinstalled arch the problem continue so I guess its the package
(I ignored it as I boot up the computer once in a week but now I tend to shut it down in the nights so its annoying)

Offline

#6 2010-09-30 00:32:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: waiting for udev uevents hangs

Have you tried downgrading? Maybe you can get away with an older version.

Offline

#7 2010-10-01 13:20:34

liorc666
Member
Registered: 2009-03-28
Posts: 11

Re: waiting for udev uevents hangs

I did.
I have had the udev-162 so I went here : http://repos.archlinux.org/wsvn/packages/udev/trunk/
and downloaded udev 160 (which according to the time log was just about when it happened first) and udev 158 , udev 150
made packages of them all and installed the udev 160 -- rebooting , the problem persists.
installed the udev 158 -- problem still there.
attempt installing udev 150 -- :: udisks: requires udev>=157.
this is where I stopped.

I did not really dig into it but I've seen alot of rules in the udev rules.d folder. what rules are necessary to boot ? so maybe I can isolate some...

or maybe is this even related ?
any other solution that might work?

thanks in advance

Offline

#8 2010-10-01 20:53:35

thoice
Member
Registered: 2008-08-30
Posts: 10

Re: waiting for udev uevents hangs

I have quite similar problem here.
Except my machine doesn't boot but spits out a bunch of weird errors(picture]).
I've found out that file /lib/udev/rules.d/80-drivers.rules

# do not edit this file, it will be overwritten on update

ACTION=="remove", GOTO="drivers_end"

DRIVER!="?*", ENV{MODALIAS}=="?*", RUN+="/lib/udev/load-modules.sh  $env{MODALIAS}"
SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", RUN+="/lib/udev/load-modules.sh  tifm_sd"
SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="MS", RUN+="/lib/udev/load-modules.sh  tifm_ms"
SUBSYSTEM=="memstick", RUN+="/lib/udev/load-modules.sh ms_block"
SUBSYSTEM=="memstick", RUN+="/lib/udev/load-modules.sh mspro_block"
SUBSYSTEM=="i2o", RUN+="/lib/udev/load-modules.sh  i2o_block"
SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", RUN+="/lib/udev/load-modules.sh sg"
SUBSYSTEM=="module", KERNEL=="parport_pc", RUN+="/lib/udev/load-modules.sh ppdev"

LABEL="drivers_end"

causes the problem for me(actually the line with DRIVER!=... because once I comment it out - the boot process doesn't freeze)
By the way. Even though I can boot my computer no keyboard or mouse works in KDE. But TabletPC touchscreen works.
Is there a way i can do some diagnostics?

Last edited by thoice (2010-10-01 22:49:39)

Offline

#9 2010-10-01 20:57:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: waiting for udev uevents hangs

thoice wrote:

Is there a way i can do some diagnostics?

Can you post it? Maybe you should open another thread (and link to this one if you like).

@ liorc666
Do you have any unusual udev rules you would like to share?

Last edited by karol (2010-10-01 20:58:34)

Offline

#10 2010-10-01 23:15:29

thoice
Member
Registered: 2008-08-30
Posts: 10

Re: waiting for udev uevents hangs

karol wrote:
thoice wrote:

Is there a way i can do some diagnostics?

Can you post it? Maybe you should open another thread (and link to this one if you like).

I have edited my previous reply. Is is ok to create another post, basically a duplicate?

Offline

#11 2010-10-01 23:29:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: waiting for udev uevents hangs

thoice wrote:

I have quite similar problem here.
Except my machine doesn't boot but spits out a bunch of weird errors

I find it quite a difference whether sth boots albeit slowly v. doesn't boot at all.

thoice wrote:

Is there a way i can do some diagnostics?

You see - it has nothing to do with the OP's problem.
I think it will be better if you open another thread and post a link to your /var/log/Xorg.0.log

Yes, you can create another thread, with or without that post. Such branching isn't forbidden.

Offline

#12 2010-10-02 13:40:07

liorc666
Member
Registered: 2009-03-28
Posts: 11

Re: waiting for udev uevents hangs

10-dm.rules                       70-hid2hci.rules
11-dm-lvm.rules                   75-net-description.rules
13-dm-disk.rules                  75-probe_mtd.rules
50-firmware.rules                 75-tty-description.rules
50-udev-default.rules             78-sound-card.rules
52-libmtp.rules                   79-fstab_import.rules
60-cdrom_id.rules                 80-drivers.rules
60-floppy.rules                   80-udisks.rules
60-pcmcia.rules                   81-arch.rules
60-persistent-alsa.rules          85-usbmuxd.rules
60-persistent-input.rules         90-hal.rules
60-persistent-serial.rules        90-libgpod.rules
60-persistent-storage.rules       95-dm-notify.rules
60-persistent-storage-tape.rules  95-keyboard-force-release.rules
60-persistent-v4l.rules           95-keymap.rules
61-mobile-action.rules            95-udev-late.rules
61-persistent-storage-edd.rules   97-bluetooth.rules
64-md-raid.rules                  99-fuse.rules
70-acl.rules

---

these are all my rules , but I dont believe its something that added up as when this installation was a clean install I've had the exact problem.
which rules might've caused the problem ? I can play a bit trial and error I guess

Offline

#13 2010-10-02 14:01:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: waiting for udev uevents hangs

And you didn't modify any of the stock rules?

I see you have RAID, so maybe it's a normal thing with RAID?

Offline

#14 2010-10-02 21:20:49

liorc666
Member
Registered: 2009-03-28
Posts: 11

Re: waiting for udev uevents hangs

well my disks are not in a RAID also I did not modify anything with the rules

Offline

Board footer

Powered by FluxBB