Bug 215545 - The kdump finishes properly but the vmcore is not complete.
The kdump finishes properly but the vmcore is not complete.
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kexec-tools (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Neil Horman
Depends On:
  Show dependency treegraph
Reported: 2006-11-14 11:30 EST by Akira Imamura
Modified: 2010-10-22 02:56 EDT (History)
3 users (show)

See Also:
Fixed In Version: 5.0.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-13 12:27:54 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
This patch is based on -131.el5 and can fix this problem. (813 bytes, patch)
2006-11-14 11:30 EST, Akira Imamura
no flags Details | Diff

  None (edit)
Description Akira Imamura 2006-11-14 11:30:31 EST
Description of problem:
The kdump seems to complete properly but the vmcore created by kdump
is incomplete (the file name is vmcore-incomplete). I think the cause of
this problem is that file caches won't be written to the disk before kdump
reboots system. The kdump can create the vmcore completely by running
"umount" before running "reboot".

Version-Release number of selected component (if applicable):

How reproducible:
This problem occurs easier in the case that the reserved
memory for 2nd kernel is larger.

Steps to Reproduce:
1. Run "service kdump start".
2. Make system panic.
3. See a created vmcore file after rebooting.
Actual results:
-r-------- 1 root root 15943680000 Nov 13 20:51 vmcore-incomplete

Expected results:
-r--------    1 root     0       16341865252 Nov 13 20:51 vmcore

Additional info:
Comment 1 Akira Imamura 2006-11-14 11:30:32 EST
Created attachment 141162 [details]
This patch is based on -131.el5 and can fix this problem.
Comment 2 Neil Horman 2006-11-14 11:55:17 EST
you're patch is wrong, you still need that unmount in case something goes wrong
during the copy.  you don't want to leave a filesystem mounted if you switchroot
to the rootfs to run init.

I'll fix this and the nfs case shortly.
Comment 3 Neil Horman 2006-11-14 12:31:20 EST
fixed in -132.el5. thanks
Comment 6 Jay Turner 2007-02-13 12:27:21 EST
Closing out.

Note You need to log in before you can comment on or make changes to this bug.