From owner-freebsd-scsi@FreeBSD.ORG Thu May 5 16:22:54 2011 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 6E448106566C for ; Thu, 5 May 2011 16:22:54 +0000 (UTC) (envelope-from mike@summersault.com) Received: from tanagra.summersault.com (tanagra.summersault.com [12.161.105.149]) by mx1.freebsd.org (Postfix) with ESMTP id 0B1068FC18 for ; Thu, 5 May 2011 16:22:53 +0000 (UTC) Received: (qmail 88666 invoked from network); 5 May 2011 15:56:10 -0000 Received: from kosh.summersault.com (HELO ?192.168.97.193?) (mike@192.168.97.193) by tanagra.summersault.com with ESMTPA; 5 May 2011 15:56:10 -0000 Message-ID: <4DC2C899.8070502@summersault.com> Date: Thu, 05 May 2011 11:56:09 -0400 From: Mike Neimoyer User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Making sense of error codes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2011 16:22:54 -0000 Good morning, all. First post to the group, and I'm a bit of a newbie in general, so please be gentle. :) I'll provide as much information as I know how to, and if there's more you need, please let me know and I'll do my best! Thanks. Recently, I've had a tape library's autoloader stop being recognized. It was working just fine, and then the backup software (amanda) began reporting errors that it couldn't communicate. No changes were made to the system and it had run a backup earlier that morning successfully. Multiple attempts to re-establish communications failed, checked all cables, verified that the system saw the device by "camcontrol devlist" (it did, but the unit was listed simply as "pass3" instead of the usual "ch0,pass3"). Was eventually told to shutdown and powercycle both units, but without success. Basics: FreeBSD 6.1-RELEASE Dell Powervault 124t via SCSI Checking the /var/log/messages file, after the I see: May 2 16:44:24 jazz kernel: sa0 at ahc1 bus 0 target 12 lun 0 May 2 16:44:24 jazz kernel: sa0: Removable Sequential Access SCSI-3 device May 2 16:44:24 jazz kernel: sa0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit) May 2 16:44:24 jazz kernel: (ch0:ahc1:0:12:1): MODE SENSE(06). CDB: 1a 20 1d 0 20 0 May 2 16:44:24 jazz kernel: (ch0:ahc1:0:12:1): HARDWARE FAILURE asc:40,84 May 2 16:44:24 jazz kernel: (ch0:ahc1:0:12:1): (null) May 2 16:44:24 jazz kernel: (ch0:ahc1:0:12:1): fatal error, failed to attach to device May 2 16:44:24 jazz kernel: (ch0:ahc1:0:12:1): lost device May 2 16:44:24 jazz kernel: (ch0:ahc1:0:12:1): removing device entry So, there is a hardware failure somewhere, but I am not sure how to determine if it's the internal card or the external tape library unit itself (in a perfect world, I'd have another tape library unit I could just swap out, but alas.... :) ). I've tried looking up the ASC (40, 84), but can't seem to find a agreed-upon meaning for them. I could, quite probably in fact, simply not be looking in the right place. Can any kind soul point me in the right direction for figuring this issue out? Thanks! Best, ~~Mike