View previous topic :: View next topic |
Author |
Message |
10xOXR n00b
Joined: 10 Apr 2004 Posts: 17 Location: Scotland
|
Posted: Sat Aug 20, 2005 12:26 pm Post subject: Setting DMA on HDD and CD-ROM... |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54817 Location: 56N 3W
|
Posted: Sat Aug 20, 2005 12:53 pm Post subject: |
|
|
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 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 runningemerge 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 |
|
|
hollovoid7 Tux's lil' helper
Joined: 04 May 2005 Posts: 126 Location: Phelps NY
|
Posted: Sat Aug 20, 2005 10:58 pm Post subject: |
|
|
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 |
|
|
|