log_check / kernel_tainted test from ubuntu_boot failed on Intel Cloud node grumman (failed with flag 2048)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
Xenial |
Confirmed
|
Undecided
|
Unassigned | ||
Bionic |
Confirmed
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned | ||
Groovy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Issue found on node grumman, this is not a regression.
The kernel_tainted check reports a non-zero flag 2048, this means "workaround for bug in platform firmware applied"
log_check reports WARNINGs found in the dmesg:
10. 01/06 09:46:51 INFO |ubuntu_boo:0030| kernel: [ 7.852005] WARNING: CPU: 0 PID: 179 at /build/
11. 01/06 09:46:51 INFO |ubuntu_boo:0030| kernel: [ 5.387292] WARNING: CPU: 0 PID: 181 at /build/
12. 01/06 09:46:51 INFO |ubuntu_boo:0030| kernel: [ 6.039705] WARNING: CPU: 0 PID: 4 at /build/
tags: | added: 4.4 ubuntu-boot xenial |
tags: | added: sru-20210104 |
tags: | added: sru-20210125 |
tags: | added: 5.4 focal sru-20210222 |
tags: | removed: 5.8 hwe-5.8 |
tags: | added: bionic hwe-5.4 |
tags: | added: sru-20210315 |
tags: | added: sru-20211129 |
In Xenial source code, the warning was triggered here in ioat_dca_init() of drivers/ dma/ioat/ dca.c:
if (dca3_tag_ map_invalid( ioatdca- >tag_map) ) {
WARN_ TAINT_ONCE( 1, TAINT_FIRMWARE_ WORKAROUND,
"%s %s: APICID_TAG_MAP set incorrectly by BIOS, disabling DCA\n",
dev_ driver_ string( &pdev-> dev),
dev_ name(&pdev- >dev));
free_ dca_provider( dca);
return NULL;
}
This is the WARNING in log_check, I think it generates the tainted flag as well.
The code was later replaced by: https:/ /github. com/torvalds/ linux/commit/ 036e9ef8becde73 6e693be4f4bef56 d5b56fc298# diff-a6ce63e9c9 f1a0aac9223c055 a717e8fd34d3a47 93a3166e4a9bb3b 6d1c54c9f