* [Qemu-devel] Raspberry ARM with 32-bit guest
@ 2013-04-04 11:06 Benito
2013-04-04 12:05 ` Andreas Färber
0 siblings, 1 reply; 5+ messages in thread
From: Benito @ 2013-04-04 11:06 UTC (permalink / raw)
To: qemu-devel
Hi
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.
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.. ?
Can I create this guest on a faster machine , and clone itto the Pi's
qemu that runs ARM ?
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Raspberry ARM with 32-bit guest
2013-04-04 11:06 [Qemu-devel] Raspberry ARM with 32-bit guest Benito
@ 2013-04-04 12:05 ` Andreas Färber
2013-04-04 13:11 ` Aurelien Jarno
0 siblings, 1 reply; 5+ messages in thread
From: Andreas Färber @ 2013-04-04 12:05 UTC (permalink / raw)
To: Benito; +Cc: Michael Tokarev, qemu-devel
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
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Raspberry ARM with 32-bit guest
2013-04-04 12:05 ` Andreas Färber
@ 2013-04-04 13:11 ` Aurelien Jarno
2013-04-04 13:17 ` Peter Maydell
0 siblings, 1 reply; 5+ messages in thread
From: Aurelien Jarno @ 2013-04-04 13:11 UTC (permalink / raw)
To: Andreas Färber; +Cc: Michael Tokarev, qemu-devel, Benito
On Thu, Apr 04, 2013 at 02:05:59PM +0200, Andreas Färber wrote:
> 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.
>
qemu-system-i386 is likely to be broken on arm hosts, I have never been
able to boot a Linux distribution further than grub. Other architectures
seems to work better though.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Raspberry ARM with 32-bit guest
2013-04-04 13:11 ` Aurelien Jarno
@ 2013-04-04 13:17 ` Peter Maydell
2013-04-05 6:36 ` Benito
0 siblings, 1 reply; 5+ messages in thread
From: Peter Maydell @ 2013-04-04 13:17 UTC (permalink / raw)
To: Aurelien Jarno; +Cc: Benito, Michael Tokarev, Andreas Färber, qemu-devel
On 4 April 2013 14:11, Aurelien Jarno <aurelien@aurel32.net> wrote:
> qemu-system-i386 is likely to be broken on arm hosts, I have never been
> able to boot a Linux distribution further than grub. Other architectures
> seems to work better though.
Try making the guest CPU a 486 -- we've found in the past that
something in early boot divides by zero based on RDTSC values
ending up too close together [cf some comments by David Gilbert
in https://bugs.launchpad.net/qemu-linaro/+bug/893208]
I don't know if this is the result of the host CPU just being
too slow or of our RDTSC emulation not being very good...
-- PMM
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Raspberry ARM with 32-bit guest
2013-04-04 13:17 ` Peter Maydell
@ 2013-04-05 6:36 ` Benito
0 siblings, 0 replies; 5+ messages in thread
From: Benito @ 2013-04-05 6:36 UTC (permalink / raw)
To: qemu-devel
I've tried , no difference. Same result for puppy, centos and fedora.
CPU seems to be 99% used and nothing happens.
On 04/04/2013 03:17 PM, Peter Maydell wrote:
> On 4 April 2013 14:11, Aurelien Jarno <aurelien@aurel32.net> wrote:
>> qemu-system-i386 is likely to be broken on arm hosts, I have never been
>> able to boot a Linux distribution further than grub. Other architectures
>> seems to work better though.
> Try making the guest CPU a 486 -- we've found in the past that
> something in early boot divides by zero based on RDTSC values
> ending up too close together [cf some comments by David Gilbert
> in https://bugs.launchpad.net/qemu-linaro/+bug/893208]
>
> I don't know if this is the result of the host CPU just being
> too slow or of our RDTSC emulation not being very good...
>
> -- PMM
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-04-05 6:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 11:06 [Qemu-devel] Raspberry ARM with 32-bit guest Benito
2013-04-04 12:05 ` Andreas Färber
2013-04-04 13:11 ` Aurelien Jarno
2013-04-04 13:17 ` Peter Maydell
2013-04-05 6:36 ` Benito
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).