How to enable DMA on HX-chipsets???

How to enable DMA on HX-chipsets???

Post by picassob.. » Sun, 23 May 1999 04:00:00



Hello!

Coul'd someone tell me how to activate DMA usage for my Maxtor91000D8?
I have an HX chipset, and the BIOS is also capable of using (U)DMA as
well as my drive.

IMPORTANT:
----------
For more information please See my posting from Friday with subject:
[UDMA DOESN'T WORK !!!]

Thank you very much!

With best regards
 Erkan Aksit

 
 
 

How to enable DMA on HX-chipsets???

Post by picassob.. » Mon, 24 May 1999 04:00:00




Quote:>Your BIOS may "recognize" UDMA, but the 430HX doesn't have a
>controller for it. You need to add in a UDMA controller card such as
>Promise Ultra33 or Ultra66.

OK...

but why I can enable/diable the use of DMA in Win*???

I can see difference of CPU load (NT4) when I anable/diasble DMA when
reading ~40 MByte file to RAM:
with    dma: ~10-20 % CPU load
without dma: ~70-80 % CPU load

There is a great difference...

AND:
h2bench reports me up to 14,9 MByte/s (read lin.). Under Linux
hdparm (optimzed to the possible limit) reports 9,7 MByte/s.

Now I'm little bit confused ?!?!?!?  Any idea???

Regards
 Erkan

 
 
 

How to enable DMA on HX-chipsets???

Post by Mathieu Imrazen » Mon, 24 May 1999 04:00:00


Quote:> but why I can enable/diable the use of DMA in Win*???

> I can see difference of CPU load (NT4) when I anable/diasble DMA when
> reading ~40 MByte file to RAM:
> with    dma: ~10-20 % CPU load
> without dma: ~70-80 % CPU load

> There is a great difference...

> AND:
> h2bench reports me up to 14,9 MByte/s (read lin.). Under Linux
> hdparm (optimzed to the possible limit) reports 9,7 MByte/s.

> Now I'm little bit confused ?!?!?!?  Any idea???

You can enable the DMA (free a lot of CPU time), but on the HX chipset, the
DMA burst speed is only 16 MB/s.
I think the DMA support is not activated under Linux.

Mathieu

 
 
 

How to enable DMA on HX-chipsets???

Post by picassob.. » Tue, 25 May 1999 04:00:00


On Sun, 23 May 1999 21:03:30 +0200, "Mathieu Imrazene"


>You can enable the DMA (free a lot of CPU time), but on the HX chipset, the
>DMA burst speed is only 16 MB/s.
>I think the DMA support is not activated under Linux.

Thanx for all people helped me! I only forgot to type -X34 for hdparm.
Therefore never functioned DMA...

hdparm -m16 -A1 -c1 -X34 -d1 /dev/hda

is the actually the best for my drive on my Hx chipset

Regards
 Erkan

 
 
 

How to enable DMA on HX-chipsets???

Post by Tim Moor » Wed, 26 May 1999 04:00:00


/usr/src/linux/.config
CONFIG_PCI=y
CONFIG_PCI_OPTIMIZE=y
CONFIG_BLK_DEV_TRITON=y


> Hello!

> Coul'd someone tell me how to activate DMA usage for my Maxtor91000D8?
> I have an HX chipset, and the BIOS is also capable of using (U)DMA as
> well as my drive.

> IMPORTANT:
> ----------
> For more information please See my posting from Friday with subject:
> [UDMA DOESN'T WORK !!!]

> Thank you very much!

> With best regards
>  Erkan Aksit

--
Direct replies to username 'timothymoore'

"Everything is permitted.  Nothing is forbidden."
                                   WS Burroughs.

 
 
 

1. Enabling DMA on an Intel 856PE chipset.

Hi all,

I've searched and searched on how to get DMA working on my harddrive,
but it's still not working :)

I'm running a Gigabyte 8IPE1000 mobo, which is based on an Intel 865PE
chipset. The controller is an ICH5.

I've got a SATA Seagate 160GB 7200.7 which runs beatifully (50MB/sec),
but the PATA Seagate 80GB Barracuda V (/dev/hdd) runs like dog's
bollocks (2MB/sec).

beast:/home/scottr# hdparm /dev/hdd

/dev/hdd:
  multcount    = 16 (on)
  IO_support   =  0 (default 16-bit)
  unmaskirq    =  0 (off)
  using_dma    =  0 (off)
  keepsettings =  0 (off)
  readonly     =  0 (off)
  readahead    = 256 (on)
  geometry     = 16383/255/63, sectors = 156299375, start = 0
beast:/home/scottr# hdparm -i /dev/hdd

/dev/hdd:

  Model=ST380011A, FwRev=3.04, SerialNo=3JV02WWK
  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
  BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16
  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156299375
  IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
  PIO modes:  pio0 pio1 pio2 pio3 pio4
  DMA modes:  mdma0 mdma1 mdma2
  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
  AdvancedPM=no WriteCache=enabled
  Drive conforms to: ATA/ATAPI-6 T13 1410D revision 2:

  * signifies the current active mode

beast:/home/scottr#

Problem is, when I try to enable DMA I get:

beast:/home/scottr# hdparm -d1 /dev/hdd

/dev/hdd:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma    =  0 (off)
beast:/home/scottr#

I've compiled my own 2.6.6 kernel after downloading the source deb from
the Debian archive.

I've selected the follwing options, which I read that I needed from many
many sources:
CONFIG_IDE_GENERIC = y
CONFIG_BLK_DEV_IDEPCI = y
CONFIG_BLK_DEV_GENERIC = y
CONFIG_BLK_DEV_IDEDMA_PCI = y
CONFIG_IDEDMA_PCI_AUTO = y
CONFIG_BLK_DEV_PIIX = y
and also for the SATA support:
CONFIG_SCSI_ATA_PIIX = y

I'm pretty sure this is all I need - am I missing something? I'm running
an up to date Debian Sarge. Or is this an issue I should be taking
somewhere else?

Any help is appreciated... I'm what you'd call an advanced Windows user
who's trying desperately to migrate, but this is slowing things down a
bit :)

Cheers,

Scott Raynel.

2. x config

3. Getting DMA enabled on the intel 7500 chipset

4. TurboLinux on PM G3

5. DMA fails for Ali15x3 chipset (was Re: Knoppix und ALi M15X3 Chipsatz: Kein DMA)

6. Date validation in a shell script

7. DMA not available on UDMA drives, DMA chipset?!

8. Problems setting up remote printers on HP-UX 10.x

9. Intel Hx or VX Chipset

10. : Support for Intel HX/VX chipsets for Linux 1.2.13: any?

11. Enabling DMA with hdparm...

12. how to enable dma on a scsi emulated drive

13. Stuck at hdc: Enabling Multiword DMA 2