rt2800usb driver kernel oops

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=6217

nielsencfm

29-10-2012 05:24:10

I'm using the TP-Link TN7200 with the rt2800usb driver running Arch Linux.

When I run the wireless interface, after about 30-90 seconds I get the following kernel dump.

I've noticed the problem occurs more quickly when the bandwidth usage is higher.

I'm not even sure where to start trying to debug this? What should I look at?

Thanks

[code7qop1kyh][ 174.523162] Unable to handle kernel NULL pointer dereference at virtual address 00000048
[ 174.531707] pgd = c0004000
[ 174.534545] [00000048] *pgd=00000000
[ 174.538330] Internal error: Oops: 17 [#1] PREEMPT
[ 174.543273] Modules linked in: ipt_MASQUERADE xt_multiport iptable_nat ip_tables nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 x_tables nf_conntrack binfmt_misc arc4 rt2800usb rt2x00usb rt2800lib rt2x00lib crc_ccitt mac80211 cfg80211 snd_soc_tlv320aic3x spidev btusb bluetooth rfkill
[ 174.569213] CPU: 0 Not tainted (3.2.21-3-ARCH #1)
[ 174.574554] PC is at musb_start_urb+0x40/0x6e0
[ 174.579223] LR is at musb_urb_enqueue+0x50c/0x5e8
[ 174.584167] pc : [<c03b2e4c>] lr : [<c03b39f8>] psr: 600f0193
[ 174.584167] sp : cf83fda8 ip : cf83fe08 fp : cf83fe04
[ 174.596252] r10: 00000000 r9 : cf9080e8 r8 : cfa8bc38
[ 174.601745] r7 : cf9080e8 r6 : ceee2240 r5 : cfb56ec0 r4 : ceee2240
[ 174.608612] r3 : cfa8bc48 r2 : ceee2240 r1 : d081ec00 r0 : cf9080e8
[ 174.615478] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 174.623260] Control: 10c5387d Table: 8a178019 DAC: 00000015
[ 174.629302] Process kworker/u:0 (pid: 5, stack limit = 0xcf83e2f0)
[ 174.635833] Stack: (0xcf83fda8 to 0xcf840000)
[ 174.640411] fda0: c000f8f8 00000001 cfb56ec0 cf908000 d081ec00 cf83fdc8
[ 174.649017] fdc0: c000f934 c0010c7c 00000000 c052df58 cf83fe64 cf83fe08 c052df58 ceee2240
[ 174.657623] fde0: cfb56ec0 cf908000 00000000 cfa8bc38 cf9080e8 200f0113 cf83fe64 cf83fe08
[ 174.666229] fe00: c03b39f8 c03b2e18 00000000 c052de68 cf83fe54 cf83fe48 c052de68 c0041e20
[ 174.674865] fe20: cf83fe44 00000000 600f0113 ceee224c 00000013 00000000 cfa8bc00 cfb56ec0
[ 174.683471] fe40: cf908000 00000000 cfb56ec8 00000020 c03b4458 bf1edcac cf83feac cf83fe68
[ 174.692077] fe60: c039d3d0 c03b34f8 cf83fe94 cf83fe78 c0010c94 c000f8d4 c000f8f8 cf83e000
[ 174.700683] fe80: 00000001 00000000 00000000 cf94af40 cfa8bc68 00001718 c03b4458 bf1edcac
[ 174.709289] fea0: cf83fed4 cf83feb0 c039e104 c039ce20 cefe2f80 cfb56ec0 cf94af40 cfa8bc68
[ 174.717926] fec0: 00001718 bf1edcac cf83fefc cf83fed8 bf1e6814 c039de84 cf94af40 cefe1348
[ 174.726531] fee0: c078c4b0 cf902000 00000000 00000000 cf83ff0c cf83ff00 bf1ed864 bf1e675c
[ 174.735137] ff00: cf83ff24 cf83ff10 bf1e6bb0 bf1ed850 ca0f5bc0 00000000 cf83ff3c cf83ff28
[ 174.743743] ff20: c039bf8c bf1e6b50 cf9080e8 cf908000 cf83ff54 cf83ff40 c03b447c c039bf2c
[ 174.752380] ff40: cf824dc0 cf9082e4 cf83ff8c cf83ff58 c0051814 c03b4464 cf83ffbc cf83ff90
[ 174.760986] ff60: c052df58 cf824dc0 c078c4b0 cf83e000 cf824dd0 c078c4b0 00000089 c078c4b0
[ 174.769592] ff80: cf83ffbc cf83ff90 c0051b90 c0051624 00000000 cf837efc cf824dc0 c00519b4
[ 174.778198] ffa0: 00000013 00000000 00000000 00000000 cf83fff4 cf83ffc0 c0056750 c00519c0
[ 174.786804] ffc0: cf837efc 00000000 cf824dc0 00000000 cf83ffd0 cf83ffd0 00000000 cf837efc
[ 174.795410] ffe0: c00566c0 c003f538 00000000 cf83fff8 c003f538 c00566cc 8fffe821 8fffec21
[ 174.804016] Backtrace:
[ 174.806610] [<c03b2e0c>] (musb_start_urb+0x0/0x6e0) from [<c03b39f8>] (musb_urb_enqueue+0x50c/0x5e8)
[ 174.816253] [<c03b34ec>] (musb_urb_enqueue+0x0/0x5e8) from [<c039d3d0>] (usb_hcd_submit_urb+0x5bc/0x684)
[ 174.826232] [<c039ce14>] (usb_hcd_submit_urb+0x0/0x684) from [<c039e104>] (usb_submit_urb+0x28c/0x2a8)
[ 174.836059] [<c039de78>] (usb_submit_urb+0x0/0x2a8) from [<bf1e6814>] (rt2x00usb_register_read_async+0xc4/0xe8 [rt2x00usb])
[ 174.847808] [<bf1e6750>] (rt2x00usb_register_read_async+0x0/0xe8 [rt2x00usb]) from [<bf1ed864>] (rt2800usb_tx_dma_done+0x20/0x28 [rt2800usb])
[ 174.861206] [<bf1ed844>] (rt2800usb_tx_dma_done+0x0/0x28 [rt2800usb]) from [<bf1e6bb0>] (rt2x00usb_interrupt_txdone+0x6c/0x98 [rt2x00usb])
[ 174.874298] [<bf1e6b44>] (rt2x00usb_interrupt_txdone+0x0/0x98 [rt2x00usb]) from [<c039bf8c>] (usb_hcd_giveback_urb+0x6c/0xc0)
[ 174.886199] r5:00000000 r4:ca0f5bc0
[ 174.889984] [<c039bf20>] (usb_hcd_giveback_urb+0x0/0xc0) from [<c03b447c>] (musb_gb_work+0x24/0x38)
[ 174.899505] r5:cf908000 r4:cf9080e8
[ 174.903289] [<c03b4458>] (musb_gb_work+0x0/0x38) from [<c0051814>] (process_one_work+0x1fc/0x368)
[ 174.912628] r5:cf9082e4 r4:cf824dc0
[ 174.916412] [<c0051618>] (process_one_work+0x0/0x368) from [<c0051b90>] (worker_thread+0x1dc/0x31c)
[ 174.925933] [<c00519b4>] (worker_thread+0x0/0x31c) from [<c0056750>] (kthread+0x90/0x9c)
[ 174.934478] [<c00566c0>] (kthread+0x0/0x9c) from [<c003f538>] (do_exit+0x0/0x68c)
[ 174.942352] r6:c003f538 r5:c00566c0 r4:cf837efc
[ 174.947235] Code: e5b3a010 e15a0003 124aa014 03a0a000 (e59a3048)[/code7qop1kyh]