Skip to content

[BUG][APL] "Input/output error" occurred when do multiple-pipeline-capture test. #2749

Closed

Description

@sinahuang

Describe the bug
"Input/output error" occurred when multiple-pipeline-capture test. After error occured,all the pipeline can not work,reboot can recovery.

Used ubuntu@sh-apl-up2-pcm512x-02:

ubuntu@sh-apl-up2-pcm512x-02:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofpcm512x [sof-pcm512x], device 0: Port5 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofpcm512x [sof-pcm512x], device 1: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofpcm512x [sof-pcm512x], device 2: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofpcm512x [sof-pcm512x], device 3: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofpcm512x [sof-pcm512x], device 4: Media Playback 4 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
ubuntu@sh-apl-up2-pcm512x-02:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: sofpcm512x [sof-pcm512x], device 0: Port5 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofpcm512x [sof-pcm512x], device 5: DMIC (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofpcm512x [sof-pcm512x], device 6: DMIC16kHz (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

To Reproduce
1.sudo reboot
2.cd sof-test
3.cd test-case
4.export TPLG=/lib/firmware/intel/sof-tplg/sof-apl-pcm512x.tplg
5.. ./multiple-pipeline-capture.sh -c 4 -l 50 (https://github.com/thesofproject/sof-test/blob/master/test-case/multiple-pipeline-capture.sh)

Reproduction Rate
Test for 50 times, failed at 10th time.

Expected behavior
There is no error occured when do multiple-pipeline-capture test.

Impact
"Input/output error" occurred when do multiple-pipeline-capture test.

99

Platform: APL UP2 with I2S PCM512x
Firmware: 939c14 https://github.com/thesofproject/sof/commits/master
Kernel: 77b49b3 https://github.com/thesofproject/linux/commits/topic/sof-dev
Topology: file: tools/topology/sof-apl-pcm512x.tplg same as firmware
no error info in dmesg:
sof_error_trace9.log
sof_trace9.log
dmesg9.log

Activity

  1. added
    bugSomething isn't working as expected
    APLApplies to Apollolake platform
    on Apr 9, 2020
  2. sinahuang commented on Apr 9, 2020

    @sinahuang
    Author

    Bisect result:Caused by firmware commit:8b7f1fa

  3. Liviali155 commented on Apr 9, 2020

    @Liviali155

    related with #2735

  4. added this to the v1.6 milestone on Apr 9, 2020
  5. lgirdwood commented on Apr 9, 2020

    @lgirdwood
    Member

    Seems related to slave SSP support which can be fixed for v1.6

  6. lgirdwood commented on Apr 9, 2020

    @lgirdwood
    Member
  7. YvonneYang2 commented on May 27, 2020

    @YvonneYang2

    Issue cannot be reproduced with latest sof-dev(commit: 866e4d5) and master(commit: 6cfd3e5) .
    So close it.

  8. Liviali155 commented on May 28, 2020

    @Liviali155

    Error occured again with latest sof-dev(0d22f66)+Master(4689780) when run Pause/Release: simultaneous playback/capture - 100x in CI stress test
    1.sudo reboot
    2.cd sof-test
    3.cd test-case
    4.export TPLG=/lib/firmware/intel/sof-tplg/sof-apl-pcm512x.tplg
    5. ./multiple-pause-resume.sh -r 25

    dmesg_error.log
    kernel: [ 4360.880045] sof-audio-pci 0000:00:0e.0: pcm: trigger stream 0 dir 1 cmd 3
    kernel: [ 4360.880055] sof-audio-pci 0000:00:0e.0: ipc tx: 0x60060000: GLB_STREAM_MSG: TRIG_PAUSE
    kernel: [ 4360.880184] sof-audio-pci 0000:00:0e.0: error: ipc error for 0x60060000 size 12
    kernel: [ 4360.880198] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x20240000 successful
    kernel: [ 4360.880205]  Port5: ASoC: trigger FE cmd: 3 failed: -22
    kernel: [ 4360.880237] sof-audio-pci 0000:00:0e.0: pcm: trigger stream 0 dir 1 cmd 4
    kernel: [ 4360.880781] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x2024001e successful
    kernel: [ 4360.880788] sof-audio-pci 0000:00:0e.0: ipc tx: 0x60070000: GLB_STREAM_MSG: TRIG_RELEASE
    kernel: [ 4360.880882] sof-audio-pci 0000:00:0e.0: error: ipc error for 0x60070000 size 12
    kernel: [ 4360.880887]  Port5: ASoC: trigger FE cmd: 4 failed: -22
    kernel: [ 4360.881032] sof-audio-pci 0000:00:0e.0: pcm: trigger stream 0 dir 1 cmd 3
    kernel: [ 4360.881037] sof-audio-pci 0000:00:0e.0: ipc tx: 0x60060000: GLB_STREAM_MSG: TRIG_PAUSE
    kernel: [ 4360.881085] sof-audio-pci 0000:00:0e.0: error: ipc error for 0x60060000 size 12
    kernel: [ 4360.881107] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x20240000 successful
    kernel: [ 4360.881110]  Port5: ASoC: trigger FE cmd: 3 failed: -22
    kernel: [ 4360.881114] sof-audio-pci 0000:00:0e.0: pcm: trigger stream 0 dir 1 cmd 4
    kernel: [ 4360.881725] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x2024001e successful
    kernel: [ 4360.881737] sof-audio-pci 0000:00:0e.0: ipc tx: 0x60070000: GLB_STREAM_MSG: TRIG_RELEASE
    kernel: [ 4360.881807] sof-audio-pci 0000:00:0e.0: error: ipc error for 0x60070000 size 12
    kernel: [ 4360.881817]  Port5: ASoC: trigger FE cmd: 4 failed: -22
    kernel: [ 4360.885463] sof-audio-pci 0000:00:0e.0: ipc rx: 0x90020000: GLB_TRACE_MSG
    kernel: [ 4360.885481] sof-audio-pci 0000:00:0e.0: ipc rx done: 0x90020000: GLB_TRACE_MSG
    
    sof_error.log
    [4344274348.750000] (        3.437500) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1524 dmic_irq_handler(), OUTSTAT1 = 805306372
    [4344274351.875000] (        3.125000) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1527 ERROR dmic_irq_handler(): full fifo A or PDM overrun
    [4344274355.364584] (        3.489583) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1523 dmic_irq_handler(), OUTSTAT0 = 536870912
    [4344274358.385417] (        3.020833) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1524 dmic_irq_handler(), OUTSTAT1 = 805306372
    [4344274366.145834] (        7.760417) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1523 dmic_irq_handler(), OUTSTAT0 = 671088640
    [4344274369.583334] (        3.437500) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1524 dmic_irq_handler(), OUTSTAT1 = 805306372
    [4344274372.552084] (        2.968750) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1527 ERROR dmic_irq_handler(): full fifo A or PDM overrun
    [4344274376.197917] (        3.645833) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1523 dmic_irq_handler(), OUTSTAT0 = 536870912
    [4344274379.218750] (        3.020833) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1524 dmic_irq_handler(), OUTSTAT1 = 805306372
    [4344274386.979167] (        7.760417) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1523 dmic_irq_handler(), OUTSTAT0 = 671088640
    [4344274390.572917] (        3.593750) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1524 dmic_irq_handler(), OUTSTAT1 = 805306373
    [4344274393.541667] (        2.968750) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1527 ERROR dmic_irq_handler(): full fifo A or PDM overrun
    [4344274397.031250] (        3.489583) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1523 dmic_irq_handler(), OUTSTAT0 = 536870912
    [4344274400.052084] (        3.020833) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1524 dmic_irq_handler(), OUTSTAT1 = 805306373
    [4344274407.812500] (        7.760417) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1523 dmic_irq_handler(), OUTSTAT0 = 671088640
    [4344274411.406250] (        3.593750) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1524 dmic_irq_handler(), OUTSTAT1 = 805306373
    [4344274414.375000] (        2.968750) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1527 ERROR dmic_irq_handler(): full fifo A or PDM overrun
    [4344274417.864584] (        3.489583) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1523 dmic_irq_handler(), OUTSTAT0 = 536870912
    [4344274420.989584] (        3.125000) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1524 dmic_irq_handler(), OUTSTAT1 = 805306373
    [4344274428.645834] (        7.656250) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1523 dmic_irq_handler(), OUTSTAT0 = 671088640
    [4344274432.083334] (        3.437500) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1524 dmic_irq_handler(), OUTSTAT1 = 805306373
    [4344274435.208334] (        3.125000) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1527 ERROR dmic_irq_handler(): full fifo A or PDM overrun
    [4344274438.697917] (        3.489583) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1523 dmic_irq_handler(), OUTSTAT0 = 536870912
    

    dmesg.txt
    etrace.txt
    slogger.txt

    Reopen it

  9. lgirdwood commented on May 29, 2020

    @lgirdwood
    Member

    DMIC is not getting emptied fast enough. @mmaka1 @tlauda do we need more overhead for some DMA buffers (an extra period here) ?

    [4344274542.760417] (        3.489583) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1523 dmic_irq_handler(), OUTSTAT0 = 536870912
    [4344274545.885417] (        3.125000) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1524 dmic_irq_handler(), OUTSTAT1 = 805306375
    [4344274553.645834] (        7.760417) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1523 dmic_irq_handler(), OUTSTAT0 = 671088640
    [4344274557.083334] (        3.437500) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1524 dmic_irq_handler(), OUTSTAT1 = 805306375
    [4344274560.208334] (        3.125000) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1527 ERROR dmic_irq_handler(): full fifo A or PDM overrun
    
  10. YvonneYang2 commented on Jun 8, 2020

    @YvonneYang2

    Issue can still be reproduced as #2749 (comment) said on latest topic/sof-dev(1af84d0) and master(428804e)

  11. Liviali155 commented on Jul 7, 2020

    @Liviali155

    On TGL chromebook with codec 98357 in I2S mode also can reproduce this issue when do multiple-pipeline-playback test
    after error occured,all the pipeline can work
    1.sudo reboot
    2.cd sof-test
    3.cd test-case
    4.export TPLG=sof-tgl-max98357a-rt5682.tplg
    5../multiple-pipeline-playback.sh -c 8 -l 300

    Failed at 2th when arecord via headset(0,1)
    Capture

    ubuntu@ubuntu-Volteer:~/sof-test/test-case$ arecord -l
    **** List of CAPTURE Hardware Devices ****
    card 0: sofrt5682 [sof-rt5682], device 1: Headset (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: sofrt5682 [sof-rt5682], device 6: EchoRef (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: sofrt5682 [sof-rt5682], device 99: DMIC48kHz (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: sofrt5682 [sof-rt5682], device 100: DMIC16k (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    
    dmesg_error.log
    [   85.543221] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
    [   85.543359] sof-audio-pci 0000:00:1f.3: error: ipc error for 0x60050000 size 12
    [   85.543881] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
    [   85.543893] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x340000 successful
    [   85.543898]  Headset: ASoC: trigger FE cmd: 0 failed: -22
    [   85.543900] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
    [   85.543914]  Headset: ASoC: hw_free FE Headset
    [   85.543918] sof-audio-pci 0000:00:1f.3: pcm: free stream 1 dir 1
    [   85.543923] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60030000: GLB_STREAM_MSG: PCM_FREE
    [   85.544069] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x6003000
    
    sof_error.log
    239583) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1537 ERROR dmic_irq_handler(): full fifo A or PDM overrun
    [177856006.875000] (        8.072917) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1533 dmic_irq_handler(), OUTSTAT0 = 536870912
    [177856014.531250] (        7.656250) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1534 dmic_irq_handler(), OUTSTAT1 = 2147483648
    [177856024.531250] (       10.000000) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1533 dmic_irq_handler(), OUTSTAT0 = 671088640
    [177856032.083333] (        7.552083) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1534 dmic_irq_handler(), OUTSTAT1 = 2147483648
    [177856039.375000] (        7.291667) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1537 ERROR dmic_irq_handler(): full fifo A or PDM overrun
    [177856047.447917] (        8.072917) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1533 dmic_irq_handler(), OUTSTAT0 = 536870912
    [177856055.052083] (        7.604167) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1534 dmic_irq_handler(), OUTSTAT1 = 2147483648
    [177856065.052083] (       10.000000) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1533 dmic_irq_handler(), OUTSTAT0 = 671088640
    [177856072.395833] (        7.343750) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1534 dmic_irq_handler(), OUTSTAT1 = 2147483648
    [177856079.843750] (        7.447917) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1537 ERROR dmic_irq_handler(): full fifo A or PDM overru
    

    dmesg0707.log
    sof-logger_0707.log

    Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    Kernel: Kernel:https://github.com/thesofproject/linux/commits/topic/sof-dev (commit: 1b2f260)

    • PR#2208 for DP fix
    • PR#2184 for wov S0i2
      +PR#2238 for max98373-sdw jack switch
    • codec hack commit to verify this captured data.
    • revert regression on USB-C 6a7c533 for volteer
    • revert d4b41f8bb
    • revert regression on PINCTRL cd0a323 for volteer
      SOF: https://github.com/thesofproject/sof/tree/tgl-007-drop-stable v7.0-rc6,commit: a40b46c
    • PR#3116 for KWD trigger volume
      Name of the topology file
      Topology: sof-tgl-max98357a-rt5682.tplg
      Name of the platform(s) on which the bug is observed.
      Platform: TGL chromebook with codec 98357 in I2S mode
  12. 5 remaining items

  13. ClarexZhou commented on Jul 14, 2020

    @ClarexZhou

    move to P1 since TGL also failed.

  14. added
    P1Blocker bugs or important features
    and removed
    P2Critical bugs or normal features
    on Jul 14, 2020
  15. Liviali155 commented on Jul 14, 2020

    @Liviali155

    The issue of tgl has creat another issue #3177 to track.this issue is only used to trace apl issue

  16. changed the title [-][BUG][APL/TGL] "Input/output error" occurred when do multiple-pipeline-capture test.[/-] [+][BUG][APL] "Input/output error" occurred when do multiple-pipeline-capture test.[/+] on Jul 14, 2020
  17. added
    P2Critical bugs or normal features
    and removed
    P1Blocker bugs or important features
    on Jul 15, 2020
  18. Liviali155 commented on Jul 24, 2020

    @Liviali155

    Issue still can be reproduced with latest sof-dev(e1a25077)+master(44a65d8)on apl pcm512 when run multiple-pipeline-capture

    dmesg_error.log
    830.335561] sof-audio-pci 0000:00:0e.0: ipc tx: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
    [  830.335736] sof-audio-pci 0000:00:0e.0: error: ipc error for 0x60050000 size 12
    [  830.335751] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x240000 successful
    [  830.335757] sof-audio-pci 0000:00:0e.0: ASoC: error at snd_soc_pcm_component_trigger on 0000:00:0e.0: -22
    [  830.335771]  Port5: ASoC: trigger FE cmd: 0 failed: -22
    [  830.335788] sof-audio-pci 0000:00:0e.0: pcm: free stream 0 dir 1
    [  830.335794] sof-audio-pci 0000:00:0e.0: ipc tx: 0x60030000: GLB_STREAM_MSG: PCM_FREE
    [  830.336070] sof-audio-pci 0000:00:0e.0: ipc tx succeeded: 0x60030000: GLB_STREAM_MSG: PCM_FREE
    [  830.336185] sof-audio-pci 0000:00:0e.0: pcm: close stream 0 dir 1
    [  830.416914] sof-audio-pci 0000:00:0e.0: ipc rx: 0x90020000: GLB_TRACE_MSG
    [  830.416932] sof-audio-pci 0000:00:0e.0: ipc rx done: 0x90020000: GLB_TRACE_MSG
    [  830.917027] sof-audio-pci 0000:00:0e.0: ipc rx: 0x90020000: GLB_TRACE_MSG
    [  830.917044] sof-audio-pci 0000:00:0e.0: ipc rx done: 0x90020000: GLB_TRACE_MSG
    [  831.759534] sof-audio-pci 0000:00:0e.0: pcm: trigger stream 0 dir 0 cmd 0
    
    sof_error.log
    46.093750] ( 14577146.000000) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1534 dmic_irq_handler(), OUTSTAT1 = 805306369
    [ 14577149.114583] (        3.020833) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1537 ERROR dmic_irq_handler(): full fifo A or PDM overrun
    [ 14577152.656250] (        3.541667) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1533 dmic_irq_handler(), OUTSTAT0 = 536870912
    [ 14577155.885417] (        3.229167) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1534 dmic_irq_handler(), OUTSTAT1 = 805306369
    [ 14577163.125000] (        7.239583) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1533 dmic_irq_handler(), OUTSTAT0 = 671088640
    [ 14577166.406250] (        3.281250) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1534 dmic_irq_handler(), OUTSTAT1 = 805306370
    [ 14577169.583333] (        3.177083) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1537 ERROR dmic_irq_handler(): full fifo A or PDM overrun
    [ 14577173.125000] (        3.541667) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1533 dmic_irq_handler(), OUTSTAT0 = 536870912
    [ 14577176.197917] (        3.072917) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1534 dmic_irq_handler(), OUTSTAT1 = 805306370
    [ 14577183.958333] (        7.760417) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1533 dmic_irq_handler(), OUTSTAT0 = 671088640
    [ 14577187.239583] (        3.281250) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1534 dmic_irq_handler(), OUTSTAT1 = 805306370
    [ 14577190.364583] (        3.125000) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1537 ERROR dmic_irq_handler(): full fifo A or PDM overrun
    [ 14577193.906250] (        3.541667) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1533 dmic_irq_handler(), OUTSTAT0 = 536870912
    [ 14577196.979167] (        3.072917) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1534 dmic_irq_handler(), OUTSTAT1 = 805306370
    [ 14577204.791667] (        7.812500) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1533 dmic_irq_handler(), OUTSTAT0 = 671088640
    [ 14577208.072917] (        3.281250) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1534 dmic_irq_handler(), OUTSTAT1 = 805306370
    [ 14577211.093750] (        3.020833) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1537 ERROR dmic_irq_handler(): full fifo A or PDM overrun
    [ 14577214.791667] (        3.697917) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1533 dmic_irq_handler(), OUTSTAT0 = 536870912
    [ 14577217.864583] (        3.072917) c0 dmic-dai     2.1   src/drivers/intel/dmic.c:1534 dmic_irq_handler(), OUTSTAT1 = 805306370
    [ 14577225.625000] (        7.760417) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1533 dmic_irq_handler(), OUTSTAT0 = 671088640
    [ 14577228.906250] (        3.281250) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1534 dmic_irq_handler(), OUTSTAT1 = 805306371
    [ 14577231.927083] (        3.020833) c0 dmic-dai     2.0   src/drivers/intel/dmic.c:1537 ERROR dmic_irq_handler(): full fifo A or PDM overrun
    

    dmesg0724.log
    sof-logger0724.log

  19. plbossart commented on Jul 29, 2020

    @plbossart
    Member

    @Liviali155 I get very different results depending on which scripts are used on APL-Up2 w/ PCM512x

    firmware: #3245
    kernel: topic/sof-dev b31892bc2404c4ecc59d863a1d5cadba6740be5b

    export TPLG=/lib/firmware/intel/sof-tplg/sof-apl-pcm512x.tplg
    /multiple-pipeline-capture.sh -c 4 -l 50
    -> no issues, seems to work fine (no idea what the -c 4 option means, removing it works fine as well). I could not make this test break with my setup.

    ./multiple-pause-resume.sh
    no IPC errors in dmesg but same dmic_irq_handler issue. 100% reproducible problem, this never worked on my side.

    Can you give it a try on your side and try to narrow to a specific problem? This issue has too many details on different tests, we can't make progress if we don't focus on a common/easy to reproduce issue.

    @singalsu @ranj063 @marc-hb FYI if this rings a bell.

  20. ClarexZhou commented on Jul 29, 2020

    @ClarexZhou

    @plbossart Verified with PR #3245 , issue still can be reproduced.
    image

  21. plbossart commented on Jul 29, 2020

    @plbossart
    Member

    @ClarexZhou there's got to be some device variation, I just reran the same test with 100 iterations and it works fine for me.

    root@plb-UP2-DBG:~# ./sof-test/test-case/multiple-pipeline-capture.sh -l 100
    ...
    2020-07-29 15:36:51 UTC [INFO] pipeline start sleep 0.5s for device wakeup
    2020-07-29 15:36:56 UTC [INFO] checking pipeline status
    2020-07-29 15:36:56 UTC [INFO] preparing sleep 5
    2020-07-29 15:37:01 UTC [INFO] checking pipeline status again
    2020-07-29 15:37:01 UTC [INFO] Test Result: PASS!
    
  22. plbossart commented on Jul 29, 2020

    @plbossart
    Member

    @ClarexZhou do you actually run with the latest sof-test code? I don't have the same traces at all, I don't see the [COMMAND] parts, so wondering if we are aligned on the tools?

  23. ClarexZhou commented on Jul 30, 2020

    @ClarexZhou

    @ClarexZhou do you actually run with the latest sof-test code? I don't have the same traces at all, I don't see the [COMMAND] parts, so wondering if we are aligned on the tools?

    Thanks. Error was reproduced because of not switching sof-test branch. Error not seen after using latest Master sof-test. Close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    APLApplies to Apollolake platformP2Critical bugs or normal featuresbugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions