GL-E750 OpenWRT官方源码编译概率性无网络

OpenWRT官方源码编译概率性无网络
1|使用官方源码编译默认配置+Luci;
2|编译固件刷机后网络概率性丢失;

刷机后有WiFi+网口无问题,重启后网口连接不上+无WiFi,等待一段时间20-30分钟后有1/3的概率恢复正常

你要给配置跟log,才有可能看是什么问题。

config.zip (35.1 KB)

这是编译时配置,由于出问题时无法连接设备,未能记录到有效log;

另外这个设备有TTL接口吗?

OLED显示时间部分也发现一些问题,会显示00:00,log如下:

Wed Oct 20 19:08:17 2021 user.debug : e750-mcu message no change for 0 times
Wed Oct 20 19:08:37 2021 user.debug : e750-mcu message no change for 1 times
Wed Oct 20 19:08:46 2021 user.debug : e750-mcu message no change for 2 times
Wed Oct 20 19:08:55 2021 user.debug : e750-mcu message no change for 3 times
Wed Oct 20 19:09:05 2021 user.debug : e750-mcu message no change for 4 times
Wed Oct 20 19:09:14 2021 user.debug : e750-mcu message no change for 5 times
Wed Oct 20 19:09:23 2021 user.debug : e750-mcu message no change for 6 times
Wed Oct 20 19:09:43 2021 user.debug : e750-mcu message no change for 7 times
Wed Oct 20 19:09:43 2021 user.debug : e750-mcu send message: { “ssid_5g”: “MiFi-5.8GHz”, “up_5g”: “1”, “key_5g”: “12345678”, “ssid”: “MiFi-2.4G”, “up”: “1”, “key”: “12345678”, “hide_psk”: “1”, “carrier”: “”, “work_mode”: “Router”, “lan_ip”: “10.154.0.1”, “ps”: “0”, “vpn_status”: “off”, “clients”: “2”, “clock”: “unsync”, “disk”: “1”, “mcu_status”: “1”, “version2b”: “0” }
Wed Oct 20 19:09:44 2021 user.debug : e750-mcu recived:{OK},98,49.2,1,2

这个看起来麻烦了。ttl串口给了mcu了。应该是mcu程序跟固件没有对接好。
不是很乐观解决。

设备使用官方固件出现的无网络问题已经初步定位为5GWiFi部分的异常,拆除qca9887后故障未再复现;另外我还有两个问题,
1、GL-E750是否提供TTL口,主板上没有看到明显标识;
2、MCU部分禁用通电开机固件哪里可以获取到;(是否有提供这个固件,或者是否能公开MCU代码)

你这个log没看出哪里有异常呀!能否标示一下?

log只有mcu异常部分;网络不可用的log未收集到,正准备通过ttl获取,拆机后没有看到ttl接口;(通过拆除硬件的方式发现,问题是出现在安装好qca9887模块的情况下,未安装此模块的情况下问题不会复现)

如果你手头上有硬件你可以复现一下问题;(刷openwrt官方附件,刷好后设置好网络,重启几次设备看看,很大概率问题会复现)

问题已经初步解决,产生的原因与5 GHz 无线设备有关/ ath10K,不知何时能修复;
问题出现原因:修改了驱动程序默认值(国家/地区);

ath10k_pci 0000:00:00.0: could not read board ext data addr (-145)

你的校准数据是怎么获取的?
你可以尝试使用ATH10K-CT看一下。

luochognjun

[ 20.574021] usbcore: registered new interface driver qmi_wwan
[ 20.803553] ath10k 5.10 driver, optimized for CT firmware, probing pci device: 0x50.
[ 20.838376] ath10k_pci 0000:00:00.0: enabling device (0000 → 0002)
[ 20.847150] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 24.088727] ath10k_pci 0000:00:00.0: qca9887 hw1.0 target 0x4100016d chip_id 0x004000ff sub 0000:0000
[ 24.098335] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 24.111533] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-87-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 61a92df5
[ 24.405101] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 546cca0d
[ 26.833823] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 26.849021] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’
[ 26.855558] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’
[ 26.863864] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 25560 iram: 24780’
[ 26.904335] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal eeprom max-sta 128 raw 0 hwcrypto 1
[ 26.914729] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0x10000000
[ 27.025260] ath: EEPROM regdomain sanitized
[ 27.025272] ath: EEPROM regdomain: 0x64
[ 27.025275] ath: EEPROM indicates we should expect a direct regpair map
[ 27.025327] ath: Country alpha2 being used: 00
[ 27.025330] ath: Regpair used: 0x64
[ 27.093433] usbcore: registered new interface driver option
[ 27.099316] usbserial: USB Serial support registered for GSM modem (1-port)
[ 27.107431] option 1-1.2:1.0: GSM modem (1-port) converter detected
[ 27.114239] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 27.122241] option 1-1.2:1.1: GSM modem (1-port) converter detected
[ 27.129046] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 27.137026] option 1-1.2:1.2: GSM modem (1-port) converter detected
[ 27.143836] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 27.151831] option 1-1.2:1.3: GSM modem (1-port) converter detected
[ 27.158645] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[ 27.295403] ath: EEPROM regdomain sanitized
[ 27.295415] ath: EEPROM regdomain: 0x64
[ 27.295419] ath: EEPROM indicates we should expect a direct regpair map
[ 27.295441] ath: Country alpha2 being used: 00
[ 27.295444] ath: Regpair used: 0x64
[ 27.307783] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’
[ 27.310216] ieee80211 phy1: Atheros AR9531 Rev:2 mem=0xb8100000, irq=13
[ 27.354942] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 49.340011] br-lan: port 1(eth0) entered blocking state
[ 49.345490] br-lan: port 1(eth0) entered disabled state
[ 49.351268] device eth0 entered promiscuous mode
[ 54.593244] br-lan: port 2(wlan1) entered blocking state
[ 54.598828] br-lan: port 2(wlan1) entered disabled state
[ 54.604820] device wlan1 entered promiscuous mode
[ 63.072078] ath10k_pci 0000:00:00.0: unable to read from the device (-145)
[ 63.079260] ath10k_pci 0000:00:00.0: could not read board ext data addr (-145)
[ 63.086844] ath10k_pci 0000:00:00.0: could not push board ext data (-145)
[ 63.093905] ath10k_pci 0000:00:00.0: failed to download calibration data from EEPROM: -145
[ 63.130879] ath10k_pci 0000:00:00.0: otp calibration failed: 2
[ 63.136930] ath10k_pci 0000:00:00.0: failed to run otp: -22 (download-cal-data)
[ 63.144565] ath10k_pci 0000:00:00.0: Could not init core: -22
[ 71.159775] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 71.166797] br-lan: port 2(wlan1) entered blocking state
[ 71.172372] br-lan: port 2(wlan1) entered forwarding state
[ 71.200461] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready