我的系统崩溃了,尽管我在查看通常的日志后无法知道导致崩溃的原因:消息、dmesg、安全等。我在它们上没有看到任何有价值的内容,所以我决定遵循教程如何运行崩溃应用程序以查看可能发生的情况。
每次我运行它时:
$ sudo crash System.map-3.10.0-123.el7 vmlinuz-3.10.0-123.el7 vmcore
我收到以下错误: crash: vmlinuz-3.10.0-123.el7: not a supported file format
这是输出:
crash 7.0.9-5.el7_1
Copyright (C) 2002-2014 Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010 IBM Corporation
Copyright (C) 1999-2006 Hewlett-Packard Co
Copyright (C) 2005, 2006, 2011, 2012 Fujitsu Limited
Copyright (C) 2006, 2007 VA Linux Systems Japan K.K.
Copyright (C) 2005, 2011 NEC Corporation
Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, Inc.
This program is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. Enter "help copying" to see the conditions.
This program has absolutely no warranty. Enter "help warranty" for details.
crash: vmlinuz-3.10.0-123.el7: not a supported file format
Usage:
crash [OPTION]... NAMELIST MEMORY-IMAGE[@ADDRESS] (dumpfile form)
crash [OPTION]... [NAMELIST] (live system form)
Enter "crash -h" for details.
我使用的是 CentOS 7。可能出了什么问题?另外,如果有任何关于如何获得有关崩溃的更好信息的想法,我们将不胜感激。
答案1
vmlinuz 格式是压缩的 AFAIK。这些步骤太长,无法在此处复制粘贴,因此我将提供一个链接。