[riot-users] gnrc_border_router example on a pba-d-01-kw2x board

Axl Schreiber axl.schreiber at imms.de
Thu Apr 21 17:35:16 CEST 2016


Hey Oleg,

I updated my version to the current master and tried it again.
Now it works perfect!

Cheers,
Axl


Am 21.04.2016 um 16:55 schrieb Oleg Hahm:
> Hi Axl,
>
> if I see this correctly, you run into a problem that should be fixed by now.
> Can you update your version to current master and try again?
>
> Cheers,
> Oleg
>
> On Thu, Apr 21, 2016 at 04:51:19PM +0200, Axl Schreiber wrote:
>> Hey Kaspar,
>>
>> I did  "arm-none-eabi-objdump -S bin/pba-d-01-kw2x/gnrc_border_router.elf".
>>
>> I think this is the relevant part of the output:
>>
>>                          ...
>> static void _receive(gnrc_pktsnip_t *pkt)
>> {
>>      3194:       e92d 47f0       stmdb   sp!, {r4, r5, r6, r7, r8, r9, sl,
>> lr}
>>      kernel_pid_t iface = KERNEL_PID_UNDEF;
>>      gnrc_pktsnip_t *ipv6, *netif, *first_ext;
>>      ipv6_hdr_t *hdr;
>>
>>      assert(pkt != NULL);
>>      3198:       4604            mov     r4, r0
>>      319a:       b918            cbnz    r0, 31a4 <_receive+0x10>
>>      319c:       2003            movs    r0, #3
>>      319e:       494e            ldr     r1, [pc, #312]  ; (32d8
>> <_receive+0x144>)
>>      31a0:       f7fd f97a       bl      498 <core_panic>
>>
>>      netif = gnrc_pktsnip_search_type(pkt, GNRC_NETTYPE_NETIF);
>>      31a4:       f04f 31ff       mov.w   r1, #4294967295
>>      31a8:       f002 fce0       bl      5b6c <gnrc_pktsnip_search_type>
>>
>>      assert(netif);
>>      31ac:       2800            cmp     r0, #0
>>      31ae:       d0f5            beq.n   319c <_receive+0x8>
>>      iface = ((gnrc_netif_hdr_t *)netif->data)->if_pid;
>>      31b0:       6883            ldr     r3, [r0, #8]
>>      31b2:       885e            ldrh    r6, [r3, #2]
>>      31b4:       46a0            mov     r8, r4
>>      31b6:       4625            mov     r5, r4
>>
>>      first_ext = pkt;
>>                          ...
>>
>> Can I do something else?
>>
>> Axl
>>
>>
>>
>> Am 21.04.2016 um 10:43 schrieb Kaspar Schleiser:
>>> Hey Axl,
>>>
>>> On 04/21/2016 10:00 AM, Axl Schreiber wrote:
>>>> 0x31a5
>>>> *** RIOT kernel panic:
>>>> FAILED ASSERTION.
>>> Did you check where it chrashed (0x31a5)? Try to find the address in
>>> objdump out ("BOARD=<board> make info-objdump").
>>>
>>>> I thinkit should be possible to run thegnrc_border_router example ofthe
>>>> latest RIOT version from GitHub on a pba‑d‑01‑kw2xboard successfully.
>>> Definitely. If you reproducably crash your board, it would actually be
>>> nice to find out which change is responsible.
>>>
>>> Kaspar
>>> _______________________________________________
>>> users mailing list
>>> users at riot-os.org
>>> https://lists.riot-os.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users at riot-os.org
>> https://lists.riot-os.org/mailman/listinfo/users
>
>
> _______________________________________________
> users mailing list
> users at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/users



More information about the users mailing list