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.

kernel oops error after streaming with usb wireless module on dm368

In DM368 IPNC board, I could able to stream with realtek 8712u usb wireless module. But after some time >5 mins, kernel oops error comes, and then the system is crash. I tried the same driver in Desktop PC, where it worked without any issue. The kernel trace indicates some issues with musb.

the kernel oops errors are as below:

Unable to handle kernel NULL pointer dereference at virtual address 00000038
pgd = c5010000
[00000038] *pgd=85f7b031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
Modules linked in: g_file_storage 8712u sbull iscsi_tcp libiscsi scsi_transport_iscsi davinci_emac ppp_deflate ppp_async ppp_synctty ppp_generic netconsole slhc tun loop nfsd exportfs nls_utf8 nls_ascii sha1 md5 des deflate crc32c i2c_emac cfq_iosched deadline_iosched libcrc32c crc_ccitt usb_storage dm365mmap irqk edmak cmemk drv csl hello_world
CPU: 0
PC is at musb_start_urb+0x5c/0x7a4
LR is at musb_urb_enqueue+0x384/0x3d4
pc : [<c026593c>]    lr : [<c02667d0>]    Not tainted
sp : c52a7af8  ip : c5fd99bc  fp : c52a7b7c
r10: c5d527ac  r9 : 00000000  r8 : 60000013
r7 : c49edc20  r6 : c0667e48  r5 : c5fd98d0  r4 : c5d527a0
r3 : c0667e54  r2 : 00000000  r1 : 00000000  r0 : c6866400
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  Segment user
Control: 5317F
Table: 85010000  DAC: 00000015
Process system_server (pid: 773, stack limit = 0xc52a6258)
Stack: (0xc52a7af8 to 0xc52a8000)
7ae0:                                                       c038a300 c52a6000
7b00: 0000000c c5d527a0 00000000 c5fd98d0 c007498c c6866400 00000000 c038a300
7b20: c52a7b60 00000104 00000103 10360000 c52a7b5c c52a7b40 c0038ba4 c0054438
7b40: 00000606 ffffffff fbc48000 c0667e48 c52a7c5c c5d527a0 c5fd98d0 c0667e48
7b60: c49edc20 60000013 00000000 c5d527ac c52a7ba4 c52a7b80 c02667d0 c02658f0
7b80: 8460e200 c49edc20 c0667e48 c5fd9800 00000020 10360000 c52a7c5c c52a7ba8
7ba0: c0258428 c026645c c52a7bec c52a7bb8 c0072ce4 c52a7c38 c0068468 00000001
7bc0: 00003100 c038a300 c52a6000 0000000c c038a300 c52a6000 0000000c c060dc60
7be0: c52a7c14 c52a7bf0 c007498c c0323898 0000000c c038a300 c52a7c38 00000103
7c00: 00000102 00000000 c52a7c34 c52a7c18 c0038ba4 c0054438 00000000 c46e9028
7c20: c46e9028 c4730484 a0000013 c38f4840 c45e87e8 c49edc20 00000003 00000000
7c40: c03a5ce0 00000020 c5dd0000 10360000 c52a7c84 c52a7c60 c02587b8 c0257ce4
7c60: 00000000 c49edc20 c45e8280 00000000 c46e9028 00000146 c52a7cb4 c52a7c88
7c80: bf0d4e10 c02585b4 00000000 00000146 c46e9028 c460e200 c46e9028 00000000
7ca0: 00000004 c45e8280 c52a7cc4 c52a7cb8 bf0d67e0 bf0d4c18 c52a7cec c52a7cc8
7cc0: bf0f0ca4 bf0d67d4 00000001 c46e9028 c45e87e8 00000004 c45e8280 00000000
7ce0: c52a7d14 c52a7cf0 bf0f11c0 bf0f0be0 00000102 c45e8280 c52a6000 c0392170
7d00: c040f2e0 00000001 c52a7d2c c52a7d18 bf0d57f8 bf0f1128 c52a7da4 c45e89c8
7d20: c52a7d5c c52a7d30 c0053b9c bf0d57b8 00000006 c52a6000 00000001 00000000
7d40: c040f2e0 00000102 c040f2e0 00000000 c52a7d6c c52a7d60 c0053c70 c0053aac
7d60: c52a7da4 c52a7d70 c0053fd8 c0053c44 c0046d28 00000004 c05f6120 00400040
7d80: c52a6000 c52a7df0 00000001 00000000 c52a6000 00000000 c52a7dbc c52a7da8
7da0: c00540f4 c0053f4c 0000000c c038a300 c52a7dcc c52a7dc0 c0054470 c00540d0
7dc0: c52a7dec c52a7dd0 c0038ba4 c0054438 c52a6000 ffffffff fbc48000 00000000
7de0: c52a7fa4 c52a7df0 c00379e4 c0038b70 c52a7f68 43437d9c 00000004 00000000
7e00: ffffffff 43437d1c 00000000 00000000 00000005 43437d9c 00000000 c52a7fa4
7e20: 00000000 c52a7e3c c00b04d0 c01d33c8 60000013 ffffffff 00000000 c52a7f68
7e40: 00000008 00000000 ffffffff c00b04d0 00000010 00000000 00000000 00000000
7e60: 00000000 00000000 00071361 fffffffa c040fd7c c040f56c 00000001 60000013
7e80: 000369e1 00000000 000369e1 00000000 1e5b188c 00000445 c52a7ed4 00000000
7ea0: 1e5b188c fffffffe fffc5680 ffffffff c52a7eb0 c52a7eb0 c0391bb8 c52a6000
7ec0: 00000001 00000008 c52a7ee4 c52a7ed8 c00497a0 c52a6000 c05f6120 00000015
7ee0: c52a7f04 c52a7ef0 c005e648 c005da64 c4e4c01c c05f6120 c52a7f44 c52a7f08
7f00: c0037dc8 c005e634 c52a6000 ef000000 00000001 c05f6230 c00540f8 ffffffff
7f20: c52a6000 c05f6120 ffffffff 00000000 c52a6000 ef000000 c52a7f64 c52a7f48
7f40: c0323b0c c03230b0 ffffffff fbc48000 00000000 00000000 c52a7e58 c52a7e5c
7f60: c52a7e60 c52a7e64 00000000 00000000 ffffffff ffffffff 43437d9c 43437d9c
7f80: 43437d1c 400ae000 0000008e c0037f88 c52a6000 00000000 00000000 c52a7fa8
7fa0: c0037f58 c00b0478 43437d9c 43437d1c 00000005 43437d1c 00000000 00000000
7fc0: 43437d9c 43437d1c 400ae000 0000008e 400ae000 003d0f00 4009685c 00000000
7fe0: 00000000 43437cf0 40374ab4 40361c50 60000010 00000005 00000000 00000000
Backtrace:
[<c02658e0>] (musb_start_urb+0x0/0x7a4) from [<c02667d0>] (musb_urb_enqueue+0x384/0x3d4)
[<c026644c>] (musb_urb_enqueue+0x0/0x3d4) from [<c0258428>] (hcd_submit_urb+0x754/0x838)
[<c0257cd4>] (hcd_submit_urb+0x0/0x838) from [<c02587b8>] (usb_submit_urb+0x214/0x238)
[<c02585a4>] (usb_submit_urb+0x0/0x238) from [<bf0d4e10>] (usb_write_port+0x208/0x22c [8712u])
 r8 = 00000146  r7 = C46E9028  r6 = 00000000  r5 = C45E8280
 r4 = C49EDC20
