[Bug 1939996] Re: kernel BUG at mm/zswap.c:1275

2021-09-10 Thread Kai-Heng Feng
The fix is not in upstream 5.11 stable...

So maybe send SRU to ubuntu kernel to include the fix:
https://wiki.ubuntu.com/Kernel/Dev/StablePatchFormat

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939996

Title:
  kernel BUG at mm/zswap.c:1275

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1939996/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1939996] Re: kernel BUG at mm/zswap.c:1275

2021-08-29 Thread Ko-Zu
This happens for me if zswap was enabled with zsmalloc pool.
ref: https://www.spinics.net/lists/linux-mm/msg245604.html

For 20.04 hwe, this also affects 5.11.0.25 but previous hwe 5.8.0.x were
not affected.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939996

Title:
  kernel BUG at mm/zswap.c:1275

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1939996/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1939996] Re: kernel BUG at mm/zswap.c:1275

2021-08-16 Thread Nicholas Guriev
** Attachment added: "dmesg_0859.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1939996/+attachment/5518107/+files/dmesg_0859.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939996

Title:
  kernel BUG at mm/zswap.c:1275

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1939996/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1939996] Re: kernel BUG at mm/zswap.c:1275

2021-08-16 Thread Nicholas Guriev
I can reproduce the bug on -22 and -25 kernels. Here are almost full
dmesg logs. You can see SSD errors where swap is placed. This issue may
be related to them somehow. To exclude hardware element of errors, I
will try other more recent laptop or VirtualBox.


Steps:

1. sudo mount -t tmpfs -o mode=775 tmpfs /mnt

2. sudo dd if=/dev/urandom of=/mnt/garbage
Wait till ENOSPC. In my case, the garbage file becomes of 8 GB.

3. ./eatmem 500
This hand-made program only consumes a lot of memory in a loop then sleeps.

So I speculate when the kernel wants to displace tmpfs content to a
swap, it encounters the bug. If I reverse second and third steps, the
bug does not appear.

** Attachment added: "dmesg_0846.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1939996/+attachment/5518106/+files/dmesg_0846.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939996

Title:
  kernel BUG at mm/zswap.c:1275

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1939996/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1939996] Re: kernel BUG at mm/zswap.c:1275

2021-08-16 Thread Nicholas Guriev
** Attachment added: "eatmem.c"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1939996/+attachment/5518108/+files/eatmem.c

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939996

Title:
  kernel BUG at mm/zswap.c:1275

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1939996/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1939996] Re: kernel BUG at mm/zswap.c:1275

2021-08-15 Thread Kai-Heng Feng
Did this issue happen on previous kernels?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939996

Title:
  kernel BUG at mm/zswap.c:1275

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1939996/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs