From owner-freebsd-scsi@FreeBSD.ORG Thu Feb 2 16:21:35 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 2165A16A422 for ; Thu, 2 Feb 2006 16:21:35 +0000 (GMT) (envelope-from ken@nargothrond.kdm.org) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 700BB43D45 for ; Thu, 2 Feb 2006 16:21:34 +0000 (GMT) (envelope-from ken@nargothrond.kdm.org) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.13.4/8.12.11) with ESMTP id k12GLX17091031; Thu, 2 Feb 2006 09:21:33 -0700 (MST) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.13.4/8.12.5/Submit) id k12GLX8s091030; Thu, 2 Feb 2006 09:21:33 -0700 (MST) (envelope-from ken) Date: Thu, 2 Feb 2006 09:21:33 -0700 From: "Kenneth D. Merry" To: ?ge R?bekk Message-ID: <20060202162133.GA90898@nargothrond.kdm.org> References: <43E2189B.1090207@ventelo.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43E2189B.1090207@ventelo.no> User-Agent: Mutt/1.4.2i X-Virus-Scanned: ClamAV 0.87.1/1270/Thu Feb 2 05:47:37 2006 on nargothrond.kdm.org X-Virus-Status: Clean 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: Thu, 02 Feb 2006 16:21:35 -0000 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. > 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. > > # 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? Are all slots available from both changer devices? > # camcontrol devlist -v > scbus0 on ahc0 bus 0: > at scbus0 target 2 lun 0 (pass0,cd0) > at scbus0 target 3 lun 0 (sa0,pass1) > at scbus0 target 3 lun 1 (pass2,ch0) > at scbus0 target 4 lun 0 (sa1,pass3) > at scbus0 target 5 lun 0 (sa2,pass4) > at scbus0 target 5 lun 1 (pass5,ch1) > at scbus0 target 6 lun 0 (pass6,cd1) > < > at scbus0 target -1 lun -1 () > scbus1 on ahc1 bus 0: > at scbus1 target 1 lun 0 (sa3,pass7) > at scbus1 target 1 lun 1 (pass8,ch2) > at scbus1 target 2 lun 0 (sa4,pass9) > at scbus1 target 3 lun 0 (sa5,pass10) > < > at scbus1 target -1 lun -1 () > scbus-1 on xpt0 bus 0: > < > at scbus-1 target -1 lun -1 (xpt0) > > The third changer device (ch2) is an IBM 3575L32 tape library which has > been in use for several months, never had any problems. > > The server is running FreeBSD 5.4-STABLE on i386. Ken -- Kenneth Merry ken@FreeBSD.org