Fun times with LSI HBA and mpt2sas on AIO configs

Discussion in 'Software Stuff' started by whitey, Feb 22, 2016.

  1. whitey

    whitey Moderator

    Joined:
    Jun 30, 2014
    Messages:
    2,602
    Likes Received:
    805
    OK, I am abt tired of this crap, seems like there is kernel regression for the Linux 4.x kernel series and mpt2sas when using a LSI 2008 HBA. Has happened to me now trying to use rockstor (Centos7 based w/ 4.x kernel) as well as just now trying to build out a test ZoL box on ubuntu LTS 14.04 w/ 4.2.x kernel. Seems like some are having some success with the kernel parameter 'pci-realloc=off' but no love here. Only fix it to go down to a lower kernel 3.19.x for me anyways in ubuntu (simply going from 14.04 to 14.03 LTS) and bam LSI HBA and mpt2sas playin' nice again.

    Guess I am off to go play 'bug report sucker' and hit the IRC channels.

    SMFH!

    Anyone else seeing this garbage?
     
    #1
    Last edited: Feb 22, 2016
  2. PigLover

    PigLover Moderator

    Joined:
    Jan 26, 2011
    Messages:
    2,639
    Likes Received:
    1,032
    It's LSI v20...
     
    #2
  3. whitey

    whitey Moderator

    Joined:
    Jun 30, 2014
    Messages:
    2,602
    Likes Received:
    805
    I do believe you are incorrect on this one buddy :-D See other post. Sorry to turd up two posts but this is a REAL issue. I'll happily flash a HBA back to v19 if you think there is a snowballs chance in hell of v19 working. I'm pretty certain I've tested that on CentOS w/ a 4.3 kernel anyways and got same result. Linux distro's are building against v20 drivers btw and I don't have any issues w/ v18 driver and v20 FW.
     
    #3
  4. whitey

    whitey Moderator

    Joined:
    Jun 30, 2014
    Messages:
    2,602
    Likes Received:
    805
    Proof in the puddin', that's a 2008 based HBA re-flashed down to v19 IT mode LSI FW. Same symptoms...someone else please re-produce so we can confirm/deny. I've done all I can to shed the light.

    zol-ubuntu-14.04.4-mpt2sas-NOT-happy-v19-LSI-IT-FW.png
     
    #4
  5. izx

    izx Active Member

    Joined:
    Jan 17, 2016
    Messages:
    113
    Likes Received:
    35
    If you think there's a chance this bug was quashed upstream, try 4.3/4.4/4.5 kernels from the mainline ppa.
     
    #5
  6. cptbjorn

    cptbjorn Member

    Joined:
    Aug 16, 2013
    Messages:
    100
    Likes Received:
    19
    I'm getting it on a machine that's running Fedora22/23 to play with bcache, it has been going on since 4.1.something for me. I've been running an early fc22 4.0.4 kernel that works fine, but recently I discovered that I'm able to cold boot 4.0.4-301 and then reboot once to 4.3.5-300. If I reboot again or cold boot 4.3.5 it crashes and burns.

    Mine's a H310 flashed to LSI v19
     
    #6
  7. whitey

    whitey Moderator

    Joined:
    Jun 30, 2014
    Messages:
    2,602
    Likes Received:
    805
    Some gent mentioned something similar over in the rockstor forums (hell maybe it was you lol). I just tried installing the SAME identical linux-image/linux-headers for 3.19-25 (same one LTS 14.04.3 ships with) and that bastard cannot even see disks. Tried booting into 4.2.x kernel first, then a reboot into 3.19.x, no luv either. Nothing even in dmesg...even tried to just gut 4.2.x kernel w/ apt-get remove and reboot into 3.19.25 kernel which workds on a fresh build of LTS 14.04.3...nothing...Perplexing.
     
    #7
  8. whitey

    whitey Moderator

    Joined:
    Jun 30, 2014
    Messages:
    2,602
    Likes Received:
    805
    And the fix for me was:

    mpt2sas.msix_disable=1 (for 4.3 or older kernels)
    or
    mpt3sas.msix_disable=1 (for 4.4 or newer kernels)

    Added to kernel boot line parameters, adding here as well for prosperity's sake.
     
    #8
    T_Minus likes this.
  9. T_Minus

    T_Minus Moderator

    Joined:
    Feb 15, 2015
    Messages:
    6,255
    Likes Received:
    1,254
    Good to know! Noting this thread.
     
    #9
  10. whitey

    whitey Moderator

    Joined:
    Jun 30, 2014
    Messages:
    2,602
    Likes Received:
    805
    Update/more info

    mpt2sas.msix_disable=1 (for 4.3 or older kernels)
    or
    mpt3sas.msix_disable=1 (for 4.4 or newer kernels)

    Added to kernel boot line parameters, adding here as well for prosperity's sake.

    Under ubuntu or CentOS using grub2 to make it stick edit the /etc/default/grub to the following:

    GRUB_CMDLINE_LINUX_DEFAULT="mpt2sas.msix_disable=1"
    (mpt3sas.msix_disable=1 for 4.4 or newer kernels)

    Save file:

    Then update grub2 files:

    Ubuntu - update-grub
    CentOS - grub2-mkconfig -o /boot/grub2/grub.cfg (BIOS based machines)
    grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg (UEFI based machines)
     
    #10
    Last edited: May 2, 2016
    cptbjorn likes this.
  11. ed209

    ed209 New Member

    Joined:
    Apr 20, 2018
    Messages:
    1
    Likes Received:
    0
    I know this is an old thread, but I really want to thank you for posting this information. It has been a lifesaver after 3 days of nearly going nuts.
     
    #11
  12. whitey

    whitey Moderator

    Joined:
    Jun 30, 2014
    Messages:
    2,602
    Likes Received:
    805
    Glad this thread assisted you in resolving your issue. I lived the nightmare for a couple of weeks so happy to see you only burned a few days. Maddening I know, this is why I love this forum, gold nuggets hidden all over this place!
     
    #12

Share This Page