*BSD News Article 93403


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!news.apfel.de!newsfeed.nacamar.de!uunet!in3.uu.net!128.138.243.15!csnews!alumni!atk
From: atk@alumni.cs.Colorado.EDU (Alan T Krantz)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problem with scsi tape drive
Date: 11 Apr 1997 08:20:47 GMT
Organization: University of Colorado, Boulder CS Dept
Lines: 152
Message-ID: <5iks8v$lam$1@csnews.cs.colorado.edu>
References: <5ijqlg$gki$1@csnews.cs.colorado.edu>
NNTP-Posting-Host: alumni.cs.colorado.edu
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38902


Alan T Krantz (atk@alumni.cs.Colorado.EDU) wrote:
: I am having a bit of problem with a scsi tape drive - I'm not sure if
: the problem is specific to the drive or software so here  is the detail:

: The drive is a segate tst8000  the software is freebsd 2.0 
: (I know I know - well the drive was all i could afford and I'll
:  upgrade the os when I can do a fullbackup).

:  I started a tar and realize that i didn't include all files (/ doesn't
:  follow mounted devices) so I stopped  it with ^C. Well, now  whenever
:  the tar reaches the point where it stopped the first time I get:
:  tar: can't write to /dev/rst0 : Input/output error

:  Is there  anyway to correct htis problem - is the problem with the
:  drive, tape or .. Is there anyways to get the drive to just skip  over
:  this spot on the  tape  ??

:  thanks.

Additional sympton are along these lines (I don't think it was the tape
because rebooting the machine cleared things for a short time):

--
I have a tapedrive - segate tst8000 in an external case and I am running
FreeBSD 2.0-BUILT-19950606. (When I can do a full backup I will upgrade
to 2.2.1) 

I'm trying to do a full backup via tar -cv / /a /b etc... onto a single
tape.

I have an ncr scsi controller with the following:

(ncr0:1:0): "CONNER CTT8000-S 1.17"		(I moved this to :5: later)
(ncr0:0:0): "FUJITSU M1606S-512 6218"
(ncr0:4:0): "CONNER CFP1060S 1.05GB 2035"
(ncr0:6:0): "TOSHIBA CD-ROM XM-3601TA 0725"

If the tape drive hangs for any reason with input/output error the scsi chain
locks up (i.e, I can't access the hard disks and the hard disk access light
comes on and stays on). Furthermore all future access to the tape drive
results in an immediate input/output error (even if I power cycle the tape 
drive) until I reboot the machine. The tape drive is my only external device -
I've tried id #5 in addition to #1 with similar results (I will test the
drive on a Sun later today when the sysadmins comes in). And I've tried two
different tapes and two different cables. The drive has two cent50 connector
on the back and I've tried putting the terminator in the top and bottom 
connector. Here are some error messages from /var/log/messages (as far as 
I can tell they are useless:)

Apr 10 18:37:03 ccf1 /kernel: st0(ncr0:5:0): NOT READY asc:4,1
Apr 10 18:37:03 ccf1 /kernel: st0(ncr0:5:0):  Logical unit is in process of beco
ming ready
Apr 10 18:37:08 ccf1 /kernel: st0(ncr0:5:0): NOT READY asc:4,1
Apr 10 18:37:08 ccf1 /kernel: st0(ncr0:5:0):  Logical unit is in process of beco
ming ready
Apr 10 18:38:42 ccf1 /kernel: st0(ncr0:5:0): BLANK CHECK req sz: 10240 (decimal)
 asc:14,3 End-of-data not found
Apr 10 22:58:42 ccf1 login: login on ttyv1 as atk
Apr 10 22:59:43 ccf1 login: login on ttyv2 as atk
Apr 11 00:40:18 ccf1 /kernel: ncr0 targ 0?: ERROR (80:140) (8-2a-0) (8/13) @ (40
4:900b0000).
Apr 11 00:40:31 ccf1 /kernel:         reg: da 10 80 13 47 8 0 1f 1 8 85 2a 80 0
a 0. 
Apr 11 00:40:31 ccf1 /kernel: ncr0: restart (fatal error).
Apr 11 00:40:31 ccf1 /kernel: sd0(ncr0:0:0): COMMAND FAILED (9 ff) @f0961800.
Apr 11 00:40:32 ccf1 /kernel: ncr0: reset by timeout.
Apr 11 00:40:32 ccf1 /kernel: sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offse
t 8.
Apr 11 00:40:32 ccf1 /kernel: sd0(ncr0:0:0): extraneous data discarded.
Apr 11 00:40:32 ccf1 /kernel: sd0(ncr0:0:0): COMMAND FAILED (9 80) @f0961800.
Apr 11 00:40:32 ccf1 /kernel: st0(ncr0:5:0): 200ns (5 Mb/sec) offset 8.
Apr 11 02:00:01 ccf1 /kernel: sd1(ncr0:4:0): FAST SCSI-2 100ns (10 Mb/sec) offse
t 8.
Apr 11 02:00:01 ccf1 /kernel: sd1(ncr0:4:0): UNIT ATTENTION info?:b0000
Apr 11 02:00:01 ccf1 /kernel: , retries:4

