On Wed, Jan 29, 2014 at 12:34 PM, Arnd Bergmann <a...@arndb.de> wrote:
> On Wednesday 29 January 2014 17:40:54 Wookey wrote:
>> +++ Arnd Bergmann [2014-01-29 18:14 +0100]:
>> > On Wednesday 29 January 2014 16:36:49 Wookey wrote:
>> > > Running 32-bit binaries is quite seriously broken until this is fixed. I
>> > > presume this currently isn't on anyone's list to fix? I'm not sure who's
>> > > list it should go on.
>> >
>> > Are you running with 4KB or 64KB page size in the kernel? IIRC you
>> > cannot really run 32-bit binaries with 64KB page size because of
>> > related issues.
>>
>> I'm not sure. The kernel config has:
>> CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
>> # CONFIG_ARM64_64K_PAGES is not set
>> CONFIG_PAGEFLAGS_EXTENDED=y
>> # CONFIG_TRANSPARENT_HUGEPAGE is not set
>>
>> Is that using 64K pages or not?
>
> This is 4K pages, so I was on the wrong track here.
>
>> Is there a dynamic switch I can twiddle or does it need a kernel rebuild?
>
> If you turn on CONFIG_ARM64_64K_PAGES, you probably won't be able to
> load any 32-bit executables any more, or more will fail.

You definitely need 64K pages disabled and you also need CONFIG_COMPAT=y.

FWIW, I have 64-bit QEMU system level emulation working, but 32-bit
userspace is not working for me.

Rob

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to