/openbmc/linux/Documentation/admin-guide/ |
H A D | pstore-blk.rst | 3 pstore block oops/panic logger 9 pstore block (pstore/blk) is an oops/panic logger that writes its logs to a 11 these log files by mounting pstore filesystem like:: 13 mount -t pstore pstore /sys/fs/pstore 16 pstore block concepts 19 pstore/blk provides efficient configuration method for pstore/blk, which 23 Configurations for user determine how pstore/blk works, such as pmsg_size, 46 It's required for pstore/blk. It is also used for MTD device. 48 When pstore/blk is built as a module, "blkdev" accepts the following variants: 56 When pstore/blk is built into the kernel, "blkdev" accepts the following variants: [all …]
|
H A D | ramoops.rst | 27 Typically the default value of ``mem_type=0`` should be used as that sets the pstore 29 ``pgprot_noncached``, which only works on some platforms. This is because pstore 138 The dump data can be read from the pstore filesystem. The format for these 140 a stored record from RAM, simply unlink the respective pstore file. 150 # echo 1 > /sys/kernel/debug/pstore/record_ftrace 153 # mount -t pstore pstore /mnt/
|
H A D | index.rst | 48 pstore-blk
|
/openbmc/linux/fs/pstore/ |
H A D | Kconfig | 7 persistent storage via "pstore" filesystem that can 8 be mounted as /dev/pstore. Only useful if you have 9 a platform level driver that registers with pstore to 21 Defines default size of pstore kernel log storage. 31 Whether pstore records should be compressed before being written to 35 problems while pstore is recording panic metadata. 41 When the option is enabled, pstore will log all kernel 49 When the option is enabled, pstore will export a character 51 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID]. 63 pstore filesystem. It can be used to determine what function [all …]
|
H A D | Makefile | 6 obj-$(CONFIG_PSTORE) += pstore.o 8 pstore-objs += inode.o platform.o 9 pstore-$(CONFIG_PSTORE_FTRACE) += ftrace.o 11 pstore-$(CONFIG_PSTORE_PMSG) += pmsg.o
|
H A D | ram.c | 102 struct pstore_info pstore; member 441 .pstore = { 812 cxt->pstore.data = cxt; in ramoops_probe() 819 cxt->pstore.flags = 0; in ramoops_probe() 821 cxt->pstore.flags |= PSTORE_FLAGS_DMESG; in ramoops_probe() 822 cxt->pstore.max_reason = pdata->max_reason; in ramoops_probe() 825 cxt->pstore.flags |= PSTORE_FLAGS_CONSOLE; in ramoops_probe() 827 cxt->pstore.flags |= PSTORE_FLAGS_FTRACE; in ramoops_probe() 829 cxt->pstore.flags |= PSTORE_FLAGS_PMSG; in ramoops_probe() 836 if (cxt->pstore.flags & PSTORE_FLAGS_DMESG) { in ramoops_probe() [all …]
|
H A D | zone.c | 138 struct pstore_info pstore; member 1104 .pstore = { 1371 cxt->pstore.bufsize = cxt->kpszs[0]->buffer_size - in register_pstore_zone() 1373 cxt->pstore.buf = kzalloc(cxt->pstore.bufsize, GFP_KERNEL); in register_pstore_zone() 1374 if (!cxt->pstore.buf) { in register_pstore_zone() 1379 cxt->pstore.data = cxt; in register_pstore_zone() 1382 cxt->pstore.max_reason = info->max_reason; in register_pstore_zone() 1383 cxt->pstore.name = info->name; in register_pstore_zone() 1385 cxt->pstore.flags |= PSTORE_FLAGS_DMESG; in register_pstore_zone() 1387 kmsg_dump_reason_str(cxt->pstore.max_reason)); in register_pstore_zone() [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-snap-persistent.c | 105 struct pstore { struct 170 static int alloc_area(struct pstore *ps) in alloc_area() argument 205 static void free_area(struct pstore *ps) in free_area() 232 static int chunk_io(struct pstore *ps, void *area, chunk_t chunk, blk_opf_t opf, in chunk_io() 270 static chunk_t area_location(struct pstore *ps, chunk_t area) in area_location() 275 static void skip_metadata(struct pstore *ps) in skip_metadata() 288 static int area_io(struct pstore *ps, blk_opf_t opf) in area_io() 295 static void zero_memory_area(struct pstore *ps) in zero_memory_area() 300 static int zero_disk_area(struct pstore *ps, chunk_t area) in zero_disk_area() 306 static int read_header(struct pstore *ps, int *new_snapshot) in read_header() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | pstore | 1 What: /sys/fs/pstore/... 2 What: /dev/pstore/... 15 # mount -t pstore -o kmsg_bytes=8000 - /sys/fs/pstore 17 $ ls -l /sys/fs/pstore/ 31 $ rm /sys/fs/pstore/dmesg-erst-1 33 The expectation is that all files in /sys/fs/pstore/ 46 set by passing the pstore.backend= argument to the kernel at
|
/openbmc/linux/tools/testing/selftests/pstore/ |
H A D | pstore_post_reboot_tests | 23 mount_info=`grep pstore /proc/mounts` 28 mount none /sys/fs/pstore -t pstore 30 mount_point=`grep pstore /proc/mounts | cut -d' ' -f2 | head -n1`
|
H A D | common_tests | 77 backend=`cat /sys/module/pstore/parameters/backend`
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector/ |
H A D | ramoops-monitor.service | 3 ConditionPathExistsGlob=/var/lib/systemd/pstore/dmesg-ramoops-*
|
/openbmc/openbmc/meta-google/recipes-google/systemd/ |
H A D | gbmc-systemd-config.bb | 53 # mask systemd-pstore.service to avoid copying logs to SPI 55 ln -sv /dev/null ${D}${sysconfdir}/systemd/system/systemd-pstore.service
|
/openbmc/qemu/docs/specs/ |
H A D | acpi_erst.rst | 28 Linux uses the persistent storage filesystem, pstore, to record 32 software and/or hardware fails, and thus kdump fails), pstore may 35 Two common storage backends for the pstore filesystem are ACPI ERST 37 guests. With QEMU supporting ACPI ERST, it becomes a viable pstore
|
/openbmc/phosphor-debug-collector/ |
H A D | meson.options | 56 value: '/var/lib/systemd/pstore/', 57 description: 'Path to the systemd pstore directory',
|
H A D | meson.build | 104 description: 'Path to the systemd pstore directory',
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | Kconfig | 11 tristate "Register efivars backend for pstore" 16 Say Y here to enable use efivars as a backend to pstore. This 18 else supported by pstore to EFI variables. 21 bool "Disable using efivars as a pstore backend by default" 26 backend for pstore by default. This setting can be overridden
|
H A D | Makefile | 21 obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
|
/openbmc/linux/tools/testing/selftests/ |
H A D | Makefile | 68 TARGETS += pstore 211 $(MAKE) -C pstore run_crash
|
/openbmc/openbmc/meta-google/recipes-kernel/linux/files/ |
H A D | gbmc.cfg | 57 # Features useful if a machine enables pstore for dumps
|
/openbmc/openbmc/meta-phosphor/recipes-core/systemd/ |
H A D | systemd_%.bbappend | 8 pstore \
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/ |
H A D | gbs.cfg | 39 # Enable pstore(ramoops) to capture kernel panics
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | shrinker_debugfs.rst | 28 mm-zspool:zram0-34 sb-hugetlbfs-17 sb-pstore-31 sb-tmpfs-44
|
/openbmc/linux/fs/ |
H A D | Makefile | 127 obj-$(CONFIG_PSTORE) += pstore/
|
/openbmc/linux/drivers/mtd/ |
H A D | Kconfig | 177 tristate "Log panic/oops to an MTD buffer based on pstore" 182 mounting pstore filesystem.
|