Changes between Initial Version and Version 1 of SF_Ch_pstore


Ignore:
Timestamp:
09/07/18 06:42:17 (6 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SF_Ch_pstore

    v1 v1  
     1== pstore ==
     2
     3do debug the boot process the pstore driver is used to create a persitant storage area that survives boot.
     4
     5The principle idea is:
     6- boot the boot image that you want to debug and write the boot log to pstore
     7- generate a kernel panic
     8- boot a recovery boot image that also has pstore enabled to analyze the log
     9
     10=== Kernel ===
     11The following options have to be enabled in the kernel config (in both boot images)
     12
     13{{{
     14CONFIG_PSTORE=y
     15CONFIG_PSTORE_CONSOLE=y
     16CONFIG_PSTORE_PMSG=y
     17CONFIG_PSTORE_RAM=y
     18}}}
     19
     20== Kernel panic ==
     21I am using the attached kernel module to create a kernel panic (modprobe the module)