I've tried multiple versions of gcc and here's the result:

 - gcc 11.2.0-13ubuntu1 : bad
 - gcc 11.2.0-12ubuntu1 : bad
 - gcc 11.2.0-10ubuntu1 : bad
 - gcc 11.2.0-7ubuntu2  : good
 - gcc 10.3.0-13ubuntu1 : good

Apparently the last version of gcc that seems to work with zfs + kernel
5.15 is 11.2.0-7ubuntu2 (the one currently in impish).

The same behavior happens both with a vanilla 5.15 and our Ubuntu kernel
5.15 (only on s390x, all the other architectures are working just fine).

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1954676

Title:
  jammy 5.15 soft lockup when zfs.ko is loaded on s390x

Status in gcc-11 package in Ubuntu:
  New
Status in zfs-linux package in Ubuntu:
  New
Status in gcc-11 source package in Jammy:
  New
Status in zfs-linux source package in Jammy:
  New

Bug description:
  [Impact]

  Installing zfs-dkms seems to trigger a soft lockup issue as soon as
  zfs.ko is loaded. When the soft lockup happens the system isn't
  reachable anymore via ssh and on the console we can see some exlicit
  rcu stall warnings.

  This seems to happen only when zfs is compile with gcc >=
  11.2.0-10ubuntu1. Downgrading gcc to previous versions doesn't show
  the problem and zfs is working just fine.

  [Test case]

  On s390x install the latest 5.15 Jammy kernel and run:
  apt install zfs-dkms

  [Fix]

  Temporary workaround is to downgrade gcc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-11/+bug/1954676/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to