Hi,

Sorry for breaking the mail thread. I have no message id of
the original mail by Alex, because i was not subscribed to this
list when that mail was posted.


alexander.puchmayr wrote:
> I just burned all my pictures from my last vacation on a blueray-disk using
> k3b, and for no apparent reason it stoped at 99.8% and complained an error
> (I/O error).

This is probably the known CLOSE TRACK/SESSION bug at the end of
a growisofs BD-R burn which started on a blank BD-R medium.

It was diagnosed by Andy Polykov five years ago
  http://lists.debian.org/cdwrite/2008/07/msg00092.html
"Trouble is that when growisofs pre-formats the blank,
 it fails to instruct finalization procedure about it.
 [...]
 You might want to consider explicitly pre-formatting media with
 dvd+rw-format [...]
"

>From comparing the code which inspects the submitted medium
and the code that formats a blank BD-R, i came to this 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 was tested with success by Frank Griffin
  http://lists.alioth.debian.org/pipermail/debburn-devel/2013-June/000928.html

Fedora has adopted it for testing and it seems to help
  https://bugzilla.redhat.com/show_bug.cgi?id=858029
  https://bugzilla.redhat.com/show_bug.cgi?id=868527

Reasoning of mine why the patch should help (or at least not harm):
  http://lists.alioth.debian.org/pipermail/debburn-devel/2013-June/000924.html


Have a nice day :)

Thomas


Reply via email to