PDA

View Full Version : HDparm wont set DMA


v8s10blazer
2006-01-07, 06:41 PM CST
Hey everyone,

My Fedora 64 box is sooo slow with the hard drive setup ike this. Im barely getting over 4MB per second on non cached reads lol. Anyways so im trying to turn on DMA but when i specify -d1 to turn it on, i get this error:
HDIO_SET_DMA failed: Operation not permitted

The hard drive is a 20GB Western digital so there shouldnt be any problem with the drive itself not supporting DMA.

I checked my BIOS settings and even set the UDMA mode to mannual and checked to make sure i had a shielded cable. I cant seem to find anything with a google search either. Any ideas? Im running the first kernel release since i havent got my network card driver loaded yet. Perhaps its a software bug?

-thanks for any help any

w5set
2006-01-07, 07:26 PM CST
did you do the hdparm set with root login or use su -
??

v8s10blazer
2006-01-07, 08:29 PM CST
yep logged in as root. Im looking through some more stuff on google. Ill post up if i find an answer!

Ok i bet i know the problem. I have a fairly new chipset on this motherboard, Nvidias Nforce4. I bet i need to load the module for that. I have installed some drivers for the chipset but they may not be running! Ill take a look around and see what i find!

jeremyreed
2006-01-07, 08:41 PM CST
yep logged in as root. Im looking through some more stuff on google. Ill post up if i find an answer!

Ok i bet i know the problem. I have a fairly new chipset on this motherboard, Nvidias Nforce4. I bet i need to load the module for that. I have installed some drivers for the chipset but they may not be running! Ill take a look around and see what i find!

Are you running core 4? If so it supports your chipset out of the box. Setting dma on all of my pata drives works just fine. You may already know this but dont try the operation on a sata drive, the communication protocol is different for sata.

v8s10blazer
2006-01-07, 08:53 PM CST
Yes im in 4. Ill have to play with it for a while i suppose. Im still too cheap to buy a SATA2 drive since my truck eats up any spare cash hahah... -_- stupid trucks..

jeremyreed
2006-01-07, 09:05 PM CST
I would like to help you with it, as it seems odd its not working for you. Im running the asus a8nsli-premium with the nforce4-sli chipset. Everything is recognized out of the box without installing ANY nvidia drivers(except for display of course). Dma is not enabled by default, but a simple call to hdparm -d1 hdx sets it for me. What kernel are you running? anything interesting in dmesg relating to your hdd?

moonhyunjin
2006-01-07, 09:24 PM CST
imformation is lacked. show me the result of follow commands.
# hdparm /dev/hda
# hdparm -Tt /dev/hda
# dmesg |grep hda