From nobody  Sat Oct 25 09:58:59 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.7/8.8.7) id JAA11009;
          Sat, 25 Oct 1997 09:58:59 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199710251658.JAA11009@hub.freebsd.org>
Date: Sat, 25 Oct 1997 09:58:59 -0700 (PDT)
From: lmc@chpc.utah.edu
To: freebsd-gnats-submit@freebsd.org
Subject: adaptec 2940U hangs system if scsi tape device attached
X-Send-Pr-Version: www-1.0

>Number:         4851
>Category:       kern
>Synopsis:       adaptec 2940U hangs system if scsi tape device attached
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 25 10:00:00 PDT 1997
>Closed-Date:    Fri Mar 19 05:06:52 PST 1999
>Last-Modified:  Fri Mar 19 05:07:54 PST 1999
>Originator:     Lloyd M Caldwell
>Release:        FreeBSD 2.2.2-RELEASE
>Organization:
UofU Center for High Performance Computing
>Environment:
FreeBSD net.chpc.utah.edu 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Sat Aug  9 16:16:41 MDT 1997     root@net.chpc.utah.edu:/usr/src/sys/compile/NETPP  i386

>Description:
If scsi tape device:
 "EXABYTE EXB8500C8CQANXR4 0730" type 1 removable SCSI 2
attached to adaptec 2940U:
 ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 9 on pci0:16
 ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs
the console shows the following:

sd0(ahc0:0:0): SCB 0x1 - timed out in dataout phase, SCSISIGI == 0x4
SEQADDR = 0x12c SCSISEQ = 0x12 SSTAT0 = 0x0 SSTAT1 = 0x2
sd0(ahc0:0:0): abort message in message buffer
sd0(ahc0:0:0): SCB 0x1 - timed out in dataout phase, SCSISIGI == 0x14
SEQADDR = 0x12c SCSISEQ = 0x12 SSTAT0 = 0x0 SSTAT1 = 0x2
ahc0: Issued Channel A Bus Reset. 1 SCBs aborted
Clearing bus reset
Clearing 'in-reset' flag
sd0(ahc0:0:0): no longer in timeout
sd0(ahc0:0:0): UNIT ATTENTION asc:29,2  field replaceable unit: 2
, retries:3
sd0(ahc0:0:0): SCB 0x1 - timed out in dataout phase, SCSISIGI == 0x4
SEQADDR = 0x12c SCSISEQ = 0x12 SSTAT0 = 0x0 SSTAT1 = 0x2
sd0(ahc0:0:0): abort message in message buffer
sd0(ahc0:0:0): SCB 0x1 - timed out in dataout phase, SCSISIGI == 0x14
SEQADDR = 0x12b SCSISEQ = 0x12 SSTAT0 = 0x0 SSTAT1 = 0x2
ahc0: Issued Channel A Bus Reset. 1 SCBs aborted
Clearing bus reset
Clearing 'in-reset' flag
sd0(ahc0:0:0): no longer in timeout
sd0(ahc0:0:0): UNIT ATTENTION asc:29,2  field replaceable unit: 2
, retries:3


>How-To-Repeat:
scsi tape device hooked up to the adaptec 2940U,
access files on any of the scsi disks or try to perform
a backup.

Note: I moved the tape device to other machines, both freebsd
      with different scsi controllers and different unix's.
      The tape drive performed flawlessly.

      Because of the easy repeatability I would assume it's easy
      too fix.  If I had any expertise with SCSI programming I would
      be glad to pursue this :(
>Fix:

>Release-Note:
>Audit-Trail:

From: "Justin T. Gibbs" <gibbs@plutotech.com>
To: lmc@chpc.utah.edu
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/4851: adaptec 2940U hangs system if scsi tape device attached 
Date: Sat, 25 Oct 1997 11:51:55 -0600

 >>Description:
 >If scsi tape device:
 > "EXABYTE EXB8500C8CQANXR4 0730" type 1 removable SCSI 2
 >attached to adaptec 2940U:
 > ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 9 on pci0:16
 > ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs
 >the console shows the following:
 >
 >sd0(ahc0:0:0): SCB 0x1 - timed out in dataout phase, SCSISIGI == 0x4
 >SEQADDR = 0x12c SCSISEQ = 0x12 SSTAT0 = 0x0 SSTAT1 = 0x2
 
 This looks suspiciously like a cabling or termination problem.  Set
 the termination manually in SCSI-Select instead of relying on 
 auto-termination.  You should also upgrade to a later revision of the
 driver (as in 2.2-stable) since there have been many bug fixes since
 2.2.2R was released.
 
 --
 Justin T. Gibbs
 ===========================================
   FreeBSD: Turning PCs into workstations
 ===========================================
 
 

From: "David A. Karp" <daaron@creativelement.com>
To: freebsd-gnats-submit@freebsd.org, gibbs@plutotech.com
Cc:  Subject: Re: kern/4851: adaptec 2940U hangs system if scsi tape device
  attached
Date: Tue, 28 Apr 1998 20:11:04 -0700

 I've had exactly the same problem with FreeBSD versions 2.2.1 and 2.2.6.
 
 Adaptec 2940u with a Hewlett Packard 35480 SCSI DAT drive.  Both items work
 perfectly in a Win95 system, and the cabling/termination is correct.
 
 
 
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David A. Karp  / Creative Element
 daaron@creativelement.com
 http://www.creativelement.com/dak
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Fri Mar 19 05:06:52 PST 1999 
State-Changed-Why:  
Active development on the 2.2 branch is over. 
>Unformatted:
