From owner-freebsd-bugs@FreeBSD.ORG Wed Feb 17 16:10:05 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B29AE1065672 for ; Wed, 17 Feb 2010 16:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8C7678FC14 for ; Wed, 17 Feb 2010 16:10:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1HGA5HW094190 for ; Wed, 17 Feb 2010 16:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1HGA5Et094189; Wed, 17 Feb 2010 16:10:05 GMT (envelope-from gnats) Resent-Date: Wed, 17 Feb 2010 16:10:05 GMT Resent-Message-Id: <201002171610.o1HGA5Et094189@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kirk Strauser Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDF5E1065696 for ; Wed, 17 Feb 2010 16:04:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id DD66F8FC0C for ; Wed, 17 Feb 2010 16:04:51 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1HG4p6R073343 for ; Wed, 17 Feb 2010 16:04:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o1HG4pnJ073341; Wed, 17 Feb 2010 16:04:51 GMT (envelope-from nobody) Message-Id: <201002171604.o1HG4pnJ073341@www.freebsd.org> Date: Wed, 17 Feb 2010 16:04:51 GMT From: Kirk Strauser To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/144043: USB DLT tape drive throws random errors X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 16:10:05 -0000 >Number: 144043 >Category: misc >Synopsis: USB DLT tape drive throws random errors >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 17 16:10:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Kirk Strauser >Release: 8-STABLE >Organization: Daycos >Environment: FreeBSD jail2.daycos.com 8.0-STABLE FreeBSD 8.0-STABLE #3: Sat Feb 13 11:03:18 CST 2010 root@jail2.daycos.com:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I have a Dell PowerEdge SC1425 server with a USB tape drive. From dmesg: umass0:0:0:-1: Attached to scbus0 sa0 at umass-sim0 bus 0 scbus0 target 0 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 40.000MB/s transfers The problem is that it randomly throws tape errors during writes: # dd if=/dev/zero of=/dev/sa0 bs=1m dd: /dev/sa0: Input/output error 3272+0 records in 3271+0 records out 3429892096 bytes transferred in 136.946745 secs (25045444 bytes/sec) # dmesg | tail [...] (sa0:umass-sim0:0:0:0): failed to write terminating filemark(s) This doesn't happen *every* time, but often enough that Amanda backups fail regularly and I'm getting nervous about what would happen if I had to explain this all to my boss. To rule out hardware failure, I've repeated the experiment with identical tape drive units, different USB cables, different USB ports, and both used and new tapes. Basically, writes to that model of tape drive connected to that server will fail about half the time. This is a production server, but I can run any requested tests at night if need be. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: