Random kernel oops in swapper process using USB wlan

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

CodeSteady

14-09-2009 23:17:28

I am running an ARM9 Atmel 9260EK board using Buildroot and Linux kernel 2.6.30. My wireless device is a Belkin F5D7050B (USB).

The wireless interface works great for a random period of time, then one of the various kernel oops emerge during the swapper process. Has anyone seen this before? Any thoughts?



Thank you for your time.


<-------------------------------- cut-------------------------------------------------->



s 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error Oops 0 [#1]
Modules linked in GPIO_driver
CPU 0 Not tainted (2.6.30 #12)
PC is at 0x0
LR is at __wake_up_common+0x40/0x84
pc [<00000000>] lr [<c0035060>] psr 80000093
sp c02efe60 ip c1e01e28 fp c02efe8c
r10 00000000 r9 00000003 r8 c1e01e5c
r7 00000000 r6 00000001 r5 fffffff4 r4 c1e01e1c
r3 00000000 r2 00000000 r1 00000003 r0 c1e01e1c
Flags Nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
Control 0005317f Table 21d80000 DAC 00000017
Process swapper (pid 0, stack limit = 0xc02ee268)
Stack (0xc02efe60 to 0xc02f0000)
fe60 0000136e 60000093 00000000 c1d60c00 00000000 00000002 00100100 00200200
fe80 c02efeac c02efe90 c0035170 c0035030 00000000 c1f18f00 c1f18f0c c1f0b3e0
fea0 00000000 c02efeb0 c017d21c c0035140 c1d60c00 c1d60cf0 c1f0b3e0 c018c214
fec0 00000000 c1f18f00 ffc02080 c1f0b3e0 c1d60cf0 c018c298 c004c2a8 00000000
fee0 c1d60cf0 ffc037c0 c2a00000 c018c458 c1d60c00 c1d60c00 c1d60cf0 c2a00000
ff00 00000002 41069265 2001f8c0 c018e79c c1d60c00 00000093 00000001 00000000
ff20 00000000 c017d5b4 c1c8c830 c1c4bae0 00000014 c005fe90 c02f661c 00000014
ff40 00000014 c03117e8 2001f8f4 c0061c6c c0041984 00000014 00000000 c0024050
ff60 3fb59200 ffffffff fefff000 c0024974 00000000 0005317f 0005217f 60000013
ff80 c0026254 c02ee000 c0026254 c03117e8 2001f8f4 41069265 2001f8c0 00000000
ffa0 600000d3 c02effb8 c0026294 c00262a0 60000013 ffffffff c0026158 c0026148
ffc0 00000000 c0325774 c03117bc c0021ee4 c02f1d40 c0008b4c c00084ec 00000000
ffe0 00000000 c0021ee4 00053175 c0311818 c00222e8 20008034 00000000 00000000
Code bad PC value.
Kernel panic - not syncing Fatal exception in interrupt
[<c002a2c0>] (unwind_backtrace+0x0/0xe0) from [<c003cdf0>] (panic+0x44/0x124)
[<c003cdf0>] (panic+0x44/0x124) from [<c00288b0>] (die+0x12c/0x158)
[<c00288b0>] (die+0x12c/0x158) from [<c002b4b4>] (__do_kernel_fault+0x68/0x80)
[<c002b4b4>] (__do_kernel_fault+0x68/0x80) from [<c002b6d4>] (do_page_fault+0x20
8/0x228)
[<c002b6d4>] (do_page_fault+0x208/0x228) from [<c0024a4c>] (__pabt_svc+0x4c/0x80
)
[<c0024a4c>] (__pabt_svc+0x4c/0x80) from [<c0035060>] (__wake_up_common+0x40/0x8
4)
[<c0035060>] (__wake_up_common+0x40/0x84) from [<c0035170>] (complete+0x40/0x4c)

[<c0035170>] (complete+0x40/0x4c) from [<c017d21c>] (usb_hcd_giveback_urb+0xa8/0
xf8)
[<c017d21c>] (usb_hcd_giveback_urb+0xa8/0xf8) from [<c018c214>] (finish_urb+0x78
/0xa8)
[<c018c214>] (finish_urb+0x78/0xa8) from [<c018c298>] (takeback_td+0x54/0xdc)
[<c018c298>] (takeback_td+0x54/0xdc) from [<c018c458>] (dl_done_list+0x138/0x15c
)
[<c018c458>] (dl_done_list+0x138/0x15c) from [<c018e79c>] (ohci_irq+0x100/0x17c)

[<c018e79c>] (ohci_irq+0x100/0x17c) from [<c017d5b4>] (usb_hcd_irq+0x8c/0x98)
[<c017d5b4>] (usb_hcd_irq+0x8c/0x98) from [<c005fe90>] (handle_IRQ_event+0x40/0x
10c)
[<c005fe90>] (handle_IRQ_event+0x40/0x10c) from [<c0061c6c>] (handle_level_irq+0
xd0/0xf0)
[<c0061c6c>] (handle_level_irq+0xd0/0xf0) from [<c0024050>] (_text+0x50/0x78)
[<c0024050>] (_text+0x50/0x78) from [<c0024974>] (__irq_svc+0x34/0x60)
Exception stack(0xc02eff70 to 0xc02effb8)
ff60 00000000 0005317f 0005217f 60000013
ff80 c0026254 c02ee000 c0026254 c03117e8 2001f8f4 41069265 2001f8c0 00000000
ffa0 600000d3 c02effb8 c0026294 c00262a0 60000013 ffffffff
[<c0024974>] (__irq_svc+0x34/0x60) from [<c0026294>] (default_idle+0x40/0x58)
[<c0026294>] (default_idle+0x40/0x58) from [<c0026148>] (cpu_idle+0x38/0x54)
[<c0026148>] (cpu_idle+0x38/0x54) from [<c0008b4c>] (start_kernel+0x25c/0x2c0)
[<c0008b4c>] (start_kernel+0x25c/0x2c0) from [<20008034>] (0x20008034)




[f000001e] *pgd=00000000
Internal error Oops 1 [#2]
Modules linked in GPIO_driver
CPU 0 Tainted G D (2.6.30 #12)
PC is at cache_alloc_refill+0x108/0x520
LR is at 0xf000000e
pc [<c008498c>] lr [<f000000e>] psr 20000093
sp c02efdb8 ip c1c3cc00 fp 00000000
r10 0000000c r9 00000020 r8 c1c00420
r7 c1c10f70 r6 c1c030a0 r5 c1c10f60 r4 c1c10f68
r3 00000018 r2 00000000 r1 00000000 r0 00000000
Flags nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
Control 0005317f Table 21d80000 DAC 00000017
Process swapper (pid 0, stack limit = 0xc02ee268)
Stack (0xc02efdb8 to 0xc02f0000)
fda0 00000020 00000020
fdc0 c02efe3c c0f3a320 a0000093 c1c00420 00000020 00000000 00100100 00200200
fde0 00000000 c0084e2c c02efe1c c0f3a320 00000020 000009e0 c1c0fe60 c01b275c
fe00 0000000c c1d62820 00000998 c1dd91a4 c1d62820 c01b2b38 00000000 c016724c
fe20 c0f59328 c1d62820 c1dd91a4 00000000 00000002 c0165070 c0035f20 c0035e98
fe40 00000014 00000001 c02efe84 c02efe58 c0036634 c0036858 0a1151ca 00000000
fe60 0000120d c0055484 c0f59328 00000000 c1d38c00 00000000 00000002 00100100
fe80 00200200 c0168e98 00000014 c02f2ae8 005c37d8 c0f627c0 c0f627c4 00000001
fea0 00000000 c1f10b60 c1f10b60 c017d21c c1d38c00 c1d38cf0 c1f10b60 c018c214
fec0 c031198c c0f627c0 ffc020c0 c1f10b60 c1d38cf0 c018c298 41069265 00000000
fee0 c1d38cf0 ffc03440 c2a00000 c018c458 c1d38c00 c1d38c00 c1d38cf0 c2a00000
ff00 00000002 41069265 2001f8c0 c018e79c c1d38c00 00000093 00000001 00000000
ff20 00000000 c017d5b4 c03163e0 c1c9bae0 00000014 c005fe90 c02f661c 00000014
ff40 00000014 c03117e8 2001f8f4 c0061c6c c0041984 00000014 00000000 c0024050
ff60 ad27e400 ffffffff fefff000 c0024974 00000000 0005317f 0005217f 60000013
ff80 c0026254 c02ee000 c0026254 c03117e8 2001f8f4 41069265 2001f8c0 00000000
ffa0 600000d3 c02effb8 c0026294 c00262a0 60000013 ffffffff c0026158 c0026148
ffc0 00000000 c0325774 c03117bc c0021ee4 c02f1d40 c0008b4c c00084ec 00000000
ffe0 00000000 c0021ee4 00053175 c0311818 c00222e8 20008034 00000000 00000000
[<c008498c>] (cache_alloc_refill+0x108/0x520) from [<c0084e2c>] (__kmalloc+0x88/
0xc8)
[<c0084e2c>] (__kmalloc+0x88/0xc8) from [<c01b275c>] (__alloc_skb+0x44/0xf8)
[<c01b275c>] (__alloc_skb+0x44/0xf8) from [<c01b2b38>] (dev_alloc_skb+0x1c/0x44)

[<c01b2b38>] (dev_alloc_skb+0x1c/0x44) from [<c016724c>] (rt2x00queue_alloc_rxsk
b+0x40/0xb8)
[<c016724c>] (rt2x00queue_alloc_rxskb+0x40/0xb8) from [<c0165070>] (rt2x00lib_rx
done+0x14/0x1e4)
[<c0165070>] (rt2x00lib_rxdone+0x14/0x1e4) from [<c0168e98>] (rt2x00usb_interrup
t_rxdone+0x8c/0x94)
[<c0168e98>] (rt2x00usb_interrupt_rxdone+0x8c/0x94) from [<c017d21c>] (usb_hcd_g
iveback_urb+0xa8/0xf8)
[<c017d21c>] (usb_hcd_giveback_urb+0xa8/0xf8) from [<c018c214>] (finish_urb+0x78
/0xa8)
[<c018c214>] (finish_urb+0x78/0xa8) from [<c018c298>] (takeback_td+0x54/0xdc)
[<c018c298>] (takeback_td+0x54/0xdc) from [<c018c458>] (dl_done_list+0x138/0x15c
)
[<c018c458>] (dl_done_list+0x138/0x15c) from [<c018e79c>] (ohci_irq+0x100/0x17c)

[<c018e79c>] (ohci_irq+0x100/0x17c) from [<c017d5b4>] (usb_hcd_irq+0x8c/0x98)
[<c017d5b4>] (usb_hcd_irq+0x8c/0x98) from [<c005fe90>] (handle_IRQ_event+0x40/0x
10c)
[<c005fe90>] (handle_IRQ_event+0x40/0x10c) from [<c0061c6c>] (handle_level_irq+0
xd0/0xf0)
[<c0061c6c>] (handle_level_irq+0xd0/0xf0) from [<c0024050>] (_text+0x50/0x78)
[<c0024050>] (_text+0x50/0x78) from [<c0024974>] (__irq_svc+0x34/0x60)
Exception stack(0xc02eff70 to 0xc02effb8)
ff60 00000000 0005317f 0005217f 60000013
ff80 c0026254 c02ee000 c0026254 c03117e8 2001f8f4 41069265 2001f8c0 00000000
ffa0 600000d3 c02effb8 c0026294 c00262a0 60000013 ffffffff
[<c0024974>] (__irq_svc+0x34/0x60) from [<c0026294>] (default_idle+0x40/0x58)
[<c0026294>] (default_idle+0x40/0x58) from [<c0026148>] (cpu_idle+0x38/0x54)
[<c0026148>] (cpu_idle+0x38/0x54) from [<c0008b4c>] (start_kernel+0x25c/0x2c0)
[<c0008b4c>] (start_kernel+0x25c/0x2c0) from [<20008034>] (0x20008034)
Code e3a01001 e15e0007 e5851030 0a000031 (e59e2010)
Kernel panic - not syncing Fatal exception in interrupt
[<c002a2c0>] (unwind_backtrace+0x0/0xe0) from [<c003cdf0>] (panic+0x44/0x124)
[<c003cdf0>] (panic+0x44/0x124) from [<c00288b0>] (die+0x12c/0x158)
[<c00288b0>] (die+0x12c/0x158) from [<c002b4b4>] (__do_kernel_fault+0x68/0x80)
[<c002b4b4>] (__do_kernel_fault+0x68/0x80) from [<c002d224>] (do_alignment+0x230
/0x34c)
[<c002d224>] (do_alignment+0x230/0x34c) from [<c00241fc>] (do_DataAbort+0x34/0x9
8)
[<c00241fc>] (do_DataAbort+0x34/0x98) from [<c002492c>] (__dabt_svc+0x4c/0x60)
Exception stack(0xc02efd70 to 0xc02efdb8)
fd60 00000000 00000000 00000000 00000018
fd80 c1c10f68 c1c10f60 c1c030a0 c1c10f70 c1c00420 00000020 0000000c 00000000
fda0 c1c3cc00 c02efdb8 f000000e c008498c 20000093 ffffffff
[<c002492c>] (__dabt_svc+0x4c/0x60) from [<f000000e>] (0xf000000e)

CodeSteady

26-09-2009 05:02:49

The SBC I was using had bad SDRAM. If this happens to you, first thing to do is run memtester on your hardware.


Hope this helps someone....