Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 1997 11:30:40 +0200 (SAT)
From:      Reinier Bezuidenhout <rbezuide@oskar.nanoteq.co.za>
To:        freebsd-hackers@freebsd.org
Subject:   HP DAT and crashes
Message-ID:  <199705300930.LAA00660@oskar.nanoteq.co.za>

next in thread | raw e-mail | index | archive | help
Hi there ...

After having installed a HP C1599A 4 Gig DDS2 tape drive my system
has been reebooting everytime I use the DAT drive.

I have the following components installed

FreeBSD 2.1.7.1        
Adaptek 2940
2 X @ Gig IBM DORS SCSI disks (running as one ccd device)
1 X HP C1599A DAT drive (hardware compression enabled SCSI ID 6,
	                 termination off)

Sequence  Adaptek----->st0------>sd0-------->sd1(term)


Before I installed the HP C1599A I used to do backups using 
an external HP 2 Gig drive without any problems !! So I'm
not sure if the problem lies with the device driver for
the 2940 ISA Adaptek (a bit old :) )

The following happens.
The backing of a backup seems fine:
tar -cvf /dev/rst0 /

but when doing a
tar -dvf /dev/rst0

It seems to run up to a point and then the following is displayed
in the logs an on the console

May 29 14:09:02 oskar /kernel: st0(ahc0:6:0): timed out while idle, LASTPHASE ==
 0x1, SCSISIGI == 0x0
May 29 14:09:02 oskar /kernel: SEQADDR == 0x11

panic ahc0: Timed-out command times out again
syncing disks ... 135 135 135 ..... giving up

followed by a reboot.


This morning I tried to do a "mt -f /dev/rst0 erase"

And got the following in the logs and on the console

May 30 10:36:53 oskar /kernel: st0(ahc0:6:0): timed out while idle, LASTPHASE ==
 0x1, SCSISIGI == 0x0
May 30 10:37:04 oskar /kernel: SEQADDR == 0x11
May 30 10:37:04 oskar /kernel: Abort Message Sent
May 30 10:37:04 oskar /kernel: sd1(ahc0:1:0): timed out in message out phase, SC
SISIGI == 0x0
May 30 10:37:04 oskar /kernel: SEQADDR == 0x0
May 30 10:37:04 oskar /kernel: st0(ahc0:6:0): abort message in message buffer
May 30 10:37:04 oskar /kernel: st0(ahc0:6:0): timed out while idle, LASTPHASE ==
 0x1, SCSISIGI == 0x0
May 30 10:37:04 oskar /kernel: SEQADDR == 0x10
May 30 10:37:04 oskar /kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted
May 30 10:37:04 oskar /kernel: Clearing bus reset
May 30 10:37:04 oskar /kernel: sd1(ahc0:1:0): UNIT ATTENTION asc:29,0
May 30 10:37:04 oskar /kernel: sd1(ahc0:1:0):  Power on, reset, or bus device re
set occurred
May 30 10:37:04 oskar /kernel: , retries:4
May 30 10:37:04 oskar /kernel: Clearing 'in-reset' flag
May 30 10:37:34 oskar /kernel: sd0(ahc0:0:0): UNIT ATTENTION asc:29,0
May 30 10:37:34 oskar /kernel: sd0(ahc0:0:0):  Power on, reset, or bus device re
set occurred
May 30 10:37:34 oskar /kernel: , retries:4
May 30 10:42:04 oskar /kernel: st0(ahc0:6:0): timed out while idle, LASTPHASE ==
 0x1, SCSISIGI == 0x0
May 30 10:42:04 oskar /kernel: SEQADDR == 0x11

followed by a reboot .... after about 5 minutes


Here is an extract from dmesg ...

ahc0 <Adaptec 2940 SCSI host adapter> rev 0 int a irq 10 on pci0:19
ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "IBM DORS-32160 S82C" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 2063MB (4226725 512 byte sectors)
(ahc0:1:0): "IBM DORS-32160W WA6A" type 0 fixed SCSI 2
sd1(ahc0:1:0): Direct-Access 2063MB (4226725 512 byte sectors)
(ahc0:6:0): "HP C1533A A612" type 1 removable SCSI 2
st0(ahc0:6:0): Sequential-Access density code 0x24,  drive empty
Probing for devices on the ISA bus:


Thanx 
Reinier




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705300930.LAA00660>