Re: kernel 2.6.25 with ide driver cs5520 does not boot.

From: Bartlomiej Zolnierkiewicz
Date: Thu May 08 2008 - 09:07:52 EST


Hi,

On Thu, May 8, 2008 at 9:58 AM, TAKADA Yoshihito <takada@xxxxxxxxxxxxx> wrote:
> HI, all.
> (please CC to me, I'm not on LKML)
>
> kernel 2.6.25 with ide driver cs5520 does not boot.
>
> Attached part of dmesgs as dmesgs.txt

CS5520 is a bit special hardware because it doesn't support "normal"
DMA but Virtual DMA (PIO transfers between device<->host but DMA
transfers between host<->CPU). In 2.6.25 we added support for Virtual
DMA to cs5520 host driver so it could be it (till 2.6.25 PIO has always
been used - the info printed by kernel about PIO/DMA BIOS settings was
misleading/bogus so it got removed altogether in 2.6.26-rc1).

I'll double-check the code and datasheet/errata that we don't miss
something important for proper Virtual DMA support (and if not than
I guess that we need to disable this feature for now).

In the meantime please try 2.6.26-rc1 (just to be sure that the
problem was not caused by something else that got fixed already).

> kernel 2.6.23 with cs5520 is works correct. cs5520 scans ide0 and ide1.
> kernel 2.6.24 with cs5520 is works wrong, but it can boot. cs5520 scans ide0 only.

[...]

2.6.24 contained a bug in calculating DMA base for the second port (thus
the error message) but it shouldn't affect anything (ide1 is still probed
according to dmesg, please let me know if there are some devices on ide1
that are not getting detected).

Thanks,
Bart
--
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/