[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: 2200 Kernel Udev DElay During Boot



On Mon, 2006-10-23 at 11:52 -0400, Bob Chiodini wrote:
> Machine Dell Optiplex GX270 with 2 GB of memory.
> 
> Booting the 2200 SMP or UP kernel delays of a very long time (82
> seconds) at Starting udev.  
> 
> A little debugging puts the delay in /sbin/start_udev in the
> wait_for_queue() proc waiting for /dev/.udev/queue.  In the second while
> loop.  $loop reaches a value around -775.  It varies a little.
> 
> >From start_udev:
> 
>         wait_for_queue() {
>                 timeout=$((${1:-0} * 10))
>                 loop=20
>                 while test ! -d /dev/.udev/queue; do
>                         usleep 100000;
>                         test "$loop" -gt 0 || return 1
>                         loop=$(($loop - 1))
>                 done
>         
>                 loop=$timeout
>                 while test -d /dev/.udev/queue; do
>                         usleep 100000;
>                         if [ $timeout -gt 0 -a $loop -le 0 ]; then
>                                 echo -n "Wait timeout. Will continue in the background."
>                                 return 1
>                         fi
>                         loop=$(($loop - 1))
>                 done
>                 return 0
>         }
> 
> 
> The delay does not happen with the 2187 kernel, nor on an x86_64 machine
> with the 2200 kernel.
> 

> 

I did some tweaking to /etc/modprobe.conf and this might avoid the
ata_piix timeouts during boot and/or udev init.

Add or modify as follows:

alias scsi_hostadapter ata_piix
options ata_piix noprobe

As long as you do not have SATA drives.

This was tested on a Dell GX270

Bob...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]