Hi,

after re-reading this diagnosis of the problem by the
author of growisofs
  http://lists.debian.org/cdwrite/2008/07/msg00092.html
i developed a theory.
For details see
  http://lists.alioth.debian.org/pipermail/debburn-devel/2013-June/000924.html

I do not want to use up a blank BD-R for growisofs experiments
(selfish as i am).
So the open question is whether this tiny patch prevents the
inappropriate attempt to execute that CLOSE SESSION command:

--- 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();


Maybe some Ubuntu expert can convert the patch into an end-user-ready
Ubuntu thingy and maybe some end-user is willing to give it a try
when the next BD-R is about to be written.


Have a nice day :)

Thomas

-- 
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:
  New

Bug description:
  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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to