Comment 31 for bug 893402

Revision history for this message
Dmitry Dudkin (ddv) wrote :

@Sebastien,

Did you try it on Linaro 12.01? I can't get it work at all with plughw:0,0 & plughw:0,6.

On 0,0 it never end the playback and crash in kernel. And speaker-test does not work with error:
root@linaro-developer:/proc/asound# speaker-test -D plughw:0,0 -t s -c 2 -l 1 -F S32_LE

speaker-test 1.0.24.2

Playback device is plughw:0,0
Stream parameters are 48000Hz, S32_LE, 2 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 24 to 16384
Period size range from 12 to 8184
Using max buffer size 16384
Periods = 4
Unable to set nperiods 4 for playback: Invalid argument
Setting of hwparams failed: Invalid argument

On 0,6 it try to play but I don't hear anything. And it crash in kernel too:
[99422.147979] omap-abe-dai omap-abe-dai: omap_abe_dai_startup: MultiMedia1 LP
[99422.158508] omap-abe-dai omap-abe-dai: omap_abe_dai_hw_params: MultiMedia1 LP
[99422.185394] omap-abe-dai omap-abe-dai: omap_abe_dai_prepare: MultiMedia1 LP
[99422.197052] omap-abe-dai omap-abe-dai: omap_abe_dai_bespoke_trigger: MultiMedia1 LP cmd 1
[99422.197052] SDP4430 Media LP: playback_trigger: MultiMedia1 LP 0
[99422.197784] PDM-DL1: mute_be: mcpdm-dl1 0
[99422.197784] PDM-DL1: enable_be_port: mcpdm-dl1 0
[99422.198089] PDM-DL1: unmute_be: mcpdm-dl1 0
[99422.198089] SDP4430 Media LP: enable_fe_port: MultiMedia1 LP 0
[99422.198242] SDP4430 Media LP: unmute_fe_port: MultiMedia1 LP 0
[99422.198242] SDP4430 Media LP: mute_fe_port_playback: unmute FE SDP4430 Media LP BE PDM-DL1
[99428.265991] omap-abe-dai omap-abe-dai: omap_abe_dai_bespoke_trigger: MultiMedia1 LP cmd 0
[99428.265991] SDP4430 Media LP: playback_trigger: MultiMedia1 LP 0
[99428.266143] SDP4430 Media LP: mute_fe_port: MultiMedia1 LP 0
[99428.266143] SDP4430 Media LP: mute_fe_port_playback: mute FE SDP4430 Media LP BE PDM-DL1
[99428.266143] SDP4430 Media LP: disable_fe_port: MultiMedia1 LP 0
[99428.266357] PDM-DL1: mute_be: mcpdm-dl1 0
[99428.266357] PDM-DL1: disable_be_port: mcpdm-dl1 0
[99428.266723] omap-abe-dai omap-abe-dai: omap_abe_dai_hw_free: MultiMedia1 LP
[99428.267059] omap-abe-dai omap-abe-dai: omap_abe_dai_hw_free: MultiMedia1 LP
[99428.292083] ------------[ cut here ]------------
[99428.292083] WARNING: at /build/buildd/linux-linaro-lt-omap-3.1.1/sound/soc/omap/abe/port_mgr.c:192 omap_abe_port_disable+0x64/0xc4()
[99428.292083] port pdmdl1 phy port 11 is already disabled
[99428.292236] Modules linked in: wl12xx_sdio wl12xx
[99428.292236] [<c001b5f0>] (unwind_backtrace+0x0/0xec) from [<c0716ce8>] (dump_stack+0x20/0x24)
[99428.292388] [<c0716ce8>] (dump_stack+0x20/0x24) from [<c005e224>] (warn_slowpath_common+0x5c/0x74)
[99428.292388] [<c005e224>] (warn_slowpath_common+0x5c/0x74) from [<c005e2f8>] (warn_slowpath_fmt+0x40/0x48)
[99428.292388] [<c005e2f8>] (warn_slowpath_fmt+0x40/0x48) from [<c0591e84>] (omap_abe_port_disable+0x64/0xc4)
[99428.292510] [<c0591e84>] (omap_abe_port_disable+0x64/0xc4) from [<c05865fc>] (omap_mcpdm_dai_shutdown+0xc8/0x158)
[99428.292510] [<c05865fc>] (omap_mcpdm_dai_shutdown+0xc8/0x158) from [<c057df10>] (soc_pcm_close+0x100/0x1dc)
[99428.292694] [<c057df10>] (soc_pcm_close+0x100/0x1dc) from [<c057e09c>] (soc_dsp_be_dai_shutdown+0xb0/0xe0)
[99428.292755] [<c057e09c>] (soc_dsp_be_dai_shutdown+0xb0/0xe0) from [<c057ff4c>] (soc_dsp_fe_dai_shutdown+0x50/0xa4)
[99428.292755] [<c057ff4c>] (soc_dsp_fe_dai_shutdown+0x50/0xa4) from [<c057ffc4>] (soc_dsp_fe_dai_close+0x24/0x19c)
[99428.292755] [<c057ffc4>] (soc_dsp_fe_dai_close+0x24/0x19c) from [<c0569a18>] (snd_pcm_release_substream.part.12+0x50/0xa0)
[99428.292938] [<c0569a18>] (snd_pcm_release_substream.part.12+0x50/0xa0) from [<c0569a94>] (snd_pcm_release_substream+0x2c/0x30)
[99428.292999] [<c0569a94>] (snd_pcm_release_substream+0x2c/0x30) from [<c0569af8>] (snd_pcm_release+0x60/0xb0)
[99428.292999] [<c0569af8>] (snd_pcm_release+0x60/0xb0) from [<c0117bd8>] (__fput+0xf8/0x1bc)
[99428.293121] [<c0117bd8>] (__fput+0xf8/0x1bc) from [<c0117cdc>] (fput+0x40/0x44)
[99428.293182] [<c0117cdc>] (fput+0x40/0x44) from [<c0114dcc>] (filp_close+0x80/0x8c)
[99428.293182] [<c0114dcc>] (filp_close+0x80/0x8c) from [<c0114e8c>] (sys_close+0xb4/0xf4)
[99428.293182] [<c0114e8c>] (sys_close+0xb4/0xf4) from [<c00130e0>] (ret_fast_syscall+0x0/0x3c)
[99428.293182] ---[ end trace da227214a82491cb ]---
[99428.293334] ------------[ cut here ]------------
[99428.293334] WARNING: at /build/buildd/linux-linaro-lt-omap-3.1.1/sound/soc/omap/abe/port_mgr.c:192 omap_abe_port_disable+0x64/0xc4()
[99428.293334] port pdmul1 phy port 1 is already disabled
[99428.293457] Modules linked in: wl12xx_sdio wl12xx
[99428.293548] [<c001b5f0>] (unwind_backtrace+0x0/0xec) from [<c0716ce8>] (dump_stack+0x20/0x24)
[99428.293548] [<c0716ce8>] (dump_stack+0x20/0x24) from [<c005e224>] (warn_slowpath_common+0x5c/0x74)
[99428.293640] [<c005e224>] (warn_slowpath_common+0x5c/0x74) from [<c005e2f8>] (warn_slowpath_fmt+0x40/0x48)
[99428.293640] [<c005e2f8>] (warn_slowpath_fmt+0x40/0x48) from [<c0591e84>] (omap_abe_port_disable+0x64/0xc4)
[99428.293640] [<c0591e84>] (omap_abe_port_disable+0x64/0xc4) from [<c0586608>] (omap_mcpdm_dai_shutdown+0xd4/0x158)
[99428.293640] [<c0586608>] (omap_mcpdm_dai_shutdown+0xd4/0x158) from [<c057df10>] (soc_pcm_close+0x100/0x1dc)
[99428.293640] [<c057df10>] (soc_pcm_close+0x100/0x1dc) from [<c057e09c>] (soc_dsp_be_dai_shutdown+0xb0/0xe0)
[99428.293640] [<c057e09c>] (soc_dsp_be_dai_shutdown+0xb0/0xe0) from [<c057ff4c>] (soc_dsp_fe_dai_shutdown+0x50/0xa4)
[99428.293640] [<c057ff4c>] (soc_dsp_fe_dai_shutdown+0x50/0xa4) from [<c057ffc4>] (soc_dsp_fe_dai_close+0x24/0x19c)
[99428.293640] [<c057ffc4>] (soc_dsp_fe_dai_close+0x24/0x19c) from [<c0569a18>] (snd_pcm_release_substream.part.12+0x50/0xa0)
[99428.293640] [<c0569a18>] (snd_pcm_release_substream.part.12+0x50/0xa0) from [<c0569a94>] (snd_pcm_release_substream+0x2c/0x30)
[99428.294128] [<c0569a94>] (snd_pcm_release_substream+0x2c/0x30) from [<c0569af8>] (snd_pcm_release+0x60/0xb0)
[99428.294128] [<c0569af8>] (snd_pcm_release+0x60/0xb0) from [<c0117bd8>] (__fput+0xf8/0x1bc)
[99428.294281] [<c0117bd8>] (__fput+0xf8/0x1bc) from [<c0117cdc>] (fput+0x40/0x44)
[99428.294342] [<c0117cdc>] (fput+0x40/0x44) from [<c0114dcc>] (filp_close+0x80/0x8c)
[99428.294342] [<c0114dcc>] (filp_close+0x80/0x8c) from [<c0114e8c>] (sys_close+0xb4/0xf4)
[99428.294342] [<c0114e8c>] (sys_close+0xb4/0xf4) from [<c00130e0>] (ret_fast_syscall+0x0/0x3c)
[99428.294342] ---[ end trace da227214a82491cc ]---
[99428.297271] omap-abe-dai omap-abe-dai: omap_abe_dai_shutdown: MultiMedia1 LP
root@linaro-developer:~#
=======================================================================

Could you test it with your kernel?

Dmitry