1 |
Hi, |
2 |
|
3 |
> maybe the problem is when closing the session or writing some kind of lead- |
4 |
> out, or the like. |
5 |
|
6 |
The problem is that the CLOSE TRACK/SESSION command is appropriate |
7 |
for the end of burning BD-R, only if it is unformatted or if it is |
8 |
formatted to SRM without Pseudo Overwrite. |
9 |
|
10 |
As soon as it is formatted to Pseudo Overwrite, the command is |
11 |
inappropriate, which the burner indicates by the ILLEGAL REQUEST |
12 |
error code (which one would see if K3b would not swallow it). |
13 |
|
14 |
The bug of growisofs is that it formats the BD-R to Pseudo Overwrite |
15 |
but omits to memorize this new state. |
16 |
If the BD-R is already formatted to Pseudo Overwrite when growisofs |
17 |
inspects it, then its state gets memorized and the inappropriate |
18 |
SCSI command is not issued. |
19 |
|
20 |
My patch proposal just sets the memorizing Pseudo Overwrite flag |
21 |
after the medium has been formatted. So growisofs treats it the |
22 |
same as if it had already been formatted when growisofs first |
23 |
inspected it. |
24 |
This avoids the error. |
25 |
|
26 |
|
27 |
Have a nice day :) |
28 |
|
29 |
Thomas |