* [Qemu-devel] Fwd: Re: Raspberry ARM with 32-bit guest
[not found] <515D755A.7060500@itcsnam.com>
@ 2013-04-04 14:06 ` Benito
2013-04-04 14:27 ` Peter Maydell
0 siblings, 1 reply; 2+ messages in thread
From: Benito @ 2013-04-04 14:06 UTC (permalink / raw)
To: qemu-devel; +Cc: mjt, "afaerber@suse.de >> Andreas Färber"
[-- Attachment #1: Type: text/plain, Size: 3012 bytes --]
Ok , I do have a qemu-system-i386 :
pi@raspberrypi / $ qemu-system-i386 --version
QEMU emulator version 1.1.2 (Debian 1.1.2+dfsg-6a), Copyright (c)
2003-2008 Fabrice Bellard
My intention is to run an old application , that used to run on
FedoraCore2,also a modified version of the app runs on Centos 5.1/6.3
also Fedora 14 .
The problem lies with glibc. The glibc in newer kernels , is backwards
compatible up to a certain point, but not far enough. The version I
require is GLIBC.2.0
also, the app never ran on debian , always fedora/Red hat and Centos ,
hence the emulation of i386 on ARM. So it requires ld-linux.so.2 ,
libc.so.6 and so on.
The RPM Package for glibc-2.12.90-1mgc25.i686.rpm , is the package for
fc14. - in the /lib directory of FC14 :
[root@mdr lib]# ls -al libc.so.6
lrwxrwxrwx. 1 root root 15 Oct 22 2010 libc.so.6 -> libc-2.12.90.so
Now there are only a few of these libraries, like /lib/ld-linux.so.2
/lib/libm.so.6 that are needed to run.
Do you mean there's a possibility that I'd be able to run the libraries,
via the qemu-i386 and
manage to get the app working? Also should i try and use
qemu-system-i386 and try it the same way I did with only qemu?
I have a Model B pi, 512 MB RAM ,Disk space : rootfs 3.6G 2.0G 1.5G
57% / (the puppy iso is 130 MB , the centos one is +- 300 ) This should
suffice right ?
Thank you so much for your response
Regards
> Hi,
>
> Am 04.04.2013 13:06, schrieb Benito:
>> I know this might absurd, but
>> I'm trying to run a 32-bit guest on a Raspberry Pi - Raspbian OS -
>> Debian Wheezy ARM
>> I have used :
>>
>> qemu-img create -f raw harddrive.raw 700M
>> qemu -hda harddrive.raw -cdrom fedora14.iso
>>
>> I've installed qemu via apt-get install qemu on the Pi.
> You're not providing sufficient details for the upstream community to
> help you, so CC'ing the Debian maintainer. "qemu" sounds rather old,
> it's qemu-system-i386 since several versions already.
>
> Did you check that you have sufficient RAM on your Raspi? Or disk space
> on your SD card / USB disk? Disk images are created sparse, and when the
> host runs out of resources lots of things can happen.
>
>> After I do the 2nd command, the guest os starts up , but soon consumes
>> 100% cpu , and then hangs. Tried with puppy 511 , centos6.3 minimal ,
>> fedora14
>>
>> Is there a way to run any of these in "invisible" mode or user mode ,
>> and get past this obstacle.. ?
> qemu-i386 can execute individual Linux binaries, with a bunch of known
> issues. Might or might not work for you - you don't say what you
> actually want to do.
>
>> Can I create this guest on a faster machine , and clone itto the Pi's
>> qemu that runs ARM ?
> Yes. The disk image is just a file.
>
> Regards,
> Andreas
>
>> Also am I missing something regarding the creation of the guest? I don't
>> need a GUI for the guest, just need to be able to get to it and execute
>> commands.
>> Please could someone point me in the right direction ?
>>
>> Kind Regards
>> Benito
[-- Attachment #2: Type: text/html, Size: 4313 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] Fwd: Re: Raspberry ARM with 32-bit guest
2013-04-04 14:06 ` [Qemu-devel] Fwd: Re: Raspberry ARM with 32-bit guest Benito
@ 2013-04-04 14:27 ` Peter Maydell
0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2013-04-04 14:27 UTC (permalink / raw)
To: Benito
Cc: mjt, qemu-devel,
"afaerber@suse.de >> Andreas Färber"
On 4 April 2013 15:06, Benito <benito@itcsnam.com> wrote:
> Do you mean there's a possibility that I'd be able to run the libraries, via
> the qemu-i386 and manage to get the app working?
This depends. If your application doesn't use fork() and doesn't
use multiple threads then you may have a reasonable chance.
Otherwise, probably not.
-- PMM
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-04 14:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <515D755A.7060500@itcsnam.com>
2013-04-04 14:06 ` [Qemu-devel] Fwd: Re: Raspberry ARM with 32-bit guest Benito
2013-04-04 14:27 ` Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).