qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] AIX 7.2 partially works on qemu now.


From: Liang Guo
Subject: [Qemu-ppc] AIX 7.2 partially works on qemu now.
Date: Mon, 28 May 2018 14:20:04 +0800

Hi, JFYI,

(I'm not is this list, please CC me).

AIX 7200-02-02-1810 with APAR IJ05283 and APAR IJ06373 can run on
qemu.  This is my environment:

Host OS: Debian sid, linux 4.14.0-1-amd64
Qemu:  qemu-system-ppc  1:2.12+dfsg-1+b1
SLOF: 20170724+dfsg-1
Qemu command line to run aix:

qemu-system-ppc64 -cpu POWER8 -machine pseries -m 2048 -serial stdio \
-drive file=aix72.img,if=none,id=drive-virtio-disk0 \
-device virtio-scsi-pci,id=scsi -device scsi-hd,drive=drive-virtio-disk0 \
-cdrom cd_image_7537004 \
-netdev tap,id=n1 -device virtio-net,netdev=n1  \
-prom-env boot-command='boot disk: -s verbose'

aix72.img is disk image, cd_image_7537004 is CD image created by
'smitty mkdvd' in a working aix 7200-02-02-1810 with APAR IJ05283 and
APAR IJ06373 applied.

-prom-env boot-command='boot disk: -s verbose' is used to control boot
source, when installing aix, ' boot cd:' should be used. '-s verbose'
lets aix throwing verbose output, each executed command will be
printed.

After installing aix, /sbin/helpers/jfs2/fsck64 should be modified to
following file, and be granted execute permission:

#!/bin/ksh
exit 0

Or aix boot will hang at fscking hd10opt. you need use install CD
maintence mode to modify this file.

CD, disk, network works, this is the prtconf output:

paix-bcat[/] > prtconf
System Model: IBM pSeries (emulated by qemu)
Machine Serial Number: Not Available
Processor Type: PowerPC_POWER8
Processor Implementation Mode: POWER 8
Processor Version: PV_8_Compat
Number Of Processors: 1
Processor Clock Speed: 1000 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 0 aix_on_kvm
Memory Size: 2048 MB
Good Memory Size: 2048 MB
Platform Firmware level: Not Available
Firmware Version: SLOF,HEAD
Console Login: enable
Auto Restart: true
Full Core: false
NX Crypto Acceleration: Not Capable

Network Information
        Host Name: paix-bcat
        IP Address: 192.168.2.21
        Sub Netmask: 255.255.255.0
        Gateway: 192.168.2.1
        Name Server: 10.153.50.201
        Domain Name: dal-ebis.ihost.com

Paging Space Information
        Total Paging Space: 3584MB
        Percent Used: 0%

Volume Groups Information
==============================================================================
Active VGs
==============================================================================
rootvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0            active            639         484
127..52..49..128..128
==============================================================================

INSTALLED RESOURCE LIST

The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
*   = Diagnostic support not available.

  Model Architecture: chrp
  Model Implementation: Uni-Processor, PCI bus

+ sys0                                                     System Object
+ sysplanar0                                               System Planar
* vio0                                                     Virtual I/O Bus
* vscsi0                                                   Virtual
SCSI Client Adapter
* cd0                                                      Virtual
SCSI Optical Served by VIO Server
* vsa0                                                     LPAR
Virtual Serial Adapter
* vty0                                                     Asynchronous Terminal
* pci0                                                     PCI Bus
* scsi0            qemu_virtio-scsi-pci:0000:00:02.0       Virtio SCSI
Client Adapter (f41a0800)
* hdisk0           qemu_virtio-scsi-pci:0000:00:02.0-LW_0  MPIO Other
Virtio SCSI Disk Drive
* ent0             qemu_virtio-net-pci:0000:00:03.0        Virtio NIC
Client Adapter (f41a0100)
+ L2cache0                                                 L2 Cache
+ mem0                                                     Memory
+ proc0                                                    Processor

Some command hang when executing: bash, fsck64, cron, pfcdaemon.

Some command abort with signal 11(SIGSEGV ) : ' ps aux'.

virtio-blk-device storage device can not be recognized by aix, '-hda
<file> specified storage device can be recognized, can install aix,
but boot failed with 'UNKNOWN DEVICE';

'-smp 4' cause aix constantly throw 'Warning DABR write failed' to
serial. '-smp 2' looks works.

-- 
Liang Guo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]