From john@acetylene.vapornet.net  Sun Feb  1 20:58:04 1998
Received: from acetylene.vapornet.net (root@acetylene.vapornet.net [209.100.218.11])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA02731
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 1 Feb 1998 20:58:03 -0800 (PST)
          (envelope-from john@acetylene.vapornet.net)
Received: from nitromethane.vapornet.net (vapornet.xnet.com. [205.243.141.107]) by acetylene.vapornet.net (8.8.8/VaporServer-v3.0+SpamNot) with ESMTP id WAA00776 for <FreeBSD-gnats-submit@freebsd.org>; Sun, 1 Feb 1998 22:58:12 -0600 (CST)
Received: by nitromethane.vapornet.net (8.8.8/VaporClient-1.1)
	id WAA00372; Sun, 1 Feb 1998 22:57:56 -0600 (CST)
Message-Id: <199802020457.WAA00372@nitromethane.vapornet.net>
Date: Sun, 1 Feb 1998 22:57:56 -0600 (CST)
From: john@vapornet.net
Reply-To: john@vapornet.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: scsi tape woes
X-Send-Pr-Version: 3.2

>Number:         5624
>Category:       kern
>Synopsis:       dumping to tape causes scsi bus reset
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb  1 21:00:00 PST 1998
>Closed-Date:    Sun Oct 29 10:31:21 PST 2000
>Last-Modified:  Sun Oct 29 10:32:27 PST 2000
>Originator:     John Preisler
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
vapornet
>Environment:

2940u and hp 1533a scsi tape drive in a p166 machine running -current

>Description:

dumping to tape causes scsi bus reset.  not logged in kernel, but set to console:
ahc0: Issued Channel A Bus Reset. 4 SCBs aborted
sd0: SCB 0x1 - timed out in message in phase, SCSISIGI == 0xe6
SEQADDR = 0xca SCSISEQ = 0x12 SSTAT0 = 0x2 STAT1 = 0x3
sd0: abort message in message buffer
sd0: SCB 0x1 - timed out in message in phase, SCSISIGI == 0xf6
SEQADDR = 0xca SCSISEQ = 0x12 SSTAT0 = 0x2 SSTAT1 = 0x3
sd0: no longer in timeout

over and over and over again until the machine is physically reset [reset button, power cycle, etc]


pertinent parts of my demsg:

ahc0: <Adaptec 2940 Ultra SCSI host adapter> rev 0x00 int a irq 11 on pci0.19.0
ahc0: aic7880 Single Channel, SCSI Id=7, 16/255 SCBs
scbus0 at ahc0 bus 0
ahc0: target 0 Tagged Queuing Device
sd0 at scbus0 target 0 lun 0
sd0: <SEAGATE ST32151N 0530> type 0 fixed SCSI 2
sd0: Direct-Access 2049MB (4197405 512 byte sectors)
cd0 at scbus0 target 1 lun 0
cd0: <NEC CD-ROM DRIVE:461 2.3d> type 5 removable SCSI 2
cd0: CD-ROM can't get the size
st0 at scbus0 target 3 lun 0
st0: <HP C1533A 9608> type 1 removable SCSI 2
st0: Sequential-Access density code 0x24, variable blocks, write-enabled



>How-To-Repeat:

use gnu tar to dump to scsi tape drive.  these used to be intermittent now with the latest build its ever time but i didnt notice any recent scsi commits.

>Fix:
	
human sacrifice to scsi god had no effect.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mjacob 
State-Changed-When: Sun Oct 29 10:31:21 PST 2000 
State-Changed-Why:  
Obsolete by now. At any rate, it looked more like some kind oif 
problem where a reset at the disk killed the tape. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=5624 
>Unformatted:
