简体   繁体   English

linux主板转储恢复

[英]linux motherboard dump recovery

I vaguely remember a kernel extension where the last few KB of logging was saved to some ram on suitable motherboards. 我隐约记得一个内核扩展,其中最后几KB的日志记录保存在合适的主板上的某些ram上。 This let you recover the dump from an oops/panic on the next boot. 这样,您可以在下次引导时从oops / panic恢复转储。 Very useful for server farms. 对于服务器场非常有用。

Does anyone remember what that extension was called? 有人记得那个扩展名吗? Or the motherboard feature to have that storage. 或具有该存储功能的主板功能。

Is there a way to set aside some RAM and save it there instead (for an embedded system)? 有没有办法留出一些RAM并将其保存在那里(对于嵌入式系统)?

Originally this was the feature of Android kernel called RAM console . 最初,这是Android内核的功能,称为RAM控制台 It can be enabled using CONFIG_ANDROID_RAM_CONSOLE option. 可以使用CONFIG_ANDROID_RAM_CONSOLE选项启用它。

Now the similar mechanism called pstore is available in mainline kernel (was added by this commit). 现在,主线内核中提供了类似的称为pstore的机制( 提交已添加)。 You can enable it using CONFIG_PSTORE_* options. 您可以使用CONFIG_PSTORE_ *选项启用它。

More details about RAM console upstreaming can be found here . 有关RAM控制台上游的更多详细信息,请参见此处

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM