From owner-freebsd-scsi@FreeBSD.ORG Sat Sep 4 18:31:20 2004 Return-Path: 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 4B26616A4CE for ; Sat, 4 Sep 2004 18:31:20 +0000 (GMT) Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEE8043D4C for ; Sat, 4 Sep 2004 18:31:19 +0000 (GMT) (envelope-from gibbs@scsiguy.com) Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by aslan.scsiguy.com (8.12.11/8.12.11) with ESMTP id i84IVAs1004583; Sat, 4 Sep 2004 12:31:10 -0600 (MDT) (envelope-from gibbs@scsiguy.com) Date: Sat, 04 Sep 2004 12:31:10 -0600 From: "Justin T. Gibbs" To: Eduard Martinescu , Don Lewis Message-ID: <541C4626CFE225AF94C9747A@aslan.scsiguy.com> In-Reply-To: <1094312840.9777.3.camel@sauron.crafts4life.com> References: <200409031840.i83IenAj029786@gw.catspoiler.org> <1094312840.9777.3.camel@sauron.crafts4life.com> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline cc: scsi@freebsd.org Subject: Re: smartmontools on FreeBSD 4.x - compile error + ahc card dump X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Justin T. Gibbs" List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2004 18:31:20 -0000 ... > As for the SCSI issues, that is something new. I added the passing in > of a time out value because it was causing problems for others without > that value...the commands would time out too soon. 0 == CAM_TIME_DEFAULT. The behavior will likely vary wildly depending on the controller. It would be much better to specify a true timeout value if you know an acceptable value for the timeout. Timeouts are there to serve a watchdog purpose. A good timeout value will never cause a false positive but is short enough that recovery can occur in a reasonable amount of time. It seems that your current timeout choices are causing false positives. -- Justin