Hi,
I have wifi working on cubietruck, but after several minutes of operation it stops work. The kernel was compiled from the latest sunxi-devel branch of linux-sunxi repo.
Ifconfig says that wlan1 is running, but all operation fails by timeout.
# iwlist wlan1 scan
wlan1 Interface doesn't support scanning : Connection timed out
# time iwconfig wlan1
wlan1 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
real 0m4.999s
user 0m0.000s
sys 0m0.010s
Each second two messages appears in dmesg:
brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x0a020, err: -110
brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
More related messages:
brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
brcmfmac: brcmf_fil_cmd_data: Failed err=-110
brcmfmac: brcmf_cfg80211_get_tx_power: error (-110)
brcmfmac: brcmf_do_escan: error (-110)
brcmfmac: brcmf_cfg80211_scan: scan error (-110)
The command rmmod brcmfmac never finishes.
Also, when wifi stops work, mmc error messages repeat in dmesg:
[ 245.780430] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD SBE !!
[ 245.780489] sunxi-mmc 1c12000.mmc: data error, sending stop command
[ 245.780550] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -110
[ 245.780561] brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame, send NAK
[ 245.784798] brcmfmac: brcmf_sdiod_regrw_helper: failed to write data F1@0x0a040, err: -5
[ 245.784912] brcmfmac: brcmf_sdio_hdparse: seq 4: sequence number error, expect 5
[ 246.122616] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
[ 246.122672] sunxi-mmc 1c12000.mmc: data error, sending stop command
[ 246.460309] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
[ 246.460354] sunxi-mmc 1c12000.mmc: data error, sending stop command
[ 246.797996] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
[ 246.798043] sunxi-mmc 1c12000.mmc: data error, sending stop command
[ 246.798085] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x0a020, err: -110
[ 246.798115] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[ 247.133900] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
[ 247.133947] sunxi-mmc 1c12000.mmc: data error, sending stop command
[ 247.471573] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
[ 247.471613] sunxi-mmc 1c12000.mmc: data error, sending stop command
[ 247.809240] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
[ 247.809283] sunxi-mmc 1c12000.mmc: data error, sending stop command
[ 247.809323] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x0a020, err: -110
[ 247.809354] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
When wifi module is unloaded there are not any mmc errors.
I use dd if=/dev/zero bs=64k command via ssh to test wifi.
I can also check other versions of kernel.
Best,
Alexander Bersenev
пятница, 13 июня 2014 г., 2:26:56 UTC+6 пользователь Hans de Goede написал: