Re: pstore/ram: printk: NULL characters in pstore ramoops area

From: Kees Cook
Date: Thu Aug 10 2023 - 23:17:05 EST


On Thu, Aug 10, 2023 at 05:48:17PM -0700, Vijay Balakrishna wrote:
> On 8/10/23 16:50, Kees Cook wrote:
> > Can you share the .config you're building with? And what are you using
> > to trigger an Oops? I will see if I can reproduce this...
>
>
> Config: https://paste.ubuntu.com/p/Vrcsf8Ry9g/
>
> Just ran plain "sudo reboot" and inspected /var/lib/systemd/pstore/dmesg-ramoops-0 after reboot.

Ah-ha! I have reproduced by reconfiguring my system to use your exact
memory sizes. And I get the unexpected "dmesg-ramoops-0" file too! I
will continue digging...

--
Kees Cook