Thanks,

I've changed the tape scsi id to 4 (the only thing i've done from your
suggestions - the permissions are right, bin belongs to the need groups and
the devices are group rwx ) and noted some improvements.
Now the command 'amtape /config/ reset' exist sucessfully with:

changer: got exit: 0 str: 0 /dev/nst0
amtape: changer is reset, slot 0 is loaded.

and the tape from slot 0 is loaded.
But when i try to show the contents of all slots (amtape /config/ show) i
get:

changer: got exit: 0 str: 0 5 1 0
amtape: scanning all 5 slots in tape-changer rack:
changer: got exit: 0 str: 0 /dev/nst0
slot 0: date X        label Tape-0
changer: got exit: 2 str: Can't read STE status
amtape: could not load slot Can't: read STE status
could not load slot Can't: read STE status
amtape: pid 2043 finish time Wed Feb  6 11:12:07 2002

After the first tape is checked - slot 0 - it tries to unload the tape and
load the next slot. The problem seems to be on unloading the tape. In the
tape drive LCD i get a message stating 'Semiloaded', have searched for this
error and this means that 'A tape/cartridge has been inserted into the drive
but has not been loaded.' the solution is to Send a 'SCSI Load command to
the device.' (Copy from HP docs). In fact if i issue the command 'mtx -f
/dev/nst0 unload', during the waiting period of 'amtape /config/ show', the
amtape will load the next slot and so on...

I didn't think that this would be so hard!!! But the good point is that i
keep learning things.
I'm trying to find some docs from HP to find what dip switch corresponds to
the parity, in the manuals i got with the drive only shows the usual
configuration (on or off and there's 8 dip switches - by default only switch
3 is off)!

TIA. Regards,

Manuel



----- Original Message -----
From: "Gene Heskett" <[EMAIL PROTECTED]>
To: "Manuel Monteiro" <[EMAIL PROTECTED]>; "Gene Heskett"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 06, 2002 12:26 AM
Subject: Re: Problems with changer device


> On Tuesday 05 February 2002 11:44 am, Manuel Monteiro wrote:
> >I've done all of your suggestions. Thanks for spending some of your
> > time to help me!
> >
> >> >Amanda don't goes thru all the tapes, it just loaded tape from
> >> > storage element 3 (and not slot 1 as mencioned).
> >> >During amcheck i get an error at the lcd display in front of the
> >> > tape drive stating: SCSI error: Check interface.
> >>
> >> Are both the drive and the scsi card set to match regarding the
> >> parity setings?
> >
> >Sorry but i don't understand you, what do you mean by parity settings?
>
> I'd assume there is a dip switch setting on the drive that controls
> whether or not the scsi interface data bus uses a parity bit to detect
> errors that would otherwise be missed, so using the parity bit is
> highly recomended.  Set the drives switches or jumpers to turn it on,
> then reboot the computer and when it says to hit ctrl+a to see the
> cards bios settings, do so and verify that the card is also set to use
> the parity bit AT THAT DEVICE ADDRESS.
>
> >I've got and adaptec 29160 scsi card (SCSI ID-7) and attached to it an
> >internal SCSI HDD (ID-6) and the external autoloader (ID-5) as you can
> > see in my log.
>
> Humm, you might want to set the tape down to ID=4 in case the robot
> needs 5, some use the next address above the drive to access the robot.
>
> >> Make the above changes I noted, and try a "amtape /config/ reset"
> >> which should load the first tape and record it to the system, and
> >> then do an "amtape /config/ show", which should scan all tapes in
> >> the drive except the cleaning tape presumably in slot 6.
> >> --
> >
> >The output from amtape /config/ reset is
> ># su bin -c 'amtape caup reset'
> >changer: got exit: 2 str: Can't read STE status
> >amtape: could not reset changer: read STE status
> >could not reset changer: read STE status
> >amtape: pid 2375 finish time Tue Feb  5 16:21:34 2002
>
> Mmm, whats the permissions and owner:group of /dev/nst0?
>
> Somethings fubar.  Can you do a "mt -f /dev/nst0 status" and such as
> user amanda? If you can't, then those perms need adjusting.
>
> Cheers, Gene
>

Reply via email to