On Fri, Mar 14, 2008 at 11:59:38PM +0100, Flavio wrote:
> Let me give you the strace eject /dev/ubd2 again, it may helps you to
> understand.
> (I don't know if it's the same strace I posted before)

It changed from 

> >  > ioctl(3, CDROMEJECT, 0)                 = -1 EINVAL (Invalid argument)

to

> ioctl(3, CDROMEJECT, 0)                 = -1 EIO (Input/output error)

Maybe that's an improvement.

Can you do a strace -e ioctl on UML while you try eject inside UML?

My patch just passes the ioctl along to the host, so it looks like the
host is returning -EIO now.

                       Jeff

-- 
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to