Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66435 - [linux] Sound stops working: sof-audio-pci: error: ipc timed out (X1 Carbon, 7th)

Attached to Project: Arch Linux
Opened by Victor Trac (victortrac) - Monday, 27 April 2020, 12:43 GMT
Last edited by freswa (frederik) - Wednesday, 13 May 2020, 12:10 GMT
Task Type Bug Report
Category Kernel
Status Assigned   Reopened
Assigned To Tobias Powalowski (tpowa)
Jan Alexander Steffens (heftig)
Levente Polyak (anthraxx)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description: After a day or so, my sound output stops working and dmesg is full of these repeating stanzas:

[134682.386754] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x80010000 size 120
[134682.386770] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[134682.387028] sof-audio-pci 0000:00:1f.3: error: can't enter idle
[134682.387033] sof-audio-pci 0000:00:1f.3: error: trace point 00004000
[134682.387037] sof-audio-pci 0000:00:1f.3: error: panic at src/lib/agent.c:50
[134682.387042] sof-audio-pci 0000:00:1f.3: error: DSP Firmware Oops
[134682.387048] sof-audio-pci 0000:00:1f.3: EXCCAUSE 0x0000003f EXCVADDR 0x00000000 PS 0x00060725 SAR 0x00000000
[134682.387052] sof-audio-pci 0000:00:1f.3: EPC1 0x00000000 EPC2 0xbe00d30e EPC3 0x00000000 EPC4 0x00000000
[134682.387057] sof-audio-pci 0000:00:1f.3: EPC5 0x00000000 EPC6 0x00000000 EPC7 0x00000000 DEPC 0x00000000
[134682.387062] sof-audio-pci 0000:00:1f.3: EPS2 0x00060d20 EPS3 0x00000000 EPS4 0x00000000 EPS5 0x00000000
[134682.387066] sof-audio-pci 0000:00:1f.3: EPS6 0x00000000 EPS7 0x00000000 INTENABL 0x00000000 INTERRU 0x00000222
[134682.387070] sof-audio-pci 0000:00:1f.3: stack dump from 0xbe04f5b0
[134682.387078] sof-audio-pci 0000:00:1f.3: 0xbe04f5b0: be00fc00 be04f5e0 be062180 00000001
[134682.387083] sof-audio-pci 0000:00:1f.3: 0xbe04f5b4: 00000000 00000000 00000032 00000000
[134682.387089] sof-audio-pci 0000:00:1f.3: 0xbe04f5b8: aeae2500 25e9b5b8 a8a63d98 ffff9123
[134682.387094] sof-audio-pci 0000:00:1f.3: 0xbe04f5bc: 00000000 00000000 c0d4376d ffffffff
[134682.387099] sof-audio-pci 0000:00:1f.3: 0xbe04f5c0: 819db8d0 ffffaece aeae2500 25e9b5b8
[134682.387104] sof-audio-pci 0000:00:1f.3: 0xbe04f5c4: c0d3b0ce ffffffff a8a63da0 ffff9123
[134682.387110] sof-audio-pci 0000:00:1f.3: 0xbe04f5c8: c0f27c7f ffffffff 819db9f0 00000000
[134682.387115] sof-audio-pci 0000:00:1f.3: 0xbe04f5cc: 00000001 00000000 ac3fb018 ffff9123
[134682.387131] sof-audio-pci 0000:00:1f.3: error: hda irq intsts 0x00000000 intlctl 0xc0000000 rirb 00
[134682.387135] sof-audio-pci 0000:00:1f.3: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[134682.387149] sof-audio-pci 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[134682.387155] sof-audio-pci 0000:00:1f.3: error: failed to set dai config for Analog Playback and Capture
[134682.387161] sof-audio-pci 0000:00:1f.3: ASoC: can't set Analog CPU DAI hw params: -110
[134682.387173] Analog Playback and Capture: ASoC: hw_params BE failed -110
[134682.387177] HDA Analog: ASoC: hw_params BE failed -110


Additional info:
* Kernel: 5.6.6-arch1-1
* linux-firmware: 20200421.78c0348-1
* sof-firmware: 1.4.2-1

Blacklisted modules:
blacklist snd_hda_intel
blacklist snd_soc_skl

I had previously followed the steps here to get my sound working: https://bbs.archlinux.org/viewtopic.php?pid=1887142#p1887142
This task depends upon

Comment by freswa (frederik) - Monday, 27 April 2020, 16:23 GMT
Could you please post your audio hardware?
Comment by Victor Trac (victortrac) - Wednesday, 29 April 2020, 11:33 GMT
This may have been user error. There have been frequent kernel updates in the last 3-4 weeks, and this may have been caused by me upgrading the linux package without rebooting. I haven't been able to reproduce this error since the last reboot, and there haven't been any linux package upgrades.
Comment by Victor Trac (victortrac) - Wednesday, 13 May 2020, 12:10 GMT
  • Field changed: Percent Complete (100% → 0%)
Still happening, and I confirmed that it's not correlated to a kernel package update.
Comment by AK (Andreaskem) - Thursday, 14 May 2020, 08:38 GMT
Maybe this issue?
https://github.com/thesofproject/sof/issues/2828
Maybe the sof-firmware package needs an update (it is currently at 1.4.2-1; 1.4.3 and 1.5.0 are available upstream).
https://github.com/thesofproject/sof/issues/2828#issuecomment-617667820

Loading...