lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190410135106.jiiqehu33dvrusb7@manjaro.localdomain>
Date:   Wed, 10 Apr 2019 16:51:06 +0300
From:   Mohammad Rasim <mohammad.rasim96@...il.com>
To:     brcm80211-dev-list@...ress.com,
        brcm80211-dev-list.pdl@...adcom.com, netdev@...r.kernel.org,
        linux-wireless@...r.kernel.org
Subject: BCM4335 though sdio is not fully restarted after rmmod and modprobe

Hi,
I'm running mainline linux (5.1.0-rc2 to be precise) on an amlogic
board, the board comes with Ampak AP6335 combo (so the wifi is BCM4335 over SDIO).
The firmware for this chip is already shipped by linux-firmware as brcmfmac4335-sdio.bin
but one thing that's missing is the nvram settings so I grapped the
nvram txt file from the vendor package(it can be found in [0]) and
placed it in the path that the driver is expecting, and the dongle is
working and I can scan for APs, the problem I have now is when run rmmod
followed by modprobe, the chip is not restarted and I get errors and no
wlan0 interface

after running `rmmod brcmfmac` I get these errors:

[  745.955312] ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[  745.958211] ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[  745.968443] ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[  745.973286] ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-5)

and after that I run `modprobe brcmfmac` I get these errors:

[  781.529964] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4335-sdio for chip BCM4335/1
[  784.355265] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[  784.361630] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[  784.364787] brcmfmac: brcmf_sdiod_ramrw: membytes transfer failed
[  784.370677] brcmfmac: brcmf_sdio_readshared: unable to obtain sdpcm_shared info: rv=-110 (addr=0x0)
[  784.379667] ieee80211 phy1: brcmf_bus_started: failed: -110
[  784.385174] ieee80211 phy1: brcmf_attach: dongle is not responding: err=-110
[  784.429042] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[  784.432217] brcmfmac: brcmf_sdio_firmware_callback: brcmf_attach failed
[  784.443484] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[  784.446325] brcmfmac: brcmf_sdiod_ramrw: membytes transfer failed
[  784.452322] brcmfmac: brcmf_sdio_readshared: unable to obtain sdpcm_shared info: rv=-110 (addr=0x0)


Any idea what's causing this ?

[0] https://github.com/kszaq/brcmfmac_sdio-firmware-aml/blob/master/firmware/brcm/nvram_bcm4335.txt

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