LSI SAS2008 and RHEL 8

Discussion in 'RAID Controllers and Host Bus Adapters' started by Ingvarhost, Nov 19, 2018.

  1. Ingvarhost

    Ingvarhost New Member

    Joined:
    Apr 12, 2012
    Messages:
    5
    Likes Received:
    0
    Good day! I have an HBA DELL H200, flashed in LSI 9211, it has a SAS2008 chip . As it turned out, this chip is no longer supported in RHEL8. But SAS2008 with pci id 1000: 0073 should work. Is there a way to flash the pci id?

    0072.PNG
     
    #1
  2. linuxmanbg

    linuxmanbg New Member

    Joined:
    Jun 23, 2016
    Messages:
    18
    Likes Received:
    2
    You can try to install driver from elrepo repository.
     
    #2
  3. BLinux

    BLinux Well-Known Member

    Joined:
    Jul 7, 2016
    Messages:
    1,971
    Likes Received:
    563
    What's the kernel version? That seems very odd, shouldn't it be using mpt2sas driver? Can you show lspci -vnn on that pci address?

    BTW, the pci id is located in the SBR. You just have to download it, edit in hex editor, update the checksum, and upload it again. Megarec tool can read/write SBRs.
     
    #3
  4. BLinux

    BLinux Well-Known Member

    Joined:
    Jul 7, 2016
    Messages:
    1,971
    Likes Received:
    563
    I just checked, but 1000:0073 is not the same driver, that is the megaraid version, and it too has been removed. You will need to install recompiled mpt2sas driver that still supports 0072.
     
    #4
  5. DanielWood

    DanielWood New Member

    Joined:
    Sep 14, 2018
    Messages:
    5
    Likes Received:
    6
    I thought it seemed strange, so I put it on a test box with a H310 flashed to P20 IT. Looks like the mpt3sas has hooks for it ''alias: pci:v00001000d00000072sv*sd*bc*sc*i*", but as shown in the warning, it has been removed. I guess you'll need to blacklist the mpt3sas from this device id and compile a mpt2sas driver. I'm guessing that will be a package once CentOS 8 comes along, because no one is going to actually run RHEL8 with a SAS2008.

    Code:
    [root@localhost ~]# dmesg | grep 0072
    [    0.000000] ACPI: APIC 0x00000000D7FFDC68 000072 (v03 DELL   CBX3     01072009 AMI  00010013)
    [    0.226148] pci 0000:03:00.0: [1000:0072] type 00 class 0x010700
    [    1.082624] Warning: mpt3sas 0000:03:00.0 [1000:0072] - Support for this device has been removed in this major release. Please check the removed functionality section of the release notes.
    Code:
    [root@localhost ~]# lspci -nvv -d 1000:0072
    03:00.0 0107: 1000:0072 (rev 03)
            Subsystem: 1028:1f1c
            Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
            Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
            Latency: 0, Cache Line Size: 32 bytes
            Interrupt: pin A routed to IRQ 11
            Region 0: I/O ports at e000 [size=256]
            Region 1: Memory at f7940000 (64-bit, non-prefetchable) [size=64K]
            Region 3: Memory at f7900000 (64-bit, non-prefetchable) [size=256K]
            Expansion ROM at f7800000 [disabled] [size=1M]
            Capabilities: [50] Power Management version 3
                    Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                    Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
            Capabilities: [68] Express (v2) Endpoint, MSI 00
                    DevCap: MaxPayload 4096 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                            ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 0.000W
                    DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                            RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop+ FLReset-
                            MaxPayload 128 bytes, MaxReadReq 512 bytes
                    DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
                    LnkCap: Port #0, Speed 5GT/s, Width x8, ASPM L0s, Exit Latency L0s <64ns
                            ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
                    LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                    LnkSta: Speed 5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                    DevCap2: Completion Timeout: Range BC, TimeoutDis+, LTR-, OBFF Not Supported
                             AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                    DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                             AtomicOpsCtl: ReqEn-
                    LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
                             Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                             Compliance De-emphasis: -6dB
                    LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
                             EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
            Capabilities: [d0] Vital Product Data
    pcilib: sysfs_read_vpd: read failed: Input/output error
                    Not readable
            Capabilities: [a8] MSI: Enable- Count=1/1 Maskable- 64bit+
                    Address: 0000000000000000  Data: 0000
            Capabilities: [c0] MSI-X: Enable- Count=15 Masked-
                    Vector table: BAR=1 offset=0000e000
                    PBA: BAR=1 offset=0000f800
            Capabilities: [100 v1] Advanced Error Reporting
                    UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                    UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                    UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                    CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                    CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                    AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
                            MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
                    HeaderLog: 04000001 0000000f 03010000 da351820
            Capabilities: [138 v1] Power Budgeting <?>
            Kernel modules: mpt3sas
    
    Code:
    [root@localhost ~]# lspci -vnn -d 1000:0072
    03:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03)
            Subsystem: Dell 6Gbps SAS HBA Adapter [1028:1f1c]
            Flags: bus master, fast devsel, latency 0, IRQ 11
            I/O ports at e000 [size=256]
            Memory at f7940000 (64-bit, non-prefetchable) [size=64K]
            Memory at f7900000 (64-bit, non-prefetchable) [size=256K]
            Expansion ROM at f7800000 [disabled] [size=1M]
            Capabilities: [50] Power Management version 3
            Capabilities: [68] Express Endpoint, MSI 00
            Capabilities: [d0] Vital Product Data
            Capabilities: [a8] MSI: Enable- Count=1/1 Maskable- 64bit+
            Capabilities: [c0] MSI-X: Enable- Count=15 Masked-
            Capabilities: [100] Advanced Error Reporting
            Capabilities: [138] Power Budgeting <?>
            Kernel modules: mpt3sas
    
    Code:
    [root@localhost ~]# modinfo mpt3sas
    filename:       /lib/modules/4.18.0-32.el8.x86_64/kernel/drivers/scsi/mpt3sas/mpt3sas.ko.xz
    alias:          mpt2sas
    version:        25.100.00.00
    license:        GPL
    description:    LSI MPT Fusion SAS 3.0 Device Driver
    author:         Avago Technologies <MPT-FusionLinux.pdl@avagotech.com>
    rhelversion:    8.0
    srcversion:     0AE025B83121205D0FFA7C2
    alias:          pci:v00001000d000000D1sv*sd*bc*sc*i*
    alias:          pci:v00001000d000000ACsv*sd*bc*sc*i*
    alias:          pci:v00001000d000000ABsv*sd*bc*sc*i*
    alias:          pci:v00001000d000000AAsv*sd*bc*sc*i*
    alias:          pci:v00001000d000000AFsv*sd*bc*sc*i*
    alias:          pci:v00001000d000000AEsv*sd*bc*sc*i*
    alias:          pci:v00001000d000000ADsv*sd*bc*sc*i*
    alias:          pci:v00001000d000000C3sv*sd*bc*sc*i*
    alias:          pci:v00001000d000000C2sv*sd*bc*sc*i*
    alias:          pci:v00001000d000000C1sv*sd*bc*sc*i*
    alias:          pci:v00001000d000000C0sv*sd*bc*sc*i*
    alias:          pci:v00001000d000000C8sv*sd*bc*sc*i*
    alias:          pci:v00001000d000000C7sv*sd*bc*sc*i*
    alias:          pci:v00001000d000000C6sv*sd*bc*sc*i*
    alias:          pci:v00001000d000000C5sv*sd*bc*sc*i*
    alias:          pci:v00001000d000000C4sv*sd*bc*sc*i*
    alias:          pci:v00001000d000000C9sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000095sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000094sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000091sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000090sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000097sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000096sv*sd*bc*sc*i*
    alias:          pci:v00001000d0000007Esv*sd*bc*sc*i*
    alias:          pci:v00001000d000002B0sv*sd*bc*sc*i*
    alias:          pci:v00001000d0000006Esv*sd*bc*sc*i*
    alias:          pci:v00001000d00000087sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000086sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000085sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000084sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000083sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000082sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000081sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000080sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000065sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000064sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000077sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000076sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000074sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000072sv*sd*bc*sc*i*
    alias:          pci:v00001000d00000070sv*sd*bc*sc*i*
    depends:        scsi_transport_sas,raid_class
    retpoline:      Y
    intree:         Y
    name:           mpt3sas
    vermagic:       4.18.0-32.el8.x86_64 SMP mod_unload modversions
    sig_id:         PKCS#7
    signer:
    sig_key:
    sig_hashalgo:   md4
    signature:      30:82:02:64:06:09:2A:86:48:86:F7:0D:01:07:02:A0:82:02:55:30:
                    82:02:51:02:01:01:31:0D:30:0B:06:09:60:86:48:01:65:03:04:02:
                    01:30:0B:06:09:2A:86:48:86:F7:0D:01:07:01:31:82:02:2E:30:82:
                    02:2A:02:01:01:30:81:84:30:6C:31:10:30:0E:06:03:55:04:0A:0C:
                    07:52:65:64:20:48:61:74:31:34:30:32:06:03:55:04:03:0C:2B:52:
                    65:64:20:48:61:74:20:45:6E:74:65:72:70:72:69:73:65:20:4C:69:
                    6E:75:78:20:6B:65:72:6E:65:6C:20:73:69:67:6E:69:6E:67:20:6B:
                    65:79:31:22:30:20:06:09:2A:86:48:86:F7:0D:01:09:01:16:13:73:
                    65:63:61:6C:65:72:74:40:72:65:64:68:61:74:2E:63:6F:6D:02:14:
                    33:E1:FE:52:4B:92:22:95:FF:01:D3:BD:7C:0D:15:29:F8:46:C8:17:
                    30:0B:06:09:60:86:48:01:65:03:04:02:01:30:0D:06:09:2A:86:48:
                    86:F7:0D:01:01:01:05:00:04:82:01:80:6B:59:82:BE:23:F6:95:F6:
                    B3:41:59:E7:70:83:B2:5C:48:B2:C7:F5:C3:20:2B:65:15:0F:5A:0A:
                    51:70:E9:03:0C:50:88:DD:A6:DD:CA:B0:8E:C8:5E:BA:FD:19:A2:24:
                    93:04:9F:0F:5A:47:97:76:C5:C5:6B:0B:FE:F7:34:4B:DA:2B:65:4B:
                    64:17:26:A4:90:D2:A5:A1:22:46:1B:B2:56:4C:CA:FB:9B:20:1E:63:
                    86:3C:96:F7:BA:E4:10:38:CD:3E:6F:B6:80:D1:2C:E2:C0:B3:A2:0B:
                    53:57:19:1E:EC:9B:EC:81:9E:73:DF:00:3F:80:82:65:92:6D:E1:AC:
                    7A:E8:5B:24:61:FD:63:DD:B1:DF:0A:8C:05:7F:37:BD:6B:CF:E3:F2:
                    27:7A:65:13:51:6C:E7:D7:CE:FF:2F:47:69:3C:E7:D3:5B:E7:FE:90:
                    5F:50:52:4A:82:07:3C:10:D5:7C:D0:0F:3F:9C:C1:C6:EE:5C:FA:08:
                    82:F1:29:5D:B6:D0:FC:71:77:7A:E2:2C:3E:06:80:2E:22:7B:2A:CF:
                    69:F8:9A:68:5C:60:9C:BD:34:9C:A6:8F:05:06:4E:D2:FF:71:B9:29:
                    7F:E1:20:2A:D9:76:14:D7:FC:74:4C:61:C7:CA:78:B7:76:C3:D9:62:
                    84:01:1F:51:C8:0E:B9:DD:5F:8A:A5:D5:B4:74:71:7F:0F:55:AB:00:
                    10:C5:6C:32:71:A2:1F:0E:EF:1C:83:57:85:EF:1D:D6:95:8B:1C:A4:
                    3C:91:47:E5:7F:C6:64:97:ED:41:CB:49:96:97:98:CC:7B:1A:D0:F9:
                    70:2F:ED:CC:60:4A:D8:EA:55:4C:36:1C:B4:2F:44:80:04:8D:08:10:
                    89:CC:C3:AF:87:58:9A:13:28:6A:CC:CA:08:9D:C6:02:5B:0E:69:9F:
                    B1:52:B0:29:0E:F3:75:33:8C:A1:31:B1:5A:EF:7A:AD:2D:E5:A9:59:
                    76:B7:3F:F2:D8:0F:6E:A6:39:BA:BC:8D:F0:D1:F8:90
    parm:           logging_level: bits for enabling additional logging info (default=0)
    parm:           max_sectors:max sectors, range 64 to 32767  default=32767 (ushort)
    parm:           missing_delay: device missing delay , io missing delay (array of int)
    parm:           max_lun: max lun, default=16895  (ullong)
    parm:           hbas_to_enumerate: 0 - enumerates both SAS 2.0 & SAS 3.0 generation HBAs
                      1 - enumerates only SAS 2.0 generation HBAs
                      2 - enumerates only SAS 3.0 generation HBAs (default=0) (ushort)
    parm:           diag_buffer_enable: post diag buffers (TRACE=1/SNAPSHOT=2/EXTENDED=4/default=0) (int)
    parm:           disable_discovery: disable discovery  (int)
    parm:           prot_mask: host protection capabilities mask, def=7  (int)
    parm:           max_queue_depth: max controller queue depth  (int)
    parm:           max_sgl_entries: max sg entries  (int)
    parm:           msix_disable: disable msix routed interrupts (default=0) (int)
    parm:           smp_affinity_enable:SMP affinity feature enable/disable Default: enable(1) (int)
    parm:           max_msix_vectors: max msix vectors (int)
    parm:           mpt3sas_fwfault_debug: enable detection of firmware fault and halt firmware - (default=0)
    
     
    #5
  6. BLinux

    BLinux Well-Known Member

    Joined:
    Jul 7, 2016
    Messages:
    1,971
    Likes Received:
    563
    @DanielWood In Fedora Linux, it looks like mpt2sas and mpt3sas got merged, but then RHT deprecated devices in the mpt3sas driver. So, my guess is that the mpt3sas driver can be recompiled to support the 2008/2108 and other deprecated chipsets.
     
    #6
    DanielWood likes this.
  7. fedora

    fedora New Member

    Joined:
    Thursday
    Messages:
    3
    Likes Received:
    0
    @BLinux Hi nex week i will get my new server with Gigabyte GA-7PESH2 motherboard with built in LSI SAS2008. Im planning to run Fedora 29, do you know if its supported out of the box? The board only has 2x sata 6 connectors. And 8x sata 6 trough one of the sas connectors with sas to sata cable. Will i be able to use it? Dont need raid funtionality.

    Many thanks
     
    #7
  8. llowrey

    llowrey New Member

    Joined:
    Feb 26, 2018
    Messages:
    25
    Likes Received:
    9
    @fedora I'm running Fedora 29 with an onboard SAS2008 and another as an AIC. Both work out-of-the-box.
     
    #8
Similar Threads: SAS2008 RHEL
Forum Title Date
RAID Controllers and Host Bus Adapters LSI SAS2008 Performance - GA-7PESH2 - RAID10 Oct 16, 2018
RAID Controllers and Host Bus Adapters SAS2008 - LSI 9211-I8 Jul 2, 2017
RAID Controllers and Host Bus Adapters Fujitsu 9211-8i D2607 LSISAS2008 wont flash to anything Dec 26, 2016
RAID Controllers and Host Bus Adapters LSI SAS2008, IR mode, RAID 1 with two S3700; poor performance for a while after reboot Oct 3, 2016
RAID Controllers and Host Bus Adapters SAS2008 HBA in IR mode for RAID 1, expected performance? Aug 14, 2016

Share This Page