Re: DMA with IDE on Triton II
Have you compiled your kernel with
CONFIG_BLK_DEV_TRITON=y
I get:
hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
using_dma = 1 (on)
However, the man page says:
-d Disable/enable the "using_dma" flag for this drive.
This option only works with a few combinations of
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
drives and interfaces which support DMA and which
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
are known to the IDE driver. In particular, the
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Intel Triton chipset is supported for bus-mastered
DMA operation with many drives (experimental). It
is also a good idea to use the -X34 option in com-
bination with -d1 to ensure that the drive itself
is programmed for multiword DMA mode2. Using DMA
does not necessarily provide any improvement in
throughput or system performance, but many folks
swear by it. Your mileage may vary.
It could be that your controller card isn't supported.
On Wed, 22 Oct 1997, Tim Bell wrote:
> Hi,
>
> I've been fiddling with hdparm, trying to improve the I/O performance
> of my machine (Gateway PII 233, 96Mb, 3.2Gb IDE disk). However, I can't
> get hdparm to turn on the DMA mode:
>
> # hdparm -d1 /dev/hda
>
> /dev/hda:
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> using_dma = 0 (off)
>
> When I use the -X34 option also as recommended in the hdparm man page,
> I still get the same error.
>
> I have a Quantum UDMA IDE hard drive, connected to a UDMA PCI controller
> card. Here's the interesting bits from /proc/pci:
>
> Bus 0, device 11, function 0:
> RAID bus controller: Promise Technology Unknown device (rev 1).
> Vendor id=105a. Device id=4d33.
> Medium devsel. IRQ 9. Master Capable. Latency=32.
> I/O at 0xfff0.
> I/O at 0xffe4.
> I/O at 0xffa8.
> I/O at 0xfbe4.
> I/O at 0xff80.
> Bus 0, device 7, function 1:
> IDE interface: Intel 82371SB Natoma/Triton II PIIX3 (rev 0).
> Medium devsel. Fast back-to-back capable. Master Capable. Latency=32.
> I/O at 0xff60.
>
> And here's the info from the drive:
>
> # hdparm -i /dev/hda
>
> /dev/hda:
>
> Model=QUANTUM FIREBALL ST3.2A, FwRev=A0F.0400, SerialNo=15371126
> Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
> RawCHS=6256/16/63, TrkSize=32256, SectSize=512, ECCbytes=4
> BuffType=3(DualPortCache), BuffSize=81kB, MaxMultSect=16, MultSect=16
> DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
> CurCHS=6256/16/63, CurSects=6306048, LBA=yes, LBAsects=6306048
> tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1 mword2
> IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
>
----
Bob Nielsen Internet: nielsen@primenet.com
Tucson, AZ AMPRnet: w6swe@w6swe.ampr.org
http://www.primenet.com/~nielsen
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: