LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-05-2003, 11:03 PM   #1
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
buffer underrun with cdrecord


okay i've been having some problems making duplicates of data cds using the CLI cdrecord. I can do it fine in xcdroast, but i figure i can just make an alias for duping data cds so i dont hafta load a gui just to do something that simple. needless to say i never have gotten a bufferrun in xcdroast or gnometoaster (i use that also) but i haven't been able to burn a cd (a duplicate that is) using cdrecord. i use either the command

cdrecord -v dev=0,0,0 speed=24 -isosize /dev/hdc
or
cdrecord -v dev=0,0,0 speed=24 -isosize /dev/cdrom
(the second one was what the guy whose tutorial i was reading said, i figured my first drive, my dvd-rom, is located on /dev/hdc so i tried that instead, same results, burns like 3 or 4 MB and fails.)

here's the message it gives me... /dev/cdrom
/dev/hdc
i also tried slowing the speed down to 20 and then 16 (even though on Windows and while using xcdroast and gtoaster, i used 24X) and still my discs failed. any ideas?
 
Old 09-06-2003, 04:20 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Exclamation I'm no expert on this but

I think you have to write to the SCSI listing. You should have SCSI emulation working with the GUI one. My CD is /dev/scd0. You may want to try this. Look in your fstab and see what yours is and try that instead of /dev/hdc.

I'm no expert but I hope this helps.

 
Old 09-06-2003, 10:17 AM   #3
gundelgauk
Member
 
Registered: Jul 2003
Distribution: Gentoo
Posts: 168

Rep: Reputation: 30
Thumbs down

Greetings!


Unfortunately I can't offer you a solution as I'm no expert on this either. But as you seem to be reading the data directly from another cdrom drive during burn time, I thought I'd contribute the following:

I'm not sure where exactly I read this but it was some tutorial on cdrecord. It strongly advised not to connect the two drives to the same ide channel as cdrecord doesn't support some function or another with the result that the ide bus can't handle the data stream anymore and you are left with a buffer underrun.

For example this would be wrong:
primary master: hdd1
primary slave: hdd2
secondary master: cdrom (source drive)
secondary slave: cdrw (writer)

Rather do this:
primary master: hdd1
primary slave: cdrom (source drive)
secondary master: hdd2
secondary slave: cdrw (writer)

Same goes for a hdd as a source, for example in the second example one would use hdd1 as a source for burning and not hdd2.

This is only general advice however, I cannot make much sense out of the fact that you can successfully copy a cdrom with xcdroast (which is only a frontend to cdrecord!) and not with cdrecord itself.

My last guess would be that xcdroast enables your burnproof feature (if you have any) and the command line call of cdrecord leaves it disabled.

I hope you'll find a solution!


Good luck!
 
Old 09-06-2003, 02:00 PM   #4
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 31
okay yeah, i just had to add -driveropts=burnproof and it worked out, thanks guys ^_^
 
Old 09-06-2003, 05:04 PM   #5
gundelgauk
Member
 
Registered: Jul 2003
Distribution: Gentoo
Posts: 168

Rep: Reputation: 30
Talking

Congratz!

Happy toasting
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ST7554: fifo underrun! Spriggan Linux - Hardware 2 03-01-2005 04:02 AM
audio problem - underrun goglu Linux - General 0 01-16-2005 10:26 AM
diff in buff underrun and overflow? servnov General 7 10-27-2004 09:55 PM
cdrecord: Invalid argument. Cannot get SCSI I/O buffer jago25_98 Linux - Software 3 12-09-2003 03:25 PM
DMA underrun detected Wim_Woittiez Linux - Hardware 3 12-04-2003 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration