View previous topic :: View next topic |
Author |
Message |
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Fri May 31, 2002 4:17 pm Post subject: Not able to enable DMA on my harddisk |
|
|
When I do
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 |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Fri May 31, 2002 4:39 pm Post subject: |
|
|
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 |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Jun 06, 2002 11:40 am Post subject: |
|
|
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 |
|
|
niyogi Apprentice
Joined: 10 Apr 2002 Posts: 199 Location: Austin, TX
|
Posted: Sat Jun 08, 2002 4:16 pm Post subject: |
|
|
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 |
|
|
|