Re: 2.6.25-rc1 ahci regression
From: Anton Vorontsov
Date: Thu Jun 03 2010 - 09:50:46 EST
On Thu, Jun 03, 2010 at 05:23:19PM +0400, Anton Vorontsov wrote:
[...]
> Oh. It seems I found it. It must be the module order loading
> thing.
>
> Can you try the patch down below?
OTOH... libahci is a link-time dependency. And the order doesn't
matter here. So you should just have the libahci module in
the initrd (actually, mkinitrd or whatever you use should
have included this automatically).
So, normally, this patch should be unnecessary.
> diff --git a/drivers/ata/Makefile b/drivers/ata/Makefile
> index 20c5251..092d9e0 100644
> --- a/drivers/ata/Makefile
> +++ b/drivers/ata/Makefile
> @@ -1,7 +1,7 @@
>
> obj-$(CONFIG_ATA) += libata.o
>
> -obj-$(CONFIG_SATA_AHCI) += ahci.o libahci.o
> +obj-$(CONFIG_SATA_AHCI) += libahci.o ahci.o
> obj-$(CONFIG_SATA_SVW) += sata_svw.o
> obj-$(CONFIG_ATA_PIIX) += ata_piix.o
> obj-$(CONFIG_SATA_PROMISE) += sata_promise.o
--
Anton Vorontsov
email: cbouatmailru@xxxxxxxxx
irc://irc.freenode.net/bd2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/