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

Andreas Piening

Well-Known Member
Mar 11, 2017
81
12
48
44
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!