Bug 716383

Summary: Kdump don't work with USB storage devices
Product: Red Hat Enterprise Linux 5 Reporter: Chao Ye <cye>
Component: kexec-toolsAssignee: Cong Wang <amwang>
Status: CLOSED CURRENTRELEASE QA Contact: Kernel Dump QE <kernel-dump-qe>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.7CC: amwang, chyang, czhang, gbai, phan, qcai, rkhan, xuwang
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-04 10:29:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Chao Ye 2011-06-24 09:18:11 UTC
Description of problem:
When use usb storage devices as dump target, the second kernel failed to find use storage device. This cause kdump failed to dump vmcore to usb storage devices.
If config kdump as:

ext3 /dev/sdb1

Second kernel failed to mount /dev/sdb1.

If config kdump as:

raw /dev/sdb

Second kernel will just dump vmcore to /dev/sdb, even this /dev/sdb does not exist.

Version-Release number of selected component (if applicable):
Latest RHEL5.7 tree
kernel-2.6.18-270.el5
kexec-tools-1.102pre-132.el5

How reproducible:
100%

Steps to Reproduce:
1.Config usb storage device  as dump target
2.Trigger crash via sysrq-c
3.
  
Actual results:
Kdump failed

Expected results:
vmcore saved

Additional info:
Also tested RHEL5-U6-Server, don't works too.

Comment 1 Cong Wang 2011-06-27 07:45:46 UTC
Dup of Bug 716338?

Comment 2 Chao Ye 2011-06-27 09:18:50 UTC
(In reply to comment #1)
> Dup of Bug 716338?
No, I think. Second kernel failed to find USB storage device, this caused kdump failed.

Comment 4 Cong Wang 2012-07-02 02:50:28 UTC
Yeah, please provide the console log of the second kernel if you can reproduce it. I don't have a RHEL5 machine with a USB disk plugged. Or, if you can find such a machine from beaker, it is definitely nicer to loan it to me to investigate this.

Thanks!

Comment 5 Xu Wang 2012-07-04 10:01:39 UTC
I have verified it with raw and ext3 format of USB device. The system could be dumped to the USB device successfully and vmcore file could be found after reboot. Hence, this bug could be cancelled.