Re: Promise, DMA and RAID5 problems running 2.4.1

Petr Vandrovec
2001-02-07T12:17:17Z

On 7 Feb 01 at 19:12, A.Sajjad Zaidi wrote:

> I just built a system that uses a K7V motherboard with the KT133
> chipset. It has an onboard Promise PDC20265 ATA-100 controller. Im
> running RH6.2.
>
> hda: dma_intr: bad DMA status
> hda: dma_intr: status=0x50 { DriveReady SeekComplete }
> hda: dma_intr: bad DMA status
> hda: dma_intr: status=0x50 { DriveReady SeekComplete }
> hda: dma_intr: bad DMA status
> hda: dma_intr: status=0x50 { DriveReady SeekComplete }
> hda: dma_intr: bad DMA status
> hda: dma_intr: status=0x50 { DriveReady SeekComplete }
> hda: DMA disabled
> hdb: DMA disabled
>
> and the system freezes completely. I have no option, but to do a cold
> reboot.

It is known bug which I reported to Andre already. Open
drivers/ide/ide.c in favorite text editor, and replace strange
body of ide_delay_50ms() with simple mdelay(50). Promise driver
invokes ide_delay_50ms with interrupts disabled, so it freezes
here forever. If you have NMI watchdog, you'll get nice oopses.

As for DMA failure itself, I have no idea what is wrong in your
case, but I found that mine Promise works with Linux only iff there
is master on each channel, slave alone does not work. And I did not
tried master+slave together.
Petr Vandrovec
vandrove@vc.cvut.cz