Skip to contentSkip to conversation

IDE (hpt370) and DMA mode switching (again)...

DISCUSSION Rob Andrews 2 participants 2 messages Nov 5, 2000

lore
Share & tools
lore
#0 lore raw

Hello,

I wrote about a week or so ago about switching DMA modes on the HPT370 controller.

I've been fiddling and have found something odd.

If I compile a kernel without the 'HPT370' option in the IDE/ATA config, the machine starts okay, and after turning DMA on, the drive fetches about 21.5MB/s. hdparm tells me the drive/chipset is in udma4. I can change the DMA mode without crashing, although if I change out of udma4, I can't set it back to udma3/udma4 (states that the mode is not functional).

If I compile a kernel /with/ the 'HPT370' option in the IDE/ATA config, the machine starts okay, turns DMA mode on itself, and puts the drive into udma2. The drive fetches 17.4MB/s. If I change DMA mode, the machine crashes. No kernel panic, nothing - just completely dead.

Any ideas?

Signature · 5 lines
Rob                                 off list/ng replies: [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/
#1 lore raw

Hi Rob,

Not to worry I will make a permanent fix to require Chipset code for funtionallity; therefore, the confusion of modes will be completely removed.

Regards,

Andre Hedrick
CTO Timpanogas Research Group
EVP Linux Development, TRG
Linux ATA Development

-
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/