Bug 10608 - [Test Case 1059] dmesg log shows various error on NUC with image corei7
Summary: [Test Case 1059] dmesg log shows various error on NUC with image corei7
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-intel-corei7-64 (show other bugs)
Version: 2.2
Hardware: NUC x86_64
: Medium normal
Target Milestone: 2.3 M1
Assignee: California Sullivan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-11-04 23:23 UTC by Juan Ramos
Modified: 2016-12-10 01:14 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
AUTO_NUC-corei7-64 (20.25 KB, application/octet-stream)
2016-11-04 23:23 UTC, Juan Ramos
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Ramos 2016-11-04 23:23:41 UTC
Created attachment 3526 [details]
AUTO_NUC-corei7-64

STATUS: IDLE
BUILD: meta-intel-6.0 : 6c9f6b5f70ab3ee194b2c2c6f3bd462c994848fa
ENVIRONMENT: corei7 on NUC
NUC6i5SYH
BIOS: SYSKLi35..86A.0054.2016.0930.1102
System Installed

STEPS TO REPRODUCE: 
  
 Parse dmesg log and all log files in /var/log for keywords like: "error" , "failed" , "cannot", "can't" etc.
Filter out the known and invalid errors or errors that appear in certain situations and need to be ignored.



EXPECTED OUTCOME: 
  
 No errors or fails should be present in logs


Actual results : 

Central error: [    2.889990] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8000C-23.ucode failed with error -2

Central error: [    0.714314] i915 0000:00:02.0: Direct firmware load for i915/skl_dmc_ver1_26.bin failed with error -2

Central error: [    3.069605] thermal thermal_zone3: failed to read out thermal zone (-5)

Central error: [    0.714317] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/intel-linux-graphics-firmwares], disabling runtime power management.
Comment 1 Jussi Kukkonen 2016-11-08 09:45:04 UTC
> iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8000C-23.ucode failed with error -2

Same here with current master build, it also tries to load -24.ucode. Neither of these firmwares have been released yet. The current (-22.ucode) firmware does get loaded and seems to work fine.

Spamming the log about not being able to load unreleased firmware seems a bit useless but that's what it does. 

This error could be whitelisted but we should then make sure that the missing firmware error is noticed: "iwlwifi 0000:01:00.0: no suitable firmware found!"

> i915 0000:00:02.0: Direct firmware load for i915/skl_dmc_ver1_26.bin failed with error -2
> Central error: [    0.714317] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/intel-linux-graphics-firmwares], disabling runtime power management.

This works fine on my NUC6i5SYH with master build: the firmware is found and works.
Comment 2 California Sullivan 2016-11-14 18:44:45 UTC
"Direct firmware load for iwlwifi" is because the kernel is asking for firmware that doesn't exist yet. This will have to wait for a kernel or linux-firmware update.

"Failed to load DMC firmware" is due to graphics firmware not being found with installed images. This is bug 9267.

"thermal thermal_zone3: failed to read out thermal zone (-5)" is one I am not aware of yet and could use some research.
Comment 3 California Sullivan 2016-12-10 01:14:32 UTC
There is ongoing work on the thermal driver. Between Linux 4.4 and Linux 4.8 we gained thermal_zone2 and thermal_zone3, but it appears that thermal_zone3 is not completely functional.

For now the thermal_zone error has been whitelisted. Even though it is indeed an error, we gained functionality compared to previous versions, and this is something out of my control (I am not a kernel developer!).

The iwlwifi "Direct firmware load" error has also been whitelisted as Jussi suggested.

That leaves the i915 firmware load error, which is handled by bug 9267.