Re: K3b 1.0.1 eject problem

[email protected]
Newsgroups gmane.comp.kde.k3b
Message-ID <[email protected]>
Am Samstag, 23. Juni 2007 21:35 schrieb [email protected]:
> With the patch (k3b-thread.diff), that you sent,
>
> I get the following K3b output (with DVD+RW Video, ejects):
>  ................................
> (K3bDevice::Device) ***ooo_x12_in   ::eject() const
> (K3bDevice::Device) ***ooo_x12a  Q_OS_LINUX
> (K3bDevice::ScsiCommand) ***ooo_x14e           <-- !!!
>
> Conclusion:
> With (DVD+R) K3b doesn't reach "ooo_x14e" to
> execute "m_device->usageUnlock()", so "usageLock()" in
> "::eject() const" cannot be executed.

I want to explain it more exactly.

(I tested it with K3b 1.0.2 and DVD+R/DVD+RW VIDEO)


The reason why K3b doesn't eject (DVD+R) is the line:

   "i = ::ioctl( m_deviceHandle, SG_IO, &d->sgIo )"  (1)

in   "int K3bDevice::ScsiCommand::transport( TransportDirection dir,"

K3b stops before the line:
  
     "usageLock()"

in  "bool K3bDevice::Device::eject() const"

begins, but then the line (1) isn't executed.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
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.