[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

DMA with IDE on Triton II



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 

Any ideas?

Thanks,

-- 
Tim Bell                                      .--_|\ 
bhat@cs.mu.oz.au                             /      \
Department of Computer Science               \_.--._/
University of Melbourne, Australia                 v


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