tag:blogger.com,1999:blog-6739077729235978763.post988555873892659771..comments2023-12-24T03:35:11.626+01:00Comments on Artyom Tarasenko's blog: AIX/PReP under QEMU How-Toatarhttp://www.blogger.com/profile/16986140925986775324noreply@blogger.comBlogger155125tag:blogger.com,1999:blog-6739077729235978763.post-59188899919854027142023-12-23T22:22:42.965+01:002023-12-23T22:22:42.965+01:00I will try one Power PC Simulate the network with ...I will try one Power PC Simulate the network with multiple cards.<br />How much "value" should be? Is another change necessary?<br /><br /># cat > lance-chg.asc<br />CuAt:<br /> name = "ent۱"<br /> attribute = "busio"<br /> value = ؟<br /> type = "O"<br /> generic = "D"<br /> rep = "nr"<br /> nls_index = 3<br />^D<br /># odmchange -o CuAt -q "name=ent۱ and attribute=busio" lance-chg.ascAliRezanoreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-64996522331518679192023-12-10T17:18:04.709+01:002023-12-10T17:18:04.709+01:00@AliReza, I haven't tried that, but it should ...@AliReza, I haven't tried that, but it should work. Why do you want to have two cards?atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-45068900083222335552023-12-10T12:41:40.510+01:002023-12-10T12:41:40.510+01:00It possible to use two network cards for AIX at th...It possible to use two network cards for AIX at the same time? How are the settings?(en0 , en1)<br />AliRezanoreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-25777934299453953332022-05-13T22:53:48.504+02:002022-05-13T22:53:48.504+02:00I've found my mistake, thank you anyway.I've found my mistake, thank you anyway.Steffnoreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-32148464164323414382022-05-02T22:59:14.596+02:002022-05-02T22:59:14.596+02:00Artyom, not Artiom. I'm _SO_ sorry.Artyom, not Artiom. I'm _SO_ sorry.Stefnoreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-74604978910988335302022-05-02T22:56:01.855+02:002022-05-02T22:56:01.855+02:00Hello Artiom,
I'm trying to run your 40p-2019...Hello Artiom,<br /><br />I'm trying to run your 40p-20190406-aix-boots on Slackware 15.<br /><br />It builds with some warnings like: "taking address of packed member of ‘’ may result in an unaligned pointer value [-Waddress-of-packed-member]".<br /><br />After that, launching qemu-system-ppc I get the following error:<br /><br />qemu-3.0.92-40p-20190406-aix-boots/util/cacheinfo.c:179: init_cache_info: Assertion `(isize & (isize - 1)) == 0' failed.<br />Aborted<br /><br /><br />Any chances to fix that? many thanks.Stefnoreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-49450830889705110482022-04-24T22:18:25.342+02:002022-04-24T22:18:25.342+02:00Since people keep PMing me, I'll answer it her...Since people keep PMing me, I'll answer it here for everyone. <br /><br />Yes, this build is different from the upstream qemu version. You can see the exact differences in the commit history.<br /><br />No, the upstream qemu can not run AIX 4.x - 5.x.atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-36880159464509867022021-09-14T13:59:49.861+02:002021-09-14T13:59:49.861+02:00Thanks for your response. I've checked some th...Thanks for your response. I've checked some things again.<br /><br />(1) of course, 12:34:56:78:00:00:00:00 is not a valid mac address, mac addresses<br />have 6 octets. But it makes no difference if I use this statement or not.<br /><br />(2) using 'user' mode instead of tap does not help. Even changing the IP address<br />to the 10.x.x.x subnet makes no difference.<br /><br />I am afraid I did something terribly wrong, but what?<br /><br />Question to Artyom: Are there deep changes inside your build? I tried to build the official qemu version using soft mpu too - but without success.Ferthttps://www.blogger.com/profile/06242420158043400914noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-27965574930738630922021-09-14T13:30:49.788+02:002021-09-14T13:30:49.788+02:00Just wondering, if anyone thought about trying run...Just wondering, if anyone thought about trying running it in the IBM official Power Simulator instead of the QEMU?<br />https://github.com/open-power-sdk/power-simulator<br /><br />The scripts are running the linux image. But it should be possible to run AIX as well. <br />After all, the mambo is used internally in IBM for the purpose. <br />Vladnoreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-5440996844855418672021-09-13T14:40:00.061+02:002021-09-13T14:40:00.061+02:00I think your parameter -prom-env "mac=12:34:5...I think your parameter -prom-env "mac=12:34:56:78:00:00:00:00" doesn't make any AIX-visible effect.<br />I haven't tested tap networking which you are using, but user mode networking worked just like described in the How-to. In the beginning of your message it complains about 192.168.0.22, later you use 10.0.2.15. Does it complain about 10.0.2.15? atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-82617211042178522252021-09-11T15:24:08.034+02:002021-09-11T15:24:08.034+02:00hi all,
I've installed Artyoms build of qemu*...hi all,<br /><br />I've installed Artyoms build of qemu* and "my" AIX 4.3 / 5.1 boots fine.<br /><br />*) git clone \<br /> --branch 40p-20190406-aix-boots \<br /> --single-branch https://github.com/artyom-tarasenko/qemu.git<br /><br />But I always got this error message:<br />ifconfig en0 192.168.0.22 netmask 255.255.255.0<br /> ifconfig: error calling entry point for /usr/lib/drivers/if_en: Cannot establish <br /> connection to a remote service.<br /><br />My qemu calling is:<br />/usr/local/qemu.aix.q40/bin/qemu-system-ppc \<br />-M 40p \<br />-bios q40pofw-vga.rom \<br />-hda root.qcow2 \<br />-display gtk \<br />-cdrom aix-4.3.3.iso \<br />-prom-env "mac=12:34:56:78:00:00:00:00" \<br />-net nic,macaddr=de:ad:be:ef:42:23 -net tap,script=no,ifname=tap0<br /><br />Of course I had tried the odmchange-hack described here, but without any success<br /># cat > lance-chg.asc<br />CuAt:<br /> name = "ent0"<br /> attribute = "busio"<br /> value = "0x01000000"<br /> type = "O"<br /> generic = "D"<br /> rep = "nr"<br /> nls_index = 3<br />^D<br /># odmchange -o CuAt -q "name=ent0 and attribute=busio" lance-chg.asc<br /># rmdev -l ent0<br /># mkdev -l ent0<br /># ifconfig en0 10.0.2.15<br /><br />Is it possible to use networking inside artyoms qemu verstion at all?Ferthttps://www.blogger.com/profile/06242420158043400914noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-27621904251336674932021-07-23T14:58:48.126+02:002021-07-23T14:58:48.126+02:00I'm EXTREMELY sorry, my insomnia doesn't h...I'm EXTREMELY sorry, my insomnia doesn't help me: I didn't catch there is *your* custom branch to install.<br /><br />So, after finding the necessary information somewhere on the web and installing your "40p-20190406-aix-boots", both the AIX 5.1 and 4.3.3 installation succeded.<br /><br />Instead, using AIX 4.3.3 with the q40pofw-vga.rom bios it doesn't boot.<br /><br />Many thanks for your great work.<br />Steffnoreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-65796512697670010622021-07-23T01:18:28.599+02:002021-07-23T01:18:28.599+02:00Update:
1) Using Qemu 3.0.0 and Aix 5.1 the outpu...Update:<br /><br />1) Using Qemu 3.0.0 and Aix 5.1 the output is the following:<br /><br />AIX Version 5.1<br />Illegal Trap Instruction Interrupt in Kernel<br />.reset_decr+00014C twnei r5,0 r5=00000001<br />KDB(0)><br /><br /><br /><br />2) Using Qemu 5.1.0 (or 6.0.0) and Aix 5.1 the installation stops at:<br /><br />AIX Version 5.1<br /><br /><br />and 8 minutes later is still there.Steffnoreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-63974449925322446982021-07-20T11:35:37.059+02:002021-07-20T11:35:37.059+02:00Hello Artyom, I'm trying to install AIX 4.3.3 ...Hello Artyom, I'm trying to install AIX 4.3.3 on Qemu 3.0.0 (I've chosen that since it works with Solaris 2.6).<br /><br />My command is the following:<br /><br />qemu-system-ppc -boot d -m 192 -M 40p -bios q40pofw-serial.rom -drive file=aix4.img,bus=0,unit=0,media=disk,format=raw -drive file=/opt/_daJD/Volume_1.iso,bus=0,unit=2,media=cdrom -vga none -nographic<br /><br /><br />The error output, network settings or not, is the following:<br /><br /><br /><br />ok .partitions cdrom<br />Partition Region Boot Format Size (MB)<br /><br /> 1 Primary Yes 0x96 630<br /> 2 Primary Yes 0x41 3<br />ok boot cdrom:2<br />Boot device: /scsi/disk@2:2 Arguments: <br />Rebooting in the correct mode for this client program ...<br /><br />Type 'i' to interrupt stand-init sequence<br />First stand-init:<br />Calibrate<br />CIF buffers<br />DHCP init<br />memory node<br />Instruction cache on<br />Decrementer<br />Enable machine check exceptions<br />Set Memory Map<br />MMU<br />Root node<br />Data cache on<br />Fast CPU mode<br />PCI host bridge<br />CPU nodes<br />PowerPC,604 <br />Initialize fixed vars<br />Keyboard overrides<br />Memory node<br />ISA<br />Power<br />GPIO<br />RTC<br />MAC address<br />The MAC address in the EEPROM is invalid<br />NVRAM<br /><br />Nothing there<br />Nothing there<br />ethernet <br />Nothing there<br />scsi disk tape<br />QEMU PReP/40p, Serial #0, 128 MiB memory installed<br />Open Firmware, built April 13, 2019 09:29:23<br />Copyright (c) 1995-2000, FirmWorks.<br />Copyright (c) 2014,2017,2019 Artyom Tarasenko.<br /><br />Rebooting with command: boot /pci/scsi@1/disk@2,0:2<br />Boot device: /pci/scsi@1/disk@2,0:2 Arguments: <br />GPR0 00000000 2FF3AEC0 00245B50 D2182ABC 00000000 00000001 2F0B2A6A 00000000 <br />GPR8 3B9ACA00 FD2C4BFF 00000004 00000001 0002B28C DEADBEEF 00000004 2FF22E4C <br />GPR16 2FF22E60 00000000 DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF 042C5610 <br />GPR24 00000001 0026DD10 00000001 00000000 869530B3 000DFA40 00000000 5001E080 <br /><br />MSR 00021032 CR 24222442 LR 0002B28C CTR 00000000 MQ 00000000<br />XER 00000008 SRR0 0002B24C SRR1 00021032 DSISR 42000000 DAR 00000000<br /><br />IAR 0002B24C (ORG+0002B24C) ORG=00000000 Mode: VIRTUAL<br />0002B240 38A00001 4082FFAC 4099FF7C 0C870000 |8...@...@..|....|<br /> | tweqi r7,0x0<br />0002B250 41850188 38A00000 0C850000 3C843B9B |A...8.......<.;.|<br /><br /> |<br />0002B240 38A00001 4082FFAC 4099FF7C 0C870000 |8...@...@..|....|<br />0002B250 41850188 38A00000 0C850000 3C843B9B |A...8.......<.;.|<br />0002B260 3000FFFF 3884CA00 7C030010 7C862010 |0...8...|...|. .|<br />0002B270 480000F8 80030220 7C9F0040 41860148 |H...... |..@A..H|<br />0002B280 93E30220 38610040 4BFDB1D9 801F0024 |... 8a.@K......$|<br />0002B290 80610040 7C801800 41840018 809F0028 |.a.@|...A......(|<br />0002B2A0 80C10044 4086FF60 7C043000 40800020 |...D@..`|.0.@.. |<br /><br />Illegal Trap Instruction Interrupt in Kernel<br />>0> <br /><br /><br />Where am I mistaken? Many thanks.<br /><br /><br /><br /><br />Steffnoreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-74906015278600817022021-05-14T04:32:03.991+02:002021-05-14T04:32:03.991+02:00hi every one \
please help me ...any one have aix ...hi every one \<br />please help me ...any one have aix 5.3,5.1,5.2,6.1,6.2,7.1 and 7.2 iso file please send me link for download <br />i am learn aix <br />my mail id : reddy.subbu999@gmail.comsubbuhttps://www.blogger.com/profile/15833253309363073290noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-26962983614428885242021-04-30T16:55:51.215+02:002021-04-30T16:55:51.215+02:00I've since upgraded computers and kind of forg...I've since upgraded computers and kind of forgot about this but I'm going to try on my new computer and see if it worksCheekiBreeki95https://www.blogger.com/profile/10610942668788430284noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-44031321913366975062021-04-30T15:46:29.893+02:002021-04-30T15:46:29.893+02:00Are you using my branch of QEMU or the upstream? W...Are you using my branch of QEMU or the upstream? What ISO are you using and what error do you get?atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-82602816104765392752021-04-29T22:11:23.064+02:002021-04-29T22:11:23.064+02:00I'm finding it doesn't find the CD-ROM.......I'm finding it doesn't find the CD-ROM....Michelle Laverickhttps://www.blogger.com/profile/01599519827369312482noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-61754564927133368672020-09-01T22:43:08.803+02:002020-09-01T22:43:08.803+02:001. It's ".partitions" , not ".p...1. It's ".partitions" , not ".partions".<br />2. What is the AIX version you are trying to boot?<br />3. Are you sure you are using my qemu branch and not the upstream one? The upstream qemu won't boot AIX/PReP at the moment.atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-40929324128709673072020-09-01T21:31:56.654+02:002020-09-01T21:31:56.654+02:00No matter what I try it always comes back saying t...No matter what I try it always comes back saying the same thingCheekiBreeki95https://www.blogger.com/profile/10610942668788430284noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-37400160110120052122020-09-01T15:04:45.538+02:002020-09-01T15:04:45.538+02:00I tried .partions and .partions cdrom and both ret...I tried .partions and .partions cdrom and both return<br />.partions?<br /><br />and when I try boot cdrom, load cdrom, boot cdrom:1 or load cdrom:1 I get <br /><br />Boot device: /scsi/disk@2: Arguments: <br />The attempt to load a boot image failed.<br /><br />or<br /><br />Boot device: /scsi/disk@2:1 Arguments: <br />The attempt to load a boot image failed. <br /><br />I've also tried load cdrom:2 and its the same thing as boot<br />Im running a windows 10 home machine with 10gbs of RAMCheekiBreeki95https://www.blogger.com/profile/10610942668788430284noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-45860678060044790102020-09-01T15:03:50.141+02:002020-09-01T15:03:50.141+02:00Don't press 'i', this is a feature for...Don't press 'i', this is a feature for debugging OFW itself.atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-23403475902039647282020-09-01T14:50:33.764+02:002020-09-01T14:50:33.764+02:00Whenever I type boot cdrom:2 it first says :
Boot...Whenever I type boot cdrom:2 it first says :<br /><br />Boot device: /scsi/disk@2:2 Arguments:<br />Rebooting in the correct mode for this client program ...<br /><br />Type 'i' to interrupt stand-init sequence<br />Interacting<br /><br />and then when I type it again it returns this:<br /><br />Boot device: /pci/ide/disk@2,0:2 Arguments:<br /><br />Can't open boot device<br /><br />What have I done wrong? I followed all the steps apart from changing the paths for the files<br />CheekiBreeki95https://www.blogger.com/profile/10610942668788430284noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-44867600708417856872020-05-13T10:34:40.563+02:002020-05-13T10:34:40.563+02:00@felipe, "cat > file" is used to writ...@felipe, "cat > file" is used to write some lines into the file, just like in any unix/linux. Then control-d is used to tell that all the lines are written. You can check the content of the file with "cat file". After you created the file you have to run "odmchange" as written in the how-to.atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-37489046005584791012020-05-12T06:50:51.958+02:002020-05-12T06:50:51.958+02:00Hi Atar,
Thank you very much for the blog, it rea...Hi Atar,<br /><br />Thank you very much for the blog, it really help me to install AIX in my laptop. I have some problem with, the last part with the networking.<br /><br />I am running Debian8 Jessie <br /><br />When I am trying to configure the network , I have the next error:<br />I am running IAX 4.3<br /><br />cat > lance-chg.asc<br /><br />It does not do anything<br /><br />remdev -l ent0<br />ent0 Defined<br />mkdev -l ent 0<br />ent0 Avaliable<br /><br />ifconfig en0 10.0.2.15<br /><br />0821-510 ifconfig: error calling entry point for /usr/lib/drivers/if_en: Cannot establish connection to a remote service.<br /><br />Do you know how to fix this error. I have been trying to find the solution but I have not found anything in internet.<br /><br />Regards<br />Felipe<br />felipehttps://www.blogger.com/profile/00992761273252251788noreply@blogger.com