Skip to content

[201911] Add panic_on_unrecovered_nmi to kernel settings #7837

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

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

zzhiyuan
Copy link
Contributor

@zzhiyuan zzhiyuan commented Jun 9, 2021

Why I did it

Watchdog does not trigger a kernel panic on Arista 7170 platform because this parameter is missing on 201911 but not on master.

How I did it

Add the relevant parameter (panic_on_unrecovered_nmi) to build_debian.sh

The relevant kernel code that needs this parameter is here: https://github.com/torvalds/linux/blob/master/arch/x86/kernel/nmi.c#L292

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

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

@zzhiyuan zzhiyuan changed the title Add panic_on_unrecovered_nmi to kernel settings [201911] Add panic_on_unrecovered_nmi to kernel settings Jun 9, 2021
@abdosi abdosi merged commit 45a8208 into sonic-net:201911 Jun 14, 2021
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.

3 participants