[OpenIndiana-discuss] Openindana SAS HBA drivers and tape drivers

Lauri-Alo Adamson lauri.adamson at andmevara.ee
Wed Mar 14 06:59:59 UTC 2012


Hello !

I reacently tried openinadiana and with IBM TS3100 tape library (LTO-5 
ULTRIM3850 HH5 drive ) with SAS interface.

I used IBM SAS HBA (IRONVILLE)and under the openindiana device driver was 
mpt_sas.

At first i ties IBMTape drivers - installation went wall but no drivers files 
was generated undes /dev/rmt

After that I tried st driver (SCSI tape Driver) that comes with openindana and 
with no results
I tried to load drive with add_drv as below

add_drv -m '* 0666 bin bin' st
devfsadm: driver failed to attach: st
Warning: Driver (st) successfully added to system but failed to attach

If undestood situation correctly there is something wrong how drivers 
communicate each other or how they are communicationg with physical device !?

I would be very pleased if could help me find correct SAS HBA PCI-Express card
and driver combination that works !

Lauri-Alo Adamson

Additional information that discribes the problem

In my posting Openindiana and IBM TS3100 I found out mpt_sas driver in some 
level communicates with IBM TS3100. Here is a link to this posting.

http://permalink.gmane.org/gmane.os.openindiana.general/7229

I used cfgadm -alv to find out drivers and the output was following


Ap_ID		Type 		Receptacle   Occupant   Condition  Information
c3                             connected    unconfigured unknown unavailable  
scsi-sas     n        /devices/pci at 0,0/pci8086,340e at 7/pci1014,3ca at 0/iport at 8:scsi

Then I used prtcof -v to more detailed information about mpt_sas driver

pci1014,3ca, instance #0
   System software properties:
  name='ddi-vhci-class' type=string items=1
        value='scsi_vhci'
  name='mpxio-disable' type=string items=1
        value='yes'
   Driver properties:
   name='SerialNumber' type=string items=1 dev=none
         value='LSISAS2008ALL:IBM 6Gb SAS HBAH3-25326-01FSP20200253'
   name='ModelName' type=string items=1 dev=none
       value='IBM 6Gb SAS HBA'
   name='Manufacturer' type=string items=1 dev=none
       value='LSISAS2008'
   name='supported-protocol' type=int items=1 dev=none
       value=0000000b
   name='num-phys-hba' type=int items=1 dev=none
       value=00000008
   name='hardware-version' type=string items=1 dev=none
       value='D'
   name='driver-version' type=string items=1 dev=none
       value='MPTSAS HBA Driver 00.00.00.24'
   name='sm-hba-supported' type=int items=1 dev=none
       value=00000001
   name='scsi-iports' type=string items=2 dev=none
       value='8' + 'v0'
   name='num-phys' type=int items=1 dev=none
       value=00000008
   name='base-wwid' type=int64 items=1 dev=none
       value=500605b0046db120
   name='firmware-version' type=string items=1 dev=none
       value='10.0.5.0'
   name='pm-components' type=string items=3 dev=none
       value='NAME=mptsas0' + '0=Off (PCI D3 State)' + '3=On (PCI D0 State)'
   name='fm-accchk-capable' type=boolean dev=none
   name='fm-dmachk-capable' type=boolean dev=none
   name='fm-errcb-capable' type=boolean dev=none
   name='fm-ereport-capable' type=boolean dev=none
   Hardware properties:
   name='ddi-config-driver-node' type=boolean
   name='pci-msix-capid-pointer' type=int items=1
         value=000000c0
   name='pci-msi-capid-pointer' type=int items=1
         value=000000a8
   name='assigned-addresses' type=int items=15
                        
value=81100010.00000000.00002000.00000000.00000100.83100014.00000000.
92a40000.00000000.00004000.8310001c.00000000.92a00000.00000000.00040000
  name='reg' type=int items=20
                        
value=00100000.00000000.00000000.00000000.00000000.01100010.00000000.
00000000.00000000.00000100.03100014.00000000.00000000.00000000.00004000.
0310001c.00000000.00000000.00000000.00040000
  name='compatible' type=string items=13
       value='pciex1000,72.1014.3ca.3' + 'pciex1000,72.1014.3ca' + 
