qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* RE: [Qemu-devel] Booting AIX / First try w/QEMU
@ 2009-10-14  8:31 Laurent Vivier
  2009-10-14 13:40 ` IT2 Stuart Blake Tener, USNR
  2009-10-14 16:13 ` [Qemu-devel] Booting AIX / First try w/QEMU Hollis Blanchard
  0 siblings, 2 replies; 13+ messages in thread
From: Laurent Vivier @ 2009-10-14  8:31 UTC (permalink / raw)
  To: qemu-devel, teners; +Cc: hollis

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

>
>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
-- 
--------------------- Laurent@vivier.eu  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [Qemu-devel] Booting AIX / First try w/QEMU
@ 2009-10-14 15:07 Laurent Vivier
  2009-10-14 21:16 ` Natalia Portillo
  0 siblings, 1 reply; 13+ messages in thread
From: Laurent Vivier @ 2009-10-14 15:07 UTC (permalink / raw)
  To: teners; +Cc: qemu-devel, hollis

>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" <Laurent@vivier.eu>:
>
>>> 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
>>> [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).
>>
>>>
>>> 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
>> --
>> --------------------- Laurent@vivier.eu  ---------------------
>> "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: teners@bh90210.net
>



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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [Qemu-devel] Booting AIX / First try w/QEMU
@ 2009-10-13 23:31 IT2 Stuart Blake Tener, USNR
  0 siblings, 0 replies; 13+ messages in thread
From: IT2 Stuart Blake Tener, USNR @ 2009-10-13 23:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: hollis

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
[root@localhost qemu]#


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


Good luck,


V/R,

Stuart



-- 
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: teners@bh90210.net

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-10-15 23:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14  8:31 [Qemu-devel] Booting AIX / First try w/QEMU Laurent Vivier
2009-10-14 13:40 ` IT2 Stuart Blake Tener, USNR
2009-10-15 23:26   ` PReP currently broken (Was Re: [Qemu-devel] Booting AIX / First try w/QEMU) Natalia Portillo
2009-10-15 23:43     ` IT2 Stuart Blake Tener, USNR
2009-10-15 23:54       ` Natalia Portillo
2009-10-14 16:13 ` [Qemu-devel] Booting AIX / First try w/QEMU Hollis Blanchard
  -- strict thread matches above, loose matches on Subject: below --
2009-10-14 15:07 Laurent Vivier
2009-10-14 21:16 ` Natalia Portillo
2009-10-14 21:31   ` Hollis Blanchard
2009-10-14 21:49     ` Natalia Portillo
2009-10-14 22:23       ` IT2 Stuart Blake Tener, USNR
2009-10-15  0:34         ` Natalia Portillo
2009-10-13 23:31 IT2 Stuart Blake Tener, USNR

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