Skip to contentSkip to conversation

Booting AIX / First try w/QEMU

Qemu-devel Laurent Vivier 4 participants 6 messages Oct 14, 2009 – Oct 15, 2009

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines

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.

Quoted 1 line

What requisites would booting AIX 5.3 impel?

At least POWER3, I think.

Quoted 4 lines

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...

Quoted 8 lines

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.

Quoted 141 lines

V/R,

Stuart

Quoting "Laurent Vivier" <[email protected]>:

Quoted 123 lines
Quoted 46 lines

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

Quoted 8 lines

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
[root@localhost 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).

Quoted 15 lines

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

Quoted 7 lines
Quoted 7 lines

=============================================================
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

Quoted 26 lines

Welcome to OpenBIOS v1.0 built on Jul 5 2009 17:36

Quoted 1 line
Quoted 1 line

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

0 > boot cdrom

Quoted 21 lines
Quoted 21 lines

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.

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

*** 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 ***

Quoted 1 line

ok

Regards,
Laurent
--
--------------------- [email protected] ---------------------
"Tout ce qui est impossible reste à accomplir" Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard

Signature · 5 lines
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: [email protected]
Signature · 3 lines
--------------------- [email protected]  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard
#1 lore raw

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.

Quoted 187 lines · Laurent Vivier
Quoted 11 lines

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.

Quoted 1 line

What requisites would booting AIX 5.3 impel?

At least POWER3, I think.

Quoted 4 lines

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...

Quoted 8 lines

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.

Quoted 141 lines

V/R,

Stuart

Quoting "Laurent Vivier" <[email protected]>:

Quoted 123 lines
Quoted 46 lines

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

Quoted 8 lines

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
[root@localhost 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).

Quoted 15 lines

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

Quoted 7 lines
Quoted 7 lines

=============================================================
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

Quoted 26 lines

Welcome to OpenBIOS v1.0 built on Jul 5 2009 17:36

Quoted 1 line
Quoted 1 line

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

0 > boot cdrom

Quoted 21 lines
Quoted 21 lines

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.

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

*** 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 ***

Quoted 1 line

ok

Regards,
Laurent
--
--------------------- [email protected] ---------------------
"Tout ce qui est impossible reste à accomplir" Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard

Signature · 5 lines
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: [email protected]
Signature · 3 lines
--------------------- [email protected]  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard
#2 lore raw
Quoted 8 lines · Natalia Portillo

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.

OK, could you test the latest qemu source with AIX 5.3 and 6.1? If you're successful, could you post your boot options?

-Hollis

#3 lore raw

Give me a day for the testings.

Anyway the problem it had long ago was not about the hardware, just the OHW's OF implementation not interpreting the PReP boot partition.

The CD I tested has a MBR partition table indicating a bootable partition (the PReP-way) but the firmware simply did not found a bootable device.

Quoted 14 lines · Hollis Blanchard
Quoted 8 lines · Natalia Portillo

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.

OK, could you test the latest qemu source with AIX 5.3 and 6.1? If you're successful, could you post your boot options?

-Hollis

#4 lore raw

Natalia, et alia:

Thanks for getting back to me, and copying me on these emails.

Follows hereupon, my responses inter alia.

Quoted 1 line · Natalia Portillo

Give me a day for the testings.

Certainly! AIX 5.3 and 6.1 are truly the OS variants I am interested in, and I'd be preferential to booting up in a manner that provisions the greatest level of processor emulation at the highest hardware level functional.

Quoted 3 lines

Anyway the problem it had long ago was not about the hardware, just the OHW's OF implementation not interpreting the PReP boot partition.

I do not know what "OHW" or "OF" means, are they both referring to the OpenBIOS?

Quoted 4 lines

The CD I tested has a MBR partition table indicating a bootable partition (the PReP-way) but the firmware simply did not found a bootable device.

