From owner-freebsd-hardware Mon Feb 3 13:29:27 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA21422 for hardware-outgoing; Mon, 3 Feb 1997 13:29:27 -0800 (PST) Received: from iafnl.es.iaf.nl (uucp@iafnl.es.iaf.nl [195.108.17.20]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id NAA21399 for ; Mon, 3 Feb 1997 13:29:19 -0800 (PST) Received: by iafnl.es.iaf.nl with UUCP id AA06113 (5.67b/IDA-1.5 for hardware@freebsd.org); Mon, 3 Feb 1997 22:26:38 +0100 Received: (from wilko@localhost) by yedi.iaf.nl (8.7.5/8.6.12) id WAA01317; Mon, 3 Feb 1997 22:16:52 +0100 (MET) From: Wilko Bulte Message-Id: <199702032116.WAA01317@yedi.iaf.nl> Subject: Re: DEC TZ87 To: ks@itp.ac.ru (Sergey S. Kosyakov) Date: Mon, 3 Feb 1997 22:16:52 +0100 (MET) Cc: hardware@freebsd.org In-Reply-To: from "Sergey S. Kosyakov" at Feb 3, 97 04:55:10 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hardware@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Sergey S. Kosyakov wrote... << appreciate a way to fix this message below, from elm>> [Charset: KOI8-R, skipping] << Xterm cut'n paste >> > Dear Wilko, > > I have "DEC TZ87 (C) DEC 9514 type 1 removable SCSI-2" "density code 0x19" > tape drive. It works very well with MS WinNT. But with FreeBSD I met some > problems. If I use tar,dd, or simple "cat big.file > /dev/rst0" command > fails > in random time with > st0(ncr1:1:0): Deferred Error: RECOVERED ERROR asc:a,0 Error log overflow My TZ87 manual tells me that the drive has seen an excessive I/O error rate. The log it refers to (log pages 2/3) use 4 byte counters to count the different errors (corrected, fatal etc). It seems your drive is reporting loads of errors to the system. Maybe NT just ignores these? Questions: - is it always on the same tape? - is there a switching power supply in the drives neighbourhood? Mine became very upset when the PS transformer induced EMI into the head and/or electronics. > After light hack of st driver I find out that at this time > sense->error_code equals 113 (decimal). I add to st.c lines > (into st_interpret_sense(xs) function): > if(sense->error_code==113) > return ESUCCESS; > With that hack the tape seems to work right. Yikes. I'd rather investigate where the errors come from. Assuming the SCSI code is OK. > NCR PCI 53c815 is my SCSI controller. FreeBSD-2.1, 2.2-SNAPs, 2.2-BETA (now) I have an NRC810. Works fine with 2.1R and 2.1.5R Did you have problems with all these FreeBSD versions? Wilko _ ____________________________________________________________________ | / o / / _ Bulte email: wilko@yedi.iaf.nl - Arnhem, The Netherlands |/|/ / / /( (_) Do, or do not. There is no 'try' - Yoda --------------------------------------------------------------------------