From owner-freebsd-scsi@FreeBSD.ORG Fri Feb 3 11:27:02 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5189E16A423; Fri, 3 Feb 2006 11:27:02 +0000 (GMT) (envelope-from age.robekk@ventelo.no) Received: from kirov.kq.no (kirov.kq.no [195.139.204.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBBAA43D48; Fri, 3 Feb 2006 11:27:01 +0000 (GMT) (envelope-from age.robekk@ventelo.no) Received: from aage.i.eunet.no (aage.i.eunet.no [193.71.2.25]) by kirov.kq.no (Postfix) with ESMTP id A513728D8E; Fri, 3 Feb 2006 12:27:00 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by aage.i.eunet.no (Postfix) with ESMTP id 968CE510B6; Fri, 3 Feb 2006 12:27:00 +0100 (CET) Message-ID: <43E33E04.1080007@ventelo.no> Date: Fri, 03 Feb 2006 12:27:00 +0100 From: =?ISO-8859-1?Q?=C5ge_R=F8bekk?= User-Agent: Thunderbird 1.5 (X11/20060117) MIME-Version: 1.0 To: "Kenneth D. Merry" References: <43E2189B.1090207@ventelo.no> <20060202162133.GA90898@nargothrond.kdm.org> In-Reply-To: <20060202162133.GA90898@nargothrond.kdm.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-scsi@freebsd.org Subject: Re: Problems with Dell PV132T tape changer 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: Fri, 03 Feb 2006 11:27:02 -0000 Kenneth D. Merry wrote: > On Thu, Feb 02, 2006 at 15:35:07 +0100, ?ge R?bekk wrote: >> This changer has two separate changer devices, /dev/ch0 and /dev/ch1. >> When moving a tape from e.g. slot 0 to drive 0 on /dev/ch0, everything >> works as it is supposed to. However, trying the same operation on >> /dev/ch1 fails as follows: >> >> # chio -f /dev/ch0 move slot 0 drive 0 >> chio: /dev/ch0: CHIOMOVE: Input/output error > > This doesn't quite make sense. You're trying the above command on ch0, but > you said the problem is with ch1...and it looks like the command failed on > ch0 as well. Oops, a slight mixup. /dev/ch1 is the erroneous device, /dev/ch0 apparently has no problems. The cutted & pasted error above was due to moving from a slot to an already occupied drive on the wrong device. >> dmesg: >> >> [...] >> (ch1:ahc0:0:5:1): MOVE MEDIUM. CDB: a5 20 0 1 20 6 2 0 0 0 0 0 >> (ch1:ahc0:0:5:1): CAM Status: SCSI Status Error >> (ch1:ahc0:0:5:1): SCSI Status: Check Condition >> (ch1:ahc0:0:5:1): ILLEGAL REQUEST asc:3b,a0 >> (ch1:ahc0:0:5:1): Vendor Specific ASCQ >> (ch1:ahc0:0:5:1): Unretryable error > > In this case, ch1 didn't like the move medium for some reason, but they've > given us a vendor specific error. The other errors in that general > vicinity in the spec deal with not being able to do movements requested > from a changer. Is there any easy way to obtain the documentation that states what these ASCQ codes are? This might be as easy as a stuck picker or perhaps faulty firmware. >> # chio -f /dev/ch1 status >> picker 0: >> slot 0: >> slot 1: >> slot 2: >> slot 3: >> slot 4: >> slot 5: >> slot 6: >> slot 7: >> slot 8: >> slot 9: >> slot 10: >> slot 11: >> slot 12: >> slot 13: >> portal 0: >> drive 0: > > From the specs, it looks like this changer is supposed to have up to 24 slots > when used with LTO drives. How many slots does your unit have? How many > slots are there on ch0? ch0 has 8 slots: # chio -f /dev/ch0 status picker 0: slot 0: slot 1: slot 2: slot 3: slot 4: slot 5: slot 6: slot 7: portal 0: drive 0: > Are all slots available from both changer devices? No, for some reason they chose to separate the device into two different pickers and drives. 8 of the cartridges are in the back of the unit (ch0), the rest is mounted in front (ch1). > Ken -- Åge Røbekk, Ventelo Comnet AS