You can not change the drive settings with the modern chipsets...until...
There is no code yet that allows for hdpram to safely modify the drive
against the chipset. If the drive does not support 32-bit native you can
not turn it on. There is a bit that must be changed in order for the
chipset to work in 32-bit mode. This is all checked and setup at INIT.
As for the unmasking.................I don't do it.
Try leaving the drive alone and see if driver gets it correct?
Second if you do not set autodma enable, you will be stuck at PIO4.
When you call for -d1 the chipset is still in PIO4 mode, thus 3.8MB/sec is
a quick PIO4.
Andre Hedrick
The Linux IDE guy
On Fri, 17 Sep 1999, Bill Rugolsky Jr. wrote:
> Andre,
>
> I'm unable to enable IDE DMA on my new Abit BP6 dual-celeron machine.
> Since you have one of these, my guess is that I must be doing something
> wrong. :-P
>
> I have a 27GB Western Digital drive (WD273BA) attached to the ATA-66
> connector on the HPT-366. The kernel is linux-2.2.13pre7 + ide.2.2.12.patch.bz2,
> the latter obtained from www.us.kernel.org/pub/linux/kernel/hedrick.
> (I've also tried linux-2.2.12 + ide.2.2.12.patch.bz2; same problem.)
>
> It boots fine with the BIOS set to EXT=UDMA and the kernel option
> pci=reverse. Thanks!
>
> I am able to set 32-bit mode and IRQ unmasking (i.e, "hdparm -c1 -d1
> /dev/hda"), and the machine operates perfectly stably, but with
> miserable disk performance (3.8MB/s).
>
> Attempting to enable DMA with "hdparm -d1 /dev/hda" always results
> after a few seconds in the message:
>
> hda: timeout waiting for DMA.
>
> followed by a solid hang (magic SysRQ is no help).
>
> I've enclosed several files:
>
> hdparm: the output of hdparm -i /dev/hda (hdparm-3.5i)
> settings: /proc/ide/hda/settings
> dmesg: my dmesg file (with HPT366_DEBUG_DRIVE_INFO turned on)
> config my .config file
>
> Any help would be greatly appreciated, as I'm an IDE novice;
> my other Linux systems have always been SCSI.
>
> Thanks.
>
> Bill Rugolsky
> [EMAIL PROTECTED]
>
>
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]