Re: 2,6.26-rc4-git2 - long pause during boot

From: Alan Stern
Date: Tue Jun 10 2008 - 18:19:45 EST


On Tue, 10 Jun 2008, Chris Clayton wrote:

> What this has shown is that, when I plug in a usb-storage device, there seems
> to be a delay between the usb/scsi/usb-storage drivers setting up the device
> and my icon-showing script being run. Here is the snippet from the kernel log
> file:

...
> Jun 10 20:27:45 upstairs kernel: [ 3200.815772] usb-storage: waiting for device
> to settle before scanning
> Jun 10 20:27:50 upstairs kernel: [ 3205.817115] scsi 10:0:0:0: Direct-Access
> USB Flash Memory 5.00 PQ: 0 ANSI: 0 CCS
...

You can eliminate this 5-second delay by adding

options usb-storage delay_use=0

to /etc/modprobe.conf. Of course, this will make the other delays just
stand out that much more sharply...

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/