From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lucio Chiappetti Newsgroups: gmane.os.tru64.managers Subject: TLZ09 DAT tape on 4.0g Date: Wed, 23 Apr 2003 16:04:40 +0200 (MET DST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1051106869 9478 80.91.224.249 (23 Apr 2003 14:07:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2003 14:07:49 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Apr 23 16:07:47 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 198Kts-0002Pz-00 for ; Wed, 23 Apr 2003 16:07:04 +0200 Original-Received: (qmail 21375 invoked by uid 5); 23 Apr 2003 14:07:49 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21366 invoked by uid 49493); 23 Apr 2003 14:07:49 -0000 Original-Received: from lucio@mi.iasf.cnr.it by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.515477 secs); 23 Apr 2003 14:07:49 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 23 Apr 2003 14:07:48 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HDS00DPSV8ZMZ@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 23 Apr 2003 10:07:48 -0400 (EDT) Original-Received: from kronos.mi.iasf.cnr.it (kronos.mi.iasf.cnr.it [155.253.16.77]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HDS00M4IV8KRA@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 23 Apr 2003 10:07:40 -0400 (EDT) Original-Received: from poseidon.mi.iasf.cnr.it (poseidon.mi.iasf.cnr.it [155.253.16.87]) by kronos.mi.iasf.cnr.it (8.12.9/8.12.9) with ESMTP id h3NE4bvA001254 for ; Wed, 23 Apr 2003 16:04:38 +0200 (MET DST) Original-Received: from localhost (lucio@localhost) by poseidon.mi.iasf.cnr.it (8.9.1/8.9.1) with ESMTP id QAA26718; Wed, 23 Apr 2003 16:04:40 +0200 (MET DST) Original-To: Alpha OSF list Xref: main.gmane.org gmane.os.tru64.managers:4038 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4038 I have just upgraded my only Alpha (old 200/100) with a DAT tape attached to it from 3.2 to 4.0g. The tape drive did work with the old system (I wrote the dumps just before zapping the old system). However now it seems to have problems. I tried reading a couple of tapes (one is a tar file, and the tape is OK as tested on a Sun). I tried both with /usr/field/tapex -w -m, and one with tar. However I get funny behaviours like it the tape were empty or with errors. I also tried various mt -f /dev/nrmt0h commands (rew status offline online). Sometimes the tape drive says that it is offline, however it appears to respond to online/offline and rewind commands. The curious thing is that most of the time the status reply contains the following string (full message appended at the end) status 0x3200 Device inoperable (needs initialize) What does it mean ? How do I "initialize" the unit ? I thought there was something amiss with the device files (the tape is alone on a second SCSI bus and is tz12), however it appears that during the OS installation it was detected correctly, at boot it is seen, the MAKEDEV.log shows the device files made. And just for sure I removed them and did again MAKEDEV tz12. This is the full "typical" status message (it may also say things like "becoming ready" or "changed media", but only in one case I got something which looked as "no errors" (but then tapex gave errors reading the tape). DEVIOGET ELEMENT CONTENTS ---------------- -------- category DEV_TAPE bus DEV_SCSI interface SCSI device TLZ09 adpt_num 0 nexus_num 0 bus_num 1 ctlr_num 1 slave_num 3 dev_name tz unit_num 3 soft_count 0 hard_count 0 stat 0x9 DEV_BOM DEV_WRTLCK category_stat 0x20000 DEV_61000_BPI DEVGETINFO ELEMENT CONTENTS ------------------ -------- media_status 0x10009 BOM WrtProt POS_VALID unit_status 0x181 Ready 2_FM_Close NO_Rewind Compacting Buffered record_size 0 density (current) 61000 BPI density (on write) 0 BPI Filemark Cnt 0 Record Cnt 0 Class 2 - RDAT MTIOCGET ELEMENT CONTENTS ---------------- -------- mt_type MT_ISSCSI mt_dsreg 0x9 DEV_BOM DEV_WRTLCK mt_erreg 0x8 Blank media encountered. mt_resid 1 mt_fileno 0 mt_blkno 0 DEV_EEI_STATUS version 0x2 status 0x3200 Device inoperable (needs initialize) flags 0x1000007 CAM_STATUS SCSI_STATUS SCSI_SENSE CAM_DATA cam_status 0x4 CCB request completed with an err scsi_status 0x2 SCSI_STAT_CHECK_CONDITION scsi_sense_data (hex) f0 0 8 0 0 0 1 12 0 0 0 0 0 0 0 0 22 0 0 0 0 0 8 1d 1f 40 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ASC/ASQ = 0/0 NO Additional Sense Information ---------------------------------------------------------------------------- Lucio Chiappetti - IASF/CNR - via Bassini 15 - I-20133 Milano (Italy) ---------------------------------------------------------------------------- L'Italia ripudia la guerra [...] come Italy repudiates war {...] as a mezzo di risoluzione delle controversie way of resolution of international internazionali controversies [Art. 11 Constitution of the Italian Republic] ---------------------------------------------------------------------------- For more info : http://www.mi.iasf.cnr.it/~lucio/personal.html ----------------------------------------------------------------------------