scsi errors when trying to move tapes.
Jason Selwitz
jselwitz at vvisions.com
Tue Sep 16 15:03:35 UTC 2008
Hi there , I was hoping someone here could tell me if I was missing something.. here is the story.
I am running a FreeBSD 7.0 server with a Qlogic 2460 FC HBA installed and directl connected t othe HBA is a Spectra Logic Tape library, the Library contains 50 slots, one picker and one IBM Ultrium LTO-4 drive. the system boots and ercognizes all of the hardware however the isp drive sees the Qlogic card as a 2432 see below.
isp0: <Qlogic ISP 2432 PCI FC-AL Adapter> port 0x5000-0x50ff mem 0xc6ffc000-0xc6ffffff irq 19 at device 0.0 on pci7
sa0 at isp0 bus 0 target 0 lun 0
sa0: <IBM ULTRIUM-TD4 77BB> Removable Sequential Access SCSI-3 device
sa0: 400.000MB/s transfers
sa0: Command Queueing Enabled
ch0 at isp0 bus 0 target 0 lun 1
ch0: <SPECTRA PYTHON 2000> Removable Changer SCSI-3 device
ch0: 400.000MB/s transfers
ch0: Command Queueing Enabled
ch0: 50 slots, 1 drive, 1 picker, 0 portals
For some reason I can query status and get Barcode information back from the changer with both chio and mtx however when I try to move media into the drive I get errors see below.
valbbacula# camcontrol devlist
<IBM ULTRIUM-TD4 77BB> at scbus0 target 0 lun 0 (sa0,pass0)
<SPECTRA PYTHON 2000> at scbus0 target 0 lun 1 (ch0,pass1)
vvalbbacula# chio params
/dev/ch0: 50 slots, 1 drive, 1 picker
/dev/ch0: current picker: 0
vvalbbacula# chio status -a
picker 0: sense: <0x00/0x00> voltag: <:0> avoltag: <:0> source: <> intaddr: <1> scsi: <?:?>
slot 0: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027734L4:8224> avoltag: <:0> source: <> intaddr: <4096> scsi: <?:?>
slot 1: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027733L4:8224> avoltag: <:0> source: <> intaddr: <4097> scsi: <?:?>
slot 2: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027732L4:8224> avoltag: <:0> source: <> intaddr: <4098> scsi: <?:?>
slot 3: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027731L4:8224> avoltag: <:0> source: <> intaddr: <4099> scsi: <?:?>
slot 4: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027730L4:8224> avoltag: <:0> source: <> intaddr: <4100> scsi: <?:?>
slot 5: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027739L4:8224> avoltag: <:0> source: <> intaddr: <4101> scsi: <?:?>
slot 6: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027738L4:8224> avoltag: <:0> source: <> intaddr: <4102> scsi: <?:?>
slot 7: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027737L4:8224> avoltag: <:0> source: <> intaddr: <4103> scsi: <?:?>
slot 8: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027736L4:8224> avoltag: <:0> source: <> intaddr: <4104> scsi: <?:?>
slot 9: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027735L4:8224> avoltag: <:0> source: <> intaddr: <4105> scsi: <?:?>
slot 10: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027944L4:8224> avoltag: <:0> source: <> intaddr: <4106> scsi: <?:?>
slot 11: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027943L4:8224> avoltag: <:0> source: <> intaddr: <4107> scsi: <?:?>
slot 12: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027942L4:8224> avoltag: <:0> source: <> intaddr: <4108> scsi: <?:?>
slot 13: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027941L4:8224> avoltag: <:0> source: <> intaddr: <4109> scsi: <?:?>
slot 14: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027940L4:8224> avoltag: <:0> source: <> intaddr: <4110> scsi: <?:?>
slot 15: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027949L4:8224> avoltag: <:0> source: <> intaddr: <4111> scsi: <?:?>
slot 16: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027948L4:8224> avoltag: <:0> source: <> intaddr: <4112> scsi: <?:?>
slot 17: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027947L4:8224> avoltag: <:0> source: <> intaddr: <4113> scsi: <?:?>
slot 18: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027946L4:8224> avoltag: <:0> source: <> intaddr: <4114> scsi: <?:?>
slot 19: <ACCESS,FULL> sense: <0x00/0x00> voltag: <027945L4:8224> avoltag: <:0> source: <> intaddr: <4115> scsi: <?:?>
slot 20: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028314L4:8224> avoltag: <:0> source: <> intaddr: <4116> scsi: <?:?>
slot 21: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028313L4:8224> avoltag: <:0> source: <> intaddr: <4117> scsi: <?:?>
slot 22: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028312L4:8224> avoltag: <:0> source: <> intaddr: <4118> scsi: <?:?>
slot 23: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028311L4:8224> avoltag: <:0> source: <> intaddr: <4119> scsi: <?:?>
slot 24: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028310L4:8224> avoltag: <:0> source: <> intaddr: <4120> scsi: <?:?>
slot 25: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028319L4:8224> avoltag: <:0> source: <> intaddr: <4121> scsi: <?:?>
slot 26: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028318L4:8224> avoltag: <:0> source: <> intaddr: <4122> scsi: <?:?>
slot 27: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028317L4:8224> avoltag: <:0> source: <> intaddr: <4123> scsi: <?:?>
slot 28: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028316L4:8224> avoltag: <:0> source: <> intaddr: <4124> scsi: <?:?>
slot 29: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028315L4:8224> avoltag: <:0> source: <> intaddr: <4125> scsi: <?:?>
slot 30: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028774L4:8224> avoltag: <:0> source: <> intaddr: <4126> scsi: <?:?>
slot 31: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028773L4:8224> avoltag: <:0> source: <> intaddr: <4127> scsi: <?:?>
slot 32: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028772L4:8224> avoltag: <:0> source: <> intaddr: <4128> scsi: <?:?>
slot 33: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028771L4:8224> avoltag: <:0> source: <> intaddr: <4129> scsi: <?:?>
slot 34: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028770L4:8224> avoltag: <:0> source: <> intaddr: <4130> scsi: <?:?>
slot 35: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028779L4:8224> avoltag: <:0> source: <> intaddr: <4131> scsi: <?:?>
slot 36: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028778L4:8224> avoltag: <:0> source: <> intaddr: <4132> scsi: <?:?>
slot 37: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028777L4:8224> avoltag: <:0> source: <> intaddr: <4133> scsi: <?:?>
slot 38: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028776L4:8224> avoltag: <:0> source: <> intaddr: <4134> scsi: <?:?>
slot 39: <ACCESS,FULL> sense: <0x00/0x00> voltag: <028775L4:8224> avoltag: <:0> source: <> intaddr: <4135> scsi: <?:?>
slot 40: <ACCESS,FULL> sense: <0x00/0x00> voltag: <029134L4:8224> avoltag: <:0> source: <> intaddr: <4136> scsi: <?:?>
slot 41: <ACCESS,FULL> sense: <0x00/0x00> voltag: <029133L4:8224> avoltag: <:0> source: <> intaddr: <4137> scsi: <?:?>
slot 42: <ACCESS,FULL> sense: <0x00/0x00> voltag: <029132L4:8224> avoltag: <:0> source: <> intaddr: <4138> scsi: <?:?>
slot 43: <ACCESS,FULL> sense: <0x00/0x00> voltag: <029131L4:8224> avoltag: <:0> source: <> intaddr: <4139> scsi: <?:?>
slot 44: <ACCESS,FULL> sense: <0x00/0x00> voltag: <029130L4:8224> avoltag: <:0> source: <> intaddr: <4140> scsi: <?:?>
slot 45: <ACCESS,FULL> sense: <0x00/0x00> voltag: <029139L4:8224> avoltag: <:0> source: <> intaddr: <4141> scsi: <?:?>
slot 46: <ACCESS,FULL> sense: <0x00/0x00> voltag: <029138L4:8224> avoltag: <:0> source: <> intaddr: <4142> scsi: <?:?>
slot 47: <ACCESS,FULL> sense: <0x00/0x00> voltag: <029137L4:8224> avoltag: <:0> source: <> intaddr: <4143> scsi: <?:?>
slot 48: <ACCESS,FULL> sense: <0x00/0x00> voltag: <029136L4:8224> avoltag: <:0> source: <> intaddr: <4144> scsi: <?:?>
slot 49: <ACCESS,FULL> sense: <0x00/0x00> voltag: <029135L4:8224> avoltag: <:0> source: <> intaddr: <4145> scsi: <?:?>
drive 0: <ACCESS> sense: <0x00/0x00> voltag: <:0> avoltag: <:0> source: <> intaddr: <256> scsi: <?:?>
vvalbbacula# chio move slot 0 drive 0
chio: /dev/ch0: CHIOMOVE: Device not configured
vvalbbacula# tail /var/log/messages
Sep 16 10:11:10 vvalbbacula kernel: (ch0:isp0:0:0:1): MOVE MEDIUM. CDB: a5 0 0 1 10 0 1 0 0 0 0 0
Sep 16 10:11:10 vvalbbacula kernel: (ch0:isp0:0:0:1): CAM Status: SCSI Status Error
Sep 16 10:11:10 vvalbbacula kernel: (ch0:isp0:0:0:1): SCSI Status: Check Condition
Sep 16 10:11:10 vvalbbacula kernel: (ch0:isp0:0:0:1): ILLEGAL REQUEST asc:25,0
Sep 16 10:11:10 vvalbbacula kernel: (ch0:isp0:0:0:1): Logical unit not supported
Sep 16 10:11:10 vvalbbacula kernel: (ch0:isp0:0:0:1): Unretryable error
acula# mtx -f /dev/pass1 status
Storage Changer /dev/pass1:1 Drives, 50 Slots ( 0 Import/Export )
Data Transfer Element 0:Empty
Storage Element 1:Full :VolumeTag=027734L4
Storage Element 2:Full :VolumeTag=027733L4
Storage Element 3:Full :VolumeTag=027732L4
Storage Element 4:Full :VolumeTag=027731L4
Storage Element 5:Full :VolumeTag=027730L4
Storage Element 6:Full :VolumeTag=027739L4
Storage Element 7:Full :VolumeTag=027738L4
Storage Element 8:Full :VolumeTag=027737L4
Storage Element 9:Full :VolumeTag=027736L4
Storage Element 10:Full :VolumeTag=027735L4
Storage Element 11:Full :VolumeTag=027944L4
Storage Element 12:Full :VolumeTag=027943L4
Storage Element 13:Full :VolumeTag=027942L4
Storage Element 14:Full :VolumeTag=027941L4
Storage Element 15:Full :VolumeTag=027940L4
Storage Element 16:Full :VolumeTag=027949L4
Storage Element 17:Full :VolumeTag=027948L4
Storage Element 18:Full :VolumeTag=027947L4
Storage Element 19:Full :VolumeTag=027946L4
Storage Element 20:Full :VolumeTag=027945L4
Storage Element 21:Full :VolumeTag=028314L4
Storage Element 22:Full :VolumeTag=028313L4
Storage Element 23:Full :VolumeTag=028312L4
Storage Element 24:Full :VolumeTag=028311L4
Storage Element 25:Full :VolumeTag=028310L4
Storage Element 26:Full :VolumeTag=028319L4
Storage Element 27:Full :VolumeTag=028318L4
Storage Element 28:Full :VolumeTag=028317L4
Storage Element 29:Full :VolumeTag=028316L4
Storage Element 30:Full :VolumeTag=028315L4
Storage Element 31:Full :VolumeTag=028774L4
Storage Element 32:Full :VolumeTag=028773L4
Storage Element 33:Full :VolumeTag=028772L4
Storage Element 34:Full :VolumeTag=028771L4
Storage Element 35:Full :VolumeTag=028770L4
Storage Element 36:Full :VolumeTag=028779L4
Storage Element 37:Full :VolumeTag=028778L4
Storage Element 38:Full :VolumeTag=028777L4
Storage Element 39:Full :VolumeTag=028776L4
Storage Element 40:Full :VolumeTag=028775L4
Storage Element 41:Full :VolumeTag=029134L4
Storage Element 42:Full :VolumeTag=029133L4
Storage Element 43:Full :VolumeTag=029132L4
Storage Element 44:Full :VolumeTag=029131L4
Storage Element 45:Full :VolumeTag=029130L4
Storage Element 46:Full :VolumeTag=029139L4
Storage Element 47:Full :VolumeTag=029138L4
Storage Element 48:Full :VolumeTag=029137L4
Storage Element 49:Full :VolumeTag=029136L4
Storage Element 50:Full :VolumeTag=029135L4
vvalbbacula# mtx -f /dev/pass1 inquiry
Product Type: Medium Changer
Vendor ID: 'SPECTRA '
Product ID: 'PYTHON '
Revision: '2000'
Attached Changer API: No
bacula# mtx -f /dev/pass1 load 1 0
Loading media from Storage Element 1 into drive 0...mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 25
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
MOVE MEDIUM from Element Address 4096 to 256 Failed
any help wouldf be greatly appreciated.. please feel free to ask anything I may have overlooked. Tkanks
Jason
More information about the freebsd-scsi
mailing list