[Pkg-opt-media-team] Bug#615978: dvd+rw-tools: While burning ISO Multisession BD-R 50G growisofs reports no space left while 24G+ are available

michael michael.herscheid at positix.de
Tue Mar 1 14:01:40 UTC 2011


Package: dvd+rw-tools
Version: 7.1-6
Severity: important

   We're using growisofs to write BD-R 50G media (iso-level 4 multisession).

   When a couple of sessions are written and the amount of data is above 
25G, growisofs (here: writting 5 files a 1G) fails with error message 
'No space left on device' reporting an negativ count of blocks available 
(see below). dvd+rw-mediainfo reports enough space left.

   When using option overburn, media will be written correctly and data 
could be verified successfully.

   IMHO this should be done without option overburn, because when at 
real end of media reached, using the option overburn may be harmful.

  For further data and further tests required please ask.

   regards,

     michael herscheid

Additional Infos :

error message:

Warning: Creating ISO-9660:1999 (version 2) filesystem.
Warning: ISO-9660 filenames longer than 31 may cause buffer overflows in 
the OS.

Rock Ridge signatures found
:-( /dev/sr3: -1908864 blocks are free, 2621622 to be written!
:-( write failed: No space left on device

dvd+rw-media :

<snip>
READ TRACK INFORMATION[#6]:
  Track State:           invisible incremental
  Track Start Address:   13108288*2KB
  Next Writable Address: 13108288*2KB
  Free Blocks:           11199424*2KB
  Track Size:            11199424*2KB
FABRICATED TOC:
  Track#1  :             14 at 0
  Track#AA :             14 at 24307712
  Multi-session Info:    #1 at 0
READ CAPACITY:          24307712*2048=49782194176
</snip>

Within file growisofs.c line 2424 (if (capacity && (outoff+tracksize) > 
capacity)) these values reported are :

  capacity  : 22936420352
  outoff    : 26845773824
  tracksize : 5369081856

  the check fails and reports an negative result.

The scsi command call (strace) seems to be correct :

ioctl(6, SG_IO, {'S', SG_DXFER_FROM_DEV, cmd[10]=[52, 01, 00, 00, 00, 
06, 00, 00, 20, 00],
       mx_sb_len=64, iovec_count=0, dxfer_len=32, timeout=0, flags=0x3,
       data[32]=["\0&\6\1\0\4a\1\0\310\4@\0\310\4@\0\252\343\300\0\0\0 
\0\252\343\300\0\0\0\0"],
       status=00, masked_status=00, sb[0]=[], host_status=0, 
driver_status=0, resid=0, duration=4, info=0}) = 0

SCSI Call :

   cmd[10]=[52, 01, 00, 00, 00, 06, 00, 00, 20, 00]
   52              READ TRACK INFORMATION
   01              Open false, LTN Flag (Logical Track number)
   00, 00, 00, 06, Get Infos for Track 6
   00              Reserved
   00, 20,         32 bytes Additional Length
                   Track Information Block bytes
   00              Control Byte

SCSI Response :

 
data[32]=["\x00\x26\x06\x01\x00\x04\x61\x01\x00\xc8\x04\x40\x00\xc8\x04\x40\x00\xaa\xe3\xc0\x00\x00\x00\x20\x00\xaa\xe3\xc0\x00\x00\x00\x00"]

         Free Blocks from 16 to 19 : \x00 \xaa \xe3 \xc0
         Free Blocks               : 11199424
         dvd+rw-mediainfo reports  : 11199424 (22936420352)

-- System Information:
Debian Release: 6.0
   APT prefers squeeze-updates
   APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dvd+rw-tools depends on:
ii  genisoimage                   9:1.1.11-1 Creates ISO-9660 CD-ROM 
filesystem
ii  libc6                         2.11.2-10  Embedded GNU C Library: 
Shared lib
ii  libgcc1                       1:4.4.5-8  GCC support library
ii  libstdc++6                    4.4.5-8    The GNU Standard C++ Library v3

dvd+rw-tools recommends no packages.

Versions of packages dvd+rw-tools suggests:
pn  cdrskin                       <none>     (no description available)

-- no debconf information

-- 

_______________________________________
       Firma: positix GmbH
     Adresse: Marie-Curie-Str. 1
              53359 Rheinbach

       Phone: +49 2226 871060
       eMail: michael.herscheid at positix.de
         Web: http://www.positix.de

            Sitz: Rheinbach
Registergericht: Bonn, HRB 15214
     Geschäftsf.: Wiljo Robertz
_______________________________________

Legal Notice: The information transmitted by this E-mail may contain
confidential or privileged material and may constitute non-public
information. This E-mail is intended to be conveyed, read and viewed only to
the designated addressee(s). If you are not a designated
addressee(s) of this E-mail please do not read, copy, print, use or disclose
this communication. Immediately notify/contact the sender and delete this
E-mail, addressee(s) and all attachments from your computer. Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this E-mail or its attachments by persons or entities other
than the designated address is strictly prohibited and may be unlawful.





More information about the Pkg-opt-media-team mailing list