'pciex1000,72.3' + 'pciex1000,72' + 'pciexclass,010700' + 'pciexclass,0107' + 
'pci1000,72.1014.3ca.3' + 'pci1000,72.1014.3ca' + 'pci1014,3ca' + 'pci1000,72.3' 
+ 'pci1000,72' + 'pciclass,010700' + 'pciclass,0107'
  name='model' type=string items=1
        value='Serial Attached SCSI Controller'
  name='power-consumption' type=int items=2
        value=00000001.00000001
  name='devsel-speed' type=int items=1
        value=00000000
  name='interrupts' type=int items=1
        value=00000001
  name='subsystem-vendor-id' type=int items=1
        value=00001014
  name='subsystem-id' type=int items=1
        value=000003ca
  name='unit-address' type=string items=1
        value='0'
  name='class-code' type=int items=1
        value=00010700
  name='revision-id' type=int items=1
        value=00000003
  name='vendor-id' type=int items=1
        value=00001000
  name='device-id' type=int items=1
        value=00000072
  Device Minor Nodes:
        dev=(163,0)
        dev_path=/pci at 0,0/pci8086,340e at 7/pci1014,3ca at 0:devctl
        spectype=chr type=minor
        iport, instance #1
             System software properties:
                  name='ddi-vhci-class' type=string items=1
                    value='scsi_vhci'
                  name='mpxio-disable' type=string items=1
                    value='yes'
             Driver properties:
             name='attached-port' type=string items=1 dev=none
                  value='w5000e11143a87002'
             name='phy-info' type=byte items=404 dev=none
                            
value=00.01.00.00.00.00.00.00.01.00.00.00.40.00.00.00.0d.00.00.00.
01.00.00.00.14.00.00.00.70.68.79.2d.69.6e.66.6f.2d.6e.76.6c.00.00.
00.00.00.00.00.00.00.00.00.00.00.00.00.00.01.00.00.00.00.00.00.00.
00.00.00.00.00.00.00.00.00.00.00.00.28.00.00.00.0e.00.00.00.01.00.
00.00.17.00.00.00.50.68.79.49.64.65.6e.74.69.66.69.65.72.00.00.00.
03.00.00.00.00.00.00.00.28.00.00.00.09.00.00.00.01.00.00.00.17.00.
00.00.70.68.79.53.74.61.74.65.00.00.00.00.00.00.00.00.0a.00.00.00.
00.00.00.00.30.00.00.00.13.00.00.00.01.00.00.00.16.00.00.00.4e.65.
67.6f.74.69.61.74.65.64.4c.69.6e.6b.52.61.74.65.00.00.00.00.00.00.
0a.00.00.00.00.00.00.00.30.00.00.00.16.00.00.00.01.00.00.00.16.00.
00.00.50.72.6f.67.72.61.6d.6d.65.64.4d.69.6e.4c.69.6e.6b.52.61.74.
65.00.00.00.08.00.00.00.00.00.00.00.30.00.00.00.14.00.00.00.01.00.
00.00.16.00.00.00.48.61.72.64.77.61.72.65.4d.69.6e.4c.69.6e.6b.52.
61.74.65.00.00.00.00.00.08.00.00.00.00.00.00.00.30.00.00.00.16.00.
00.00.01.00.00.00.16.00.00.00.50.72.6f.67.72.61.6d.6d.65.64.4d.61.
78.4c.69.6e.6b.52.61.74.65.00.00.00.0a.00.00.00.00.00.00.00.30.00.
00.00.14.00.00.00.01.00.00.00.16.00.00.00.48.61.72.64.77.61.72.65.
4d.61.78.4c.69.6e.6b.52.61.74.65.00.00.00.00.00.0a.00.00.00.00.00.
00.00.00.00.00.00.00.00.00.00
            name='virtual-port' type=int items=1 dev=none
               value=00000000
            name='dynamic-port' type=int items=1 dev=none
               value=00000001
            name='phymask' type=int items=1 dev=none
               value=00000008
            name='num-phys' type=int items=1 dev=none
               value=00000001
            name='initiator-port' type=string items=1 dev=none
               value='w500605b0046db120'
            name='fm-ereport-capable' type=boolean dev=none
           Hardware properties:
                 name='initiator-interconnect-type' type=string items=1
                      value='SAS'
                 name='scsi-tag-age-limit' type=int items=1
                      value=00000002
                 name='scsi-selection-timeout' type=int items=1
                       value=000000fa
                 name='scsi-watchdog-tick' type=int items=1
                       value=0000000a
                 name='scsi-reset-delay' type=int items=1
                      value=00000bb8
                 name='scsi-options' type=int items=1
                      value=00107ff8
                 name='scsi-enumeration' type=int items=1
                      value=00000000
                 name='obp-path' type=string items=1
                      value='/pci at 0,0/pci8086,340e at 7/pci1014,3ca at 0'
                 name='compatible' type=string items=1
                      value='mpt_sas'
                 name='scsi-iport' type=string items=1
                       value='8'
                Device Minor Nodes:
                 dev=(163,64)
                            
