On Mon, Mar 17, 2008 at 09:50:43PM +0100, Flavio wrote:
> Here's the strace log file attached to this mail.
> Note that it's a compressed text file (as you can see), but once it
> has been uncompressed, it occupies about 75 MBytes.
This is the relevant bit:
ioctl(16, CDROMEJECT, 0) = -1 EIO (Input/output error)
CDROMEJECT doesn't work on the host, so it's not going to work from
inside UML.
As a sanity-check, you can do this again, look for the line above, and
make sure the file descriptor (16 in this case) refers to /dev/cdrom.
Look in /proc/<pid>/fd for the same pid that you strace.
As another sanity-check, strace eject running on the host. It's
possible that CDROMEJECT fails the same way and one of its fallbacks
works. In that case, I just need to make UML use the same fallbacks.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user