Asus P9A-I / Marvell 88SE9485 / Apply kernel patch

Andreas Piening

Renowned Member
Mar 11, 2017
81
12
73
45
Hi there,
I installed Proxmox 4.4 on a Asus P9A-I based system and noticed that the drives on the SATA-Controller was not showing up. The controller is a "RAID bus controller: Marvell Technology Group Ltd. 88SE9485 SAS/SATA 6Gb/s controller (rev c3)" as lspci told me.
After a bit of research I found that this controller is supported by the "mvsas" driver, but the device ID of this particular controller is not added to the list of supported devices. The module simply does not initialize the device.
There is a kernel patch at x://bugs.launchpad.net/ubuntu/+source/linux/+bug/1270844 which basically adds the device id to the mvsas module code so that it is aware of this controller type (see here x://marc.info/?l=linux-scsi&m=146005515401214).

Long story short: I need to download the kernel source, patch the mvsas module source and recompile the modules to get a version of mvsas which supports my controller.
I saw that I can get the kernel headers of the PVE kernel with "aptitude install pve-headers-`uname -r`" but I need the full source of the PVE kernel to be able to do this.
So where can I get the full source?

Kind regards

Andreas
 
While trying to do my first post I was informed that I'm not allowed to post URLs because of the anti Spam policy.
I replaced http with x in my thread, since the URLs are needed to clarify what patch I'm talking about.
Sorry for that, I really don't want to spam or advertise anything.