[riot-notifications] [RIOT-OS/RIOT] cpu/esp8266: Improvements to the `esp_wifi` netdev driver (#10862)

Sebastian Meiling notifications at github.com
Fri Jan 25 09:51:22 CET 2019


smlng commented on this pull request.

Nice one, getting rid of the mutex and the (new) LWIP wrapper! However, I cannot achieve the same results as you did, here mine:

following with 1280B packets:

| interval [s] | loss [%]|
|----:|----:|
| 1.000 | 0.0 |
| 0.100 | 0.0 |
| 0.010 | 0.0 |
| 0.003 | 1.0 |
| 0.002 | 5.0 |
| 0.001 | 50.0 |

Reducing packer size helps, next all with interval `0.001s`

| size [B] | loss [%] |
|----:|----:|
| 1280 | 50.0 |
| 1024 | 42.0 |
| 768 | 35.0 |
| 512 | 30.0 |


But after several ping trials in a row without reset, I got a kernel panic:

```
> 2019-01-25 09:40:40,124 - INFO #  EXCEPTION!! exccause=28 (LoadProhibitedCause) @4022082a excvaddr=00000004
2019-01-25 09:40:40,132 - INFO # 	pid | name                 | state    Q | pri | stack  ( used) | base addr  | current     
2019-01-25 09:40:40,140 - INFO # 	  - | isr_stack            | -        - |   - |   2048 ( 1488) | 0x3ffe8110 | 0x3ffe8910
2019-01-25 09:40:40,148 - INFO # 	  1 | ets                  | bl anyfl _ |   1 |   1536 ( 1388) | 0x3fff27cc | 0x3fff2cd0 
2019-01-25 09:40:40,156 - INFO # 	  2 | idle                 | pending  Q |  31 |   1024 (  220) | 0x3fff2e9c | 0x3fff31d0 
2019-01-25 09:40:40,164 - INFO # 	  3 | main                 | bl mutex _ |  15 |   3072 ( 1420) | 0x3fff329c | 0x3fff3c30 
2019-01-25 09:40:40,172 - INFO # 	  4 | pktdump              | bl rx    _ |  14 |   1024 (  360) | 0x3fff6ed8 | 0x3fff7180 
2019-01-25 09:40:40,180 - INFO # 	  5 | ipv6                 | running  Q |  12 |   1536 ( 1152) | 0x3fff4be4 | 0x3fff4fb0 
2019-01-25 09:40:40,188 - INFO # 	  6 | udp                  | bl rx    _ |  13 |   1024 (  392) | 0x3fff7928 | 0x3fff7bb0 
2019-01-25 09:40:40,196 - INFO # 	  7 | esp_wifi             | bl mutex _ |  10 |   1536 (  600) | 0x3fff3fa8 | 0x3fff43d0 
2019-01-25 09:40:40,204 - INFO # 	  8 | RPL                  | bl rx    _ |  13 |   1024 (  324) | 0x3fff7524 | 0x3fff77f0 
2019-01-25 09:40:40,210 - INFO # 	    | SUM                  |            |     |  13824 ( 7344)
2019-01-25 09:40:40,212 - INFO # heap: 17000 (free 11448) byte
2019-01-25 09:40:40,216 - INFO # sysmem: 17000 (used 5552, free 11448)
2019-01-25 09:40:40,221 - INFO #                                                          
2019-01-25 09:40:40,225 - INFO #  ets Jan  8 2013,rst cause:2, boot mode:(3,6)
2019-01-25 09:40:40,225 - INFO # 
2019-01-25 09:40:40,249 - INFO # load 0x3ffe8000, len 3992, room 16 
2019-01-25 09:40:40,253 - INFO # tail 8
2019-01-25 09:40:40,254 - INFO # chksum 0x41
2019-01-25 09:40:40,257 - INFO # load 0x3ffe8fa0, len 15616, room 0 
2019-01-25 09:40:40,270 - INFO # tail 0
2019-01-25 09:40:40,277 - INFO # chksum 0x26
2019-01-25 09:40:40,277 - INFO # load 0x40100000, len 29308, room 8 
2019-01-25 09:40:40,299 - INFO # tail 4
2019-01-25 09:40:40,300 - INFO # chksum 0x10
2019-01-25 09:40:40,301 - INFO # csum 0x10
2019-01-25 09:40:40,341 - INFO # ��p�n���o|�
                                            $ll b�2
                                                   �|r�$��N�l ��d���
                                                                    �mode : null
```

I cannot reproduce the panic on master, however sometimes I don't get any ping reply there and the device seems to be stuck - a reset helps.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10862#pullrequestreview-196406489
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190125/068d6290/attachment.html>


More information about the notifications mailing list