← Back to team overview

desktop-packages team mailing list archive

[Bug 1113679] Re: Close session failed when burning 25gb blu-ray disc

 

** Branch linked: lp:~ubuntu-branches/ubuntu/vivid/dvd+rw-tools/vivid-
proposed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to dvd+rw-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1113679

Title:
  Close session failed when burning 25gb blu-ray disc

Status in dvd+rw-tools package in Ubuntu:
  Confirmed
Status in dvd+rw-tools source package in Trusty:
  New
Status in dvd+rw-tools source package in Utopic:
  New

Bug description:
  [Impact] 
   * All users of growisofs (including users of frontends like k3b) get a spurious IO error at the end of writing a blue-ray BD-R medium
   * The fix is very simple and just a single line, details in http://lists.alioth.debian.org/pipermail/debburn-devel/2013-June/000924.html

  [Test Case]
   * you need a blue-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-CT14:~/Downloads$ lsb_release -rd
  Description:	Ubuntu Raring Ringtail (development branch)
  Release:	13.04
  rick@rick-CT14:~/Downloads$ apt-cache policy growisofs
  growisofs:
    Installed: 7.1-10build1
    Candidate: 7.1-10build1
    Version table:
   *** 7.1-10build1 0
          500 http://us.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
          100 /var/lib/dpkg/status

  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://www.troubleshooters.com/linux/blu-ray-backup.htm

  # 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/24000000000 (98.1%) @1.7x, remaining 0:55 RBU 100.0% UBU  62.9%
  23579131904/24000000000 (98.2%) @2.0x, remaining 0:52 RBU 100.0% UBU  59.7%
  23603773440/24000000000 (98.3%) @1.6x, remaining 0:49 RBU 100.0% UBU  60.8%
  23631527936/24000000000 (98.5%) @1.9x, remaining 0:45 RBU 100.0% UBU  59.7%
  23658037248/24000000000 (98.6%) @1.8x, remaining 0:42 RBU 100.0% UBU  61.8%
  23682940928/24000000000 (98.7%) @1.7x, remaining 0:39 RBU  99.9% UBU  57.5%
  23712301056/24000000000 (98.8%) @2.0x, remaining 0:35 RBU 100.0% UBU  65.1%
  23736418304/24000000000 (98.9%) @1.6x, remaining 0:32 RBU 100.0% UBU  60.8%
  23765581824/24000000000 (99.0%) @1.9x, remaining 0:28 RBU 100.0% UBU  60.8%
  23790682112/24000000000 (99.1%) @1.7x, remaining 0:25 RBU 100.0% UBU  61.8%
  23820435456/24000000000 (99.3%) @2.0x, remaining 0:22 RBU 100.0% UBU  57.5%
  23844945920/24000000000 (99.4%) @1.6x, remaining 0:19 RBU 100.0% UBU  59.7%
  23872045056/24000000000 (99.5%) @1.8x, remaining 0:15 RBU 100.0% UBU  53.2%
  23899209728/24000000000 (99.6%) @1.8x, remaining 0:12 RBU 100.0% UBU  66.1%
  23924441088/24000000000 (99.7%) @1.7x, remaining 0:09 RBU 100.0% UBU  43.5%
  23953473536/24000000000 (99.8%) @1.9x, remaining 0:05 RBU 100.0% UBU  60.8%
  23979655168/24000000000 (99.9%) @1.7x, remaining 0:02 RBU  59.0% UBU  45.7%
  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-CT14:/media/rick/video$

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dvd+rw-tools/+bug/1113679/+subscriptions