2019-03-01 20:10:23

by Stefan Wahren

[permalink] [raw]
Subject: brcmfmac: bogus error messages during module unload

Hi,

this is some kind of older issue with brcmfmac. Everytime i unload the kernel module (e.g. v5.0-rc8 or next-20190301) on a Raspberry Pi 3 (multi_v7_defconfig / arm64_defconfig) after the driver has successful probed, i'm getting such bogus error messages in the kernel log:

[ 870.477114] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -5
[ 870.477122] brcmfmac: brcmf_cfg80211_get_tx_power: error (-5)
[ 871.057074] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[ 871.057153] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[ 871.057870] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[ 871.057878] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-5)

Is there a chance to remove or at least reduce them?

Thanks
Stefan


2019-03-02 07:05:36

by Arend Van Spriel

[permalink] [raw]
Subject: Re: brcmfmac: bogus error messages during module unload

Op 1 maart 2019 21:10:18 schreef Stefan Wahren <[email protected]>:

> Hi,
>
> this is some kind of older issue with brcmfmac. Everytime i unload the
> kernel module (e.g. v5.0-rc8 or next-20190301) on a Raspberry Pi 3
> (multi_v7_defconfig / arm64_defconfig) after the driver has successful
> probed, i'm getting such bogus error messages in the kernel log:
>
> [ 870.477114] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg
> failed w/status -5
> [ 870.477122] brcmfmac: brcmf_cfg80211_get_tx_power: error (-5)
> [ 871.057074] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
> to do.
> [ 871.057153] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
> to do.
> [ 871.057870] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing
> to do.
> [ 871.057878] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-5)
>
> Is there a chance to remove or at least reduce them?

These are triggered by user-space. Upon remove we can not communicate with
the device, but have not yet removed the network interfaces. So when
user-space does a request we fail. I will have a look at it.

Regards,
Arend

Verzonden met AquaMail voor Android
https://www.mobisystems.com/aqua-mail