On 24/03/2008, Jeff Dike <[EMAIL PROTECTED]> wrote:
> Yup - I'm mystified as to why arg == 1 isn't happening with the UML.
> Can you change the "arg" to just a literal "1" and see what the strace
> looks like?
Hello Jeff, I'm mystified too.
This is the strace result after modifying the corresponding line as you want.
ioctl(16, CDROMEJECT, 0x1) = -1 EIO (Input/output error)
I have a n00b suspect: is it possible that the ubd_kern.c module isn't compiled?
In other words: it might be that the ubd_kern.c kernel menuconfig
option isn't selected.
Anyway, I don't think so, because, the result above, is changed, but
it's only a suspect.
Looking for ubd inside the kernel configuration, it returns:
Symbol: BLK_DEV_UBD [=y]
Prompt: Virtual block device
Defined at drivers/block/Kconfig:174
Depends on: BLK_DEV && UML
Location:
-> Block devices (BLK_DEV [=y])
Symbol: BLK_DEV_UBD_SYNC [=n]
Prompt: Always do synchronous disk IO for UBD
Defined at drivers/block/Kconfig:183
Depends on: BLK_DEV && BLK_DEV_UBD
Location:
-> Block devices (BLK_DEV [=y])
-> Virtual block device (BLK_DEV_UBD [=y])
What's wrong?
Thank you,
Flavio
> 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