dev_path=/pci at 0,0/pci8086,340e at 7/pci1014,3ca at 0/iport at 8:devctl
            spectype=chr type=minor
            dev=(163,65)
                            
dev_path=/pci at 0,0/pci8086,340e at 7/pci1014,3ca at 0/iport at 8:scsi                    i 
ispectype=chr type=minor
      dev_link=/dev/cfg/c3
       iport, instance #2
            System software properties:
             name='ddi-vhci-class' type=string items=1
                value='scsi_vhci'
                name='mpxio-disable' type=string items=1
                  value='yes'
       Driver properties:
            name='virtual-port' type=int items=1 dev=none
                   value=00000001
            name='fm-ereport-capable' type=boolean dev=none
       Hardware properties:
            name='initiator-interconnect-type' type=string items=1
                 value='SAS'
       name='scsi-tag-age-limit' type=int items=1
                 value=00000002
            name='scsi-selection-timeout' type=int items=1
                 value=000000fa
            name='scsi-watchdog-tick' type=int items=1
                 value=0000000a
            name='scsi-reset-delay' type=int items=1
                  value=00000bb8
            name='scsi-options' type=int items=1
                  value=00107ff8
            name='scsi-enumeration' type=int items=1
                  value=00000000
            name='obp-path' type=string items=1
                  value='/pci at 0,0/pci8086,340e at 7/pci1014,3ca at 0'
            name='compatible' type=string items=1
                  value='mpt_sas'
            name='scsi-iport' type=string items=1
                  value='v0'
            Device Minor Nodes:
                    dev=(163,128)
                            
dev_path=/pci at 0,0/pci8086,340e at 7/pci1014,3ca at 0/iport at v0:devctl
                    spectype=chr type=minor
                    dev=(163,129)
                            
dev_path=/pci at 0,0/pci8086,340e at 7/pci1014,3ca at 0/iport at v0:scsi
                    spectype=chr type=minor
                    dev_link=/dev/cfg/c4
        pci8086,3410, instance #2
            System software properties:
                name='ddi-forceattach' type=int items=1
                    value=00000001
            Driver properties:
                name='device_type' type=string items=1 dev=none
                    value='pciex'
                name='fm-ereport-capable' type=boolean dev=none
            Hardware properties:
                name='pci-msi-capid-pointer' type=int items=1
                    value=00000060
                name='available' type=int items=10
                    
value=81000000.00000000.00001100.00000000.00000f00.82000000.00000000.92944000.00
000000.000bc000
                name='acpi-namespace' type=string items=1
                    value='\_SB_.PCI0.PCI9'
                name='slot-names' type=int items=3
                    value=00000001.746f6c53.00000031
                name='reg' type=int items=5
                    value=00004800.00000000.00000000.00000000.00000000
                name='compatible' type=string items=8
                    value='pciex8086,3410.22' + 'pciex8086,3410' + 
'pciexclass,060400' + 'pciexclass,0604' + 'pci8086,3410.22' + 'pci8086,3410' + 
'pciclass,060400' + 'pciclass,0604'
                name='model' type=string items=1
                    value='PCI-PCI bridge'
                name='ranges' type=int items=16
                    
value=81000000.00000000.00001000.81000000.00000000.00001000.00000000.00001000.82
000000.00000000.92900000.82000000.00000000.92900000.00000000.00100000
                name='bus-range' type=int items=2
                    value=00000015.00000019
                name='#size-cells' type=int items=1
                    value=00000002
                name='#address-cells' type=int items=1
                    value=00000003
                name='device_type' type=string items=1
                    value='pciex'
                name='power-consumption' type=int items=2
                    value=00000001.00000001
                name='physical-slot#' type=int items=1
                    value=00000004
                name='devsel-speed' type=int items=1
                    value=00000000
                name='interrupts' type=int items=1
                    value=00000001
                name='unit-address' type=string items=1
                    value='9'
                name='class-code' type=int items=1
                    value=00060400
                name='revision-id' type=int items=1
                    value=00000022
                name='vendor-id' type=int items=1
                    value=00008086
                name='device-id' type=int items=1
                    value=00003410
            Device Minor Nodes:
                dev=(74,767)
                    dev_path=/pci at 0,0/pci8086,3410 at 9:devctl
                        spectype=chr type=minor




More information about the OpenIndiana-discuss mailing list