Hi Alex, I'm now successfully running with your kernel but I still have a problem which I need to track down. It may be something to do with the fact I'm missing some Xilinx changes which haven't made it into 3.12 yet as they are still supporting 3.10. Below is the as the first line of the boot messages in the log below is in do_page_fault in arch/microblaze/mm/fault.c /* On a kernel SLB miss we can only check for a valid exception entry */ if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) { pr_warn("kernel task_size exceed"); _exception(SIGSEGV, regs, code, address); }
So there is either a problem with the microblaze MMU code or there is actually a memory problem in the 6LoWPAN module. I'll see if I can setup my Xilinx debugger to see if it can catch this exception and get some more information. [ 13.299602] kernel task_size exceed [ 13.323757] Oops: Exception in kernel mode, sig: 11 [ 13.384014] CPU: 0 PID: 48 Comm: modprobe Not tainted 3.12.0xsilon-poky #1 [ 13.466281] task: c39282e0 ti: c3a32000 task.ti: c3a32000 [ 13.530834] Registers dump: mode=C3A33D20 [ 13.580855] r1=C3A33DC0, r2=00000000, r3=00000000, r4=00400100 [ 13.651686] r5=F007D000, r6=00000001, r7=F2109948, r8=FFFFFFFF [ 13.722510] r9=00000000, r10=0000002A, r11=00000000, r12=00000003 [ 13.796468] r13=00000000, r14=C3A33DF8, r15=F007D00C, r16=00000000 [ 13.871468] r17=F005D044, r18=FFFFFF9C, r19=F007D000, r20=48193FF4 [ 13.946460] r21=48198470, r22=00000000, r23=F2109954, r24=F2109948 [ 14.021453] r25=00000000, r26=C3A32000, r27=00000001, r28=F2109990 [ 14.096451] r29=C39B21C4, r30=00000000, r31=C39282E0, rPC=F005D044 [ 14.171443] msr=000046A2, ear=F005D044, esr=00000000, fsr=00000001 /etc/rcS.d/S04modutils.sh: line 37: 48 Segmentation fault modprobe 6lowpan > /dev/null 2>&1 Cheers, Martin. On 24/01/14 14:16, Martin Townsend wrote: > Hi Alex, > > I'm still seeing the same errors. I'm using commit > d489476eb0b91b9d79997f60dd40f976f78fa7fa5, is this correct? > > Cheers, > Martin. > > On 24/01/14 13:37, Alexander Aring wrote: >> On Fri, Jan 24, 2014 at 01:24:58PM +0100, Alexander Aring wrote: >>> When I am done I will sent a mail. >>> >> I am finish and tested with compile as modules! >> My current setup does not allow to load module easily. I hope the load >> of modules should work now. :-/ >> >> Need to change my working flow a little bit for this. >> >> It's inside the 6lowpan_pending_branch, I run a forced update. Hope this >> is okay for you. So there are no new patches, the fragmentation patches >> are updated. [2] >> >> >> Changelog since "v1": >> >> - Added missing GPL_LICENSE in reassmbly.c >> - Added missing EXPORT_SYMBOL(s) in reassmbly.c >> - Change "dgram_offset / 8" to "dgram_offset >> 3" >> - Add missing datagram_size to match fragments. >> Before it was only tag, src and dest 802.15.4 addresses. >> Now it's tag, size, src and dest addresses. See RFC4944 [1] >> which describe that we need to use the size also. >> >> Future work: >> >> maybe add a sysfs entry like ipv6 reassmbly. Then we could change the >> >> net->ieee802154_6lowpan.frags.high_thresh >> net->ieee802154_6lowpan.frags.low_thresh >> net->ieee802154_6lowpan.frags.timeout >> >> Just notice the name of net struct is "ieee802154_6lowpan" and it's >> maybe too long. Maybe just "6lowpan", but then we get in truble with >> bluetooth 6lowpan, that's why i decided to name it "ieee802154_6lowpan". >> I would like to hear some opinions from netdev mailinglist... I will >> send these patches as RFC at first. >> >> >> - Alex >> >> [1] http://tools.ietf.org/html/rfc4944#section-5.3 >> [2] >> https://github.com/linux-wpan/linux-net-next/commits/6lowpan_pending_patches > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Linux-zigbee-devel mailing list > Linux-zigbee-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel