Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to get fast IDE cd-writing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
celas
n00b
n00b


Joined: 03 Mar 2003
Posts: 13
Location: UK

PostPosted: Tue Jun 17, 2003 6:45 pm    Post subject: How to get fast IDE cd-writing Reply with quote

I've recently been converted to Linux and now run it exculsively, but one thing I've had trouble with was my cd-writer would only burn in pio mode causing more than a few coasters. I was annoyed that when using Windows XP I was able to burn cds and while the cd was writing do other things.

After a bit or research and playing around I now can burn at full speed and play music/download without messing up the cd. :D

First thing to make sure is that you've gotten scsi emulation working ok. There are plenty of guides in this forum. My cd writers show up as /dev/sr0 and /dev/sr1.

In your kernel config under ATA/IDE/MFM/RLL --> IDE,ATA and ATAPI block devices --> Enable DMA for disks is OFF

This option caused my drives to ignore any of the settings I changed, this might not happen for you.

hdparm won't work on SCSI drives but we can get round this. Even though SCSI emulation is on, the cd-writers will show up under /proc/ide/hd?. (mine are under /proc/ide/hdc and /proc/ide/hdd.

Do a su to get root access and then enter the code below. Note : I've found you have to change these settings in the order shown otherwise they knock off other settings :roll:

Code:
echo unmaskirq:1 > /proc/ide/hdc/settings      
echo io_32bit:3 > /proc/ide/hdc/settings
echo using_dma:1 > /proc/ide/hdc/setting


Just replace hdc with which device is your cd-writer and give it a whirl. I've wrote a full cd at 24 speed with a bittorrent download and music playing in the background with no slowdown or stuttering and the cd actually worked in my sister's windows pc 8O

As it gets annoying to type all that in each time I've modified my /etc/conf.d/local.start like follows :-
Code:
# /etc/conf.d/local.start:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/local.start,v 1.4 2002/11/18 19:39:22 azarah Exp $

# This is a good place to load any misc.
# programs on startup ( 1>&2 )

echo unmaskirq:1 > /proc/ide/hdc/settings      
echo io_32bit:3 > /proc/ide/hdc/settings
echo using_dma:1 > /proc/ide/hdc/settings

echo unmaskirq:1 > /proc/ide/hdd/settings      
echo io_32bit:3 > /proc/ide/hdd/settings
echo using_dma:1 > /proc/ide/hdd/settings


Hope this helps everyone struggling with cd-burning under linux.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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