LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2006, 06:28 PM   #1
vsla
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
K3b error burning cue/bin images


Hi all,

when I try to burn a cue/bin image in k3b I get a write error. I tried using cdrecord and cdrdao and both failed. I can burn any other data without problems (including iso images). I found posts of people having similar problem but didn't find any solution. I suppose is a problem with cdrecord/cdrdao and not with k3b.

I tried to burn the same image in Win98 (with FireBurner) and it worked! That made me depressed and I'd prefer not to use Windowz. Also I tried a testing cue/bin from vcdimager site to ensure my files are not corrupted.

I also tried to burn the mpeg file directly in K3b (as a VideoCD project), without creating previously the image. K3b will use vcdxbuild to create an image on the fly. That returned the same error . Any idea about what might be the problem? I'd massively appreciate your help.

Thnks.
David

ADDITIONAL INFORMATION

k3b messages when I start burning:
Using cdrdao 1.2.1
Starting dao simulation at 4x speed...
Starting in 2 seconds
Starting in 1 second
Turning BurnProof on
cdrdao returned an unkonwn error (code 1)
Operation not permitted
Please send me an email of the last output

**Debugging Output**

Devices
-----------------------
HL-DT-ST RW/DVD GCC-4240N 0213 (/dev/hdc, ) at /media/cdrom0 [CD-R; CD-RW; CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R16; RAW/R96P; RAW/R96R]

System
-----------------------
K3b Version: 0.11.20
KDE Version: 3.3.2
QT Version: 3.3.4
Kernel: 2.6.16-2-686

cdrdao
-----------------------
Cdrdao version 1.2.1 - (C) Andreas Mueller <andreas@daneb.de>
SCSI interface library - (C) Joerg Schilling
Paranoia DAE library - (C) Monty

Check http: //cdrdao.sourceforge.net/drives.html#dt for current driver tables.

Using libscg version 'schily-0.8'

ATA:1,0,0: HL-DT-ST RW/DVD GCC-4240N Rev: 0213
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)

Starting write simulation at speed 4...
Pausing 10 seconds - hit CTRL-C to abort.
Process can be aborted with QUIT signal (usually CTRL-\).
Turning BURN-Proof on
cdrdao: Success. : scsi sendcmd: no error
CDB: 2A 00 FF FF FF 6A 00 00 1A 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 60736
cmd finished after 0.001s timeout 180s
ERROR: Write data failed.
ERROR: Simulation failed.

cdrdao comand:
-----------------------
/usr/bin/cdrdao write --device /dev/hdc --driver generic-mmc --speed 4 --simulate -n -v 2 --force --eject /home/david/videocd.cue

(I was logged in as root, to eliminate any doubts on permissions issues)

Last edited by vsla; 08-15-2006 at 01:31 PM.
 
Old 08-10-2006, 07:02 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
cdrdao comand:
-----------------------
/usr/bin/cdrdao write --device /dev/hdc --driver generic-mmc --speed 4 --simulate -n -v 2 --force --eject /home/david/videocd.cue

simulate

A dry run: do everything except write the CD.
 
Old 08-11-2006, 04:50 AM   #3
vsla
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Original Poster
Rep: Reputation: 0
I didn't use the _simulate_ option the first time, and I got the same errors. That didn't actually ruined the blank CD, because no data was written. Using simulate cdrdao should read all data and do like writing. However, cdrdao and cdrecord stop in 1 second:

(cdrdao output)
...
cmd finished after 0.001s timeout 180s
ERROR: Write data failed.
ERROR: Simulation failed.

EDITED:
After a lot of testing I found the problem!!. vcdimager always adds to the cue sheet the flag DCP (Digital Copy Permitted). Some recorders do not support creating tracks with the DCP bit set. That's why the writing process quits without writting anything at all.

This is the default cue file created by vcdxbuild (or vcdimager):

FILE "svcdfile.bin" BINARY
TRACK 01 MODE2/2352
FLAGS DCP
INDEX 01 00:00:00
TRACK 02 MODE2/2352
FLAGS DCP
INDEX 00 00:04:00
INDEX 01 00:06:00


It can be solved simply by removing the 'FLAGS DCP' lines from the cue file. They are not absolutely required for creating (S)VCD. I couldn't find an vcdimager option to use from the command line.

So it isn't actually a problem with cdrdao or cdrecord. I assume that they already have support to understand such flags in a cue file. It's a simple solution but not easy to find from the little error info.

I hope that posting the solution can help others searching for similar problems.


-David

Last edited by vsla; 08-15-2006 at 01:15 PM.
 
  


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
Write BIN/CUE ISO IMAGES? ProtoformX Linux - Software 4 01-17-2011 11:48 PM
K3b install error, I just want to burn a .cue/.bin diverge Linux - Software 2 12-06-2006 12:33 AM
making BIN/CUE images under linux??? mlu Linux - Software 2 07-12-2005 04:05 AM
k3b won't burn cue images compu73rg33k Linux - Software 9 06-25-2005 12:15 AM
Mounting .cue/bin images PapaSmurf88 Linux - Software 2 05-30-2005 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:20 PM.

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