Changes between Version 2 and Version 3 of SF_Ch_pstore
- Timestamp:
- 09/07/18 07:03:49 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SF_Ch_pstore
v2 v3 7 7 - generate a kernel panic 8 8 - boot a recovery boot image that also has pstore enabled to analyze the log 9 10 In the TWRP recovery image for the chiron pstore is enabled and pstore is automatically mounted to /sys/fs/pstore/ 9 11 10 12 === Kernel === … … 18 20 }}} 19 21 20 == Kernel panic == 22 === Mounting pstore === 23 To read the info in pstore it has to be mounted (in the boot image that is used to analyze the pstore) with something like 24 {{{ 25 mount -t pstore pstore /sys/fs/pstore 26 }}} 27 28 === Writing to pstore === 29 When CONFIG_PSTORE_PMSG is enabled it defines a device /dev/pmsg0 to which one can write messages 30 {{{ 31 echo "Hello Guhl" > /dev/pmsg0 32 }}} 33 After the kernel panic and reboot the result should be in /sys/fs/pstore/pmsg-ramoops-X 34 35 === Kernel panic === 21 36 For what ever reason the standard way to generate a kernel panic 22 37 {{{