June 2017
Intermediate to advanced
478 pages
13h 14m
English
A kernel error, or oops, is normally logged via the klogd and syslogd daemons to a circular memory buffer or a file. Following a reboot, the log will be lost in the case of a ring buffer, and even in the case of a file, it may not have been properly written to before the system crashed. A more reliable method is to write oops and kernel panics to an MTD partition as a circular log buffer. You enable it with CONFIG_MTD_OOPS and add console=ttyMTDN to the kernel command line, N being the MTD device number to write the messages to.
Read now
Unlock full access