Project

General

Profile

Feature #9519

Need additional support for mpt_sas tri-mode parts

Added by Andreas GrĂ¼ninger over 1 year ago. Updated over 1 year ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2018-05-03
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

The last generation of Dell servers is delivered with a PERC H740P controller.
The card uses the LSISAS3508 chip.

add_drv -i '1028,1fcb' mpt_sas
failed, the driver could not be successfully attached.

Please check the functionality of the new driver code with 3508 too.

If you need a helping hand with tests I am willing to support you.

History

#1

Updated by Yuri Pankov over 1 year ago

  • Status changed from New to Feedback

You didn't mention what illumos-gate revision you are running at the moment -- the tri-mode parts support was added in #9044 not long ago.

#2

Updated by Andreas GrĂ¼ninger over 1 year ago

I tested with the newest version of OpenIndiana (OI-hipster-text-20180427.iso) containing the tri mode parts.
Last commit for Illumos was https://github.com/illumos/illumos-gate/commit/47b8d4b884f2dab4e4c6952b40fd740a8fc4ab32.

  1. prtconf -v
    ...
    pci1028,1fcb (driver not attached)
    Hardware properties:
    name='assigned-addresses' type=int items=20
    value=c3180010.00000000.a0100000.00000000.00100000.c3180018.00000000.a0200000.00000000.00100000.82180020.00000000.a0300000.00000000.00100000.81180024.00000000.00004000.00000000.00000100
    name='reg' type=int items=25
    value=00180000.00000000.00000000.00000000.00000000.43180010.00000000.00000000.00000000.00100000.43180018.00000000.00000000.00000000.00100000.02180020.00000000.00000000.00000000.00100000.01180024.00000000.00000000.00000000.00000100
    name='compatible' type=string items=13
    value='pciex1000,16.1028.1fcb.1' + 'pciex1000,16.1028.1fcb' + 'pciex1000,16.1' + 'pciex1000,16' + 'pciexclass,010400' + 'pciexclass,0104' + 'pci1000,16.1028.1fcb.1' + 'pci1000,16.1028.1fcb' + 'pci1028,1fcb' + 'pci1000,16.1' + 'pci1000,16' + 'pciclass,010400' + 'pciclass,0104'
    name='model' type=string items=1
    value='RAID 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=00001028
    name='subsystem-id' type=int items=1
    value=00001fcb
    name='unit-address' type=string items=1
    value='0'
    name='class-code' type=int items=1
    value=00010400
    name='revision-id' type=int items=1
    value=00000001
    name='vendor-id' type=int items=1
    value=00001000
    name='device-id' type=int items=1
    value=00000016
    name='vendor-name' type=string items=1
    value='LSI Logic / Symbios Logic'
    name='device-name' type=string items=1
    value='MegaRAID Tri-Mode SAS3508'
    name='subsystem-name' type=string items=1
    value='PERC H740P Adapter'
    ...

update_drv -a -i 'pciex1000,16.1028.1fcb.1' mpt_sas
or
update_drv -a -i 'pciex1000,16.1' mpt_sas

results in

May 5 12:49:37 zd-oi-s75 scsi: [ID 107833 kern.warning] WARNING: /pci@14,0/pci8086,2030@0/pci1028,1fcb@0 (mpt_sas3):
May 5 12:49:37 zd-oi-s75 hard reset failed!
May 5 12:49:37 zd-oi-s75 scsi: [ID 107833 kern.warning] WARNING: /pci@14,0/pci8086,2030@0/pci1028,1fcb@0 (mpt_sas3):
May 5 12:49:37 zd-oi-s75 mptsas chip initialization failed
May 5 12:49:37 zd-oi-s75 scsi: [ID 107833 kern.warning] WARNING: /pci@14,0/pci8086,2030@0/pci1028,1fcb@0 (mpt_sas3):
May 5 12:49:37 zd-oi-s75 attach failed
May 5 12:49:37 zd-oi-s75 scsi: [ID 365881 kern.info] /pci@14,0/pci8086,2030@0/pci1028,1fcb@0 (mpt_sas3):
May 5 12:49:37 zd-oi-s75 mptsas3 supports power management.
May 5 12:49:37 zd-oi-s75 scsi: [ID 365881 kern.info] /pci@14,0/pci8086,2030@0/pci1028,1fcb@0 (mpt_sas3):
May 5 12:49:37 zd-oi-s75 mptsas3 supports power management.
May 5 12:50:38 zd-oi-s75 scsi: [ID 107833 kern.warning] WARNING: /pci@14,0/pci8086,2030@0/pci1028,1fcb@0 (mpt_sas3):
May 5 12:50:38 zd-oi-s75 hard reset failed!
May 5 12:50:38 zd-oi-s75 scsi: [ID 107833 kern.warning] WARNING: /pci@14,0/pci8086,2030@0/pci1028,1fcb@0 (mpt_sas3):
May 5 12:50:38 zd-oi-s75 mptsas chip initialization failed
May 5 12:50:38 zd-oi-s75 scsi: [ID 107833 kern.warning] WARNING: /pci@14,0/pci8086,2030@0/pci1028,1fcb@0 (mpt_sas3):
May 5 12:50:38 zd-oi-s75 attach failed
May 5 12:50:38 zd-oi-s75 scsi: [ID 365881 kern.info] /pci@14,0/pci8086,2030@0/pci1028,1fcb@0 (mpt_sas3):
May 5 12:50:38 zd-oi-s75 mptsas3 supports power management.
May 5 12:50:38 zd-oi-s75 scsi: [ID 365881 kern.info] /pci@14,0/pci8086,2030@0/pci1028,1fcb@0 (mpt_sas3):
May 5 12:50:38 zd-oi-s75 mptsas3 supports power management.

The system must be powered off after a failed attach.
If not system will hang indefinitly during boot when initializing the firmware of the adapter.

Also available in: Atom PDF