summary refs log tree commit diff stats
path: root/results/scraper/launchpad/1874264
blob: ebd353982976ed68d693aab2d85a67c02f0ee673 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
AIX 7.2 TL4 SP1 cannot IPL with QEMU >2.11.2 ppc64-softmmu

kens@LAPTOP-JN77KAC2$ qemu-system-ppc64 -version
QEMU emulator version 4.2.93 (v5.0.0-rc3-8-g3119154db0-dirty)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

qemu-system-ppc64 \
  -name "IBM AIX - IBM POWER9" \
  -M pseries \
  -cpu POWER9 \
  -smp 8 \
  -m 8192 \
  -nodefaults \
  -nographic \
  -prom-env input-device=/vdevice/vty@71000000 \
  -prom-env output-device=/vdevice/vty@71000000 \
  -serial tcp::9019,server,nowait \
  -monitor tcp::9020,server,nowait \
  -netdev type=user,id=mynet0,hostfwd=tcp:127.0.0.1:9018-10.0.2.18:22 \
  -device virtio-net-pci,netdev=mynet0 \
  -drive file=images/aix-ppc64.img,format=qcow2,if=none,id=hd,media=disk,cache=unsafe \
  -device virtio-scsi-pci,id=scsi -device scsi-hd,drive=hd \
  -drive file=images/iso/blank-cdrom,format=raw,media=cdrom,cache=unsafe

-------------------------------------------------------------------------------
                                Welcome to AIX.
                   boot image timestamp: 14:18:40 03/27/2020
        processor count: 8;  memory size: 8192MB;  kernel size: 45422205
         boot device: /pci@800000020000000/scsi@1/disk@100000000000000
AIX vm,uuid property contains invalid data
processing splpar characteristic: MaxEntCap
processing splpar characteristic: DesMem
processing splpar characteristic: DesProcs
processing splpar characteristic: MaxPlatProcs
processing splpar characteristic: HostThrs

AKVM: hcall-multi-tce detected but overridden, allow with "multce" boot argument
-------------------------------------------------------------------------------
Starqemu-system-ppc64: OS terminated: 888 102 700 C20


qemu-system-ppc64 \
  -name "IBM AIX - IBM POWER8" \
  -M pseries \
  -cpu POWER8 \
  -smp 8 \
  -m 8192 \
  -nodefaults \
  -nographic \
  -prom-env input-device=/vdevice/vty@71000000 \
  -prom-env output-device=/vdevice/vty@71000000 \
  -serial tcp::9019,server,nowait \
  -monitor tcp::9020,server,nowait \
  -netdev type=user,id=mynet0,hostfwd=tcp:127.0.0.1:9018-10.0.2.18:22 \
  -device virtio-net-pci,netdev=mynet0 \
  -drive file=images/aix-ppc64.img,format=qcow2,if=none,id=hd,media=disk,cache=unsafe \
  -device virtio-scsi-pci,id=scsi -device scsi-hd,drive=hd \
  -drive file=images/iso/blank-cdrom,format=raw,media=cdrom,cache=unsafe

-------------------------------------------------------------------------------
                                Welcome to AIX.
                   boot image timestamp: 14:18:40 03/27/2020
        processor count: 8;  memory size: 8192MB;  kernel size: 45422205
         boot device: /pci@800000020000000/scsi@1/disk@100000000000000
AIX vm,uuid property contains invalid data
processing splpar characteristic: MaxEntCap
processing splpar characteristic: DesMem
processing splpar characteristic: DesProcs
processing splpar characteristic: MaxPlatProcs
processing splpar characteristic: HostThrs

AKVM: hcall-multi-tce detected but overridden, allow with "multce" boot argument
-------------------------------------------------------------------------------
Star**
ERROR:/home/kens/tmp/qemu/cpus.c:1727:qemu_tcg_cpu_thread_fn: assertion failed: (cpu->halted)


kens@LAPTOP-JN77KAC2$ qemu-system-ppc64 -version
QEMU emulator version 2.11.2
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

qemu-system-ppc64 \
  -name "IBM AIX - IBM POWER9" \
  -M pseries,cap-htm=off \
  -cpu POWER9 \
  -smp 8 \
  -m 8192 \
  -nodefaults \
  -nographic \
  -prom-env input-device=/vdevice/vty@71000000 \
  -prom-env output-device=/vdevice/vty@71000000 \
  -serial tcp::9019,server,nowait \
  -monitor tcp::9020,server,nowait \
  -netdev type=user,id=mynet0,hostfwd=tcp:127.0.0.1:9018-10.0.2.18:22 \
  -device virtio-net-pci,netdev=mynet0 \
  -drive file=images/aix-ppc64.img,format=qcow2,if=none,id=hd,media=disk,cache=unsafe \
  -device virtio-scsi-pci,id=scsi -device scsi-hd,drive=hd \
  -drive file=images/iso/blank-cdrom,format=raw,media=cdrom,cache=unsafe

-------------------------------------------------------------------------------
                                Welcome to AIX.
                   boot image timestamp: 14:18:40 03/27/2020
        processor count: 8;  memory size: 8192MB;  kernel size: 45422205
         boot device: /pci@800000020000000/scsi@1/disk@100000000000000
AIX vm,uuid property contains invalid data
processing splpar characteristic: MaxEntCap
processing splpar characteristic: DesMem
processing splpar characteristic: DesProcs
processing splpar characteristic: MaxPlatProcs

AKVM: hcall-multi-tce detected but overridden, allow with "multce" boot argument
-------------------------------------------------------------------------------
Star
0539
0811
0539
0812
0708
0811
0811
0811
0811
0811
0811
0811
0811
078c
25b6
25b6
25b6
25b6
25b6
25b6
25b6
25b6
25b6
25b6
25b6
078c
0539
2071
0539
2073
0539
25b3vscsi_send_capabilities: capabilities size mismatch !
VSCSI: Unknown MAD type 09

0539
0538
0539
0591
0539
0538
0539
0538
0539
25b0
0539

0511
0551
0517
0517
0517
0517
0553
0517
0517
0538
0539
0538
0539
270b
0539
0538
0539
2070
0539
0538
0539
0811
0539
0811
0539
0812
0708
0811
0811
0811
0811
0811
0811
0811
0811
078c
25b6
25b6
25b6
25b6
25b6
25b6
25b6
25b6
25b6
25b6
25b6
078c
04ee
078c
0727
0727
2071
2072
2072
2071
0539
25b3
0539
25b5
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0581
0539
0538
0539
7000
0539
0538
0539
0538
0539
0538
0581
0581
0539
0538
0539
25b0
0539
0538
0539
0538
0539
0731
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
0538
0539
2028
0539
0538
0539

0c33
Saving Base Customize Data to boot disk
Starting the sync daemon
Starting the error daemon

System initialization completed.
TE=OFF
CHKEXEC=OFF
CHKSHLIB=OFF
CHKSCRIPT=OFF
CHKKERNEXT=OFF
STOP_UNTRUSTD=OFF
STOP_ON_CHKFAIL=OFF
LOCK_KERN_POLICIES=OFF
TSD_FILES_LOCK=OFF
TSD_LOCK=OFF
TEP=OFF
TLP=OFF
Successfully updated the Kernel Authorization Table.
Successfully updated the Kernel Role Table.
Successfully updated the Kernel Command Table.
Successfully updated the Kernel Device Table.
Successfully updated the Kernel Object Domain Table.
Successfully updated the Kernel Domains Table.
Successfully updated the Kernel RBAC log level.
Successfully updated the Kernel RBAC log level.
OPERATIONAL MODE Security Flags
ROOT                      :    ENABLED
TRACEAUTH                 :   DISABLED
System runtime mode is now OPERATIONAL MODE.
Setting tunable parameters...complete
Checking for srcmstr active...complete
Starting tcpip daemons:
0513-059 The sendmail Subsystem has been started. Subsystem PID is 4456846.
0513-059 The syslogd Subsystem has been started. Subsystem PID is 4522382.
0513-059 The portmap Subsystem has been started. Subsystem PID is 4194776.
0513-059 The inetd Subsystem has been started. Subsystem PID is 4129230.
0513-059 The snmpmibd Subsystem has been started. Subsystem PID is 4325672.
Finished starting tcpip daemons.


AIX Version 7
Copyright IBM Corporation, 1982, 2019.
Console login: root
root's Password:

*******************************************************************************
*                                                                             *
*                                                                             *
*  Welcome to AIX Version 7.2!                                                *
*                                                                             *
*                                                                             *
*  Please see the README file in /usr/lpp/bos for information pertinent to    *
*  this release of the AIX Operating System.                                  *
*                                                                             *
*                                                                             *
*******************************************************************************
Last login: Wed Apr 22 07:21:19 EDT 2020 on /dev/vty0

root@aix-ppc64# oslevel -s
7200-04-01-1939
root@aix-ppc64#

Did this ever work before? AFAIK AIX was never really running on QEMU...

Hi, Thomas. Yes! Of course I had it working beautifully before, with only a minor issue executing a small number of XCOFF binaries, that is why I specified the QEMU version (2.11.2) AIX last worked with in the title of this bug.

Check it out:

kens@LAPTOP-JN77KAC2$ qemu-system-ppc64 -version
QEMU emulator version 2.11.2
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

kens@LAPTOP-JN77KAC2$ ssh -p9018 localhost
Last login: Thu May  6 10:06:55 EDT 2021 on ssh from 10.0.2.2
*******************************************************************************
*                                                                             *
*                                                                             *
*  Welcome to AIX Version 7.2!                                                *
*                                                                             *
*                                                                             *
*  Please see the README file in /usr/lpp/bos for information pertinent to    *
*  this release of the AIX Operating System.                                  *
*                                                                             *
*                                                                             *
*******************************************************************************
kens@aix-ppc64$ lsattr -El sys0 -a modelname
modelname IBM pSeries (emulated by qemu) Machine name False

kens@aix-ppc64$ lsattr -El proc0
frequency   1000000000     Processor Speed       False
smt_enabled false          Processor SMT enabled False
smt_threads 1              Processor SMT threads False
state       enable         Processor state       False
type        PowerPC_POWER9 Processor type        False



Pretty cool, right?

Something changed after 2.11.2 that broke something in the tcg cpu execution emulation.

This is the error I get when I try to boot AIX in any QEMU version > 2.11.2:

ERROR:/home/kens/tmp/qemu/cpus.c:1727:qemu_tcg_cpu_thread_fn: assertion failed: (cpu->halted)


This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:

 https://gitlab.com/qemu-project/qemu/-/issues/269