Re: Annoying SCSI waiting...

From: Matthias Andree <ma_at_dt.e-technik.uni-dortmund.de>
Date: Mon, 25 Oct 2004 20:18:26 +0200
Scott Long <scottl_at_freebsd.org> writes:

> For just about everyone, a value of 2 seconds or less is just fine.
> For those with tape drives, changers, and (less likely) cdroms, a
> long delay after reset is still quite necessary.  There are two knobs
> to adjust this, and I'd like GENERIC to remain compatible.  It's 15
> seconds, not 2 minutes.  You get a longer delay that that just trying
> to set up the inital page tables on a large memory machine!

One thing that was suggested for Linux but rejected for 2.6 is probing
hardware in parallel. I wonder if a threaded boot-up could be made (not
for 5.X though) that lets the kernel proceed with other initialization
while the scsi driver waits for the devices to settle. Some scheme for
stable device enumeration may then be needed to avoid inconsistencies
with cold start vs. fastreboot. One should think when the driver has
claimed all the I/O ranges and IRQs and DMA channels it needs, it would
be safe to background itself and report back later, at the latest just
before launching /etc/rc or /sbin/init or whatever.

-- 
Matthias Andree
Received on Mon Oct 25 2004 - 16:18:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC