From: | Thomas Schmitt <scdbackup@×××.net> |
---|---|
To: | gentoo-user@l.g.o |
Subject: | [gentoo-user] Re: k3b burning BD-Disk pretends to fail at 99.99% |
Date: | Mon, 08 Jul 2013 06:15:42 |
Message-Id: | 28849629109710213042@scdbackup.webframe.org |
1 | Hi, |
2 | |
3 | Sorry for breaking the mail thread. I have no message id of |
4 | the original mail by Alex, because i was not subscribed to this |
5 | list when that mail was posted. |
6 | |
7 | |
8 | alexander.puchmayr wrote: |
9 | > I just burned all my pictures from my last vacation on a blueray-disk using |
10 | > k3b, and for no apparent reason it stoped at 99.8% and complained an error |
11 | > (I/O error). |
12 | |
13 | This is probably the known CLOSE TRACK/SESSION bug at the end of |
14 | a growisofs BD-R burn which started on a blank BD-R medium. |
15 | |
16 | It was diagnosed by Andy Polykov five years ago |
17 | http://lists.debian.org/cdwrite/2008/07/msg00092.html |
18 | "Trouble is that when growisofs pre-formats the blank, |
19 | it fails to instruct finalization procedure about it. |
20 | [...] |
21 | You might want to consider explicitly pre-formatting media with |
22 | dvd+rw-format [...] |
23 | " |
24 | |
25 | From comparing the code which inspects the submitted medium |
26 | and the code that formats a blank BD-R, i came to this patch: |
27 | |
28 | ---------------------------------------------------------------------- |
29 | --- growisofs_mmc_orig.cpp 2013-06-14 19:53:51.000000000 +0200 |
30 | +++ growisofs_mmc.cpp 2013-06-14 19:55:25.000000000 +0200 |
31 | @@ -756,6 +756,8 @@ static void bd_r_format (Scsi_Command &c |
32 | |
33 | wait_for_unit (cmd); |
34 | |
35 | + bdr_plus_pow = 1; |
36 | + |
37 | cmd[0] = 0x35; // FLUSH CACHE |
38 | cmd[9] = 0; |
39 | cmd.transport(); |
40 | ---------------------------------------------------------------------- |
41 | |
42 | The patch was tested with success by Frank Griffin |
43 | http://lists.alioth.debian.org/pipermail/debburn-devel/2013-June/000928.html |
44 | |
45 | Fedora has adopted it for testing and it seems to help |
46 | https://bugzilla.redhat.com/show_bug.cgi?id=858029 |
47 | https://bugzilla.redhat.com/show_bug.cgi?id=868527 |
48 | |
49 | Reasoning of mine why the patch should help (or at least not harm): |
50 | http://lists.alioth.debian.org/pipermail/debburn-devel/2013-June/000924.html |
51 | |
52 | |
53 | Have a nice day :) |
54 | |
55 | Thomas |