Close session failed when burning 25gb blu-ray disc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dvd+rw-tools (Debian) |
Fix Released
|
Unknown
|
|||
dvd+rw-tools (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Trusty |
Won't Fix
|
Low
|
Unassigned | ||
Utopic |
Won't Fix
|
Low
|
Unassigned |
Bug Description
[Impact]
* All users of growisofs (including users of frontends like k3b) get a spurious IO error at the end of writing a blu-ray BD-R medium
* The fix is very simple and just a single line, details in http://
[Test Case]
* you need a blu-ray BD-R medium and e.g. k3b
* create a data project with e.g. 22GB
* write using a blank BD-R
* observe a IO error at the end of the write (the disc is fine though)
* install growisofs from -updates
* repeat the test and verify that there is no write error this time
* bonus points for checking "verify written data" in the burn dialog of k3b
[Regression Potential]
* its already showing a IO error at the end, its unlikely that the patch makes it worse
------------
I create an image burn and then try to use growisofs to burn it to a 25GB blu-ray recordable disc using Ubuntu 13.04 (64-bit).
rick@rick-
Description: Ubuntu Raring Ringtail (development branch)
Release: 13.04
rick@rick-
growisofs:
Installed: 7.1-10build1
Candidate: 7.1-10build1
Version table:
*** 7.1-10build1 0
500 http://
100 /var/lib/
I expected to burn a blu-ray 25GB disc without error messages and without corrupted files. I get a "close session failed" error message with posssibly corrupted files. Even if the files aren't corrupted, it is disconcerting.
I followed the procedure outlined by Steve Litt: http://
# Create empty file
truncate --size=24GB mybr2.udf
# Create udf file system
mkudffs mybr2.udf
# Mount file system
sudo mount -oloop,rw mybr2.udf /mnt/test
# Change ownership
sudo chown rick.rick /mnt/test
# Copy files into the mounted file system
# Unmount file system
sudo umount /dev/loop1
Everything above works as expected without problems.
# Burn to blank blu ray (25GB) empty disc
growisofs -speed=4 -Z /dev/sr0=mybr2.udf
Here is the key part at the end:
23549509632/
23579131904/
23603773440/
23631527936/
23658037248/
23682940928/
23712301056/
23736418304/
23765581824/
23790682112/
23820435456/
23844945920/
23872045056/
23899209728/
23924441088/
23953473536/
23979655168/
builtin_dd: 11718752*2KB out @ average 1.8x4390KBps
/dev/sr0: flushing cache
/dev/sr0: closing track
/dev/sr0: closing session
:-[ CLOSE SESSION failed with SK=5h/INVALID FIELD IN CDB]: Input/output error
/dev/sr0: reloading tray
rick@rick-
The resulting blu-ray disc has the same total number of bytes as the file system. I haven't found any bad files on the disc. I've tried using k3b which "sort of" works but also has problems closing the disc (and in some cases some files are corrupted or bad). I've used the demo version of Nero for Linux on the same system - it creates a blu-ray disc without reporting any errors or problems. I'd rather not have to depend on proprietary software.
affects: | dvd+rw-tools (Ubuntu) → ubuntu |
affects: | ubuntu → dvd+rw-tools (Ubuntu) |
description: | updated |
Changed in dvd+rw-tools (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in dvd+rw-tools (Ubuntu Utopic): | |
status: | New → In Progress |
Changed in dvd+rw-tools (Ubuntu): | |
importance: | Undecided → Low |
Changed in dvd+rw-tools (Ubuntu Trusty): | |
importance: | Undecided → Low |
Changed in dvd+rw-tools (Ubuntu Utopic): | |
importance: | Undecided → Low |
status: | Fix Committed → Won't Fix |
tags: |
added: verification-needed removed: verification-failed |
Changed in dvd+rw-tools (Debian): | |
status: | Unknown → Fix Released |
The first line should be: I created an image to burn and then ...