diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-05-21 21:21:26 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-05-21 21:21:26 +0200 |
| commit | 4b927bc37359dec23f67d3427fc982945f24f404 (patch) | |
| tree | 245449ef9146942dc7fffd0235b48b7e70a00bf2 /gitlab/issues/target_s390x | |
| parent | aa8bd79cec7bf6790ddb01d156c2ef2201abbaab (diff) | |
| download | emulator-bug-study-4b927bc37359dec23f67d3427fc982945f24f404.tar.gz emulator-bug-study-4b927bc37359dec23f67d3427fc982945f24f404.zip | |
add gitlab issues in toml format
Diffstat (limited to 'gitlab/issues/target_s390x')
25 files changed, 1450 insertions, 0 deletions
diff --git a/gitlab/issues/target_s390x/host_aarch64/accel_TCG/2169.toml b/gitlab/issues/target_s390x/host_aarch64/accel_TCG/2169.toml new file mode 100644 index 00000000..4203c339 --- /dev/null +++ b/gitlab/issues/target_s390x/host_aarch64/accel_TCG/2169.toml @@ -0,0 +1,401 @@ +id = 2169 +title = "qemu-system-s390x crashes with s390_swap_bfp_rounding_mode: code should not be reached" +state = "closed" +created_at = "2024-02-15T15:34:54.719Z" +closed_at = "2024-03-05T11:17:44.370Z" +labels = ["Closed::Fixed", "accel: TCG", "host: aarch64", "hostos: macOS", "kind::Bug", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/2169" +host-os = "macOS" +host-arch = "Arm (Apple M1)" +qemu-version = "8.2.1" +guest-os = "Ubuntu" +guest-arch = "s390x" +description = """Ubuntu 23.10 was installed on a s390x emulated platform some time ago. The system was setup, an open source project was built and tested. The system rebooted several times. + +Several days later, qemu crashed while the command `apt update` was running in the guest. The error was: +``` +ERROR:../target/s390x/tcg/fpu_helper.c:449:s390_swap_bfp_rounding_mode: code should not be reached +Bail out! ERROR:../target/s390x/tcg/fpu_helper.c:449:s390_swap_bfp_rounding_mode: code should not be reached +Abort trap: 6 +``` + +Now, each time the virtual machine is booted, qemu immediately crashes all the time at the end of the boot with the same error. The virtual machine is no longer usable.""" +reproduce = """1. Run the above command. +2. It crashes at the end of the boot.""" +additional = """The disk image `disk.qcow2` is 3.7 GB large, too large to be attached here. + +Full boot log: +``` +qemu-system-s390x -machine s390-ccw-virtio -cpu max,zpci=on -smp 8 -m 8192 -nographic \\ + -drive file=disk.qcow2,format=qcow2,if=none,id=drive-virtio-disk0,cache=none \\ + -device virtio-blk-ccw,devno=fe.0.0002,drive=drive-virtio-disk0,bootindex=1 \\ + -nic user,hostfwd=tcp::2222-:22 +LOADPARM=[ ] +Using virtio-blk. +Using SCSI scheme. +......... +KASLR disabled: CPU has no PRNG +KASLR disabled: CPU has no PRNG +[ 0.561037] Linux version 6.5.0-14-generic (buildd@bos02-s390x-003) (s390x-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.41) #14-Ubuntu SMP Tue Nov 14 14:16:58 UTC 2023 (Ubuntu 6.5.0-14.14-generic 6.5.3) +[ 0.562868] setup: Linux is running under KVM in 64-bit mode +[ 0.601125] setup: The maximum memory size is 8192MB +[ 0.601577] setup: Relocating AMODE31 section of size 0x00003000 +[ 0.603756] cpu: 8 configured CPUs, 0 standby CPUs +[ 34.401410] Write protected kernel read-only data: 22272k +[ 34.548843] Zone ranges: +[ 34.548873] DMA [mem 0x0000000000000000-0x000000007fffffff] +[ 34.549570] Normal [mem 0x0000000080000000-0x00000001ffffffff] +[ 34.549609] Movable zone start for each node +[ 34.549633] Early memory node ranges +[ 34.549664] node 0: [mem 0x0000000000000000-0x00000001ffffffff] +[ 34.549979] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff] +[ 34.619124] percpu: Embedded 31 pages/cpu s87552 r8192 d31232 u126976 +[ 34.621042] Kernel command line: root=/dev/disk/by-path/ccw-0.0.0002-part1 +[ 34.622253] random: crng init done +[ 34.624460] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) +[ 34.625511] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) +[ 34.626568] Fallback order for Node 0: 0 +[ 34.627026] Built 1 zonelists, mobility grouping on. Total pages: 2064384 +[ 34.627069] Policy zone: Normal +[ 34.627356] mem auto-init: stack:all(zero), heap alloc:on, heap free:off +[ 34.669390] Memory: 8169740K/8388608K available (14780K kernel code, 3496K rwdata, 7492K rodata, 6376K init, 1312K bss, 218868K reserved, 0K cma-reserved) +[ 34.677279] SLUB: HWalign=256, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 +[ 34.678165] ftrace: allocating 38640 entries in 151 pages +[ 34.967308] ftrace: allocated 151 pages with 5 groups +[ 34.977052] rcu: Hierarchical RCU implementation. +[ 34.977093] rcu: \tRCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=8. +[ 34.977196] \tRude variant of Tasks RCU enabled. +[ 34.977209] \tTracing variant of Tasks RCU enabled. +[ 34.977329] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 34.977360] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8 +[ 35.023854] NR_IRQS: 3, nr_irqs: 3, preallocated irqs: 3 +[ 35.026445] rcu: srcu_init: Setting srcu_struct sizes based on contention. +[ 35.027768] clocksource: tod: mask: 0xffffffffffffffff max_cycles: 0x3b0a9be803b0a9, max_idle_ns: 1805497147909793 ns +[ 35.032313] Console: colour dummy device 80x25 +[ 35.036054] printk: console [ttysclp0] enabled +[ 35.038867] pid_max: default: 32768 minimum: 301 +[ 35.044407] LSM: initializing lsm=lockdown,capability,landlock,yama,apparmor,integrity +[ 35.044879] landlock: Up and running. +[ 35.044911] Yama: becoming mindful. +[ 35.046994] AppArmor: AppArmor initialized +[ 35.048281] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) +[ 35.048366] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) +[ 35.079199] RCU Tasks Rude: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1. +[ 35.079584] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1. +[ 35.081422] rcu: Hierarchical SRCU implementation. +[ 35.081465] rcu: \tMax phase no-delay instances is 1000. +[ 35.087248] smp: Bringing up secondary CPUs ... +[ 35.109842] smp: Brought up 1 node, 8 CPUs +[ 35.133520] devtmpfs: initialized +[ 35.143534] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 35.143848] futex hash table entries: 2048 (order: 7, 524288 bytes, linear) +[ 35.155409] NET: Registered PF_NETLINK/PF_ROUTE protocol family +[ 35.158309] audit: initializing netlink subsys (disabled) +[ 35.160126] audit: type=2000 audit(1708008415.080:1): state=initialized audit_enabled=0 res=1 +[ 35.162149] Spectre V2 mitigation: execute trampolines +[ 35.218877] iommu: Default domain type: Translated +[ 35.218963] iommu: DMA domain TLB invalidation policy: strict mode +[ 35.221010] SCSI subsystem initialized +[ 35.221925] pps_core: LinuxPPS API ver. 1 registered +[ 35.221953] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> +[ 35.233495] NetLabel: Initializing +[ 35.233538] NetLabel: domain hash size = 128 +[ 35.233569] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO +[ 35.234452] NetLabel: unlabeled traffic allowed by default +[ 35.490582] VFS: Disk quotas dquot_6.6.0 +[ 35.490828] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) +[ 35.492088] hugetlbfs: disabling because there are no supported hugepage sizes +[ 35.494605] AppArmor: AppArmor Filesystem Enabled +[ 35.537129] NET: Registered PF_INET protocol family +[ 35.538412] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear) +[ 35.553748] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear) +[ 35.554033] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) +[ 35.554241] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear) +[ 35.555185] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear) +[ 35.555971] TCP: Hash tables configured (established 65536 bind 65536) +[ 35.558027] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear) +[ 35.558386] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear) +[ 35.558715] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear) +[ 35.560408] NET: Registered PF_UNIX/PF_LOCAL protocol family +[ 35.560888] NET: Registered PF_XDP protocol family +[ 35.566276] Trying to unpack rootfs image as initramfs... +[ 35.583376] kvm-s390: SIE is not available +[ 35.584037] hypfs: The hardware system does not support hypfs +[ 35.686516] Initialise system trusted keyrings +[ 35.688015] Key type blacklist registered +[ 35.689131] workingset: timestamp_bits=45 max_order=21 bucket_order=0 +[ 35.689516] zbud: loaded +[ 35.693314] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 35.695879] fuse: init (API version 7.38) +[ 35.699171] integrity: Platform Keyring initialized +[ 35.808827] Key type asymmetric registered +[ 35.808973] Asymmetric key parser 'x509' registered +[ 35.809365] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) +[ 35.810660] io scheduler mq-deadline registered +[ 35.816790] hvc_iucv: The z/VM IUCV HVC device driver cannot be used without z/VM +[ 35.846919] loop: module loaded +[ 35.851530] tun: Universal TUN/TAP device driver, 1.6 +[ 35.853032] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log. +[ 35.853186] device-mapper: uevent: version 1.0.3 +[ 35.854080] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com +[ 35.854360] drop_monitor: Initializing network drop monitor service +[ 35.963712] NET: Registered PF_INET6 protocol family +[ 36.335556] Freeing initrd memory: 23592K +[ 36.587317] Segment Routing with IPv6 +[ 36.587633] In-situ OAM (IOAM) with IPv6 +[ 36.588291] NET: Registered PF_PACKET protocol family +[ 36.589147] Key type dns_resolver registered +[ 36.590364] cio: Channel measurement facility initialized using format extended (mode autodetected) +[ 36.592594] sclp_sd: Store Data request failed (eq=2, di=3, response=0x40f0, flags=0x00, status=0, rc=-5) +[ 36.593406] ap: The hardware system does not support AP instructions +[ 36.599059] virtio_blk virtio0: 1/0/0 default/read/poll queues +[ 36.604778] virtio_blk virtio0: [vda] 62914560 512-byte logical blocks (32.2 GB/30.0 GiB) +[ 36.621065] registered taskstats version 1 +[ 36.623865] vda: vda1 +[ 36.630114] Loading compiled-in X.509 certificates +[ 36.639995] Loaded X.509 cert 'Build time autogenerated kernel key: ffca65de79457ba2128edde155db56e4bec9b799' +[ 36.642859] Loaded X.509 cert 'Canonical Ltd. Live Patch Signing: 14df34d1a87cf37625abec039ef2bf521249b969' +[ 36.646267] Loaded X.509 cert 'Canonical Ltd. Kernel Module Signing: 88f752e560a1e0737e31163a466ad7b70a850c19' +[ 36.646336] blacklist: Loading compiled-in revocation X.509 certificates +[ 36.647551] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing: 61482aa2830d0ab2ad5af10b7250da9033ddcef0' +[ 36.647791] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2017): 242ade75ac4a15e50d50c84b0d45ff3eae707a03' +[ 36.648026] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (ESM 2018): 365188c1d374d6b07c3c8f240f8ef722433d6a8b' +[ 36.648252] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2019): c0746fd6c5da3ae827864651ad66ae47fe24b3e8' +[ 36.648455] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v1): a8d54bbb3825cfb94fa13c9f8a594a195c107b8d' +[ 36.648669] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v2): 4cf046892d6fd3c9a5b03f98d845f90851dc6a8c' +[ 36.648876] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v3): 100437bb6de6e469b581e61cd66bce3ef4ed53af' +[ 36.649092] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (Ubuntu Core 2019): c1d57b8f6b743f23ee41f4f7ee292f06eecadfb9' +[ 36.679176] Key type .fscrypt registered +[ 36.679250] Key type fscrypt-provisioning registered +[ 36.788001] Key type encrypted registered +[ 36.788125] AppArmor: AppArmor sha1 policy hashing enabled +[ 36.788580] ima: No TPM chip found, activating TPM-bypass! +[ 36.788676] Loading compiled-in module X.509 certificates +[ 36.791454] Loaded X.509 cert 'Build time autogenerated kernel key: ffca65de79457ba2128edde155db56e4bec9b799' +[ 36.791525] ima: Allocated hash algorithm: sha1 +[ 36.793195] ima: No architecture policies found +[ 36.793649] evm: Initialising EVM extended attributes: +[ 36.793691] evm: security.selinux +[ 36.793729] evm: security.SMACK64 +[ 36.793751] evm: security.SMACK64EXEC +[ 36.793772] evm: security.SMACK64TRANSMUTE +[ 36.793792] evm: security.SMACK64MMAP +[ 36.793817] evm: security.apparmor +[ 36.793837] evm: security.ima +[ 36.793857] evm: security.capability +[ 36.793882] evm: HMAC attrs: 0x1 +[ 36.814426] Freeing unused kernel image (initmem) memory: 6376K +[ 36.855771] Write protected read-only-after-init data: 144k +[ 38.034069] Checked W+X mappings: passed, no unexpected W+X pages found +[ 38.034295] Run /init as init process +Loading, please wait... +Starting systemd-udevd version 253.5-1ubuntu6.1 +[ 41.012145] virtio_net virtio1 enc0: renamed from eth0 +Begin: Starting firmware auto-configuration ... done. +Begin: Loading essential drivers ... [ 48.602928] raid6: vx128x8 gen() 3084 MB/s +[ 48.603058] raid6: using algorithm vx128x8 gen() 3084 MB/s +[ 48.773302] raid6: .... xor() 1800 MB/s, rmw enabled +[ 48.773433] raid6: using s390xc recovery algorithm +[ 48.783956] xor: automatically using best checksumming function xc +done. +Begin: Running /scripts/init-premount ... done. +Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. +Begin: Running /scripts/local-premount ... [ 49.837645] Btrfs loaded, zoned=yes, fsverity=yes +Scanning for Btrfs filesystems +done. +Begin: Will now check root file system ... fsck from util-linux 2.39.1 +[/usr/sbin/fsck.ext4 (1) -- /dev/vda1] fsck.ext4 -a -C0 /dev/vda1 +/dev/vda1: recovering journal +/dev/vda1: clean, 123948/1966080 files, 1902224/7863808 blocks +done. +[ 50.624887] EXT4-fs (vda1): mounted filesystem b33ae246-95a1-494e-b967-9ab636fd714d ro with ordered data mode. Quota mode: none. +done. +Begin: Running /scripts/local-bottom ... done. +Begin: Running /scripts/init-bottom ... done. +[ 52.531666] systemd[1]: systemd 253.5-1ubuntu6.1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) +[ 52.531979] systemd[1]: Detected virtualization kvm. +[ 52.532228] systemd[1]: Detected architecture s390x. + +Welcome to Ubuntu 23.10! + +[ 52.545927] systemd[1]: Hostname set to <vms390x>. +[ 52.738383] systemd[1]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set +[ 54.251527] (sd-execu[322]: /usr/lib/systemd/system-generators/s390-cpi-vars failed with exit status 1. +[ 56.207233] systemd[1]: Queued start job for default target graphical.target. +[ 56.324910] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe. +[ OK ] Created slice system-modpr…lice - Slice /system/modprobe. +[ 56.342133] systemd[1]: Created slice system-serial\\x2dgetty.slice - Slice /system/serial-getty. +[ OK ] Created slice system-seria… - Slice /system/serial-getty. +[ 56.354987] systemd[1]: Created slice user.slice - User and Session Slice. +[ OK ] Created slice user.slice - User and Session Slice. +[ 56.359125] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch. +[ OK ] Started systemd-ask-passwo… Requests to Wall Directory Watch. +[ 56.370074] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point. +[ OK ] Set up automount proc-sys-…rmats File System Automount Point. +[ 56.373118] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes. +[ OK ] Reached target integrityse…Local Integrity Protected Volumes. +[ 56.374764] systemd[1]: Reached target slices.target - Slice Units. +[ OK ] Reached target slices.target - Slice Units. +[ 56.375999] systemd[1]: Reached target snapd.mounts-pre.target - Mounting snaps. +[ OK ] Reached target snapd.mounts-pre.target - Mounting snaps. +[ 56.377421] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes. +[ OK ] Reached target veritysetup… - Local Verity Protected Volumes. +[ 56.381860] systemd[1]: Listening on dm-event.socket - Device-mapper event daemon FIFOs. +[ OK ] Listening on dm-event.sock… Device-mapper event daemon FIFOs. +[ 56.388375] systemd[1]: Listening on lvm2-lvmpolld.socket - LVM2 poll daemon socket. +[ OK ] Listening on lvm2-lvmpolld…ket - LVM2 poll daemon socket. +[ 56.394056] systemd[1]: Listening on multipathd.socket - multipathd control socket. +[ OK ] Listening on multipathd.so…t - multipathd control socket. +[ 56.399560] systemd[1]: Listening on syslog.socket - Syslog Socket. +[ OK ] Listening on syslog.socket - Syslog Socket. +[ 56.404487] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket. +[ OK ] Listening on systemd-fsckd…sck to fsckd communication Socket. +[ 56.407621] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe. +[ OK ] Listening on systemd-initc… initctl Compatibility Named Pipe. +[ 56.414642] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log). +[ OK ] Listening on systemd-journ…t - Journal Socket (/dev/log). +[ 56.421162] systemd[1]: Listening on systemd-journald.socket - Journal Socket. +[ OK ] Listening on systemd-journald.socket - Journal Socket. +[ 56.429706] systemd[1]: Listening on systemd-networkd.socket - Network Service Netlink Socket. +[ OK ] Listening on systemd-netwo… - Network Service Netlink Socket. +[ 56.436982] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket. +[ OK ] Listening on systemd-udevd….socket - udev Control Socket. +[ 56.443136] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket. +[ OK ] Listening on systemd-udevd…l.socket - udev Kernel Socket. +[ 56.450850] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages). +[ 56.516995] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System... + Mounting dev-mqueue.mount…OSIX Message Queue File System... +[ 56.554312] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System... + Mounting sys-kernel-debug.… - Kernel Debug File System... +[ 56.589207] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System... + Mounting sys-kernel-tracin… - Kernel Trace File System... +[ 56.651284] systemd[1]: Starting systemd-journald.service - Journal Service... + Starting systemd-journald.service - Journal Service... +[ 56.683040] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout... + Starting keyboard-setup.se…Set the console keyboard layout... +[ 56.729933] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes... + Starting kmod-static-nodes…ate List of Static Device Nodes... +[ 56.765378] systemd[1]: Starting lvm2-monitor.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling... + Starting lvm2-monitor.serv…ng dmeventd or progress polling... +[ 56.768638] systemd[1]: lxd-agent.service - LXD - agent was skipped because of an unmet condition check (ConditionPathExists=/dev/virtio-ports/org.linuxcontainers.lxd). +[ 56.806941] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs... + Starting modprobe@configfs…m - Load Kernel Module configfs... +[ 56.852266] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod... + Starting modprobe@dm_mod.s…[0m - Load Kernel Module dm_mod... +[ 56.907919] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm... + Starting modprobe@drm.service - Load Kernel Module drm... +[ 56.962524] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore... + Starting modprobe@efi_psto…- Load Kernel Module efi_pstore... +[ 57.014414] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse... + Starting modprobe@fuse.ser…e - Load Kernel Module fuse... +[ 57.069081] systemd-journald[352]: Collecting audit messages is disabled. +[ 57.076472] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop... + Starting modprobe@loop.ser…e - Load Kernel Module loop... +[ 57.085874] systemd[1]: netplan-ovs-cleanup.service - OpenVSwitch configuration for cleanup was skipped because of an unmet condition check (ConditionFileIsExecutable=/usr/bin/ovs-vsctl). +[ 57.095668] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root). +[ 57.168905] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules... + Starting systemd-modules-l…rvice - Load Kernel Modules... +[ 57.226498] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems... + Starting systemd-remount-f…nt Root and Kernel File Systems... +[ 57.287754] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices... + Starting systemd-udev-trig…[0m - Coldplug All udev Devices... +[ 57.419867] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System. +[ OK ] Mounted dev-mqueue.mount…OSIX Message Queue File System. +[ 57.432129] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System. +[ OK ] Mounted sys-kernel-debug.m…nt - Kernel Debug File System. +[ 57.443392] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System. +[ OK ] Mounted sys-kernel-tracing…nt - Kernel Trace File System. +[ 57.455168] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes. +[ OK ] Finished kmod-static-nodes…reate List of Static Device Nodes. +[ 57.466903] systemd[1]: Started systemd-journald.service - Journal Service. +[ OK ] Started systemd-journald.service - Journal Service. +[ OK ] Finished modprobe@configfs…[0m - Load Kernel Module configfs. +[ 57.555558] EXT4-fs (vda1): re-mounted b33ae246-95a1-494e-b967-9ab636fd714d r/w. Quota mode: none. +[ OK ] Finished modprobe@dm_mod.s…e - Load Kernel Module dm_mod. +[ OK ] Finished modprobe@efi_psto…m - Load Kernel Module efi_pstore. +[ OK ] Finished modprobe@fuse.service - Load Kernel Module fuse. +[ OK ] Finished modprobe@loop.service - Load Kernel Module loop. +[ OK ] Finished systemd-modules-l…service - Load Kernel Modules. +[ OK ] Finished systemd-remount-f…ount Root and Kernel File Systems. + Activating swap swap.img.swap - /swap.img... + Mounting sys-fs-fuse-conne… - FUSE Control File System... +[ 57.885897] Adding 4085756k swap on /swap.img. Priority:-2 extents:7 across:4388860k FS + Mounting sys-kernel-config…ernel Configuration File System... + Starting multipathd.servic…per Multipath Device Controller... + Starting systemd-journal-f…h Journal to Persistent Storage... + Starting systemd-random-se… - Load/Save OS Random Seed... + Starting systemd-sysctl.se…ce - Apply Kernel Variables... + Starting systemd-sysusers.…rvice - Create System Users... +[ OK ] Activated swap swap.img.swap - /swap.img. +[ 58.206094] systemd-journald[352]: Received client request to flush runtime journal. +[ 58.228283] systemd-journald[352]: File /var/log/journal/accea1250e0f4fe291f8c3b31e7720d7/system.journal corrupted or uncleanly shut down, renaming and replacing. +[ OK ] Finished lvm2-monitor.serv…sing dmeventd or progress polling. +[ OK ] Finished modprobe@drm.service - Load Kernel Module drm. +[ OK ] Mounted sys-fs-fuse-connec…nt - FUSE Control File System. +[ OK ] Mounted sys-kernel-config.… Kernel Configuration File System. +[ OK ] Finished systemd-random-se…ce - Load/Save OS Random Seed. +[ OK ] Finished systemd-sysctl.service - Apply Kernel Variables. +[ OK ] Reached target swap.target - Swaps. +[ OK ] Finished systemd-sysusers.service - Create System Users. + Starting systemd-tmpfiles-…ate Static Device Nodes in /dev... +[ OK ] Finished systemd-journal-f…ush Journal to Persistent Storage. +[ OK ] Finished keyboard-setup.se…- Set the console keyboard layout. +[ OK ] Started multipathd.service…apper Multipath Device Controller. +[ OK ] Finished systemd-tmpfiles-…reate Static Device Nodes in /dev. +[ OK ] Reached target local-fs-pr…reparation for Local File Systems. + Mounting snap-core22-865.m…t unit for core22, revision 865... + Mounting snap-lxd-25850.mo…nt unit for lxd, revision 25850... + Mounting snap-snapd-20294.… unit for snapd, revision 20294... + Mounting snap-snapd-20676.… unit for snapd, revision 20676... + Starting systemd-udevd.ser…ger for Device Events and Files... +[ OK ] Mounted snap-core22-865.mo…unt unit for core22, revision 865. +[ OK ] Mounted snap-lxd-25850.mou…ount unit for lxd, revision 25850. +[ OK ] Mounted snap-snapd-20294.m…nt unit for snapd, revision 20294. +[ OK ] Mounted snap-snapd-20676.m…nt unit for snapd, revision 20676. +[ OK ] Reached target snapd.mounts.target - Mounted snaps. +[ OK ] Reached target local-fs.target - Local File Systems. + Starting apparmor.service - Load AppArmor profiles... + Starting console-setup.ser…m - Set console font and keymap... + Starting finalrd.service…me dir for shutdown pivot root... + Starting plymouth-read-wri…mouth To Write Out Runtime Data... + Starting systemd-binfmt.se…et Up Additional Binary Formats... + Starting systemd-tmpfiles-… Volatile Files and Directories... + Starting ufw.service - Uncomplicated firewall... +[ OK ] Finished systemd-udev-trig…e - Coldplug All udev Devices. +[ OK ] Finished console-setup.ser…[0m - Set console font and keymap. +[ OK ] Finished finalrd.service…time dir for shutdown pivot root. +[ OK ] Finished plymouth-read-wri…lymouth To Write Out Runtime Data. +[ OK ] Finished ufw.service - Uncomplicated firewall. +[ OK ] Reached target network-pre…get - Preparation for Network. + Mounting proc-sys-fs-binfm…utable File Formats File System... +[ OK ] Mounted proc-sys-fs-binfmt…ecutable File Formats File System. +[ OK ] Finished systemd-binfmt.se… Set Up Additional Binary Formats. +[ OK ] Started systemd-udevd.serv…nager for Device Events and Files. +[ OK ] Started systemd-ask-passwo…quests to Console Directory Watch. +[ OK ] Reached target cryptsetup.…get - Local Encrypted Volumes. + Starting systemd-networkd.…ice - Network Configuration... +[ OK ] Finished systemd-tmpfiles-…te Volatile Files and Directories. + Starting systemd-resolved.…e - Network Name Resolution... + Starting systemd-timesyncd… - Network Time Synchronization... + Starting systemd-update-ut…rd System Boot/Shutdown in UTMP... +[ OK ] Finished systemd-update-ut…cord System Boot/Shutdown in UTMP. +[ OK ] Found device dev-ttysclp0.device - /dev/ttysclp0. +[ OK ] Started systemd-networkd.service - Network Configuration. + Starting systemd-networkd-…it for Network to be Configured... +[ OK ] Started systemd-timesyncd.…0m - Network Time Synchronization. +[ OK ] Reached target time-set.target - System Time Set. +[ OK ] Finished systemd-networkd-…Wait for Network to be Configured. +[ OK ] Finished apparmor.service - Load AppArmor profiles. + Starting snapd.apparmor.se…les managed internally by snapd... +[ OK ] Started systemd-resolved.s…ice - Network Name Resolution. +[ OK ] Reached target network.target - Network. +[ OK ] Reached target network-online.target - Network is Online. +[ OK ] Reached target nss-lookup.…m - Host and Network Name Lookups. +[ OK ] Reached target remote-fs-p…eparation for Remote File Systems. +[ OK ] Reached target remote-fs.target - Remote File Systems. +[ OK ] Finished blk-availability.…m - Availability of block devices. +** +ERROR:../target/s390x/tcg/fpu_helper.c:449:s390_swap_bfp_rounding_mode: code should not be reached +Bail out! ERROR:../target/s390x/tcg/fpu_helper.c:449:s390_swap_bfp_rounding_mode: code should not be reached +Abort trap: 6 +```""" diff --git a/gitlab/issues/target_s390x/host_missing/accel_TCG/1248.toml b/gitlab/issues/target_s390x/host_missing/accel_TCG/1248.toml new file mode 100644 index 00000000..a04ef82c --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_TCG/1248.toml @@ -0,0 +1,21 @@ +id = 1248 +title = "s390x: glibc widestring algorithms broken" +state = "closed" +created_at = "2022-10-10T18:47:41.188Z" +closed_at = "2022-11-04T13:37:57.063Z" +labels = ["accel: TCG", "target: s390x", "workflow::Patch available"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1248" +host-os = "ArchLinux" +host-arch = "x86_64" +qemu-version = "qemu-s390x version 7.1.0" +guest-os = "user emulation" +guest-arch = "s390x" +description = """Several wide-string functions from glibc are broken und qemu user emulation. +Affected are at least: `wcsbrk()`, `wcsspn()` and `wcscspn()`. All of these are implemented in optimized assembler in glibc. + +Unfortunately I don't have access to the real hardware to check the behavior there. But it would probably been detected by now. +Also I don't know which instructions exactly don't work, as I don't have any knowledge about s390x assembler.""" +reproduce = """1. Compile the test program above +2. Run the program +3. Output is `0`, should be `1`.""" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_missing/accel_TCG/1865.toml b/gitlab/issues/target_s390x/host_missing/accel_TCG/1865.toml new file mode 100644 index 00000000..b3073e2d --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_TCG/1865.toml @@ -0,0 +1,32 @@ +id = 1865 +title = "ERROR:../target/s390x/tcg/cc_helper.c:128:cc_calc_addu: assertion failed: (carry_out <= 1)" +state = "closed" +created_at = "2023-09-05T12:21:27.362Z" +closed_at = "2023-11-13T18:06:25.752Z" +labels = ["accel: TCG", "target: s390x", "workflow::Patch available"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1865" +host-os = "Fedora 38" +host-arch = "x86 (AMD)" +qemu-version = "8.1" +guest-os = "ClefOS 7.7 (CentOS)" +guest-arch = "s390x" +description = """Installation progresses OK, but QEMU asserts during post-installation setup tasks: + +Performing post-installation setup tasks +** +ERROR:../target/s390x/tcg/cc_helper.c:128:cc_calc_addu: assertion failed: (carry_out <= 1) +Bail out! ERROR:../target/s390x/tcg/cc_helper.c:128:cc_calc_addu: assertion failed: (carry_out <= 1) +./install.sh: line 25: 158224 Aborted (core dumped) $QEMU/qemu-system-s390x -M s390-ccw-virtio -smp 1 -m 4G +-nographic -display none -serial mon:stdio -device virtio-scsi -drive file=$ISO,format=raw,if=none,id=c1 -device scsi-cd,dri +ve=c1 -hda $DISK -kernel $KERNEL -initrd $INITRD -net nic,model=virtio,netdev=net1 -netdev user,id=net1 -D debug.log""" +reproduce = """1. Download ClefOS 7.7 ISO from [sinenomine](https://download.sinenomine.net/clefos) +2. Download Fedora 27 ISO and extract kernel.img and initrd.img, for boot purposes +3. Boot ClefOS ISO using Fedora kernel/initrd +4. Go through a minimal install, observe crash during post-installation setup tasks""" +additional = """See script log and install.sh attached. [install-and-output.zip](/uploads/87eb8484344402ea9c68784f89ea3339/install-and-output.zip) + +I have tried QEMU 7.2.5 and 8.1 on my Fedora 38 AMD host. + +My goal is to create RHEL7, SLES12, Ubuntu20 (or compatible) VMs for s390x software builds. +So far only Ubuntu20 has been successful. +RHEL7 fails due to kernel issues described in QEMU issue 906, so I'm trying ClefOS (CentOS for z) based on a procedure [here](https://www.linuxquestions.org/questions/linux-server-73/install-clefos-7-5-an-open-source-version-of-rhel-7-5-s390x-using-qemu-4175658710/)""" diff --git a/gitlab/issues/target_s390x/host_missing/accel_TCG/281.toml b/gitlab/issues/target_s390x/host_missing/accel_TCG/281.toml new file mode 100644 index 00000000..83b12bbf --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_TCG/281.toml @@ -0,0 +1,15 @@ +id = 281 +title = "External modules retreval using Go1.15 on s390x appears to have checksum and ECDSA verification issues" +state = "closed" +created_at = "2021-05-13T12:15:26.374Z" +closed_at = "2021-09-24T08:44:35.195Z" +labels = ["Launchpad", "accel: TCG", "linux-user", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/281" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_missing/accel_TCG/319.toml b/gitlab/issues/target_s390x/host_missing/accel_TCG/319.toml new file mode 100644 index 00000000..5b851bf6 --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_TCG/319.toml @@ -0,0 +1,15 @@ +id = 319 +title = "Openjdk11+ fails to install on s390x" +state = "closed" +created_at = "2021-05-15T14:04:48.136Z" +closed_at = "2021-08-04T08:26:56.929Z" +labels = ["Launchpad", "accel: TCG", "kind::Bug", "target: s390x", "workflow::In Progress"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/319" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_missing/accel_TCG/616.toml b/gitlab/issues/target_s390x/host_missing/accel_TCG/616.toml new file mode 100644 index 00000000..a762c3f6 --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_TCG/616.toml @@ -0,0 +1,115 @@ +id = 616 +title = "overflow condition code determined incorrectly after addition on s390x" +state = "closed" +created_at = "2021-09-12T15:22:43.008Z" +closed_at = "2022-04-02T17:38:46.610Z" +labels = ["accel: TCG", "kind::Bug", "target: s390x", "workflow::Confirmed"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/616" +host-os = "Ubuntu 20.04" +host-arch = "x86_64" +qemu-version = "6.1.0" +guest-os = "Linux" +guest-arch = "s390x" +description = """The following program foo.c +[foo.c](/uploads/78f5f799af6e3c400a6a42634f3f0e63/foo.c) + +``` +#include <stdio.h> + +int overflow_32 (int x, int y) +{ + int sum; + return ! __builtin_add_overflow (x, y, &sum); +} + +int overflow_64 (long long x, long long y) +{ + long sum; + return ! __builtin_add_overflow (x, y, &sum); +} + +int a1 = -2147483648; +int b1 = -2147483648; +long long a2 = -9223372036854775808L; +long long b2 = -9223372036854775808L; + +int main () +{ + { + int a = a1; + int b = b1; + printf ("a = 0x%x, b = 0x%x\\n", a, b); + printf ("no_overflow = %d\\n", overflow_32 (a, b)); + } + { + long long a = a2; + long long b = b2; + printf ("a = 0x%llx, b = 0x%llx\\n", a, b); + printf ("no_overflow = %d\\n", overflow_64 (a, b)); + } +} +``` + +should print + +``` +a = 0x80000000, b = 0x80000000 +no_overflow = 0 +a = 0x8000000000000000, b = 0x8000000000000000 +no_overflow = 0 +``` + +However, when compiled as an s390x program and executed through +qemu 6.1.0 (Linux user-mode), it prints 'no_overflow = 1' twice. + +``` +$ s390x-linux-gnu-gcc-10 --version +s390x-linux-gnu-gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 +``` + +``` +$ s390x-linux-gnu-gcc-10 -static foo.c +$ ~/inst-qemu/6.1.0/bin/qemu-s390x a.out +a = 0x80000000, b = 0x80000000 +no_overflow = 1 +a = 0x8000000000000000, b = 0x8000000000000000 +no_overflow = 1 +``` + +``` +$ s390x-linux-gnu-gcc-10 -O2 -static foo.c +$ ~/inst-qemu/6.1.0/bin/qemu-s390x a.out +a = 0x80000000, b = 0x80000000 +no_overflow = 1 +a = 0x8000000000000000, b = 0x8000000000000000 +no_overflow = 1 +``` + +The code generated by 's390x-linux-gnu-gcc-10 -O2' makes use of the +'o' (overflow / ones) condition code: + +``` +overflow_64: + lgr %r1,%r2 ;; copy a into %r1 + lghi %r2,0 + agr %r1,%r3 ;; add a and b + bnor %r14 ;; if no overflow, return %r2 = 0 + lghi %r2,1 + br %r14 ;; otherwise, return %r2 = 1 +``` + +Either the bug is in GCC, that is, GCC produces code that uses the CPU's +overflow condition code when it shouldn't. + +Or the bug is in QEMU, that is, QEMU does not set the overflow condition +code correctly. + +This can be decided by running the above program on real Linux/s390x hardware +(to which I don't have access).""" +reproduce = """[foo.static.s390x](/uploads/ac41abf4c54baf9ca96ba82d75a24ad6/foo.static.s390x) +(foo.static.s390x is attached, the result of "s390x-linux-gnu-gcc-10 -static -O2 foo.c -o foo.static.s390x") + +1. `qemu-s390x foo.static.s390x`""" +additional = """If the bug is really in QEMU, the attached patch fixes it. + +[0001-s390x-Fix-determination-of-overflow-condition-code-a.patch](/uploads/552917079ccd25f1861d682fc9dee3e8/0001-s390x-Fix-determination-of-overflow-condition-code-a.patch)""" diff --git a/gitlab/issues/target_s390x/host_missing/accel_TCG/618.toml b/gitlab/issues/target_s390x/host_missing/accel_TCG/618.toml new file mode 100644 index 00000000..cd397f72 --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_TCG/618.toml @@ -0,0 +1,103 @@ +id = 618 +title = "overflow condition code determined incorrectly after subtraction on s390x" +state = "closed" +created_at = "2021-09-12T22:42:18.749Z" +closed_at = "2022-04-02T17:38:46.614Z" +labels = ["accel: TCG", "kind::Bug", "target: s390x", "workflow::Confirmed"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/618" +host-os = "Ubuntu 20.04" +host-arch = "x86_64" +qemu-version = "6.1.0" +guest-os = "Linux" +guest-arch = "s390x" +description = """Paul Eggert found this bug, just by taking a look at the file `qemu/target/s390x/tcg/cc_helper.c`. + +The following program +[foo.c](/uploads/c1f425684fd661c4437950d7d8ddf31d/foo.c) +``` +#include <stdio.h> + +int overflow_32 (int x, int y) +{ + int sum; + return __builtin_sub_overflow (x, y, &sum); +} + +int overflow_64 (long long x, long long y) +{ + long sum; + return __builtin_sub_overflow (x, y, &sum); +} + +int a1 = 0; +int b1 = -2147483648; +long long a2 = 0L; +long long b2 = -9223372036854775808L; + +int main () +{ + { + int a = a1; + int b = b1; + printf ("a = 0x%x, b = 0x%x\\n", a, b); + printf ("no_overflow = %d\\n", ! overflow_32 (a, b)); + } + { + long long a = a2; + long long b = b2; + printf ("a = 0x%llx, b = 0x%llx\\n", a, b); + printf ("no_overflow = %d\\n", ! overflow_64 (a, b)); + } +} +``` +should print +``` +a = 0x0, b = 0x80000000 +no_overflow = 0 +a = 0x0, b = 0x8000000000000000 +no_overflow = 0 +``` +However, when compiled as an s390x program and executed through qemu 6.1.0 (Linux user-mode), it prints 'no_overflow = 1' twice. +``` +$ s390x-linux-gnu-gcc-10 --version +s390x-linux-gnu-gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 +``` + +``` +$ s390x-linux-gnu-gcc-10 -static foo.c +$ ~/inst-qemu/6.1.0/bin/qemu-s390x a.out +a = 0x0, b = 0x80000000 +no_overflow = 1 +a = 0x0, b = 0x8000000000000000 +no_overflow = 1 +``` + +``` +$ s390x-linux-gnu-gcc-10 -O2 -static foo.c +$ ~/inst-qemu/6.1.0/bin/qemu-s390x a.out +a = 0x0, b = 0x80000000 +no_overflow = 1 +a = 0x0, b = 0x8000000000000000 +no_overflow = 1 +``` + +The code generated by 's390x-linux-gnu-gcc-10 -O2' makes use of the 'o' (overflow / ones) condition code: +``` +overflow_64: + lgr %r1,%r2 ;; copy a into %r1 + lghi %r2,0 + sgr %r1,%r3 ;; subtract b from a + bnor %r14 ;; if no overflow, return %r2 = 0 + lghi %r2,1 + br %r14 ;; otherwise, return %r2 = 1 +``` + +The condition code and the overflow bit are defined in the z/Architecture Principles of Operation (POP) http://publibfi.boulder.ibm.com/epubs/pdf/dz9zr011.pdf page 7-5 / 7-6 / 7-388 : "In mathematical terms, signed addition and subtraction produce a fixed-point overflow when the result is outside the range of representation for signed binary integers." + +I conclude that the bug is in QEMU: QEMU does not set the overflow condition code correctly.""" +reproduce = """[foo.static.s390x](/uploads/e4b79b019db590f3a4b13cac41e57ba6/foo.static.s390x) +(the result of "s390x-linux-gnu-gcc-10 -static -O2 foo.c -o foo.static.s390x") + +1. `qemu-s390x foo.static.s390x`""" +additional = """The attached patch fixes it. +[0002-s390x-Fix-determination-of-overflow-condition-code-a.patch](/uploads/8d414f84fe0ed36bf07bd28f5e7836ab/0002-s390x-Fix-determination-of-overflow-condition-code-a.patch)""" diff --git a/gitlab/issues/target_s390x/host_missing/accel_TCG/655.toml b/gitlab/issues/target_s390x/host_missing/accel_TCG/655.toml new file mode 100644 index 00000000..ada2f531 --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_TCG/655.toml @@ -0,0 +1,40 @@ +id = 655 +title = "Java crashes on s390x VM with SIGILL/ILL_PRVOPC at '__kernel_getcpu+0x8'" +state = "closed" +created_at = "2021-09-30T22:39:24.111Z" +closed_at = "2022-12-04T23:45:56.336Z" +labels = ["accel: TCG", "target: s390x", "workflow::Patch available"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/655" +host-os = "Ubuntu 20.04.3 LTS" +host-arch = "x86_64" +qemu-version = "QEMU emulator version 6.1.0" +guest-os = "Ubuntu 20.04.3 LTS" +guest-arch = "s390x" +description = """The `java` command fails with the following message: + +```console +$ /usr/lib/jvm/java-17-openjdk-s390x/bin/java --version +# +# A fatal error has been detected by the Java Runtime Environment: +# +# SIGILL (0x4) at pc=0x000003ff9e4fe6f4, pid=2883, tid=2884 +# +# JRE version: (17.0+35) (build ) +# Java VM: OpenJDK 64-Bit Server VM (17+35-Ubuntu-120.04, mixed +# mode, sharing, tiered, compressed oops, compressed class ptrs, +# serial gc, linux-s390x) +# Problematic frame: +# C [linux-vdso64.so.1+0x6f8] __kernel_getcpu+0x8 +# +# Core dump will be written. Default location: Core dumps may +# be processed with "/usr/share/apport/apport %p %s %c %d %P %E" +# (or dumping to /home/ubuntu/core.2883) +# +# An error report file with more information is saved as: +# /home/ubuntu/hs_err_pid2883.log +# +# +Aborted (core dumped) +```""" +reproduce = """1. Run `java --version`""" +additional = """The corresponding log file is attached as the file [hs_err_pid2883.log](/uploads/1631b6a0f0aad2f77c4928ed6bb540c6/hs_err_pid2883.log).""" diff --git a/gitlab/issues/target_s390x/host_missing/accel_TCG/737.toml b/gitlab/issues/target_s390x/host_missing/accel_TCG/737.toml new file mode 100644 index 00000000..4472d932 --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_TCG/737.toml @@ -0,0 +1,15 @@ +id = 737 +title = "s390x/tcg: Implement Miscellaneous-Instruction-Extensions Facility 3 for the s390x" +state = "closed" +created_at = "2021-11-19T08:24:51.602Z" +closed_at = "2022-03-01T15:55:08.755Z" +labels = ["accel: TCG", "kind::Feature Request", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/737" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = """http://publibfp.dhe.ibm.com/epubs/pdf/a227832c.pdf""" diff --git a/gitlab/issues/target_s390x/host_missing/accel_TCG/738.toml b/gitlab/issues/target_s390x/host_missing/accel_TCG/738.toml new file mode 100644 index 00000000..e3584f76 --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_TCG/738.toml @@ -0,0 +1,15 @@ +id = 738 +title = "s390x/tcg: Implement Vector-Enhancements Facility 2 for s390x" +state = "closed" +created_at = "2021-11-19T08:32:39.918Z" +closed_at = "2022-05-05T07:06:55.301Z" +labels = ["accel: TCG", "kind::Feature Request", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/738" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = """http://publibfp.dhe.ibm.com/epubs/pdf/a227832c.pdf""" diff --git a/gitlab/issues/target_s390x/host_missing/accel_TCG/902.toml b/gitlab/issues/target_s390x/host_missing/accel_TCG/902.toml new file mode 100644 index 00000000..f3ff165f --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_TCG/902.toml @@ -0,0 +1,15 @@ +id = 902 +title = "BootLinuxS390X test failing due to a TCG bug" +state = "closed" +created_at = "2022-03-11T17:59:46.516Z" +closed_at = "2022-03-16T12:18:55.179Z" +labels = ["Closed::Fixed", "accel: TCG", "kind::Bug", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/902" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_missing/accel_TCG/979.toml b/gitlab/issues/target_s390x/host_missing/accel_TCG/979.toml new file mode 100644 index 00000000..13da7b45 --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_TCG/979.toml @@ -0,0 +1,19 @@ +id = 979 +title = "s390x floating point conversion functions broken" +state = "opened" +created_at = "2022-04-12T17:20:46.576Z" +closed_at = "n/a" +labels = ["accel: TCG", "kind::Bug", "linux-user", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/979" +host-os = "Ubuntu 20.04.4 LTS" +host-arch = "s390x (although likely backend independent)" +qemu-version = "v7.0.0-rc4" +guest-os = "static binary (check-tcg)" +guest-arch = "s390x" +description = """While collecting additional reference files for float_convs (and float_convd) I noticed that the s390x handling of some cases is broken. See diff for details: + +``` + diff -y tests/tcg/s390x-linux-user/float_convs.out ../../tests/tcg/s390x/float_convs.ref +#""" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_missing/accel_missing/1398.toml b/gitlab/issues/target_s390x/host_missing/accel_missing/1398.toml new file mode 100644 index 00000000..00fa7d67 --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_missing/1398.toml @@ -0,0 +1,16 @@ +id = 1398 +title = "Kernel Fault in primary space mode while using user ASCE emulating s390x with AlmaLinux release 9.1 (Lime Lynx)" +state = "opened" +created_at = "2022-12-27T20:40:31.393Z" +closed_at = "n/a" +labels = ["target: s390x", "workflow::Needs Info"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1398" +host-os = "Ubuntu 22.10 (Kinetic Kudu)" +host-arch = "x86_64" +qemu-version = "QEMU emulator version 7.0.0 (Debian 1:7.0+dfsg-7ubuntu2.1) Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers" +guest-os = "AlmaLinux release 9.1 (Lime Lynx)" +guest-arch = "s390x" +description = """Happens twice during startup, however the system keeps running.""" +reproduce = """1. Install Alma Linux s390x on in KVM on x86_64 +2. Start KVM""" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_missing/accel_missing/1668.toml b/gitlab/issues/target_s390x/host_missing/accel_missing/1668.toml new file mode 100644 index 00000000..ed94039f --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_missing/1668.toml @@ -0,0 +1,57 @@ +id = 1668 +title = "Fedora 38 build of clang 16 fails when run under s390x emulation (both system & linux-user)" +state = "closed" +created_at = "2023-05-26T09:54:17.554Z" +closed_at = "2023-11-20T09:08:04.777Z" +labels = ["kind::Bug", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1668" +host-os = "Fedora 38" +host-arch = "x86_64" +qemu-version = "7.2.1" +guest-os = "n/a" +guest-arch = "n/a" +description = """Spawn a Fedora 38 container using `s390x` linux-user based emulation + +``` +$ podman run -it --platform linux/s390x fedora:latest +``` + +Install clang inside it + +``` +sh-5.2# dnf -y install clang +``` + +Try to run clang + +``` +sh-5.2# clang --version +clang version 16.0.4 (Fedora 16.0.4-1.fc38) +Target: s390x-redhat-linux-gnu +Thread model: posix +InstalledDir: /usr/bin +sh-5.2# clang --help +clang-16: error: unsupported option '--help'; did you mean '--help'? +clang-16: error: no input files +``` + +Notice the nonsense error message when requesting `--help`. With Fedora 37 build of clang 15 (compiled with gcc 12), under s390x emulation, `--help` will correctly print the help. In fact all options except for `--version` appear to be broken: + +``` +sh-5.2# echo "void foo(void) {}" > foo.c +sh-5.2# clang -c foo.c +clang-16: error: unknown argument: '-c' +``` + + +IOW, there appears to be something in the clang 16 (compiled with gcc 13) in Fedora 38 that is tripping up s390x emulation. + +It is unclear whether the trigger was from building clang 16 with a newer gcc 13, or whether something changed from clang 15 -> 16. + +Originally reported with qemu-user-static-7.2.1-1.fc38.x86_64, but I've reproduced with QEMU upstream 7.1.0 release and QEMU upstream git master (v8.0.0-394-gc2b7158455) + +This was originally reported in Fedora at + + https://bugzilla.redhat.com/show_bug.cgi?id=2209635""" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_missing/accel_missing/1854.toml b/gitlab/issues/target_s390x/host_missing/accel_missing/1854.toml new file mode 100644 index 00000000..956dcf67 --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_missing/1854.toml @@ -0,0 +1,26 @@ +id = 1854 +title = "s390x: qemu-user: ERROR:../linux-user/elfload.c:2239:zero_bss: code should not be reached" +state = "closed" +created_at = "2023-08-30T15:37:27.087Z" +closed_at = "2023-10-19T18:50:49.895Z" +labels = ["Closed::Fixed", "linux-user", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1854" +host-os = "ArchLinux" +host-arch = "x86_64" +qemu-version = "qemu-s390x version 8.1.50 (v8.1.0-192-g4f84c2b3aa3e)" +guest-os = "Linux" +guest-arch = "s390x" +description = """The nolibc-test program from the Linux kernel crashes since 5f4e5b34092556ab1577e25d1262bd5975b26980 . +Reverting that commit fixes the issue.""" +reproduce = """1. Build `nolibc-test` for s390x from Linux kernel tree. (from `tools/testing/selftests/nolibc/`). EDIT: compiled binary is uploaded below. +2. Run it under qemu-s390x. + +``` + ./qemu-s390x nolibc-test +** +ERROR:../linux-user/elfload.c:2239:zero_bss: code should not be reached +Bail out! ERROR:../linux-user/elfload.c:2239:zero_bss: code should not be reached +Aborted (core dumped) + +```""" +additional = """""" diff --git a/gitlab/issues/target_s390x/host_missing/accel_missing/197.toml b/gitlab/issues/target_s390x/host_missing/accel_missing/197.toml new file mode 100644 index 00000000..cf0a3e8a --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_missing/197.toml @@ -0,0 +1,15 @@ +id = 197 +title = "Unpredictable behaviour resulting in User process faults" +state = "opened" +created_at = "2021-05-06T11:38:45.352Z" +closed_at = "n/a" +labels = ["Launchpad", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/197" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_missing/accel_missing/2704.toml b/gitlab/issues/target_s390x/host_missing/accel_missing/2704.toml new file mode 100644 index 00000000..f15d9c9a --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_missing/2704.toml @@ -0,0 +1,310 @@ +id = 2704 +title = "Error when migrating s390x VM from QEMU 9.0 to 9.1: Unknown savevm section or instance 's390_css'" +state = "closed" +created_at = "2024-11-29T22:34:42.565Z" +closed_at = "2025-01-12T12:23:51.408Z" +labels = ["Migration", "Regression", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/2704" +host-os = "Ubuntu 24.10 (Oracular) and 25.04 (Plucky, development version)" +host-arch = "s390x" +qemu-version = "QEMU emulator version 9.1.1 (Debian 1:9.1.1+ds-5ubuntu1~ppa8)` and `QEMU emulator version 9.0.2 (Debian 1:9.0.2+ds-4ubuntu5.1)" +guest-os = "Ubuntu 24.10 Oracular" +guest-arch = "s390x" +description = """I have been working on merging QEMU 9.1.1 (directly from Debian unstable), and I'm seeing this problem when trying to migrate an s390x VM from an Oracular host (which runs QEMU 9.0.2) to a Plucky host (which runs QEMU 9.1.1). + +The problem only happens on s390x (host and guest), and only when attempting to migrate from Oracular to Plucky. Migrations between Oracular guests work fine, as well as migrations between Plucky guests. + +This is the error I see after invoking `virsh migrate`: + +``` +error: internal error: QEMU unexpectedly closed the monitor (vm='kvmguest-jammy-normal'): +2024-11-27T21:13:43.745625Z qemu-system-s390x: Unknown savevm section or instance 's390_css' 0. Make sure that your current VM setup matches your saved VM setup, including any hotplugged devices +2024-11-27T21:13:43.746914Z qemu-system-s390x: load of migration failed: Invalid argument +```""" +reproduce = """I only have one s390x machine available, so I am resorting to creating two LXD containers that are KVM-capable. One of the containers runs Oracular, the other runs Plucky. Please let me know if you would instructions on how to create such containers. + +Inside the Oracular container, using `uvt-kvm` to simplify the process of creating the VM: + +``` +# uvt-simplestreams-libvirt --verbose sync --source http://cloud-images.ubuntu.com/daily arch=s390x label=daily release=oracular +# cat > guesttemplate.xml << _EOF_ +<domain type='kvm'> + <os> + <type>hvm</type> + <boot dev='hd'/> + </os> + <devices> + <interface type='network'> + <source network='default'/> + <model type='virtio'/> + </interface> + <console type='pty' tty='/dev/pts/3'> + <source path='/dev/pts/3'/> + <target type='sclp' port='0'/> + <alias name='console0'/> + </console> + <channel type='unix'> + <target type='virtio' name='org.qemu.guest_agent.0'/> + </channel> + </devices> +</domain> +_EOF_ +# uvt-kvm create --template /root/guesttemplate.xml --machine-type s390-ccw-virtio-9.0 --password=ubuntu --ssh-public-key-file /home/ubuntu/.ssh/authorized_keys kvmguest-oracular-upstream-cpu release=oracular arch=s390x label=daily +``` + +Wait a moment for the VM to boot, use `virsh list` to make sure it's running. Note that we force the machine type to be `s390-ccw-virtio-9.0`; this is necessary because Ubuntu overrides the default machine type with its own definition, and we want to make sure to use upstream's type here. + +Make sure you're running QEMU 9.1.1 at least on the Plucky container. Plucky currently ships with QEMU 9.0.2, which doesn't have the problem. If needed, my QEMU 9.1.1 build can be found at https://launchpad.net/~sergiodj/+archive/ubuntu/qemu. + +After everything is in place, try to migrate the machine: + +``` +# virsh migrate --unsafe --live kvmguest-oracular-upstream-cpu qemu+ssh://plucky-container-IP-here/system +error: internal error: QEMU unexpectedly closed the monitor (vm='kvmguest-oracular-upstream-cpu'): 2024-11-29T22:28:21.417201Z qemu-system-s390x: Unknown savevm section or instance 's390_css' 0. Make sure that your current VM setup matches your saved VM setup, including any hotplugged devices +2024-11-29T22:28:21.417496Z qemu-system-s390x: load of migration failed: Invalid argument +```""" +additional = """libvirt log from Oracular (QEMU 9.0.2): + +``` +LC_ALL=C \\ [2/1817] +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin \\ +USER=root \\ +HOME=/var/lib/libvirt/qemu/domain-3-kvmguest-oracular-up \\ +XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-3-kvmguest-oracular-up/.local/share \\ +XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-3-kvmguest-oracular-up/.cache \\ +XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-3-kvmguest-oracular-up/.config \\ +/usr/bin/qemu-system-s390x \\ +-name guest=kvmguest-oracular-upstream-cpu,debug-threads=on \\ +-S \\ +-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-3-kvmguest-oracular-up/master-key.aes"}' \\ +-machine s390-ccw-virtio-9.0,usb=off,dump-guest-core=off,memory-backend=s390.ram \\ +-accel kvm \\ +-cpu z13.2-base,aen=on,aefsi=on,diag318=on,msa5=on,msa4=on,msa3=on,msa2=on,msa1=on,sthyi=on,edat=on,ri=on,edat2=on,vx=on,ipter=on,cei=on,ap=on,gpereh=on,esop=on,ib=on,siif=on,ibs=on,apqi=on,apft=on,els=on,sief2=on,apqci=on,cte=on,ais=on,bpb=on,64bscao=on,ctop=on,ppa15=on,zpci=on,sea_esop2=on,te=on,cmm=on,gsls=on \\ +-m size=524288k \\ +-object '{"qom-type":"memory-backend-ram","id":"s390.ram","size":536870912}' \\ +-overcommit mem-lock=off \\ +-smp 1,sockets=1,cores=1,threads=1 \\ +-uuid fa8bcf1a-8982-47ab-9766-ebbb695008e3 \\ +-display none \\ +-no-user-config \\ +-nodefaults \\ +-chardev socket,id=charmonitor,fd=38,server=on,wait=off \\ +-mon chardev=charmonitor,id=monitor,mode=control \\ +-rtc base=utc \\ +-no-shutdown \\ +-boot strict=on \\ +-device '{"driver":"virtio-serial-ccw","id":"virtio-serial0","devno":"fe.0.0003"}' \\ +-blockdev '{"driver":"file","filename":"/var/lib/uvtool/libvirt/images/x-uvt-b64-Y29tLnVidW50dS5jbG91ZC5kYWlseTpzZXJ2ZXI6MjQuMTA6czM5MHggMjAyNDExMjY=","node-name":"libvirt-3-storage","auto-read-only":true,"discard":"unmap"}' \\ +-blockdev '{"node-name":"libvirt-3-format","read-only":true,"driver":"qcow2","file":"libvirt-3-storage","backing":null}' \\ +-blockdev '{"driver":"file","filename":"/var/lib/uvtool/libvirt/images/kvmguest-oracular-upstream-cpu.qcow","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \\ +-blockdev '{"node-name":"libvirt-2-format","read-only":false,"driver":"qcow2","file":"libvirt-2-storage","backing":"libvirt-3-format"}' \\ +-device '{"driver":"virtio-blk-ccw","devno":"fe.0.0000","drive":"libvirt-2-format","id":"virtio-disk0","bootindex":1}' \\ +-blockdev '{"driver":"file","filename":"/var/lib/uvtool/libvirt/images/kvmguest-oracular-upstream-cpu-ds.qcow","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \\ +-blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"qcow2","file":"libvirt-1-storage","backing":null}' \\ +-device '{"driver":"virtio-blk-ccw","devno":"fe.0.0001","drive":"libvirt-1-format","id":"virtio-disk1"}' \\ +-netdev '{"type":"tap","fd":"39","id":"hostnet0"}' \\ +-device '{"driver":"virtio-net-ccw","netdev":"hostnet0","id":"net0","mac":"52:54:00:d8:f0:5c","devno":"fe.0.0002"}' \\ +-chardev socket,id=charchannel0,fd=36,server=on,wait=off \\ +-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \\ +-chardev pty,id=charconsole0 \\ +-device '{"driver":"sclpconsole","chardev":"charconsole0","id":"console0"}' \\ +-audiodev '{"id":"audio1","driver":"none"}' \\ +-device '{"driver":"virtio-balloon-ccw","id":"balloon0","devno":"fe.0.0004"}' \\ +-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \\ +-msg timestamp=on +char device redirected to /dev/pts/3 (label charconsole0) +2024-11-28 20:56:00.522+0000: initiating migration +2024-11-28T20:56:01.114894Z qemu-system-s390x: Sibling indicated error 1 +warning: old compression is deprecated; use multifd compression methods instead +warning: old compression is deprecated; use multifd compression methods instead +warning: old compression is deprecated; use multifd compression methods instead +warning: block migration is deprecated; use blockdev-mirror with NBD instead +``` + +libvirt log from Plucky (QEMU 9.1.1): + +``` +LC_ALL=C \\ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin \\ +USER=root \\ +HOME=/var/lib/libvirt/qemu/domain-4-kvmguest-oracular-up \\ +XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-4-kvmguest-oracular-up/.local/share \\ +XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-4-kvmguest-oracular-up/.cache \\ +XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-4-kvmguest-oracular-up/.config \\ +/usr/bin/qemu-system-s390x \\ +-name guest=kvmguest-oracular-upstream-cpu,debug-threads=on \\ +-S \\ +-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-4-kvmguest-oracular-up/master-key.aes"}' \\ +-machine s390-ccw-virtio-9.0,usb=off,dump-guest-core=off,memory-backend=s390.ram \\ +-accel kvm \\ +-cpu z13.2-base,aen=on,aefsi=on,diag318=on,msa5=on,msa4=on,msa3=on,msa2=on,msa1=on,sthyi=on,edat=on,ri=on,edat2=on,vx=on,ipter=on,cei=on,ap=on,gpereh=on,esop=on,ib=on,siif=on,ibs=on,apqi=on,apft=on,els=on,sief2=on,apqci=on,cte=on,ais=on,bpb=on,64bscao=on,ctop=on,ppa15=on,zpci=on,sea_esop2=on,te=on,cmm=on,gsls=on \\ +-m size=524288k \\ +-object '{"qom-type":"memory-backend-ram","id":"s390.ram","size":536870912}' \\ +-overcommit mem-lock=off \\ +-smp 1,sockets=1,cores=1,threads=1 \\ +-uuid fa8bcf1a-8982-47ab-9766-ebbb695008e3 \\ +-display none \\ +-no-user-config \\ +-nodefaults \\ +-chardev socket,id=charmonitor,fd=35,server=on,wait=off \\ +-mon chardev=charmonitor,id=monitor,mode=control \\ +-rtc base=utc \\ +-no-shutdown \\ +-boot strict=on \\ +-device '{"driver":"virtio-serial-ccw","id":"virtio-serial0","devno":"fe.0.0003"}' \\ +-blockdev '{"driver":"file","filename":"/var/lib/uvtool/libvirt/images/x-uvt-b64-Y29tLnVidW50dS5jbG91ZC5kYWlseTpzZXJ2ZXI6MjQuMTA6czM5MHggMjAyNDExMjY=","node-name":"libvirt-3-storage","auto-read-only":true,"discard":"unmap"}' \\ +-blockdev '{"node-name":"libvirt-3-format","read-only":true,"driver":"qcow2","file":"libvirt-3-storage","backing":null}' \\ +-blockdev '{"driver":"file","filename":"/var/lib/uvtool/libvirt/images/kvmguest-oracular-upstream-cpu.qcow","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \\ +-blockdev '{"node-name":"libvirt-2-format","read-only":false,"driver":"qcow2","file":"libvirt-2-storage","backing":"libvirt-3-format"}' \\ +-device '{"driver":"virtio-blk-ccw","devno":"fe.0.0000","drive":"libvirt-2-format","id":"virtio-disk0","bootindex":1}' \\ +-blockdev '{"driver":"file","filename":"/var/lib/uvtool/libvirt/images/kvmguest-oracular-upstream-cpu-ds.qcow","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \\ +-blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"qcow2","file":"libvirt-1-storage","backing":null}' \\ +-device '{"driver":"virtio-blk-ccw","devno":"fe.0.0001","drive":"libvirt-1-format","id":"virtio-disk1"}' \\ +-netdev '{"type":"tap","fd":"36","id":"hostnet0"}' \\ +-device '{"driver":"virtio-net-ccw","netdev":"hostnet0","id":"net0","mac":"52:54:00:d8:f0:5c","devno":"fe.0.0002"}' \\ +-chardev socket,id=charchannel0,fd=34,server=on,wait=off \\ +-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \\ +-chardev pty,id=charconsole0 \\ +-device '{"driver":"sclpconsole","chardev":"charconsole0","id":"console0"}' \\ +-audiodev '{"id":"audio1","driver":"none"}' \\ +-incoming defer \\ +-device '{"driver":"virtio-balloon-ccw","id":"balloon0","devno":"fe.0.0004"}' \\ +-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \\ +-msg timestamp=on +char device redirected to /dev/pts/3 (label charconsole0) +2024-11-29T22:28:21.417201Z qemu-system-s390x: Unknown savevm section or instance 's390_css' 0. Make sure that your current VM setup matches your saved VM setup, including any hotplugged devices +2024-11-29T22:28:21.417496Z qemu-system-s390x: load of migration failed: Invalid argument +``` + +Domain XML: + +```xml +<domain type='kvm' id='3'> + <name>kvmguest-oracular-upstream-cpu</name> + <uuid>fa8bcf1a-8982-47ab-9766-ebbb695008e3</uuid> + <metadata> + <uvt:ssh_known_hosts xmlns:uvt="https://launchpad.net/uvtool/libvirt/1">ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDhWPh2Wfm2Ouh/W+H9IXJGFHfH4UVCB6+EBI0PwuDXR2Ocl4hTTSNPSX2LVS4MfVn9pgl5BK9MUVsMPfFjhmEhpNNt+rmaCelrDT8A7v/RoBY4IGEBFMhAkiwlI7pk3BrFoHEKtiijNLEWczdjMigZvhTs2amn8cUotFIsQSTpM7+7IX+m7clxfe6p59mVPjfMzBhwDG0GyV7CXdMpvsGlE2mPSacWWZ/baWIoFjKcmyQtTjSQleH1qSthI8rD5F7EyYd1Oa8Bo7vZ9j1/DPeGQRJPkebO81hPjm/1x1H5pTITIzARdNuBkM0yuDyqMQLP/u65WGinvXJYm20gEvMbiHGaT3il1QKKNEGmNGtY/SedRE8XQ58n090IBLz/3WJtjgQCY/SRgHUv7nMYYenmshvBfdue9kExJTjwWTRtT2R2UdkxS5UVye4vvDAY0DFuqX13wyvIeCU28MU+HpmnE31m9uXlVXXZxDuqGUBJ1PrDc4a40bvj9yTZTn9NEOs= root@localhost +ssh-dss AAAAB3NzaC1kc3MAAACBAKqzgDKUGk6P/h6N5X4nJoHPr+MQzzXkotN8XEihvtWwvV1KYK+ioT69nA7ThEAZ6rPEjWPt7X4Sy6BcNd4j3kzlaXYLkrMJm3nohqbqQBDxCv8bhozy6HS/VDu95vrpnNFSiMRCfbBye0zyKfZsuRaPaKfHQ+8MnsBqSPxKajFrAAAAFQDuG3ZoanC+oZwMRYZ/am0vhfD+EwAAAIEAixSzoZr03kYZE+LcusyrasvZIqKF3P4M2vtzvFBPpPccFB5XoaqhWI4PvSxGYxZxlj9vRmSc8Yv56jdn8oDPIhFfgZVbDIkvpB2jQdb5VaRVWj7XwUcHB7B117Dr9qA6+6HJtBLRTDdTXzMQ+NhdFp42XCF+1qRefH9VPL9FoxwAAACAJa+u/YvaiGwT0DXBtTz4PgyFYmNHPvXBOVhDAw0likajBiuOdn8oL4KuWTafCq5ReDxXFaMML0OuT86+lSVt2naX0idyHjuSPkgmatozlpcz0kWYhuBl1B1sa3kr8xjDOUJlxkybqpdGJ5aoW+kRO+bpJLEzuXtu6Xshw5fOBZw= root@localhost +ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHI8u/wAvZLJqIpAd5YSpu9VEaRQOxy0FKzyryeb3kjahkryKPhSX65miZ9Lx7oz5nORFsdeS2xR56ZQj+8HpqM= root@localhost +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDXY+MW1SikusLdkhPrni76LlaZB042p/DVItVeHRCCa root@localhost +</uvt:ssh_known_hosts> + </metadata> + <memory unit='KiB'>524288</memory> + <currentMemory unit='KiB'>524288</currentMemory> + <vcpu placement='static'>1</vcpu> + <resource> + <partition>/machine</partition> + </resource> + <os> + <type arch='s390x' machine='s390-ccw-virtio-9.0'>hvm</type> + <boot dev='hd'/> + </os> + <cpu mode='custom' match='exact' check='partial'> + <model fallback='forbid'>z13.2-base</model> + <feature policy='require' name='aen'/> + <feature policy='require' name='aefsi'/> + <feature policy='require' name='diag318'/> + <feature policy='require' name='msa5'/> + <feature policy='require' name='msa4'/> + <feature policy='require' name='msa3'/> + <feature policy='require' name='msa2'/> + <feature policy='require' name='msa1'/> + <feature policy='require' name='sthyi'/> + <feature policy='require' name='edat'/> + <feature policy='require' name='ri'/> + <feature policy='require' name='edat2'/> + <feature policy='require' name='vx'/> + <feature policy='require' name='ipter'/> + <feature policy='require' name='cei'/> + <feature policy='require' name='ap'/> + <feature policy='require' name='gpereh'/> + <feature policy='require' name='esop'/> + <feature policy='require' name='ib'/> + <feature policy='require' name='siif'/> + <feature policy='require' name='ibs'/> + <feature policy='require' name='apqi'/> + <feature policy='require' name='apft'/> + <feature policy='require' name='els'/> + <feature policy='require' name='sief2'/> + <feature policy='require' name='apqci'/> + <feature policy='require' name='cte'/> + <feature policy='require' name='ais'/> + <feature policy='require' name='bpb'/> + <feature policy='require' name='64bscao'/> + <feature policy='require' name='ctop'/> + <feature policy='require' name='ppa15'/> + <feature policy='require' name='zpci'/> + <feature policy='require' name='sea_esop2'/> + <feature policy='require' name='te'/> + <feature policy='require' name='cmm'/> + <feature policy='require' name='gsls'/> + </cpu> + <clock offset='utc'/> + <on_poweroff>destroy</on_poweroff> + <on_reboot>restart</on_reboot> + <on_crash>destroy</on_crash> + <devices> + <emulator>/usr/bin/qemu-system-s390x</emulator> + <disk type='file' device='disk'> + <driver name='qemu' type='qcow2'/> + <source file='/var/lib/uvtool/libvirt/images/kvmguest-oracular-upstream-cpu.qcow' index='2'/> + <backingStore type='file' index='3'> + <format type='qcow2'/> + <source file='/var/lib/uvtool/libvirt/images/x-uvt-b64-Y29tLnVidW50dS5jbG91ZC5kYWlseTpzZXJ2ZXI6MjQuMTA6czM5MHggMjAyNDExMjY='/> + <backingStore/> + </backingStore> + <target dev='vda' bus='virtio'/> + <alias name='virtio-disk0'/> + <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/> + </disk> + <disk type='file' device='disk'> + <driver name='qemu' type='qcow2'/> + <source file='/var/lib/uvtool/libvirt/images/kvmguest-oracular-upstream-cpu-ds.qcow' index='1'/> + <backingStore/> + <target dev='vdb' bus='virtio'/> + <alias name='virtio-disk1'/> + <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/> + </disk> + <controller type='pci' index='0' model='pci-root'> + <alias name='pci.0'/> + </controller> + <controller type='virtio-serial' index='0'> + <alias name='virtio-serial0'/> + <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0003'/> + </controller> + <interface type='network'> + <mac address='52:54:00:d8:f0:5c'/> + <source network='default' portid='8b9c05f0-9534-4e05-afff-ec73e4a55b9c' bridge='virbr0'/> + <target dev='vnet1'/> + <model type='virtio'/> + <alias name='net0'/> + <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0002'/> + </interface> + <console type='pty' tty='/dev/pts/3'> + <source path='/dev/pts/3'/> + <target type='sclp' port='0'/> + <alias name='console0'/> + </console> + <channel type='unix'> + <source mode='bind' path='/run/libvirt/qemu/channel/3-kvmguest-oracular-up/org.qemu.guest_agent.0'/> + <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/> + <alias name='channel0'/> + <address type='virtio-serial' controller='0' bus='0' port='1'/> + </channel> + <audio id='1' type='none'/> + <memballoon model='virtio'> + <alias name='balloon0'/> + <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0004'/> + </memballoon> + <panic model='s390'/> + </devices> + <seclabel type='dynamic' model='apparmor' relabel='yes'> + <label>libvirt-fa8bcf1a-8982-47ab-9766-ebbb695008e3</label> + <imagelabel>libvirt-fa8bcf1a-8982-47ab-9766-ebbb695008e3</imagelabel> + </seclabel> + <seclabel type='dynamic' model='dac' relabel='yes'> + <label>+64055:+993</label> + <imagelabel>+64055:+993</imagelabel> + </seclabel> +</domain> +```""" diff --git a/gitlab/issues/target_s390x/host_missing/accel_missing/449.toml b/gitlab/issues/target_s390x/host_missing/accel_missing/449.toml new file mode 100644 index 00000000..ed8c3c15 --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_missing/449.toml @@ -0,0 +1,76 @@ +id = 449 +title = "s390x linux-user assertion fires in vector asm on master" +state = "closed" +created_at = "2021-06-25T22:11:21.092Z" +closed_at = "2021-07-12T20:21:50.019Z" +labels = ["linux-user", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/449" +host-os = "Ubuntu 20.04" +host-arch = "amd64" +qemu-version = "master (3593b8e0a2146a885f93d71c754757bb2c03864e)" +guest-os = "- OS/kernel version:" +guest-arch = "s390x" +description = """Seeing a assert being fired when running this go program that executes vector instructions: + +[ecdsaexample.go](/uploads/f5162a12747f93f060cfcabaea786d92/ecdsaexample.go) + +``` +qemu-s390x-static: ../qemu/target/s390x/translate.c:1063: get_field1: Assertion `have_field1(s, o)' failed. +SIGABRT: abort +PC=0x5b660 m=0 sigcode=4294967290 + +goroutine 1 [running]: +runtime.sigpanic() + /home/jalbrecht/s390x/15/go/src/runtime/signal_unix.go:723 fp=0xc000198998 sp=0xc000198998 pc=0x5b660 +crypto/elliptic.p256SqrInternalVMSL() + /home/jalbrecht/s390x/15/go/src/crypto/elliptic/p256_asm_s390x.s:1488 fp=0xc0001989a0 sp=0xc0001989a0 pc=0xda600 +p256SqrInternal() + /home/jalbrecht/s390x/15/go/src/crypto/elliptic/p256_asm_s390x.s:1695 +0x18 fp=0xc0001989d8 sp=0xc0001989a0 pc=0xd95b8 +crypto/elliptic.p256SqrAsm(0xc000198bc0, 0x20, 0x20, 0xc000198ce0, 0x20, 0x20, 0x0, 0xc, 0x30, 0x4000802560, ...) + /home/jalbrecht/s390x/15/go/src/crypto/elliptic/p256_asm_s390x.s:1849 +0x3c fp=0xc0001989e0 sp=0xc0001989d8 pc=0xdaa6c +crypto/elliptic.p256Sqr(...) + /home/jalbrecht/s390x/15/go/src/crypto/elliptic/p256_s390x.go:81 +crypto/elliptic.p256Inverse(0xc000198bc0, 0x20, 0x20, 0xc000198ce0, 0x20, 0x20) + /home/jalbrecht/s390x/15/go/src/crypto/elliptic/p256_s390x.go:324 +0x66 fp=0xc000198b28 sp=0xc0001989e0 pc=0xd7da6 +crypto/elliptic.initTable() + /home/jalbrecht/s390x/15/go/src/crypto/elliptic/p256_s390x.go:436 +0x192 fp=0xc000198d00 sp=0xc000198b28 pc=0xd87d2 +crypto/elliptic.initP256Arch(...) + /home/jalbrecht/s390x/15/go/src/crypto/elliptic/p256_s390x.go:57 +crypto/elliptic.initP256() + /home/jalbrecht/s390x/15/go/src/crypto/elliptic/p256.go:40 +0x2c0 fp=0xc000198d38 sp=0xc000198d00 pc=0xd2960 +crypto/elliptic.initAll() + /home/jalbrecht/s390x/15/go/src/crypto/elliptic/elliptic.go:397 +0x24 fp=0xc000198d40 sp=0xc000198d38 pc=0xd1ab4 +sync.(*Once).doSlow(0x2168e8, 0x122be8) + /home/jalbrecht/s390x/15/go/src/sync/once.go:66 +0x12c fp=0xc000198d98 sp=0xc000198d40 pc=0x7ee5c +sync.(*Once).Do(...) + /home/jalbrecht/s390x/15/go/src/sync/once.go:57 +crypto/elliptic.P256(...) + /home/jalbrecht/s390x/15/go/src/crypto/elliptic/elliptic.go:433 +main.main() + /home/jalbrecht/s390x/ecdsaexample.go:17 +0x7de fp=0xc000198f80 sp=0xc000198d98 pc=0xe4a2e +runtime.main() + /home/jalbrecht/s390x/15/go/src/runtime/proc.go:204 +0x214 fp=0xc000198fd8 sp=0xc000198f80 pc=0x472e4 +runtime.goexit() + /home/jalbrecht/s390x/15/go/src/runtime/asm_s390x.s:779 +0x2 fp=0xc000198fd8 sp=0xc000198fd8 pc=0x77c52 + +r0 0x0 r1 0xc000198bc0 +r2 0xc000198ce0 r3 0xc000198ce0 +r4 0x1401a0 r5 0xc000198be0 +r6 0xc000198bc0 r7 0x1c00f0 +r8 0xda600 r9 0xc0001989a8 +r10 0x217810 r11 0x0 +r12 0x4000800378 r13 0xc000000180 +r14 0xda600 r15 0xc000198998 +pc 0x5b660 link 0xda600 +exit status 2 +```""" +reproduce = """On an amd64 linux host: +1. Download attached ecdsaexample.go file +2. Download and untar an s390x go distro (1.15 and 1.16 both show this issue): https://golang.org/dl/go1.15.13.linux-s390x.tar.gz +3. Build a qemu-s390x-static from current master +4. qemu-s390x-static -E PATH=/path/to/s390x/15/go/bin -L /usr/s390x-linux-gnu /path/to/s390x/15/go/bin/go run ecdsaexample.go""" +additional = """@davidhildenbrand could you have a look? I tracked it down to this series of patches: https://lore.kernel.org/qemu-devel/20210608092337.12221-1-david@redhat.com/. I tried reverting just this series from current master and then the program runs with no issues. + +This crash is seen whenever eg. certificates are checked when connecting via https so it is likely to happen in real programs. + +cc: @ruixinbao""" diff --git a/gitlab/issues/target_s390x/host_missing/accel_missing/457.toml b/gitlab/issues/target_s390x/host_missing/accel_missing/457.toml new file mode 100644 index 00000000..e42d039e --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_missing/457.toml @@ -0,0 +1,15 @@ +id = 457 +title = "qemu-system-s390x segfaults in do_tb_phys_invalidate at ../accel/tcg/translate-all.c:1482" +state = "closed" +created_at = "2021-06-30T15:49:18.030Z" +closed_at = "2021-07-12T11:53:27.921Z" +labels = ["Closed::Fixed", "TestCase", "kind::Bug", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/457" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_missing/accel_missing/572.toml b/gitlab/issues/target_s390x/host_missing/accel_missing/572.toml new file mode 100644 index 00000000..2a0f4d63 --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_missing/572.toml @@ -0,0 +1,15 @@ +id = 572 +title = "s390-pci-bus.h:85: warning: \"PAGE_SIZE\" redefined" +state = "closed" +created_at = "2021-08-27T14:03:30.408Z" +closed_at = "2021-09-07T19:23:16.158Z" +labels = ["target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/572" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_missing/accel_missing/893.toml b/gitlab/issues/target_s390x/host_missing/accel_missing/893.toml new file mode 100644 index 00000000..f11e9a8f --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_missing/893.toml @@ -0,0 +1,15 @@ +id = 893 +title = "Cannot boot and set rhel7 or 8 s390x on Redhat 8(Host OS) using qemu-system-s390x" +state = "closed" +created_at = "2022-03-04T01:13:54.139Z" +closed_at = "2022-03-10T12:29:38.853Z" +labels = ["target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/893" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_missing/accel_missing/897.toml b/gitlab/issues/target_s390x/host_missing/accel_missing/897.toml new file mode 100644 index 00000000..d3eb6316 --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_missing/897.toml @@ -0,0 +1,15 @@ +id = 897 +title = "Warning with \"qemu-s390x -cpu max\"" +state = "closed" +created_at = "2022-03-10T08:29:18.868Z" +closed_at = "2022-05-04T20:42:52.914Z" +labels = ["linux-user", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/897" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_missing/accel_missing/906.toml b/gitlab/issues/target_s390x/host_missing/accel_missing/906.toml new file mode 100644 index 00000000..c7d8f2f6 --- /dev/null +++ b/gitlab/issues/target_s390x/host_missing/accel_missing/906.toml @@ -0,0 +1,15 @@ +id = 906 +title = "Cannot IPL this ISO image" +state = "closed" +created_at = "2022-03-14T09:53:52.353Z" +closed_at = "2022-03-14T12:54:12.462Z" +labels = ["target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/906" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_s390/accel_KVM/2469.toml b/gitlab/issues/target_s390x/host_s390/accel_KVM/2469.toml new file mode 100644 index 00000000..13ecc059 --- /dev/null +++ b/gitlab/issues/target_s390x/host_s390/accel_KVM/2469.toml @@ -0,0 +1,15 @@ +id = 2469 +title = "/s390x/migration/precopy/tcp/plain/switchover-ack may hang" +state = "opened" +created_at = "2024-07-31T21:44:40.312Z" +closed_at = "n/a" +labels = ["Migration", "accel: KVM", "host: s390", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/2469" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_s390x/host_s390/accel_TCG/2054.toml b/gitlab/issues/target_s390x/host_s390/accel_TCG/2054.toml new file mode 100644 index 00000000..5226df67 --- /dev/null +++ b/gitlab/issues/target_s390x/host_s390/accel_TCG/2054.toml @@ -0,0 +1,54 @@ +id = 2054 +title = "chacha20-s390 broken in 8.2.0 in TCG on s390x" +state = "closed" +created_at = "2023-12-22T13:42:41.122Z" +closed_at = "2024-01-25T15:11:18.305Z" +labels = ["Closed::Fixed", "Stable::to backport", "accel: TCG", "host: s390", "kind::Bug", "target: s390x"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/2054" +host-os = "linux" +host-arch = "s390x" +qemu-version = "8.2.0" +guest-os = "linux" +guest-arch = "s390x" +description = """When running linux guest in qemu-system-s390x in TCG mode, it fails at selftests of crypto algorithms, namely at chacha20: +``` +[ 10.546690] alg: skcipher: chacha20-s390 encryption test failed (wrong result) on test vector 1, cfg="in-place (one sglist)" +[ 10.546914] alg: self-tests for chacha20 using chacha20-s390 failed (rc=-22) +[ 10.546969] ------------[ cut here ]------------ +[ 10.546998] alg: self-tests for chacha20 using chacha20-s390 failed (rc=-22) +[ 10.547182] WARNING: CPU: 1 PID: 109 at crypto/testmgr.c:5936 alg_test+0x55a/0x5b8 +[ 10.547510] Modules linked in: net_failover chacha_s390(+) libchacha virtio_blk(+) failover +[ 10.547854] CPU: 1 PID: 109 Comm: cryptomgr_test Not tainted 6.5.0-5-s390x #1 Debian 6.5.13-1 +[ 10.548002] Hardware name: QEMU 8561 QEMU (KVM/Linux) +[ 10.548101] Krnl PSW : 0704c00180000000 00000000005df8fe (alg_test+0x55e/0x5b8) +[ 10.548207] R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:0 PM:0 RI:0 EA:3 +[ 10.548291] Krnl GPRS: 0000000000000000 0000000001286408 00000000005df8fa 0000000001286408 +[ 10.548337] 000000000014bf14 00000000001c6ba8 0000000001838b3c 0000000000000005 +[ 10.548475] 00000000025a4880 00000000025a4800 ffffffffffffffea 00000000ffffffea +[ 10.548521] 000000003e649200 00000000ffffffff 00000000005df8fa 000003800016bcf8 +[ 10.549504] Krnl Code: 00000000005df8ee: c020003b5828 larl %r2,0000000000d4a93e +[ 10.549504] 00000000005df8f4: c0e5ffdb62d2 brasl %r14,000000000014be98 +[ 10.549504] #00000000005df8fa: af000000 mc 0,0 +[ 10.549504] >00000000005df8fe: a7f4fee6 brc 15,00000000005df6ca +[ 10.549504] 00000000005df902: b9040042 lgr %r4,%r2 +[ 10.549504] 00000000005df906: b9040039 lgr %r3,%r9 +[ 10.549504] 00000000005df90a: c020003b57df larl %r2,0000000000d4a8c8 +[ 10.549504] 00000000005df910: 18bd lr %r11,%r13 +[ 10.550004] Call Trace: +[ 10.550375] [<00000000005df8fe>] alg_test+0x55e/0x5b8 +[ 10.550467] ([<00000000005df8fa>] alg_test+0x55a/0x5b8) +[ 10.550489] [<00000000005d9fbc>] cryptomgr_test+0x34/0x60 +[ 10.550514] [<000000000017d004>] kthread+0x124/0x130 +[ 10.550539] [<0000000000103124>] __ret_from_fork+0x3c/0x50 +[ 10.550562] [<0000000000b1dfca>] ret_from_fork+0xa/0x30 +[ 10.550611] Last Breaking-Event-Address: +[ 10.550626] [<000000000014bf20>] __warn_printk+0x88/0x110 +[ 10.550723] ---[ end trace 0000000000000000 ]--- +``` +An interesting issue here - it does not happen on, say, amd64 host running qemu-system-s390x, but happens on s390x host. I haven't tried other hosts though. + +Bisection points at v8.1.0-2627-gab84dc398b commit, "tcg/optimize: Optimize env memory operations". + +https://lore.kernel.org/qemu-devel/d5e8f88b-1d19-4e00-8dc2-b20e0cd34931@tls.msk.ru/T/#u is the original report on qemu-devel.""" +reproduce = "n/a" +additional = "n/a" |