Announcement

Collapse
No announcement yet.

Can't burn to CD

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't burn to CD

    I have an IBM Thinkpad X31 and when I use cdrdao to attempt to burn an image to a CD I get the following error:

    steve@steve-laptop:/tmp/kde-steve$ sudo cdrdao write --device /dev/cdrw VIDEOCD.cue
    Password:
    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 'ubuntu-0.8ubuntu1'

    /dev/cdrw: HL-DT-ST RW/DVD GCC-4240N Rev: 1203
    Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)

    Starting write at speed 24...
    Pausing 10 seconds - hit CTRL-C to abort.
    Process can be aborted with QUIT signal (usually CTRL-\).
    Turning BURN-Proof on
    Executing power calibration...
    Power calibration successful.
    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: Writing failed.

    I have no idea where to go from here. Any suggestions?

    #2
    Re: Can't burn to CD

    I'm more familiar with cdrecord than cdrdao myself.  Have you tried K3b?  If so, could you post the output?

    Comment


      #3
      Re: Can't burn to CD

      Hi,

      Thanks for responding. Below is debug output from K3b:


      ---------------
      K3b Version: 0.12.14

      KDE Version: 3.5.3
      QT Version: 3.3.6
      Kernel: 2.6.15-26-386
      Devices
      -----------------------
      HL-DT-ST RW/DVD GCC-4240N 1203 (/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/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R]

      K3bVcdXml:
      -----------------------
      <?xml version="1.0"?>
      <!DOCTYPE videocd PUBLIC "-//GNU//DTD VideoCD//EN" "http://www.gnu.org/software/vcdimager/videocd.dtd">
      <videocd class="svcd" xmlns="http://www.gnu.org/software/vcdimager/1.0/" version="1.0" >
      <info>
      <album-id></album-id>
      <volume-count>1</volume-count>
      <volume-number>1</volume-number>
      <restriction>0</restriction>
      </info>
      <pvd>
      <volume-id>VIDEOCD</volume-id>
      <system-id>CD-RTOS CD-BRIDGE</system-id>
      <application-id>CDI/CDI_VCD.APP;1</application-id>
      <preparer-id>K3B - VERSION 0.12.14</preparer-id>
      <publisher-id>K3B - VERSION 0.12.14</publisher-id>
      </pvd>
      <filesystem>
      <folder>
      <name>SEGMENT</name>
      </folder>
      </filesystem>
      <sequence-items>
      <sequence-item id="sequence-000" src="/home/steve/Desktop/LOSTHWY_DISC1.MPG" >
      <default-entry id="entry-000" />
      </sequence-item>
      </sequence-items>
      </videocd>

      Used versions
      -----------------------
      cdrecord: 2.1.1a01

      cdrecord
      -----------------------
      /usr/bin/X11/cdrecord: Warning: Running on Linux-2.6.15-26-386
      /usr/bin/X11/cdrecord: There are unsettled issues with Linux-2.5 and newer.
      /usr/bin/X11/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
      scsidev: '/dev/hdc'
      devname: '/dev/hdc'
      scsibus: -2 target: -2 lun: -2
      Warning: Open by 'devname' is unintentional and not supported.
      Linux sg driver version: 3.5.27
      Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
      : Operation not permitted
      /usr/bin/X11/cdrecord: Warning: using inofficial version of libscg (debian-0.8debian2 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
      SCSI buffer size: 64512
      Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling
      NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.
      TOC Type: 1 = CD-ROM
      Using libscg version 'debian-0.8debian2'.
      Driveropts: 'burnfree'
      atapi: 1
      Device type : Removable CD-ROM
      Version : 0
      Response Format: 2
      Capabilities :
      Vendor_info : 'HL-DT-ST'
      Identifikation : 'RW/DVD GCC-4240N'
      Revision : '1203'
      Device seems to be: Generic mmc2 DVD-ROM.
      Current: 0x0009
      Profile: 0x0010
      Profile: 0x0008
      Profile: 0x0009 (current)
      Profile: 0x000A
      Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
      Driver flags : MMC-3 SWABAUDIO BURNFREE
      Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
      Drive buf size : 1644048 = 1605 KB
      FIFO size : 4194304 = 4096 KB
      Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
      : Operation not permitted
      Track 01: data 1 MB
      Track 02: data 589 MB
      Total size: 590 MB (58:28.89) = 263167 sectors
      Lout start: 590 MB (58:30/67) = 263167 sectors
      Current Secsize: 2048
      ATIP info from disk:
      Indicated writing power: 5
      Is not unrestricted
      Is not erasable
      Disk sub type: Medium Type A, high Beta category (A+) (3)
      ATIP start of lead in: -11634 (97:26/66)
      ATIP start of lead out: 359846 (79:59/71)
      Disk type: Short strategy type (Phthalocyanine or similar)
      Manuf. index: 3
      Manufacturer: CMC Magnetics Corporation
      Blocks total: 359846 Blocks current: 359846 Blocks remaining: 96679
      Starting to write CD/DVD at speed 24 in real SAO mode for single session.
      Last chance to quit, starting real write in 2 seconds.
      1 seconds.
      0 seconds. Operation starts.
      Waiting for reader process to fill input buffer ... input buffer ready.
      BURN-Free is OFF.
      Turning BURN-Free on
      Performing OPC...
      Sending CUE sheet...
      /usr/bin/X11/cdrecord: Success. write_g1: scsi sendcmd: no error
      CDB: 2A 00 FF FF FF 6A 00 00 1B 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: 63504
      cmd finished after 0.002s timeout 200s
      Writing pregap for track 1 at -150
      write track pad data: error after 0 bytes
      BFree: 1605 K BSize: 1605 K
      Starting new track at sector: 0
      Track 01: 0 of 1 MB written.
      /usr/bin/X11/cdrecord: Success. write_g1: scsi sendcmd: no error
      CDB: 2A 00 00 00 00 00 00 00 1B 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: 63504
      cmd finished after 0.004s timeout 200s
      /usr/bin/X11/cdrecord: A write error occured.
      /usr/bin/X11/cdrecord: Please properly read the error message above.
      write track data: error after 0 bytes
      Writing time: 10.480s
      Average write speed 699.4x.
      Fixating...
      Fixating time: 0.004s
      /usr/bin/X11/cdrecord: fifo had 64 puts and 1 gets.
      /usr/bin/X11/cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

      cdrecord command:
      -----------------------
      /usr/bin/X11/cdrecord.mmap -v gracetime=2 dev=/dev/hdc speed=24 -dao driveropts=burnfree cuefile=/tmp/kde-steve/VIDEOCD.cue -eject

      vcdxbuild
      -----------------------
      <log level="warning">initializing libvcd 0.7.23 [linux-gnu/i486]</log>
      <log level="warning"> </log>
      <log level="warning"> this is the Beta development branch!</log>
      <log level="warning"> use only if you know what you are doing</log>
      <log level="warning"> see http://www.hvrlab.org/~hvr/vcdimager/ for more information</log>
      <log level="warning"> </log>
      <progress operation="scan" id="sequence-000" position="0" size="610205708" >>>>>>>>> snipped lots of smilar output <<<<<<<<<<<<<<<<<<
      <log level="information">finished ok, image created with 263167 sectors [58:28:67]</log>

      vcdxbuild command:
      -----------------------
      /usr/bin/X11/vcdxbuild --progress --gui --cue-file=/tmp/kde-steve/VIDEOCD.cue --bin-file=/tmp/kde-steve/VIDEOCD.bin /tmp/kde-steve/k3biyKKGa.tmp

      Comment


        #4
        Re: Can't burn to CD

        Sorry I couldn't get back to you until today.  No internet at home.

        Couple of questions:  does this happen with all .cue or .iso files?  Have you tried different blank CD's?  Do you have a USB CD-burner to try this on, in order to check if it's a hardware issue?

        Comment


          #5
          Re: Can't burn to CD

          No prob, I used DVD Decrypter in Windows to finish my project. To answer your question it happens with image files, so far only tried cue files. Regular TAO recording of files works fine. No USB burner, the burner I have works fine in Windows. Thanks anyway, new problem is stupid CUPS not letting me administer the server. so many problems, so little time....

          Comment


            #6
            Re: Can't burn to CD

            for k3b i had a similar problem, use this
            dpkg-reconfigure cdrecord
            The only time i've gotten the burner working with k3b i did the above command and set the suid to root. The only problem was when i booted up k3b it wanted to run its own setup program which totaly ruined what i'd just done with the dpkg command. so again
            run the dpkg-reconfigure cdrecord , set suid to root and then DON"T run the k3bsetup or k3bsetup2.

            That being said mines not working again :P
            This seems like just a permissions problem with cdrecord, anybody have a clue as to what to do?!

            Comment


              #7
              Re: Can't burn to CD

              I had a problem with k3b, but only with using .cue/.bin files. I've had no problems burning .iso files on CD-R, 99-min CD-R, CD-RW, DVD+/-R, or DVD+/-RW. However, I couldn't seem to burn this image type. It wasn't until I almost finished this post that I realized what had happened. In the debug output below I got an error about the file not being there. I noticed just before I posted that the file name was in all caps. I then went directly to the file and renamed it all caps and it worked like a charm! The problem with .cue/.bin files is that the .cue file has the name of the .bin file in it and k3b calls cdrecord via a command that if for any reason a character is misplaced (or in my case miscapped) the process fails.

              Here's what I got from k3b when I tried:
              (hope this helps someone)

              System
              -----------------------
              K3b Version: 0.12.14

              KDE Version: 3.5.2
              QT Version: 3.3.6
              Kernel: 2.6.15-26-686
              Devices
              -----------------------
              ATAPI DVD DD 2X16X4X16 G7L9 (/dev/hdc, ) at /media/cdrom0 [CD-R; CD-RW; CD-ROM; DVD-ROM; DVD-R; DVD-RW; DVD+R; DVD+RW; DVD+R DL] [DVD-ROM; DVD-R Sequential; DVD-RW Sequential; DVD+RW; DVD+R; DVD+R Double Layer; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96R; RAW/R16; RAW/R96R; Restricted Overwrite]

              Used versions
              -----------------------
              cdrecord: 2.1.1a01

              cdrecord
              -----------------------
              /usr/bin/cdrecord: Warning: Running on Linux-2.6.15-26-686
              /usr/bin/cdrecord: There are unsettled issues with Linux-2.5 and newer.
              /usr/bin/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
              scsidev: '/dev/hdc'
              devname: '/dev/hdc'
              scsibus: -2 target: -2 lun: -2
              Warning: Open by 'devname' is unintentional and not supported.
              Linux sg driver version: 3.5.27
              /usr/bin/cdrecord: Warning: using inofficial version of libscg (debian-0.8debian2 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
              SCSI buffer size: 64512
              /usr/bin/cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
              /usr/bin/cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on DVD support.
              Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling
              NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
              and thus may have bugs that are not present in the original version.
              Please send bug reports and support requests to <cdrtools@packages.debian.org>.
              The original author should not be bothered with problems of this version.
              TOC Type: 1 = CD-ROM
              Using libscg version 'debian-0.8debian2'.
              Driveropts: 'burnfree'
              atapi: 1
              Device type : Removable CD-ROM
              Version : 0
              Response Format: 2
              Capabilities :
              Vendor_info : 'ATAPI '
              Identifikation : 'DVD DD 2X16X4X16'
              Revision : 'G7L9'
              Device seems to be: Generic mmc2 DVD-R/DVD-RW.
              Current: 0x0009
              Profile: 0x002B
              Profile: 0x001B
              Profile: 0x001A
              Profile: 0x0014
              Profile: 0x0011
              Profile: 0x0010
              Profile: 0x000A
              Profile: 0x0009 (current)
              Profile: 0x0008
              Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
              Driver flags : MMC-3 SWABAUDIO BURNFREE
              Supported modes: TAO PACKET SAO SAO/R96R RAW/R16 RAW/R96R
              Drive buf size : 1073152 = 1048 KB
              FIFO size : 4194304 = 4096 KB
              /usr/bin/cdrecord: No such file or directory. Cannot open FILE '/home/dontrel/Desktop/Temp/STHREAT.BIN'.

              cdrecord command:
              -----------------------
              /usr/bin/cdrecord.mmap -v gracetime=2 dev=/dev/hdc speed=40 -dao driveropts=burnfree cuefile=/home/dontrel/Desktop/Temp/STHREAT.cue -eject

              Comment

              Working...
              X