← Back to team overview

kernel-packages team mailing list archive

[Bug 1572291] Comment bridged from LTC Bugzilla

 

------- Comment From thorsten.diehl@xxxxxxxxxx 2016-04-29 05:45 EDT-------
At first I reproduced this on kernel 4.4.0-15:

Creating workload:
cat /dev/urandom |gzip -9 > /dev/null &
cat /dev/urandom |gzip -9 > /dev/null &
ping 10.100.86.49

Let PCI device recover:
for i in `seq 1 100`; do echo 1 >  /sys/bus/pci/devices/0000\:00\:00.0/recover; echo $i;sleep 1;done

On the 32nd recovery I got the kernel panic.
Retried that and on the 19th recovery the panic occured.

Updated system to 4.4.0-22.38 and performed the above steps. Problem did
not occur after 2x 100 recoveries. Fix works. Waiting for integration
into xenial stream.

@Canonical: Please integrate into xenial and yaketty stream.

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

Title:
  s390/pci: add extra padding to function measurement block

Status in Release Notes for Ubuntu:
  Fix Released
Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Xenial:
  Fix Committed

Bug description:
  Please backport upstream commit:

  commit 9d89d9e61d361f3adb75e1aebe4bb367faf16cfa
  Author: Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx>
  Date:   Thu Mar 31 11:48:31 2016 +0200

      s390/pci: add extra padding to function measurement block
      
      Newer machines might use a different (larger) format for function
      measurement blocks. To ensure that we comply with the alignment
      requirement on these machines and prevent memory corruption (when
      firmware writes more data than we expect) add 16 padding bytes
      at the end of the fmb.
      
      Cc: stable@xxxxxxxxxxxxxxx # v4.1+
      Signed-off-by: Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx>
      Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>

   arch/s390/include/asm/pci.h | 3 ++-
   1 file changed, 2 insertions(+), 1 deletion(-)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1572291/+subscriptions