I’m fighting a bizarre crash since early December. Has been very educational for myself, but not helping to boost WAF at all Long story short - wlan occasionally disappears, lately when opening Grafana from Android Chrome.
The long story.
All was working fine when wired (even from 1A charger), until I moved PI to closed enclosure, with just 220V and no network cable. It started to crash every now and then, when I’m home and start doing smtg.
First I thought it’s overheating (learned how to do exec binding and record/check T or memory in grafana). Then I blamed power supply (upgraded to ipad’s 2A; plus learned to switch off BT, hdmi, Led’s, etc). Then I found out it’s actually not crashing, just network disappears (added GPIO restart switch plus learned executecommand in rules for sudo reboot when router not available). Has been quite an nightmare:slight_smile:
What is common thing, upon crash there is a tiny:
brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content: 0x40012
in the kern.log
More often than not I see crash when trying to open Grafana in Chrome (GalaxyS8) after a while and it goes to login screen, not existing session. Today was even been able to repeat - after a restart, few hours everything works fine; I can open Grafana dashboard in already logged in tab; if create a new Incognito tab, try to open Grafana - I get uncompleted login page and suddenly wlan is down.
Last occurrences of issue been with Grafana login, but, I feel, in past have seen it also when trying to edit HABPanels.
I have not managed (learned) to get Terminal over BT yet, so it’s a little bit hard to debug/troubleshoot, when the wlan is down. My first attempt to do ifdown/ifup in rules instead of sudo reboot did not help (but might be I had some other config issues).
Anyone else seen similar? How to better debug to root cause? Less-drastic remedy than reboot? Or shall I just get a usb wifi and forget the problem all together?
Jan 3 07:38:35 openHABianPi grafana-server: t=2018-01-03T07:38:35+0200 lvl=info msg="Request Completed" logger=context userId=0 orgId=0 uname= method=GET path=/ status=302 remote_addr=192.168.1.131 time_ms=3 size=29 referer= Jan 3 07:38:38 openHABianPi kernel: [27273.524164] brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content: 0x40012 Jan 3 07:39:12 openHABianPi systemd: Started Turns off Raspberry Pi display backlight on shutdown/reboot.
Linux openHABianPi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
openHAB 2.2.0-1 (Release Build)