[Bug 1589563] Re: ext4 journaling and swapping to same encrypted SSHD hangs system
** Tags added: kernel-bug-exists-upstream-4.7-rc2 ** Changed in: linux (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1589563 Title: ext4 journaling and swapping to same encrypted SSHD hangs system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1589563/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1589563] Re: ext4 journaling and swapping to same encrypted SSHD hangs system
** Attachment added: "Kernel 4.7-rc2 boot and reproduction log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1589563/+attachment/4680365/+files/kern.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1589563 Title: ext4 journaling and swapping to same encrypted SSHD hangs system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1589563/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1589563] Re: ext4 journaling and swapping to same encrypted SSHD hangs system
.This is a new laptop with fresh install. I received it only a few days before noticing the swapping issue. Laptop model is previous generation meaning that this hardware has been around for nearly two years. I haven't tried older kernels if I can find a stable one. Only relevant looking report about very similar problem pointed to bug being present already in 3.19 kernels. If this is same bug then his report about older kernel being stable means I would need to install quite old kernel to find a stable one. But I might setup kernel build and bisection for the broken commit in a few days. But I wanted first to learn how relevant code behaviors in my system before trying to find the bug. That means I need to read thousands lines of code and setup some kernel traces to see how thread, hw access and irq timings interact. I tested mainline kernel package linux- image-4.7.0-040700rc2-generic_4.7.0-040700rc2.201606051831_amd64.deb There is some changes to system behavior but still underlying bug is present that makes swapping not working on this laptop. Changes in 4.7-rc2 kernel: + SLUB now reports actively about allocation problems + Kernel manages to use about 1G swap space before freezing (so far only one attempt to reproduce) when 4.4 kernel consistently used only about 100M swap before freeze + freeze triggers OOM killer very quickly and system automatically recovers after OOM killer removes the offending compiling process. - Netconsole has become unreliable. There is allocation failures reported from netconsole context that results to lost kernel messages + Local kernel log recorded to disk is complete. There is no report from systemd about ring buffer overflows. Attaching locally recorded kern.log from boot and reproduction attempt. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed ** Tags added: kernel-bug-exists-upstream -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1589563 Title: ext4 journaling and swapping to same encrypted SSHD hangs system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1589563/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1589563] Re: ext4 journaling and swapping to same encrypted SSHD hangs system
** Tags added: latest-bios-1.32 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1589563 Title: ext4 journaling and swapping to same encrypted SSHD hangs system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1589563/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1589563] Re: ext4 journaling and swapping to same encrypted SSHD hangs system
Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem? Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.7-rc1 kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. Once testing of the upstream kernel is complete, please mark this bug as "Confirmed". Thanks in advance. [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc1-yakkety/ ** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Changed in: linux (Ubuntu) Importance: Medium => High ** Tags added: kernel-da-key -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1589563 Title: ext4 journaling and swapping to same encrypted SSHD hangs system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1589563/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1589563] Re: ext4 journaling and swapping to same encrypted SSHD hangs system
A possible problem is dm_crypt works all trying to allocate pages in bio_alloc_bioset. Based on comments around relevant code allocation is supposed to come from a memory pool. But stacktraces show that code end ups to page allocator. I'm not familiar with relevant code paths so I need to read the code more carefully to figure out what actually blocks dm_crypt works the way they are blocked in stacktraces. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1589563 Title: ext4 journaling and swapping to same encrypted SSHD hangs system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1589563/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs