QEMU PPC SYSTEM regression - 3.1.0 and GIT - Fail to boot AIX
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Built from source on a debian system
Linux db08 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
Last git commit (from queued gdibson repository)
starting AIX 7.2 TL 2 SP 2 with the following : (the install was done under qemu 3.1.0)
qemu-system-ppc64 -M pseries \
-cpu power7 \
-cdrom AIX_v7.
-net nic \
-net tap,ifname=
-drive file=DISK1.
-device virtio-
-m 4G \
-serial stdio \
-monitor unix:ms,
-accel tcg \
-k fr \
-nographic \
-prom-env input-device=
-prom-env output-
-prom-env diag-switch?=false \
-prom-env boot-command="boot /pci@8000000200
Yields this :
^M
SLOF^[[0m^[[?25l *******
^[[1mQEMU Starting^M
^[[0m Build Date = Jan 14 2019 18:00:39^M
FW Version = git-a5b428e1c1e
Press "s" to enter Open Firmware.^M^M
^M^M
^[[0m^[
Populating /vdevice/
Populating /vdevice/
Populating /vdevice/
Populating /vdevice/
SCSI: Looking for devices^M
C05A0^MPopulating /pci@8000000200
Populating /pci@8000000200
SCSI: Looking for devices^M
C0600^MC06C0^
^M
^M
^M
C08B0^MScanning USB ^M
XHCI: Initializing^M
USB Keyboard ^M
USB mouse ^M
C08C0^MC08D0^MNo console specified using screen & keyboard^M
User selected input-device console: /vdevice/
User selected output-device console: /vdevice/
C08E0^MC08E8^
Welcome to Open Firmware^M
^M
Copyright (c) 2004, 2017 IBM Corporation All rights reserved.^M
This program and the accompanying materials are made available^M
under the terms of the BSD License available at^M
http://
^M
^M
Trying to load: -s verbose from: /pci@8000000200
^M
^M
^M
^M
^M
^M
^M
^M
-------
processor count: 1; memory size: 4096MB; kernel size: 38426884^M
boot device: /pci@8000000200
^M
8000FFEC bytes of free memory remain at address 7FFF0014^M
load address: 0x00004000 aixmon size: 0x000D2C00 boot image size: 0x01A6B430^M
^LAIX vm,uuid property contains invalid data^Mload address: 0x00004000 aixmon size: 0x000D2C00 boot image size: 0x01A6B430^M
^LAIX vm,uuid property contains invalid data^M
get_ppp return code: 0xFFFFFFFE^M
^M
AKVM: hcall-multi-tce detected but overridden, allow with "multce" boot argument^M
The temporary memory region list is at 1 percent capacity.^M
The temporary IPLCB is at 1 percent capacity.^M
The IPLCB address is 0x0FFF9000^M
name offset size^M
ipl_cb_and_bit_map 00000000 ......00005958^M
bit_map........... 00000790 ......00000006^M
ipl_info.......... 000001C8 ......00000024^M
splpar_info....... 000001EC ......00000048^M
system_info....... 00000234 ......000000C4^M
processor_info.... 000002F8 ......00000148^M
lpar_id_info...... 00000440 ......00000088^M
dr_proc_info...... 000004C8 ......00000008^M
dr_mem_info....... 000004D0 ......00000028^M
lpar_info......... 000004F8 ......00000014^M
segment page...... 00000518 ......00000028^M
processor page.... 00000540 ......00000010^M
res_asso_id....... 00000550 ......00000050^M
res_asso_group.... 000005A0 ......00000048^M
asso_ref_pnt...... 000005E8 ......00000010^M
residual.......... 00000820 ......00005138^M
fwad_info......... 000005F8 ......00000040^M
contig mem rsv.... 00000738 ......00000058^M
region address region length attr label^M
0 0x0000000000000000 0x000000000FFF7000 0x01 0x01^M
1 0x000000000FFF7000 0x0000000000002000 0x01 0x03^M
2 0x000000000FFF9000 0x0000000000006000 0x01 0x02^M
3 0x000000000FFFF000 0x0000000000000014 0x00 0x05^M
4 0x000000000FFFF014 0x00000000F0000FEC 0x01 0x01^M
5 0x0000000100000000 0xFFFFFFFF00000000 0x00 0x07^M
-------
^M
0000012C bytes of free memory remain at address 00004000^M
compressed kernel addr: D6C00; sz: 98CE33; uncompressed kernel addr: 1DB59600^M
name source dest size flags^M
0 .data 1e6f9840 2000000 12bdd20 1^M
1 basecfg 1b04000 fff5000 15d9 1^M
2 ramfs a63a30 efe9000 100b82a 1^M
3 .text 1db59840 d6c00 ba0000 1^M
4 .ldr 1f9b7560 c77000 a9523 1^M
5 symtab 1fe0aaf4 d21000 1f4410 1^M
6 kern. hdr 1db59600 0 240 1^M
7 .bss 0 32bdd20 27222e0 2^M
free space between BSS and RAM filesystem: 09609000^M
^M
entry_point: 0x000D6C28^M
-------
^LStarLED{A20}^M
Data Storage Interrupt - PROC^M
.dispatch+000098 lwz r0,1830(r6) r0=0,1830(
KDB(0)>
(apologies for all the ^M - they are emitted by qemu or AIX - not sure)
Using the same command to boot AIX from 3.1.0 works (no DSI Interrupt). - Other problems occur later, but no Kernel interrupt, only user space problems - and that's another problem - but one at a time !
--Ivan
tags: | added: ppc64 |
Changed in qemu: | |
status: | New → Confirmed |
assignee: | nobody → Greg Kurz (gkurz) |
Changed in qemu: | |
assignee: | Greg Kurz (gkurz) → nobody |
Forgot that part (debugger output) dispatch+ 000098 (0000000003380000, 0000000002DC3838,^M flih_util+ 000440 ()^M IPRA.$initxpt+ 0001A8 (0000000000000A00, F10008008012BFF8,^M IPRA.$initxpt_ vmsi+0000C4 ()^M vmsi+000968 ()^M main+000098 ()^M .start1+ 0000B8 ()^M
KDB(0)> wherre^H ^H^H ^He^M
si_pvthread+000000 STACK:^M
[0008F418]
F1000816B0036CF0 [??])^M
[00234E34]
____ Exception (02743408) ____^M
iar : 0000000000AD0088 msr : 8000000000001032 cr : 22000888^M
lr : 0000000000AD0078 ctr : 0000000000000000 xer : 00000010^M
mq : 00000000 ^M
r0 : 00000000000000C0 r1 : 0000000002E22280 r2 : 00000000032B5D20^M
r3 : 0000000000000A00 r4 : F10008008012BFF8 r5 : 0000000000000000^M
r6 : F200800011400010 r7 : 0000000000004002 r8 : 0000000000000A00^M
r9 : 0000000000000404 r10 : 0000000000000000 r11 : 0000000000000000^M
r12 : 0000000000AD0078 r13 : 00000000025933F0 r14 : 0000000000B9D470^M
r15 : F10008008012C000 r16 : F20080001143C000 r17 : 000000000003C000^M
r18 : 0000000002004324 r19 : F200800011400006 r20 : 0000000000000000^M
r21 : 0000000000000000 r22 : 0000000002004338 r23 : 0000000000000000^M
r24 : 0000000000000A00 r25 : 0000000000000002 r26 : 0000000000000E3F^M
r27 : 0000000000000001 r28 : 0000000000004002 r29 : 0000000000000000^M
r30 : 0000000000000A00 r31 : F200800011400000 ^M
^M
prev 0000000000000000 stackfix 0000000000000000 int_ticks 0000 ^M
cfar 0000000000163154 capi 0^M
(0)> more (^C to quit) ? ^H ^H^G^M
^M ^Mkjmpbuf 0000000000000000 excbranch 0000000000000000 no_pfault 00 ^M
intpri 00 backt 00 flags 00 ^M
hw_fru_id 00000000 hw_cpu_id 00000000^M
fpscr 0000000000000000 fpscrx 00000000 fpowner 00 ^M
fpeu 00 fpinfo 00 alloc F000 ^M
tmstate 00 tmcontext 00 prevowner 00 ^M
o_iar 0000000000000000 o_toc 0000000000000000 ^M
o_arg1 0000000000000000 o_vaddr 0000000000000000 ^M
krlockp 0000000000000000 rmgrwa 0000000000000000 ^M
amrstackhigh 00000000054B22B8 amrstacklow 00000000054B21B8 ^M
amrstackcur 00000000054B22B8 amrstackfix 0000000000000000 ^M
kstackhigh 0000000000000000 kstacksize 00000000 ^M
frrstart 700DFEED00000000 frrend 700DFEED00000000 ^M
frrcur 700DFEED00000000 frrstatic 0000 kjmpfrroff 0000 ^M
frrovcnt 0000 frrbarrcnt 0000 frrmask 00 callrmgr 00 ^M
Except :^M
excp_type 00000106 EXCEPT_DSI ^M
orgea F10008008012C000 dsisr 0000000040000000 bit set: DSISR_PFT^M
vmh 0000000018008400 curea F10008008012C000 pftyp 0000000000000106^M
[00AD0088]
0000000000000000 [??])^M
[00AD02E4]
(0)> more (^C to quit) ? ^H ^H^G^M
^M ^M[00ACBB08]
[00AC0DF8]
[0053A748]