Skip to content

Instantly share code, notes, and snippets.

@simon-wenmouth
Created August 29, 2012 18:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simon-wenmouth/3516314 to your computer and use it in GitHub Desktop.
Save simon-wenmouth/3516314 to your computer and use it in GitHub Desktop.
LSI 9260-8i Ubuntu Kernel Module Installation
install basic build packages
sudo apt-get install build-essential
sudo apt-get install linux-source
download driver from LSI site(Linux 5.3)
http://www.lsi.com/support/Pages/Download-Results.aspx?productcode=P00066&assettype=Driver&component=Storage%20Component&productfamily=RAID%20Controllers&productname=MegaRAID%20SAS%209260-8i
unpack driver
tar zxf 6_18_Linux_Driver_components.tgz
tar zxvf megaraid_sas-v00.00.06.18-src.tgz
move it to /usr/src for dkms
sudo mv megaraid_sas-v00.00.06.18 /usr/src/
add patch so it compiles in 3.2 series kernel (src targets 2.6)
sudo vi /usr/src/megaraid_sas-v00.00.06.18/dkms.conf
>>
PATCH[25]="sles11-sp2.patch"
PATCH_MATCH[25]="3\.2\.0-23-generic"
<<
register, build, install
sudo dkms add -m megaraid_sas -v v00.00.06.18
sudo dkms build -m megaraid_sas -v v00.00.06.18
sudo dkms install -m megaraid_sas -v v00.00.06.18
test installation worked
lsmod | grep megaraid
modinfo megaraid_sas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment