Sometimes, debugging the kdump service failure becomes very challenging
because there is no complete debugging information, which requires
modification of the options or the scripts like kdumpctl, mkdumprd, etc
to collect the information for troubleshooting.
That means users have to wait for the next failure so that they can
capture the additional information, which could waste valuable time.
This patch series will add the debugging messages and save them to a
file. It includes the following patches:
[1] [PATCH 1/2] kdumpctl/mkdumprd: add 'set -x' to output debugging
information to a file
[2] [PATCH 2/2] kdumpctl: add the '-d' option to enable the kexec loading
debugging messages
Changes since v1:
[1] Set default log path to '/var/log/kdump' instead of '/var/crash'
[2] Add a timestamp to the debug log messages
[3] Print a message to differentiate between the kdumpctl and mkdumprd log
Lianbo Jiang (2):
kdumpctl/mkdumprd: add 'set -x' to output debugging information to a
file
kdumpctl: add the '-d' option to enable the kexec loading debugging
messages
kdumpctl | 12 +++++++++++-
mkdumprd | 10 ++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)
--
2.17.1
Show replies by thread