nilfs-dev / nilfs-utils

NILFS utilities
https://nilfs.sourceforge.io/
Other
46 stars 6 forks source link

nilfs-related kernel crashes #16

Closed mbb78 closed 4 years ago

mbb78 commented 4 years ago

Hi!

I'm not sure if I'm posting this in the right place, but the crashes seem to be related with nilfs driver. I personally use Manjaro Linux. Some reports can be seen on the following posts:

(https://forum.manjaro.org/t/stable-update-2019-11-14-kernels-plasma-kde-apps-kde-frameworks-mesa-nvidia/111239/134?u=mbb)

(https://forum.manjaro.org/t/kernel-bug-related-to-nilfs/112783?u=mbb)

To sumarize:

Thank you very much for reading this and for your work on the nilfs filesystem. I really like it. Please tell me if I should report the issue on the kernel bugtracker instead.

konis commented 4 years ago

This looks the same as following issue reported in mailing list:

Thank you for reporting details.

mbb78 commented 4 years ago

Yes, it appears to be the same issue. Apparently the commit was identified, so I hope it gets fixed soon.

Thanks!

daiyy commented 4 years ago

A workaround could be disable CONFIG_CGROUP_WRITEBACK in your kernel config, rebuild kernel and reboot.

mbb78 commented 4 years ago

Thank you. I will try this when I have time and report back.

konis commented 4 years ago

This issue was fixed by commit 8301c719a2bd ("nilfs2: fix null pointer dereference at nilfs_segctor_do_construct()") which is merged to kernel 5.8-rc1. It was back ported to the following stable kernels:

v5.7.3 (linux-5.7.y) v5.6.19 (linux-5.6.y) v5.4.47 (linux-5.4.y)

For former stable kernels that back-ported the causal commit c3aab9a0bd91 ("mm/filemap.c: don't initiate writeback if mapping has no dirty pages"), back porting the above commit may resolve the issue.

mbb78 commented 4 years ago

Thank you very much. I'm not currently using nilfs, but I'll get back to it.