You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw the 'trace IO error' message in the kernel log and the sof log is incomplete. It seems to me that the software crashes during the recording on the DSP side. Any debug suggestion?
Activity
brentlu commentedon Mar 29, 2022
I saw the 'trace IO error' message in the kernel log and the sof log is incomplete. It seems to me that the software crashes during the recording on the DSP side. Any debug suggestion?
[ 1167.523778] sound pcmC0D1c: snd_pcm_common_ioctl: DROP
[ 1167.523799] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
[ 1168.030055] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x60050000 size 12
[ 1168.030076] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[ 1168.030428] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[ 1168.030449] sof-audio-pci 0000:00:1f.3: error: hda irq intsts 0x00000000 intlctl 0xc0000003 rirb 00
[ 1168.030454] sof-audio-pci 0000:00:1f.3: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[ 1168.030471] sof-audio-pci 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[ 1168.030476] sof-audio-pci 0000:00:1f.3: error: waking up any trace sleepers
[ 1168.030495] DMIC01: ASoC: trigger FE cmd: 0 failed: -110
[ 1168.030496] sof-audio-pci 0000:00:1f.3: error: trace IO error
brentlu commentedon Mar 29, 2022
Bisect the cml-009-drop-stable branch and identify the fix:
decd206 SRC: Fix pointer arithmetic in circular buffer wrap functions
=> pass 1000 loops
...
6a0cf67 dmic: change spin_lock to spin_try_lock in dmic_work()
=> pass 2000 loops
b03e15a spinlock: add return value to spin_try_lock macro
6071fb8 dmic: add missing schedule_task_cancel() in dmic_stop()
1fa037c logger: fix build errors with gcc 9.1.x
=> failed in loop 123
The fix comes from PR2078 which fixes issue 2044. The description about ipc timeout in recording matches the issue we encounter here.
brentlu commentedon Mar 31, 2022
customer confirmed that the issue is resolved.