From owner-freebsd-scsi@FreeBSD.ORG Thu May 5 20:23:07 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 0B8A8106567C for ; Thu, 5 May 2011 20:23:07 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 614448FC19 for ; Thu, 5 May 2011 20:23:05 +0000 (UTC) Received: by fxm11 with SMTP id 11so2491280fxm.13 for ; Thu, 05 May 2011 13:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=edsBr8V3hC72DZtZ3wPVbCPG6ObLce1fzaB4xoX/KeA=; b=gYcrHjDsPSLdODnwV8Xati41aCH47PVoeJFhrJHP7JHzysijDNQJ+LQlqV4YHiSGGw bImtDKjqgRMI6Q+txiM6tWSWqVLBcfVOVBpo2p0pM5et/HVO1AP0eebSCmTQfzqL8F4M bQyzeDfWBjXioWK5wn4BDge3WzecAWN/mHcHA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=CeiGDpIpklaXWhcEp/eTK81KmySh8BVBGgkE0IblDghdflP/tJ6b6+SU6Smi0i8zqW X4/4CuoG/bRi6nVq2xqoBN7nf64trErGPr4LY6zi48aQmrnR/f0X5pPirSFnJZOfAQTS UaDatzqwt0i8rkkwD7sSvWw2wZKLC+6KBYTyU= Received: by 10.223.144.138 with SMTP id z10mr603331fau.65.1304626985120; Thu, 05 May 2011 13:23:05 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 9sm863402fat.39.2011.05.05.13.23.03 (version=SSLv3 cipher=OTHER); Thu, 05 May 2011 13:23:04 -0700 (PDT) Sender: Alexander Motin Message-ID: <4DC30709.9050608@FreeBSD.org> Date: Thu, 05 May 2011 23:22:33 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Mike Neimoyer References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org Subject: Re: 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 20:23:07 -0000 Mike Neimoyer wrote: > 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! According to SPC-3 specification "asc:40,84" means: "DIAGNOSTIC FAILURE ON COMPONENT NN (80H-FFH)", where NN is 84H. -- Alexander Motin