Pupeno wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tuesday 19 August 2003 15:21, Robert Young wrote:
> > /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.
>
> It seems it supports DMA and UDMA and that iti is enabled:
>
> # hdparm -i /dev/hda
> [...]
>  DMA modes:  mdma0 mdma1 mdma2
>  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
> [...]
>
> and
>
> # hdparm -i /dev/hdb
> [...]
>  DMA modes:  mdma0 mdma1 mdma2
>  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
> [...]
>

type
hdparm /dev/hdb
and
hdparm /dev/hda

for
hdparm /dev/hda
I got

/dev/hda:
 multcount    =  0 (off)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 1560/255/63, sectors = 25075008, start = 0
.
.
.
.


 using_dma    =  1 (on)
shows that dma is on. What does yours show you?
angus root #



>
> So, what may be wrong then ? (I didn't enable anything on the HDs yet)
>
> > 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:
> > > 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.
>
> 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/QkQOLr8z5XzmSDQRAkaVAJ42SLU5laX/u+xlldCUvwkV9SYd7gCfUx17
> dqpDIlA+kRsiylorrpza+0o=
> =OC5I
> -----END PGP SIGNATURE-----
>
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list

Reply via email to