Skip to content

[BUG] IPC timed out when multiple-pipeline on APL_UP2_NOCODEC_ZEPHYR #4414

@XiaoyunWu6666

Description

@XiaoyunWu6666

Describe the bug
ipc timed out when multiple-pipeline on APL_UP2_NOCODEC_ZEPHYR

To Reproduce
arecord -D hw:0,10 -c 4 -r 48000 -f S16_LE /dev/null -q’ on the DUT
Reproduction Rate
100%

Environment
Start Time: 2021-06-27 21:21:11 UTC
End Time: 2021-06-28 02:15:54 UTC
Kernel Branch: topic/sof-dev
Kernel Commit: 5b851f48
SOF Branch: main
SOF Commit: bccecb1

Screenshots or console output
[console]

ubuntu@sh-apl-up2-nocodec-zephyr-01:/etc/sof$ arecord   -D hw:0,10 -c 4 -r 48000 -f S16_LE /dev/null -q -d 5
arecord: set_params:1407: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 64
CHANNELS: 4
RATE: 48000
PERIOD_TIME: (42666 42667)
PERIOD_SIZE: 2048
PERIOD_BYTES: 16384
PERIODS: 4
BUFFER_TIME: (170666 170667)
BUFFER_SIZE: 8192
BUFFER_BYTES: 65536
TICK_TIME: 0

[dmesg]

ubuntu@sh-apl-up2-nocodec-zephyr-01:/etc/sof$ dmesg
[26837.939358] sof-audio-pci-intel-apl 0000:00:0e.0: pcm: open stream 10 dir 1
[26837.939373] sof-audio-pci-intel-apl 0000:00:0e.0: period min 192 max 16384 bytes
[26837.939376] sof-audio-pci-intel-apl 0000:00:0e.0: period count 2 max 16
[26837.939379] sof-audio-pci-intel-apl 0000:00:0e.0: buffer max 65536 bytes
[26837.939582] sof-audio-pci-intel-apl 0000:00:0e.0: pcm: hw params stream 10 dir 1
[26837.939587] sof-audio-pci-intel-apl 0000:00:0e.0: generating page table for 0000000011b65708 size 0x10000 pages 16
[26837.939598] sof-audio-pci-intel-apl 0000:00:0e.0: FW Poll Status: reg[0xa0]=0x240000 successful
[26837.939616] sof-audio-pci-intel-apl 0000:00:0e.0: FW Poll Status: reg[0xa0]=0x40000 successful
[26837.939621] sof-audio-pci-intel-apl 0000:00:0e.0: period_bytes:0x4000
[26837.939624] sof-audio-pci-intel-apl 0000:00:0e.0: periods:4
[26837.939635] sof-audio-pci-intel-apl 0000:00:0e.0: stream_tag 2
[26837.939651] sof-audio-pci-intel-apl 0000:00:0e.0: ipc tx: 0x60010000: GLB_STREAM_MSG: PCM_PARAMS
[26838.442532] sof-audio-pci-intel-apl 0000:00:0e.0: error: ipc timed out for 0x60010000 size 108
[26838.442553] sof-audio-pci-intel-apl 0000:00:0e.0: info: preventing DSP entering D3 state to preserve context
[26838.442561] sof-audio-pci-intel-apl 0000:00:0e.0: status: fw entered - code 00000005
[26838.442608] sof-audio-pci-intel-apl 0000:00:0e.0: error: unexpected fault 0x00000000 trace 0x00004000
[26838.442619] sof-audio-pci-intel-apl 0000:00:0e.0: error: hda irq intsts 0x00000000 intlctl 0xc0000001 rirb 00
[26838.442625] sof-audio-pci-intel-apl 0000:00:0e.0: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[26838.442633] sof-audio-pci-intel-apl 0000:00:0e.0: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[26838.442639] sof-audio-pci-intel-apl 0000:00:0e.0: error: waking up any trace sleepers
[26838.442647] sof-audio-pci-intel-apl 0000:00:0e.0: error: hw params ipc failed for stream 2
[26838.442654] sof-audio-pci-intel-apl 0000:00:0e.0: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:0e.0: -110
[26838.442692]  DMIC: ASoC: soc_pcm_hw_params() failed (-110)
[26838.442722] sof-audio-pci-intel-apl 0000:00:0e.0: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[26838.946538] sof-audio-pci-intel-apl 0000:00:0e.0: error: ipc timed out for 0x80010000 size 216
[26838.946570] sof-audio-pci-intel-apl 0000:00:0e.0: info: preventing DSP entering D3 state to preserve context
[26838.946582] sof-audio-pci-intel-apl 0000:00:0e.0: status: fw entered - code 00000005
[26838.946636] sof-audio-pci-intel-apl 0000:00:0e.0: error: unexpected fault 0x00000000 trace 0x00004000
[26838.946652] sof-audio-pci-intel-apl 0000:00:0e.0: error: hda irq intsts 0x00000000 intlctl 0xc0000001 rirb 00
[26838.946664] sof-audio-pci-intel-apl 0000:00:0e.0: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[26838.946677] sof-audio-pci-intel-apl 0000:00:0e.0: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[26838.946688] sof-audio-pci-intel-apl 0000:00:0e.0: error: waking up any trace sleepers
[26838.946701] sof-audio-pci-intel-apl 0000:00:0e.0: error: failed resetting DAI config for DMIC0.IN
[26838.946722]  DMIC: ASoC: dpcm_fe_dai_hw_params failed (-110)
[26838.946775] sof-audio-pci-intel-apl 0000:00:0e.0: pcm: free stream 10 dir 1
[26838.946828] sof-audio-pci-intel-apl 0000:00:0e.0: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[26839.450579] sof-audio-pci-intel-apl 0000:00:0e.0: error: ipc timed out for 0x80010000 size 216
[26839.450610] sof-audio-pci-intel-apl 0000:00:0e.0: info: preventing DSP entering D3 state to preserve context
[26839.450622] sof-audio-pci-intel-apl 0000:00:0e.0: status: fw entered - code 00000005
[26839.450677] sof-audio-pci-intel-apl 0000:00:0e.0: error: unexpected fault 0x00000000 trace 0x00004000
[26839.450694] sof-audio-pci-intel-apl 0000:00:0e.0: error: hda irq intsts 0x00000000 intlctl 0xc0000001 rirb 00
[26839.450706] sof-audio-pci-intel-apl 0000:00:0e.0: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[26839.450718] sof-audio-pci-intel-apl 0000:00:0e.0: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[26839.450730] sof-audio-pci-intel-apl 0000:00:0e.0: error: waking up any trace sleepers
[26839.450742] sof-audio-pci-intel-apl 0000:00:0e.0: error: failed resetting DAI config for DMIC0.IN
[26839.452340] sof-audio-pci-intel-apl 0000:00:0e.0: pcm: close stream 10 dir 1

Metadata

Metadata

Labels

APLApplies to Apollolake platformIntel Linux Daily testsThis issue can be found in internal Linux daily testsP2Critical bugs or normal featuresZephyrIssues only observed with Zephyr integratedbugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions