Bug 826058

Summary: Include full dmesg output for kernel bugs/warnings reports
Product: [Fedora] Fedora Reporter: Stanislaw Gruszka <sgruszka>
Component: abrtAssignee: Denys Vlasenko <dvlasenk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: abrt-devel-list, dvlasenk, iprikryl, jmoskovc, mmilata, mtoman, npajkovs, rvokal
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-25 23:04:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stanislaw Gruszka 2012-05-29 13:45:20 UTC
Description of problem:
ABRT gnerate bug reports include only backtrace (which is marked by --- [cut off] --- lines) from dmesg. But this is ususally not enaugh information to found reason of the problem. Plese change ABRT to provide full dmesg output by default for kernel bugs.

Comment 1 Jiri Moskovcak 2012-05-31 09:02:18 UTC
commit 3dc83ee5c0987c9826426b8ebdbb455a5b3e9146
Author: Denys Vlasenko <vda.linux>
Date:   Wed May 30 16:28:25 2012 +0200

    In oops post-create, add saving of the entire dmesg
    
    Signed-off-by: Denys Vlasenko <vda.linux>

Comment 2 Fedora Update System 2012-08-03 10:27:03 UTC
abrt-2.0.11-1.fc17,libreport-2.0.11-1.fc17,btparser-0.18-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/abrt-2.0.11-1.fc17,libreport-2.0.11-1.fc17,btparser-0.18-2.fc17

Comment 3 Fedora Update System 2012-08-05 21:34:04 UTC
Package abrt-2.0.11-1.fc17, btparser-0.18-2.fc17, libreport-2.0.12-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.11-1.fc17 btparser-0.18-2.fc17 libreport-2.0.12-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-11529/abrt-2.0.11-1.fc17,libreport-2.0.12-1.fc17,btparser-0.18-2.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-08-09 23:09:22 UTC
Package libreport-2.0.12-2.fc17, abrt-2.0.11-1.fc17, btparser-0.18-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libreport-2.0.12-2.fc17 abrt-2.0.11-1.fc17 btparser-0.18-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-11529/abrt-2.0.11-1.fc17,libreport-2.0.12-2.fc17,btparser-0.18-2.fc17
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-08-23 23:27:50 UTC
Package abrt-2.0.12-1.fc17, libreport-2.0.13-1.fc17, btparser-0.18-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.12-1.fc17 libreport-2.0.13-1.fc17 btparser-0.18-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-11529/abrt-2.0.12-1.fc17,libreport-2.0.13-1.fc17,btparser-0.18-2.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-08-30 00:56:41 UTC
abrt-2.0.12-1.fc17, libreport-2.0.13-2.fc17, btparser-0.18-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Stanislaw Gruszka 2012-10-15 15:14:26 UTC
Is this working ?

Look for example at currently generated abrt bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=866015

There is no dmesg attached ...

Comment 8 Stanislaw Gruszka 2012-12-04 16:04:12 UTC
It does not work, at least it does not work by default. 

On current updated fedora 17 (abrt-2.0.18-1.fc17.x86_64) I triggered a kernel warning by doing as root:

modprobe brcmfmac
rmmod brcmfmac

as result abrt generate bug 883442 .

Dmesg was marked to be included by default , but it didn't found it way to bugzilla (it was stored .cache/abrt/spool/oops-DATE directory though).

Please modify abrt to attach dmesg by default to kernel bug reports.

Comment 9 Jiri Moskovcak 2012-12-05 07:31:52 UTC
needs to be added to abrt oops report template

Comment 10 Denys Vlasenko 2013-01-03 16:05:14 UTC
Fixed in git:

commit 8cd865eb9c2287a54304ae8883800b58c389b6d1
Author: Denys Vlasenko <vda.linux>
Date:   Thu Jan 3 17:04:10 2013 +0100

    bugzilla_format_kernel.conf: Attach dmesg element

Comment 11 Fedora Update System 2013-02-05 13:37:27 UTC
abrt-2.1.0-1.fc17,libreport-2.1.0-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/abrt-2.1.0-1.fc17,libreport-2.1.0-2.fc17

Comment 12 Fedora Update System 2013-02-05 13:41:36 UTC
abrt-2.1.0-1.fc18,libreport-2.1.0-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/abrt-2.1.0-1.fc18,libreport-2.1.0-2.fc18

Comment 13 Fedora Update System 2013-02-08 02:19:08 UTC
Package abrt-2.1.0-1.fc17, libreport-2.1.0-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-2.1.0-1.fc17 libreport-2.1.0-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-2065/abrt-2.1.0-1.fc17,libreport-2.1.0-2.fc17
then log in and leave karma (feedback).

Comment 14 Stanislaw Gruszka 2013-02-08 13:48:46 UTC
I'm not able to test that, seems abrt stop reporting kernel warnings at all. 

Two times, I removed abrt packages and config files, then install abrt-desktop again. Steps to reproduce like in comment 8. Abrt showed question "The report which will be send ... Do you want to enable submitted anonymous crash reports?" First time I press Yes, second time No. In both cases nothing else happened.

Comment 15 Jiri Moskovcak 2013-02-11 07:45:38 UTC
(In reply to comment #14)
> I'm not able to test that, seems abrt stop reporting kernel warnings at all. 
> 
> Two times, I removed abrt packages and config files, then install
> abrt-desktop again. Steps to reproduce like in comment 8. Abrt showed
> question "The report which will be send ... Do you want to enable submitted
> anonymous crash reports?" First time I press Yes, second time No. In both
> cases nothing else happened.

- In both cases it probably found a duplicate on ABRT server which happnes before it tries to report to bugzilla and in that case nothing is reported back to users. You can try to run abrt-gui and report it from there, it should allow you to report to bugzilla even if it's already reported on abrt server.

Comment 16 Fedora Update System 2013-02-11 08:40:14 UTC
abrt-2.1.1-1.fc18, libreport-2.1.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2013-2111/abrt-2.1.1-1.fc18,libreport-2.1.1-1.fc18

Comment 17 Stanislaw Gruszka 2013-02-11 11:19:14 UTC
Abrt-gui works as expected, it reported bug with dmesg included (bug 909872). Thanks!

Comment 18 Fedora Update System 2013-03-20 08:41:08 UTC
abrt-2.1.2-1.fc17,libreport-2.1.2-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/abrt-2.1.2-1.fc17,libreport-2.1.2-1.fc17

Comment 19 Fedora Update System 2013-03-20 08:56:11 UTC
abrt-2.1.2-1.fc18,libreport-2.1.2-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/abrt-2.1.2-1.fc18,libreport-2.1.2-1.fc18

Comment 20 Fedora Update System 2013-03-25 23:04:13 UTC
abrt-2.1.2-2.fc18, libreport-2.1.2-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 21 Fedora Update System 2013-03-27 00:38:37 UTC
abrt-2.1.2-2.fc17, libreport-2.1.2-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.