From frank@news.via.nl  Thu Mar 13 07:51:42 1997
Received: from news.via.nl (news.via.nl [193.78.61.101])
          by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id HAA03824
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 13 Mar 1997 07:51:41 -0800 (PST)
Received: (qmail 14016 invoked by uid 1000); 13 Mar 1997 15:51:37 -0000
Message-Id: <19970313155137.14015.qmail@news.via.nl>
Date: 13 Mar 1997 15:51:37 -0000
From: frank@news.via.nl
Reply-To: frank@news.via.nl
To: FreeBSD-gnats-submit@freebsd.org
Subject: 2.2 crashes after accessing DAT-tape. both with ah2940 and ncr53c810.
X-Send-Pr-Version: 3.2

>Number:         2980
>Category:       kern
>Synopsis:       2.2 crashes after accessing DAT-tape. both with ah2940 and ncr53c810.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 13 08:00:01 PST 1997
>Closed-Date:    Sun Mar 22 09:28:05 PST 1998
>Last-Modified:  Sun Mar 22 09:28:49 PST 1998
>Originator:     frank
>Release:        FreeBSD 2.2-GAMMA i386
>Organization:
>Environment:
Hi, here is the dmesg after i managed to prevent it from crashing. ( got lucky
this one time).

Copyright (c) 1992-1996 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 2.2-GAMMA #0: Tue Mar  4 02:48:09 MET 1997
    root@news:/usr/src/sys/compile/NEWS
Calibrating clock(s) relative to mc146818A clock ... i586 clock: 133633937 Hz, i8254 clock: 1193161 Hz
CPU: Pentium (133.64-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 67108864 (65536K bytes)
avail memory = 62930944 (61456K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82437VX PCI cache memory controller> rev 2 on pci0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
vga0 <VGA-compatible display device> rev 0 int a irq 12 on pci0:10
de0 <Digital 21040 Ethernet> rev 35 int a irq 10 on pci0:11
de0: 21040 [10Mb/s] pass 2.3
de0: address 00:00:e8:0d:c7:20
de0: enabling BNC/AUI port
ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 11 on pci0:12
ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "IBM DPES-31080 S31Q" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 1034MB (2118144 512 byte sectors)
(ahc0:2:0): "MICROP 4221-09MZ  1128K HT02" type 0 fixed SCSI 2
sd1(ahc0:2:0): Direct-Access 1955MB (4004219 512 byte sectors)
(ahc0:3:0): "ARCHIVE Python 25950-XXX 2.29" type 1 removable SCSI 2
st0(ahc0:3:0): Sequential-Access density code 0x13, 512-byte blocks, write-enabled
(ahc0:6:0): "IBM DPES-31080 S80E" type 0 fixed SCSI 2
sd2(ahc0:6:0): Direct-Access 1034MB (2118144 512 byte sectors)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio4 at 0x2a0-0x2a7 flags 0x701 on isa
sio4: type 16550A (multiport)
sio5 at 0x2a8-0x2af flags 0x701 on isa
sio5: type 16550A (multiport)
sio6 at 0x2b0-0x2b7 flags 0x701 on isa
sio6: type 16550A (multiport)
sio7 at 0x2b8-0x2bf irq 5 flags 0x701 on isa
sio7: type 16550A (multiport master)
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
changing root device to sd0a
ccd0-3: Concatenated disk drivers
st0(ahc0:3:0): SCB 0x0 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0
SEQADDR == 0x10
st0(ahc0:3:0): Queueing an Abort SCB
st0(ahc0:3:0): Abort Message Sent
st0(ahc0:3:0): SCB 0x0 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x18
SEQADDR == 0x44
st0(ahc0:3:0): no longer in timeout
ahc0: Issued Channel A Bus Reset. 2 SCBs aborted
Clearing bus reset
Clearing 'in-reset' flag
sd0(ahc0:0:0): UNIT ATTENTION asc:29,0
sd0(ahc0:0:0):  Power on, reset, or bus device reset occurred
, retries:4
st0(ahc0:3:0): Target Busy
st0(ahc0:3:0): Target Busy
st0(ahc0:3:0): Target Busy
st0(ahc0:3:0): Target Busy
st0(ahc0:3:0): Target Busy
st0(ahc0:3:0): Target Busy

>Description:

When I try to make a backup on DAT (the python) the machine goes down quite
frequently. This makes it impossible to make backups (localy) of this machine :(

I tried this with my ahc-2940 which i normally use and with a ncr53c810 card (asus2000)
from my linux-machine. The ncr-driver doesn't give as much information, but the problem
is the same. The tape works fine on the other (linux) machine with the ncr-card.

I run cvsup frequently (twice a week or so). This problem has existed for a few months
now. (it used to work better with 2.1.0).

The machine is in use as my proxy and news-server, other than this FreeBSD is
running like a charm! Keep up the good work people =)

>How-To-Repeat:

If needed i can give access to the machine and mount a blank tape. To repeat the
problem a simple 'dump 0uBf 2000000 /dev/rst0 /' will do I'm afraid :/

>Fix:
	
Yes, please do.


kind regards,

Frank Ederveen
(frank@news.via.nl)
>Release-Note:
>Audit-Trail:

From: Studded <Studded@dal.net>
To: freebsd-gnats-submit@freebsd.org, frank@news.via.nl
Cc:  Subject: Re: kern/2980: 2.2 crashes after accessing DAT-tape. both with ah2940 and ncr53c810.
Date: Sun, 22 Mar 1998 02:54:58 -0800

 Mail to originator fails with "user unknown."
 
 Doug
 -- 
 ***         Chief Operations Officer, DALnet IRC network       ***
 *** Proud operator, designer and maintainer of the world's largest
 *** Internet Relay Chat server.  5,328 clients and still growing.
 *** Try spider.dal.net on ports 6662-4    (Powered by FreeBSD)
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Mar 22 09:28:05 PST 1998 
State-Changed-Why:  
Mail ping to originator failed.  If you are still out there 
and this problem still exists I will re-open this PR. 
>Unformatted:
