Re: erasing a cd-rw

From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 04/11/04


Date: 11 Apr 2004 20:41:04 GMT

On Sun, 11 Apr 2004 13:22:29 -0600, ray staggered into the Black Sun and
said:
> On Sun, 11 Apr 2004 13:25:54 +0000, John-Paul Stewart wrote:
>> ray wrote:
>>> I seem to be unable to erase a cd-rw in linux. I have tried several
>>> times with several computers running several versions, and have
>>> always failed.
>> What do yo mean by "it is not useable"? After blanking the disk, it
>> shouldn't be useable until you write something new to it. Do you
>> mean that the write process fails? If so, what is the error message?
> I mean that after the blanking operation is over, I cannot write to
> it.

I'd read "I cannot write to it" as "cdrecord returns an error code
immediately after 'cdrecord dev=X,Y,Z speed=W file.iso' ". Your next
sentence says something different. Please read
http://catb.org/~esr/faqs/smart-questions.html and follow its advice;
when you're dealing with computer errors, you have to be more precise
than is common in normal English. Also, post the make and model of the
CD-RW drive you're using; there might be a firmware update available for
it that'll get rid of the problem you're seeing.

> The write process runs to completion with no error message

So cdrecord didn't get any error codes from the drive. Usually a good
sign.

> the newly written disk cannot be mounted and read.

Some CD-RWs don't reread a disc's TOC except when the disc is first
inserted. The blanked CD-RW doesn't *have* a TOC, so many operations
including mounting an ISO9660 filesystem will fail. The cure for this
is to add the -eject option to cdrecord; this will eject the CD-RW after
the burn finishes. Then reload the burned CD-RW and it should be
mountable; check the disc's TOC with "cdrecord -toc" after you try this.

> I've not tried combining the operations, will give it a shot.

I don't know that this will help, but it's something to try.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /    mail: TRAP + SPAN don't belong
http://www.brainbench.com     /                Hire me! 
-----------------------------/ http://crow202.dyndns.org/~mhgraham/resume


Relevant Pages

  • xcdroast: Problem writing re-writable discs
    ... I'm using xcdroast with Mandrake Linux 9.1 ... Linux sg driver version: 3.1.24 ... Here is a xcdroast log file from failed attempt to record CD-RW ... cdrecord: Drive needs to reload the media to return to proper status. ...
    (comp.os.linux.hardware)
  • FC2 - CD Drive installation or Cdrecord setup Problem
    ... CDrom and CD-RW drives read just fine. ... cdrecord: Warning: using inofficial libscg transport code version ... This version is an unofficial version with DVD support ... CUE sheet still not accepted. ...
    (Fedora)
  • cdrecord: no blanking of CD-RW possible
    ... Using libscg transport code version 'schily-scsi-linux-sg.c-1.83' ... this version of cdrecord is an inofficial release of cdrecord ... Driver flags: MMC SWABAUDIO ... This CD-RW now should be "blanked quicklY". ...
    (Debian-User)
  • CD-RW dosent blank (was Re: CD burning doesnt work - scsi emulation?..)
    ... I've tried to blank CD-RW but no joy. ... Here's the out put of my attempts from cdrecord, ... cdrecord: Input/output error. ... Sense Key: ...
    (Fedora)