edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 38 forks source link

exception after long time running #94

Closed xlla closed 3 years ago

xlla commented 4 years ago

I left edison running there for about 12 hours, then I saw some exception raise.

root@edison:~# [ 6029.496802] ieee80211 phy0: brcmf_psm_watchdog_notify: PSM's watchdog has fired!
[ 6029.507425] brcmfmac: brcmf_sdiod_ramrw: membytes transfer failed
[ 6029.513721] brcmfmac: brcmf_sdio_bus_get_memdump: error -84 on reading 2048 membytes at 0x00000000
[ 6029.523112] ieee80211 phy0: brcmf_psm_watchdog_notify: Failed to get memory dump, -84
[ 6029.531197] ieee80211 phy0: brcmf_fweh_event_worker: event handler failed (41)

htot commented 4 years ago

Never seen that before (mine is running continuously).

xlla commented 4 years ago

as I am using it, errors appears again.

root@edison:/media/sdcard/study/git/luma.oled# python3 -m pip install --upgrade Pillow
[12061.509152] ieee80211 phy0: brcmf_psm_watchdog_notify: PSM's watchdog has fired!
[12061.517562] brcmfmac: brcmf_sdiod_ramrw: membytes transfer failed
[12061.523921] brcmfmac: brcmf_sdio_bus_get_memdump: error -84 on reading 2048 membytes at 0x00000000
[12061.536441] ieee80211 phy0: brcmf_psm_watchdog_notify: Failed to get memory dump, -84
[12061.544571] ieee80211 phy0: brcmf_fweh_event_worker: event handler failed (41)

Collecting Pillow
  Downloading https://pypi....
xlla commented 4 years ago

in reboot logs

[  OK  ] Started Create Volatile Files and Directories.
[    9.759668] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43340-sdio for chip BCM43340/2
[    9.927663] sof-audio-pci 0000:00:0d.0: error: no matching ASoC machine driver found - aborting probe
[    9.937150] sof-audio-pci 0000:00:0d.0: error: failed to get machine info -19
[    9.944510] sof-audio-pci 0000:00:0d.0: error: failed to probe DSP hardware!
[   10.044346] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43340-sdio for chip BCM43340/2
[   10.076572] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[   10.149253] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43340/2 wl0: Oct 23 2017 08:41:23 version 6.10.190.70 (r674464) FWID 01-98d71006
[  OK  ] Found device Merrifield Serial IO HSUART Controller.
[
htot commented 4 years ago

Your last log is not related. But I can reproduce this directly after link comes up:

Mar 05 20:21:25 edison kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Mar 05 20:21:25 edison systemd-networkd[576]: wlan0: Gained carrier
Mar 05 20:21:26 edison systemd-networkd[576]: wlan0: Gained IPv6LL
Mar 05 20:21:29 edison kernel: ieee80211 phy0: brcmf_psm_watchdog_notify: PSM's watchdog has fired!
Mar 05 20:21:29 edison kernel: brcmfmac: brcmf_sdiod_ramrw: membytes transfer failed
Mar 05 20:21:29 edison kernel: brcmfmac: brcmf_sdio_bus_get_memdump: error -84 on reading 2048 membytes at 0x00000000
Mar 05 20:21:29 edison kernel: ieee80211 phy0: brcmf_psm_watchdog_notify: Failed to get memory dump, -84
Mar 05 20:21:29 edison kernel: ieee80211 phy0: brcmf_fweh_event_worker: event handler failed (41)

This on:

root@edison:~# uname -a
Linux edison 5.5.0-edison-acpi-standard #1 SMP Sun Feb 16 17:32:42 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Maybe @andy-shev knows.

andy-shev commented 4 years ago

No idea, I didn't use WiFi for few month. But Broadcom usually responsive in the mailing list(s), so, I would recommend to drop an email to linux-wireless@ mailing list with Cc to the driver maintainer.

htot commented 4 years ago

@xlla does this happen in linux v5.4.0 too? Or is it new for v5.5.0?

xlla commented 4 years ago

I think it occur in both. I have switched to v5.5.0 recently because @andy-shev said that fbtft should work in v5.5 otherwise many patches must be apply. when I first notice those errors , it must be on v5.4.0.

htot commented 4 years ago

It doesn't seem to be harmful, I see it only once in journalctl -b (once per boot)

xlla commented 4 years ago

@htot I saw some articles said

Arduino pin 7 can sometimes negatively impact   the WiFi capability, if using WiFi avoid using this pin

does that D7 interference exist in our new system? it is HW issue or software cause?

htot commented 4 years ago

Not that I know of. Wifi and BT are internal to the Edison module.

mwallnoefer commented 4 years ago

These messages appear also when switching from WiFi client to AP mode and vice-versa, but I did not notice any downtime. So I guess they're not causing any harm...

htot commented 3 years ago

I don't see these messages when using linux 5.10.41, so whatever it was, it seems fixed upstream. Feel free to reopen if needed.