Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2014 14:58:41 -0400
From:      Dan Langille <dan@langille.org>
To:        freebsd-scsi@freebsd.org
Subject:   SYM8951U sees ch0 but not sa0
Message-ID:  <831365dbd2a006fd36b7a1465d33fe00@mailjail.langille.org>

next in thread | raw e-mail | index | archive | help
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
<COMPAQ MSL5000 Series 0520>       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: <COMPAQ MSL5000 Series 0520> 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<NO_DVCID>
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?831365dbd2a006fd36b7a1465d33fe00>