Bug 426000 - diskdumpctl: failed to add $device
Summary: diskdumpctl: failed to add $device
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: diskdumputils
Version: 4.4
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Takao Indoh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-17 17:44 UTC by Reiner Rottmann
Modified: 2013-08-06 03:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-13 16:36:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Reiner Rottmann 2007-12-17 17:44:42 UTC
Description of problem:
diskdump was configured according /usr/share/doc/diskdumputils-1.4.1/README and
http://www.redhatmagazine.com/2007/08/15/a-quick-overview-of-linux-kernel-crash-dump-analysis/

Not so difficult after all :-) 
# cat /etc/sysconfig/diskdump | grep -v \#
DEVICE=/dev/sdc2

However "service diskdump start" fails:

# service diskdump start
Starting diskdump:                                         [FAILED]

Even with manual intervention:

# diskdumpctl /dev/sdc2
diskdumpctl: failed to add /dev/sdc2!

I have also tried:

# mkswap /dev/sdc2
# swapon /dev/sdc2
# service diskdump start

To verify if it works without formating it the first time.

I also tried various storage systems and devices with and without additional
partitions.

Version-Release number of selected component (if applicable):
# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)

# uname -a
Linux hostname 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64 x86_64
x86_64 GNU/Linux

# rpm -qa | grep diskdump
diskdumputils-1.4.1-2

But also tested with other RHEL versions without success (e. g. RHEL 4 U5 ->
same effect).

How reproducible:
Always and on more than 4 different machines/storage systems.

Steps to Reproduce:
1. configure /etc/sysconfig/diskdump (adding DEVICE=/dev/sdc2)
(2. service diskdump initialformat)
3. service diskdump start
  
Actual results:
Starting diskdump:                                         [FAILED]

Expected results:
Starting diskdump:                                         [  OK  ]

Additional info:
We need to configure diskdump urgently because we need core dumps to further
investigate another issue.

Comment 1 Takao Indoh 2011-09-13 16:36:19 UTC
I cannot reproduce this, so I close this bz. Please reopen if this problem is  reproduced.


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