Promise, DMA and RAID5 problems running 2.4.1
Quoted 15 lines · A.Sajjad Zaidi
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
Quoted 2 lines
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 [email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines
It is known bug which I reported to Andre already. Open
drivers/ide/ide.cin favorite text editor, and replace strange body ofide_delay_50ms()with simple mdelay(50). Promise driver invokeside_delay_50mswith interrupts disabled, so it freezes here forever. If you have NMI watchdog, you'll get nice oopses.
Its a bug in the promise driver. ide_delay_50ms() is being friendly to the rest of the box. If the reset path for the promise cant be polite then it should use mdelay() itself.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 6 lines · Petr Vandrovec
It is known bug which I reported to Andre already. Open
drivers/ide/ide.cin favorite text editor, and replace strange body ofide_delay_50ms()with simple mdelay(50). Promise driver invokeside_delay_50mswith interrupts disabled, so it freezes here forever. If you have NMI watchdog, you'll get nice oopses.
Quoted 6 lines
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 [email protected]
Ok, I changed ide.c and stopped getting the freeze, but bad DMA status errors were still showing up.
Then I connected all the drives as masters (2x ATA-100, 2x ATA-66) and havent gotten anything yet. Buffered disk reads are still about 36.50 MB/sec on the raid5 device, so its fast enough for what I need.
Next step is to see how well Reiserfs works here.
Thank you everyone who has helped.
A.Sajjad Zaidi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/