sof icon indicating copy to clipboard operation
sof copied to clipboard

[BUG][CML] Poll timeout errors and xrun error with multiple-pause-resume test

Open fredoh9 opened this issue 3 years ago • 0 comments

Describe the bug CML_RVP_NOCODEC failed on multiple-pause-resume-25 test internal daily test results for stable-v2.2 : 15748

etrace has many of poll timeout errors and xrun

[   275711052.481727] (     3805000.750000) c0 dma-trace                    src/lib/wait.c:53   ERROR poll timeout reg 488520 mask 63 val 0 us 937
[   283372302.177296] (     7661249.500000) c0 dma-trace                    src/lib/wait.c:53   ERROR poll timeout reg 487496 mask 63 val 0 us 937
[   287179801.921833] (     3807499.750000) c0 dma-trace                    src/lib/wait.c:53   ERROR poll timeout reg 488520 mask 63 val 0 us 937
[   290993668.749451] (     3813866.750000) c0 dma-trace                    src/lib/wait.c:53   ERROR poll timeout reg 487496 mask 63 val 0 us 937
[   291004800.467758] (       11131.718750) c0 dma-trace                    src/lib/wait.c:53   ERROR poll timeout reg 488520 mask 63 val 0 us 937
[   294803551.150143] (     3798750.750000) c0 dma-trace                    src/lib/wait.c:53   ERROR poll timeout reg 487496 mask 63 val 0 us 937
[   304228549.421460] (     9424998.000000) c0 dma-trace                    src/lib/wait.c:53   ERROR poll timeout reg 487496 mask 63 val 0 us 937
[   311856048.285037] (     7627499.000000) c0 dma-trace                    src/lib/wait.c:53   ERROR poll timeout reg 488008 mask 63 val 0 us 937
[   319521049.074208] (     7665001.000000) c0 dma-trace                    src/lib/wait.c:53   ERROR poll timeout reg 488520 mask 63 val 0 us 937
[   324438812.889210] (     4917764.000000) c0 dma-trace              src/drivers/dw/dma.c:1128 ERROR dw_dma_get_data_size(): xrun detected
[   324438827.160043] (          14.270833) c0 dma-trace                   src/audio/dai.c:881  ERROR dai_report_xrun(): underrun due to no data available
[   324438841.066292] (          13.906249) c0 dma-trace                   src/audio/dai.c:775  ERROR comp_underrun(): dev->comp.id = 2, source->avail = 0, copy_bytes = 0
[   324438893.462123] (          52.395832) c0 dma-trace          ....../pipeline-stream.c:143  ERROR pipeline_copy(): ret = -61, start->comp.id = 2, dir = 1
[   324438907.368373] (          13.906249) c0 dma-trace          ..../pipeline-schedule.c:187  ERROR pipeline_task(): xrun recovery failed! pipeline is stopped.
[   325192432.859264] (      753525.500000) c0 dma-trace              src/drivers/dw/dma.c:1128 ERROR dw_dma_get_data_size(): xrun detected
[   325192447.078013] (          14.218749) c0 dma-trace                   src/audio/dai.c:881  ERROR dai_report_xrun(): underrun due to no data available
[   325192461.557179] (          14.479166) c0 dma-trace                   src/audio/dai.c:775  ERROR comp_underrun(): dev->comp.id = 2, source->avail = 0, copy_bytes = 0
[   325192501.505094] (          39.947914) c0 dma-trace          ....../pipeline-stream.c:143  ERROR pipeline_copy(): ret = -61, start->comp.id = 2, dir = 1
[   325192515.671760] (          14.166666) c0 dma-trace          ..../pipeline-schedule.c:187  ERROR pipeline_task(): xrun recovery failed! pipeline is stopped.

To Reproduce TPLG=/lib/firmware/intel/sof-tplg/sof-cnl-nocodec.tplg MODEL=CML_RVP_NOCODEC ~/sof-test/test-case/multiple-pause-resume.sh -r 25

Reproduction Rate It looks very rare case, this is first failure in this month, only happened in CML_RVP_NOCODEC 1/30

Environment

  • Kernel Branch: topic/sof-dev
  • Kernel Commit: e684a226dc87
  • SOF Branch: stable-v2.2
  • SOF Commit: afe466da0238

dmesg.txt slogger.zip etrace.txt

fredoh9 avatar Sep 30 '22 19:09 fredoh9