[OpenIndiana-discuss] [illumos-Developer] SES support for Super Micro chassises?

Mark mark0x01 at gmail.com
Thu Mar 10 08:54:29 UTC 2011


On 10/03/2011 9:33 p.m., Cyril Plisko wrote:
> On Thu, Mar 10, 2011 at 1:15 AM, Jason King<jason.brian.king at gmail.com>  wrote:
>> You'd probably need to write a C program that opens the device
>> (assuming one is created on the system) and use the uscsi interface to
>> issue the commands as ioctls.
>
>
> Or use sg_senddiag from sg3_utils package.
>

With the LSI IT mode controllers and Supermicro SAS Expander backplane 
(E1,E2,E16,E26) you should see /dev/es/ses0 etc.

OpenIndianan
SunOS pod03-sss 5.11 oi_147 i86pc i386 i86pc Solaris

c1::es/ses0                    ESI          connected    configured 
unknown
c1::es/ses1                    ESI          connected    configured 
unknown
c1::smp/expd0                  smp          connected    configured 
unknown
c1::smp/expd1                  smp          connected    configured 
unknown


You can use sestopo

pkg install system/io/tests

sestopo /dev/es/ses0

This is some of what you get, but even whit this, Fault Management 
doesn't do anything interesting with it.
This server also has an IPMI card, so ipmitopo also lists this info (see 
end of post)

Mark.


Node Type: 1
nvlist version: 0
         scsi-inquiry-vendor = LSILOGIC
         scsi-inquiry-product = SASX28 A.0
         scsi-inquiry-revision =    9
Node Type: 2
nvlist version: 0
         ses-enclosure-id = 0x0
         ses-enclosure-service-proc-id = 0x0
         ses-enclosure-service-proc-count = 0x0
         ses-logical-id = (embedded nvlist)
         nvlist version: 0
                 naa-id-integer = 0x50030480003bbf7f
                 naa-id-type = 0x5
                 naa-company-id = 0x3048
                 naa-vendor-specific-a = 0x3bbf7f
         (end ses-logical-id)

         ses-vendor-id = LSILOGIC
         ses-product-id = SASX28 A.0
         ses-product-revision = 9
         ses-element-index = 0x12
         ses-element-only-index = 0x10
         ses-element-type = 0xe
         ses-class-description = Enclosure
         ses-status-code = 0x1
         ses-swapped = 0
         ses-disabled = 0
         ses-failure-predicted = 0
         ses-identify = 0
         ses-warning = 1
         ses-failed = 0
         ses-power-cycle-delay = 0x0
         ses-warning-indicator-requested = 0
         ses-failure-indicator-requested = 0
         ses-power-cycle-duration = 0x0
         ses-description = BOX 001
         ses-microcode-dl-status = 0x0
         ses-microcode-dl-addl-status = 0x0
         ses-microcode-maximum-size = 0x40000
         ses-microcode-buffer-id = 0xff
         ses-microcode-buffer-offset = 0x0
         libses-element-type-name = ENCLOSURE
         libses-chassis-serial = 50030480003bbf7f
         libses-internal = 1
Node Type: 4
Element Type: ARRAY_DEVICE
nvlist version: 0
         ses-element-index = 0x0
         ses-element-type = 0x17
         ses-class-description = Array Device
         ses-status-code = 0x0
         ses-swapped = 0
         ses-disabled = 0
         ses-failure-predicted = 0
         ses-remap-rebuild-abort = 0
         ses-remap-rebuild = 0
         ses-in-failed-array = 0
         ses-in-critical-array = 0
         ses-consistency-check = 0
         ses-hot-spare = 0
         ses-reserved-device = 0
         ses-ok = 0
         ses-reported-via = 0
         ses-identify = 0
         ses-ready-to-remove = 0
         ses-ready-to-insert = 0
         ses-enclosure-bypassed-b = 0
         ses-enclosure-bypassed-a = 0
         ses-do-not-remove = 0
         ses-app-client-bypassed-a = 0
         ses-device-bypassed-b = 0
         ses-device-bypassed-a = 0
         ses-bypassed-b = 0
         ses-bypassed-a = 0
         ses-off = 0
         ses-fault-requested = 0
         ses-fault-sensed = 0
         ses-app-client-bypassed-b = 0
         ses-description = Array Device
         libses-element-type-name = ARRAY_DEVICE
