Embedded Linux >> Promise PDC20268 problems on PPC platform

by Robert Pot » Mon, 23 Aug 2004 20:45:10 GMT

I have problems to get a Promise TX2 Ultra card, based on PDC20268
controller, working on a PPC (MPC8245) platform.

The harddisk is working fine in PIO mode, but as soon as I enable the DMA
mode, with hdparm -d1, I can't read the disk anymore.

I have linux-2.4.25 and the message is the following:
hdg: dma_timer_expiry: dma status == 0x21
hdg: error waiting for DMA
hdg: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest }

According to my understanding the controller is busy with DMA and the
harddisk is waiting for the controller, so the controller doesn't
functioning correctly.
I looked at the sources and couldn't find any strange things.
I looked with an analyzer at the ide bus and I could see that the controller
is reading 128 times from the harddisk (256 bytes?) although the command was
to read 4096 bytes. So the controller stopped working in my opinion.

I know that this card produces a lot of problems, but I have it know and
would like to get it working.

My question is:
- has anyone got such a combination working (PDC20268 and PPC)?
- does anyone have any suggestions to look for?

Regards,

robert