Archive 07/10/2020.

Kernel panic

ligerard

Bonjour,

dans le TP11,
Si j’ai bien compris il faut executer la compilation du code sur les 2 noeuds en utilisant

make BOARD=iotlab-m3 DEFAULT_CHANNEL=19 DEFAULT_PAN_ID=0x6385 IOTLAB_NODE=m3-98.grenoble.iot-lab.info -C riot/networking/coap flash term

pour le 2eme node j’ai indiqué 99.

La compil se fait bien . Le ssh aussi.

Mais lorsque je lance la commande ifconfig, j’ai un kernel panic.
ifconfig
ifconfig
Iface 0 0x8004db3
*** RIOT kernel panic:
FAILED ASSERTION.

    pid | name                 | state    Q | pri | stack  ( used) | base addr  | current     
      - | isr_stack            | -        - |   - |    512 (  152) | 0x20000000 | 0x200001c8
      1 | idle                 | pending  Q |  15 |    256 (  128) | 0x20000794 | 0x20000814 
      2 | main                 | bl reply _ |   7 |   1536 (  968) | 0x20000894 | 0x20000d04 
      3 | 6lo                  | bl rx    _ |   3 |   1024 (  248) | 0x200038c4 | 0x20003bcc 
      4 | ipv6                 | bl rx    _ |   4 |   1024 (  280) | 0x2000193c | 0x20001c24 
      5 | udp                  | bl rx    _ |   5 |   1024 (  252) | 0x200040a8 | 0x200043ac 
      6 | coap                 | bl mbox  _ |   6 |   1108 (  536) | 0x20001448 | 0x20001684 
        | SUM                  |            |     |   6484 ( 2564)

*** halted.
D’ou cela peut-il venir ?

je viens de faire un autre essai sur m3-102 c’est ok , alors que sur le m3-101 ceraines commandes fonctionnent mais le ifconfig provoque un kernel panic

ssh -t fun1abe785d01@grenoble.iot-lab.info ‘socat - tcp:m3-101.grenoble.iot-lab.info:20000’

help
help
Command Description


coap CoAP example
reboot Reboot the node
ps Prints information about running threads.
ping6 Ping via ICMPv6
random_init initializes the PRNG
random_get returns 32 bit of pseudo randomness
nib Configure neighbor information base
ifconfig Configure network interfaces
6ctx 6LoWPAN context configuration tool

coap info
coap info
CoAP server is listening on port 5683
ps
ps
pid | name | state Q | pri | stack ( used) | base addr | current
- | isr_stack | - - | - | 512 ( 152) | 0x20000000 | 0x200001c8
1 | idle | pending Q | 15 | 256 ( 128) | 0x20000794 | 0x20000814
2 | main | running Q | 7 | 1536 ( 852) | 0x20000894 | 0x20000d04
3 | 6lo | bl rx _ | 3 | 1024 ( 248) | 0x200038c4 | 0x20003bcc
4 | ipv6 | bl rx _ | 4 | 1024 ( 280) | 0x2000193c | 0x20001c24
5 | udp | bl rx _ | 5 | 1024 ( 252) | 0x200040a8 | 0x200043ac
6 | coap | bl mbox _ | 6 | 1108 ( 536) | 0x20001448 | 0x20001684
| SUM | | | 6484 ( 2448)
ifconfig
ifconfig
Iface 0 0x8004db3
*** RIOT kernel panic:
FAILED ASSERTION.

    pid | name                 | state    Q | pri | stack  ( used) | base addr  | current     
      - | isr_stack            | -        - |   - |    512 (  152) | 0x20000000 | 0x200001c8
      1 | idle                 | pending  Q |  15 |    256 (  128) | 0x20000794 | 0x20000814 
      2 | main                 | bl reply _ |   7 |   1536 (  968) | 0x20000894 | 0x20000d04 
      3 | 6lo                  | bl rx    _ |   3 |   1024 (  248) | 0x200038c4 | 0x20003bcc 
      4 | ipv6                 | bl rx    _ |   4 |   1024 (  280) | 0x2000193c | 0x20001c24 
      5 | udp                  | bl rx    _ |   5 |   1024 (  252) | 0x200040a8 | 0x200043ac 
      6 | coap                 | bl mbox  _ |   6 |   1108 (  536) | 0x20001448 | 0x20001684 
        | SUM                  |            |     |   6484 ( 2564)

*** halted.

ligerard

Je viens de tester à Strasbourg. Et tout fonctionne