Comment 0 for bug 1980896

Revision history for this message
You-Sheng Yang (vicamo) wrote :

Upstream bug: https://gitlab.com/qemu-project/qemu/-/issues/588

[Host environmen]

Operating system: Ubuntu Bionic/Focal/Kinetic
OS/kernel version:
Architecture: ppc64le
QEMU flavor: qemu-system-x86_64
QEMU version: 1:2.11+dfsg-1ubuntu7.40 (bionic), 1:4.2-3ubuntu6.23 (focal), 1:6.2+dfsg-2ubuntu6.2 (jammy)

[QEMU command line]

apt-get install -y qemu qemu-user-static
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker run -it ppc64le/ubuntu:20.04 bash
apt-get update && apt-get install -y openjdk-11-jdk

[Emulated/Virtualized environment]

Operating system: Ubuntu Bionic/Focal/Impish/Kinetic
OS/kernel version:
Architecture: ppc64le

[Description of problem]

qemu: fatal: Tried to call a TRAP occurs while running the:
/etc/ca-certificates/update.d/jks-keystore script which is part of the package ca-certificates-java that is installed as a dependency of openjdk-11-jdk

Unknown privilege violation (03)
NIP 0000004012db12b0 LR 0000004002a4335c CTR 0000004012db1280 XER 0000000000000000 CPU#1
MSR 9000000102806901 HID0 0000000000000000 HF 9000000002806001 iidx 6 didx 6
TB 00000538 2314542730558
GPR00 ffffffbffcc22660 00000040033dd940 0000004002d92f00 00000040033de9a0
GPR04 0000000000000000 0000000000002000 0000000000000000 0000000000000000
GPR08 0000004002df2f00 0000004002df3460 0000000000000001 0000000000000000
GPR12 0000004012db1280 00000040033e88f0 0000004001b87410 0000000000000000
GPR16 0000004001872000 0000004012db12a4 0000004012db12ac 0000004012db12d0
GPR20 0000004012db12d8 00000000000003d8 0000004004014e20 00000040040151f8
GPR24 0000004002dc39f8 00000040033df9a0 0000004004014e10 0000004004014dd0
GPR28 0000004002df3470 0000004012db1280 0000004002df4600 00000040033dd940
CR 24884400 [ E G L L G G - - ] RES 00000040033de9a0
qemu: fatal: Tried to call a TRAP

NIP 0000004013342588 LR 0000004013340d84 CTR 0000004013340c8c XER 0000000000000000 CPU#1
MSR 9000000102806901 HID0 0000000000000000 HF 9000000002806001 iidx 6 didx 6
TB 00000539 2317026761994
GPR00 0000000000000001 00000040033df9d0 0000004013340c00 00000000fff7ad68
GPR04 00000000fff7ad68 000000404d235860 0000000000000105 0000000000000000
GPR08 0000000100013f10 0000000000000000 0000000000000008 00000040033cfa60
GPR12 000000010003cd10 00000040033e88f0 000000404d204303 00000040033dfac0
GPR16 0000004004016000 00000000fff7ad68 00000040033dfb88 0000000100001808
GPR20 0000004012db8b90 00000040033dfa50 0000004012db8b90 0000000044000000
GPR24 0000004012dd9000 0000004002dd6aa0 00000040033dfad8 000000404d204b08
GPR28 0000000000000000 0000004012db1000 0000000000000010 000000404d2047a8
CR 48884424 [ G L L L G G E G ] RES ffffffffffffffff
FPR00 0000000100016f00 3ff000853ce957eb 0000000000000000 0000000000000000
FPR04 000000000000000a 0000000000000006 000000000000000e 0000000000000000
FPR08 0000000000000042 403a000000000000 0000000000000064 0000000000000064
FPR12 4060000000000000 0000003000000000 0000000000000000 0000000000000060
FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR 000000008a008000
Aborted (core dumped)

[Steps to reproduce]

apt-get install -y qemu qemu-user-static
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker run -it ppc64le/ubuntu:20.04 bash
apt-get update && apt-get install -y openjdk-11-jdk