Repository navigation
Description
Summary:
'ipc timed out for for '0x40010000: GLB_PM_MSG: CTX_SAVE' after stop aplay or system reboot.
To reproduce
Scenario A:Do system reboot stress test. Error occurred after system reboot.
Scenario B:Do aplay test several times. Error occurred after Stop aplay
Actual result
error: ipc timed out for 0x40010000: GLB_PM_MSG: CTX_SAVE
Reproduce rate: 1%
Test recipe
Rander UCM https://github.com/RanderWang/intel-UCM
Kernel repo:c99938c https://github.com/thesofproject/linux/tree/release/sof-v5.0
Firmware repo: 05d4e19 https://github.com/thesofproject/sof/commits/master |
Topology: https://github.com/thesofproject/sof/commits/master . Same as above SOF repo
file: tools/topology/sof-hda-generic.m4, sof-hda-generic-2ch.tplg
Dmesg log
[ 11.396879] sof-audio-pci 0000:00:1f.3: pcm: free stream 0 dir 0
[ 11.396881] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60030000: GLB_STREAM_MSG: PCM_FREE
[ 11.396975] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60030000: GLB_STREAM_MSG: PCM_FREE
[ 11.397001] sof-audio-pci 0000:00:1f.3: pcm: close stream 0 dir 0
[ 35.877875] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[ 35.877930] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
[ 35.912770] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40010000: GLB_PM_MSG: CTX_SAVE
[ 36.215604] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x40010000 size 76
[ 36.215633] sof-audio-pci 0000:00:1f.3: unknown ROM status value ffffffff
[ 36.215906] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0xffffffff trace 0xffffffff
[ 36.215912] sof-audio-pci 0000:00:1f.3: error: ctx_save ipc error during suspend -110
[ 36.215929] sof-audio-pci 0000:00:1f.3: can't suspend (snd_sof_runtime_suspend [snd_sof] returned -110)
dmesg_failed_129.log
logger_failed_129.log
logger-t_failed_129.log
Activity
jason77-wang commentedon May 9, 2019
I met a similar/ same issue last night. the reproduce rate is about 1/10.
please refer to: https://bugs.launchpad.net/somerville/+bug/1821270/comments/29
tlauda commentedon May 14, 2019
@ClarexZhou FW log is empty.
ClarexZhou commentedon May 14, 2019
@tlauda my mistake. update FW log in original error.
ClarexZhou commentedon May 17, 2019
Error occurred twice during 330 times system reboot stress test on CML latptop.
No error sof logger.
Environment
Kernel: linux-image-ipc_only.deb https://drive.google.com/drive/folders/16DI8IFPIGf-xjHw2n-5iVPwnkIyB-jpc?usp=sharing
Firmware repo: b73b9a6 https://github.com/thesofproject/sof/tree/debug-ipc-timeout
Topology: https://github.com/thesofproject/sof/tree/debug-ipc-timeout . Same as above SOF repo
file: tools/topology/sof-hda-generic.m4, sof-hda-generic-2ch.tplg
dmesg_failed_205.log
dmesg_failed_216.log
logger-t_failed_205.log
logger-t_failed_216.log
YvonneYang2 commentedon May 22, 2019
Error occurred once after one time reboot.
Environment
Firmware: 5fa2426 https://github.com/thesofproject/sof/tree/master
Kernel: b58f448 https://github.com/thesofproject/linux/tree/release/sof-v5.0
Topology: file: tools/topology/sof-hda-generic.tplg, sof-hda-generic-2ch.tplg same as firmware
Kconfig: https://sof-ci-storage.sh.intel.com/daily/20190521/release/linux/topic/sof-dev/901cd2a5-2/config-daily-hda-20190521.txt
platform :CML laptop
dmesg
reboot_failed.log
reboot_failed_logger.log
stevyan commentedon May 22, 2019
Error occurred when try to paplay/parecord on the CFL RVP HDA.
Precondition
pulseaudio enabled.
To reproduce
Actual Result
Test Recipe
date: 2019-05-22
sof (master): 3e423f4
linux (topic/sof-dev): e3ec7cf
topology: sof-hda-generic.tplg
dmesg log
paplay_failed-dmesg.log
paplay_failed-slogger.log
ClarexZhou commentedon May 24, 2019
Error occurred on CML laptop after stop aplay during aplay -d 1 stress test in 107th
Environment
Kernel: 9453da1 https://github.com/lyakh/linux/tree/ipc-timeout (with PR895)
FW:b527fd7 https://github.com/lyakh/sof/tree/ipc-timeout (with PR1354)
Topology:Same as above FW repo, file: tools/topology/sof-hda-generic.m4, sof-hda-generic-2ch.tplg
kconfig:
unset CONFIG_SND_SOC_SOF_DEBUG_ENABLE_FIRMWARE_TRACE
unset CONFIG_SND_SOC_SOF_DEBUG_ENABLE_DEBUGFS_CACHE
No error logger, dmesg as below:
aplay_107_dmesg.log
keyonjie commentedon May 27, 2019
Hi @ClarexZhou can this be reproduced with latest ipc-timeout recipe?
ClarexZhou commentedon May 28, 2019
Error occurred during multipipline stress test after about 13th times. aplay response very slow and can't be played successfully in stress test. Stop stress test then aplay manually, ipc timed out.
Environment
Kernel: https://github.com/lyakh/linux/tree/ipc-timeout commit 9453da1 (with PR895)
FW:https://github.com/lyakh/sof/tree/ipc-timeout commit 47dc14d (with PR1354 and PR1470)
Kconfig: disable CONFIG_SND_SOC_SOF_DEBUG_ENABLE_DEBUGFS_CACHE in kernel config.
mulitpipline_13_dmesg.log
mulitpipline_13_logger_all.log
YvonneYang2 commentedon May 29, 2019
Issue occurred after finishing the 300 times s3 without playback test.
Test recipe
date: 2019-05-29
sof (master): b4d292d
linux (topic/sof-dev): d1008d1
topology: sof-apl-nocodec.tplg
platform: cd-apl-up2-nocodec-03
dmesg
s3_without_playback_500_dmesg.log
s3_without_playback_500_logger.log
kv2019i commentedon Jun 14, 2019
@ClarexZhou Can this be closed?
As per recent test result, no timeouts should be observed anymore in the original scenarios of this bug:
""Scenario A:Do system reboot stress test. Error occurred after system reboot.
Scenario B:Do aplay test several times. Error occurred after Stop aplay""
ClarexZhou commentedon Jun 17, 2019
Close for not reproduced on sof-dev 96033e6