Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting DMA on HDD and CD-ROM...
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
10xOXR
n00b
n00b


Joined: 10 Apr 2004
Posts: 17
Location: Scotland

PostPosted: Sat Aug 20, 2005 12:26 pm    Post subject: Setting DMA on HDD and CD-ROM... Reply with quote

Hi there,

I'm having difficulty setting DMA at boot on both my HDD and CDROM drives. It doesn't matter whether I add hdparm to the default or boot runtime levels, I always get the following error:

Code:
* Starting hdparm...
* Running hdparm on /dev/discs/disc0/disc...
HDIO_SET_DMS failed: Operation not permitted


Same for the CD drives. I really don't know what to do with this one - my kernel was built with Genkernel if that makes a difference.

Any help would be greatly appreciated!

10x...
_________________
Registered Linux User #392516
My, aren't we just a ray of fucking sunshine?
No coffee - No workee...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54817
Location: 56N 3W

PostPosted: Sat Aug 20, 2005 12:53 pm    Post subject: Reply with quote

10xOXR,

Your kernel has a bit missing thats needed to support IDE DMA.
I don't know how to make genkernel include it. You need to fiddle with the kernel options in
Code:
Device Drivers
ATA/ATAPI/MFM/RLL support
Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
PCI IDE chipset support
Generic PCI bus-master DMA support
while genkernel is building your kernel.
Try
Code:
genkernel --help
it has an option that allows the manual kernel config utility to run.
Choose your particular chip set to be built in. If you choose the other DMA options correctly, the kernel will turn on DMA without any help from hdparm.

You can find out your chipset by running
Code:
lspci
emerge pciutils if you don't have it yet.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hollovoid7
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2005
Posts: 126
Location: Phelps NY

PostPosted: Sat Aug 20, 2005 10:58 pm    Post subject: Reply with quote

genkernel --menuconfig gives ya config screen and yeah add the appropriate driver for your motherboards chipset. as well as all the dma options that work. should be in device drivers somewhere.
_________________
MAO
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