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

Re: Error setting dma to hd



Before activating DMA you should check some things.

See if your hard drive supports dma

hdparm -i /dev/hda

/dev/hda:

 Model=ST360021A, FwRev=3.19, SerialNo=3HR0YT2A
 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=117231408
 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 udma0 udma1 udma2
 AdvancedPM=no WriteCache=enabled

In DMA modes you can see the actual set up of your hard drive, mine is
set to multiword dma.

Also you have to check your kernel configuration, see if you have the
modules that correctly match your chipset, and you have the right cable,
the 80 pin one.

lspci shows you what kind of hardware you have in order to install those
modules.

Also I recomend you to read carefuly man hdparm and see other useful
things besides DMA that speed up your HD. ( -u -c -m... )

Sometimes there are no correct modules (my case) and the maximum state I
can reach is multi word dma... but is still better than plain disk
reading and also better than M$ reading disks.

Hope I have been of some help.

Chainy.

El sáb, 01-02-2003 a las 15:18, Elijah escribió:
> I could set other parameters but dma doesn't seem to work anymore:
> 
> -----------------------------------------------
> 
> valhalla:/etc/sysconfig# hdparm -d 1 /dev/hdb1
> 
> /dev/hdb1:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Invalid argument
>  using_dma    =  0 (off)
> 
> -----------------------------------------------
> 
> 
> I went to /etc/sysconfig/ and made a harddisks file there containing:
> 
> 
> -----------------------------------------------
> USE_DMA 1
> -----------------------------------------------
> 
> doesn't work either ... help?
> 
> 
> Elijah
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 




Reply to: