doczkal / rpms / abrt

Forked from rpms/abrt 4 years ago
Clone

Blame SOURCES/0036-never-search-for-MCE-strings-in-dmesg.patch

a60cd7
From 6d22940abaeed562e3415fbad905243817a62c21 Mon Sep 17 00:00:00 2001
a60cd7
From: Jakub Filak <jfilak@redhat.com>
a60cd7
Date: Wed, 12 Feb 2014 17:51:40 +0100
a60cd7
Subject: [ABRT PATCH 36/36] never search for MCE strings in dmesg
a60cd7
a60cd7
'dmesg' element contains complete output of dmesg, therefore once kernel
a60cd7
log MCE all consecutive oopses has the MCE messages in 'dmesg' element.
a60cd7
a60cd7
'backtrace' element contains either oops's backtrace or the MCE message
a60cd7
whose scope is limited to a single oops.
a60cd7
a60cd7
Closes rhbz#1064458
a60cd7
a60cd7
Signed-off-by: Jakub Filak <jfilak@redhat.com>
a60cd7
---
a60cd7
 src/plugins/abrt-action-check-oops-for-hw-error.in | 2 +-
a60cd7
 1 file changed, 1 insertion(+), 1 deletion(-)
a60cd7
a60cd7
diff --git a/src/plugins/abrt-action-check-oops-for-hw-error.in b/src/plugins/abrt-action-check-oops-for-hw-error.in
a60cd7
index 2333fa1..d74f89d 100644
a60cd7
--- a/src/plugins/abrt-action-check-oops-for-hw-error.in
a60cd7
+++ b/src/plugins/abrt-action-check-oops-for-hw-error.in
a60cd7
@@ -70,7 +70,7 @@ if __name__ == "__main__":
a60cd7
     #
a60cd7
 
a60cd7
     # See if MCEs were seen
a60cd7
-    oops_mce = file_has_string("dmesg", "Machine check events logged");
a60cd7
+    oops_mce = file_has_string("backtrace", "Machine check events logged");
a60cd7
     vmcore_mce = file_has_string("backtrace", "Machine Check Exception:");
a60cd7
     if not oops_mce and not vmcore_mce:
a60cd7
         sys.exit(0)
a60cd7
-- 
a60cd7
1.8.3.1
a60cd7