Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO

From: Tejun Heo
Date: Mon Sep 17 2007 - 07:39:23 EST


Sergey Dolgov wrote:
> On 9/16/07, Tejun Heo <htejun@xxxxxxxxx> wrote:
>> Michal Piotrowski wrote:
>>> Sergey Dolgov pisze:
>>>> On Wed, Sep 12, 2007 at 10:19:03PM +0200, Michal Piotrowski wrote:
>>>>> Sergey Dolgov pisze:
>>>>>> Hi Michal,
>>>>>>
>>>>>> On Wed, Sep 12, 2007 at 06:33:20PM +0200, Michal Piotrowski wrote:
>>>>>>> Hi Sergey,
>>>>>>>
>>>>>>> On 11/09/2007, Sergey Dolgov <dolgovs@xxxxxxxxx> wrote:
>>>>>>>> Hi!
>>>>>>>>
>>>>>>>> On my hp nx7300 laptop, 2 following scenarios can happen during bootup
>>>>>>>> (see attachments for the full logs): the "good" one [1] and the one
>>>>>>>> where multiple EHs lead to limiting the speed [2].
>>>>>>>>
>>>>>>>> [1] one is more rare, but it seems to be persistent over reboots: once
>>>>>>>> it happened, just rebooting the machine always results in behaviour
>>>>>>>> like [1].
>>>>>>>>
>>>>>>>> [1] results in a working cdrom from the start. An attempt to use cdrom
>>>>>>>> after [2] happened results in even more EHs, resulting in "configured
>>>>>>>> for PIO4", after which the cdrom is finaly working.
>>>>>>>>
>>>>>>>> The version I'm using is 2.6.23-rc6, but the same used to happen with
>>>>>>>> the previous rc's, and probably with 2.6.22 too (I can check).
>>>>>>> It would be great if you could check it.
>>>>>> I've just built 2.6.22.6 with basically the same configuration, and
>>>>>> the behaviour is just the same, i.e. both [1] and [2] still can
>>>>>> happen.
>>>>> Ok, thanks.
>>>>>
>>>>> BTW please check cables and PCU.
>>>> What's a PCU?
>>> s/PCU/PSU - power supply unit
>>>
>>>> BTW, this only happens when using libata of course. The
>>>> old CONFIG_IDE stuff works fine every time.
>>> This maybe one of libata weirdness (I really don't get it why some hardware
>>> works perfectly fine with an old IDE and don't work well with libata).
>> Hmmm... Is MWDMA2 mode used with ide driver too?
>>
>
> What's the best way to tell whether it does or not? (the log says
> "selected mode 0x22", see below)

Yes, that's MWDMA2. Hmm... We're seeing many cases where MWDMA doesn't
work with libata while it works fine with IDE but have no idea what's
going on yet. :-(

--
tejun
-
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/