Bug 73616 - k3b should not eject CD/DVD after burning when it is verifying it afterwards
Summary: k3b should not eject CD/DVD after burning when it is verifying it afterwards
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
: 81056 92935 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-27 17:11 UTC by Christian Banik
Modified: 2007-04-25 18:09 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Banik 2004-01-27 17:11:58 UTC
Version:           0.10.3 (using KDE 3.2.0 RC1, Gentoo)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
OS:          Linux (i686) release 2.4.20-gentoo-r9

k3b automatically ejects and reloads the CD/DVD between burning and verifying, no matter if "Eject after burn" is selected or not.

As my notebook-drive is not able to reload the medium automatically, I have to be at the computer when burning is finished to manually reload the medium.

It would be good to start verifying after burning without ejecting the CD/DVD.
Comment 1 Stephan Binner 2004-11-30 17:11:10 UTC
*** Bug 92935 has been marked as a duplicate of this bug. ***
Comment 2 Raven Morris 2004-12-31 06:43:49 UTC
Ejecting the CD is reuquired by some disc drives to properly burn the media.  If your drive is not one of these, just disable ejecting after the burn and your problem will go away, will it not ?
Comment 3 Leonardo Ferreira Fontenelle 2004-12-31 09:01:05 UTC
Yes, it will. But wait, I *like* the ejection, makes me feel comfortable to do something else while the CD is been burned. I just think that, if it's feasable to eject it only once, it would be better.
Comment 4 greatbunzinni 2005-07-16 23:47:51 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Sebastian Trueg 2005-07-17 21:24:58 UTC
*** Bug 81056 has been marked as a duplicate of this bug. ***
Comment 6 Sebastian Trueg 2005-07-17 21:26:22 UTC
As far as I know linux still needs the cd/dvd to be ejected after burning to return to a proper state. That's why I kepp this eject between stuff.
Comment 7 Andreas R. 2006-03-25 20:42:03 UTC
> As far as I know linux still needs the cd/dvd to be ejected after burning to
> return to a proper state. That's why I kepp this eject between stuff. 

One could still implement the option, but discourage its use.
This way the users would have the option to find out if this is still necessary and to check if it perhaps works for them.
Comment 8 James Broadhead 2006-08-17 18:09:05 UTC
I also think that this is an extremely annoying problem - when I leave my laptop to burn a disc, it cannot verify until I return to it. 

I have "Do not eject after burn" set, but the disc is still ejected after burn, before verify.

What is the reason for linux needing to eject the disc? Can this be circumvented?
Comment 9 Sebastian Trueg 2006-08-18 09:56:33 UTC
On Thursday 17 August 2006 18:09, Jim Broadhead wrote:
> What is the reason for linux needing to eject the disc? Can this be
> circumvented?


not to my knowledge.
Comment 10 Oscar 2006-10-03 13:07:57 UTC
There is yet another reason why this annoying. I use Linux on my desktop, and although the opening/closing of the tray is automatic (unlike laptops) when the  medium goes back in, with the recorded data, it will be detected by the hal deamon, which will then prompt me on what to, and having to close that pop-up window easily becomes very annoying...
If the intermediate eject cannot be avoided, at least is there a way of bypassing medium detection when closing back the tray?
Comment 11 Robert Grønning 2007-04-23 22:49:48 UTC
When I run the following command the result is the same as if I'd have with K3b, _but_ doesn't eject the disk between burning and verifying (and it still works), Why can I do this manually but K3b can't ?

wodim cd.iso;md5sum cd.iso;md5sum /dev/hdb;eject /dev/hdb
Comment 12 Sebastian Trueg 2007-04-23 23:04:48 UTC
the problem is not that k3b cannot do it. All I would have to do is remove the reload command but I just think it is necessary in most situations. Maybe that changed with a later kernel version. I don't know.
Comment 13 Robert Grønning 2007-04-24 01:10:34 UTC
I don't quite understand the problem, doesn't the command in my last post work on older kernels?
Is it possible to get a checked radiobox in the GUI that says something like "Reload the disk before verification (recommended)" and disable it if the "verify after burn" is unchecked?
If that's not possible the very least would be to have a optional compiler flag like --noreload
Comment 14 Sebastian Trueg 2007-04-25 10:35:56 UTC
I just commited a fix to this bug which bounced since you already closed this as WONTFIX.
Actually you were right and the only problem is with mounting. It seems linux does some caching or whatever so new data will not show up until reloaded.
However, K3b does not mount for verification and does not use any filesystem drivers either but reads the plain data from the disk. Thus, no reloading necessary and K3b svn (soon to become 1.1) does not do it anymore.
Thanks for insisting. :)
Comment 15 Sebastian Trueg 2007-04-25 10:36:27 UTC
this is really fixed.
Comment 16 Sebastian Trueg 2007-04-25 10:36:36 UTC
*** Bug has been marked as fixed ***.
Comment 17 Robert Grønning 2007-04-25 17:44:39 UTC
Thanks for fixing this bug, I really appreciate it!
So the disk still needs to be reloaded after the verification to be able to mount it and see the content, I'll have a look into it and see if there's solution to this too.

Ps. You closed it as WONTFIX, not me :)
Comment 18 Sebastian Trueg 2007-04-25 18:09:47 UTC
> Thanks for fixing this bug, I really appreciate it!
> So the disk still needs to be reloaded after the verification to be able to
> mount it and see the content, I'll have a look into it and see if there's


yes, exactly. But that is no longer a problem as far as K3b is concerned since 
you can always disable the automatic ejection in K3b.

> solution to this too.


Maybe there is some kernel call to reset the drives data or whatever, I don't 
know.

> Ps. You closed it as WONTFIX, not me :)


ups, sorry... my bad.