On Fri, Oct 11, 2019 at 12:01 AM Kees Cook <keescook@xxxxxxxxxxxx> wrote: > > On Thu, Oct 10, 2019 at 10:45:21PM +0530, Muni Sekhar wrote: > > I'm using Ubuntu distro, ran "reboot" command but after reboot > > console-ramoops-0 is not present in /sys/fs/pstore > > Hmpf. Well, then, I guess your boot firmware is pretty aggressive about > wiping RAM across boots. :( > > There was a patch set to store to disk, but I haven't seen a recent > version of it, if you want to go that route[1]. > > -Kees > > [1] https://lore.kernel.org/lkml/1551922630-27548-1-git-send-email-liaoweixiong@xxxxxxxxxxxxxxxxx/ Thanks I will check it out. While loading ramoops I see "persistent_ram: uncorrectable error in header", is this harmful? [ 270.864969] ramoops: using module parameters [ 270.866651] persistent_ram: uncorrectable error in header [ 270.867252] persistent_ram: uncorrectable error in header [ 270.867728] persistent_ram: uncorrectable error in header [ 270.868067] persistent_ram: uncorrectable error in header [ 270.868492] persistent_ram: uncorrectable error in header [ 270.868839] persistent_ram: uncorrectable error in header [ 270.869209] persistent_ram: uncorrectable error in header [ 270.869681] persistent_ram: uncorrectable error in header [ 270.870026] persistent_ram: uncorrectable error in header [ 270.870430] persistent_ram: uncorrectable error in header [ 270.870774] persistent_ram: uncorrectable error in header [ 270.871110] persistent_ram: uncorrectable error in header [ 270.871687] persistent_ram: uncorrectable error in header [ 270.872055] persistent_ram: uncorrectable error in header [ 270.872567] persistent_ram: uncorrectable error in header [ 270.872910] persistent_ram: uncorrectable error in header [ 270.873243] persistent_ram: uncorrectable error in header [ 270.873592] persistent_ram: uncorrectable error in header [ 270.873932] persistent_ram: uncorrectable error in header [ 270.874267] persistent_ram: uncorrectable error in header [ 270.874614] persistent_ram: uncorrectable error in header [ 270.874958] persistent_ram: uncorrectable error in header [ 270.875300] persistent_ram: uncorrectable error in header [ 270.875686] persistent_ram: uncorrectable error in header [ 270.876028] persistent_ram: uncorrectable error in header [ 270.876462] persistent_ram: uncorrectable error in header [ 270.876808] persistent_ram: uncorrectable error in header [ 270.877144] persistent_ram: uncorrectable error in header [ 270.877519] persistent_ram: uncorrectable error in header [ 270.877860] persistent_ram: uncorrectable error in header [ 270.878199] persistent_ram: uncorrectable error in header [ 270.878565] persistent_ram: uncorrectable error in header [ 270.878916] persistent_ram: uncorrectable error in header [ 270.881129] console [pstore-1] enabled [ 270.884817] pstore: Registered ramoops as persistent store backend [ 270.885232] ramoops: attached 0x100000@0x3ff00000, ecc: 16/0 > > -- > Kees Cook -- Thanks, Sekhar