sts-sponsors team mailing list archive
-
sts-sponsors team
-
Mailing list archive
-
Message #02917
[Bug 1921403] Re: makedumpfile does not create dmesg file in /var/crash on 5.10+ kernels
VERIFICATION FOCAL
Installed makedumpfile from proposed.
Testing on a Focal machine running 5.11 kernel.
# uname -rv
5.11.0-40-generic #44~20.04.1-Ubuntu SMP Wed Oct 20 19:04:34 UTC 2021
Trigger crash:
# echo 1 > /proc/sys/kernel/sysrq
# echo c > /proc/sysrq-trigger
After reboot contents of /var/crash :
/var/crash/202110271414# ls
dmesg.202110271414 dump.202110271414
dmesg file has been successfully created.
** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal
--
You received this bug notification because you are a member of STS
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1921403
Title:
makedumpfile does not create dmesg file in /var/crash on 5.10+ kernels
Status in makedumpfile package in Ubuntu:
Fix Released
Status in makedumpfile source package in Focal:
Fix Committed
Status in makedumpfile source package in Hirsute:
Fix Released
Status in makedumpfile package in Debian:
Fix Released
Bug description:
[IMPACT]
makedumpfile does not create the dmesg.<timestamp> in /var/crash.
This happens only on 5.10+ kernel because 5.10 kernel introduces a new
lockless ringbuffer.
This issue has been addressed upstream with commits :
[1] c617ec633392([PATCH 1/2] printk: add support for lockless ringbuffer)
[2] 44b073b7ec46([PATCH 2/2] printk: use committed/finalized state values)
[TEST CASE]
For testing a machine running focal with the 5.11 kernel is required.
Then trigger a crash.
After reboot make sure that dmesg.<timestamp> file is created in /var/crash/<timestamp>
[WHERE PROBLEMS COULD OCCUR]
Any problems would involve the dmesg file not created.
[Other]
[1] https://github.com/makedumpfile/makedumpfile/commit/c617ec63339222f3a44d73e36677a9acc8954ccd
[2] https://github.com/makedumpfile/makedumpfile/commit/44b073b7ec467aee0d7de381d455b8ace1199184
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1921403/+subscriptions