[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-xorriso] TDK DVD-RW not erasable
From: |
Thomas Schmitt |
Subject: |
Re: [Bug-xorriso] TDK DVD-RW not erasable |
Date: |
Fri, 20 Jun 2014 19:32:25 +0200 |
Hi,
> After I burned an iso image file on a TDK DVD-RW with Brasero I can't erase
> the disc anymore.
> ...
> Media current: DVD-RW sequential recording
> Media status : is written , is closed
> xorriso : FAILURE : Media is not of erasable type
> ...
> Attached, output of:
> xorriso -scsi_log on -report_about ALL -outdev /dev/sr0 -blank all 2>&1
> tee -i /tmp/xorriso.log
Very good info.
The problem is here:
> READ DISC INFORMATION
> 51 00 00 00 00 00 00 00 22 00
> +++ sense data = 70 00 03 00 00 00 00 0E 00 00 00 00 57 00 00 00 00 00
> +++ key=3 asc=57h ascq=00h
> 5653 us [ 3850408 ]
> ...
> libburn : DEBUG : SCSI error condition on command 51h READ DISC INFORMATION:
> [3 57 00] Medium error. Unable to recover Table-of-Content.
The failed command should tell about the disc status, including
the "Erasable" flag.
"Medium error" means that the drive does not like the medium.
(I.e. either drive or medium or both are bad.)
This causes libburn to tell libisoburn and xorriso that it is not
erasable. In xorriso/write_run.c :
if(!isoburn_disc_erasable(drive)) {
sprintf(xorriso->info_text, "Media is not of erasable type");
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
return 0;
}
You could get a source tarball, e.g.
http://www.gnu.org/software/xorriso/xorriso-1.3.7.tar.gz
and throw out above five lines before running
./configure && make
sudo xorriso/xorriso -outdev /dev/sr0 -blank all
Possibly there would arise more obstacles in libburn, before
actually a BLANK command gets sent to the drive.
Maybe dvd+rw-tools or cdrecord are more willing to do it.
dvd+rw-format -blank=full /dev/sr0
cdrecord -v dev=/dev/sr0 blank=all
But if reading the Table-of-content fails, then it is quite
probable that writing it will fail too.
So be prepared to try another medium (or drive).
Have a nice day :)
Thomas