Tinyplay fails on pandaboard line out

Bug #937348 reported by Kurt Taylor
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
Undecided
Unassigned
Linaro Multimedia WG project
Won't Fix
High
Kurt Taylor

Bug Description

On builds from the 12.01 release and 191 panda-ics-gcc46-tilt-tracking-blob code, tinyplay fails to play a wav file. The file is from alsa sounds Front_Center.wav and is 1 ch, 48000 hz, 16 bit. Line out is used due to the forced default in the current audio_hw.c. The wav plays fine using the ui media player, but not at the command line. The build and the binaries are installed using the methods listed on the build job details page. The mixer values specified in 908957 were also tried without success.

This is the short log output from the 191 code:
...
CPU : OMAP4430 ES2.1
Board: OMAP4 Panda
I2C: ready
DRAM: 1 GiB
WARNING: Caches not enabled
MMC: OMAP SD/MMC: 0
Using default environment
...
root@android:/ # tinyplay /system/Front_Center.wav
Playing sample: 1 ch, 48000 hz, 16 bit
[ 370.473480] ------------[ cut here ]------------
[ 370.478332] WARNING: at /home/krtaylor/android/kernel/arch/arm/mach-omap2/omap_l3_noc.c:113 l3_interrupt_handler+0xb4/0x164()
[ 370.490600] L3 custom error: MASTER:SDMA_Wr TARGET:ABE
[ 370.496093] Modules linked in: wl12xx wl1273_core btwilink rfcomm hci_uart bnep bluetooth st_drv gator(O)
[ 370.496093] [<c0019c10>] (unwind_backtrace+0x0/0xf8) from [<c0042858>] (warn_slowpath_common+0x4c/0x64)
[ 370.496093] [<c0042858>] (warn_slowpath_common+0x4c/0x64) from [<c0042904>] (warn_slowpath_fmt+0x30/0x40)
[ 370.526763] [<c0042904>] (warn_slowpath_fmt+0x30/0x40) from [<c002bf00>] (l3_interrupt_handler+0xb4/0x164)
[ 370.526763] (stk) :ldisc_install = 1[<c002bf00>] (l3_interrupt_handler+0xb4/0x164) from [<c0081a2c>] (handle_irq_event_percpu+0x60/0x2d4)
[ 370.535308] [<c0081a2c>] (handle_irq_event_percpu+0x60/0x2d4) from [<c0081cdc>] (handle_irq_event+0x3c/0x5c)
[ 370.535308] [<c0081cdc>] (handle_irq_event+0x3c/0x5c) from [<c008464c>] (handle_fasteoi_irq+0x98/0x140)
[ 370.535308] [<c008464c>] (handle_fasteoi_irq+0x98/0x140) from [<c00812a0>] (generic_handle_irq+0x30/0x44)
[ 370.535308] [<c00812a0>] (generic_handle_irq+0x30/0x44) from [<c0013c18>] (handle_IRQ+0x4c/0xac)
[ 370.535308] [<c0013c18>] (handle_IRQ+0x4c/0xac) from [<c06260b4>] (__irq_svc+0x34/0xac)
[ 370.599151] [<c06260b4>] (__irq_svc+0x34/0xac) from [<c0625850>] (_raw_read_unlock_irq+0x2c/0x54)
[ 370.608673] [<c0625850>] (_raw_read_unlock_irq+0x2c/0x54) from [<c0483c94>] (snd_pcm_lib_write1+0x304/0x314)
[ 370.608673] [<c0483c94>] (snd_pcm_lib_write1+0x304/0x314) from [<c0483d4c>] (snd_pcm_lib_write+0x50/0x5c)
[ 370.608673] [<c0483d4c>] (snd_pcm_lib_write+0x50/0x5c) from [<c04805b4>] (snd_pcm_playback_ioctl1+0x1a0/0x3e0)
[ 370.608673] [<c04805b4>] (snd_pcm_playback_ioctl1+0x1a0/0x3e0) from [<c00e56f0>] (do_vfs_ioctl+0x80/0x550)
[ 370.650482] [<c00e56f0>] (do_vfs_ioctl+0x80/0x550) from [<c00e5c30>] (sys_ioctl+0x70/0x78)
[ 370.650482] [<c00e5c30>] (sys_ioctl+0x70/0x78) from [<c0012d20>] (ret_fast_syscall+0x0/0x30)
[ 370.650482] ---[ end trace 1b75b31a2719ed3d ]---
[ 370.673339] DMA transaction error with device 101
...
[repeats]
...

Revision history for this message
Kurt Taylor (krtaylor) wrote :

More testing - I am narrowing this bug down. Vishal's pcm works with tinyplay, it is 2ch, 48000, S16LE. But, if you then try to play a 1ch file at 48000, S16LE it fails with the above messages on the console. After this, nothing will play correctly again with tinyplay or the music player, not even the stereo sample. It appears that this is a problem with the driver, 1) not playing a mono file, and 2) not gracefully recovering from an unsupported(?) attempt

Revision history for this message
Tom Gall (tom-gall) wrote :

we will engage this issue when the updated TI LT kernel shows up in git.

Changed in linaro-multimedia-project:
importance: Undecided → High
assignee: nobody → Kurt Taylor (kurt-r-taylor)
tags: added: linaro-android
Revision history for this message
Kurt Taylor (krtaylor) wrote :

Driver issuse that won't be fix in this code - new driver coming via TI LT that will be retested for this bug.

Changed in linaro-multimedia-project:
status: New → Won't Fix
Kurt Taylor (krtaylor)
Changed in linaro-android:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.