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
{{ message }}
Repository navigation
[Bug][CML] ipc timed out for '0x40010000: GLB_PM_MSG: CTX_SAVE' #919
Summary:
'ipc timed out for for '0x40010000: GLB_PM_MSG: CTX_SAVE' after stop aplay or system reboot.
To reproduce
Scenario A:Do system reboot stress test. Error occurred after system reboot.
Scenario B:Do aplay test several times. Error occurred after Stop aplay
Actual result
error: ipc timed out for 0x40010000: GLB_PM_MSG: CTX_SAVE
Error occurred during multipipline stress test after about 13th times. aplay response very slow and can't be played successfully in stress test. Stop stress test then aplay manually, ipc timed out.
[ 721.439018] sof-audio-pci 0000:00:1f.3: period min 192 max 16384 bytes
[ 721.439023] sof-audio-pci 0000:00:1f.3: period count 2 max 16
[ 721.439027] sof-audio-pci 0000:00:1f.3: buffer max 65536 bytes
[ 721.439239] sof-audio-pci 0000:00:1f.3: pcm: open stream 0 dir 1
[ 721.439247] sof-audio-pci 0000:00:1f.3: period min 192 max 16384 bytes
[ 721.439252] sof-audio-pci 0000:00:1f.3: period count 2 max 16
[ 721.439256] sof-audio-pci 0000:00:1f.3: buffer max 65536 bytes
[ 721.440281] sof-audio-pci 0000:00:1f.3: pcm: close stream 0 dir 0
[ 721.440510] sof-audio-pci 0000:00:1f.3: pcm: open stream 0 dir 0
[ 721.440520] sof-audio-pci 0000:00:1f.3: period min 192 max 16384 bytes
[ 721.440526] sof-audio-pci 0000:00:1f.3: period count 2 max 16
[ 721.440574] sof-audio-pci 0000:00:1f.3: buffer max 65536 bytes
[ 721.440661] sof-audio-pci 0000:00:1f.3: pcm: close stream 0 dir 1
[ 721.440789] sof-audio-pci 0000:00:1f.3: pcm: open stream 0 dir 1
[ 721.440797] sof-audio-pci 0000:00:1f.3: period min 192 max 16384 bytes
[ 721.440803] sof-audio-pci 0000:00:1f.3: period count 2 max 16
[ 721.440808] sof-audio-pci 0000:00:1f.3: buffer max 65536 bytes
[ 721.441324] sof-audio-pci 0000:00:1f.3: pcm: close stream 0 dir 0
[ 721.441372] sof-audio-pci 0000:00:1f.3: pcm: close stream 0 dir 1
[ 735.497689] usb 1-1: new high-speed USB device number 8 using xhci_hcd
[ 735.626099] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.36
[ 735.626107] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 735.626112] usb 1-1: Product: USB2.0 Hub
[ 735.627446] hub 1-1:1.0: USB hub found
[ 735.627711] hub 1-1:1.0: 4 ports detected
[ 735.908684] usb 1-1.1: new high-speed USB device number 9 using xhci_hcd
[ 736.000727] usb 1-1.1: New USB device found, idVendor=0b95, idProduct=7720, bcdDevice= 0.01
[ 736.000734] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 736.000739] usb 1-1.1: Product: AX88772A
[ 736.000743] usb 1-1.1: Manufacturer: ASIX Elec. Corp.
[ 736.000747] usb 1-1.1: SerialNumber: 00044E
[ 736.420074] asix 1-1.1:1.0 eth0: register 'asix' at usb-0000:00:14.0-1.1, ASIX AX88772 USB 2.0 Ethernet, 00:0e:c6:b7:2c:16
[ 736.484903] usb 1-1.3: new low-speed USB device number 10 using xhci_hcd
[ 736.569412] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c063, bcdDevice=57.00
[ 736.569421] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 736.569427] usb 1-1.3: Product: DELL USB Laser Mouse
[ 736.569431] usb 1-1.3: Manufacturer: DELL
[ 736.578137] input: DELL DELL USB Laser Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C063.0002/input/input13
[ 736.578465] hid-generic 0003:046D:C063.0002: input,hidraw0: USB HID v1.10 Mouse [DELL DELL USB Laser Mouse] on usb-0000:00:14.0-1.3/input0
[ 736.597491] asix 1-1.1:1.0 enx000ec6b72c16: renamed from eth0
[ 737.982472] IPv6: ADDRCONF(NETDEV_CHANGE): enx000ec6b72c16: link becomes ready
[ 737.985981] asix 1-1.1:1.0 enx000ec6b72c16: link up, 100Mbps, full-duplex, lpa 0xCDE1
[ 789.781781] sof-audio-pci 0000:00:1f.3: pcm: open stream 0 dir 1
[ 789.781790] sof-audio-pci 0000:00:1f.3: period min 192 max 16384 bytes
[ 789.781794] sof-audio-pci 0000:00:1f.3: period count 2 max 16
[ 789.781798] sof-audio-pci 0000:00:1f.3: buffer max 65536 bytes
[ 789.781993] sof-audio-pci 0000:00:1f.3: pcm: open stream 0 dir 0
[ 789.782000] sof-audio-pci 0000:00:1f.3: period min 192 max 16384 bytes
[ 789.782004] sof-audio-pci 0000:00:1f.3: period count 2 max 16
[ 789.782008] sof-audio-pci 0000:00:1f.3: buffer max 65536 bytes
[ 789.782879] sof-audio-pci 0000:00:1f.3: pcm: close stream 0 dir 1
[ 789.783235] sof-audio-pci 0000:00:1f.3: pcm: close stream 0 dir 0
[ 821.283144] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[ 821.283176] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
[ 821.306963] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40010000: GLB_PM_MSG: CTX_SAVE
[ 821.612004] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x40010000 size 76
[ 821.612014] sof-audio-pci 0000:00:1f.3: unknown ROM status value ffffffff
[ 821.612349] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0xffffffff trace 0xffffffff
[ 821.612357] sof-audio-pci 0000:00:1f.3: error: host status 0x80000000 dsp status 0x00000000 mask 0x00000003
[ 821.612358] sof-audio-pci 0000:00:1f.3: error: ctx_save ipc error during suspend -110
[ 821.612363] sof-audio-pci 0000:00:1f.3: can't suspend (snd_sof_runtime_suspend [snd_sof] returned -110)
[ 901.919021] sof-audio-pci 0000:00:1f.3: pcm: open stream 0 dir 0
[ 901.919029] sof-audio-pci 0000:00:1f.3: period min 192 max 16384 bytes
[ 901.919033] sof-audio-pci 0000:00:1f.3: period count 2 max 16
[ 901.919036] sof-audio-pci 0000:00:1f.3: buffer max 65536 bytes
[ 901.919962] sof-audio-pci 0000:00:1f.3: pcm: close stream 0 dir 0
As per recent test result, no timeouts should be observed anymore in the original scenarios of this bug:
""Scenario A:Do system reboot stress test. Error occurred after system reboot.
Scenario B:Do aplay test several times. Error occurred after Stop aplay""
Activity
jason77-wang commentedon May 9, 2019
I met a similar/ same issue last night. the reproduce rate is about 1/10.
please refer to: https://bugs.launchpad.net/somerville/+bug/1821270/comments/29
tlauda commentedon May 14, 2019
@ClarexZhou FW log is empty.
ClarexZhou commentedon May 14, 2019
@tlauda my mistake. update FW log in original error.
ClarexZhou commentedon May 17, 2019
Error occurred twice during 330 times system reboot stress test on CML latptop.
No error sof logger.
Environment
Kernel: linux-image-ipc_only.deb https://drive.google.com/drive/folders/16DI8IFPIGf-xjHw2n-5iVPwnkIyB-jpc?usp=sharing
Firmware repo: b73b9a6 https://github.com/thesofproject/sof/tree/debug-ipc-timeout
Topology: https://github.com/thesofproject/sof/tree/debug-ipc-timeout . Same as above SOF repo
file: tools/topology/sof-hda-generic.m4, sof-hda-generic-2ch.tplg
dmesg_failed_205.log
dmesg_failed_216.log
logger-t_failed_205.log
logger-t_failed_216.log
YvonneYang2 commentedon May 22, 2019
Error occurred once after one time reboot.
Environment
Firmware: 5fa2426 https://github.com/thesofproject/sof/tree/master
Kernel: b58f448 https://github.com/thesofproject/linux/tree/release/sof-v5.0
Topology: file: tools/topology/sof-hda-generic.tplg, sof-hda-generic-2ch.tplg same as firmware
Kconfig: https://sof-ci-storage.sh.intel.com/daily/20190521/release/linux/topic/sof-dev/901cd2a5-2/config-daily-hda-20190521.txt
platform :CML laptop
dmesg
reboot_failed.log
reboot_failed_logger.log
stevyan commentedon May 22, 2019
Error occurred when try to paplay/parecord on the CFL RVP HDA.
Precondition
pulseaudio enabled.
To reproduce
Actual Result
Test Recipe
date: 2019-05-22
sof (master): 3e423f4
linux (topic/sof-dev): e3ec7cf
topology: sof-hda-generic.tplg
dmesg log
paplay_failed-dmesg.log
paplay_failed-slogger.log
ClarexZhou commentedon May 24, 2019
Error occurred on CML laptop after stop aplay during aplay -d 1 stress test in 107th
Environment
Kernel: 9453da1 https://github.com/lyakh/linux/tree/ipc-timeout (with PR895)
FW:b527fd7 https://github.com/lyakh/sof/tree/ipc-timeout (with PR1354)
Topology:Same as above FW repo, file: tools/topology/sof-hda-generic.m4, sof-hda-generic-2ch.tplg
kconfig:
unset CONFIG_SND_SOC_SOF_DEBUG_ENABLE_FIRMWARE_TRACE
unset CONFIG_SND_SOC_SOF_DEBUG_ENABLE_DEBUGFS_CACHE
No error logger, dmesg as below:
aplay_107_dmesg.log
keyonjie commentedon May 27, 2019
Hi @ClarexZhou can this be reproduced with latest ipc-timeout recipe?
ClarexZhou commentedon May 28, 2019
Error occurred during multipipline stress test after about 13th times. aplay response very slow and can't be played successfully in stress test. Stop stress test then aplay manually, ipc timed out.
Environment
Kernel: https://github.com/lyakh/linux/tree/ipc-timeout commit 9453da1 (with PR895)
FW:https://github.com/lyakh/sof/tree/ipc-timeout commit 47dc14d (with PR1354 and PR1470)
Kconfig: disable CONFIG_SND_SOC_SOF_DEBUG_ENABLE_DEBUGFS_CACHE in kernel config.
mulitpipline_13_dmesg.log
mulitpipline_13_logger_all.log
YvonneYang2 commentedon May 29, 2019
Issue occurred after finishing the 300 times s3 without playback test.
Test recipe
date: 2019-05-29
sof (master): b4d292d
linux (topic/sof-dev): d1008d1
topology: sof-apl-nocodec.tplg
platform: cd-apl-up2-nocodec-03
dmesg
s3_without_playback_500_dmesg.log
s3_without_playback_500_logger.log
kv2019i commentedon Jun 14, 2019
@ClarexZhou Can this be closed?
As per recent test result, no timeouts should be observed anymore in the original scenarios of this bug:
""Scenario A:Do system reboot stress test. Error occurred after system reboot.
Scenario B:Do aplay test several times. Error occurred after Stop aplay""
ClarexZhou commentedon Jun 17, 2019
Close for not reproduced on sof-dev 96033e6