Re: IDE booting problems with 2.5.23

Martin Dalecki
2002-06-20T09:56:17Z

Użytkownik David Howells napisał:
> Hi Martin,
>
> I'm having problems booting a 2.5.23 kernel on my test box (SMP). It hangs on
> trying to recalibrate the IDE interface. I've attached the output captured
> from the serial console. I've also attached the config file.
>
> Note that trying the following doesn't help:
>
> (*) Turning on and off "Use PCI DMA by default when available".
> (*) Specifying "hda=dma" on the kernel command line
> (*) Specifying "hda=935,128,63" on the kernel command line
>
> Can you suggest a fix please?

Well... IDE 92 falls in to the "brown paper bag" cathegory.
Even the supposedly better error recovery code
there is wrong, since it can schedule from IRQ context.
So please reverse apply it. It should help.

I have a theory that I schould in no case write code above
25 deg Celsius and this is just confirming it... :-).

Sorry for the inconvenience, but I thry now to slow a bit
down on the amount of changes and to focus on stabilizing again.

BTW> Jens did you notice that the IDE_DMA flag is a "read only"
flag? I see basically only TQC code checking it. I would
like to replace the drive->waiting_for_dma flag field by the
proper usage of the IDE_DMA bit. Any way this could bite TCQ code?
The checks there appear to be only sanity checks anyway.