[<bf0d4c08>] (usb_write_port+0x0/0x22c [8712u]) from [<bf0d67e0>] (write_port+0x1c/0x20 [8712u])
[<bf0d67c4>] (write_port+0x0/0x20 [8712u]) from [<bf0f0ca4>] (dump_xframe+0xd4/0x10c [8712u])
[<bf0f0bd0>] (dump_xframe+0x0/0x10c [8712u]) from [<bf0f11c0>] (xmitframe_complete+0xa8/0xe8 [8712u])
[<bf0f1118>] (xmitframe_complete+0x0/0xe8 [8712u]) from [<bf0d57f8>] (xmit_bh+0x50/0xa4 [8712u])
 r8 = 00000001  r7 = C040F2E0  r6 = C0392170  r5 = C52A6000
 r4 = C45E8280
[<bf0d57a8>] (xmit_bh+0x0/0xa4 [8712u]) from [<c0053b9c>] (__tasklet_action+0x100/0x198)
 r4 = C45E89C8
[<c0053a9c>] (__tasklet_action+0x0/0x198) from [<c0053c70>] (tasklet_hi_action+0x3c/0x44)
[<c0053c34>] (tasklet_hi_action+0x0/0x44) from [<c0053fd8>] (___do_softirq+0x9c/0x184)
[<c0053f3c>] (___do_softirq+0x0/0x184) from [<c00540f4>] (__do_softirq+0x34/0x50)
[<c00540c0>] (__do_softirq+0x0/0x50) from [<c0054470>] (irq_exit+0x48/0x64)
 r5 = C038A300  r4 = 0000000C
[<c0054428>] (irq_exit+0x0/0x64) from [<c0038ba4>] (asm_do_IRQ+0x44/0x50)
[<c0038b60>] (asm_do_IRQ+0x0/0x50) from [<c00379e4>] (__irq_svc+0x44/0x70)
 r6 = 00000000  r5 = FBC48000  r4 = FFFFFFFF
[<c00b0468>] (sys_select+0x0/0x4c8) from [<c0037f58>] (__sys_trace_return+0x0/0x28)
Code: e50b1064 e51bc078 e51b2064 e59cc008 (e5923038)

i have read some documents about kernel oops, but i still have no idea how to fix this problem.

does anyone know how to solve it?? any advice will be very appreciate!!!

thank you very much