From owner-freebsd-scsi@FreeBSD.ORG Sun Oct 26 07:26:02 2008 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 B0616106566B for ; Sun, 26 Oct 2008 07:26:02 +0000 (UTC) (envelope-from j@uriah.heep.sax.de) Received: from uriah.heep.sax.de (uriah.heep.sax.de [213.240.137.9]) by mx1.freebsd.org (Postfix) with ESMTP id 511128FC0A for ; Sun, 26 Oct 2008 07:26:02 +0000 (UTC) (envelope-from j@uriah.heep.sax.de) Received: by uriah.heep.sax.de (Postfix, from userid 107) id E45C770; Sun, 26 Oct 2008 08:07:31 +0100 (MET) Date: Sun, 26 Oct 2008 08:07:31 +0100 From: Joerg Wunsch To: freebsd-scsi@freebsd.org Message-ID: <20081026070731.GX51236@uriah.heep.sax.de> Mail-Followup-To: Joerg Wunsch , freebsd-scsi@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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-GPG-Fingerprint: 5E84 F980 C3CA FD4B B584 1070 F48C A81B 69A8 5873 User-Agent: Mutt/1.5.11 Subject: DLT7000: mt erase aborts after finishing X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2008 07:26:02 -0000 I've got this tape drive: at scbus2 target 0 lun 0 (sa0,pass2) (as part of an old Sun E280 library), and since I've also got a set of tapes along with it that contained data from the former owner, I promised to run a full erase on any of the tapes. This always results in: mt: /dev/nsa0: erase: Input/output error accompanied by: (sa0:sym1:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 (sa0:sym1:0:0:0): CAM Status: SCSI Status Error (sa0:sym1:0:0:0): SCSI Status: Check Condition (sa0:sym1:0:0:0): ABORTED COMMAND asc:44,89 (sa0:sym1:0:0:0): Vendor Specific ASCQ (sa0:sym1:0:0:0): Retrying Command (per Sense Data) (sa0:sym1:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 (sa0:sym1:0:0:0): CAM Status: SCSI Status Error (sa0:sym1:0:0:0): SCSI Status: Check Condition (sa0:sym1:0:0:0): ABORTED COMMAND asc:44,89 (sa0:sym1:0:0:0): Vendor Specific ASCQ (sa0:sym1:0:0:0): Retrying Command (per Sense Data) (sa0:sym1:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 (sa0:sym1:0:0:0): CAM Status: SCSI Status Error (sa0:sym1:0:0:0): SCSI Status: Check Condition (sa0:sym1:0:0:0): ABORTED COMMAND asc:44,89 (sa0:sym1:0:0:0): Vendor Specific ASCQ (sa0:sym1:0:0:0): Retrying Command (per Sense Data) (sa0:sym1:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 (sa0:sym1:0:0:0): CAM Status: SCSI Status Error (sa0:sym1:0:0:0): SCSI Status: Check Condition (sa0:sym1:0:0:0): ABORTED COMMAND asc:44,89 (sa0:sym1:0:0:0): Vendor Specific ASCQ (sa0:sym1:0:0:0): Retrying Command (per Sense Data) (sa0:sym1:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 (sa0:sym1:0:0:0): CAM Status: SCSI Status Error (sa0:sym1:0:0:0): SCSI Status: Check Condition (sa0:sym1:0:0:0): ABORTED COMMAND asc:44,89 (sa0:sym1:0:0:0): Vendor Specific ASCQ (sa0:sym1:0:0:0): Retries Exhausted occasionally also sym1:0:control msgout: 80 6. which appears to be benign. As far as I can tell, the error is harmless, the tapes appear to be erased (it took the usual more than an hour per tape anyway), so I'm just wondering why this might happen. Any other operation on the tapes, including a quick erase, works flawlessly. The DLT7000 manual lists the ASC/ASCQ pair for COMMAND ABORTED as "Command Cleared from Queue Without Other", whatever that might mean. Maybe it's worth to add some quirk for that? -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)