Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Feb 2006 12:27:00 +0100
From:      =?ISO-8859-1?Q?=C5ge_R=F8bekk?= <age.robekk@ventelo.no>
To:        "Kenneth D. Merry" <ken@freebsd.org>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: Problems with Dell PV132T tape changer
Message-ID:  <43E33E04.1080007@ventelo.no>
In-Reply-To: <20060202162133.GA90898@nargothrond.kdm.org>
References:  <43E2189B.1090207@ventelo.no> <20060202162133.GA90898@nargothrond.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <ACCESS,FULL>
>> slot 1: <ACCESS,FULL>
>> slot 2: <ACCESS,FULL>
>> slot 3: <ACCESS,FULL>
>> slot 4: <ACCESS,FULL>
>> slot 5: <ACCESS,FULL>
>> slot 6: <ACCESS,FULL>
>> slot 7: <ACCESS,FULL>
>> slot 8: <ACCESS,FULL>
>> slot 9: <ACCESS,FULL>
>> slot 10: <ACCESS,FULL>
>> slot 11: <ACCESS,FULL>
>> slot 12: <ACCESS,FULL>
>> slot 13: <ACCESS,FULL>
>> portal 0: <INEAB,EXENAB,ACCESS,IMPEXP>
>> drive 0: <ACCESS>
> 
> 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: <ACCESS>
slot 1: <ACCESS,FULL>
slot 2: <ACCESS,FULL>
slot 3: <ACCESS>
slot 4: <ACCESS,FULL>
slot 5: <ACCESS>
slot 6: <ACCESS>
slot 7: <ACCESS,FULL>
portal 0: <INEAB,EXENAB,ACCESS,IMPEXP>
drive 0: <FULL>


> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43E33E04.1080007>