growisofs doesn't check available space when using defect management on Blu-ray?

Alexander Shaduri <[email protected]>
Newsgroups gmane.comp.audio.cd-record
Message-ID <[email protected]>
Hello,

I have dvd+rw-tools-7.1 (on openSUSE 11.3 x86-64). I tried writing
some files to a blu-ray disk (using k3b as a frontend to growisofs), but
write aborted near the end with:

---------------------------------
...
24749473792/24813379584 (99.7%) @1.7x, remaining 0:08 RBU 100.0% UBU 100.0%
24756846592/24813379584 (99.8%) @0.5x, remaining 0:07 RBU 100.0% UBU 100.0%
:-[ WRITE@LBA=b87400h failed with SK=5h/INVALID FIELD IN CDB]: Input/output error
:-( write failed: Input/output error
/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
---------------------------------

Writer: Pioneer BDR-205 (1.09 firmware).
Media: Some TDK 25 G disks.

The files were on a ntfs-3g-mounted partition, some of them were larger
than 7 gigs (if it makes any difference). I used UDF + RR.
The resulting disk was mountable, but most files contained some random
garbage.

Note that Nero under windows was able to write them (to a similar disk),
but didn't use any defect management.

Also, both k3b and Nero showed the remaining space as ~200 MB, k3b
apparently not taking into account the 250MB growisofs reserves.

So, my question is, why didn't growisofs detect that the files + reserved space
wouldn't fit to the media? Is this a bug? Or is it a different issue entirely?
I'm afraid of doing more tests as I have few disks left and I don't have BD-RE
disks yet (I'm getting them soon though).

I also tried writing fewer files (about 1 G free space left), and all went ok.

Commands as executed by k3b:

growisofs command:
/usr/bin/growisofs -Z /dev/sr0=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=4gms -use-the-force-luke=tracksize:12115908 -speed=4 -use-the-force-luke=bufsize:32m

mkisofs calculate size command:
/usr/bin/genisoimage -gui -graft-points -print-size -quiet -volid Games br 01 -volset  -appid  -publisher  -preparer alex -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /home/alex/.kde4/tmp-linux/k3bk21568.tmp -rational-rock -hide-list /home/alex/.kde4/tmp-linux/k3bE21568.tmp -joliet -joliet-long -hide-joliet-list /home/alex/.kde4/tmp-linux/k3bR21568.tmp -no-cache-inodes -allow-limited-size -udf -full-iso9660-filenames -hide-joliet-trans-tbl -iso-level 3 -path-list /home/alex/.kde4/tmp-linux/k3bV21568.tmp

mkisofs command:
/usr/bin/genisoimage -gui -graft-points -volid Test br 01 -volset  -appid  -publisher  -preparer alex -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /home/alex/.kde4/tmp-linux/k3bB21568.tmp -rational-rock -hide-list /home/alex/.kde4/tmp-linux/k3bt21568.tmp -joliet -joliet-long -hide-joliet-list /home/alex/.kde4/tmp-linux/k3bE21568.tmp -no-cache-inodes -allow-limited-size -udf -full-iso9660-filenames -hide-joliet-trans-tbl -iso-level 3 -path-list /home/alex/.kde4/tmp-linux/k3bj21568.tmp


Thanks a lot in advance,
Alexander


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.