This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

crash on aplay with usb audio on dm365

Hi

Has any body tried USB sound card with DM365? I am working on DM365 DVR RDK. http://www.udworks.com/home01/eg/product/sub10.php

The LSP version used is 02.10.0014.

I enabled snd_usb_audio support in the kernel.

If I run aplay and kill using ctrl-c I get kernel crash as below.

The usb sound I am using is this one: http://www.soundblaster.com/products/product.asp?category=1&subcategory=207&product=17892

This is built on C-Media USB chip.

Has anybody seen this kind of problem?

 

Thanks

George

 

===============

Unable to handle kernel NULL pointer dereference at virtual address 00000008
pgd = c0004000
[00000008] *pgd=00000000
Internal error: Oops: 17 [#1]
Modules linked in: ipv6
CPU: 0
PC is at cppi_completion+0x78/0x268
LR is at 0xfffffffc
pc : [<c0334864>]    lr : [<fffffffc>]    Not tainted
sp : c2b87c38  ip : 00000000  fp : c2b87c74
r10: c0 00000002 00000001 00000000 c2b87d1c c2b87d00 c00f2ba0 c012e3c8
7d00: c2b87d1c ffffffff fbc48000 c389ac80 c2b87d7c c2b87d20 c00f19e4 c00f2b70
7d20: 00000000 00000006 00000001 60000013 c2b86000 c06fa9e0 c389ac80 c00e5600
7d40: c3f0e500 00000000 00000000 c2b87d7c c3aaf0a0 c2b87d68 c0103404 c034a814
7d60: 60000013 ffffffff c06fa9e0 c00e5708 c2b87d94 c2b87d80 c034b5f4 c034a780
7d80: c389ac80 c06fa9e0 c2b87dbc c2b87d98 c034b6a4 c034b5d8 c3f0e500 00000008
7da0: c3f0e50 c0150ff4 c0154a0c
7e00: c0701bc0 00000003 c05f4680 00000010 c2b87e4c c2b87e20 c0109b6c c0150f8c
7e20: c2b87e4c c05f4680 c0701bc0 c00a6030 00000001 00000002 00000000 c2b87f50
7e40: c2b87e6c c2b87e50 c010b174 c0109ae8 c2b87ec4 c2b87e98 00000000 c2b86000
7e60: c2b87e84 c2b87e70 c010ba04 c010af34 00000000 00000009 c2b87ebc c2b87e88
7e80: c01168f0 c010b958 c2b87fb0 c0701da0 c2b87e90 c2b86000 c00f1f88 c2b87fb0
7ea0: 00000000 c00f1f88 c2b86000 00000000 c2b87f9c c2b87ec0 c00f4bcc c0116520
7ec0: 0001c5f8 c3f0e500 c0701da0 00000000 00000009 00000000 00000000 00000000
7ee0: 00000000 00000000 4034f408 00000280 c2b87f74 c3f0e50x1bc)
 r8 = 00000000  r7 = C07C8DA0  r6 = C07C8DA0  r5 = C2B86000
 r4 = 00010002
[<c012c7b8>] (handle_IRQ_event+0x0/0x1bc) from [<c012e4d0>] (handle_edge_irq+0x118/0x1cc)
[<c012e3b8>] (handle_edge_irq+0x0/0x1cc) from [<c00f2ba0>] (asm_do_IRQ+0x40/0x50)
[<c00f2b60>] (asm_do_IRQ+0x0/0x50) from [<c00f19e4>] (__irq_svc+0x44/0x70)
 r6 = C389AC80  r5 = FBC48000  r4 = FFFFFFFF
[<c034a770>] (snd_pcm_drop+0x0/0xc8) from [<c034b5f4>] (snd_pcm_release_substream+0x2c/0x94)
 r5 = C00E5708  r4 = C06FA9E0