Node Type: 8
Element Type: ARRAY_DEVICE
nvlist version: 0
         ses-element-index = 0x1
         ses-element-only-index = 0x0
         ses-element-class-index = 0x0
         ses-element-type = 0x17
         ses-status-code = 0x1
         ses-swapped = 0
         ses-disabled = 0
         ses-failure-predicted = 0
         ses-remap-rebuild-abort = 0
         ses-remap-rebuild = 0
         ses-in-failed-array = 0
         ses-in-critical-array = 0
         ses-consistency-check = 0
         ses-hot-spare = 0
         ses-reserved-device = 0
         ses-ok = 0
         ses-reported-via = 0
         ses-identify = 0
         ses-ready-to-remove = 0
         ses-ready-to-insert = 0
         ses-enclosure-bypassed-b = 0
         ses-enclosure-bypassed-a = 0
         ses-do-not-remove = 0
         ses-app-client-bypassed-a = 0
         ses-device-bypassed-b = 0
         ses-device-bypassed-a = 0
         ses-bypassed-b = 0
         ses-bypassed-a = 0
         ses-off = 0
         ses-fault-requested = 0
         ses-fault-sensed = 0
         ses-app-client-bypassed-b = 0
         ses-description = 000
         ses-sas-not-all-phys = 1
         ses-bay-number = 0x0
         ses-sas-phys = (array of embedded nvlists)
         (start ses-sas-phys[0])
         nvlist version: 0
                 ses-sas-device-type = 0x1
                 ses-sas-smp-initiator-port = 0
                 ses-sas-stp-initiator-port = 0
                 ses-sas-ssp-initiator-port = 0
                 ses-sas-sata-device = 0
                 ses-sas-smp-target-port = 0
                 ses-sas-stp-target-port = 0
                 ses-sas-ssp-target-port = 1
                 ses-sas-attached-address = 0x50030480003bbf7f
                 ses-sas-address = 0x500000e01c6751a2
                 ses-sas-phy-identifier = 0x8
         (end ses-sas-phys[0])


ipmitopo

hc://:product-id=LSILOGIC-SASX36-A.1:server-id=:chassis-id=5003048000571eff:serial=9WM2E2HQ0000C1114NHA:part=SEAGATE-ST32000444SS:revision=0006/ses-enclosure=0/bay=0/disk=0
   group: protocol                       version: 1   stability: 
Private/Private
     resource          fmri 
hc://:product-id=LSILOGIC-SASX36-A.1:server-id=:chassis-id=5003048000571eff:serial=9WM2E2HQ0000C1114NHA:part=SEAGATE-ST32000444SS:revision=0006/ses-enclosure=0/bay=0/disk=0
     label             string    000
     FRU               fmri 
hc://:product-id=LSILOGIC-SASX36-A.1:server-id=:chassis-id=5003048000571eff:serial=9WM2E2HQ0000C1114NHA:part=SEAGATE-ST32000444SS:revision=0006/ses-enclosure=0/bay=0/disk=0
     ASRU              fmri 
dev:///:devid=id1,sd@n5000c50025b2933b//pci@0,0/pci8086,4023@3/pci15d9,a680@0/sd@1e,0
   group: authority                      version: 1   stability: 
Private/Private
     product-id        string    LSILOGIC-SASX36-A.1
     chassis-id        string    5003048000571eff
     server-id         string
   group: storage                        version: 1   stability: 
Private/Private
     logical-disk      string    c1t30d0
     manufacturer      string    SEAGATE
     model             string    ST32000444SS
     serial-number     string    9WM2E2HQ0000C1114NHA
     firmware-revision string    0006
     capacity-in-bytes string    2000398934016
     target-port-l0ids string[]  [ "w5000c50025b29339" ]
   group: io                             version: 1   stability: 
