Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DMA for disks...
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
-=RaV=-
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2004
Posts: 83
Location: Poland

PostPosted: Sat Sep 25, 2004 11:11 am    Post subject: DMA for disks... Reply with quote

Does anyone know, how to enable DMA for all disks which I have and is it posible to enable DMA fof SATA disk??? I try to do it with hdparm, but it wrote error like this:

HDIO_SET_DMA failed: Operation not permitted

What should I do?
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Sat Sep 25, 2004 11:41 am    Post subject: Reply with quote

For optimal hard disk performance, try this:
Code:

hdparm -d1c1u1m16 <device(s)>


And, for optimal CD-ROM/CD-RW/DVD-ROM/DVD-RW/whatever drives:
Code:

hdparm -d1c1u1 <device(s)>
Back to top
View user's profile Send private message
webkiller71
n00b
n00b


Joined: 29 Nov 2003
Posts: 20

PostPosted: Sat Sep 25, 2004 1:57 pm    Post subject: Reply with quote

sometimes you need specific chipset support in your kernel
Back to top
View user's profile Send private message
-=RaV=-
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2004
Posts: 83
Location: Poland

PostPosted: Sat Sep 25, 2004 6:12 pm    Post subject: Reply with quote

After compiling the kernel with support for my IDE chipset (NVIDIA nForce2) it start to work. :) hdparm only enables DMA for ATA disks and cd-roms, but maybe there is a way to enable some speed-up settings for SATA disks?
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Sat Sep 25, 2004 6:35 pm    Post subject: Reply with quote

-=RaV=- wrote:
After compiling the kernel with support for my IDE chipset (NVIDIA nForce2) it start to work. :) hdparm only enables DMA for ATA disks and cd-roms, but maybe there is a way to enable some speed-up settings for SATA disks?

Mostly SATA chipset sets DMA automatically (or it should set)
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