lkml.org 
[lkml]   [2010]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: aio: compat_ioctl issue?
Date
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


\
 
 \ /
  Last update: 2010-03-08 23:29    [W:0.051 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site