The CD I tested (as far as I know, I'll check if you tell me how) is an original IBM CD that would be booted on a 520 or the like type of server.

If you do get this to work, please do post in the most verbose and explicit manner the steps you took, as I am brand new to using QEMU.

Thanks for all your time and consideration.

Stuart

Quoted 20 lines · Hollis Blanchard
Quoted 17 lines
Quoted 9 lines · Natalia Portillo

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.

OK, could you test the latest qemu source with AIX 5.3 and 6.1? If you're successful, could you post your boot options?

-Hollis

Signature · 22 lines
Very Respectfully,

IT2 Stuart Blake Tener, USNR
Las Vegas, NV / Beverly Hills, CA / Philadelphia, PA / Washington, DC
Amateur Radio Call Sign: N3GWG (Extra) / Marine Radio Operator Permit (MROP)
email: [email protected] (also carbon copies to my Blackberry)
phone: +(1) 310.358.0202 (Beverly Hills, CA, forwards to mobile phone)
phone: +(1) 215.338.6005 (Philadelphia, PA, voice mail only)
E-Fax: +(1) 928.437.4505 (Telecopier, fax to email gateway)

Military emails (checked monthly until remote NMCI access is secured)
NIPRNET: [email protected]
NIPRNET: [email protected]
NRO:     [email protected]
TS/SCI:  [email protected] (GWAN)

Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and/or privileged information, though strictly at the UNCLASSIFIED level.
Any unauthorized review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the sender by reply
e-mail and destroy all copies of the originate message.
#5 lore raw

Hi,

Quoted 7 lines · USNR

Natalia, et alia:

Thanks for getting back to me, and copying me on these emails.

Follows hereupon, my responses inter alia.

Quoted 7 lines
Quoted 1 line · Natalia Portillo

Give me a day for the testings.

Certainly! AIX 5.3 and 6.1 are truly the OS variants I am interested in, and I'd be preferential to booting up in a manner that provisions the greatest level of processor emulation at the highest hardware level functional.

As much as I can, as the QEMU's Official OS Support List maintainer :D

Quoted 6 lines
Quoted 3 lines

Anyway the problem it had long ago was not about the hardware, just the OHW's OF implementation not interpreting the PReP boot partition.

I do not know what "OHW" or "OF" means, are they both referring to the OpenBIOS?

PReP, CHRP, PowerMacintosh, Pegasos, AmigaONE, and almost all PowerPC computers used OpenFirmware (OF for friends) as the "bios". OHW is OpenHackWare, was the OF implementation used by QEMU long ago, created by Jocelyn.
OpenBIOS is just another, more complete, OF implementation, the one currently in use by QEMU.

Quoted 7 lines
Quoted 4 lines

The CD I tested has a MBR partition table indicating a bootable partition (the PReP-way) but the firmware simply did not found a bootable device.

The CD I tested (as far as I know, I'll check if you tell me how) is an original IBM CD that would be booted on a 520 or the like type of server.

Maybe I have the same dump, could you send me via private email a SHA1 checksum of yours?

Quoted 61 lines

If you do get this to work, please do post in the most verbose and explicit manner the steps you took, as I am brand new to using QEMU.

Thanks for all your time and consideration.

Stuart

Quoted 20 lines · Hollis Blanchard
Quoted 17 lines
Quoted 9 lines · Natalia Portillo

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.

OK, could you test the latest qemu source with AIX 5.3 and 6.1? If you're successful, could you post your boot options?

-Hollis

Signature · 22 lines
Very Respectfully,

IT2 Stuart Blake Tener, USNR
Las Vegas, NV / Beverly Hills, CA / Philadelphia, PA / Washington, DC
Amateur Radio Call Sign: N3GWG (Extra) / Marine Radio Operator Permit (MROP)
email: [email protected] (also carbon copies to my Blackberry)
phone: +(1) 310.358.0202 (Beverly Hills, CA, forwards to mobile phone)
phone: +(1) 215.338.6005 (Philadelphia, PA, voice mail only)
E-Fax: +(1) 928.437.4505 (Telecopier, fax to email gateway)

Military emails (checked monthly until remote NMCI access is secured)
NIPRNET: [email protected]
NIPRNET: [email protected]
NRO:     [email protected]
TS/SCI:  [email protected] (GWAN)

Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and/or privileged information, though strictly at the UNCLASSIFIED level.
Any unauthorized review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the sender by reply
e-mail and destroy all copies of the originate message.