Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
setting up pstore
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Cr0t
l33t
l33t


Joined: 27 Apr 2002
Posts: 945
Location: USA

PostPosted: Sun Jan 12, 2025 4:31 pm    Post subject: setting up pstore Reply with quote

I am trying to setup pstore, but I am not sure if I am doing this right.

> Parameter printk.always_kmsg_dump writes to pstore at kernel shutdown or reboot.
This should create a file on a regular reboot, but it does not create one.

Code:
#grep -i pstore .config
CONFIG_PSTORE=y
CONFIG_PSTORE_DEFAULT_KMSG_BYTES=10240
CONFIG_PSTORE_COMPRESS=y
CONFIG_PSTORE_CONSOLE=y
CONFIG_PSTORE_PMSG=y
CONFIG_PSTORE_RAM=y
CONFIG_PSTORE_ZONE=y
CONFIG_PSTORE_BLK=y
CONFIG_PSTORE_BLK_BLKDEV=""
CONFIG_PSTORE_BLK_KMSG_SIZE=128
CONFIG_PSTORE_BLK_MAX_REASON=2
CONFIG_PSTORE_BLK_PMSG_SIZE=128
CONFIG_PSTORE_BLK_CONSOLE_SIZE=128

Code:
# journalctl -k |grep -i 'erst\|pstore'
Jan 12 11:10:55 datastorm kernel: ACPI: ERST 0x000000007D3241EC 000270 (v01 DELLOE DELLOSE  00000001 DELL 00000001)
Jan 12 11:10:55 datastorm kernel: ACPI: Reserving ERST table memory at [mem 0x7d3241ec-0x7d32445b]
Jan 12 11:10:55 datastorm kernel: ERST: Error Record Serialization Table (ERST) support is initialized.
Jan 12 11:10:55 datastorm kernel: pstore: Using crash dump compression: deflate
Jan 12 11:10:55 datastorm kernel: pstore: Registered erst as persistent store backend
Jan 12 11:10:55 datastorm kernel: ERST: NVRAM ERST Log Address Range not implemented yet.
Jan 12 11:10:55 datastorm systemd[1]: Starting Load Kernel Module efi_pstore...
Jan 12 11:10:55 datastorm systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
Jan 12 11:10:55 datastorm systemd[1]: Finished Load Kernel Module efi_pstore.

ERST: NVRAM ERST Log Address Range not implemented yet. --- this worries me

Code:
cat /sys/module/printk/parameters/always_kmsg_dump /sys/module/kernel/parameters/crash_kexec_post_notifiers
Y
Y
Code:
 cat /etc/systemd/pstore.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it under the
#  terms of the GNU Lesser General Public License as published by the Free
#  Software Foundation; either version 2.1 of the License, or (at your option)
#  any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file (or a copy of it placed in
# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
# the /etc/systemd/pstore.conf.d/ directory. The latter is generally
# recommended. Defaults can be restored by simply deleting the main
# configuration file and all drop-ins located in /etc/.
#
# Use 'systemd-analyze cat-config systemd/pstore.conf' to display the full config.
#
# See pstore.conf(5) for details.

[PStore]
#Storage=external
#Unlink=yes

_________________
cya
    ©®0t
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum