Bug 694828

Summary: ABRT2: Investigate oops fishing from kdump
Product: [Fedora] Fedora Reporter: Denys Vlasenko <dvlasenk>
Component: abrtAssignee: Denys Vlasenko <dvlasenk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anton, dvlasenk, iprikryl, jmoskovc, kklic, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: abrt-2.0.4.981-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-03 18:02:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 703467    
Bug Blocks:    

Description Denys Vlasenko 2011-04-08 14:31:57 UTC
Needed for oops reporting on machines which are configured to immediately kexec+kdum on oops.

Comment 1 Denys Vlasenko 2011-04-11 17:54:27 UTC
Setting up for kdump:

yum install --enablerepo=rhel-debuginfo crash kernel-debuginfo kexec-tools

add "crashkernel=128M" to kernel command line
(say, via system-config-kdump -> "Apply"). Reboot.

Crash the machine:
service kdump status || exit $?
sync
echo 1 >/proc/sys/kernel/sysrq
echo c >/proc/sysrq-trigger

Observe new file /var/crash/127.0.0.1-2010-08-25-08:45:02/vmcore

Run
crash /var/crash/$DT/vmcore /usr/lib/debug/lib/modules/$VER/vmlinux
and run "log" command

Comment 2 Denys Vlasenko 2011-07-15 14:08:01 UTC
Corresponding ticket:

https://engineering.redhat.com/trac/abrt/ticket/9

Comment 3 Denys Vlasenko 2011-07-26 17:35:18 UTC
With crash-5.1.7-1, $VER can be determined from the vmcore:

VER=`crash --osrelease vmcore`

yum install --enablerepo=*debuginfo* /usr/lib/debug/lib/modules/$VER/vmlinux
or
yum install --enablerepo=*debuginfo* kernel-debuginfo-$VER

then

echo "log" | crash -s vmcore /usr/lib/debug/lib/modules/$VER/vmlinux

Comment 4 Denys Vlasenko 2011-08-10 14:47:00 UTC
Fixed in git:

commit 818c0eabb5e296f923562e1e40f7229cd39c5078
Author: Denys Vlasenko <dvlasenk>
Date:   Wed Aug 10 16:05:06 2011 +0200

    abrt-harvest-vmcore: generate uuid

Comment 5 Fedora Update System 2011-09-23 20:03:45 UTC
abrt-2.0.4.981-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/abrt-2.0.4.981-1.fc16

Comment 6 Fedora Update System 2011-09-24 20:46:55 UTC
Package abrt-2.0.4.981-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-2.0.4.981-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/abrt-2.0.4.981-1.fc16
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2011-10-03 17:59:37 UTC
abrt-2.0.4.981-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.