Bug 153707

Summary: k3b lies, when real writtes to DVD-R(W) in simulate mode
Product: [openSUSE] SUSE Linux 10.1 Reporter: Petr Ostadal <postadal>
Component: KDEAssignee: Lubos Lunak <llunak>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: kde-maintainers
Version: Beta 5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Petr Ostadal 2006-02-27 15:51:24 UTC
K3b broke my DVD-R when I canceled simulation of DVD-R in burning DVD iso image.

In debugging output I found following command where is missing -dry-run option when start simulate mode. see:

growisofs command:
-----------------------
/usr/bin/growisofs -Z /dev/hda=/tmp/kde-postadal/k3b_image.img -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=dummy -dvd-compat -speed=1

How reproduce it:
prepare dvd iso image and some "empty" DVD-R(W)
menu->tools->Burn DVD ISO Image...
check Simulate box
click start
wait a minute and click cancel and see what happen with medium ;)

And same result is from burning dvd data project:
growisofs command:
-----------------------
/usr/bin/growisofs -Z /dev/hda=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:17579 -use-the-force-luke=dummy -dvd-compat -speed=2
Comment 1 Stephan Kulow 2006-02-28 13:27:37 UTC
that looks more severe than major. Lubos, do you have a DVD-R(W) drive handy in prague?
Comment 2 Lubos Lunak 2006-02-28 13:51:27 UTC
From the what's this help for the simulate checkbox: "Caution: DVD+R(W) does not support simulated writing." So this may be a feature. I'll mail the authors.

Comment 3 Petr Ostadal 2006-02-28 14:06:29 UTC
But the problem is with DVD-R(W).
Comment 4 Stephan Kulow 2006-02-28 14:09:09 UTC
the whatsthis help isn't really the best place for such a warning anyway ;(
Comment 5 Lubos Lunak 2006-02-28 14:31:32 UTC
Nevermind, I mixed +'s and -'s . However, I've just successfully simulated burning on a DVD-RW media (in a combined drive though). According to the k3b source the option that turns on simulation should be -use-the-force-luke=dummy, which is included in the above-pasted commands (and http://www.justlinux.com/forum/showthread.php?threadid=138059 says that it's "Engage "Test Write" mode defined for DVD-R and DVD-RW Sequential.").

So this is either growisofs bug or a problem with the drive/media/whatever, but it's unlikely it's k3b (and k3b BTW actually does warn in cases like trying to simulate writing with DVD+RW). Petr says that his drive seems to cause some other trouble and that it's okay to close this.