>Thanks, I have moved on from there. When I saw the strlen I decided it
>was probably haveing problems with the chg-scsi.conf. ...
But, but, but. What did you change? It would be nice if we could fix
the core dump problem as well.
>flash:/amanda# /usr/src/amanda-2.4.2/changer-src/chg-scsi -info
><none> drive number error (0 > -1)
>chg-scsi: requested drive number (0) greater than number of supported
>drives (-1)
I think this really means it had trouble getting some status information.
Take a look at the last command and response:
>SCSI_ExecuteCommand : READ ELEMENT STATUS B8 04 00 50 00 02 00 00 00 30
>00 00
>##### STOP DecodeSCSI
>SCSI_ReadElementStatus : (2) SCSI_ExecuteCommand 0
>00 50 00 02 00 00 00 28 04 00 00 10 00 00 00 20 .P..............
>00 50 0D 00 83 12 30 08 00 80 00 14 30 30 30 30 .P....0.....0000
>00 51 09 00 00 00 30 09 00 80 00 13 30 30 30 30 .Q....0.....0000
This is reading the status of the two drives, 0x50 and 0x51. The last
two lines are the Data Transfer Element Descriptor. For drive 0x50,
note the 0x0D. That has the Except (error) bit set. The 0x83/0x12 are
the ASC/ASCQ.
So something is not happy about that drive. None of the books I have tell
what that error code is, so you'll have to find it in the documentation
you got with your box. If you didn't get any, make them give it to you.
You'll need it in the long run.
>GenericSenseHandler : Sense Keys
> ErrorCode 00
> Valid 0
> ASC 46
> ASCQ 00
> Sense key 00
Again, I don't have documentation on what 0x46/0x00 means, but I'm
guessing it's saying "there's something wrong with one of the elements
I just returned, go look there for more information".
>Mike Taylor
John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]