system freeze when swapping to encrypted swap partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Critical
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Thadeu Lima de Souza Cascardo | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
== Comment: #0 - Bernd-Rainer Bresser <email address hidden> - 2016-12-05 04:27:00 ==
+++ This bug was initially created as a clone of Bug #147836 +++
---Problem Description---
When the system is installed with encrypted swap partition the attempt to swap ends in a system freeze. No error, no dump, the system needs to be reloaded.
Contact Information = Bernd-Rainer Bresser/
---uname output---
Linux s38lp65 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:05:09 UTC 2016 s390x s390x s390x GNU/Linux
Machine Type = z13 LPAR
---System Hang---
System is frozen. No error, no dump, the system needs to be reloaded.
---Debugger---
A debugger is not configured
---Steps to Reproduce---
1. install a system with encrypted swap partition. This can be done using the installer or via manual updates to /etc/fstab and /etc/crypttab.
2. Verify encrypted swap partition exists
cryptsetup status kvmibm-swap
/dev/mapper/
type: PLAIN
cipher: aes-xts-
keysize: 256 bits
device: /dev/dasda2
offset: 0 sectors
size: 8388672 sectors
mode: read/write
3. force swapping
this can be done by a command like this (if the system has 8GB memory)
dd if=/dev/zero of=/dev/null ibs=16k obs=8G count=2MB
Stack trace output:
no
Oops output:
no
System Dump Location:
*Additional Instructions for Bernd-Rainer Bresser/
-Attach sysctl -a output output to the bug.
== Comment: #1 - Bernd-Rainer Bresser <email address hidden> - 2016-12-05 04:33:24 ==
- the problem was originally found on KVM for IBM z 1.1.3
- test on Ubuntu 16.04.1 showed the same issue here
- on KVM for IBM z 1.1.3 the problem could be solved/circumvented by reverting
commit 564e81a57f9788b
Author: Tetsuo Handa <email address hidden>
Date: Fri Feb 5 15:36:30 2016 -0800
mm, vmstat: fix wrong WQ sleep when memory reclaim doesn't make any progress
tags: | added: architecture-s39064 bugnameltc-149525 severity-critical targetmilestone-inin--- |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
tags: | removed: bugnameltc-149525 severity-critical |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
Changed in ubuntu-z-systems: | |
assignee: | Canonical Kernel Team (canonical-kernel-team) → Thadeu Lima de Souza Cascardo (cascardo) |
tags: | added: bugnameltc-149525 severity-critical |
Changed in linux (Ubuntu): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → Canonical Kernel (canonical-kernel) |
Changed in ubuntu-z-systems: | |
importance: | Undecided → Critical |
Changed in linux (Ubuntu): | |
assignee: | Canonical Kernel (canonical-kernel) → Thadeu Lima de Souza Cascardo (cascardo) |
Changed in ubuntu-z-systems: | |
assignee: | Thadeu Lima de Souza Cascardo (cascardo) → nobody |
Changed in linux (Ubuntu): | |
status: | New → In Progress |
Changed in ubuntu-z-systems: | |
status: | In Progress → New |
Changed in ubuntu-z-systems: | |
status: | New → In Progress |
Changed in linux (Ubuntu Xenial): | |
status: | New → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
tags: |
added: targetmilestone-inin16041 removed: targetmilestone-inin--- |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Released |
Hi, Mr. Bresser.
Can you try Ubuntu 16.10 and let us know if it still has the same problem?
Thank you.
Cascardo.