[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-04-05 Thread Dimitri John Ledkov
** Changed in: gcc-11 (Ubuntu Impish) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954676 Title: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-03-21 Thread Frank Heimes
Upadting the 'affects jammy' kernel entry as well. Since commit 'f3b7e73b2c6619884351a3a0a7468642f852b8a2' is included in jammy's 5.15 since Ubuntu-5.15.0-20.20, I'm updating the status to Fix released and with this the projects entry, too. ** Changed in: linux (Ubuntu Jammy) Status: Fix

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-03-21 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.13.0-37.42 --- linux (5.13.0-37.42) impish; urgency=medium * impish/linux: 5.13.0-37.42 -proposed tracker (LP: #1964959) * CVE-2022-0742 - ipv6: fix skb drops in igmp6_event_query() and igmp6_event_report() linux (5.13.0-36.41)

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-03-17 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux- azure-5.13/5.13.0-1019.21~20.04.1 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-02-28 Thread Frank Heimes
Many thanks Ilya! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954676 Title: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-02-28 Thread Ilya Leoshkevich
I've installed the impish kernel 5.13.0-32 on top of jammy; zfs module loads fine: $ uname -r 5.13.0-32-generic $ modinfo zfs | grep filename: filename: /lib/modules/5.13.0-32-generic/updates/dkms/zfs.ko $ strings /lib/modules/5.13.0-32-generic/updates/dkms/zfs.ko|grep -e vermagic= -e

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-02-24 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux/5.13.0-32.35 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-impish' to 'verification-done-impish'. If the problem still exists,

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-02-11 Thread Stefan Bader
** Changed in: linux (Ubuntu Impish) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954676 Title: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-02-02 Thread Andrea Righi
JFYI, I've sent an SRU email to apply the kernel fix also to Impish 5.13, just to be safe in case the gcc patch lands in Impish: https://lists.ubuntu.com/archives/kernel-team/2022-February/127652.html ** Also affects: zfs-linux (Ubuntu Impish) Importance: Undecided Status: New ** Also

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-02-02 Thread Ilya Leoshkevich
I would reapply the gcc patch. It should not affect most userspace binaries - for example, it did not produce any changes whatsoever in SPEC suite. Even if there are some binaries that are built with kernel- like options and get extra relocations as a result, ld.so processes such relocations

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-02-02 Thread Dimitri John Ledkov
@fheimes @iii-i thank you for this, we will include that patch into our kernels. Do you expect that the toolchain change may have affected any other binaries (ie. userspace binaries)? Or should we re-apply the reverted patch back in our gcc-11 (given the improvements that it brings)? -- You

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-02-01 Thread Frank Heimes
Juts had a quick chat with the kernel team, and it's expected to have this incl. in jammy's 5.15.0-20.20 latest. ** Changed in: ubuntu-z-systems Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-02-01 Thread Frank Heimes
Thx for the heads-up, Ilya! ** Changed in: ubuntu-z-systems Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954676 Title: jammy 5.15 kernel soft lockup when

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-02-01 Thread Ilya Leoshkevich
The fix is now in v5.15 stable branch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.15.y=2025d5cb381e4bf8fecc78015da6ef6168f9ace8 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-27 Thread Ilya Leoshkevich
Yes, the commit has cc:stable and fixes: tags, so it should be picked up for v4.19 and later. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954676 Title: jammy 5.15 kernel soft lockup when zfs.ko

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-26 Thread Frank Heimes
Thanks you, Ilya. Do you plan to tag this for any of the upstream stable release kernels (like 5.15)? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954676 Title: jammy 5.15 kernel soft lockup

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-26 Thread Ilya Leoshkevich
We pushed this fix into s390/for-next (https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=for- next=f3b7e73b2c6619884351a3a0a7468642f852b8a2). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-21 Thread Ilya Leoshkevich
The attached patch resolved the issue on my test VM, could you please give it a try? ** Patch added: "0001-s390-module-fix-loading-modules-with-a-lot-of-reloca.patch"

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-19 Thread Ilya Leoshkevich
A quick update: zfs.ko gets quite a lot of relocations with the gcc patch, and the total size of PLT entries generated by kernel's apply_rela() exceeds 64k. Each PLT entry contains a short jump to an expoline thunk located at the end of the PLT array, which is out of range for the first PLT

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-19 Thread Frank Heimes
Just as a side-note, Ilya: The previous message that this bug is fixed, is only because we reverted the following: "debian/patches/gcc-ibmz-plt-revert.diff: Revert PLT changes from the gcc-11     branch, as causing kernel dkms missbuilts on s390x. LP: #1954676" to become unblocked. It's still

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-19 Thread Launchpad Bug Tracker
This bug was fixed in the package gcc-11 - 11.2.0-14ubuntu1 --- gcc-11 (11.2.0-14ubuntu1) jammy; urgency=medium * Merge with Debian; remaining changes: - Build from upstream sources. gcc-11 (11.2.0-14) unstable; urgency=medium * Update to git 20220112 from the gcc-11

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-18 Thread Frank Heimes
** Changed in: gcc-11 (Ubuntu Jammy) Status: New => Confirmed ** Changed in: ubuntu-z-systems Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954676 Title:

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-18 Thread Ilya Leoshkevich
z13 appears to have been the key: I can reproduce this on a z13 LPAR. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954676 Title: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-17 Thread Dimitri John Ledkov
@arighi Explicit nack on zfs-linux patches, that is incomplete merge that drops ubuntu delta & zsys support. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954676 Title: jammy 5.15 kernel soft

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-17 Thread Dimitri John Ledkov
@ilja Now this is starting to be more fun then. Note our mainframe is z13 2964 and we have reproduced the bug in both LPAR and KVM. I'll try to package up a more concrete reproducer (to the point of tarring up a full chroot with all the deps). -- You received this bug notification because you

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-14 Thread Ilya Leoshkevich
Oh, my bad - I remember checking that I had the right compiler version, and even verifying that the patch is in by compiling some samples, but I guess then I ran a full upgrade after adding -proposed. Unfortunately, downgrading the toolchain did not help - both manually built and dkms-built

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-14 Thread Andrea Righi
GCC: (Ubuntu 11.2.0-14ubuntu1) 11.2.0 ^ This version of gcc is reverting the patch that introduces the bug. It is possible to reproduce the bug with gcc <= 11.2.0-13ubuntu1. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-14 Thread Dimitri John Ledkov
Hi, modules built with gcc-11 14ubuntu1 toolchain have the gcc-11 stable ibmz PLT patch already reverted to make things work again. One needs to downgrade gcc-11 to 13ubuntu1 to experience the breakage. You can fetch older gcc-11 from

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-13 Thread Ilya Leoshkevich
Thanks, Frank! I managed to install the jammy kernel, but the zfs module still loads successfully. Here is some information from the manually built module: $ strings module/zfs/zfs.ko|grep -e vermagic= -e GCC -e ^version=|sort -u GCC: (Ubuntu 11.2.0-14ubuntu1) 11.2.0 vermagic=5.15.0-16-generic

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-13 Thread Frank Heimes
Hi Ilya, there is a 5.15 kernel for jammy aka 22.04 in the proposed section of the archive. Just enable proposed with: "sudo add-apt-repository "deb http://us.ports.ubuntu.com/ubuntu-ports/ $(lsb_release -sc)-proposed main" (for the src use "sudo add-apt-repository "deb-src

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-13 Thread Ilya Leoshkevich
I don't seem to be able to reproduce this. What I tried so far: 1. Installed a clean VM using an image from http://ftp.uni- kl.de/pub/linux/ubuntu-dvd/ubuntu-server/daily-live/pending/, ran apt install zfs-dkms - zfs.ko initialization successful. 2. Built zfs master myself and loaded the modules

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-12 Thread Ilya Leoshkevich
Sorry about that, I'm investigating. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954676 Title: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11

[Bug 1954676] Re: jammy 5.15 kernel soft lockup when zfs.ko is loaded on s390x w/ gcc >= 11.2.0-10ubuntu1 / gcc-11 PLT regression on s390x

2022-01-12 Thread Frank Heimes
** Also affects: ubuntu-z-systems Importance: Undecided Status: New ** Tags added: s390x ** Changed in: ubuntu-z-systems Assignee: (unassigned) => bugproxy (bugproxy) ** Changed in: ubuntu-z-systems Importance: Undecided => Critical -- You received this bug notification