[Pkg-opt-media-team] Bug#713016: dvd+rw-tools: Burning to previously blank BD-R ends by error message "CLOSE SESSION failed"

Thomas Schmitt scdbackup at gmx.net
Fri Jun 21 21:33:04 UTC 2013


Package: dvd+rw-tools
Version: 7.1-6
Severity: normal
Tags: upstream patch


Hi,

it is a long standing bug of growisofs to throw an error at
the end of a burn run to previously blank BD-R media:
 
 :-[ CLOSE SESSION failed with SK=5h/INVALID FIELD IN CDB]: Input/output error

See also
  https://bugs.launchpad.net/ubuntu/+source/dvd+rw-tools/+bug/1113679

I don't see this reported as fixed in
  http://ftp-master.metadata.debian.org/changelogs//main/d/dvd+rw-tools/dvd+rw-tools_7.1-10_changelog
so i assume it is still present. (Experiments would be expensive.)


Being a competitor and a disciple of dvd+rw-tools i recently
re-read the 5 year old diagnosis of Andy Polyakov
  http://lists.debian.org/cdwrite/2008/07/msg00092.html
and developed a theory
  http://lists.alioth.debian.org/pipermail/debburn-devel/2013-June/000924.html
which leads to this tiny patch:

====================================================================

--- growisofs_mmc_orig.cpp       2013-06-14 19:53:51.000000000 +0200
+++ growisofs_mmc.cpp   2013-06-14 19:55:25.000000000 +0200
@@ -756,6 +756,8 @@ static void bd_r_format (Scsi_Command &c

     wait_for_unit (cmd);

+    bdr_plus_pow = 1;
+
     cmd[0] = 0x35;     // FLUSH CACHE
     cmd[9] = 0;
     cmd.transport();

====================================================================

The patch is now confirmed to silence the error message.
See
  http://lists.alioth.debian.org/pipermail/debburn-devel/2013-June/000928.html

growisofs users may thank Frank Griffin for bothering to test it.


Have a nice day :)

Thomas


-- System Information:
Debian Release: 6.0.3
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)
Shell: /bin/sh linked to /bin/bash

Versions of packages dvd+rw-tools depends on:
ii  genisoimage                   9:1.1.11-1 Creates ISO-9660 CD-ROM filesystem
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.5-8  GCC support library
ii  libstdc++6                    4.4.5-8    The GNU Standard C++ Library v3

dvd+rw-tools recommends no packages.

Versions of packages dvd+rw-tools suggests:
pn  cdrskin                       <none>     (no description available)

-- no debconf information



More information about the Pkg-opt-media-team mailing list