Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kdump: collect only kernel dmesgs, not kdumps #3978

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

rouming
Copy link
Contributor

@rouming rouming commented Jun 12, 2024

Due to the possible huge size of the kdump on a machine with a lot of RAM (even when using the minimum kdump option, each dump can take up several GB of data, which leads to not enough space for logs and user data in /persist) and the general uselessness of the kdump for our kernel debugging process (usually the dmesgs kernel is enough for debugging), this patch disables the generation of kdumps and keeps dmesgs only.

@github-actions github-actions bot requested a review from eriknordmark June 12, 2024 09:07
pkg/kdump/kdump.sh Outdated Show resolved Hide resolved
Copy link
Contributor

@eriknordmark eriknordmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the dmesg contain the kernel panic stack trace?

@rouming
Copy link
Contributor Author

rouming commented Jun 13, 2024

Does the dmesg contain the kernel panic stack trace?

Yes, everything.

Due to the possible huge size of the kdump on a machine with a lot of RAM
(even when using the minimum kdump option, each dump can take up several
GB of data, which leads to not enough space for logs and user data in
/persist) and the general uselessness of the kdump for our kernel debugging
process (usually the dmesgs kernel is enough for debugging), this patch
disables the generation of kdumps and keeps dmesgs only.

Signed-off-by: Roman Penyaev <r.peniaev@gmail.com>
Reported-by: Zeljko Misic <zeljko@zededa.com>
@github-actions github-actions bot requested a review from eriknordmark June 13, 2024 08:23
@rouming rouming merged commit 609e5a3 into lf-edge:master Jun 13, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants