Re: [Qemu-devel] IBM makes AIX 6 beta available for download for everyone
Am 30.07.2007 um 22:37 schrieb Andreas Färber: Maybe someone can shed some more light on what exactly needs to be changed config-wise or is missing in OpenBIOS or qemu in order to boot AIX 6 or any Linux. Can't tell you much, but for sure, you won't need support for HFS or HFS+. HFS support enables you to boot all versions of classic Mac OS (1.0 to 9.2.2). HFS+ can be used for Mac OS 8.1 and later. Mac OS X can boot off HFS+ and off UFS. All PPC Macintosh OSs use an Apple partition map. Markus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/
Re: [Qemu-devel] IBM makes AIX 6 beta available for download for everyone
Am 02.08.2007 um 09:51 schrieb Markus Hitter: Am 30.07.2007 um 22:37 schrieb Andreas Färber: Maybe someone can shed some more light on what exactly needs to be changed config-wise or is missing in OpenBIOS or qemu in order to boot AIX 6 or any Linux. Can't tell you much, but for sure, you won't need support for HFS or HFS+. HFS support enables you to boot all versions of classic Mac OS (1.0 to 9.2.2). HFS+ can be used for Mac OS 8.1 and later. Mac OS X can boot off HFS+ and off UFS. All PPC Macintosh OSs use an Apple partition map. To install Debian I needed a minimum of three partitions: one Apple partition, one NewWorld bootloader partition (yaboot) and the standard ext3 root partition. No idea how the first two are structured. I believe the point about HFS+ was that this would be required in order to replace OpenHackWare with OpenBIOS completely in the future. Andreas
Re: [Qemu-devel] IBM makes AIX 6 beta available for download for everyone
The correct place for these questions would be the OpenBIOS list (blatantly cross-posted). On 7/30/07, Andreas Färber [EMAIL PROTECTED] wrote: Am 19.07.2007 um 09:23 schrieb Natalia Portillo: El jue, 19-07-2007 a las 00:46 +0200, Andreas Färber escribió: Am 18.07.2007 um 18:26 schrieb Blue Swirl: It looks like open hack'ware is pretty much stalled, so its hard telling what progress will be made futurewise. Might it be possible to replace it with OpenBIOS? Sure, and as both are GPL useful, code can be shared. But some PPC developers are needed. It may still be easier to fix the OHW bugs than start over anew. Not sure I understand... I thought Open Firmware was based on platform independent Forth code? I'm running on ppc64 and could try to compile something under Linux in case that's the problem. Yes, OF is basically a Forth-interpreter. Of course this Forth-interpreter is in C and compile to machine code :p Yes, that is obvious. Not so obvious was what ppc *developers* were needed for. I got the other answer afterwards saying that HFS etc. support needed to be added. Try to compile OpenBIOS under Linux/PPC (using 32bit compiler, not ppc64) and comment us. I tried SVN HEAD of both fcode-utils and openbios-devel. OpenBIOS supposedly has support for ppc and cross-ppc archs but that is not true. It currently only has support for cross-ppc (for the old PearPC emulator it seems). I copied these files as ppc_config.xml and ppc_rules.xml respectively to get the ppc target, in ppc_rules.xml changed the tool names to use the standard gcc etc. and was able to compile okay. Products based on this unmodified configuration were among others an openbios-pearpc.elf file - I thus changed ppc_rom.bin in some ppc files to this filename. Launching qemu-system-sparc -boot d -cdrom /dev/cdrom with a Debian Etch DVD inserted resulted in an opcode error. My guess thus is that this OpenBIOS file is not suited for qemu in that configuration? Some observations that might be of interest: - OpenBIOS has support for some (not all) PowerPC processors according to some Readme - it specifically mentions ppc/AIX and has some apparent IBM contributions despite the missing ppc target - the cross-ppc config mentions HFS and HFSP which I guess refer to HFS and HFS+ filesystems respectively (HFS was set to false, HFSP to true) Maybe someone can shed some more light on what exactly needs to be changed config-wise or is missing in OpenBIOS or qemu in order to boot AIX 6 or any Linux. Andreas
Re: [Qemu-devel] IBM makes AIX 6 beta available for download for everyone
Am 19.07.2007 um 09:23 schrieb Natalia Portillo: El jue, 19-07-2007 a las 00:46 +0200, Andreas Färber escribió: Am 18.07.2007 um 18:26 schrieb Blue Swirl: It looks like open hack'ware is pretty much stalled, so its hard telling what progress will be made futurewise. Might it be possible to replace it with OpenBIOS? Sure, and as both are GPL useful, code can be shared. But some PPC developers are needed. It may still be easier to fix the OHW bugs than start over anew. Not sure I understand... I thought Open Firmware was based on platform independent Forth code? I'm running on ppc64 and could try to compile something under Linux in case that's the problem. Yes, OF is basically a Forth-interpreter. Of course this Forth-interpreter is in C and compile to machine code :p Yes, that is obvious. Not so obvious was what ppc *developers* were needed for. I got the other answer afterwards saying that HFS etc. support needed to be added. Try to compile OpenBIOS under Linux/PPC (using 32bit compiler, not ppc64) and comment us. I tried SVN HEAD of both fcode-utils and openbios-devel. OpenBIOS supposedly has support for ppc and cross-ppc archs but that is not true. It currently only has support for cross-ppc (for the old PearPC emulator it seems). I copied these files as ppc_config.xml and ppc_rules.xml respectively to get the ppc target, in ppc_rules.xml changed the tool names to use the standard gcc etc. and was able to compile okay. Products based on this unmodified configuration were among others an openbios-pearpc.elf file - I thus changed ppc_rom.bin in some ppc files to this filename. Launching qemu-system-sparc -boot d -cdrom /dev/cdrom with a Debian Etch DVD inserted resulted in an opcode error. My guess thus is that this OpenBIOS file is not suited for qemu in that configuration? Some observations that might be of interest: - OpenBIOS has support for some (not all) PowerPC processors according to some Readme - it specifically mentions ppc/AIX and has some apparent IBM contributions despite the missing ppc target - the cross-ppc config mentions HFS and HFSP which I guess refer to HFS and HFS+ filesystems respectively (HFS was set to false, HFSP to true) Maybe someone can shed some more light on what exactly needs to be changed config-wise or is missing in OpenBIOS or qemu in order to boot AIX 6 or any Linux. Andreas
Re: [Qemu-devel] IBM makes AIX 6 beta available for download for everyone
El jue, 19-07-2007 a las 00:46 +0200, Andreas Färber escribió: Am 18.07.2007 um 18:26 schrieb Blue Swirl: It looks like open hack'ware is pretty much stalled, so its hard telling what progress will be made futurewise. Might it be possible to replace it with OpenBIOS? Sure, and as both are GPL useful, code can be shared. But some PPC developers are needed. It may still be easier to fix the OHW bugs than start over anew. Not sure I understand... I thought Open Firmware was based on platform independent Forth code? I'm running on ppc64 and could try to compile something under Linux in case that's the problem. Yes, OF is basically a Forth-interpreter. Of course this Forth-interpreter is in C and compile to machine code :p Then you can add modules in F-Code machine independent code. Try to compile OpenBIOS under Linux/PPC (using 32bit compiler, not ppc64) and comment us.
Re: [Qemu-devel] IBM makes AIX 6 beta available for download for everyone
Hi, AIX was already tested in QEMU and is not that it does not understand the AIX boot format (it does!), just there is another problem that prevents OHW from working (some say there is a regression in the IDE controller code). http://www.claunia.com/qemu/ Regards Natalia Portillo El mié, 18-07-2007 a las 03:32 +0200, Martin escribió: IBM opened up a little bit and makes the beta of AIX 6 available to anyone. Maybe this is an opportunity to get AIX running on QEMU. At the moment QEMU does not yet understand the AIX cd boot format. I tried to boot it using the -kernel option b I tried to boot it in the following ways, but that doesn't work yet (as expected) qemu-system-ppc -m prep -cdrom cd.AIX_6_OpenBeta.0723C1.V1.ISO -boot d sudo mount -o loop cd.AIX_6_OpenBeta.0723C1.V1.ISO /mnt/loop qemu-system-ppc -M prep -kernel /mnt/loop/ppc/chrp/bootfile.exe The -kernel option is meant for linux kernels but I hoped it would take an AIX kernel too. You can download the AIX 6 beta from: http://www-03.ibm.com/servers/aix/6/beta.html (free registration required) Open beta now available The open beta for AIX® 6 is now available. Go to https://www14.software.ibm.com/iwm/web/cc/earlyprograms/ibm/aix6beta/ for more information and to download the beta code. Overview Openness, such as compliance with open standards, has always been an integral part of the AIX operating system (OS). The next release of AIX, Version 6.1, extends this openness to the product release process with the first ever AIX open beta. The open beta will allow a broad set of IBM clients to download and gain experience with AIX 6 before it becomes generally available. An open beta for the next AIX release differs from the traditional beta in three key areas: * Almost anyone who is interested will be able to download and install a pre-release version of AIX 6. By contrast, only a few clients would have the opportunity to test a new AIX release in a traditional beta. * Participants in the open beta will not receive traditional support from IBM. Instead, you access a Web forum to discuss questions and issues. * The only legal document required for participation in the open beta is a click to accept license agreement that clearly states all program conditions.
Re: [Qemu-devel] IBM makes AIX 6 beta available for download for everyone
On Wed, 2007-07-18 at 09:15 +0100, Natalia Portillo wrote: Hi, AIX was already tested in QEMU and is not that it does not understand the AIX boot format (it does!), just there is another problem that prevents OHW from working (some say there is a regression in the IDE controller code). http://www.claunia.com/qemu/ Regards Natalia Portillo AIX 4.3.3 starts to boot (well, further than 5.1 5.2 do) The serial console has: - Probe filesystem on unknown PREP partition 'PREP boot' (bootable) 5834080 Fix bootfile Partition is bootable (1) bd_set_boot_part: part 5834080 (0) 1 Boot partition: 5834080 582e400 582e400 0 ERROR: Found boot partition : 5834080 582e400 ERROR: Not a MACH-O file ERROR: Not an Apple CHRP boot file ! dest 10 entry 0230 = 100230 Load raw file into memory at 10 3307448 (003277b8) 0 () Boot: 3004 b8773200 00024149 5820234 Bootinfos at : 50 Now boot it... (0) stack: 5bfff80 malloc_base: 0 0x5800 0x0600 PREP boot... 100230 10 The graphic console has some messages (which I assume are the ones above) and then it goes blank. It may still be doing something, I'll just wait for a while and see. Both 5.1 and 5.2 complain about the return code from the ide controller ERROR: ATAPI READ12 : status 41 != 0x48 (ready | error ) != ( ready | drq) It looks like open hack'ware is pretty much stalled, so its hard telling what progress will be made futurewise. Brian El mié, 18-07-2007 a las 03:32 +0200, Martin escribió: IBM opened up a little bit and makes the beta of AIX 6 available to anyone. Maybe this is an opportunity to get AIX running on QEMU. At the moment QEMU does not yet understand the AIX cd boot format. I tried to boot it using the -kernel option b I tried to boot it in the following ways, but that doesn't work yet (as expected) qemu-system-ppc -m prep -cdrom cd.AIX_6_OpenBeta.0723C1.V1.ISO -boot d sudo mount -o loop cd.AIX_6_OpenBeta.0723C1.V1.ISO /mnt/loop qemu-system-ppc -M prep -kernel /mnt/loop/ppc/chrp/bootfile.exe The -kernel option is meant for linux kernels but I hoped it would take an AIX kernel too. You can download the AIX 6 beta from: http://www-03.ibm.com/servers/aix/6/beta.html (free registration required) Open beta now available The open beta for AIX® 6 is now available. Go to https://www14.software.ibm.com/iwm/web/cc/earlyprograms/ibm/aix6beta/ for more information and to download the beta code. Overview Openness, such as compliance with open standards, has always been an integral part of the AIX operating system (OS). The next release of AIX, Version 6.1, extends this openness to the product release process with the first ever AIX open beta. The open beta will allow a broad set of IBM clients to download and gain experience with AIX 6 before it becomes generally available. An open beta for the next AIX release differs from the traditional beta in three key areas: * Almost anyone who is interested will be able to download and install a pre-release version of AIX 6. By contrast, only a few clients would have the opportunity to test a new AIX release in a traditional beta. * Participants in the open beta will not receive traditional support from IBM. Instead, you access a Web forum to discuss questions and issues. * The only legal document required for participation in the open beta is a click to accept license agreement that clearly states all program conditions.
Re: [Qemu-devel] IBM makes AIX 6 beta available for download for everyone
Am 18.07.2007 um 15:59 schrieb Brian Wheeler: It looks like open hack'ware is pretty much stalled, so its hard telling what progress will be made futurewise. Might it be possible to replace it with OpenBIOS? Andreas
Re: [Qemu-devel] IBM makes AIX 6 beta available for download for everyone
On 7/18/07, Andreas Färber [EMAIL PROTECTED] wrote: Am 18.07.2007 um 15:59 schrieb Brian Wheeler: It looks like open hack'ware is pretty much stalled, so its hard telling what progress will be made futurewise. Might it be possible to replace it with OpenBIOS? Sure, and as both are GPL useful, code can be shared. But some PPC developers are needed. It may still be easier to fix the OHW bugs than start over anew.
Re: [Qemu-devel] IBM makes AIX 6 beta available for download for everyone
Hi, It looks like open hack'ware is pretty much stalled, so its hard telling what progress will be made futurewise. Might it be possible to replace it with OpenBIOS? I've talked about that idea long ago. Theorically there should be no problem, as OpenBIOS already supports PowerPC. You'll have just to implement filesystems for HFS and booters for CHRP and Mac OS (OHW has them). Just compile OBIOS for PPC and try it :p Regards!
Re: [Qemu-devel] IBM makes AIX 6 beta available for download for everyone
Am 18.07.2007 um 18:26 schrieb Blue Swirl: It looks like open hack'ware is pretty much stalled, so its hard telling what progress will be made futurewise. Might it be possible to replace it with OpenBIOS? Sure, and as both are GPL useful, code can be shared. But some PPC developers are needed. It may still be easier to fix the OHW bugs than start over anew. Not sure I understand... I thought Open Firmware was based on platform independent Forth code? I'm running on ppc64 and could try to compile something under Linux in case that's the problem. I had previously commented on ppc emulation issues but had not received any replies. I've not been able to do anything useful with the ppc emulation despite its status being OK on the qemu page. When I start it (compiled with the patch recently attached), using qemu-system-ppc -boot d -cdrom debian-40r0-powerpc-netinst.iso this is what I see on the console: starting qemu... init_ppc_proc: PVR 0008 mask = 0008 The (Cocoa) screen then has some apparent debug information rushing by and an ERROR: Give range: start 0x30 0x10 and unreadable chars before the Debian yaboot screen; looks and behaves okay from there. If I type install or install video=ofonly it starts to do some things, intermixed with lots of these: ERROR: Give range: [...] HFS ERROR in hfs_get_bloc: Block 8192 not found ERROR: bloc: -1 part size: 477144 5834a00 ERROR: OF_property_copy cannot get property 'device_type' for [...] ERROR: overlap: start 0x1d0 virt 0x200 end 0x210 0x[...] ERROR: No range match ! ERROR: Give range: [...] and it ends with Calling quiesce ... returning from prom_init Some of the funny output does not appear if I use the -nographic option but the errors remain. If I use qemu-system-ppc64 with the install64 yaboot option it is shortened to this: Please wait, loading kernel... ERROR: Give range: start 0x140 0x60 Elf64 kernel loaded... Loading ramdisk... ERROR: Give range: start 0x1a0 0x40 ERROR: Give range: start 0x1e0 0x40 HFS ERROR in hfs_get_bloc: Block 8192 not found ERROR: bloc: -1 part size: 477144 5834a00 ramdisk loaded at 01a0, size: 4095 Kbytes invalid/unsupported opcode: 1e - 12 - 1b (782106e4) 0x014080e4 1 So no better. install64 works fine on real hardware, thus the DVD image should be okay. Interestingly the fallback after quiesce, as seen in ppc emulation, occurs when trying 32-bit install on a real ppc64. Questions: Do you get the same results? Or are those an OS X or an endianness issue? Which part is an OHW bug and which on the qemu side of things? Any workarounds or pointers to fix it? The Sparc32/OpenBIOS combination has been working much better than this for me... Andreas
[Qemu-devel] IBM makes AIX 6 beta available for download for everyone
IBM opened up a little bit and makes the beta of AIX 6 available to anyone. Maybe this is an opportunity to get AIX running on QEMU. At the moment QEMU does not yet understand the AIX cd boot format. I tried to boot it using the -kernel option b I tried to boot it in the following ways, but that doesn't work yet (as expected) qemu-system-ppc -m prep -cdrom cd.AIX_6_OpenBeta.0723C1.V1.ISO -boot d sudo mount -o loop cd.AIX_6_OpenBeta.0723C1.V1.ISO /mnt/loop qemu-system-ppc -M prep -kernel /mnt/loop/ppc/chrp/bootfile.exe The -kernel option is meant for linux kernels but I hoped it would take an AIX kernel too. You can download the AIX 6 beta from: http://www-03.ibm.com/servers/aix/6/beta.html (free registration required) Open beta now available The open beta for AIX® 6 is now available. Go to https://www14.software.ibm.com/iwm/web/cc/earlyprograms/ibm/aix6beta/ for more information and to download the beta code. Overview Openness, such as compliance with open standards, has always been an integral part of the AIX operating system (OS). The next release of AIX, Version 6.1, extends this openness to the product release process with the first ever AIX open beta. The open beta will allow a broad set of IBM clients to download and gain experience with AIX 6 before it becomes generally available. An open beta for the next AIX release differs from the traditional beta in three key areas: * Almost anyone who is interested will be able to download and install a pre-release version of AIX 6. By contrast, only a few clients would have the opportunity to test a new AIX release in a traditional beta. * Participants in the open beta will not receive traditional support from IBM. Instead, you access a Web forum to discuss questions and issues. * The only legal document required for participation in the open beta is a click to accept license agreement that clearly states all program conditions.