-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 12 February 2003 09:16 pm, ryan wrote:
> Hi, for the life of me I can't figure out how to enable DMA on my CD
> burner.  Burning a CD brings my system to a halt and it takes around 10
> minutes to copy data from CD to hd.  Any help would be greatly
> appreciated.


Hi Ryan, it is really easy.  For some reason, the 9.0 startup scripts turn dma 
off for optical drives.  For this instruction, I will assume your cd-burner 
is /dev/hdc scsi emulated as /dev/scd0.  For your machine, replce the hdc 
with whatever ata channel your burner is on.

Go into the directory /etc/sysconfig and you will see a file called harddisks.  
Copy this file as root to a file called harddiskhdc.  

cp harddisks harddiskhdc

Edit the new file with your favorit text editor (mines nano) and uncomment the 
line that says '# USE_DMA=1' so it looks like this

USE_DMA=1

and save the file.  Since dma is off, it is very likely that hdparm is already 
installed on your system, but to doublecheck, type

rpm -qa | grep -i hdparm 

if you get no output, you need to install hdparm, so type 

urpmi hdparm, and follow the instructions.

Now when yopu boot up, DMA will be turned back on.

Another method would be to remove hdparm completely, which will prevent it 
from being turned off to begin with.  The problem with this approach is that 
you won't be able to use hdparm to tune your hard drives.

urpme hdparm

to learn more about hdparm, type man hdparm.
- -- 
Greg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+SwhDwDpHP6GALAARAk++AJwO5VVbl/vpUItJyCsVsts9c29NuwCghN0+
//X97CjRQAFrIG3Y8Q+ETsk=
=BznK
-----END PGP SIGNATURE-----


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to