Open beliaev-maksim opened 1 year ago
This thread was migrated from launchpad.net
Is it just a matter of adding linux-crashdump as a dependency?
Also needs to upload the panic log from /var/crash/
Maybe leverage apport? It already has a hook for linux-crashdump.
Manually trigger a panic to see how it works:
There are a few things that should be considered.
= Setup =
= Bug report =
[1] [0/7] Implement crashkernel=auto - Patchwork - https://lore.kernel.org/patchwork/cover/166256/ [2] Kernel/CrashdumpRecipe - Ubuntu Wiki - https://wiki.ubuntu.com/Kernel/CrashdumpRecipe
If Checkbox has a dedicated job that captures the kernel crash log and put it in Checkbox's $PLAINBOX_SESSION_SHARE directory, then it will be captured by QABro when filing a bug, since QABro currently archives the most current Checkbox session on the device and sends it over to Launchpad.
Hi Pierre,
Could you help to investigate that captures the kernel crash log from /var/crash/ directly when QABro file a bug? Due to it seems need more effort to determine when should the job puts the kernel panic log to Checkbox's $PLAINBOX_SESSION_SHARE
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1152.
This message was autogenerated
This issue was migrated from https://bugs.launchpad.net/plainbox-provider-checkbox/+bug/1887901
Summary
Description
To collect kernel panic when userspace processes are frozen, we can use crashkernel to collect log: $ sudo apt-get install linux-crashdump
And the panic log will be put in /var/crash, if a kernel panic ever happened.
Attachments
No attachments
Tags: ['intermediate']