Re: [PATCH] Let AHCI dirver skip Lenovo SWRAID controller
From: One Thousand Gnomes
Date: Mon Jan 25 2016 - 08:19:13 EST
On Mon, 25 Jan 2016 03:11:40 +0000
Ocean HY1 He <hehy1@xxxxxxxxxx> wrote:
> Lenovo SWRAID solution is based on Intel Non-RSTE RAID controller which
> is called Lenovo SWRAID controller by set Lenovo dedicated PCI
> SVID:SDID.
>
> Because AHCI driver now take control this Lenovo SWRAID controller for
> MDRAID, Lenovo SWRAID driver fails to load later. It's not proper to
> disable AHCI driver, because system has SATA contoller used for SATA
> DVD, M.2 etc. There is no chance to load Lenovo SWRAID first, because
> almost all Linux distros load AHCI driver first during installation.
>
> As default, when Lenovo SWRAID controller is detected, let AHCI driver
> skip it thus MDRAID is disabled. Use the boot option 'ahci.lenovo_swraid=0'
> could disable Lenovo SWRAID.
You need to submit the Lenovo SWRAID driver to the kernel first.
Otherwise this breaks things.
Alan