Saturday 12 January 2008

Disk burning errors and some workarounds

Sometimes in a process of disk recording errors are happening. Such discs are often being threw away, but there are some tricks to finish the recording process. After that, disc is passing MD5 check and reads normally. Below are mentioned several tricks to do so.


Error during start or in the middle of recording
It is rarely happens, but at he beginning or in the middle of recording process growisofs suddenly broking precess and message appears:

Executing 'builtin_dd if=1.iso of=/dev/cdrom obs=32k seek=0'
/dev/cdrom: "Current Write Speed" is 16.4x1352KBps.
          0/4393730048 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/4393730048 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/4393730048 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/4393730048 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
          0/4393730048 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
    1671168/4393730048 ( 0.0%) @0.4x, remaining 1007:27 RBU 100.0% UBU   1.9%
:-[ WRITE@LBA=330h failed with SK=3h/ASC=0Ch/ACQ=00h]: Input/output error
:-( write failed: Input/output error
/dev/cdrom: flushing cache
/dev/cdrom: closing track
:-[ CLOSE TRACK failed with SK=3h/ASC=0Ch/ACQ=00h]: Input/output error
/dev/cdrom: closing session
/dev/cdrom: reloading tray


All that you need is to start burning again: growisofs restarts the process of recording from the last informational sector and will have record disc completely. After that, disc can be read without any problems and it passes MD5 check.


Close session error
Disk had been fully recorded, but I/O error appears while closing the session:

2144544*2KB out @ average 9.9x1352KBps
/dev/cdrom: flushing cache
/dev/cdrom: closing track
/dev/cdrom: closing session
:-[ CLOSE SESSION failed with SK=5h/ASC=72h/ACQ=03h]: Input/output error


It is pity, that disc had been burned completely but session isn't closed. Such disc is unreadable. But that can be corrected using simple trick from authors of dvd+rw-tools: here is a little program close, and here is the source code. Downloading it from here, installing sources of  dvd+rw-tools and copying close.cpp in the directory with dvd+rw-tools sources. After that, let's compile close.cpp :

g++ -o close close.cpp
Don't forget to give it appropriate permissions, and insert disc with unclosed session in the drive. Close session by command:
close /dev/hda
If you DVD-recorder have different device file than /dev/hda please correct it.

0 comments: