Messages in this thread | | | From | Jeff Moyer <> | Subject | Re: aio: compat_ioctl issue? | Date | Mon, 08 Mar 2010 17:25:24 -0500 |
| |
Michael Tokarev <mjt@tls.msk.ru> writes:
> Jeff Moyer wrote: >> Michael Tokarev <mjt@tls.msk.ru> writes: >> >>> Hello. >>> >>> I just come across a situation (next in a long row :) >>> when on x86, 32bit userspace does not work with 64bit >>> kernel. This time this is about aio requests. >>> >>> An application submits some aio job, and it is returned >>> immediately (from io_getevents()) with EINVAL error. > [] >> Can you post the program, please? > > The program which I'm trying is quite big - it's qemu-kvm > v. 0.12.3 compiled with --enable-linux-aio. I bugged > kvm folks about non-working aio support but immediately > realized it's 32/64bit issue in the kernel, since 64bit > kvm works just fine on the same kernel (which is 64bits). > So I added 2 printfs into its linux-aio.c and re-run it.
[snip]
Well, I'm not experiencing such problems. I can run a 32bit aio application on a 64bit kernel just fine with 2.6.31, 2.6.32 and 2.6.34-rc1.
Could you maybe print out the values that are passed to io_getevents?
Thanks, Jeff
| |