Kernel Crash with wandboard quad

You have a problem with your Wandboard and want to ask the community for help.

Kernel Crash with wandboard quad

Postby trampas » Sun Aug 02, 2015 6:37 pm

I am fairly new to linux so bear with me, however I have noticed that wandboard locks up with the following error.

Unable to handle kernel paging request at virtual address 2a370022
pgd = 80004000
[2a370022] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
Modules linked in: binfmt_misc ftdi_sio mxc_v4l2_capture ipu_bg_overlay_sdc ipu_ still ipu_prp_enc ipu_csi_enc ipu_fg_overlay_sdc brcmfmac brcmutil ov5640_camera _mipi fusion_ts
CPU: 0 PID: 764 Comm: kworker/u8:3 Not tainted 3.10.17-1.0.0-wandboard #26
Workqueue: brcmf_wq brcmf_sdio_dataworker [brcmfmac]
task: dc8692c0 ti: dcc7e000 task.ti: dcc7e000
PC is at brcmf_rx_frames+0x15c/0x1d8 [brcmfmac]
LR is at brcmf_proto_hdrpull+0x120/0x158 [brcmfmac]
pc : [<7f02a4ec>] lr : [<7f028dec>] psr: 20000013
sp : dcc7fe08 ip : 7f03bd20 fp : dc004400
r10: 2a370006 r9 : dcc7e000 r8 : dc9c2000
r7 : dc9c0000 r6 : dcc7fed0 r5 : dcc7fed0 r4 : dd08c840
r3 : 00000001 r2 : 00000000 r1 : 7f0363b0 r0 : ffffffcc
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c53c7d Table: 6cce004a DAC: 00000015
Process kworker/u8:3 (pid: 764, stack limit = 0xdcc7e238)
Stack: (0xdcc7fe08 to 0xdcc80000)
fe00: dc8c5a18 dc8c5b0c dcc7fe3c 8004d5d8 dc004400 dd08c840
fe20: dcc7fed0 00000001 7f040eec dc8c59fa dc8c5a18 dc8c5b0c dc004400 7f02fe10
fe40: dd08c840 00000040 dc8692f8 dc085880 0000c3ea 81b7dbc0 80cae0c0 00000030
fe60: dc8c5800 000000ff dc8c5b24 dcc7fed0 0000001e 00000002 dcc29400 dcc29200
fe80: 00000032 dc8c5b1c dc5d8a80 8004d8bc dc8c5818 00000014 80caabc0 00000000
fea0: 7f040ef0 dc8c59fa 80d40882 00000000 00000040 00000000 0152ca0c 0000000c
fec0: 800c0000 00000000 80caabc0 dcc7e028 dcc7fed0 dcc7fed0 00000000 00020002
fee0: 00000004 dc522b00 dc8c5b0c dc88e300 00000000 dc004400 00000000 dcc7e008
ff00: dc004400 8003f530 00000001 8003ffa0 dc88e300 8003d234 dc88e300 dc522b00
ff20: dc004400 dc522b18 dc004414 dcc7e000 80cfdfc1 00000089 dc004400 80040158
ff40: dc8692c0 dc1fdea8 00000000 dc522b00 8004002c 00000000 00000000 00000000
ff60: 00000000 80045540 00000000 00000000 000000f8 dc522b00 00000000 00000000
ff80: dcc7ff80 dcc7ff80 00000000 00000000 dcc7ff90 dcc7ff90 dcc7ffac dc1fdea8
ffa0: 8004548c 00000000 00000000 8000e1d8 00000000 00000000 00000000 00000000
ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 7f77e821 7f77ec21
[<7f02a4ec>] (brcmf_rx_frames+0x15c/0x1d8 [brcmfmac]) from [<7f02fe10>] (brcmf_s dio_dataworker+0x194c/0x2190 [brcmfmac])
[<7f02fe10>] (brcmf_sdio_dataworker+0x194c/0x2190 [brcmfmac]) from [<8003f530>] (process_one_work+0xf8/0x35c)
[<8003f530>] (process_one_work+0xf8/0x35c) from [<80040158>] (worker_thread+0x12 c/0x3b4)
[<80040158>] (worker_thread+0x12c/0x3b4) from [<80045540>] (kthread+0xb4/0xb8)
[<80045540>] (kthread+0xb4/0xb8) from [<8000e1d8>] (ret_from_fork+0x14/0x3c)
Code: e3530000 0affffbd e35a0000 1370003d (159a301c)
mxc_sdc_fb fb.26: 1280x720 h_sync,r,l: 40,110,220 v_sync,l,u: 5,5,20 pixclock=7 4250000 Hz

Message from syslogd@arm at Aug 2 18:18:08 ...
kernel:Internal error: Oops: 5 [#1] PREEMPT SMP ARM

Message from syslogd@arm at Aug 2 18:18:08 ...
kernel:Process kworker/u8:3 (pid: 764, stack limit = 0xdcc7e238)

Message from syslogd@a---[ end trace 2ad39f40aa0be087 ]---
rm at Aug 2 18:18:08 ...
kernUnable to handle kernel paging request at virtual address ffffffec
pgd = 80004000
[ffffffec] *pgd=7f77e821, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#2] PREEMPT SMP ARM
Modules linked in: binfmt_misc ftdi_sio mxc_v4l2_capture ipu_bg_overlay_sdc ipu_ still ipu_prp_enc ipu_csi_enc ipu_fg_overlay_sdc brcmfmac brcmutil ov5640_camera _mipi fusion_ts
CPU: 0 PID: 764 Comm: kworker/u8:3 Tainted: G D 3.10.17-1.0.0-wandboar d #26
task: dc8692c0 ti: dcc7e000 task.ti: dcc7e000
PC is at kthread_data+0x4/0xc
LR is at wq_worker_sleeping+0xc/0xc0
pc : [<80045a58>] lr : [<800406ac>] psr: 00000193
sp : dcc7fb18 ip : 00000400 fp : dcc7fbbc
r10: dc8693dc r9 : dc869458 r8 : 00000000
r7 : 81b7dbc0 r6 : 80caabc0 r5 : 80cb4770 r4 : 00000000
r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : dc8692c0
Flags: nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c53c7d Table: 6cce004a DAC: 00000015
Process kworker/u8:3 (pid: 764, stack limit = 0xdcc7e238)
Stack: (0xdcc7fb18 to 0xdcc80000)
fb00: dc8692c0 80cb4770
fb20: 80caabc0 80680b28 dc6595b4 60000193 80cfdff5 80caabc0 80caabc0 dcc7e018
fb40: 80cfdff5 80caabc0 80caabc0 dcc7e028 80cb4770 00000000 dcc7e000 00000004
fb60: 00000000 8003eb5c 00000000 dc8692c0 dc4b9ed8 a0000193 dc68adf0 00000004
fb80: dc0836c0 dcc7e000 a0000193 dcc7e000 dc8692c0 dc8693dc dc8692b8 dcc7faac
fba0: dc8692c0 dc8693dc dc8692b8 dcc7e000 dc08c000 dc8693dc dc8692b8 8002c33c
fbc0: 7f02a4ee 00000001 dc869424 07d907d9 07d907d9 dcc7fbd0 dcc7e000 80cb8ae0
fbe0: dcc7e000 0000000b 7f02a4f0 00000001 7f02a4ee 80b769e4 80cfe484 80011820
fc00: dcc7e238 0000000b 60000113 80cb8ae0 00000000 00000000 00000008 00000000
fc20: 65000000 30333533 20303030 66666130 64626666 35336520 30303061 33312030
fc40: 30303037 28206433 61393531 63313033 00002029 8067b7d8 80bc63fc 2a370022
fc60: dcc7fdc0 00000005 00000000 2a370022 dc8692c0 2a370006 00000028 8067b5b4
fc80: dcc7fdc0 800183b0 dcc7fce8 dcc7fcf8 00000000 dcc7fd40 00000000 00000000
fca0: dd2309c0 8045f964 dc42c800 00000040 00000001 00000002 dcc7fd40 8046a148
fcc0: dc42c800 6d230700 00000000 dcc7fcf0 dcc7fd20 00000000 81908602 000009c0
fce0: 00000040 6d2309c0 00000000 dcc7fd10 dcc7fd40 00000000 00000000 80cb9400
fd00: 00000005 80018670 2a370022 dcc7fdc0 dcc7e000 2a370006 dc004400 8000837c
fd20: 00000000 00000000 000001b5 00000000 00000000 00000000 dcc7fd40 dcc7fce8
fd40: 3b9aca00 00000000 00000040 00000001 00000000 00000200 00000040 00000000
fd60: dcc7fce8 00000001 dcc7fcd8 00000000 dd230700 00000040 00000040 dc428200
fd80: 00000000 00008000 00000000 00000000 dd2309c0 8046b608 00000000 dd2309c0
fda0: 00000000 00000040 7f02a4ec 20000013 ffffffff dcc7fdf4 dc9c2000 8000dcd8
fdc0: ffffffcc 7f0363b0 00000000 00000001 dd08c840 dcc7fed0 dcc7fed0 dc9c0000
fde0: dc9c2000 dcc7e000 2a370006 dc004400 7f03bd20 dcc7fe08 7f028dec 7f02a4ec
fe00: 20000013 ffffffff dc8c5a18 dc8c5b0c dcc7fe3c 8004d5d8 dc004400 dd08c840
fe20: dcc7fed0 00000001 7f040eec dc8c59fa dc8c5a18 dc8c5b0c dc004400 7f02fe10
fe40: dd08c840 00000040 dc8692f8 dc085880 0000c3ea 81b7dbc0 80cae0c0 00000030
fe60: dc8c5800 000000ff dc8c5b24 dcc7fed0 0000001e 00000002 dcc29400 dcc29200
fe80: 00000032 dc8c5b1c dc5d8a80 8004d8bc dc8c5818 00000014 80caabc0 00000000
fea0: 7f040ef0 dc8c59fa 80d40882 00000000 00000040 00000000 0152ca0c 0000000c
fec0: 800c0000 00000000 80caabc0 dcc7e028 dcc7fed0 dcc7fed0 00000000 00020002
fee0: 00000004 dc522b00 dc8c5b0c dc88e300 00000000 dc004400 00000000 dcc7e008
ff00: dc004400 8003f530 00000001 8003ffa0 dc88e300 8003d234 dc88e300 dc522b00
ff20: dc004400 dc522b18 dc004414 dcc7e000 80cfdfc1 00000089 dc004400 80040158
ff40: dc8692c0 dc1fdea8 00000000 dc522b00 8004002c 00000000 00000000 00000000
ff60: 00000000 80045540 00000000 00000000 000000f8 dc522b00 00000000 00000000
ff80: dcc7ff80 dcc7ff80 00000001 00010001 dcc7ff90 dcc7ff90 dcc7ffac dc1fdea8
ffa0: 8004548c 00000000 00000000 8000e1d8 00000000 00000000 00000000 00000000
ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 7f77e821 7f77ec21
[<80045a58>] (kthread_data+0x4/0xc) from [<800406ac>] (wq_worker_sleeping+0xc/0x c0)
[<800406ac>] (wq_worker_sleeping+0xc/0xc0) from [<80680b28>] (__schedule+0x3c0/0 x580)
[<80680b28>] (__schedule+0x3c0/0x580) from [<8002c33c>] (do_exit+0x5e8/0x950)
[<8002c33c>] (do_exit+0x5e8/0x950) from [<80011820>] (die+0x21c/0x3dc)
[<80011820>] (die+0x21c/0x3dc) from [<8067b5b4>] (__do_kernel_fault.part.11+0x64 /0x74)
[<8067b5b4>] (__do_kernel_fault.part.11+0x64/0x74) from [<800183b0>] (do_page_fa ult+0x1a0/0x3c8)
[<800183b0>] (do_page_fault+0x1a0/0x3c8) from [<8000837c>] (do_DataAbort+0x38/0x 9c)
[<8000837c>] (do_DataAbort+0x38/0x9c) from [<8000dcd8>] (__dabt_svc+0x38/0x60)
Exception stack(0xdcc7fdc0 to 0xdcc7fe08)
fdc0: ffffffcc 7f0363b0 00000000 00000001 dd08c840 dcc7fed0 dcc7fed0 dc9c0000
fde0: dc9c2000 dcc7e000 2a370006 dc004400 7f03bd20 dcc7fe08 7f028dec 7f02a4ec
fe00: 20000013 ffffffff
[<8000dcd8>] (__dabt_svc+0x38/0x60) from [<7f02a4ec>] (brcmf_rx_frames+0x15c/0x1 d8 [brcmfmac])
[<7f02a4ec>] (brcmf_rx_frames+0x15c/0x1d8 [brcmfmac]) from [<7f02fe10>] (brcmf_s dio_dataworker+0x194c/0x2190 [brcmfmac])
[<7f02fe10>] (brcmf_sdio_dataworker+0x194c/0x2190 [brcmfmac]) from [<8003f530>] (process_one_work+0xf8/0x35c)
[<8003f530>] (process_one_work+0xf8/0x35c) from [<80040158>] (worker_thread+0x12 c/0x3b4)
[<80040158>] (worker_thread+0x12c/0x3b4) from [<80045540>] (kthread+0xb4/0xb8)
[<80045540>] (kthread+0xb4/0xb8) from [<8000e1d8>] (ret_from_fork+0x14/0x3c)
Code: e513001c e7e00150 e12fff1e e590316c (e5130014)
---[ end trace 2ad39f40aa0be088 ]---
Fixing recursive fault but reboot is needed!
trampas
 
Posts: 6
Joined: Sun Aug 02, 2015 6:35 pm

Re: Kernel Crash with wandboard quad

Postby blue_z » Mon Aug 03, 2015 6:49 am

trampas wrote:I am fairly new to linux so bear with me, ...
That's a weak excuse for a low-quality question (e.g. you don't bother to mention what kernel version or distro you're using).
You should study How To Ask Questions The Smart Way before you post.

Regards
blue_z
 
Posts: 36
Joined: Sat Jun 13, 2015 12:12 am
Location: USA

Re: Kernel Crash with wandboard quad

Postby trampas » Sat Sep 26, 2015 2:06 pm

Thanks, I will try to do better next time.
trampas
 
Posts: 6
Joined: Sun Aug 02, 2015 6:35 pm

Re: Kernel Crash with wandboard quad

Postby trampas » Sat Sep 26, 2015 2:13 pm

I am using the 3.10.17 kernel with Debian jessie rootfs.
I have custom compiled the 3.10.17 kernel to add some OV5640 features to the driver.
The Wandboard is the Quad board with wifi.

It appears others have this problem too:
https://groups.google.com/forum/#!topic ... 18ToRVeVss
trampas
 
Posts: 6
Joined: Sun Aug 02, 2015 6:35 pm

Re: Kernel Crash with wandboard quad

Postby trampas » Sat Sep 26, 2015 2:25 pm

I have found that this problem happens when I open a socket and close then open same socket (IP address and port) again quickly, it does not appear to happen if I put a delay between closing and opening port, maybe a semaphore/mutex problem?
trampas
 
Posts: 6
Joined: Sun Aug 02, 2015 6:35 pm

Re: Kernel Crash with wandboard quad

Postby trampas » Sat Sep 26, 2015 3:18 pm

I am sorry but I was wrong it still seems to happen
trampas
 
Posts: 6
Joined: Sun Aug 02, 2015 6:35 pm

Re: Kernel Crash with wandboard quad

Postby trampas » Thu Oct 01, 2015 8:45 pm

I have verified that it crashes with 3.10.53, I could not get wifi working with 3.14.28.

I have also verified that using a USB wifi stick it works.

Thanks
Trampas
trampas
 
Posts: 6
Joined: Sun Aug 02, 2015 6:35 pm

Re: Kernel Crash with wandboard quad

Postby Tapani » Tue Oct 06, 2015 4:39 am

Hmm, I remember seeing some threading related issues with the WiFi driver and 3.0 kernel.
We found a patch from someone in Nvidia that fixed it.

Does your kernel have a patch named "brcmfmac: Handling the interrupt in ISR directly for non-OOB" ?
Ref: https://github.com/wandboard-org/linux/ ... f33d85820a
Tapani
 
Posts: 712
Joined: Tue Aug 27, 2013 8:32 am


Return to Getting started

Who is online

Users browsing this forum: No registered users and 11 guests