Created
September 15, 2017 19:41
-
-
Save filviu/82fef8f08fc5ceb1ce8d96ebb94ba798 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps to patch mvsas for ASUS P9A-I/C2550/SAS/4L Marvell 88SE9485 - proxmox 4 needed it. | |
Get the patched file, copy to copy of linux headers path | |
cd /usr/src/ | |
cp -pr linux-headers-4.4.35-2-pve/ /usr/local/src/ | |
apt-get install pve-headers-4.4.35-1-pve | |
git pull pve-kernel | |
tar -xf ubuntu-xenial.tgz | |
OR | |
tar -xvf ubuntu-xenial.tgz ubuntu-xenial/drivers/scsi/mvsas | |
cp ubuntu-xenial/drivers/scsi/mvsas/* ../linux-headers-4.4.35-1-pve/drivers/scsi/mvsas/ | |
cd linux-headers-4.4.35-1-pve/ | |
patch -p1 < ../mvsas.patch | |
cd /usr/local/src/linux-headers-4.4.35-1-pve | |
make M=drivers/scsi/mvsas | |
cp drivers/scsi/mvsas/mvsas.ko /lib/modules/4.4.35-1-pve/kernel/drivers/scsi/mvsas/mvsas.ko |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment