Bug 1452160

Summary: abrt reporting kernel is tainted when it is not
Product: [Fedora] Fedora Reporter: Julius Milan <jmilan>
Component: abrtAssignee: Julius Milan <jmilan>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: high    
Version: 27CC: abrt-devel-list, aquini, chaithco, iprikryl, jakub, jberan, jmilan, maurizio.antillon, mhabrnal, michal.toman, mkutlak, mkyral, mmarusak, nobody, ovasik, phelia, qe-baseos-apps, sbeal, streeter, yundtj
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 2.10.3-1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1214730 Environment:
Last Closed: 2017-08-17 08:03:58 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:
Bug Depends On:    
Bug Blocks: 1214730, 1305230, 1420851    

Description Julius Milan 2017-05-18 12:58:16 UTC
+++ This bug was initially created as a clone of Bug #1214730 +++

Description of problem:

In abrt oops data, the kernel is reports as tainted, though this is a fresh 7.1 install with nothing else added.


dmesg:[ 7019.437238] CPU: 1 PID: 14620 Comm: kworker/u17:0 Not tainted 3.10.0-229.1.2.el7.x86_64 #1
not-reportable:A kernel problem occurred, but your kernel has been tainted (flags:GW). Kernel maintainers are unable to diagnose tainted reports.

$ cat kernel_tainted_long
Proprietary module has not been loaded.
Taint on warning.

$ cat kernel_tainted_short
GW

From the backtrace:

CPU: 1 PID: 14620 Comm: kworker/u17:0 Tainted: G        W   --------------   3.10.0-22
9.1.2.el7.x86_64 #1


Version-Release number of selected component (if applicable):

7.1 (3.10.0-229.1.2.el7.x86_64)


How reproducible:

- Unknown

Expected results:

- kernel not reported to be tainted if it is truly not.


--- Additional comment from Julius Milan on 2017-05-12 08:52:49 EDT ---

In opening message is written:
"In abrt oops data, the kernel is reports as tainted, though this is a fresh 7.1 install with nothing else added."

this is not in contradiction with content of not-reportable:
"A kernel problem occurred, but your kernel has been tainted (flags:GW). Kernel maintainers are unable to diagnose tainted reports."

That kernel is tainted, doesn't imply something had to be loaded into it, however I agree that this message can be confusing in this situation.

I propose to extend the not-reportable message to this form:

"
A kernel problem occurred, but your kernel has been tainted (flags:GW). Kernel maintainers are unable to diagnose tainted reports.
Kernel may become tainted for one of following reasons:
* The use of a proprietary (or non-GPL-compatible) kernel module.
* The use of staging drivers, which are part of the kernel source code but are not fully tested.
* The use of out-of-tree modules that are not included with the Linux kernel source code.
* Forcible loading or unloading of a kernel module (such as forcibly inserting a module not built for the current version of the kernel).
* The use of an SMP (multiprocessor) kernel on certain unsupported uniprocessor CPUs, primarily older AMD Athlon processors.
* Overriding of the ACPI DSDT, sometimes needed to correct for power-management bugs.
* Certain critical error conditions, such as machine check exceptions and kernel oopses.
* Certain serious bugs in the system firmware (BIOS, UEFI) which the kernel must work around.
"

Comment 1 Julius Milan 2017-05-18 13:21:34 UTC
https://github.com/abrt/abrt/pull/1245

Comment 2 Jan Kurik 2017-08-15 06:23:16 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.