You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/03/23 22:13:52 UTC

[GitHub] [incubator-nuttx] v01d commented on issue #3157: esp32: syslog messages from boot interfere with other syslog messages

v01d commented on issue #3157:
URL: https://github.com/apache/incubator-nuttx/issues/3157#issuecomment-805301347


   I actually see this after booting as well:
   ```
   nsh> dmesg
   [   15.640000] wapi: esp_wifi_sta_essid: ssid= len=33
   [   15.640000] wapi: esp_wifi_sta_essid: WiFi station ssid=v01dalesita len=11
   [   44.060000] wapi: wlan_ioctl: flags: 1
   [   44.060000] wapi: esp_wifi_sta_essid: ssid=v01dalesita len=11
   [   44.060000] wapi: esp_wifi_sta_essid: WiFi station ssid=v01dalesita len=11
   [   44.180000] wifi: I (44175) wifi:[   44.180000] wifi: new:<11,0>, old:<1,0>, ap:<255,255>, sta:<11,0>, prof:1[   44.180000] wifi: 
   [   44.190000] wifi: I (44177) wifi:[   44.190000] wifi: state: init -> auth (b0)[   44.190000] wifi: 
   [   44.190000] wifi: I (44184) wifi:[   44.190000] wifi: state: auth -> assoc (0)[   44.190000] wifi: 
   [   44.190000] wifi: I (44186) wifi:[   44.190000] wifi: state: assoc -> init (4a0)[   44.190000] wifi: 
   [   44.190000] wifi: I (44187) wifi:[   44.190000] wifi: new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:1[   44.200000] wifi: 
   [   44.200000] wifi: esp_event_post: Event: base=WIFI_EVENT id=5 data=0x3ffe5770 data_size=40 ticks=4294967295
   [   44.200000] nsh> dmesg
   ```
   Yes, I have enabled DEBUG_WIRELESS_INFO. This is on the RAMLOG (you can see I'm invoking dmesg).
   My guess is that there's unprotected concurrent access to syslog. Could syslog be called from "outside OS" within closed drivers?
   I couldn't find where this "I" or "W" is in the code.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org