Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cd burning uses 100% of proc
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
vkxmai
n00b
n00b


Joined: 15 Jun 2003
Posts: 10
Location: Cincinnati, OH

PostPosted: Sat Sep 20, 2003 12:30 am    Post subject: cd burning uses 100% of proc Reply with quote

Hello, I think I have gathered all pertinent data on my problem, so here it is in detail:

I am running vanilla-sources kernel 2.4.21 with all of the IDE/SCSI options enabled for scsi-emulation and IDE support. Every time I try to use either cdrecord or xcdroast to copy, read for creation of an image, or burn a CD, between 98-100% of my proc is used. Also, the burn speed jumps from 4x-19x--but never even approaches my drive's speed of 32x. The media I try this with is all speed rated up to 40x or so, so that is not an issue here. This happens every time without fail. I run a very simple FVWM setup with gkrellm as my system monitor, and use nAIM, xmms, galeon, and sylpheed on a regular basis. Even with all of these (except nAIM) turned off, the problem still occurs. I have also tried gaming-sources, under which I got the same results. As the data below will show, I have dma turned on for both the CDRW and the DVDROM and the following versions for:

cdrtools:2.01_alpha14
cdrdao: 1.1.7-r1
xcdroast: 0.98_alpha13

HDB (DVD)
Code:
# cat /proc/ide/hdb/settings
name                    value           min             max             mode
----                    -----           ---             ---             ----
bios_cyl                0               0               1023            rw
bios_head               0               0               255             rw
bios_sect               0               0               63              rw
current_speed           0               0               69              rw
ide_scsi                0               0               1               rw
init_speed              0               0               69              rw
io_32bit                0               0               3               rw
keepsettings            0               0               1               rw
log                     0               0               1               rw
nice1                   1               0               1               rw
number                  1               0               3               rw
pio_mode                write-only      0               255             w
slow                    0               0               1               rw
transform               1               0               3               rw
unmaskirq               0               0               1               rw
using_dma               1               0               1               rw


HDC (CDRW)
Code:
# cat /proc/ide/hdc/settings
name                    value           min             max             mode
----                    -----           ---             ---             ----
bios_cyl                0               0               1023            rw
bios_head               0               0               255             rw
bios_sect               0               0               63              rw
current_speed           0               0               69              rw
ide_scsi                0               0               1               rw
init_speed              0               0               69              rw
io_32bit                0               0               3               rw
keepsettings            0               0               1               rw
log                     0               0               1               rw
nice1                   1               0               1               rw
number                  2               0               3               rw
pio_mode                write-only      0               255             w
slow                    0               0               1               rw
transform               1               0               3               rw
unmaskirq               0               0               1               rw
using_dma               1               0               1               rw


hdparm results for the linux drive: (hdd)
Code:
 hdparm -tT /dev/hdd

/dev/hdd:
 Timing buffer-cache reads:   128 MB in  0.63 seconds =203.17 MB/sec
 Timing buffered disk reads:  64 MB in  2.66 seconds = 24.06 MB/sec


I would like to get my system to a point where burning a CD can be achieved a steady speed, more or less, and one at which my proc is not used up.

Thanks in advance for all of your help--I have spent hours trying different things I have read on here as well as discussing this with other gentoo users, so this was a last resort.

Thank you!!!
Back to top
View user's profile Send private message
crown
n00b
n00b


Joined: 15 Jun 2002
Posts: 64

PostPosted: Sat Sep 20, 2003 4:07 am    Post subject: Reply with quote

I think the problem has to do with the drive itself. What kind of drive is it? I've had decent brand drives that experienced the same problems (under windows however, I haven't done any burning under linux). I don't remember if I was able to fix it or not but you may want to try replacing your IDE cable. Also try connecting it to a different IDE slot if you can. I suggest putting it on the secondary master. You should hopefully see some improvement.
Back to top
View user's profile Send private message
irasnyd
Apprentice
Apprentice


Joined: 16 Feb 2003
Posts: 286
Location: Placentia, CA

PostPosted: Sat Sep 20, 2003 4:09 am    Post subject: Reply with quote

maybe try appending "hdc=ide-scsi" to your kernel boot line to make sure that scsi emulation is turned on for the drive.

Then rescan devices with XCDRoast and choose the one that does NOT have ATAPI in the beginning of it's name.

I had the high cpu usage when I was burning in ATAPI mode, before I switched to scsi emulation.

Ira
Back to top
View user's profile Send private message
vkxmai
n00b
n00b


Joined: 15 Jun 2003
Posts: 10
Location: Cincinnati, OH

PostPosted: Sat Sep 20, 2003 4:36 am    Post subject: Reply with quote

Ah, I did forget to include that information. I do have a line in my kernel boot that activates scsi emulation--and both drives are LITE-ON, quite reliable from what I read prior to buying them. Also, I made sure that xcdroast does NOT use the atapi version of the drive--that it only uses, for example device 0,1,0 rather than 0,1,0 [ATAPI] I have replaced the cable--and the only reason the drives are set up as they are, is to make it the most favorable set up for burning--I thought perhaps having the read drive and the write drive on different channels might help in the transfer rate. Also, my files drive--from which I might burn ISOs, for example, is not on the same channel as the burner or my linux harddrive.
Back to top
View user's profile Send private message
vkxmai
n00b
n00b


Joined: 15 Jun 2003
Posts: 10
Location: Cincinnati, OH

PostPosted: Sun Sep 21, 2003 8:24 pm    Post subject: Reply with quote

Can someone please help me with this? I was able to semi-fix cdrecord when burning ISOs by using a different driver, but that still does not fix the cd-copying problem...
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Mon Oct 06, 2003 10:25 pm    Post subject: Reply with quote

If the ide-scsi emulation was enabled for that hdc driver, you'd have no /dev/hdc

Have you read the truth about cd-recording with scsi emulation? It is the best thread for it, IMO.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
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