View Full Version : [all variants] After upgrading to 11.10 : boot time is really longer (udev seems to hang)

October 22nd, 2011, 04:52 PM
Hi there,

I did upgrade from 11.04 a few days ago and the boot time on my machine is really longer (from 10s to 50s).

I did a bootchart the boot and it seems to be udev & udevadm that are taking much of the boot time.

Any idea where I should look for to reduce udev/udevadm execution time during boot ?

My kernel is 3.0.0-12-generic

See below my bootchard


October 22nd, 2011, 05:19 PM
Thanks to this threads : http://ubuntuforums.org/showthread.php?t=1749924&page=2

I found the solution (it was ata_id which was hanging).

in /lib/udev/rules.d/60-persistent-storage.rules

comment out rule:

# ATA/ATAPI devices (SPC-3 or later) using the "scsi" subsystem
KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}!="?*", \ SUBSYSTEMS=="scsi", ATTRS{type}=="5", ATTRS{scsi_level}"[6-9]*", \ IMPORT{program}="ata_id --export $tempnode"

then run as root
update-initramfs -u
reboot, and check your booting time