[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100604045838.GE5167@cr0.nay.redhat.com>
Date: Fri, 4 Jun 2010 12:58:38 +0800
From: Américo Wang <xiyou.wangcong@...il.com>
To: Luming Yu <luming.yu@...il.com>
Cc: Américo Wang <xiyou.wangcong@...il.com>,
Anton Vorontsov <cbouatmailru@...il.com>,
Jeff Garzik <jeff@...zik.org>,
LKML <linux-kernel@...r.kernel.org>,
Michal Marek <mmarek@...e.cz>, Sam Ravnborg <sam@...nborg.org>
Subject: Re: 2.6.25-rc1 ahci regression
On Thu, Jun 03, 2010 at 11:48:08PM +0800, Luming Yu wrote:
>On Thu, Jun 3, 2010 at 11:45 PM, Américo Wang <xiyou.wangcong@...il.com> wrote:
>> On Thu, Jun 03, 2010 at 07:04:22PM +0400, Anton Vorontsov wrote:
>>>On Thu, Jun 03, 2010 at 10:13:57PM +0800, Luming Yu wrote:
>>>> On Thu, Jun 3, 2010 at 9:50 PM, Anton Vorontsov <cbouatmailru@...il.com> wrote:
>>>> > 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).
>>>> >
>>>>
>>>> Neither ahci nor libachi is automatically included in initrd..
>>>
>>>What commands you use to build the kernel and initrd?
>>>
>>>> Manually added ahci and libachi into initrd seems to make the problem go away..
>>>> Any idea why that could happen?
>>>
>>>No idea off hand.
>>>
>>>Cc'ing Kbuild folks. Question is: is there something wrong with
>>>writing stuff like this:
>>>obj-$(CONFIG_SATA_AHCI) += ahci.o libahci.o
>>>obj-$(CONFIG_SATA_AHCI_PLATFORM) += ahci_platform.o libahci.o
>>>as in drivers/ata/Makefile?
>>>
>>>It seem to link fine, .ko's are created. But for some reason
>>>initrd doesn't include these modules for Luming...
>>>
>>
>> Odd.
>> Are these modules exported to /lib/modules/`uname -r`/ directory?
>
>mkinitrd ... --with=ahic --with=libahci works for me
>
>>
>> And, Luming, are you using Dracut?
>>
>yes, I have dracut installed
Hmm, this looks like a problem of dracut than kbuild...
I don't know why mkinitrd/dracut missed ahci here.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists