qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] qemu 2.1.0rc3 wine-preloader: Unable to find space for applic


From: Roberto Innocenti
Subject: [Qemu-ppc] qemu 2.1.0rc3 wine-preloader: Unable to find space for application
Date: Wed, 30 Jul 2014 02:03:35 -0700

I have compiled qemu 2.1.0rc3 on powerpc (G4 1.67ghz) with debian jessie/unstable, with 1GB of RAM.
I have added foreign archictecture i386 so I have installed wine i386.

I can use perfeclty htop i386 with qemu on my powerpc host.

I have not any problem running wine32 itself
qemu-i386 -R 128M /usr/lib/i386-linux-gnu/wine/bin/wine32
Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit


Wine doesn't create .wine directory so I have copied a .wine directory created on my x86_64 Linux Mint.

Trying to run a windows putty.exe from wine with qemu-i386 ( user mode)
qemu-i386 -strace -R 512M /usr/lib/i386-linux-gnu/wine/bin/wine32 /home/roby/Scaricati/putty.exe

it give me this error:
/usr/lib/i386-linux-gnu/wine/bin/wine-preloader: Unable to find space for application

Playing with -R and reducing it like at 10M I could se an error like "out of memory" given form mmap2, so look like the error: "wine-preloader: Unable to find space for application" is not related to an unsufficient memory on guest vm, even if this message arrive from
line 1760 in qemu-2.1.0-rc3/linux-user/elfload.c

real_start = init_guest_space(host_start, host_size, loaddr, false);
        if (real_start == (unsigned long)-1) {
            errmsg = "Unable to find space for application";
            goto exit_errmsg;
        }


I have already set overcommit vm : echo 1 > /proc/sys/vm/overcommit_memory

I hope you have some sugestion

Thanks

Roberto Innocenti
http://techuman.wordpress.com/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]