Hi,
I've applied the linux-zigbee patches at:
https://github.com/linux-wpan/linux-net-next/commits/6lowpan_pending_patches
to the Raspberry Pi kernel 3.10.y and 3.12.y
When I try to load the 6lowpan kernel I get this kernel oops:
pi@raspberrypi:~$ sudo modprobe 6lowpan
[ 48.761157] Unable to handle kernel paging request at virtual address
bf0c4000
[ 48.769477] pgd = da718000
[ 48.772996] [bf0c4000] *pgd=1bbd7811, *pte=00000000, *ppte=00000000
[ 48.779497] Internal error: Oops: 80000007 [#1] PREEMPT ARM
Entering kdb (current=0xdbb50000, pid 2165) Oops: (null)
due to oops @ 0xbf0c4000
dCPU: 0 PID: 2165 Comm: modprobe Not tainted 3.12.6+ #1
dtask: dbb50000 ti: da504000 task.ti: da504000
PC is at 0xbf0c4000
LR is at lowpan_init_module+0x8/0x5c [6lowpan]
pc : [<bf0c4000>] lr : [<bf0cb008>] psr: 60000013
sp : da505e10 ip : 00000000 fp : c05be008
r10: bf0cb000 r9 : da504000 r8 : da504000
r7 : 00000001 r6 : bf0c90dc r5 : bf0c90e8 r4 : da505f58
r3 : 00000000 r2 : 00000000 r1 : 00000001 r0 : bf0cb000
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 00c5387d Table: 1a718008 DAC: 00000015
dCPU: 0 PID: 2165 Comm: modprobe Not tainted 3.12.6+ #1
[<c0014034>] (unwind_backtrace+0x0/0xf0) from [<c001129c>]
(show_stack+0x10/0x14)
[<c001129c>] (show_stack+0x10/0x14) from [<c007cf74>] (kdb_dumpregs+0x28/0x50)
[<c007cf74>] (kdb_dumpregs+0x28/0x50) from [<c007f1e4>]
(kdb_main_loop+0x3c0/0x6c0)
[<c007f1e4>] (kdb_main_loop+0x3c0/0x6c0) from [<c00818e4>]
(kdb_stub+0x154/0x380)
[<c00818e4>] (kdb_stub+0x154/0x380) from [<c0078acc>]
(kgdb_handle_exception+0x32c/0x6c0)
[<c0078acc>] (kgdb_handle_exception+0x32c/0x6c0) from [<c00137b4>]
(kgdb_notify+0x24/0x40)
[<c00137b4>] (kgdb_notify+0x24/0x40) from [<c0417b84>]
(notifier_call_chain+0x44/0x84)
[<c0417b84>] (notifier_call_chain+0x44/0x84) from [<c0417bfc>]
(__atomic_notifier_call_chain+0x38/0x4c)
[<c0417bfc>] (__atomic_notifier_call_chain+0x38/0x4c) from [<c0417c28>]
(atomic_notifier_call_chain+0x18/0x20)
[<c0417c28>] (atomic_notifier_call_chain+0x18/0x20) from [<c0417c68>]
(notify_die+0x38/0x44)
[<c0417c68>] (notify_die+0x38/0x44) from [<c0011364>] (die+0xc4/0x3a8)
[<c0011364>] (die+0xc4/0x3a8) from [<c040f0a8>]
(__do_kernel_fault.part.9+0x54/0x74)
[<c040f0a8>] (__do_kernel_fault.part.9+0x54/0x74) from [<c0417898>]
(do_page_fault+0x1f0/0x3f0)
[<c0417898>] (do_page_fault+0x1f0/0x3f0) from [<c00083e4>]
(do_PrefetchAbort+0x34/0x98)
[<c00083e4>] (do_PrefetchAbort+0x34/0x98) from [<c0416298>]
(__pabt_svc+0x38/0x80)
Exception stack(0xda505dc8 to 0xda505e10)
5dc0: bf0cb000 00000001 00000000 00000000 da505f58 bf0c90e8
5de0: bf0c90dc 00000001 da504000 da504000 bf0cb000 c05be008 00000000 da505e10
5e00: bf0cb008 bf0c4000 60000013 ffffffff
[<c0416298>] (__pabt_svc+0x38/0x80) from [<bf0c4000>] (0xbf0c4000)
<https://github.com/linux-wpan/linux-net-next/commits/6lowpan_pending_patches>
Does anybody knows how to fix that?
Ciao,
Cristiano
On 01/04/2014 08:50 AM, Alexander Aring wrote:
Hi,
On Sat, Jan 04, 2014 at 01:37:37AM +0100, Cristiano wrote:
Hi Martin,
I'm doing the same think. I think you need to export the symbols from
the file reassembly.c.
Add the following lines below the functions:
EXPORT_SYMBOL(lowpan_net_frag_init);
EXPORT_SYMBOL(lowpan_net_frag_exit);
I also think you need to add the module license to the same file or the
module will fail to load:
MODULE_LICENSE("GPL v2");
But I need to test this last change tomorrow.
okay, I failed here. Sorry :-). I will change it. Thanks!
- Alex
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel