You are not logged in.

#1 2010-04-01 20:36:21

fancylad
Member
Registered: 2010-04-01
Posts: 1

udevd and high cpu load

I'm not sure which section of the forum to post this. I am using a laptop so I am posting it here. I installed arch64 a few days ago. At first it seemed fine but after a few reboots it got stuck at "Waiting for UDev uevents to be processed". I looked at /etc/rc.sysinit and ended up changing:

/sbin/udevadm settle

to

/sbin/udevadm settle --timeoute=10

This sort of fixed my problem. Well it allowed the system to finish booting. Now the problem is that udevd tends to take up a lot of cpu. If I am doing nothing with my laptop the load average is always around 1.30. Killing udevd solves this problem. I think the issue might have something to do with my cdrom drive. Here is what I get when I run "udevadm monitor":

KERNEL[1270153847.226687] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0 (scsi)
UDEV  [1270153847.241879] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0/block/sr0 (block)
KERNEL[1270153847.288820] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0 (scsi)           
KERNEL[1270153847.353220] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0 (scsi)           
UDEV  [1270153847.381646] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0/block/sr0 (block)
KERNEL[1270153847.425548] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0 (scsi)           
KERNEL[1270153847.488484] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0 (scsi)           
UDEV  [1270153847.516976] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0/block/sr0 (block)
KERNEL[1270153847.634898] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0 (scsi)
UDEV  [1270153847.654346] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0/block/sr0 (block)
KERNEL[1270153847.699567] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0 (scsi)
KERNEL[1270153847.762367] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0 (scsi)
UDEV  [1270153847.790775] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0/block/sr0 (block)
KERNEL[1270153847.897803] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0 (scsi)
UDEV  [1270153847.925927] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0/block/sr0 (block)
KERNEL[1270153847.974591] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0 (scsi)
KERNEL[1270153848.043377] change   /devices/pci0000:00/0000:00:12.0/host2/target2:0:0/2:0:0:0 (scsi)

This goes on indefinitely. I'm not sure if something is wrong with the cdrom drive and the kernel keeps noticing some kind of change. I was using Slackware before this and never had any problems like this. I can paste some of the output of running "udevd --debug" if that would be helpful too.

Also my kernel version is 2.6.32-ARCH and the udevd version is 151-3.

Thanks

Offline

Board footer

Powered by FluxBB