From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5B06A1381F3 for ; Mon, 8 Jul 2013 06:15:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3659EE09EE; Mon, 8 Jul 2013 06:15:35 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by pigeon.gentoo.org (Postfix) with ESMTP id DDBC0E097A for ; Mon, 8 Jul 2013 06:15:33 +0000 (UTC) Received: from scdbackup.webframe.org ([212.46.126.165]) by mail.gmx.com (mrgmx103) with ESMTP (Nemesis) id 0MCL6r-1V5BQ52vU9-0095sq for ; Mon, 08 Jul 2013 08:15:32 +0200 Date: Mon, 08 Jul 2013 08:15:14 +0200 From: "Thomas Schmitt" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: k3b burning BD-Disk pretends to fail at 99.99% Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <28849629109710213042@scdbackup.webframe.org> X-Provags-ID: V03:K0:4jX9gvUK2pJSyRQA0V3ynhW5WY1eAaBd7dwSV6aOTL3u71malcH RZ4LjHU4UmIinl0fZWH6z+obAm9xr8bd90mubb2n38akLcZ90UZln6o3KgqydQwhm2FHguA XqFmjr6dac4y3AToe6voQlqF+z2ofWkT4fwM4jqJXI+b94z2boTPc6iRv0p1xlTHwm2t/1k teWMiqSJId3r6CcYlU4Jg== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: dd64ce83-0a0c-4f43-b276-072700d0c18f X-Archives-Hash: f3f92e9d04d28316276130efc635e3d0 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