Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 1997 15:21:06 +0100 (BST)
From:      Mr M P Searle <csubl@csv.warwick.ac.uk>
To:        dnelson@emsphone.com (Dan Nelson)
Cc:        imp@village.org, hackers@freebsd.org
Subject:   Re: IDE probe slowness; Was: Re: if_de.c ????
Message-ID:  <7265.199705151421@finnan.csv.warwick.ac.uk>
In-Reply-To: <19970513083206.46734@dan.emsphone.com> from Dan Nelson at "May 13, 97 08:32:06 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> In the last episode (May 13), Warner Losh said:
> > 
> > Yup.  However, 90% of the time to get to that point is probing device
> > and timeouts on my machine (2 scsi busses and 2 IDE controllers).  I
> > haven't commented some of them out yet.
> > 
> > Warner
> 
> Not to get too off-topic, but if you're tired of the long delays in the
> IDE probe, a quick fix is to adjust the TIMEOUT define at the top of
> /sys/i386/isa/wd.c .  It is 10000 by default, but I'm using 2000 on a
> couple of machines without problems.  My IDE bus has one ATAPI disk,
> and during the probe, wdwait() waits for the entire timeout period 3
> times (which I think comes to 30 secods). With TIMEOUT at 2000, I only
> wait 6 seconds.
> 
> I haven't looked at any IDE specs, but I'm sure the delay is this high
> to accomodate older IDE disks.
> 
> The SCSI wait is easier to change; options SCSI_DELAY in the kernel
> config file.  I use SCSI_DELAY=1 with no ill effects.

The SCSI delay can actually be removed (take out the SCSI_DELAY line)
without any problems, at least for me - it still waits for a while, but
always detects the disk and CD.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7265.199705151421>