Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not able to enable DMA on my harddisk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Fri May 31, 2002 4:17 pm    Post subject: Not able to enable DMA on my harddisk Reply with quote

When I do
Code:

hdparm /dev/hda

It shows that dma is not enabled.

I tried hdparm -d1 /dev/hda but then it says:
Quote:


/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)


I've tried different settings in my kernel config, but can't seem to find the right one. And strange thing is, I used my old kernel config (previous install of gentoo) and then DMA was working and now it isn't!

Any help on this please, I really need DMA to be enabled, it makes a huge difference. Also would like to know how to enable it on my cd-writer (scsi-emulated device on /dev/sr0 ) -- or how to check this?

All help is appreciated.

Thanks.
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Fri May 31, 2002 4:39 pm    Post subject: Reply with quote

You have to compile it in your kernel:

Quote:
ATA/IDE...->ATA/IDE....->[*] Generic PCI Bus-master DMA support

I also have the following selected
Quote:
Use PCI DMA by default when available

This way I don't have to use hdparm, but read the help, some bugs or something.

For cdr when I do cat /proc/ide/hdc/settings the using_dma is on, so I think it's using dma (hdparm doesn't work on scsi-emulation).
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Thu Jun 06, 2002 11:40 am    Post subject: Reply with quote

That worked btw ;)

Just didn't seem logic as it said PCI
I thought it was something special

Thanks for your help, kinda lost track of this post ;)
Back to top
View user's profile Send private message
niyogi
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 199
Location: Austin, TX

PostPosted: Sat Jun 08, 2002 4:16 pm    Post subject: Reply with quote

I have the same problem but I had those two checked when I compiled the kernel. but it doesn't seem to work still (meaning I still get the error)

-S
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum