From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F3C3C433EF for ; Wed, 29 Sep 2021 23:51:56 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D3E1C61504 for ; Wed, 29 Sep 2021 23:51:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D3E1C61504 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bugs.launchpad.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:40788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVjMg-0006WU-PL for qemu-devel@archiver.kernel.org; Wed, 29 Sep 2021 19:51:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVjLV-00059V-Ru for qemu-devel@nongnu.org; Wed, 29 Sep 2021 19:50:42 -0400 Received: from smtp-relay-services-1.canonical.com ([185.125.188.251]:45064) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVjLS-0003n7-9W for qemu-devel@nongnu.org; Wed, 29 Sep 2021 19:50:41 -0400 Received: from loganberry.canonical.com (loganberry.canonical.com [91.189.90.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp-relay-services-1.canonical.com (Postfix) with ESMTPSA id 02D9B3F871 for ; Wed, 29 Sep 2021 23:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=launchpad.net; s=20210803; t=1632959433; bh=gtNutWFU0xZuohM1pJhbdpQ7sP4uR6l3yO0BSciOM6E=; h=MIME-Version:Content-Type:Date:From:To:Reply-To:References: Message-Id:Subject; b=YEOl4cPRotA3zsQNQpHL2V220igelmzjhWsNzvk2OyhkA1gE0NWG5Mu+1ZxVgVo7I 3+T/zx5LBRCi1yCuUsW6MrpzHNombCSvk3iLn5sh2Pw70XawSmPu3eMkR9hiMHZLeN wYytcsI3T6E+D9qBum/IpjTwGnyIrolvxc77rQOkHwZAouKXhIcMRiBvWxVhtZuXLo Ts6B8EOv0V1JZN3HrmX1I6Qr14tASA/G7MuIObic3sNtLDtkZwmsFoDuJ0VQDpriW8 oEQ2QX4hmHauJZPf0JLcxeP712IUBWwpHkdQS8iQr+XGl9IB5tDoPz4DQfo8s4Omp0 N25LrXWLS7oxg== Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id EDAF62E816B for ; Wed, 29 Sep 2021 23:50:32 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 29 Sep 2021 23:41:49 -0000 From: John Neffenger <1945540@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: jgneff X-Launchpad-Bug-Reporter: John Neffenger (jgneff) X-Launchpad-Bug-Modifier: John Neffenger (jgneff) References: <163295886256.12676.6273345579938490980.malonedeb@chaenomeles.canonical.com> Message-Id: <163295890946.13157.12076557917361947465.malone@chaenomeles.canonical.com> Subject: [Bug 1945540] Re: Java crashes on s390x VM with SIGILL/ILL_PRVOPC at '__kernel_getcpu+0x8' X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="732145c78fc09841c9906082a9f784c21494fca6"; Instance="production" X-Launchpad-Hash: d17652ca2e6cb589c1e95784107f6fd32be190c1 Received-SPF: pass client-ip=185.125.188.251; envelope-from=noreply@launchpad.net; helo=smtp-relay-services-1.canonical.com X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1945540 <1945540@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" ** Attachment added: "the log file resulting from 'java --version'" https://bugs.launchpad.net/qemu/+bug/1945540/+attachment/5529211/+files/= hs_err_pid6789.log --=20 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1945540 Title: Java crashes on s390x VM with SIGILL/ILL_PRVOPC at '__kernel_getcpu+0x8' Status in QEMU: New Bug description: Host environment - Operating system: Ubuntu 20.04.3 LTS Desktop - OS/kernel version: Linux tower 5.11.0-37-generic #41~20.04.2-Ubuntu SMP Fri Sep 24 09:06:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux - Architecture: amd64 - QEMU flavor: qemu-system-s390x - QEMU version: QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.17) - QEMU command line: See attached file 'command-line.txt' Emulated/Virtualized environment - Operating system: Ubuntu 20.04.3 LTS Server - OS/kernel version: Linux s390x-focal 5.4.0-88-generic #99-Ubuntu SMP Thu Sep 23 17:27:44 UTC 2021 s390x s390x s390x GNU/Linux - Architecture: s390x Description of problem Java crashes as shown below: $ java --version # # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=3D0x000003ff9f5fe6f4, pid=3D6789, tid=3D6818 # # JRE version: (17.0+35) (build ) # Java VM: OpenJDK 64-Bit Server VM (17+35-snap, mixed mode, sharing, # tiered, compressed oops, compressed class ptrs, g1 gc, linux-s390x) # Problematic frame: # C [linux-vdso64.so.1+0x6f8] __kernel_getcpu+0x8 # # Core dump will be written. Default location: core.6789 (may not # exist) # # An error report file with more information is saved as: # /home/ubuntu/src/hs_err_pid6789.log # # Aborted (core dumped) Steps to reproduce Run any Java program to reproduce the problem. Because the 'openjdk' packages in Ubuntu run the 'java' command during installation, they hit the same error and fail to install. As an alternative, you can install the OpenJDK Snap package for the 's390x' architecture as follows: $ sudo snap install openjdk The OpenJDK Snap package has been tested to work on a real IBM/S390 8561 system, namely the IBM LinuxONE III LT1 at Marist College: Marist College Installs World=E2=80=99s First IBM LinuxONE III=E2=84=A2 https://www.marist.edu/-/marist-first-linuxone-iii Additional information See the following attached files: command-line.txt - the command-line used to start the virtual machine hs_err_pid6789.log - the log file resulting from 'java --version' To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1945540/+subscriptions