From owner-freebsd-scsi@FreeBSD.ORG Mon May 17 20:09:02 2010 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82F141065672 for ; Mon, 17 May 2010 20:09:02 +0000 (UTC) (envelope-from holm@pegasus.freibergnet.de) Received: from pegasus.freibergnet.de (pegasus.freibergnet.de [80.243.43.9]) by mx1.freebsd.org (Postfix) with ESMTP id 7471E8FC1F for ; Mon, 17 May 2010 20:09:01 +0000 (UTC) Received: from pegasus.freibergnet.de (localhost [127.0.0.1]) by pegasus.freibergnet.de (8.14.4/8.14.4) with ESMTP id o4HK8vqT098768; Mon, 17 May 2010 22:08:57 +0200 (CEST) (envelope-from holm@pegasus.freibergnet.de) Received: (from holm@localhost) by pegasus.freibergnet.de (8.14.4/8.14.4/Submit) id o4HK8vnY098767; Mon, 17 May 2010 22:08:57 +0200 (CEST) (envelope-from holm) Date: Mon, 17 May 2010 22:08:57 +0200 From: Holm Tiffe To: Matthew Jacob Message-ID: <20100517200856.GB96425@pegasus.freiberg-net.de> Mail-Followup-To: Holm Tiffe , Matthew Jacob , freebsd-scsi@freebsd.org References: <20100517150513.GA93298@pegasus.freiberg-net.de> <4BF16C62.6010104@feral.com> <20100517175923.GA96425@pegasus.freiberg-net.de> <4BF189BE.9000008@feral.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4BF189BE.9000008@feral.com> User-Agent: Mutt/1.4.2.3i Organization: FreibergNet Internet Services, TSHT Priority: normal X-Phone: +49-3731-74222 X-Mobile: +49-172-8790741 X-Fax: +49-3731-74200 Cc: freebsd-scsi@freebsd.org Subject: Re: Problems with DLT on 8-Stable X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: holm@freibergnet.de List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 20:09:02 -0000 Matthew Jacob wrote: > Holm Tiffe wrote: > >You can get what you ever want, but there is no message in > >/var/log/messages regarding this. > > > The messages state a "Media Not Present" error, on top of two TUR > conditions. Did you mean this: (probe6:ahc0:0:6:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe6:ahc0:0:6:0): CAM status: SCSI Status Error (probe6:ahc0:0:6:0): SCSI status: Check Condition (probe6:ahc0:0:6:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bu s device reset occurred) (probe5:ahc0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe5:ahc0:0:5:0): CAM status: SCSI Status Error (probe5:ahc0:0:5:0): SCSI status: Check Condition (probe5:ahc0:0:5:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bu s device reset occurred) (probe5:ahc0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe5:ahc0:0:5:0): CAM status: SCSI Status Error (probe5:ahc0:0:5:0): SCSI status: Check Condition (probe5:ahc0:0:5:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) sa0 at ahc0 bus 0 scbus0 target 5 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 3.300MB/s transfers If so, no, that has nothing todo with the DLT or the dump, 0:5:0 is a Tandberg QIC Streamer and the message was appearing while booting (/var/run/dmesg.boot) # camcontrol devlist at scbus0 target 0 lun 0 (da0,pass0) at scbus0 target 1 lun 0 (da1,pass1) at scbus0 target 2 lun 0 (da2,pass2) at scbus0 target 3 lun 0 (da3,pass3) at scbus0 target 5 lun 0 (sa0,pass4) at scbus0 target 6 lun 0 (sa1,pass5) > > Do any of these correlate to you changing the tapes? No. There is nothing on console or /var/log/messages after changing the tape. It is simple dump that complains there where an EOT on the new inserted tape. > > The '65536-byte tape record' message is interesting. For some reason, > sa is receiving a write that is no 64K in size, and the tape is in > 'fixed' 64K block mode. Hmm, I think the other way around. I've wrote 64K blocks with the last dump on the tape and somebody is trying to read with a smaller buffer.... Remember, I do dumps like this: dump L0uaf /dev/nsa1 -b 64 -C 16 /data where b is the Blocksize in k and C is the Cache size in Meg. > > Can you send the output of 'mt -f /dev/nsa1 status' with a tape loaded. # mt -f /dev/nsa1 status Mode Density Blocksize bpi Compression Current: 0x1a:DLTapeIV(20GB) variable 81633 IDRC ---------available modes--------- 0: 0x1a:DLTapeIV(20GB) variable 81633 IDRC 1: 0x1a:DLTapeIV(20GB) variable 81633 IDRC 2: 0x1a:DLTapeIV(20GB) variable 81633 IDRC 3: 0x1a:DLTapeIV(20GB) variable 81633 IDRC --------------------------------- Current Driver State: at rest. --------------------------------- File Number: 1 Record Number: 0 Residual Count 0 > > More than that I'll have to dig up a tape drive and attach it- I haven't > used on on FreeBSD in years. I'll test this on the old trusty Tandberg 8Gig QIC drive tomorrow and will post the results. Kind Regards, Holm -- Technik Service u. Handel Tiffe, www.tsht.de, Holm Tiffe, Freiberger Straße 42, 09600 Oberschöna, USt-Id: DE253710583 www.tsht.de, info@tsht.de, Fax +49 3731 74200, Mobil: 0172 8790 741