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

Include pstore contents in show techsupport tarball #21526

Open
saiarcot895 opened this issue Jan 24, 2025 · 0 comments · May be fixed by sonic-net/sonic-utilities#3745
Open

Include pstore contents in show techsupport tarball #21526

saiarcot895 opened this issue Jan 24, 2025 · 0 comments · May be fixed by sonic-net/sonic-utilities#3745
Assignees
Labels
Triaged this issue has been triaged

Comments

@saiarcot895
Copy link
Contributor

Kernel panics can be written to pstore, which is a persistent file storage specifically for the kernel. On UEFI-based systems, this pstore is backed by UEFI, and the files written to pstore will be stored as EFI variables. On the next bootup, the systemd-pstore service will collect the files in pstore and copy them to /var/lib/systemd/pstore. This allows us to have the full dmesg logs including the kernel panic logs when a kernel panic does happen, without needing to be attached to the console of the device.

Currently, show techsupport doesn't include /var/lib/systemd/pstore in the files collected. This directory should be added so that kernel panic logs are included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triaged this issue has been triaged
Projects
None yet
3 participants