Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2002 17:20:00 -0400
From:      William Bulley <web@merit.edu>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        scsi@freebsd.org
Subject:   Re: [PATCH] make SCSI_DELAY tunable
Message-ID:  <20020902171959.A28616@web1.merit.edu>

next in thread | raw e-mail | index | archive | help
According to Brooks Davis <brooks@one-eyed-alien.net>:
>
> I've attached a patch which makes the value of SCSI_DELAY setable and
> boot time via a tunable and runtime via sysctl.  With it applied you can
> set SCSI delay is follows:
> 
>  - The classic "options SCSI_DELAY=####" kernel option
>  - "kern.cam.scsi_delay=####" in /boot/loader.conf
>  - Stop the boot in the loader and enter "set kern.cam.scsi_delay=####"
>  - sysctl kern.cam.scsi_delay=####
> 
> I wrote this to allow me to reduce the annoying boot delay without
> recompiling my kernel and it works well for that.  My hope is that for
> 5.0 we can use this functionality to stop punishing everyone who uses
> SCSI for the sins of a few devices.  This should allow us to remove
> "options SCSI_DELAY=15000" from GENERIC without impacting the ability
> to install on slow devices.

My comment: THANK YOU!!!

I'm one of those folks who get punished each and every install, sigh...

Question: how does one eliminate the (even longer) delay when the
kernel probes the ATAPCI devices?  I have timed it on my system at
about 30 seconds.  I have only one device on my IDE chain (CDROM)
and it always takes FOREVER to decide it (the BIOS?) is happy.  If
you think 15 seconds is bad for SCSI, this is worse, much worse.

Regards,

web...

-- 
William Bulley                     Email: web@merit.edu
Merit Network Inc.                 Ann Arbor, Michigan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




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