Hi,
I'm trying to run amanda on a Sun E250, with Exabyte Mamamoth 2 220
Library.
However I get the following
> sbin/amtape DailySet1 show
amtape: could not get changer info: <error> could not read result from
"/soft/backup/amanada//libexec/chg-scsi" (got signal 11)
Below is the chg-scsi degub output file
> more /tmp/amanda/chg-scsi.20010523090812.debug
chg-scsi: debug 1 pid 11617 ruid 805 euid 805 start time Wed May 23
09:08:12 2001
ARG [0] : /soft/backup/amanada//libexec/chg-scsi
ARG [1] : -info
Number of configurations: 1
Tapes need eject: Yes
barcode reader : Yes
Tapes need sleep: 20 seconds
Cleancycles : 10
Changerdevice : /dev/rsst1
Labelfile : /soft/backup/amanada//etc/amanda/DailySet1/labelfile
Tapeconfig Nr: 0
Drivenumber : 0
Startslot : 1
Endslot : 20
Cleanslot : 0
Devicename : /dev/rmt/0bn
changerident : none
SCSITapedev : none
tapeident : none
statfile : none
Slotfile : /soft/backup/amanada//etc/amanda/DailySet1/tape0-slot
Cleanfile : /soft/backup/amanada//etc/amanda/DailySet1/tape0-clean
Usagecount : /soft/backup/amanada//etc/amanda/DailySet1/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/0bn
##### 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 GenericBarCode
Any help would be greatly appreciated.
I can successfully query the tapedrive in the library using mt, and the
robot in the library using mtx
Thanks
Stuart