-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Labels
bugSomething isn't working as expectedSomething isn't working as expected
Milestone
Description
Describe the bug
Cherrytrail playback fails, reboots sometimes gets system to a good state which allows playback but occasionally this will appear in the logs
0 2 DMA 32400464.635417 1.979167 src/drivers/dw/dma.c:442 dw_dma_stop(): dma 1 channel 0 stop
0 1 WAIT 32401809.166667 1344.531250 src/lib/wait.c:96 ewt
0 1 DMA 32401815.989583 6.822917 src/drivers/dw/dma.c:460 dw_dma_stop() error: dma 1 channel 0
or
0 2 SSP 51489200.677083 2.708333 intel/baytrail/ssp.c:572 ssp_trigger()
0 2 SSP 51489203.385417 2.708333 intel/baytrail/ssp.c:521 ssp_start()
0 1 DMA 51490154.375000 950.989563 src/drivers/dw/dma.c:275 dw_dma_start() error: dma 2 channel 1 not ready ena 0x0 status 0x5
0 1 HOST 1.1 51490166.093750 11.718750 src/audio/host.c:796 host_copy() error: dma_copy() failed, ret = 4294967280
0 1 PIPE 51490174.687500 8.593750 src/audio/pipeline.c:801 pipeline_copy() error: ret = -16, start->comp.id = 3, dir = 1
0 1 PIPE 1.10 51490184.843750 10.156250 src/audio/pipeline.c:977 pipeline_task(): xrun recover failed! pipeline will be stopped!
To Reproduce
Load cyan with SOF Tot and attempt to run a speaker test
Reproduction Rate
4 out of 5 reboots approximately
Expected behavior
system is stable
Impact
blocker for kerneluprev for bsw
Environment
- Branch name and commit hash
- SOF 460c41a (master) (with topology: sof-cht-max98090 move DAI definition above media pipeline #1846 and topology: cht-max98090 add missing virtual widgets #1842)
- Kernel 6fc7eb3 (topic/sof-dev)
- Name of the topology file
- sof-cht-max98090.tplg
- Name of the platform(s) on which the bug is observed
- Cherrytrail
Screenshots or console output
localhost ~ # speaker-test -D hw:1,0 -c 2
speaker-test 1.1.6
Playback device is hw:1,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 16368
Period size range from 48 to 4080
Using max buffer size 16368
Periods = 4
was set period_size = 3312
was set buffer_size = 16368
0 - Front Left
Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Input/output error
Relevant dmesg logs
[ 51.864104] sof-audio-acpi 808622A8:00: pcm: open stream 0 dir 0
[ 51.864110] sof-audio-acpi 808622A8:00: period min 192 max 16384 bytes
[ 51.864113] sof-audio-acpi 808622A8:00: period count 2 max 16
[ 51.864116] sof-audio-acpi 808622A8:00: buffer max 65536 bytes
[ 51.864511] sof-audio-acpi 808622A8:00: rate_min: 48000 rate_max: 48000
[ 51.864515] sof-audio-acpi 808622A8:00: channels_min: 2 channels_max: 2
[ 51.866616] sof-audio-acpi 808622A8:00: rate_min: 48000 rate_max: 48000
[ 51.866634] sof-audio-acpi 808622A8:00: channels_min: 2 channels_max: 2
[ 51.866965] sof-audio-acpi 808622A8:00: rate_min: 48000 rate_max: 48000
[ 51.866969] sof-audio-acpi 808622A8:00: channels_min: 2 channels_max: 2
[ 51.866984] sof-audio-acpi 808622A8:00: pcm: hw params stream 0 dir 0
[ 51.866992] sof-audio-acpi 808622A8:00: generating page table for 00000000ab5ef320 size 0xffc0 pages 16
[ 51.866998] sof-audio-acpi 808622A8:00: stream_tag 0
[ 51.867012] sof-audio-acpi 808622A8:00: ipc tx: 0x60010000
[ 51.867824] sof-audio-acpi 808622A8:00: ipc tx succeeded: 0x60010000
[ 51.867850] sof-audio-acpi 808622A8:00: pcm: stream dir 0, posn mailbox offset is 1329664
[ 51.871161] sof-audio-acpi 808622A8:00: pcm: trigger stream 0 dir 0 cmd 1
[ 51.871172] sof-audio-acpi 808622A8:00: ipc tx: 0x60040000
[ 51.871357] sof-audio-acpi 808622A8:00: ipc tx succeeded: 0x60040000
[ 52.375426] sof-audio-acpi 808622A8:00: PCM: stream 0 dir 0 DMA position 0 DAI position 0
[ 52.879599] sof-audio-acpi 808622A8:00: pcm: trigger stream 0 dir 0 cmd 0
[ 52.879625] sof-audio-acpi 808622A8:00: ipc tx: 0x60050000
[ 52.880581] sof-audio-acpi 808622A8:00: ipc tx succeeded: 0x60050000
[ 52.880608] sof-audio-acpi 808622A8:00: ipc tx: 0x60030000
[ 52.880854] sof-audio-acpi 808622A8:00: ipc tx succeeded: 0x60030000
[ 52.881092] sof-audio-acpi 808622A8:00: pcm: free stream 0 dir 0
[ 52.881589] sof-audio-acpi 808622A8:00: pcm: close stream 0 dir 0
Metadata
Metadata
Assignees
Labels
bugSomething isn't working as expectedSomething isn't working as expected