Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Linux doesn't create /proc/vmcore

119 views
Skip to first unread message

matt stuart

unread,
May 19, 2013, 6:20:02 AM5/19/13
to
Why doesn't linux create /proc/vmcore while kernel conf marked as does?

my running kernel configuration:
CONFIG_DEBUG_INFO=y
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_PROC_VMCORE=y

my error on the kdump:
kdump-config savecore
running makedumpfile -c -d 31 /proc/vmcore
/var/crash/201305180259/dump-incomplete.
open_dump_memory: Can't open the dump memory(/proc/vmcore). No such
file or directory

makedumpfile Failed.
kdump-config: makedumpfile failed, falling back to 'cp' ... failed!
cp: cannot stat `/proc/vmcore': No such file or directory
kdump-config: failed to save vmcore in /var/crash/201305180259 ... failed!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Atsushi Kumagai

unread,
May 20, 2013, 8:40:02 PM5/20/13
to
Hello matt,

> CONFIG_PROC_VMCORE=y

Is it specified for the capture kernel ?
By any chance, did you run kdump-config on the system kernel,
not on the capture kernel ?

> DESCRIPTION
> kdump-config manages the kdump feature of the Linux kernel. When a
> kdump enabled kernel panics, it immediately boots into a clean kernel
> called the kdump kernel. The memory image of the panicked kernel will
> be presented in /proc/vmcore while the kdump kernel (or "capture
> kernel") is running.

/proc/vmcore doesn't be created on the system kernel, this tool should be
run on the capture kernel.

And this document may help you:

Documentation/kdump/kdump.txt


Thanks
Atsushi Kumagai
0 new messages