Hi all,
Does anyone know how to use the hdparm.conf file in eW3.1?
It looks like rc.boot uses that file for hdparm settings. I don't appear to 
have an hdparm.conf file in my /etc directory, but DMA and 32-bit access are 
turned on by default (perhaps in the kernal?). But I'd like to get UDMA 4 
enabled automagically.
My guess is that I just put
hdb:X68 
in a file called /etc/hdparm.conf and then /rc.boot will take care of the 
rest.

I enabled UDMA4 manually and am getting 18.77 MB/sec transfers. I'd like to 
make the change permanent.
Thanks, 
Tim

On Saturday 11 August 2001 09:16 am, Douglas J. Hunley wrote:
> Feel free to snarf this for inclusion into a 'HDD Tuning' step anyone
> (hint, hint)
>
> ATA drives currently support 4 modes of operation:
> PIO (0-4 submodes)
> Single-word DMA (0-2 submodes)
> Multi-word DMA (0-2 submodes)
> Ultra DMA (0-7 submodes)
>
> Using this information, you can use the hdparm utility to configure the
> drive like so:
> hdparm -X00 -> restore default PIO mode
> hdparm -X01 -> disable IORDY
>
> PIO modes (Programmed IO) (disk mode (above) + 8)
> hdparm -X08 -> PIO 0
> hdparm -X09 -> PIO 1
> hdparm -X10 -> PIO 2
> hdparm -X11 -> PIO 3
> hdparm -X12 -> PIO 4
>
> SDMA modes (Single-word DMA) (disk mode (above) + 16)
> hdparm -X16 -> SDMA 0
> hdparm -X17 -> SDMA 1
> hdparm -X18 -> SDMA 2
>
> MDMA modes (Multi-word DMA) (disk mode (above) + 32)
> hdparm -X32 -> MDMA 0
> hdparm -X33 -> MDMA 1
> hdparm -X34 -> MDMA 2
>
> UDMA modes (Ultra-DMA) (disk mode (abov) + 64)
> hdparm -X64 -> UDMA 0 (ATA16)
> hdparm -X65 -> UDMA 1 (ATA 25)
> hdparm -X66 -> UDMA 2 (ATA 33)
> hdparm -X67 -> UDMA 3 (ATA 44)
> hdparm -X68 -> UDMA 4 (ATA 66)
> hdparm -X69 -> UDMA 5 (ATA 100)
>
> enjoy!
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to