From owner-freebsd-scsi@FreeBSD.ORG Tue Sep 16 15:03:35 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 723F81065677 for ; Tue, 16 Sep 2008 15:03:35 +0000 (UTC) (envelope-from jselwitz@vvisions.com) Received: from mail137.messagelabs.com (mail137.messagelabs.com [216.82.249.19]) by mx1.freebsd.org (Postfix) with SMTP id 4AC378FC12 for ; Tue, 16 Sep 2008 15:03:35 +0000 (UTC) (envelope-from jselwitz@vvisions.com) X-VirusChecked: Checked X-Env-Sender: jselwitz@vvisions.com X-Msg-Ref: server-2.tower-137.messagelabs.com!1221575814!38003371!1 X-StarScan-Version: 5.5.12.14.2; banners=-,-,- X-Originating-IP: [66.193.82.31] Received: (qmail 3902 invoked from network); 16 Sep 2008 14:36:55 -0000 Received: from newman.vvisions.com (HELO newman.vvisions.com) (66.193.82.31) by server-2.tower-137.messagelabs.com with SMTP; 16 Sep 2008 14:36:55 -0000 Received: (qmail 19546 invoked from network); 16 Sep 2008 14:36:56 -0000 Received: from unknown (HELO wintermute.vvisions.com) (jselwitz@10.114.12.10) by vvisions.com with SMTP; 16 Sep 2008 14:36:56 -0000 Message-ID: <48CFC480.804@vvisions.com> Date: Tue, 16 Sep 2008 10:36:48 -0400 From: Jason Selwitz User-Agent: Thunderbird 2.0.0.14 (X11/20080613) MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: scsi errors when trying to move tapes. X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 15:03:35 -0000 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: port 0x5000-0x50ff mem 0xc6ffc000-0xc6ffffff irq 19 at device 0.0 on pci7 sa0 at isp0 bus 0 target 0 lun 0 sa0: 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: 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 at scbus0 target 0 lun 0 (sa0,pass0) 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: sense: <0x00/0x00> voltag: <027734L4:8224> avoltag: <:0> source: <> intaddr: <4096> scsi: slot 1: sense: <0x00/0x00> voltag: <027733L4:8224> avoltag: <:0> source: <> intaddr: <4097> scsi: slot 2: sense: <0x00/0x00> voltag: <027732L4:8224> avoltag: <:0> source: <> intaddr: <4098> scsi: slot 3: sense: <0x00/0x00> voltag: <027731L4:8224> avoltag: <:0> source: <> intaddr: <4099> scsi: slot 4: sense: <0x00/0x00> voltag: <027730L4:8224> avoltag: <:0> source: <> intaddr: <4100> scsi: slot 5: sense: <0x00/0x00> voltag: <027739L4:8224> avoltag: <:0> source: <> intaddr: <4101> scsi: slot 6: sense: <0x00/0x00> voltag: <027738L4:8224> avoltag: <:0> source: <> intaddr: <4102> scsi: slot 7: sense: <0x00/0x00> voltag: <027737L4:8224> avoltag: <:0> source: <> intaddr: <4103> scsi: slot 8: sense: <0x00/0x00> voltag: <027736L4:8224> avoltag: <:0> source: <> intaddr: <4104> scsi: slot 9: sense: <0x00/0x00> voltag: <027735L4:8224> avoltag: <:0> source: <> intaddr: <4105> scsi: slot 10: sense: <0x00/0x00> voltag: <027944L4:8224> avoltag: <:0> source: <> intaddr: <4106> scsi: slot 11: sense: <0x00/0x00> voltag: <027943L4:8224> avoltag: <:0> source: <> intaddr: <4107> scsi: slot 12: sense: <0x00/0x00> voltag: <027942L4:8224> avoltag: <:0> source: <> intaddr: <4108> scsi: slot 13: sense: <0x00/0x00> voltag: <027941L4:8224> avoltag: <:0> source: <> intaddr: <4109> scsi: slot 14: sense: <0x00/0x00> voltag: <027940L4:8224> avoltag: <:0> source: <> intaddr: <4110> scsi: slot 15: sense: <0x00/0x00> voltag: <027949L4:8224> avoltag: <:0> source: <> intaddr: <4111> scsi: slot 16: sense: <0x00/0x00> voltag: <027948L4:8224> avoltag: <:0> source: <> intaddr: <4112> scsi: slot 17: sense: <0x00/0x00> voltag: <027947L4:8224> avoltag: <:0> source: <> intaddr: <4113> scsi: slot 18: sense: <0x00/0x00> voltag: <027946L4:8224> avoltag: <:0> source: <> intaddr: <4114> scsi: slot 19: sense: <0x00/0x00> voltag: <027945L4:8224> avoltag: <:0> source: <> intaddr: <4115> scsi: slot 20: sense: <0x00/0x00> voltag: <028314L4:8224> avoltag: <:0> source: <> intaddr: <4116> scsi: slot 21: sense: <0x00/0x00> voltag: <028313L4:8224> avoltag: <:0> source: <> intaddr: <4117> scsi: slot 22: sense: <0x00/0x00> voltag: <028312L4:8224> avoltag: <:0> source: <> intaddr: <4118> scsi: slot 23: sense: <0x00/0x00> voltag: <028311L4:8224> avoltag: <:0> source: <> intaddr: <4119> scsi: slot 24: sense: <0x00/0x00> voltag: <028310L4:8224> avoltag: <:0> source: <> intaddr: <4120> scsi: slot 25: sense: <0x00/0x00> voltag: <028319L4:8224> avoltag: <:0> source: <> intaddr: <4121> scsi: slot 26: sense: <0x00/0x00> voltag: <028318L4:8224> avoltag: <:0> source: <> intaddr: <4122> scsi: slot 27: sense: <0x00/0x00> voltag: <028317L4:8224> avoltag: <:0> source: <> intaddr: <4123> scsi: slot 28: sense: <0x00/0x00> voltag: <028316L4:8224> avoltag: <:0> source: <> intaddr: <4124> scsi: slot 29: sense: <0x00/0x00> voltag: <028315L4:8224> avoltag: <:0> source: <> intaddr: <4125> scsi: slot 30: sense: <0x00/0x00> voltag: <028774L4:8224> avoltag: <:0> source: <> intaddr: <4126> scsi: slot 31: sense: <0x00/0x00> voltag: <028773L4:8224> avoltag: <:0> source: <> intaddr: <4127> scsi: slot 32: sense: <0x00/0x00> voltag: <028772L4:8224> avoltag: <:0> source: <> intaddr: <4128> scsi: slot 33: sense: <0x00/0x00> voltag: <028771L4:8224> avoltag: <:0> source: <> intaddr: <4129> scsi: slot 34: sense: <0x00/0x00> voltag: <028770L4:8224> avoltag: <:0> source: <> intaddr: <4130> scsi: slot 35: sense: <0x00/0x00> voltag: <028779L4:8224> avoltag: <:0> source: <> intaddr: <4131> scsi: slot 36: sense: <0x00/0x00> voltag: <028778L4:8224> avoltag: <:0> source: <> intaddr: <4132> scsi: slot 37: sense: <0x00/0x00> voltag: <028777L4:8224> avoltag: <:0> source: <> intaddr: <4133> scsi: slot 38: sense: <0x00/0x00> voltag: <028776L4:8224> avoltag: <:0> source: <> intaddr: <4134> scsi: slot 39: sense: <0x00/0x00> voltag: <028775L4:8224> avoltag: <:0> source: <> intaddr: <4135> scsi: slot 40: sense: <0x00/0x00> voltag: <029134L4:8224> avoltag: <:0> source: <> intaddr: <4136> scsi: slot 41: sense: <0x00/0x00> voltag: <029133L4:8224> avoltag: <:0> source: <> intaddr: <4137> scsi: slot 42: sense: <0x00/0x00> voltag: <029132L4:8224> avoltag: <:0> source: <> intaddr: <4138> scsi: slot 43: sense: <0x00/0x00> voltag: <029131L4:8224> avoltag: <:0> source: <> intaddr: <4139> scsi: slot 44: sense: <0x00/0x00> voltag: <029130L4:8224> avoltag: <:0> source: <> intaddr: <4140> scsi: slot 45: sense: <0x00/0x00> voltag: <029139L4:8224> avoltag: <:0> source: <> intaddr: <4141> scsi: slot 46: sense: <0x00/0x00> voltag: <029138L4:8224> avoltag: <:0> source: <> intaddr: <4142> scsi: slot 47: sense: <0x00/0x00> voltag: <029137L4:8224> avoltag: <:0> source: <> intaddr: <4143> scsi: slot 48: sense: <0x00/0x00> voltag: <029136L4:8224> avoltag: <:0> source: <> intaddr: <4144> scsi: slot 49: sense: <0x00/0x00> voltag: <029135L4:8224> avoltag: <:0> source: <> intaddr: <4145> scsi: drive 0: 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