Hi,
Am 13.09.2010 um 10:31 schrieb Laurent Vivier:
I have tried qemu from 0.11 to latest git (as of 11/09/2010) with latest openbios inside, but if i want to use PREP PPC "machine" the error is the same:
the last time I tried to boot AIX (6 or 7 monthes ago...), OpenBIOS was able to load the bootloader but as RTAS is not provided by OpenBIOS, bootloader failed and didn't go further. I think it was with the CHRP emulation.
I just tried `qemu-system-ppc64 -boot d -cdrom dvd.AIX6_OpenBeta....iso` and it hangs after:
Welcome to OpenBIOS v1.0 built on Sep 9 2010 19:56 Trying cd:,\:tbxi...
On a real PowerMac G5 neither the above nor the ppc\bootinfo.txt command `boot &device;:\ppc\chrp\bootfile.exe` worked, any variations of it with , and/or :0 etc. lead to errors about no FDisk partition found or noninterposed LOAD not supported, iirc.
This is what -nographic shows me:
Cannot manage 'OHCI USB controller' PCI device type 'usb': 106b 3f (c 3 10)
============================================================= OpenBIOS 1.0 [Sep 9 2010 19:56] Configuration device id QEMU version 1 machine id 3 CPUs: 1 Memory: 128M UUID: 00000000-0000-0000-0000-000000000000 CPU type PowerPC,970FX
Welcome to OpenBIOS v1.0 built on Sep 9 2010 19:56 Trying cd:,\:tbxi...
@Alex, any hunch what the OHCI thing is about? It doesn't appear with qemu-system-ppc. Some USB initialization missing in the QEMU U3 machine init maybe?
Regards,
Andreas
On 14.09.2010, at 00:24, Andreas Färber wrote:
Hi,
Am 13.09.2010 um 10:31 schrieb Laurent Vivier:
I have tried qemu from 0.11 to latest git (as of 11/09/2010) with latest openbios inside, but if i want to use PREP PPC "machine" the error is the same:
the last time I tried to boot AIX (6 or 7 monthes ago...), OpenBIOS was able to load the bootloader but as RTAS is not provided by OpenBIOS, bootloader failed and didn't go further. I think it was with the CHRP emulation.
I just tried `qemu-system-ppc64 -boot d -cdrom dvd.AIX6_OpenBeta....iso` and it hangs after:
Welcome to OpenBIOS v1.0 built on Sep 9 2010 19:56 Trying cd:,\:tbxi...
On a real PowerMac G5 neither the above nor the ppc\bootinfo.txt command `boot &device;:\ppc\chrp\bootfile.exe` worked, any variations of it with , and/or :0 etc. lead to errors about no FDisk partition found or noninterposed LOAD not supported, iirc.
I'm not sure AIX works on Macs. In fact, I'd even strongly believe that we're missing a _lot_ to make it actually work in qemu. There's probably subtleties in the cpu emulation code missing/wrong on top of RTAS not being there on top of us failing to even load a kernel. Patches are welcome, but I certainly won't look into AIX anytime soon.
This is what -nographic shows me:
Cannot manage 'OHCI USB controller' PCI device type 'usb': 106b 3f (c 3 10)
============================================================= OpenBIOS 1.0 [Sep 9 2010 19:56] Configuration device id QEMU version 1 machine id 3 CPUs: 1 Memory: 128M UUID: 00000000-0000-0000-0000-000000000000 CPU type PowerPC,970FX
Welcome to OpenBIOS v1.0 built on Sep 9 2010 19:56 Trying cd:,\:tbxi...
@Alex, any hunch what the OHCI thing is about? It doesn't appear with qemu-system-ppc. Some USB initialization missing in the QEMU U3 machine init maybe?
*shrug* looks like OpenBIOS doesn't know how to deal with that usb controller. It's definitely not related :).
Alex
AIX, I think, works only on PReP machine ...
2010/9/14 Alexander Graf agraf@suse.de
On 14.09.2010, at 00:24, Andreas Färber wrote:
Hi,
Am 13.09.2010 um 10:31 schrieb Laurent Vivier:
I have tried qemu from 0.11 to latest git (as of 11/09/2010) with
latest openbios inside, but if i want to use PREP PPC "machine" the error is the same:
the last time I tried to boot AIX (6 or 7 monthes ago...), OpenBIOS was
able to load the bootloader but as RTAS is not provided by OpenBIOS, bootloader failed and didn't go further. I think it was with the CHRP emulation.
I just tried `qemu-system-ppc64 -boot d -cdrom dvd.AIX6_OpenBeta....iso`
and it hangs after:
Welcome to OpenBIOS v1.0 built on Sep 9 2010 19:56 Trying cd:,\:tbxi...
On a real PowerMac G5 neither the above nor the ppc\bootinfo.txt command
`boot &device;:\ppc\chrp\bootfile.exe` worked, any variations of it with , and/or :0 etc. lead to errors about no FDisk partition found or noninterposed LOAD not supported, iirc.
I'm not sure AIX works on Macs. In fact, I'd even strongly believe that we're missing a _lot_ to make it actually work in qemu. There's probably subtleties in the cpu emulation code missing/wrong on top of RTAS not being there on top of us failing to even load a kernel. Patches are welcome, but I certainly won't look into AIX anytime soon.
This is what -nographic shows me:
Cannot manage 'OHCI USB controller' PCI device type 'usb': 106b 3f (c 3 10)
============================================================= OpenBIOS 1.0 [Sep 9 2010 19:56] Configuration device id QEMU version 1 machine id 3 CPUs: 1 Memory: 128M UUID: 00000000-0000-0000-0000-000000000000 CPU type PowerPC,970FX
Welcome to OpenBIOS v1.0 built on Sep 9 2010 19:56 Trying cd:,\:tbxi...
@Alex, any hunch what the OHCI thing is about? It doesn't appear with
qemu-system-ppc. Some USB initialization missing in the QEMU U3 machine init maybe?
*shrug* looks like OpenBIOS doesn't know how to deal with that usb controller. It's definitely not related :).
Alex
-- OpenBIOS http://openbios.org/ Mailinglist: http://lists.openbios.org/mailman/listinfo Free your System - May the Forth be with you
Am 14.09.2010 um 02:01 schrieb Massimo Montecchi:
AIX, I think, works only on PReP machine ...
Possibly. It still shouldn't hang under OpenBIOS though if it doesn't hang on comparable real hardware.
Andreas
Le mardi 14 septembre 2010 à 00:24 +0200, Andreas Färber a écrit :
Hi,
Am 13.09.2010 um 10:31 schrieb Laurent Vivier:
I have tried qemu from 0.11 to latest git (as of 11/09/2010) with latest openbios inside, but if i want to use PREP PPC "machine" the error is the same:
the last time I tried to boot AIX (6 or 7 monthes ago...), OpenBIOS was able to load the bootloader but as RTAS is not provided by OpenBIOS, bootloader failed and didn't go further. I think it was with the CHRP emulation.
I just tried `qemu-system-ppc64 -boot d -cdrom dvd.AIX6_OpenBeta....iso` and it hangs after:
Welcome to OpenBIOS v1.0 built on Sep 9 2010 19:56 Trying cd:,\:tbxi...
On a real PowerMac G5 neither the above nor the ppc\bootinfo.txt command `boot &device;:\ppc\chrp\bootfile.exe` worked, any variations of it with , and/or :0 etc. lead to errors about no FDisk partition found or noninterposed LOAD not supported, iirc.
This is what -nographic shows me:
Cannot manage 'OHCI USB controller' PCI device type 'usb': 106b 3f (c 3 10)
============================================================= OpenBIOS 1.0 [Sep 9 2010 19:56] Configuration device id QEMU version 1 machine id 3 CPUs: 1 Memory: 128M UUID: 00000000-0000-0000-0000-000000000000 CPU type PowerPC,970FX
Welcome to OpenBIOS v1.0 built on Sep 9 2010 19:56 Trying cd:,\:tbxi...
With the old openbios I have (r790) and qemu (b6601141), and AIX 5.3, I have this:
$ ./ppc-softmmu/qemu-system-ppc -bios ../openbios-devel/obj-ppc/openbios-qemu.elf -cdrom ../ISO/AIX5.3.iso -nographic
============================================================= OpenBIOS 1.0 [Jun 3 2010 20:43] 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 Jun 3 2010 20:43
No valid state has been set by load or init-program No valid state has been set by load or init-program
*** Boot failure! No secondary bootloader specified ***
0 > boot cd:
partition 2 does not exist
No valid state has been set by load or init-program No valid state has been set by load or init-program
------------------------------------------------------------------------------- Welcome to AIX. boot image timestamp: 00:00 00/00 The current time and date: 22:38:17 09/13/2010 number of processors: 1 size of memory: 128MB boot device: cd:\ppc\chrp\bootfile.exe Validation failed: the "/rtas" device node does not exist. EXIT 0 >
$ ./ppc64-softmmu/qemu-system-ppc64 -bios ../openbios-devel/obj-ppc/openbios-qemu.elf -cdrom ../ISO/AIX53.iso -nographic C>> annot manage 'OHCI USB controller' PCI device type 'usb':
106b 3f (c 3 10)
============================================================= OpenBIOS 1.0 [Jun 3 2010 20:43] Configuration device id QEMU version 1 machine id 3 CPUs: 1 Memory: 128M UUID: 00000000-0000-0000-0000-000000000000 CPU type PowerPC,970FX
Welcome to OpenBIOS v1.0 built on Jun 3 2010 20:43
No valid state has been set by load or init-program No valid state has been set by load or init-program
*** Boot failure! No secondary bootloader specified ***
0 > boot cd:
partition 2 does not exist
No valid state has been set by load or init-program No valid state has been set by load or init-program
------------------------------------------------------------------------------- Welcome to AIX. boot image timestamp: 00:00 00/00 NULL ihandle The current time and date: 00:00:00 86708/00/0008 number of processors: 1 size of memory: 128MB boot device: cd:\ppc\chrp\bootfile.exe Validation failed: the "/rtas" device node does not exist. EXIT
@Alex, any hunch what the OHCI thing is about? It doesn't appear with qemu-system-ppc. Some USB initialization missing in the QEMU U3 machine init maybe?
Regards, Laurent