From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 28 18:58:46 2014 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A68E4679 for ; Fri, 28 Mar 2014 18:58:46 +0000 (UTC) Received: from gelt.unixathome.org (gelt.unixathome.org [64.90.182.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "gelt.unixathome.org", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6204E617 for ; Fri, 28 Mar 2014 18:58:46 +0000 (UTC) Received: from gelt.unixathome.org (localhost [127.0.0.1]) by gelt.unixathome.org (Postfix) with ESMTP id A0E6417036 for ; Fri, 28 Mar 2014 18:58:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at unixathome.org Received: from gelt.unixathome.org ([127.0.0.1]) by gelt.unixathome.org (gelt.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TBSESubgis4q for ; Fri, 28 Mar 2014 18:58:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gelt.unixathome.org (Postfix) with ESMTP id 5AB5817029 for ; Fri, 28 Mar 2014 18:58:42 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 28 Mar 2014 14:58:41 -0400 From: Dan Langille To: freebsd-scsi@freebsd.org Subject: SYM8951U sees ch0 but not sa0 Organization: The FreeBSD Diary Message-ID: <831365dbd2a006fd36b7a1465d33fe00@mailjail.langille.org> X-Sender: dan@langille.org User-Agent: Roundcube Webmail/0.9.5 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2014 18:58:46 -0000 I have installed a Symbios Ultra2 32-bit PCI SCSI Adapter SYM8951U in my FreeBSD 9.2 system. Attached to it is a Compaq StorageWorks MSL5026 tape library. I have never used this library before, but it was given to me by someone who did use it. It worked at one time. The system sees the changer, but not the drive. I've tried swapping the SCSI cable and the LVD/SE terminator on the tape library ports. Same result. After each cable retry, I run 'camcontrol rescan all'. [dan@knew:/dev] $ ls *sa* *ch* ls: *sa*: No such file or directory ch0 [dan@knew:/dev] $ Any ideas? Suggestions? Card settings? I conclude the cable is OK, given that I can get a list of the tapes in the library. The front panel of the library sees the tape drive. It has a SCSI ID assigned. $ sudo camcontrol amcontrol devlist at scbus7 target 3 lun 0 (pass10,ch0) (NOTE: I have removed the SATA drives from the camcontrol output) From dmesg, I see: sym0: <895> port 0xe000-0xe0ff mem 0xfebeec00-0xfebeecff,0xfebef000-0xfebeffff irq 22 at device 2.0 on pci4 sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. ... uhub4: 3 ports with 3 removable, self powered (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. uhub2: 6 ports with 6 removable, self powered uhub5: 6 ports with 6 removable, self powered ch0 at sym0 bus 0 scbus7 target 3 lun 0 ch0: Removable Changer SCSI-2 device ch0: 20.000MB/s transfers (10.000MHz, offset 15, 16bit) ch0: 25 slots, 1 drive, 1 picker, 1 portal ch0: quirks=0x2 da1 at mps0 bus 0 scbus0 target 10 lun 0 ... sym0 - the card I just installed ch0 - the tape changer I can get a list of the tapes: $ sudo mtx -f /dev/pass10 status Storage Changer /dev/pass10:1 Drives, 26 Slots ( 1 Import/Export ) Data Transfer Element 0:Empty Storage Element 1:Full :VolumeTag=TWZ040 Storage Element 2:Full :VolumeTag=TWZ039 Storage Element 3:Full :VolumeTag=TWZ044 Storage Element 4:Full :VolumeTag=TWZ043 Storage Element 5:Full :VolumeTag=TWZ042 Storage Element 6:Full :VolumeTag=TWZ041 Storage Element 7:Full :VolumeTag=TWZ046 Storage Element 8:Full :VolumeTag=TWZ045 Storage Element 9:Full :VolumeTag=TWZ047 Storage Element 10:Full :VolumeTag=TWZ049 Storage Element 11:Full :VolumeTag=TWZ050 Storage Element 12:Full :VolumeTag=TWZ051 Storage Element 13:Full :VolumeTag=TWZ061 Storage Element 14:Full :VolumeTag=TWZ060 Storage Element 15:Full :VolumeTag=TWZ065 Storage Element 16:Full :VolumeTag=TWZ064 Storage Element 17:Full :VolumeTag=TWZ062 Storage Element 18:Full :VolumeTag=TWZ048 Storage Element 19:Full :VolumeTag=TWZ059 Storage Element 20:Full :VolumeTag=TWZ058 Storage Element 21:Full :VolumeTag=TWZ057 Storage Element 22:Full :VolumeTag=TWZ055 Storage Element 23:Full :VolumeTag=TWZ054 Storage Element 24:Full :VolumeTag=TWZ053 Storage Element 25:Full :VolumeTag=TWZ067 Storage Element 26 IMPORT/EXPORT:Empty -- Dan Langille - http://langille.org/