Article sections

    Source : https://cloudlinux.zendesk.com/hc/en-us/articles/115004561769-How-do-I-install-driver-for-LSI-MegaRAID-controller

    The binary driver megasr.ko will not work with CloudLinux kernel due to ABI changes. You would need to compile it from the source: Install kernel-devel package via:

    yum install kernel-devel

    If you have PAE, Xen or enterprise kernel, use:

    yum install kernel-PAE-devel, yum install kernel-xen-develor yum install kernel-ent-devel
    

    Download version of the driver for RedHat 5 (not current version). Here is the URL

    Extract the zip file, then cd to shim/library/rhel5-32 do

     make -C /usr/src/kernels/ M=$PWD

    copy the megasr.ko to /lib/modules//updates

    depmod
    /sbin/mkinitrd /boot/initrd-.img

    Reboot

    Extra read : https://docs.broadcom.com/doc/12353255

    in Linux Commands