Disabling ide readahead and multcount option from kernel-2.6.10 source

Submitted by Asim
on October 5, 2005 - 9:33am

Hi,

I have just installed WD Caviar 205BA hard disk(7200rpm, Ultra DMA 4 support) and found out that the WD Caviar series do not support the ide multiple mode. The following errors were generated on boot sequence over and over again:

---------------------------------------------------------
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was: unknown
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was: unknown
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was: unknown
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was: unknown
ide0: reset: success
------------------------------------------------------------

After disabling the multimode option through hdparm, the problem still persisted. After I ALSO disabled the readahead option through hdparm.. the errors went away.
I've tried changing the data cables but it was of no use. So I was thinking whether there's a way by which I can disable the options directly from kernel source.

Other specs
-----------
I am using kernel-2.6.10 on a MIPS board of 133MHz.

Thanks,

Asim