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

BUG - KDUMP HLD links explaining how to build vmlinuz to match crash tool are broken. #1326

Closed
davidpil2002 opened this issue Apr 17, 2023 · 1 comment

Comments

@davidpil2002
Copy link
Contributor

davidpil2002 commented Apr 17, 2023

We do not triage issue for this repo. All issues are triaged in sonic-net/sonic-buildimage repo
In the HLD below, the links explaining how to build vmlinuz with debug symbol to be used with crash utils to use the feature kdump are broken.

I will appreciate if you can share info about how to prepare the vmlinuz with debug symbol to be ready for crash util.
I can share that I build the binary with the flag KERNEL_DEBUG=y and still I could not use the crash utility, I got the following error:
crash: /tmp/vmlinuz-5.10.0-18-2-amd64: not a supported file format
I think it's because the vmlinuz is ZIP.
can you help by explaining how to prepare the vmlinuz to match the KDUMP feature?

HLD KDUMP link
SONiC/doc/kdump/SONiC-kdump.md

@davidpil2002
Copy link
Contributor Author

I miss one line in the introduction that explain how to get kernel with symbols.

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

No branches or pull requests

1 participant