these are from dmesg:

ncr0: reset by timeout.
ncr0: reset by timeout.
ncr0: reset by timeout.
vnode_pager_input: I/O read error
vm_fault: pager input (probably hardware) error, PID 467 failure
pid 467: atrun: uid 0: exited on signal 11
ncr0: reset by timeout.
ncr0: reset by timeout.
ncr0: reset by timeout.
ncr0: reset by timeout.
ncr0: reset by timeout.
ncr0: reset by timeout.
ncr0: reset by timeout.
vnode_pager_input: I/O read error
vm_fault: pager input (probably hardware) error, PID 469 failure
pid 469: atrun: uid 0: exited on signal 11
ncr0: reset by timeout.
ncr0: reset by timeout.
ncr0: reset by timeout.
ncr0: reset by timeout.
ncr0: reset by timeout.
ncr0: reset by timeout.
sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
sd0(ncr0:0:0): extraneous data discarded.
sd0(ncr0:0:0): COMMAND FAILED (9 80) @f0961800.
st0(ncr0:5:0): 200ns (5 Mb/sec) offset 8.
ncr0 targ 5?: ERROR (80:140) (8-2a-0) (88/13) @ (404:900b0000).
              reg: da 10 80 13 47 88 5 1f 1 8 5 2a 80 0 a 0.
ncr0: restart (fatal error).
sd0(ncr0:0:0): COMMAND FAILED (9 ff) @f0961800.
st0(ncr0:5:0): COMMAND FAILED (9 ff) @f0881000.
ncr0: reset by timeout.
ncr0: reset by timeout.
sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
sd0(ncr0:0:0): UNIT ATTENTION info?:b0000
, retries:3
sd1(ncr0:4:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
sd1(ncr0:4:0): NOT READY info?:bb0080
, retries:2
st0(ncr0:5:0): 200ns (5 Mb/sec) offset 8.
ncr0 targ 5?: ERROR (80:140) (8-2a-0) (88/13) @ (404:900b0000).
              reg: da 10 80 13 47 88 5 1f 1 8 5 2a 80 0 a 0.
ncr0: restart (fatal error).
st0(ncr0:5:0): COMMAND FAILED (9 ff) @f0881000.
ncr0: reset by timeout.
ncr0: reset by timeout.
nncr0: reset by timeout.
sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
sd0(ncr0:0:0): UNIT ATTENTION info?:b0000
, retries:3
st0(ncr0:5:0): 200ns (5 Mb/sec) offset 8.
ncr0 targ 5?: ERROR (80:140) (8-2a-0) (88/13) @ (404:900b0000).
              reg: da 10 80 13 47 88 5 1f 1 8 5 2a 80 0 a 0.
ncr0: restart (fatal error).
st0(ncr0:5:0): COMMAND FAILED (9 ff) @f0881000.
ncr0: reset by timeout.
ncr0: reset by timeout.
ncr0: reset by timeout.
sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
sd0(ncr0:0:0): UNIT ATTENTION info?:b0000
, retries:2
st0(ncr0:5:0): 200ns (5 Mb/sec) offset 8.
st0(ncr0:5:0): NOT READY asc:4,1
st0(ncr0:5:0):  Logical unit is in process of becoming ready
ncr0 targ 5?: ERROR (80:140) (8-2a-0) (88/13) @ (404:900b0000).
              reg: da 10 80 13 47 88 5 1f 1 8 5 2a 80 0 a 0.
ncr0: restart (fatal error).
st0(ncr0:5:0): COMMAND FAILED (9 ff) @f0881000.
sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
sd1(ncr0:4:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
sd1(ncr0:4:0): UNIT ATTENTION info?:b0000
, retries:4