From owner-freebsd-scsi Sun Apr 21 07:12:27 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA19803 for freebsd-scsi-outgoing; Sun, 21 Apr 1996 07:12:27 -0700 (PDT) Received: (from jmb@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA19797 Sun, 21 Apr 1996 07:12:25 -0700 (PDT) From: "Jonathan M. Bresler" Message-Id: <199604211412.HAA19797@freefall.freebsd.org> Subject: Re: Archive Anaconda on 1540B -- waiting forever for tape to become ready To: peter@taronga.com (Peter da Silva) Date: Sun, 21 Apr 1996 07:12:25 -0700 (PDT) Cc: scsi@freebsd.org In-Reply-To: <199604210600.BAA05138@bonkers.taronga.com> from "Peter da Silva" at Apr 21, 96 01:00:00 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Peter da Silva wrote: > > > is this a brand new blank tape? never before used? > > if so you have to "force" the tape. try "mt -f /dev/rst0 fsf 1" > > for me that results in > > "st0(ncr1:4:0): HARDWARE FAILURE info:1 asc:80,8a" > > but afterward mt operations work! > > That got it to do something, and the status worked, so I decided to > try tarring some stuff to it. Now I get: > > Apr 21 00:50:32 bonkers /kernel: st0(aha0:5:0): HARDWARE FAILURE info:1 asc:80,8a > Apr 21 00:53:34 bonkers /kernel: st0(aha0:5:0): timed out > this message appears only once in the aha1542.c code, in the function aha_timeout(). stefan esser added to the ncr.c code to deal with time outs by extending the interval for command completion. the timeout was extended from 4 to 1200 (which is 20 minutes, if i remember correctly that the units are seconds.) the timeout is part of the struct scsi_xfer and is set in scsi_base.c BUT this is kermel code version dependent. so what are you running? this should go to the scsi mailing list, i am going to cc: it there and remove -hackers from the list -- Jonathan M. Bresler FreeBSD Postmaster jmb@FreeBSD.ORG FreeBSD--4.4BSD Unix for PC clones, source included. http://www.freebsd.org/