Closed XiaoyunWu6666 closed 2 years ago
ipc error when trying to set pipeline state see inner result 13238 model WHL_UPEXT_HDA_IPC4 testcase check-pause-resume-playback-100)
[ 1732.074348] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc4 set pipeline 1 state 4
[ 1732.074352] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx : 0x13010004|0x0: GLB_SET_PIPELINE_STATE
[ 1732.074667] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx reply: 0x33000000|0x0: GLB_SET_PIPELINE_STATE
[ 1732.075041] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx done : 0x13010004|0x0: GLB_SET_PIPELINE_STATE
[ 1732.075046] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc4 set pipeline 2 state 4
[ 1732.075050] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx : 0x13020004|0x0: GLB_SET_PIPELINE_STATE
[ 1732.075262] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx reply: 0x33000000|0x0: GLB_SET_PIPELINE_STATE
[ 1732.075364] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx done : 0x13020004|0x0: GLB_SET_PIPELINE_STATE
[ 1732.075373] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc4_hda_dai_trigger: cmd=4 dai Analog CPU DAI direction 0
[ 1732.075383] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc4_hda_dai_trigger: cmd=0 dai Analog CPU DAI direction 0
[ 1732.075385] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc4 set pipeline 2 state 3
[ 1732.075387] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx : 0x13020003|0x0: GLB_SET_PIPELINE_STATE
[ 1732.075825] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx reply: 0x33000000|0x0: GLB_SET_PIPELINE_STATE
[ 1732.076338] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx done : 0x13020003|0x0: GLB_SET_PIPELINE_STATE
[ 1732.076345] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc4 set pipeline 2 state 2
[ 1732.076348] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx : 0x13020002|0x0: GLB_SET_PIPELINE_STATE
[ 1732.076479] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx reply: 0x33000006|0x2: GLB_SET_PIPELINE_STATE
[ 1732.076483] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: FW reported error: 6 - Unknown error while processing the request
[ 1732.077329] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc error for msg 0x13020002|0x0
[ 1732.077334] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at soc_dai_trigger on Analog CPU DAI: -22
[ 1732.077338] kernel: HDA Analog: ASoC: dpcm_be_dai_trigger() failed at Analog Playback and Capture (-22)
[ 1732.077341] kernel: HDA Analog: ASoC: trigger FE cmd: 0 failed: -22
But I haven't been able to reproduce it yet
We haven't seem this issue in CI for more than 2 months, @XiaoyunWu6666 can we close it?
ipc error when resetting pipeline (setting state 2) in inner testresult 14490 and 14386 14324 14301 14217 14196 ... [7 hits within past 30 days] on WHL_UPEXT_HDA_IPC4 when multiple-pause-resume-50 And this actually was identified as https://github.com/thesofproject/linux/issues/3626 which describe ipc error with FWeported error: 6 - Unknown error while processing the request when resetting pipeline
[dmesg]
[ 2313.984870] kernel: snd_sof:sof_ipc4_set_pipeline_state: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc4 set pipeline 23 state 3
[ 2313.984874] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx : 0x13170003|0x0: GLB_SET_PIPELINE_STATE
[ 2313.985419] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx reply: 0x33000000|0x0: GLB_SET_PIPELINE_STATE
[ 2313.985435] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx done : 0x13170003|0x0: GLB_SET_PIPELINE_STATE
[ 2313.985440] kernel: snd_sof:sof_ipc4_set_pipeline_state: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc4 set pipeline 23 state 2
[ 2313.985443] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx : 0x13170002|0x0: GLB_SET_PIPELINE_STATE
[ 2313.985685] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx reply: 0x33000006|0x17: GLB_SET_PIPELINE_STATE
[ 2313.985691] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: FW reported error: 6 - Unknown error while processing the request
[ 2313.985712] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc error for msg 0x13170002|0x0
[ 2313.985716] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at soc_dai_trigger on iDisp2 Pin: -22
[ 2313.985721] kernel: HDMI2: ASoC: dpcm_be_dai_trigger() failed at iDisp2 (-22)
[ 2313.985724] kernel: HDMI2: ASoC: trigger FE cmd: 0 failed: -22
[ 2313.985738] kernel: snd_sof:sof_pcm_hw_free: sof-audio-pci-intel-cnl 0000:00:1f.3: pcm: free stream 6 dir 0
[ 2313.985742] kernel: snd_sof:sof_ipc4_set_pipeline_state: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc4 set pipeline 22 state 3
[ 2313.985747] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx : 0x13160003|0x0: GLB_SET_PIPELINE_STATE
[ 2313.985999] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx reply: 0x33000000|0x0: GLB_SET_PIPELINE_STATE
[ 2313.986016] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx done : 0x13160003|0x0: GLB_SET_PIPELINE_STATE
[ 2313.986020] kernel: snd_sof:sof_ipc4_set_pipeline_state: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc4 set pipeline 22 state 2
[ 2313.986024] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx : 0x13160002|0x0: GLB_SET_PIPELINE_STATE
[ 2313.986519] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx reply: 0x33000000|0x0: GLB_SET_PIPELINE_STATE
[ 2313.986677] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx done : 0x13160002|0x0: GLB_SET_PIPELINE_STATE
[ 2313.986695] kernel: snd_sof:sof_ipc4_route_free: sof-audio-pci-intel-cnl 0000:00:1f.3: unbind modules copier.host.22.1 -> copier.HDA.23.1
And actually the ipc timed out described by this issue became rare. We haven't seem ipc time out issue in CI for more than 2 months, so we can close it. @keqiaozhang thanks for reminding.
Description Intel internal tests show failures for model=WHL_UPEXT_HDA_IPC4&testcase=multiple-pipeline-capture-50.sh in inner daily 13032 ipc timed out while processing the request of ipc4 unbind modules copier.host.9.1 -> copier.HDA.10.1
Haven't reproduced it so far ,will provide more info after managing to reproduce it
Test Recipe Kernel Branch: topic/sof-dev Kernel Commit: 2ce729e6af8e FW: cavs fw
Log During a series of sof_ipc4_route_free , unbind modules copier.host.5.1 -> copier.HDA.6.1 and unbind modules copier.host.7.1 -> copier.HDA.8.1,etc succeeded ,but when it comes to unbind modules copier.host.9.1 -> copier.HDA.10.1 , ipc time out happened [dmesg]