From nobody  Tue May 19 11:27:53 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id LAA12611;
          Tue, 19 May 1998 11:27:53 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199805191827.LAA12611@hub.freebsd.org>
Date: Tue, 19 May 1998 11:27:53 -0700 (PDT)
From: jms@caja-granada.es
To: freebsd-gnats-submit@freebsd.org
Subject: computer hang for timeout in scsi controller
X-Send-Pr-Version: www-1.0

>Number:         6693
>Category:       i386
>Synopsis:       computer hang for timeout in scsi controller
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gibbs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 19 11:30:05 PDT 1998
>Closed-Date:    Mon Nov 2 11:30:41 PST 1998
>Last-Modified:  Mon Nov  2 11:31:06 PST 1998
>Originator:     Jose Megias
>Release:        2.2.5
>Organization:
Caja Gral. Ahorros Granada
>Environment:
mulhacen2# uname -a
FreeBSD mulhacen2.caja-granada.es 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Thu Ma
y 14 10:58:41 GMT 1998     root@mulhacen2.caja-granada.es:/usr/src/sys/compile/M
ULHACEN  i386

>Description:
too many times the computer hang with the following message:
sd0(ahc0:0:0):SCB 0X0 - timed out in dataout phase, SCSISIGI==0xe6
SEQADDR=0x129 SCSISEQ=0x12 SSTAT0=0x2 SSTAT1=0x13
sd0(ahc0:0:0): abort message in message buffer
sd0(ahc0:0:0): SCB 0x1 - timedout while recovery in progress
sd0(ahc0:0:0): SCB 0x0 - timed out in dataout phase, SCSISIGI==0xf6
SEQADDR=0x129 SCISEQ=0x12 SSTAT0=0x2 SSTAT1=0x13
sd0(ahc0:0:0): no longer in timeout
ahc0: Issued Channel A Bus Reset. 2 SCBs aborted
sd0(ahc0:0:0): SCB 0x1 - timed out while idle, LASTPHASE==0x1, SCSISIGI==0x0
SEQADDR=0x15f SCSISEQ=0x12 SSTAT0=0x2 SSTAT1=0x0
sd0(ahc0:0:0): Queueing an Abort SCB
>How-To-Repeat:
the problem usually occurs when I've acceded to the disk with command like:
     find / -name 'fwt*' -print
     rm file (where file has 3000000 bytes)

The computer has a AHA-2940 Ultra Wide SCSI, the dmesg command show:
mulhacen2# dmesg
Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
FreeBSD 2.2.5-RELEASE #0: Thu May 14 10:58:41 GMT 1998
    root@mulhacen2.caja-granada.es:/usr/src/sys/compile/MULHACEN
CPU: Pentium Pro (233.03-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping=4
  Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,<b11>,MTRR,PGE,MCA,CMOV>
real memory  = 134217728 (131072K bytes)
avail memory = 127225856 (124244K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:4:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:4:1
vx0 <3COM 3C900 Etherlink XL PCI> rev 0 int a irq 9 on pci0:6
utp[*utp*] address 00:60:97:96:dc:ef
ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 1 int a irq 11 on pci0:10
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "QUANTUM XP34550W LYK8" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 4341MB (8890760 512 byte sectors)
(ahc0:2:0): "HP C1533A 9503" type 1 removable SCSI 2
st0(ahc0:2:0): Sequential-Access density code 0x24,  drive empty
vga0 <VGA-compatible display device> rev 69 on pci0:13
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>                                                                                     
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <HITACHI CDR-8330/0007>, removable, accel, dma, iordis
wcd0: 1779/4134Kb/sec, 128Kb cache, audio play, 255 volume levels, ejectable tra
y
wcd0: 120mm data disc loaded, unlocked
le0 not found at 0x300
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
IP packet filtering initialized, divert enabled, logging limited to 100 packets/
entry
vx0: promiscuous mode enabled

>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->gibbs 
Responsible-Changed-By: phk 
Responsible-Changed-When: Tue May 19 22:34:23 PDT 1998 
Responsible-Changed-Why:  
over to mr scsi... 
State-Changed-From-To: open->closed 
State-Changed-By: gibbs 
State-Changed-When: Mon Nov 2 11:30:41 PST 1998 
State-Changed-Why:  
Believed to be fixed by CAM. 
>Unformatted:
