/dev/hdX it your device that wish to enable dma on.

do a hdparm -i /dev/hdX to be sure that you can enable dma.

e.g.:

angus root # hdparm -i /dev/hda

/dev/hda:

 Model=QUANTUM BIGFOOT TS12.7A, FwRev=A21.0G00, SerialNo=381906129356
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
 BuffType=DualPortCache, BuffSize=418kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=25075008
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: ATA/ATAPI-4 T13 1153D revision 15:  1 2 3 4

 * signifies the current active mode

is my drive.

 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2

shows me that the dive supports dma.

 UDMA modes: udma0 udma1 *udma2

Shows me that it actually supports UDMA and is using udma2 mode.




hdparm -d 1 /dev/hdX
enables DMA)
hdparm -d1 -A1 -m16 -u1 -a64 /dev/hdX
enables DMA and other safe performance-enhancing options)
hdparm -X66 /dev/hdX
force-enables Ultra-DMA -- dangerous -- may cause some drives to mess
up)


Rob

Pupeno wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> When I start my computer I always get this message:
> ******************************************************
> * Warning: The dma on your hard drive is turned off. *
> * This may really slow down the fsck process.        *
> ******************************************************
> How do I enable DMA ?
> Thanks.
> - --
> Pupeno: [EMAIL PROTECTED]
> http://www.kde.org
> - ---
> Help the hungry children of Argentina,
> please go to (and make it your homepage):
> http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
>
> iD8DBQE/QjtVLr8z5XzmSDQRAvKfAJ986GajhR+YYwoW9n1gjEIH3aKrbwCfV3Xb
> YfpTrasOZJgCV0b4Ob49Z94=
> =x+Ro
> -----END PGP SIGNATURE-----
>
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list

Reply via email to