From owner-freebsd-scsi Tue Jul 30 15:51:52 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA15350 for freebsd-scsi-outgoing; Tue, 30 Jul 1996 15:51:52 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA15320 for ; Tue, 30 Jul 1996 15:51:37 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA23600; Wed, 31 Jul 1996 00:50:52 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id AAA26705; Wed, 31 Jul 1996 00:50:51 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id WAA12096; Tue, 30 Jul 1996 22:35:39 +0200 (MET DST) From: J Wunsch Message-Id: <199607302035.WAA12096@uriah.heep.sax.de> Subject: Re: WORM errors To: freebsd-scsi@freebsd.org Date: Tue, 30 Jul 1996 22:35:39 +0200 (MET DST) Cc: handy@sag.space.lockheed.com (Brian N. Handy) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Brian N. Handy" at "Jul 30, 96 09:46:13 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Brian N. Handy wrote: > Error code is "current errors" > Segment number is 00 > Sense key is "Unit attention" You should better catch UA's before starting anything else. The simplest way to do this is: scsi -f /dev/rworm0.ctl -c "0 0 0 0 0 0" > /dev/null 2>&1 It's a TEST UNIT READY command. > 625149952 bytes transferred in 2039 secs (306596 bytes/sec) > wormcontrol: ioctl(WORMIOFIXATION): Input/output error Well, we need the SCSI error message for this (from the syslog or the console). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)