qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Booting AIX / First try w/QEMU


From: Natalia Portillo
Subject: Re: [Qemu-devel] Booting AIX / First try w/QEMU
Date: Wed, 14 Oct 2009 22:16:53 +0100

AIX can INDEED boot from PowerPC.

Versions and so it depends.

AIX can also boot from PReP hardware, and PReP is emulated under QEMU.

If you need testing I have AIX from 4.1 to 6.1.

http://en.wikipedia.org/wiki/PReP
http://en.wikipedia.org/wiki/Common_Hardware_Reference_Platform

CHRP was intended to be the sucessor of PReP but mostly did not have a lot of machines.

Even the Macintosh Server (that used AIX) was a PReP machine.

Power Macintosh can be seen as a derivate of CHRP, and BeBox are indeed no more than a PReP machine with a specific firmware.

El 14/10/2009, a las 16:07, Laurent Vivier escribió:

Lauren,

Please be cognizant of the fact that yesterday was the first time I
downloaded, compiled, and ever tried QEMU, so I apologize for the
"ID-10T" questions.

BUG 1:

When you say that booting AIX 6.1 impels the requisite of emulating a
"CHRP with at least a POWER4"", are you saying QEMU cannot do this, or
I need to assert different command line arguments?

Qemu emulate a CHRP but the Apple implementation, I don't know if AIX is able to manage it. I don't think Qemu emulates POWER4.
So I don't think you can run AIX6.1 with Qemu.

What requisites would booting AIX 5.3 impel?

At least POWER3, I think.

My goal would be to try to have access to both via an emulated
environment, if possible.

If the OpenBIOS will not work, what BIOS would work?

None...


BUG 2:

How do I get the OpenBIOS updates and integrate them into recompiling
QEMU, or can I just somehow get a compiled update of OpenBIOS and drop
it in the correct QEMU directory?

I am not too familiar with SVN or its command structure either.

I can send you a binary... but I think it is useless.


V/R,

Stuart


Quoting "Laurent Vivier" <address@hidden>:

To whom it shall concern,

I have absolutely no time for mailing lists or to spend much time on this other than to report the bug, so please understand I am just here
to report this, and have little time for continued testing of it. I
leave that to you, the developers.

I ran into two different bugs attempting to try QEMU 0.11, under
CentOS 5.3 64bit (fully updated), QEMU compiled from source
flawlessly, while under under VirtualBox on a Lenvo T400 laptop.

My goal was to try to boot an AIX CDROM from QEMU 0.11 (AIX 6.1), I
never got that far due to these bugs.


Bug #1:

It seems to complain about some 1MB BIOS file being missing or
dysfunctional, really I did not see any BIOS files that big, so, I
gave up with this type of boot. Then I tried below, "Bug #2", met with
more problems, so I gave up entirely as I had no more time to play
with it.

/usr/local/bin/qemu-system-ppc -nographic -hda aix.raw -cdrom
./Image_091013_1359.iso -M prep
qemu: hardware error: PowerPC 601 / 620 / 970 need a 1MB BIOS

CPU #0:
NIP fff00100   LR 00000000 CTR 00000000 XER 00000000
MSR 00000040 HID0 00000000  HF 00000000 idx 1
TB 00000000 00000000 DECR ffffffff
GPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
CR 00000000  [ -  -  -  -  -  -  -  -  ]             RES ffffffff
FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR 00000000
SRR0 00000000 SRR1 00000000 SDR1 00000000
t: line 5: 11668 Aborted
/usr/local/bin/qemu-system-ppc -nographic -hda aix.raw -cdrom
./Image_091013_1359.iso -M prep
address@hidden qemu]#

To boot AIX6.1, you must emulate a CHRP with at least a POWER4.
Moreover, AIX6.1 needs the hypervisor support in OpenFirmware (which
is not the case of OpenBIOS).


Bug #2: never even tries to boot from CD-ROM and gives some wildly odd
error and display messages.


/usr/local/bin/qemu-system-ppc -nographic -hda aix.raw -cdrom
./Image_091013_1359.iso -M g3beige

=============================================================
OpenBIOS 1.0 [Jul 5 2009 17:36]
Configuration device id QEMU version 1 machine id 2
CPUs: 1
Memory: 128M
UUID: 00000000-0000-0000-0000-000000000000
CPU type PowerPC,750
Welcome to OpenBIOS v1.0 built on Jul 5 2009 17:36

*** Boot failure! No secondary bootloader specified ***

0 > boot cdrom
partition 2 does not exist

partition 2 does not exist

partition 2 does not exist

partition 2 does not exist

partition 2 does not exist

partition 2 does not exist

partition 2 does not exist

partition 2 does not exist

partition 2 does not exist

partition 2 does not exist

partition 2 does not exist

This should be corrected in OpenBIOS HEAD SVN repository.

*** Boot failure! No secondary bootloader specified ***
*** Boot failure! No secondary bootloader specified ***
*** Boot failure! No secondary bootloader specified ***
*** Boot failure! No secondary bootloader specified ***
*** Boot failure! No secondary bootloader specified ***
*** Boot failure! No secondary bootloader specified ***
*** Boot failure! No secondary bootloader specified ***
*** Boot failure! No secondary bootloader specified ***
*** Boot failure! No secondary bootloader specified ***
*** Boot failure! No secondary bootloader specified ***
*** Boot failure! No secondary bootloader specified ***
ok

Regards,
Laurent
--
--------------------- address@hidden  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard




--
IT2 Stuart Blake Tener, USNR, N3GWG (Extra), MROP
Beverly Hills, CA / Las Vegas, NV / Philadelphia, PA / Washington, DC
mobile: (310) 358-0202
Nextel: 124*233172*14 (direct connect)
e-mail: address@hidden




--
--------------------- address@hidden  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard







reply via email to

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