Well, a few under volage messages, I'm using 2.1A 5V adapter with real short cable, pi3b, stretch.
Code: Select all
[ 5.797291] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001 [ 5.797986] usbcore: registered new interface driver brcmfmac [ 6.147758] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 23 2017 03:55:53 version 126.96.36.199 (r674442 CY) FWID 01-e58d219f [ 6.149158] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7.11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data: 9.10.39 Inc Compiler: 1.29.4 Inc ClmImport: 1.36.3 Creation: 2017-10-23 03:47:14 [ 8.209991] zram: Added device: zram0 [ 8.361447] zram0: detected capacity change from 0 to 134873088 [ 8.511107] Adding 131708k swap on /dev/zram0. Priority:0 extents:1 across:131708k SSFS [ 8.645419] Voltage normalised (0x00000000) [ 9.016385] random: crng init done [ 9.016419] random: 7 urandom warning(s) missed due to ratelimiting [ 9.545548] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 9.545616] brcmfmac: power management disabled [ 10.735362] Under-voltage detected! (0x00050005) [ 11.430140] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 11.430629] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 12.266594] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 16.965313] Voltage normalised (0x00000000) [ 131.358845] Under-voltage detected! (0x00050005) [ 137.592128] Voltage normalised (0x00000000)
I tried reducing the min cpu freq to 200mhz and max to 800mhz added over_volt=-4 , have bt disabled in config.txt as well.
Didn't help a tid bit.
Back to the topic
We can see at 9.54 that power management is disabled for the brcmfmac, that is our WiFi, right?
Oddly enough, later on, probably not using it for just a couple of minutes - like when reading, or while I'm writing this - the WiFi supposedly falls asleep
This error message just loops, hundreds of times.
Code: Select all
[ 504.876599] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110 [ 504.876895] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame [ 504.881535] brcmfmac: brcmf_sdiod_regrw_helper: failed to write data F1@0x1000d, err: -110 [ 504.886245] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x1001a, err: -110 [ 504.891145] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x10019, err: -110 [ 504.895899] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x1001a, err: -110 [ 504.900704] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x10019, err: -110 [ 504.905788] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x1001a, err: -110 [ 504.912002] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x10019, err: -110
Is this voltage issue? WiFi works after reboot. Maybe some sleep state code bug? I have this issue for over a year, but did away with perfectly stable usb tethering from android. If I remember correctly, dongles behaved similarly as onboard but an order of magnitude more stable. I remember as well that onboard didn't work after reboot, now it seems to do (tested only today ~15times). It used to came back at random after reboots, I have probably used a longer cable back then, so maybe it is power related, indeed? IMO Disabling wifi in config.txt reduces the number of under-voltage warnings (overall it happens rarely).
Off-topic I'd recommend replacing swapfile with zram, and the 11.4301 dmesg makes me want disable this thing that makes it appear, so maybe an option to disable ethernet port in config.txt?
p.s what concerns me as well is that undervoltage happens at idle (once every ~10 minutes), how is that happening? at idle it should be 1.2v. also the green led triggering on idle scares me.