From tjohnson@wallace.dlib.vt.edu Thu Feb 25 12:27:59 1999
Return-Path: <tjohnson@wallace.dlib.vt.edu>
Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250])
	by hub.freebsd.org (Postfix) with ESMTP id 4096B14E49
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Feb 1999 12:27:50 -0800 (PST)
	(envelope-from tjohnson@wallace.dlib.vt.edu)
Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30])
	by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id PAA22005
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Feb 1999 15:27:24 -0500 (EST)
Received: from wallace.dlib.vt.edu (wallace.dlib.vt.edu [198.82.180.178])
	by sable.cc.vt.edu (8.8.8/8.8.8) with SMTP id PAA17557
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Feb 1999 15:27:24 -0500 (EST)
Received: by wallace.dlib.vt.edu (5.65v4.0/1.1.19.2/10Apr98-0242PM)
	id AA28366; Thu, 25 Feb 1999 15:27:19 -0500
Message-Id: <199902252027.AA28366@wallace.dlib.vt.edu>
Date: Thu, 25 Feb 1999 15:27:19 -0500
From: tjohnson@wallace.dlib.vt.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: SCSI scanner times out when scanning 

>Number:         10266
>Category:       kern
>Synopsis:       SCSI scanner times out when scanning
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ken
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 25 12:30:00 PST 1999
>Closed-Date:    Thu Aug 19 20:51:48 PDT 1999
>Last-Modified:  Thu Aug 19 20:53:41 PDT 1999
>Originator:     Tommy Johnson
>Release:        FreeBSD 3.1-BETA i386
>Organization:
Personal computer
>Environment:

Pentium with adaptec 2940 and 2740

>Description:

        The pt device used by a HP 5p scanner using a SCSI interface
has a timeout of 10 seconds.  The 10 seconds isn't long enough for the
scan to complete.

>How-To-Repeat:

        Attempt to scan, it will timeout and fail.  
>Fix:

/usr/src/sys/cam/scsi/scsi_pt.c line 570.  Change the timeout value
from 10000 to 30000 or so.  

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->gibbs 
Responsible-Changed-By: ken 
Responsible-Changed-When: Sat Feb 27 20:45:53 PST 1999 
Responsible-Changed-Why:  
Justin wrote the pt driver, so he's probably the one to fix this bug. 
State-Changed-From-To: open->closed 
State-Changed-By: ken 
State-Changed-When: Thu Aug 19 20:51:48 PDT 1999 
State-Changed-Why:  
Fix committed to -current, revision 1.12 of scsi_pt.c plus several other 
files.  The default timeout was increased to 60 seconds, and there are 
now a couple of ways to change it.  This will hopefully go into -stable 
before too long. 


Responsible-Changed-From-To: gibbs->ken 
Responsible-Changed-By: ken 
Responsible-Changed-When: Thu Aug 19 20:51:48 PDT 1999 
Responsible-Changed-Why:  
I committed the fix. 
>Unformatted:
