LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   ATA Hard Drive??? (https://www.linuxquestions.org/questions/linux-hardware-18/ata-hard-drive-94342/)

tricky_linux 09-18-2003 08:42 PM

ATA Hard Drive???
 
i had a 120 maxtor hard drive and it's compatible with ATA/133/100/66/33.
Now, i had just installed my Red hat Linux 9.0 and unfortunately it had assuming my hard drive as 33 PIO Mode
Is there anyway i could configure my hard drive connection to DMA ??
Or ATA/133??

any suggestions?

DrOzz 09-18-2003 10:14 PM

you can play with the hdparm command...just type hdparm by itself and it will give you a list of available options...you will have to be root to do anything with this command, and if its not in your path then you will have to type /sbin/hdparm .... and just to note since you mentioned it,
hdparm -d1 /dev/hdx
will enable dma, and you will replace x with the proper letter corresponding to your device...

tricky_linux 09-19-2003 08:42 PM

but ...
 
after i type
$hdparm -d1 /dev/hda5 which was my storage disk
and it shows some thing like

/dev/hda5:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Invalid argument
using_dma = 1 (on)

why there is a invalid argument?
What's wrong?
any idea?

Also, would u further explain what does "-d1" means ?

One more quesion,

[root@localhost root]# hdparm /dev/hda5

/dev/hda5:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 14946/255/63, sectors = 73047492, start = 20081313


normaly, shouldn't the underlined phrase be 32-bit?


All times are GMT -5. The time now is 12:35 PM.