[<c034b5c8>] (snd_pcm_release_substream+0x0/0x94) from [<c034b6a4>] (snd_pcm_release+0x48/0bcc>] (do_signal+0x58/0x4e0)
[<c00f4b74>] (do_signal+0x0/0x4e0) from [<c00f5080>] (do_notify_resume+0x2c/0x30)
[<c00f5054>] (do_notify_resume+0x0/0x30) from [<c00f1e2c>] (work_pending+0x1c/0x20)
Code: e5940064 e3a0c000 e596e01c e1a01000 (e1d130b8)
 <1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 817 [#2]
Modules linked in: ipv6
CPU: 0
PC is at do_e7abc
r10: c040b87c  r9 : bf000000  r8 : 0000000b
r7 : 00000000  r6 : 00000001  r5 : c0701bc0  r4 : c2b86000
r3 : 00000000  r2 : c2b86000  r1 : c046ff40  r0 : 00000000
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: 5317F
Table: 82A3C000  DAC: 00000015
Process audio_loopback (pid: 1583, stack limit = 0xc2b86258)
Stack: (0xc2b87aa0 to 0xc2b88000)
7aa0: c0334866 00000000 00000001 00000000 c2b87ad4 c2b87ac0 c00f6708 c010af34
7ac0: bf000000 00000008 c2b87af4 c2b87ad8 c00f8b24 c00f6398 ffffffff c046cc00
7ae0: 00000017 c0701bc0 c2b87b3c c2b87af8 c00f8dc8  c06db0c8 c2b86000 c5862000 40000013 c2b87d20
7c60: 0000000c c2b87d20 c2b87c9c c2b87c78 c0331728 c03347fc 0000000c 00010002
7c80: c2b86000 c07c8da0 c07c8da0 00000000 c2b87cd4 c2b87ca0 c012c890 c03316e0
7ca0: c0112d58 00000000 00000001 c0468300 c2b86000 0000000c c07c8da0 c2b87d20
7cc0: c2b86000 c04f7704 c2b87cfc c2b87cd8 c012e4d0 c012c7c8 0000000c c0468300
7ce0: c2b87d20 00000002 00000001 00000000 c2b87d1c c2b87d00 c00f2ba0 c012e3c8
7d00: c2b87d1000 c2b86000
7e60: c2b87e84 c2b87e70 c010ba04 c010af34 00000000 00000009 c2b87ebc c2b87e88
7e80: c01168f0 c010b958 c2b87fb0 c0701da0 c2b87e90 c2b86000 c00f1f88 c2b87fb0
7ea0: 00000000 c00f1f88 c2b86000 00000000 c2b87f9c c2b87ec0 c00f4bcc c0116520
7ec0: 0001c5f8 c3f0e500 c0701da0 00000000 00000009 00000000 00000000 00000000
7ee0: 00000000 00000000 4034f408 00000280 c2b87f74 c3ab8>] (__do_kernel_fault+0x0/0x7c) from [<c00f8dc8>] (do_page_fault+0x294/0x2bc)
 r7 = C0701BC0  r6 = 00000017  r5 = C046CC00  r4 = FFFFFFFF
[<c00f8b34>] (do_page_fault+0x0/0x2bc) from [<c00f8f80>] (do_DataAbort+0x3c/0xa0)
[<c00f8f44>] (do_DataAbort+0x0/0xa0) from [<c00f198c>] (__dabt_svc+0x4c/0x60)
 r8 = 00000001  r7 = C0702C00  r6 = C5862100  r5 = C2B87C24
 r4 = Frelease_substream+0x2c/0x94)
 r5 = C00E5708  r4 = C06FA9E0
[<c034b5c8>] (snd_pcm_release_substream+0x0/0x94) from [<c034b6a4>] (snd_pcm_release+0x48/0xf0)
 r4 = C06FA9E0
[<c034b65c>] (snd_pcm_release+0x0/0xf0) from [<c0154768>] (__fput+0xb4/0x214)
 r8 = C05E4DA0  r7 = C389B3B8  r6 = C3ED8C00  r5 = C3F0E500
 r4 = 00000008
[<c01c>] (work_pending+0x1c/0x20)
Code: e3c334ff e3c330ff e3530000 13a03000 (15833000)