[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IDE - partially solved




Hi folks,

now the partition check finally works. As the picture I sent earlier shows,
there's something wrong with the DMA protocol between Etrax and the
harddisk.

I forced ide_dma_check to simply return false each time to force the
interface to PIO mode:

arch/cris/drivers/ide.c, e100_dmaproc

    case ide_dma_check:
        return 1; /*TODO!! 1 = not enabled */
        //        return config_drive_for_dma (drive);

Reading works now, but if I try to write anything there's an error:

hda: irq timeout: status=0xd0 { Busy }
ide0: reset: success
atapi_input_bytes, dreg 0x10000000, buffer 0x60e5c000, count 512
hda: irq timeout: status=0xd0 { Busy }
ide0: reset: success
atapi_input_bytes, dreg 0x10000000, buffer 0x60e5c000, count 512
hda: irq timeout: status=0xd0 { Busy }
end_request: I/O error, dev 03:01 (hda), sector 0

The reset-pin is not connected but it shouldn't be doing this in the first
place.

Any ideas?

Jarkko Tuomi