Private/Private
     devfs-path        string 
/pci at 0,0/pci8086,4023 at 3/pci15d9,a680 at 0/sd at 1e,0
     devid             string    id1,sd at n5000c50025b2933b
     phys-path         string[]  [ 
"/pci at 0,0/pci8086,4023 at 3/pci15d9,a680 at 0/sd at 1e,0" ]

hc://:product-id=LSILOGIC-SASX36-A.1:server-id=:chassis-id=5003048000571eff/ses-enclosure=0/bay=0?indicator=ident
   group: protocol                       version: 1   stability: 
Private/Private
     resource          fmri 
hc://:product-id=LSILOGIC-SASX36-A.1:server-id=:chassis-id=5003048000571eff/ses-enclosure=0/bay=0?indicator=ident
   group: authority                      version: 1   stability: 
Private/Private
     product-id        string    LSILOGIC-SASX36-A.1
     chassis-id        string    5003048000571eff
     server-id         string
   group: facility                       version: 1   stability: 
Private/Private
     type              uint32    0x1 (LOCATE)
     mode              uint32    0x0 (OFF)
   group: ses                            version: 1   stability: 
Private/Private
     node-id           uint64    0x3

hc://:product-id=LSILOGIC-SASX36-A.1:server-id=:chassis-id=5003048000571eff/ses-enclosure=0/bay=0?indicator=fail
   group: protocol                       version: 1   stability: 
Private/Private
     resource          fmri 
hc://:product-id=LSILOGIC-SASX36-A.1:server-id=:chassis-id=5003048000571eff/ses-enclosure=0/bay=0?indicator=fail
   group: authority                      version: 1   stability: 
Private/Private
     product-id        string    LSILOGIC-SASX36-A.1
     chassis-id        string    5003048000571eff
     server-id         string
   group: facility                       version: 1   stability: 
Private/Private
     type              uint32    0x0 (SERVICE)
     mode              uint32    0x0 (OFF)
   group: ses                            version: 1   stability: 
Private/Private
     node-id           uint64    0x3

hc://:product-id=LSILOGIC-SASX36-A.1:server-id=:chassis-id=5003048000571eff/ses-enclosure=0/bay=0?indicator=ok2rm
   group: protocol                       version: 1   stability: 
Private/Private
     resource          fmri 
hc://:product-id=LSILOGIC-SASX36-A.1:server-id=:chassis-id=5003048000571eff/ses-enclosure=0/bay=0?indicator=ok2rm
   group: authority                      version: 1   stability: 
Private/Private
     product-id        string    LSILOGIC-SASX36-A.1
     chassis-id        string    5003048000571eff
     server-id         string
   group: facility                       version: 1   stability: 
Private/Private
     type              uint32    0x2 (OK2RM)
     mode              uint32    0x0 (OFF)
   group: ses                            version: 1   stability: 
Private/Private
     node-id           uint64    0x3

hc://:product-id=LSILOGIC-SASX36-A.1:server-id=:chassis-id=5003048000571eff/ses-enclosure=0/bay=0?sensor=fault
   group: protocol                       version: 1   stability: 
Private/Private
     resource          fmri 
hc://:product-id=LSILOGIC-SASX36-A.1:server-id=:chassis-id=5003048000571eff/ses-enclosure=0/bay=0?sensor=fault
   group: authority                      version: 1   stability: 
Private/Private
     product-id        string    LSILOGIC-SASX36-A.1
     chassis-id        string    5003048000571eff
     server-id         string
   group: facility                       version: 1   stability: 
Private/Private
     sensor-class      string    discrete
     type              uint32    0x10d (GENERIC_FAILURE)
     state             uint32    0x1 (DEASSERTED)
   group: ses                            version: 1   stability: 
Private/Private
     node-id           uint64    0x3





More information about the OpenIndiana-discuss mailing list