Posts by borke79

    Ah, that explains a lot, thank you milhouse.

    Will try both shortly, although I still don't know how to reproduce it on demand. I haven't had a crash during normal operation since writing my post. Maybe generating traffic and/or attenuating the wifi-signal will do, as the last post of the github-issue suggests.

    Greetings

    Hi,

    since I've updated from 8.0.2 to 8.1, I experience wifi-issues with the built-in Broadcom-chip on my Raspberry Pi 3. The wifi is either not connecting at startup or loses connection, usually after some time in idle state. This only happens sporadically, and in Version 8.1.0 I usually worked around it by disabling and enabling wifi again, or doing a reboot.
    Meanwhile, on Version 8.1.1, it already happend several times that the system was also completely frozen after a while on that occasion. So I tried to investigate this a little:

    I enabled debug-logging in kodi and I tried to put the brcmfmac-module in debug-mode, providing a file with options brcmfmac debug=0x0003FFFE in

    /storage/.config/modprobe.d. I tried several values for debug, to increase verbosity (either decimal or hex), using the message levels I found here:

    brcmfmac debugging and appropriate debug values | tech 4 research .

    Unfortunately, I only ever got 3 lines of kernel-messages concerning brcmfmac:


    Code
    1. [ 7.378648] usbcore: registered new interface driver brcmfmac
    2. [ 7.524749] brcmfmac: Firmware version = wl0: Aug 7 2017 00:46:29 version 7.45.41.46 (r666254 CY) FWID 01-f8a78378
    3. [ 8.186875] brcmfmac: power management disabled


    I also installed the network-tools addon and tried to play with power-save mode and reg-domain on startup, although this seemed pretty pointless. But due to the sporadic occurences, I couldn't figure out if this had anything to do with it.


    This morning, I experienced a system freeze again, and now the kernel-log contains the following lines, evidently repeating in a endless loop until the freeze:


    On first sight, the kodi log shows no difference to a normal bootup without the wifi issue. I also attached a full journal-log of the incident.


    My System:

    Raspberry Pi 3 Model B Rev 1.2

    LibreELEC 8.1.1, Linux 4.9.43 #1 SMP Tue Aug 29 08:16:10 BST 2017
    Wifi-firmware: 7.45.41.46 (r666254 CY), FWID 01-f8a78378


    Since my wifi-environment hasn't changed over time, and the wifi has been absolutely stable in earlier versions (and other systems like recalbox on the same device), my guess is, this is related to the recent firmware-updates for bcm43438.

    I hope I could already help someone who gets this error as well. Please write me, if can can do anything more to help.

    Greetings


    kodi.log

    journal.log