Skip to content

[vmcore] Add more kernel panic conditions for vmcore dump#6095

Merged
lguohan merged 6 commits intosonic-net:masterfrom
shlomibitton:shlomi_vmcore_support
Dec 15, 2020
Merged

[vmcore] Add more kernel panic conditions for vmcore dump#6095
lguohan merged 6 commits intosonic-net:masterfrom
shlomibitton:shlomi_vmcore_support

Conversation

@shlomibitton
Copy link
Copy Markdown
Contributor

@shlomibitton shlomibitton commented Dec 2, 2020

Signed-off-by: Shlomi Bitton shlomibi@nvidia.com

- Why I did it
Add more kernel panic conditions to allow vmcore dump in additional situations to have better debugging information.

- How I did it
Create new file to "sysctl.d" with desired panic conditions.
It will trigger a vmcore dump using kdump-tools on these situations.

- How to verify it

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Add 'crashkernel=256M' to grub cmdline

Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
@lguohan
Copy link
Copy Markdown
Collaborator

lguohan commented Dec 3, 2020

@rajendra-dendukuri , can you help to review this to see if it is align with the kdump design?

Shlomi Bitton and others added 4 commits December 3, 2020 17:46
@lguohan
Copy link
Copy Markdown
Collaborator

lguohan commented Dec 10, 2020

@rajendra-dendukuri , can you check and sign-off if possible?

@lguohan
Copy link
Copy Markdown
Collaborator

lguohan commented Dec 11, 2020

what is the proper description of this pr? it seems it add a few more conditional to instruction when to panic? Not neccessary "Allow vmcore dump in additional situations to have better debugging information."

is my understanding correct?

@shlomibitton shlomibitton changed the title [vmcore] Add additional flags for kdump-tools for vmcore dump [vmcore] Add more kernel panic conditions for vmcore dump Dec 13, 2020
@shlomibitton
Copy link
Copy Markdown
Contributor Author

what is the proper description of this pr? it seems it add a few more conditional to instruction when to panic? Not neccessary "Allow vmcore dump in additional situations to have better debugging information."

is my understanding correct?

@lguohan I changed the description, this is more clear now?

@lguohan lguohan merged commit a6aaffd into sonic-net:master Dec 15, 2020
@shlomibitton shlomibitton deleted the shlomi_vmcore_support branch March 24, 2021 20:37
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