Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.