Hi,
I'm wondering if you can help me out with the problem I'm having.
We're using Amanda 2.4.2-beta, using lastest CVS update on October
24th. I'm using chg-scsi as a changer and /dev/rsst1 for Solaris
8 on x86 using amanda's contributed sst kernel driver. I was able
to communicate with the changer perfectly using sstest.
The changer we're using is Dell PowerVault 120T (also known as ADIC
FastStor DLT) and a Quantum DLT 7000.
When i ran amtape testset show and it complained that it couldn't get
ElementStatus. Do any one of you know what went wrong?
Here are the chg-scsi.debug output:
ARG [0] : /usr/local/libexec/chg-scsi
ARG [1] : -reset
Number of configurations: 1
Tapes need eject: Yes
Tapes need sleep: 90 seconds
Cleancycles : 10
Changerdevice : /dev/rsst1
Tapeconfig Nr: 0
Drivenumber : 0
Startslot : 0
Endslot : 6
Cleanslot : 6
Devicename : /dev/rmt/0cn
changerident : none
SCSITapedev : none
tapeident : none
statfile : /usr/local/etc/amanda/testset/tape0-status
Slotfile : /usr/local/etc/amanda/testset/tape0-slot
Cleanfile : /usr/local/etc/amanda/testset/tape0-clean
Usagecount : /usr/local/etc/amanda/testset/totaltime
##### START OpenDevice
OpenDevice : /dev/rsst1
##### START SCSI_Inquiry
SCSI_Inquiry start length = 56:
##### START DecodeSCSI
SCSI_ExecuteCommand : INQUIRY 12 00 00 00 38 00
##### STOP DecodeSCSI
ioctl on 4 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeSCSI
SCSI_ExecuteCommand : REQUEST SENSE 03 00 00 00 1D 00
##### STOP DecodeSCSI
ioctl on 4 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeSCSI
SCSI_ExecuteCommand : REQUEST SENSE 03 00 00 00 1D 00
##### STOP DecodeSCSI
ioctl on 4 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
ErrorCode 00
Valid 0
ASC 00
ASCQ 00
Sense key 00
No Sense
Log Parameter Page Code 00
Log Parameter Code 00
Underrun/Overrun Counter 00
Read/Write Error Counter 0
Remaing 1024 byte tape blocks 0
Tracking Retry Counter 00
Read/Write Retry Counter 00
Fault Sympton Code 00
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
ErrorCode 00
Valid 0
ASC 00
ASCQ 00
Sense key 00
No Sense
Log Parameter Page Code 00
Log Parameter Code 00
Underrun/Overrun Counter 00
Read/Write Error Counter 0
Remaing 1024 byte tape blocks 0
Tracking Retry Counter 00
Read/Write Retry Counter 00
Fault Sympton Code 00
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
ErrorCode 00
Valid 0
ASC 00
ASCQ 00
Sense key 00
No Sense
Log Parameter Page Code 00
Log Parameter Code 00
Underrun/Overrun Counter 00
Read/Write Error Counter 0
Remaing 1024 byte tape blocks 0
Tracking Retry Counter 00
Read/Write Retry Counter 00
Fault Sympton Code 00
chs: Request Sense[Inquiry]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
Inquiry end: -1
using ident = generic, type = Generic driver tape/robot [generic]
##### START OpenDevice
OpenDevice : /dev/rmt/0cn
##### START SCSI_Inquiry
SCSI_Inquiry start length = 56:
##### START DecodeSCSI
SCSI_ExecuteCommand : INQUIRY 12 00 00 00 38 00
##### STOP DecodeSCSI
ioctl on 5 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeSCSI
SCSI_ExecuteCommand : REQUEST SENSE 03 00 00 00 1D 00
##### STOP DecodeSCSI
ioctl on 5 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeSCSI
SCSI_ExecuteCommand : REQUEST SENSE 03 00 00 00 1D 00
##### STOP DecodeSCSI
ioctl on 5 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
ErrorCode 00
Valid 0
ASC 00
ASCQ 00
Sense key 00
No Sense
Log Parameter Page Code 00
Log Parameter Code 00
Underrun/Overrun Counter 00
Read/Write Error Counter 0
Remaing 1024 byte tape blocks 0
Tracking Retry Counter 00
Read/Write Retry Counter 00
Fault Sympton Code 00
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
ErrorCode 00
Valid 0
ASC 00
ASCQ 00
Sense key 00
No Sense
Log Parameter Page Code 00
Log Parameter Code 00
Underrun/Overrun Counter 00
Read/Write Error Counter 0
Remaing 1024 byte tape blocks 0
Tracking Retry Counter 00
Read/Write Retry Counter 00
Fault Sympton Code 00
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
ErrorCode 00
Valid 0
ASC 00
ASCQ 00
Sense key 00
No Sense
Log Parameter Page Code 00
Log Parameter Code 00
Underrun/Overrun Counter 00
Read/Write Error Counter 0
Remaing 1024 byte tape blocks 0
Tracking Retry Counter 00
Read/Write Retry Counter 00
Fault Sympton Code 00
chs: Request Sense[Inquiry]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
Inquiry end: -1
using ident = generic, type = Generic driver tape/robot [generic]
need_eject set to 2
###### START get_drive_count
get_drive_count : fd 4
##### START GenericElementStatus
##### START SCSI_ModeSense
SCSI_ModeSense start length = 255:
##### START DecodeSCSI
SCSI_ExecuteCommand : MODE SENSE 1A 08 3F 00 FF 00
##### STOP DecodeSCSI
ioctl on 4 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeSCSI
SCSI_ExecuteCommand : REQUEST SENSE 03 00 00 00 1D 00
##### STOP DecodeSCSI
ioctl on 4 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeSCSI
SCSI_ExecuteCommand : REQUEST SENSE 03 00 00 00 1D 00
##### STOP DecodeSCSI
ioctl on 4 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
ErrorCode 00
Valid 0
ASC 00
ASCQ 00
Sense key 00
No Sense
Log Parameter Page Code 00
Log Parameter Code 00
Underrun/Overrun Counter 00
Read/Write Error Counter 0
Remaing 1024 byte tape blocks 0
Tracking Retry Counter 00
Read/Write Retry Counter 00
Fault Sympton Code 00
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
ErrorCode 00
Valid 0
ASC 00
ASCQ 00
Sense key 00
No Sense
Log Parameter Page Code 00
Log Parameter Code 00
Underrun/Overrun Counter 00
Read/Write Error Counter 0
Remaing 1024 byte tape blocks 0
Tracking Retry Counter 00
Read/Write Retry Counter 00
Fault Sympton Code 00
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
ErrorCode 00
Valid 0
ASC 00
ASCQ 00
Sense key 00
No Sense
Log Parameter Page Code 00
Log Parameter Code 00
Underrun/Overrun Counter 00
Read/Write Error Counter 0
Remaing 1024 byte tape blocks 0
Tracking Retry Counter 00
Read/Write Retry Counter 00
Fault Sympton Code 00
##### START BarCode
BarCode : fd 4
Ident = [], function = [generic]
##### START NoBarCode
##### START SCSI_ReadElementStatus
##### START DecodeSCSI
SCSI_ExecuteCommand : READ ELEMENT STATUS B8 00 00 00 FF FF 00 00 00
08
00 00
##### STOP DecodeSCSI
ioctl on 4 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeSCSI
SCSI_ExecuteCommand : REQUEST SENSE 03 00 00 00 1D 00
##### STOP DecodeSCSI
ioctl on 4 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeSCSI
SCSI_ExecuteCommand : REQUEST SENSE 03 00 00 00 1D 00
##### STOP DecodeSCSI
ioctl on 4 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
ErrorCode 00
Valid 0
ASC 00
ASCQ 00
Sense key 00
No Sense
Log Parameter Page Code 00
Log Parameter Code 00
Underrun/Overrun Counter 00
Read/Write Error Counter 0
Remaing 1024 byte tape blocks 0
Tracking Retry Counter 00
Read/Write Retry Counter 00
Fault Sympton Code 00
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
ErrorCode 00
Valid 0
ASC 00
ASCQ 00
Sense key 00
No Sense
Log Parameter Page Code 00
Log Parameter Code 00
Underrun/Overrun Counter 00
Read/Write Error Counter 0
Remaing 1024 byte tape blocks 0
Tracking Retry Counter 00
Read/Write Retry Counter 00
Fault Sympton Code 00
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
ErrorCode 00
Valid 0
ASC 00
ASCQ 00
Sense key 00
No Sense
Log Parameter Page Code 00
Log Parameter Code 00
Underrun/Overrun Counter 00
Read/Write Error Counter 0
Remaing 1024 byte tape blocks 0
Tracking Retry Counter 00
Read/Write Retry Counter 00
Fault Sympton Code 00
SCSI_ReadElementStatus : (1) SCSI_ExecuteCommand -1
##### START DecodeSense
SCSI_ReadElementStatus :Sense Keys
ErrorCode 00
Valid 0
ASC 00
ASCQ 00
Sense key 00
No Sense
ChgExit in GenericElementStatus, reason Can't get ElementStatus