From owner-freebsd-scsi Mon Sep 2 14:20: 7 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB2D937B400 for ; Mon, 2 Sep 2002 14:20:01 -0700 (PDT) Received: from segue.merit.edu (segue.merit.edu [198.108.1.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F8F243E3B for ; Mon, 2 Sep 2002 14:20:01 -0700 (PDT) (envelope-from web@merit.edu) Received: from web1.merit.edu (web1.merit.edu [198.108.62.192]) by segue.merit.edu (Postfix) with ESMTP id 912F55DDCC; Mon, 2 Sep 2002 17:20:00 -0400 (EDT) Received: (from web@localhost) by web1.merit.edu (8.9.3/8.9.1) id RAA28865; Mon, 2 Sep 2002 17:20:00 -0400 (EDT) Date: Mon, 2 Sep 2002 17:20:00 -0400 From: William Bulley To: Brooks Davis Cc: scsi@freebsd.org Subject: Re: [PATCH] make SCSI_DELAY tunable Message-ID: <20020902171959.A28616@web1.merit.edu> Mail-Followup-To: Brooks Davis , scsi@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1us Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org According to Brooks Davis : > > 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