Skip to content
Snippets Groups Projects

Update documentation of pstore

Merged Nithin Mysore Nagesh requested to merge wip/nht4kor/pstore into master
1 file
+ 7
5
Compare changes
  • Side-by-side
  • Inline
+ 7
5
@@ -196,13 +196,13 @@ For test purpose, you can generate a kernel crash by setting reboot timeout to
## Retrieve logs in Linux
After reboot, logs ca be found at /sys/fs/pstore:
After a crash induced reboot, logs can be found at /var/lib/systemd/pstore:
$ sudo ls -l /sys/fs/pstore
$ sudo ls -l /var/lib/systemd/pstore
total 0
-r--r--r-- 1 root root 8180 2019-11-15 11:58 console-ramoops-0
-r--r--r-- 1 root root 8136 2019-11-15 11:51 dmesg-ramoops-0
-r--r--r-- 1 root root 7856 2019-11-15 11:51 dmesg-ramoops-1
-rw------- 1 root root 4084 Mar 1 08:32 console-ramoops-0
-rw------- 1 root root 4023 Mar 1 08:27 dmesg-ramoops-0
-rw-r----- 1 root root 4040 Mar 1 08:15 dmesg.txt
## Retrieve logs in U-Boot
@@ -281,3 +281,5 @@ save`, e.g. on root directory of 1st partition of the 2nd MMC:
update journal finished
8180 bytes written in 719 ms (10.7 KiB/s)
Once booted, we can access the log file inside the mountpoint of 1st partition of the 2nd MMC.
Check the mountpoint using lsblk command and we can view the log files inside that.
\ No newline at end of file
Loading