Changes between Version 2 and Version 3 of SF_Ch_pstore


Ignore:
Timestamp:
09/07/18 07:03:49 (6 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SF_Ch_pstore

    v2 v3  
    77- generate a kernel panic
    88- boot a recovery boot image that also has pstore enabled to analyze the log
     9
     10In the TWRP recovery image for the chiron pstore is enabled and pstore is automatically mounted to /sys/fs/pstore/
    911
    1012=== Kernel ===
     
    1820}}}
    1921
    20 == Kernel panic ==
     22=== Mounting pstore ===
     23To 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{{{
     25mount -t pstore pstore /sys/fs/pstore
     26}}}
     27
     28=== Writing to pstore ===
     29When CONFIG_PSTORE_PMSG is enabled it defines a device /dev/pmsg0 to which one can write messages
     30{{{
     31echo "Hello Guhl" > /dev/pmsg0
     32}}}
     33After the kernel panic and reboot the result should be in /sys/fs/pstore/pmsg-ramoops-X
     34
     35=== Kernel panic ===
    2136For what ever reason the standard way to generate a kernel panic
    2237{{{