Skip to content

Commit 4ada0c8

Browse files
committed
tools: sof-kernel-log-check: add some common error logs can be ignored
Add common error logs from systemd, initramfs, atkbd, i801_smbus, ata3, genirq, DMAR, dw_dmac, proc_thermal, SDWm, touch pad Those error level logs did not break functionality of the DUTs. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
1 parent b7f372f commit 4ada0c8

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

tools/sof-kernel-log-check.sh

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,66 @@ case "$platform" in
249249
;;
250250
esac
251251

252+
# below are new error level kernel logs from journalctl --priority=err
253+
# that did not influence system and can be ignored
254+
255+
# systemd issues can be ignored
256+
# seen on mutiple platforms
257+
# systemd[1]: Failed to mount Mount unit for core.
258+
# systemd[1]: Failed to mount Mount unit for gnome-calculator.
259+
# systemd[1]: Failed to mount Mount unit for [UNIT].
260+
ignore_str="$ignore_str"'|systemd\[.\]: Failed to mount Mount unit for'
261+
262+
# initramfs issues can be ignored
263+
ignore_str="$ignore_str"'|Initramfs unpacking failed'
264+
265+
# keyboard issues can be ignored
266+
ignore_str="$ignore_str"'|atkbd serio0: Failed to deactivate keyboard on isa0060/serio0'
267+
ignore_str="$ignore_str"'|atkbd serio0: Failed to enable keyboard on isa0060/serio0'
268+
269+
# smbus issues can be ignored
270+
ignore_str="$ignore_str"'|i801_smbus 0000:00:..\..: Transaction timeout'
271+
ignore_str="$ignore_str"'|i801_smbus 0000:00:..\..: Failed terminating the transaction'
272+
ignore_str="$ignore_str""|i801_smbus 0000:00:..\..: SMBus is busy, can't use it!"
273+
ignore_str="$ignore_str"'|i801_smbus 0000:00:..\..: Failed to allocate irq .: -16'
274+
275+
# SATA related issue can be ignored is it did not break device
276+
ignore_str="$ignore_str"'|ata3: COMRESET failed \(errno=-16\)'
277+
278+
# genirq issues can be ignored
279+
# origin logs seen on GLK platforms
280+
# genirq: Flags mismatch irq 0. 00000080 (i801_smbus) vs. 00015a00 (timer)
281+
ignore_str="$ignore_str"'|genirq: Flags mismatch irq .'
282+
283+
# DMAR warnings can be ignored
284+
# origin logs seen on BDW platforms
285+
# DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x00000000ad000000-0x00000000af7fffff], contact BIOS vendor for fixes
286+
ignore_str="$ignore_str"'|DMAR: \[Firmware Bug\]: No firmware reserved region can cover this RMRR .'
287+
288+
# dw_dmac logs can be ignored
289+
# origin logs seen on BDW/BYT/CHT platforms
290+
# dw_dmac INTL9C60:00: Missing DT data
291+
# dw_dmac INTL9C60:01: Missing DT data
292+
ignore_str="$ignore_str"'|dw_dmac INTL9C60:..: Missing DT data'
293+
294+
# proc_thermal logs can be ignored
295+
# origin logs seen on CHT platforms
296+
# proc_thermal 0000:00:0b.0: No auxiliary DTSs enabled
297+
ignore_str="$ignore_str"'|proc_thermal 0000:00:..\..: No auxiliary DTSs enabled'
298+
299+
# touch pad logs can be ignored
300+
# origin logs seen on GLK platforms
301+
# elan_i2c i2c-ELAN0000:00: invalid report id data (ff)
302+
ignore_str="$ignore_str"'|elan_i2c i2c-ELAN0000:.*: invalid report id data'
303+
304+
#
305+
# SDW related logs
306+
#
307+
308+
# origin logs seen on CML with RT700 platforms
309+
# rt700 sdw:1:25d:700:0: Bus clash detected
310+
ignore_str="$ignore_str"'|rt700 sdw:.:.*:700:.: Bus clash detected'
311+
252312
# confirm begin_timestamp is in UNIX timestamp format, otherwise search full log
253313
journalctlflag="-k -q --no-pager --utc --output=short-monotonic --no-hostname"
254314
[[ $begin_timestamp =~ ^[0-9]{10} ]] && cmd="journalctl $journalctlflag --since=@$begin_timestamp" || cmd="journalctl $journalctlflag"

0 commit comments

Comments
 (0)