-
Notifications
You must be signed in to change notification settings - Fork 140
Description
Describe the bug
when remove modules , it may cause over 1 min to remove module snd_sof_pci_intel_tgl , thus leading to testcase TIMEOUT or failure . Sometimes the DUT even gets hang.
Check-sof-logger testcase is also affected by it (logs attached at the end)
For TGLU_RVP_HDA, this happened since 4882 , but in daily 4849 it is good
For ADLP_RVP_HDA and ADLP_RVP_SDW , this happened since 4883 , but in the last daily-ADL 4850 it is good
So this may happen around June 25
To Reproduce
sof-test/tools/kmod/sof_remove.sh
OR
sof-test/testcases/check-sof-logger.sh
Reproduction Rate
100%
environment
(this is the recipe of 4883and 4882)
Kernel Branch: topic/sof-dev
Kernel Commit: 5b851f4
SOF Branch: main
SOF Commit: 86c9a037e212
Platform
tglu-rvp-hda
adlp-rvp-hda
adlp-rvp-sdw
logs when running check-sof-logger.sh
[For ADLP-RVP-HDA and ADLP-RVP-SDW]
console
2021-06-25 21:31:23 UTC [REMOTE_COMMAND] sudo /usr/local/bin/sof-logger -t -f 3 -l /etc/sof/sof-adl.ldc -o /home/ubuntu/sof-test/logs/check-sof-logger/2021-06-26-05:31:13-14923/logger.data.txt 2> /home/ubuntu/sof-test/logs/check-sof-logger/2021-06-26-05:31:13-14923/logger.error.txt &
2021-06-25 21:31:25 UTC [REMOTE_INFO] Trying to get the etrace mailbox ...
2021-06-25 21:31:25 UTC [REMOTE_COMMAND] sudo /usr/local/bin/sof-logger -f 3 -l /etc/sof/sof-adl.ldc 2> /home/ubuntu/sof-test/logs/check-sof-logger/2021-06-26-05:31:13-14923/logger.etrace_stderr.txt -o /home/ubuntu/sof-test/logs/check-sof-logger/2021-06-26-05:31:13-14923/logger.etrace.txt
2021-06-25 21:31:25 UTC [REMOTE_ERROR] Reading (e)trace failed, run_loggers returned 2
2021-06-25 21:31:25 UTC [REMOTE_INFO] Log file logger.data.txt BEG::
cat: '/home/ubuntu/sof-test/logs/check-sof-logger/2021-06-26-05:31:13-14923/logger.data.txt': No such file or directory
2021-06-25 21:31:25 UTC [REMOTE_INFO] ::END log file logger.data.txt
2021-06-25 21:31:25 UTC [REMOTE_INFO] Log file logger.etrace.txt BEG::
cat: '/home/ubuntu/sof-test/logs/check-sof-logger/2021-06-26-05:31:13-14923/logger.etrace.txt': No such file or directory
2021-06-25 21:31:25 UTC [REMOTE_INFO] ::END log file logger.etrace.txt
2021-06-25 21:31:25 UTC [REMOTE_INFO] Log file logger.error.txt BEG::
error: Unable to open version file /sys/kernel/debug/sof/fw_version: No such file or directory
2021-06-25 21:31:25 UTC [REMOTE_INFO] ::END log file logger.error.txt
2021-06-25 21:31:25 UTC [REMOTE_INFO] Log file logger.etrace_stderr.txt BEG::
error: Unable to open version file /sys/kernel/debug/sof/fw_version: No such file or directory
2021-06-25 21:31:25 UTC [REMOTE_INFO] ::END log file logger.etrace_stderr.txt
2021-06-25 21:31:25 UTC [REMOTE_ERROR] Reading (e)trace failed, run_loggers returned 2
logger.error
error: Unable to open version file /sys/kernel/debug/sof/fw_version: No such file or directory
[for TGLU_RVP_HDA‘]
RMMOD snd_usb_audio
SKIP snd_hda_intel not loaded
SKIP snd_sof_pci_intel_tng not loaded
SKIP snd_sof_pci_intel_apl not loaded
SKIP snd_sof_pci_intel_cnl not loaded
SKIP snd_sof_pci_intel_icl not loaded
RMMOD snd_sof_pci_intel_tgl
(and no log anymore )