Re: [PATCH] pstore: automatically dump and clean dmesg entries

From: Thomas Renninger
Date: Fri Mar 01 2019 - 09:58:12 EST


On Friday, March 1, 2019 3:53:25 PM CET Thomas Renninger wrote:
> From: Torsten Duwe <duwe@xxxxxxx>
>
> Dump a previous oops or panic, which has made it to pstore,
> to the new syslog after reboot, optionally deleting it.
> This can happen automatically, without user land interaction.
>
> Signed-off-by: Torsten Duwe <duwe@xxxxxxx>
> CC: Thomas Renninger <trenn@xxxxxxx>

This is a patch which is (was) part of the SUSE kernel for quite a while.
Iirc someone from Fujitsu requested this.

Anyway, it has not been sent upstream yet, but looks useful.
Please consider to merge this one if you like it.
Otherwise it will probably get dropped to Nirvana as we only keep upstream
accepted (not SuSE specific) patches.

I adjusted the patch to latest linux-2.6 git HEAD state and gave it a test
compile.

Thanks,

Thomas