[riot-notifications] [RIOT] native stops receiving packets after a while (#298)

benpicco notifications at github.com
Mon Nov 4 04:06:35 CET 2013


When I run several native processes in desvirt, they all will stop receiving any UDP packets after a while.

I've tried the suggested `ping -I tap0 -f -i 200 10.0.0.1` but still most processes will cease receiving anything after a minute or so, unless they #288 before. (Actually they won't be affected by #288 if they stop receiving packets)

The typical output of ps in such situation looks like this:
````
        pid | name                 | state    Q | pri | stack ( used) location   | runtime | switches 
          0 | idle                 | pending  Q |  31 |  8192 ( 1164) 0x8081420 |   -nan% |       -1
          1 | main                 | running  Q |  15 | 16384 ( 3396) 0x807d420 |   -nan% |       -1
          2 | uart0                | bl rx    _ |  14 |  8448 (  976) 0x8083560 |   -nan% |       -1
          3 | udp_packet_handler   | bl reply _ |  15 |  8192 ( 1008) 0x80b1fa0 |   -nan% |       -1
          4 | tcp_packet_handler   | bl rx    _ |  15 |  8192 (  960) 0x80b3fc0 |   -nan% |       -1
          5 | tcp_general_timer    | sleeping _ |  16 |  8192 ( 1252) 0x80affa0 |   -nan% |       -1
          6 | radio                | bl rx    _ |  13 |  8448 ( 1104) 0x80a9000 |   -nan% |       -1
          7 | Transceiver          | bl rx    _ |  12 | 16384 ( 2828) 0x80b7600 |   -nan% |       -1
          8 | ip_process           | bl reply _ |  14 | 49152 ( 1104) 0x8098b40 |   -nan% |       -1
          9 | lowpan_context_rem   | sleeping _ |  16 |  8192 ( 1056) 0x80967a0 |   -nan% |       -1
         10 | lowpan_transfer      | bl reply _ |  14 |  8192 (  976) 0x80a4b80 |   -nan% |       -1
         11 | olsr_rec             | bl rx    _ |  14 | 16384 ( 3860) 0x8086040 |   -nan% |       -1
         12 | olsr_snd             | bl rx    _ |  14 | 16384 ( 3268) 0x808a040 |   -nan% |       -1
         13 | pong                 | bl rx    _ |  14 |  8192 ( 1040) 0x808e120 |   -nan% |       -1
            | SUM                  |            |     | 188928
````

On a 'healthy' node, `udp_packet_handler`, `ip_process` and `lowpan_transfer` will be `bl rx` instead of `bl reply`.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/298
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131103/cc0e9a41/attachment-0001.html>


More information about the notifications mailing list