{"id":269398,"date":"2023-04-13T20:08:49","date_gmt":"2023-04-13T12:08:49","guid":{"rendered":"https:\/\/lrxjmw.cn\/rhsycgjfxnhb.html"},"modified":"2023-04-13T20:08:49","modified_gmt":"2023-04-13T12:08:49","slug":"rhsycgjfxnhb","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/rhsycgjfxnhb.html","title":{"rendered":"\u5982\u4f55\u4f7f\u7528crash\u5de5\u5177\u5206\u6790\u5185\u6838\u5d29\u6e83\u8f6c\u50a8\u6587\u4ef6\u5206\u6790\u5de5\u5177\u7684\u4f7f\u7528\u6280\u5de7"},"content":{"rendered":"

\u5f53linux\u7cfb\u7edf<\/a>\u5185\u6838\u53d1\u751f\u5d29\u6e83\u7684\u65f6\u4faf\uff0c\u53ef\u4ee5\u901a\u8fc7kdump\u7b49\u65b9\u6cd5\u641c\u96c6\u5185\u6838\u5d29\u6e83\u4e4b\u524d\u7684\u663e\u5b58\uff0c\u751f\u6210\u4e00\u4e2a\u5b58\u8d2e\u6587\u4ef6vmcore\u3002\u5185\u6838\u5f00\u53d1\u8005\u901a\u8fc7\u5256\u6790<\/p>\n

\u672c\u6587\u9996\u5148\u4ecb\u7ecd\u4e86crash\u7684\u57fa\u672c\u6982\u5ff5\u548c\u5b89\u88c5\u65b9\u5f0f\uff0c\u5176\u6b21\u8be6\u5c3d\u4ecb\u7ecd\u4e86\u600e\u6837\u4f7f\u7528crash\u5de5\u5177\u5256\u6790\u5185\u6838\u5d29\u6e83\u5b58\u8d2e\u6587\u4ef6\uff0c\u5305\u62ec\u5404\u7c7b\u5e38\u7528\u8c03\u8bd5\u547d\u4ee4<\/a>\u7684\u4f7f\u7528\u65b9\u5f0f\uff0c\u6700\u540e\u4ee5\u51e0\u4e2a\u5b9e\u9645\u5de5\u4f5c\u4e2d\u9047\u89c1\u7684\u771f\u5b9e\u6848\u4f8b\u5411\u8bfb\u8005\u5c55\u793a\u4e86crash\u7684\u5f3a\u608d\u529f\u80fd\u3002\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u65e2\u6709\u8be6\u5c3d\u7684\u5de5\u5177\u4f7f\u7528\u65b9\u5f0f\uff0c\u53c8\u6709\u4e30\u5bcc\u7684\u5b9e\u9645\u6848\u4f8b\u5256\u6790\uff0c\u76f8\u4fe1\u60a8\u8bfb\u8fc7\u4e4b\u540e\u5b9a\u4f1a\u83b7\u76ca\u9887\u4e30\u3002<\/p>\n

\u54ea\u4e9b\u662fcrash<\/p>\n

\u5982\u524d\u6587\u6240\u8ff0\uff0c\u5f53linux\u7cfb\u7edf\u5185\u6838\u53d1\u751f\u5d29\u6e83\u7684\u65f6\u4faf\uff0c\u53ef\u4ee5\u901a\u8fc7kdump\u7b49\u65b9\u6cd5\u641c\u96c6\u5185\u6838\u5d29\u6e83\u4e4b\u524d\u7684\u663e\u5b58linux \u5185\u6838\u6587\u4ef6\u5168\u5206\u6790<\/strong>\uff0c\u751f\u6210\u4e00\u4e2a\u5b58\u8d2e\u6587\u4ef6vmcore\u3002\u5185\u6838\u5f00\u53d1\u8005\u901a\u8fc7\u5256\u6790\u8be5vmcore\u6587\u4ef6\u5c31\u53ef\u4ee5\u786e\u8bca\u51fa\u5185\u6838\u5d29\u6e83\u7684\u7f18\u7531\uff0c\u8fdb\u800c\u8fdb\u884c\u64cd\u4f5c\u7cfb\u7edf\u7684\u4ee3\u7801\u6539\u8fdb\u3002\u8fd9\u4e48crash\u5c31\u662f\u4e00\u4e2a\u88ab\u5e7f\u6cdb\u4f7f\u7528\u7684\u5185\u6838\u5d29\u6e83\u5b58\u8d2e\u6587\u4ef6\u5256\u6790\u5de5\u5177\uff0c\u628a\u63e1crash\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u5bf9\u4e8e\u5b9a\u4f4d\u95ee\u9898\u6709\u7740\u975e\u5e38\u91cd\u8981\u7684\u4f5c\u7528\u3002<\/p>\n

\u4f7f\u7528crash\u7684\u5148\u51b3\u6761\u4ef6<\/p>\n

\u56e0\u4e3acrash\u7528\u4e8e\u8c03\u8bd5\u5185\u6838\u5d29\u6e83\u7684\u5b58\u8d2e\u6587\u4ef6\uff0c\u56e0\u800c\u4f7f\u7528crash\u987b\u8981\u4f9d\u8d56\u5982\u4e0b\u6761\u4ef6\uff1a<\/p>\n

1.kernel\u6620\u50cf\u6587\u4ef6vmlinux\u5728\u7f16\u8bd1\u7684\u65f6\u4faf\u5fc5\u987b\u6307\u5b9a\u4e86-g\u53c2\u6570\uff0c\uff0c\u5373\u5e26\u6709\u8c03\u8bd5\u4fe1\u606f\u3002<\/p>\n

linux-1213\u5185\u6838\u7f51\u7edc\u6808\u5b9e\u73b0\u6e90\u4ee3\u7801\u5206\u6790_linux \u5185\u6838\u6587\u4ef6\u5168\u5206\u6790_linux\u5185\u6838\u6e90\u4ee3\u7801\u5206\u6790 pdf<\/p>\n

2.\u987b\u8981\u6709\u4e00\u4e2a\u663e\u5b58\u5d29\u6e83\u5b58\u8d2e\u6587\u4ef6\uff08\u6bd4\u5982vmcore\uff09\uff0c\u6216\u5219\u53ef\u4ee5\u901a\u8fc7\/dev\/mem\u6216\/dev\/crash\u8bbf\u95ee\u7684\u5b9e\u65f6\u7cfb\u7edf\u663e\u5b58\u3002\u5047\u5982crash\u547d\u4ee4\u884c\u6ca1\u6709\u6307\u5b9a\u5b58\u8d2e\u6587\u4ef6\uff0c\u5219crash\u9ed8\u8ba4\u4f7f\u7528\u5b9e\u65f6\u7cfb\u7edf\u663e\u5b58\uff0c\u8fd9\u65f6\u987b\u8981root\u6743\u9650\u3002<\/p>\n

3.crash\u652f\u6301\u7684\u5e73\u53f0\u5904\u7406\u5668\u5305\u62ec\uff1ax86,x86_64,ia64,ppc64,arm,s390,s390x(\u4e5f\u6709\u90e8\u4efdcrash\u7248\u672c\u652f\u6301Alpha\u548c32-bitPowerPC\uff0c\u7136\u800c\u5bf9\u4e8e\u8fd9\u4e24\u79cd\u5e73\u53f0\u7684\u652f\u6301\u4e0d\u4fdd\u8bc1\u5e38\u5e74\u7ef4\u62a4)\u3002<\/p>\n

4.crash\u652f\u63012.2.5-15\uff08\u542b\uff09\u4e4b\u540e\u7684Linux<\/a>\u5185\u6838\u7248\u672c\u3002\u968f\u7740Linux\u5185\u6838\u7684\u66f4\u65b0\uff0ccrash\u4e5f\u5728\u4e0d\u65ad\u5347\u7ea7\u4ee5\u9002\u5e94\u65b0\u7684\u5185\u6838\u3002<\/p>\n

crash\u5b89\u88c5\u624b\u518c<\/p>\n

\u8981\u60f3\u4f7f\u7528crash\u8c03\u8bd5\u5185\u6838\u5b58\u8d2e\u6587\u4ef6\uff0c\u987b\u8981\u5b89\u88c5crash\u5de5\u5177\u548c\u5185\u6838\u8c03\u8bd5\u4fe1\u606f\u5305\u3002\u4e0d\u540c\u7684\u53d1\u884c\u7248\u5b89\u88c5\u5305\u540d\u79f0\u7565\u6709\u5dee\u522blinux\u5b66\u4e60\uff0c\u8fd9\u513f\u4ec5\u5217\u4e3eRHEL\u548cSLES\u53d1\u884c\u7248\u5bf9\u5e94\u7684\u5b89\u88c5\u5305\u540d\u79f0\u5982\u4e0b\uff1a<\/p>\n

\u88681.crash\u5de5\u5177\u548c\u5185\u6838\u8c03\u8bd5\u5305<\/p>\n

\u7cfb\u7edf\u7248\u672ccrash\u5de5\u5177\u540d\u79f0\u5185\u6838\u8c03\u8bd5\u4fe1\u606f\u5305<\/p>\n

RHEL6.2crashkernel-debuginfo-common<\/p>\n

kernel-debuginfo<\/p>\n

SLES11SP2crashkernel-default-debuginfo<\/p>\n

kernel-ppc64-debuginfo<\/p>\n

\u4ee5RHEL\u4e3a\u4f8b\uff0c\u5b89\u88c5crash\u53ca\u5185\u6838\u8c03\u8bd5\u4fe1\u606f\u5305\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n

rpm-ivhcrash-5.1.8-1.el6.ppc64.rpm<\/p>\n

rpm-ivhkernel-debuginfo-common-ppc64-2.6.32-220.el6.ppc64.rpm<\/p>\n

rpm-ivhkernel-debuginfo-2.6.32-220.el6.ppc64.rpm<\/p>\n

linux-1213\u5185\u6838\u7f51\u7edc\u6808\u5b9e\u73b0\u6e90\u4ee3\u7801\u5206\u6790_linux \u5185\u6838\u6587\u4ef6\u5168\u5206\u6790_linux\u5185\u6838\u6e90\u4ee3\u7801\u5206\u6790 pdf<\/p>\n

\u542f\u52a8crash<\/p>\n

\u542f\u52a8\u53c2\u6570\u8bf4\u660e<\/p>\n

\u4f7f\u7528crash\u8c03\u8bd5\u5b58\u8d2e\u6587\u4ef6\uff0c\u987b\u8981\u5728\u547d\u4ee4\u884c\u8f93\u5165\u4e24\u4e2a\u53c2\u6570\uff1adebugkernel\u548cdumpfile\uff0c\u5176\u4e2ddumpfile\u662f\u5185\u6838\u5b58\u8d2e\u6587\u4ef6\u7684\u540d\u79f0\u514d\u8d39linux\u4e3b\u673a\uff0cdebugkernel\u662f\u7531\u5185\u6838\u8c03\u8bd5\u4fe1\u606f\u5305\u5b89\u88c5\u7684\uff0c\u4e0d\u540c\u7684\u53d1\u884c\u7248\u540d\u79f0\u7565\u6709\u4e0d\u540c\uff0c\u4ee5RHEL\u548cSLES\u4e3a\u4f8b\uff1a<\/p>\n

RHEL6.2\uff1a\/usr\/lib\/debug\/lib\/modules\/2.6.32-220.el6.ppc64\/vmlinux<\/p>\n

SLES11SP2\uff1a\/usr\/lib\/debug\/boot\/vmlinux-3.0.13-0.27-ppc64.debug<\/p>\n

linux-1213\u5185\u6838\u7f51\u7edc\u6808\u5b9e\u73b0\u6e90\u4ee3\u7801\u5206\u6790_linux\u5185\u6838\u6e90\u4ee3\u7801\u5206\u6790 pdf_linux \u5185\u6838\u6587\u4ef6\u5168\u5206\u6790<\/p>\n

\u4f7f\u7528crash-h\u6216mancrash\u53ef\u4ee5\u67e5\u770bcrash\u652f\u6301\u7684\u4e00\u7cfb\u5217\u9009\u9879linux \u5185\u6838\u6587\u4ef6\u5168\u5206\u6790<\/strong>\uff0c\u8fd9\u513f\u4ec5\u4ee5\u5e38\u7528\u7684\u9009\u9879\u4e3a\u4f8b\u8bf4\u660e\u5982\u4e0b\uff1a<\/p>\n

-h\uff1a\u590d\u5370\u5e2e\u52a9\u4fe1\u606f<\/p>\n

-d\uff1a\u8bbe\u7f6e\u8c03\u8bd5\u7ea7\u522b<\/p>\n

-S\uff1a\u4f7f\u7528\/boot\/System.map\u4f5c\u4e3a\u9ed8\u8ba4\u7684\u6620\u5c04\u6587\u4ef6<\/p>\n

-s\uff1a\u4e0d\u663e\u793a\u7248\u672c\u3001\u521d\u59cb\u8c03\u8bd5\u4fe1\u606f\u7b49\uff0c\u76f4\u63a5\u6b65\u5165\u547d\u4ee4\u884c<\/p>\n

-ifile\uff1a\u542f\u52a8\u7136\u540e\u624b\u52a8\u8fd0\u884cfile\u4e2d\u7684\u547d\u4ee4\uff0c\u518d\u63a5\u53d7\u7528\u6237\u8f93\u5165<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5185\u6838\u5f00\u53d1\u8005\u901a\u8fc7\u5206\u6790\u6587\u4ef6\u5c31\u53ef\u4ee5\u8bca\u65ad\u51fa\u5185\u6838\u5d29\u6e83\u7684\u539f\u56e0\uff0c\u4ece\u800c\u8fdb\u884c\u64cd\u4f5c\u7cfb\u7edf\u7684\u4ee3\u7801\u6539\u8fdb\u3002\u53c2\u6570\uff0c\uff0c\u5373\u5e26\u6709\u8c03\u8bd5\u4fe1\u606f\u3002\u8bbf\u95ee\u7684\u5b9e\u65f6\u7cfb\u7edf\u5185\u5b58\u3002\u5de5\u5177\u548c\u5185\u6838\u8c03\u8bd5\u4fe1\u606f\u5305\u3002\u5de5\u5177\u548c\u5185\u6838\u8c03\u8bd5\u5305\u5de5\u5177\u540d\u79f0\u5185\u6838\u8c03\u8bd5\u4fe1\u606f\u5305\u53ca\u5185\u6838\u8c03\u8bd5\u4fe1\u606f\u5305\u7684\u6b65\u9aa4\u5982\u4e0b\uff1aSLES11SP2\uff1a\/usr\/lib\/debug\/boot\/vmlinux-3.\u4f5c\u4e3a\u9ed8\u8ba4\u7684\u6620\u5c04\u6587\u4ef6-s\uff1a\u4e0d\u663e\u793a\u7248\u672c\u3001\u521d\u59cb\u8c03\u8bd5\u4fe1\u606f\u7b49\uff0c\u76f4\u63a5\u8fdb\u5165\u547d\u4ee4\u884c\u4e2d\u7684\u547d\u4ee4\uff0c\u518d\u63a5\u53d7\u7528\u6237\u8f93\u5165<\/p>\n","protected":false},"author":1,"featured_media":269399,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-269398","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/269398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=269398"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/269398\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/269399"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=269398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=269398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=269398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}