Other Parts Discussed in Thread: AM3354
Hello AM335x Gurus,
after a lot of reading and installing, I got a HUAWEI E3131 3G USB dongle to work with my PhyBoard WEGA SBC - Processor is AM3354.
I'm using a YOCTO distribution - provided from the manufactuere PHYTEC. There is an official linux-ti kernel running with version: 3.12.30.
Unfortunately the Internet connection lasts only for a few seconds. Then the Kernel get's Panic :-(
root@phyboard-wega-am335x-2:~# ping heise.de
PING heise.de (193.99.144.80): 56 data bytes
64 bytes from 193.99.144.80: seq=0 ttl=241 time=447.424 ms
64 bytes from 193.99.144.80: seq=1 ttl=241 time=494.518 ms
64 bytes from 193.99.144.80: seq=2 ttl=241 time=435.364 ms
64 bytes from 193.99.144.80: seq=3 ttl=241 time=377.298 ms
64 bytes from 193.99.144.80: seq=4 ttl=241 time=516.077 ms
64 bytes from 193.99.144.80: seq=5 ttl=241 time=755.049 ms
[ 134.821457] skbuff: skb_over_panic: text:c043d820 len:1926 put:1926 head:cc8b9500 data:cc8b9542 tail:0xcc8b9cc8 end:0xcc8b9b40 dev:wwan0
[ 134.834385] ------------[ cut here ]------------
[ 134.839243] Kernel BUG at c052e518 [verbose debug info unavailable]
[ 134.845827] Internal error: Oops - BUG: 0 [#1] SMP ARM
[ 134.851228] Modules linked in: snd_soc_evm snd_soc_omap snd_pcm_dmaengine snd_soc_davinci_mcasp snd_soc_davinci snd_soc_tlv320aic3x snd_so c_core spidev snd_compress regmap_spi snd_pcm snd_page_alloc snd_timer snd soundcore ipv6
[ 134.872621] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.12.30-AM335x-PD15.3.2 #3
[ 134.880393] task: c0883720 ti: c0878000 task.ti: c0878000
[ 134.886084] PC is at skb_panic+0x5c/0x68
[ 134.890221] LR is at irq_work_queue+0xec/0x100
[ 134.894899] pc : [<c052e518>] lr : [<c00b4894>] psr: 600f0193
[ 134.894899] sp : c0879d70 ip : c0879c60 fp : c0879d9c
[ 134.906951] r10: c0878000 r9 : c090f900 r8 : cdbfd4f0
[ 134.912443] r7 : c07ca878 r6 : cc8b9500 r5 : 00000786 r4 : cc8b9542
[ 134.919299] r3 : 00000001 r2 : 00000000 r1 : 002f0000 r0 : 0000007c
[ 134.926160] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 134.933929] Control: 10c5387d Table: 8c8e0019 DAC: 00000015
[ 134.939966] Process swapper/0 (pid: 0, stack limit = 0xc0878248)
[ 134.946276] Stack: (0xc0879d70 to 0xc087a000)
[ 134.950867] 9d60: 00000786 cc8b9500 cc8b9542 cc8b9cc8
[ 134.959467] 9d80: cc8b9b40 cc8ec000 cc8b9542 cc8b9b40 c0879dbc c0879da0 c052e57c c052e4c8
[ 134.968068] 9da0: cc8ec4c0 cce0f3c0 cdde1cc0 00000000 c0879de4 c0879dc0 c043d820 c052e530
[ 134.976667] 9dc0: cce0f3c0 cdbfd400 cce0f3c0 600f0113 00000000 00000000 c0879e04 c0879de8
[ 134.985265] 9de0: c04489f4 c043d800 cce0f3d4 c0879e08 cdbfd4ec cdbfd4f4 c0879e34 c0879e08
[ 134.993864] 9e00: c0449510 c0448998 c0879e08 c0879e08 c0879e64 cdbfd4fc cdbfd500 00000000
[ 135.002463] 9e20: c0874384 c0880c10 c0879e6c c0879e38 c004f584 c0449484 00000000 00000000
[ 135.011060] 9e40: 00000001 00000001 c087a098 00000018 c0878000 00000018 00000100 00000006
[ 135.019659] 9e60: c0879ebc c0879e70 c004f718 c004f4ec c0880c10 cd805a80 c0879ea4 00200000
[ 135.028256] 9e80: ffffbf7a 0000000a c0878030 00000000 c0878030 600f0193 c0878000 c0880c10
[ 135.036855] 9ea0: 00000000 00000021 c0878000 00000000 c0879ed4 c0879ec0 c004f8cc c004f638
[ 135.045453] 9ec0: 00000000 c0878018 c0879eec c0879ed8 c004fb78 c004f884 00000112 c0874ef0
[ 135.054051] 9ee0: c0879f14 c0879ef0 c0015554 c004fae0 00000080 fa200000 c0879f38 c090e798
[ 135.062653] 9f00: 00000021 c0608f4c c0879f34 c0879f18 c0008818 c0015504 c001592c 600f0013
[ 135.071251] 9f20: ffffffff c0879f6c c0879f8c c0879f38 c05fe8c0 c000879c ffffffed 002f0000
[ 135.079851] 9f40: c0881638 c00260a0 c0878010 c0878000 c08808f0 c0880950 c0608f4c c0878000
[ 135.088450] 9f60: 00000000 c0879f8c c0879f80 c0879f80 c001593c c001592c 600f0013 ffffffff
[ 135.097048] 9f80: c0879fa4 c0879f90 c0085578 c0015908 00000000 c08591d8 c0879fb4 c0879fa8
[ 135.105647] 9fa0: c05f4368 c008548c c0879ff4 c0879fb8 c0813ae8 c05f430c ffffffff ffffffff
[ 135.114245] 9fc0: c08135d0 00000000 00000000 c08591d8 00000000 10c5387d c08808e8 c08591d4
[ 135.122844] 9fe0: c0884728 80004059 00000000 c0879ff8 80008074 c0813834 00000000 00000000
[ 135.131424] Backtrace:
[ 135.134033] [<c052e4bc>] (skb_panic+0x0/0x68) from [<c052e57c>] (skb_put+0x58/0x5c)
[ 135.142070] r7:cc8b9b40
[ 135.144779] [<c052e524>] (skb_put+0x0/0x5c) from [<c043d820>] (rx_complete+0x2c/0x210)
[ 135.153091] r7:00000000 r6:cdde1cc0 r5:cce0f3c0 r4:cc8ec4c0
[ 135.159117] [<c043d7f4>] (rx_complete+0x0/0x210) from [<c04489f4>] (__usb_hcd_giveback_urb+0x68/0x104)
[ 135.168885] r7:00000000 r6:00000000 r5:600f0113 r4:cce0f3c0
[ 135.174902] [<c044898c>] (__usb_hcd_giveback_urb+0x0/0x104) from [<c0449510>] (usb_giveback_urb_bh+0x98/0xe4)
[ 135.185306] r6:cdbfd4f4 r5:cdbfd4ec r4:c0879e08 r3:cce0f3d4
[ 135.191329] [<c0449478>] (usb_giveback_urb_bh+0x0/0xe4) from [<c004f584>] (tasklet_action+0xa4/0x14c)
[ 135.201121] r8:c0880c10 r7:c0874384 r6:00000000 r5:cdbfd500 r4:cdbfd4fc
[ 135.208327] [<c004f4e0>] (tasklet_action+0x0/0x14c) from [<c004f718>] (__do_softirq+0xec/0x1e8)
[ 135.217588] [<c004f62c>] (__do_softirq+0x0/0x1e8) from [<c004f8cc>] (do_softirq+0x54/0x60)
[ 135.226386] [<c004f878>] (do_softirq+0x0/0x60) from [<c004fb78>] (irq_exit+0xa4/0xf8)
[ 135.234704] r4:c0878018 r3:00000000
[ 135.238568] [<c004fad4>] (irq_exit+0x0/0xf8) from [<c0015554>] (handle_IRQ+0x5c/0xbc)
[ 135.246886] r4:c0874ef0 r3:00000112
[ 135.250738] [<c00154f8>] (handle_IRQ+0x0/0xbc) from [<c0008818>] (omap3_intc_handle_irq+0x88/0xa4)
[ 135.260254] r8:c0608f4c r7:00000021 r6:c090e798 r5:c0879f38 r4:fa200000
r3:00000080
[ 135.268682] [<c0008790>] (omap3_intc_handle_irq+0x0/0xa4) from [<c05fe8c0>] (__irq_svc+0x40/0x54)
[ 135.278109] Exception stack(0xc0879f38 to 0xc0879f80)
[ 135.283486] 9f20: ffffffed 002f0000
[ 135.292189] 9f40: c0881638 c00260a0 c0878010 c0878000 c08808f0 c0880950 c0608f4c c0878000
[ 135.300891] 9f60: 00000000 c0879f8c c0879f80 c0879f80 c001593c c001592c 600f0013 ffffffff
[ 135.309576] r7:c0879f6c r6:ffffffff r5:600f0013 r4:c001592c
[ 135.315674] [<c00158fc>] (arch_cpu_idle+0x0/0x4c) from [<c0085578>] (cpu_startup_entry+0xf8/0x150)
[ 135.325222] [<c0085480>] (cpu_startup_entry+0x0/0x150) from [<c05f4368>] (rest_init+0x68/0x80)
[ 135.334369] r7:c08591d8 r3:00000000
[ 135.338235] [<c05f4300>] (rest_init+0x0/0x80) from [<c0813ae8>] (start_kernel+0x2c0/0x31c)
[ 135.347041] [<c0813828>] (start_kernel+0x0/0x31c) from [<80008074>] (0x80008074)
[ 135.354911] Code: e58d4008 e58de00c e59f0008 eb0324c8 (e7f001f2)
[ 135.361406] ---[ end trace 3e41909440eba8ce ]---
[ 135.366319] Kernel panic - not syncing: Fatal exception in interrupt
I found some other issues regarding similar problems with usb 3G modems here in the forum. But their configurations does not match my.
What will be the best try for me to fix this issue? Patching the kernel as mentioned here?:
Or just change some kernel config? It's attached here:
zImage.config
Thanks in advance for your help!
Mario