Xiaomi WiFi Router 3G

Downgrade or I can provide a compiled version with mac80211 rolled back to the previous version as that may or may not help you.

Thanks Hammer but I don't have my old build :frowning_face:
Now I'm trying to downgrade with git...

Seems like this kernel crash and reboots are not kernel related, reverted the kernel back to 4.9.52 and the problem still persists.

Also noticed that it happens only when accessing and browsing LUCI, apart from that the device functions correctly in my setup.

Maybe it's modules that are used by luci as well that are crashing? ubus, rpc, netifd? Though trace log points to some networking error.

@nbd @blogic

I downgraded to r5117-fbde9ac and seems fixed.

Not for me, it also restarts without using LUCI

Have you tried any other commit in between?

No :frowning:
If you want we can divide the tests...

I have installed you snapshot r4696+688-df3295f and it works fine. I have not noticed any reboots. Maybe I'm lucky? )))

My tests:
---5 GHz---
1.
router: cat /dev/zero | nc -l -p 12345
client: nc 192.168.1.1 12345 | pv > /dev/null
pv - temporary up to 16 MB/s (128 Mbit/s)
2.
router: nc -l -p 12345 > /dev/null
client: cat /dev/zero | pv | nc 192.168.1.1 12345
pv - temporary up to 6 MB/s (48 Mbit/s)

---2.4 GHz---

  1. pv - 10 MB/s
  2. pv - 8 MB/s

SAMBA on router (5 GHz): usb 2.0 disk, ext4 fs - 10 MB/s

opkg list-installed:

6to4 - 12-2
adblock - 3.1.0-2
aria2 - 1.33.0-1
base-files - 178-r4696+688-df3295f
block-mount - 2017-07-31-8ab4fda6-1
busybox - 1.27.2-1
dnsmasq-dhcpv6 - 2.78-2
dropbear - 2017.75-4
e2fsprogs - 1.43.6-1
fdisk - 2.30.2-1
firewall - 2017-11-07-c4309372-1
fstools - 2017-07-31-8ab4fda6-1
fwtool - 1
hd-idle - 1.04-2
hostapd-common - 2017-08-24-c2d4f2eb-4
htop - 2.0.2-1
ip6tables - 1.6.1-1
iptables - 1.6.1-1
iptables-mod-conntrack-extra - 1.6.1-1
iptables-mod-ipopt - 1.6.1-1
iw - 4.9-1
jshn - 2017-10-06-729f47fd-1
jsonfilter - 2016-07-02-dea067ad-1
kernel - 4.9.63-1-077f3dea3fd3ca2cdac6f9d25c338c30
kmod-cfg80211 - 4.9.63+2017-11-01-1
kmod-crypto-cmac - 4.9.63-1
kmod-crypto-crc32c - 4.9.63-1
kmod-crypto-hash - 4.9.63-1
kmod-fs-ext4 - 4.9.63-1
kmod-gpio-button-hotplug - 4.9.63-2
kmod-ifb - 4.9.63-1
kmod-ip6tables - 4.9.63-1
kmod-ipt-conntrack - 4.9.63-1
kmod-ipt-conntrack-extra - 4.9.63-1
kmod-ipt-core - 4.9.63-1
kmod-ipt-ipopt - 4.9.63-1
kmod-ipt-nat - 4.9.63-1
kmod-iptunnel - 4.9.63-1
kmod-iptunnel4 - 4.9.63-1
kmod-leds-gpio - 4.9.63-1
kmod-lib-crc-ccitt - 4.9.63-1
kmod-lib-crc16 - 4.9.63-1
kmod-mac80211 - 4.9.63+2017-11-01-1
kmod-mt76-core - 4.9.63+2017-11-16-8f1c8abd-1
kmod-mt7603 - 4.9.63+2017-11-16-8f1c8abd-1
kmod-mt76x2 - 4.9.63+2017-11-16-8f1c8abd-1
kmod-nf-conntrack - 4.9.63-1
kmod-nf-conntrack6 - 4.9.63-1
kmod-nf-ipt - 4.9.63-1
kmod-nf-ipt6 - 4.9.63-1
kmod-nf-nat - 4.9.63-1
kmod-nls-base - 4.9.63-1
kmod-ppp - 4.9.63-1
kmod-pppoe - 4.9.63-1
kmod-pppox - 4.9.63-1
kmod-sched-cake - 4.9.63+2017-01-28-9789742c-1
kmod-sched-core - 4.9.63-1
kmod-scsi-core - 4.9.63-1
kmod-sit - 4.9.63-1
kmod-slhc - 4.9.63-1
kmod-usb-core - 4.9.63-1
kmod-usb-ledtrig-usbport - 4.9.63-1
kmod-usb-storage - 4.9.63-1
kmod-usb3 - 4.9.63-1
lede-keyring - 2017-01-20-a50b7529-1
libblkid - 2.30.2-1
libblobmsg-json - 2017-10-06-729f47fd-1
libbz2 - 1.0.6-3
libc - 1.1.18-1
libcurl - 7.56.1-1
libevent2 - 2.0.22-1
libexif - 0.6.21-1
libexpat - 2.2.4-1
libext2fs - 1.43.6-1
libfdisk - 2.30.2-1
libffmpeg-audio-dec - 3.2.8-1
libflac - 1.3.2-1
libgcc - 7.2.0-1
libid3tag - 0.15.1b-4
libip4tc - 1.6.1-1
libip6tc - 1.6.1-1
libiwinfo - 2017-08-23-c1a03e82-1
libiwinfo-lua - 2017-08-23-c1a03e82-1
libjpeg - 9a-1
libjson-c - 0.12.1-1
libjson-script - 2017-10-06-729f47fd-1
liblua - 5.1.5-1
libmbedtls - 2.6.0-1
libncurses - 6.0-1
libnl-tiny - 0.1-5
libogg - 1.3.2-2
libopenssl - 1.0.2m-1
libpcap - 1.8.1-1
libpcre - 8.41-2
libpthread - 1.1.18-1
librt - 1.1.18-1
libsmartcols - 2.30.2-1
libsqlite3 - 3210000-1
libstdcpp - 7.2.0-1
libubox - 2017-10-06-729f47fd-1
libubus - 2017-11-13-5f87f548-1
libubus-lua - 2017-11-13-5f87f548-1
libuci - 2017-09-29-5ad59ad4-1
libuci-lua - 2017-09-29-5ad59ad4-1
libuclient - 2017-11-02-4b87d831-1
libuuid - 2.30.2-1
libvorbis - 1.3.5-1
libxtables - 1.6.1-1
logd - 2017-11-06-2c0d9cfe-1
lua - 5.1.5-1
luci - git-17.316.07773-4891dea-1
luci-app-adblock - git-17.328.04231-802d5b6-1
luci-app-aria2 - 1.0.1-2
luci-app-firewall - git-17.316.07773-4891dea-1
luci-app-minidlna - git-17.316.07773-4891dea-1
luci-app-samba - git-17.316.07773-4891dea-1
luci-app-sqm - 1.1.3-1
luci-app-transmission - git-17.316.07773-4891dea-1
luci-base - git-17.316.07773-4891dea-1
luci-lib-ip - git-17.316.07773-4891dea-1
luci-lib-jsonc - git-17.316.07773-4891dea-1
luci-lib-nixio - git-17.316.07773-4891dea-1
luci-mod-admin-full - git-17.316.07773-4891dea-1
luci-proto-ipv6 - git-17.316.07773-4891dea-1
luci-proto-ppp - git-17.316.07773-4891dea-1
luci-theme-bootstrap - git-17.316.07773-4891dea-1
minidlna - 1.2.1-2
mtd - 21
nano - 2.8.7-1
netcat - 0.7.1-1
netifd - 2017-10-31-0f96606b-1
odhcp6c - 2017-09-05-51733a6d-4
openssl-util - 1.0.2m-1
opkg - 2017-07-28-4bd8601e-1
ppp - 2.4.7-12
ppp-mod-pppoe - 2.4.7-12
procd - 2017-10-10-7c9aa7c3-1
rng-tools - 5-6
rpcd - 2017-11-12-a0231be8-1
rpcd-mod-rrdns - 20170710
samba36-server - 3.6.25-8
sqm-scripts - 1.1.3-1
swconfig - 11
tc - 4.13.0-1
tcpdump - 4.9.2-1
terminfo - 6.0-1
transmission-cli-openssl - 2.92+git-5
transmission-daemon-openssl - 2.92+git-5
transmission-web - 2.92+git-5
ubi-utils - 1.5.2-1
uboot-envtools - 2015.10-1
ubox - 2017-11-06-2c0d9cfe-1
ubus - 2017-11-13-5f87f548-1
ubusd - 2017-11-13-5f87f548-1
uci - 2017-09-29-5ad59ad4-1
uclient-fetch - 2017-11-02-4b87d831-1
uhttpd - 2017-11-04-a235636a-1
uhttpd-mod-ubus - 2017-11-04-a235636a-1
usign - 2015-07-04-ef641914-1
wget - 1.19.2-2
wireless-regdb - 2017-10-20-4343d359
wpad - 2017-08-24-c2d4f2eb-4
zlib - 1.2.11-1

My router at version r5422-9fe59abef8 crashed now. I have no miniupnpd installed but other packages like tvheadend and a custon kernel with dvb-receiver drivers. The compile options are left standard.

My last message in /sys/kernel/debug/crashlog is:

Time: 1511806864.281384
Modules:        pppoe@8edc0000+20b0     ppp_async@8ed8c000+1a00 pppox@8eeec000+58a      ppp_generic@8ef78000+55a2       nf_conntrack_ipv6@8f1b0000+1450 mt76x2e@8eee0000+a53e   mt7603e@8f1e8000+74dc   mt76@8ed10000+3e8f      mac80211@8ee00000+66960 iptable_nat@8ed01000+330        ipt_REJECT@8ed04000+3d0 ipt_MASQUERADE@8ed08000+2d0  cfg80211@8ed40000+34534 xt_time@8f1d6000+690    xt_tcpudp@8f1d4000+730  xt_state@8f1d1000+2f0   xt_nat@8f1c1000+4b0     xt_multiport@8f1be000+510       xt_mark@8f1bb000+2d0    xt_mac@8f1b8000+2b0     xt_limit@8f199000+460   xt_conntrack@8f196000+8d0       xt_comment@8f192000+230 xt_TCPMSS@8f190000+af0       xt_REDIRECT@8ecd7000+2d0        xt_LOG@8f3d1000+330     ums_usbat@8f11c000+1d90 ums_sddr55@8f1a6000+13f0        ums_sddr09@8f1a0000+2310        ums_karma@8eceb000+6f0  ums_jumpshot@8ece8000+f30       ums_isd200@8ecc4000+1550        ums_freecom@8f17f000+890        ums_datafab@8f206000+12d0       ums_cypress@8f148000+9f0     ums_alauda@8ecf4000+21b0        uas@8ecec000+2ab0       slhc@8ece2000+11bb      nf_reject_ipv4@8f783000+883     nf_nat_redirect@8f027000+3fb    nf_nat_masquerade_ipv4@8f13f000+5bc     nf_conntrack_ipv4@8f13a000+12d0 nf_nat_ipv4@8ec93000+dd1        nf_nat@8ecd4000+23ab    nf_log_ipv4@8f07f000+d30    nf_defrag_ipv6@8eccc000+324e     nf_defrag_ipv4@8ec95000+356     nf_conntrack_rtcache@8ecb6000+a50       nf_conntrack@8f170000+db87      iptable_mangle@8f6b4000+3f0     iptable_filter@8f167000+310     ip_tables@8f13c000+280d crc_ccitt@8f209000+42b  compat@8f138000+14b8    ledtrig_usbport@8f208000+a60    ip6t_REJECT@8f168000+3f0     nf_reject_ipv6@8f154000+9e8     nf_log_ipv6@8f16c000+db0        nf_log_common@8f158000+9af      ip6table_mangle@8f15f000+490    ip6table_filter@8ecb5000+2d0    ip6_tables@8f128000+26e1        x_tables@8f14c000+3078  usb_storage@8f050000+9f2b       leds_gpio@8f7af000+ab0  xhci_mtk@8f7b5000+fd0   xhci_plat_hcd@8f06a000+1330  xhci_pci@8f037000+a90   xhci_hcd@8f0e0000+15487 sd_mod@8f018000+6380    scsi_mod@8f000000+15e9b gpio_button_hotplug@8f7f2000+1890       ext4@8f080000+52ec9     jbd2@8f7e0000+db02      mbcache@8f79c000+ff4    crc32c_generic@8f799000+530
<6>[    8.639781] usb 1-1.2: dvb_usb_v2: 'Astrometa DVB-T2' successfully initialized and connected
<6>[    8.760675] usb 1-1.4: new high-speed USB device number 4 using xhci-mtk
<6>[    8.902618] usb-storage 1-1.4:1.0: USB Mass Storage device detected
<6>[    8.909311] scsi host0: usb-storage 1-1.4:1.0
<5>[    9.961595] scsi 0:0:0:0: Direct-Access     BUFFALO  External HDD     0000 PQ: 0 ANSI: 3
<14>[   11.125318] mount_root: loading kmods from internal overlay
<14>[   11.148609] kmodloader: loading kernel modules from //etc/modules-boot.d/*
<14>[   11.156686] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
<5>[   11.362629] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 581
<5>[   11.547105] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
<5>[   11.554943] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
<5>[   11.564834] UBIFS (ubi0:1): FS size: 106024960 bytes (101 MiB, 835 LEBs), journal size 5332992 bytes (5 MiB, 42 LEBs)
<5>[   11.575414] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
<5>[   11.582023] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID CFCA217B-5DFA-4D5E-837E-4569D9B5375F, small LPT model
<14>[   11.594860] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
<11>[   11.601997] block: unable to load configuration (fstab: Entry not found)
<14>[   11.608741] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
<11>[   11.615316] block: unable to load configuration (fstab: Entry not found)
<14>[   11.622105] block: attempting to load /etc/config/fstab
<11>[   11.627463] block: unable to load configuration (fstab: Entry not found)
<11>[   11.634232] block: no usable configuration
<5>[   11.685207] UBIFS (ubi0:1): un-mount UBI device 0
<5>[   11.689918] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
<5>[   11.701806] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 584
<5>[   11.886016] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
<5>[   11.893857] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
<5>[   11.903742] UBIFS (ubi0:1): FS size: 106024960 bytes (101 MiB, 835 LEBs), journal size 5332992 bytes (5 MiB, 42 LEBs)
<5>[   11.914327] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
<5>[   11.920934] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID CFCA217B-5DFA-4D5E-837E-4569D9B5375F, small LPT model
<14>[   12.128452] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
<11>[   12.135681] block: unable to load configuration (fstab: Entry not found)
<14>[   12.142445] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
<11>[   12.148973] block: unable to load configuration (fstab: Entry not found)
<14>[   12.155780] block: attempting to load /etc/config/fstab
<11>[   12.161097] block: unable to load configuration (fstab: Entry not found)
<11>[   12.167818] block: no usable configuration
<14>[   12.211764] mount_root: overlay filesystem has not been fully initialized yet
<14>[   12.220392] mount_root: switching to ubifs overlay
<12>[   12.329451] urandom-seed: Seed file not found (/etc/urandom.seed)
<14>[   12.419542] procd: - early -
<14>[   12.422560] procd: - watchdog -
<14>[   13.110851] procd: - watchdog -
<14>[   13.114291] procd: - ubus -
<14>[   13.182264] procd: - init -
<14>[   13.510613] kmodloader: loading kernel modules from /etc/modules.d/*
<6>[   13.521305] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[   13.535691] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
<6>[   13.543731] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
<6>[   13.552481] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[   13.564250] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
<6>[   13.597502] usbcore: registered new interface driver uas
...
<6>[   13.684324] xt_time: kernel timezone is -0000
<6>[   13.731123] mt7603e 0000:01:00.0: ASIC revision: 76030010
<6>[   13.841159] mt7603e 0000:01:00.0: Firmware Version: _mt7603mp
<6>[   13.846901] mt7603e 0000:01:00.0: Build Time: 20151020155902
<4>[   13.890669] firmware init done
<7>[   14.061088] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<6>[   14.068553] mt76x2e 0000:02:00.0: ASIC revision: 76120044
<6>[   14.100722] mt76x2e 0000:02:00.0: ROM patch already applied
<6>[   14.111419] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
<6>[   14.116897] mt76x2e 0000:02:00.0: Build: 1
<6>[   14.121004] mt76x2e 0000:02:00.0: Build Time: 201507311614____
<6>[   14.150763] mt76x2e 0000:02:00.0: Firmware running!
<7>[   14.157021] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
<6>[   14.165094] PPP generic driver version 2.4.2
<6>[   14.170977] NET: Registered protocol family 24
<14>[   14.178255] kmodloader: done loading kernel modules from /etc/modules.d/*
<5>[   15.054489] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
<5>[   15.062665] sd 0:0:0:0: [sda] Write Protect is off
<7>[   15.067451] sd 0:0:0:0: [sda] Mode Sense: 3b 00 00 00
<5>[   15.067863] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
<6>[   15.094332]  sda: sda1
<5>[   15.100931] sd 0:0:0:0: [sda] Attached SCSI disk
<6>[   17.402787] EXT4-fs (sda1): recovery complete
<6>[   17.457872] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
<5>[   18.758954] random: crng init done
<6>[   19.815350] device eth0 entered promiscuous mode
<6>[   19.822150] br-lan: port 1(eth0.1) entered blocking state
<6>[   19.827607] br-lan: port 1(eth0.1) entered disabled state
<6>[   19.834140] device eth0.1 entered promiscuous mode
<6>[   19.845072] br-lan: port 1(eth0.1) entered blocking state
<6>[   19.850503] br-lan: port 1(eth0.1) entered forwarding state
<6>[   23.053136] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
<6>[   23.105300] br-lan: port 2(wlan1) entered blocking state
<6>[   23.110607] br-lan: port 2(wlan1) entered disabled state
<6>[   23.116670] device wlan1 entered promiscuous mode
<6>[   24.113326] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
<6>[   24.120020] br-lan: port 2(wlan1) entered blocking state
<6>[   24.125407] br-lan: port 2(wlan1) entered forwarding state
<4>[   30.179105] usb 1-1.2: DVB: adapter 0 frontend 0 frequency 0 out of range (174000000..862000000)
<4>[   30.734482] mn88473 0-0018: Direct firmware load for dvb-demod-mn88473-01.fw failed with error -2
<4>[   30.743389] mn88473 0-0018: Falling back to user helper
<3>[   30.781915] firmware dvb-demod-mn88473-01.fw: firmware_loading_store: map pages failed
<3>[   30.790115] mn88473 0-0018: firmware file 'dvb-demod-mn88473-01.fw' not found
<4>[   30.910334] usb 1-1.2: DVB: adapter 0 frontend 1 frequency 0 out of range (42000000..1002000000)
<6>[   31.426654] do_page_fault(): sending SIGSEGV to tvheadend for invalid write access to 00000000
<6>[   31.435320] epc = 777892a4 in libc.so[7776a000+93000]
<6>[   31.440421] ra  = 777892a4 in libc.so[7776a000+93000]
<4>[   33.684471] usb 1-1.2: DVB: adapter 0 frontend 0 frequency 0 out of range (174000000..862000000)
<4>[   34.244453] mn88473 0-0018: Direct firmware load for dvb-demod-mn88473-01.fw failed with error -2
<4>[   34.253370] mn88473 0-0018: Falling back to user helper
<3>[   34.292152] firmware dvb-demod-mn88473-01.fw: firmware_loading_store: map pages failed
<3>[   34.300337] mn88473 0-0018: firmware file 'dvb-demod-mn88473-01.fw' not found
<4>[   34.422276] usb 1-1.2: DVB: adapter 0 frontend 1 frequency 0 out of range (42000000..1002000000)
<6>[  800.362083] mn88473 0-0018: downloading firmware from file 'dvb-demod-mn88473-01.fw'
<6>[ 1250.470703] device wlan1 left promiscuous mode
...
<6>[ 1270.324118] br-lan: port 3(wlan0) entered forwarding state
<6>[ 1391.699998] TCP: request_sock_TCP: Possible SYN flooding on port 9981. Sending cookies.  Check SNMP counters.
<1>[237812.020409] CPU 3 Unable to handle kernel paging request at virtual address 00060004, epc == 8007d6e0, ra == 8007d87c
<4>[237812.031098] Oops[#1]:
<4>[237812.033464] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.9.65 #0
<4>[237812.039447] task: 8fc54680 task.stack: 8fc76000
<4>[237812.044038] $ 0   : 00000000 00000000 00060000 8e834b5c
<4>[237812.049380] $ 4   : 8e834c44 81235340 00000001 8e834b5c
<4>[237812.054686] $ 8   : 0000d849 05e4c1d4 13bcdb00 82d2533d
<4>[237812.059994] $12   : c0a8b236 8f6acf48 00000000 00000000
<4>[237812.065295] $16   : 81235340 8e834c44 8e834bc8 00000000
<4>[237812.070632] $20   : 00001000 8e8f1700 8ea20078 8e8b05c0
<4>[237812.075939] $24   : 00000036 8044efc0
<4>[237812.081247] $28   : 8fc76000 8fc21c88 fffffffe 8007d87c
<4>[237812.086552] Hi    : 00001650
<4>[237812.089509] Lo    : 00000015
<4>[237812.092475] epc   : 8007d6e0 detach_if_pending+0x44/0x94
<4>[237812.097847] ra    : 8007d87c try_to_del_timer_sync+0x38/0x68
<4>[237812.103569] Status: 11007c02     KERNEL EXL
<4>[237812.107575] Cause : 4080000c (ExcCode 03)
<4>[237812.111650] BadVA : 00060004
<4>[237812.114600] PrId  : 0001992f (MIPS 1004Kc)
<4>[237812.118757] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables usb_storage leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd
<4>[237812.189760]  sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache crc32c_generic
Process swapper/3 (pid: 0, threadinfo=8fc76000, task=8fc54680, tls=00000000)
<4>[237812.202707] Stack : 8f408b00 80375d7c 00000000 00000000 8e8b05c0 00000001 8e8f1700 8e834c44
<4>[237812.211150]         8e8b05c0 8007dd2c 8e920f00 00001000 8ea20078 80375f1c 8e834bc8 80378730
<4>[237812.219584]         00000000 80377bcc 8e834bc8 8e8f1700 8e834bc8 8e8f1700 8e8b05c0 8e834bc8
<4>[237812.228017]         00000000 8037897c 8e920f00 00000000 8e834bc8 8e8b05c0 8e834bc8 8e8b05c0
<4>[237812.236457]         8e920f00 80391e8c 02080020 8f5bc05c 02080020 8032178c 8e834bc8 8fc21d2f
<4>[237812.244896]         ...
<4>[237812.247419] Call Trace:
<4>[237812.249961] [<8007d6e0>] detach_if_pending+0x44/0x94
<4>[237812.255008] [<8007d87c>] try_to_del_timer_sync+0x38/0x68
<4>[237812.260391] [<8007dd2c>] del_timer_sync+0x38/0x68
<4>[237812.265163] [<80378730>] inet_csk_reqsk_queue_drop+0xb8/0x2b4
<4>[237812.270973] [<8037897c>] inet_csk_complete_hashdance+0x50/0x104
<4>[237812.276976] [<80391e8c>] tcp_check_req+0x330/0x3dc
<4>[237812.281841] [<80390d84>] tcp_v4_rcv+0x3f8/0xa48
<4>[237812.286454] [<8036c7fc>] ip_local_deliver_finish+0xdc/0x13c
<4>[237812.292098] [<8036cd54>] ip_local_deliver+0xc8/0xe0
<4>[237812.297041] [<8036d024>] ip_rcv+0x2b8/0x324
<4>[237812.301326] [<80333aac>] __netif_receive_skb_core+0x640/0x720
<4>[237812.307131] [<80335910>] process_backlog+0x9c/0x160
<4>[237812.312078] [<803356b0>] net_rx_action+0x138/0x2fc
<4>[237812.316944] [<8002f924>] __do_softirq+0x294/0x2e0
<4>[237812.321721] [<8002fc18>] irq_exit+0x7c/0x98
<4>[237812.325979] [<8020a6f0>] plat_irq_dispatch+0xb4/0xdc
<4>[237812.331021] [<8000a968>] except_vec_vi_end+0xb8/0xc4
<4>[237812.336052] [<8000c324>] r4k_wait_irqoff+0x18/0x20
<4>[237812.340935] [<800650c4>] cpu_startup_entry+0x104/0x170
<4>[237812.346136] Code: ac620000  10400002  00000000 <ac430004> 10c00002  00000000  ac800004  24020200  ac820000
<4>[237812.355975]
<4>[237812.357751] ---[ end trace 51ed31b3f93acf83 ]---

===================================
1 Like

You should try reversing mt76 driver commit by commit.
I dont think that this is kernel related

Seem to be fine:
https://github.com/lede-project/source/commit/21802ce3ab0634d5ed8fbe2e7cb206ede79d4dc9

Bisecting further. But it takes some time that is scarce for me recently.

Hello, with opkg update && opkg install luci it works now THANK YOU!!!

OK I'll try until here:
https://github.com/lede-project/source/commit/eea9d2505b39da9d34462b48b9dc9cee7222fbb1

Try this one instead please, I've got bisect running, it will be easier to go through

https://github.com/lede-project/source/commit/ff56bb0dfb2ccdfc82ade6f80ad201268717d9fe

It's 6 more iterations with this commit left

:+1:
Thanks!!

r5406 also crashed for me. Uptime ~5 days ... happend while logging into LuCI.
I'm currently debating with myself what to try. Maybe revert all the mac80211 changes just like I did earlier (to fix my miniupnpd crash issues) and see if that makes it stable. Or maybe just revert this... https://git.lede-project.org/?p=source.git;a=commit;h=2dc485250d516f1535eeaf53f0f2f5742e5f9e0c

Try going back to this commit, let's join efforts
https://github.com/lede-project/source/commit/ff56bb0dfb2ccdfc82ade6f80ad201268717d9fe

@dissent1 I'd like to join your efforts in locating the issue and I made one interesting observation.
I compiled latest r5433 (standard GCC, no special options set) with https://git.lede-project.org/?p=source.git;a=commit;h=2dc485250d516f1535eeaf53f0f2f5742e5f9e0c reverted ( I just did a rm -v package/kernel/mac80211/patches/140-tweak-TSQ-setting.patch before make ) and enabled miniupnpd as this in combination with my Samsung TV seems to cause reboots within 5 min.
I experienced no reboots for 30 min!
I then compiled r5433 without any reverts and then I got 4 reboots within 30 min..
I have now re-installed the r5433 with 140-tweak-TSQ-setting.patch removed and will see if this will continue to keep the router stable...

1 Like

Hello guys, im using that version from long time and it works without crasches if that helps :slight_smile:
Model: Xiaomi Mi Router 3G
Firmware Version: LEDE Reboot SNAPSHOT r5169-f4d4a3c / LuCI Master (git-17.298.44627-fbe7f90)
Kernel Version: 4.9.58
Uptime: 21d 23h 3m 54s

Only sometimes i need to connect one more time iphone 7 because he losts WiFi conection :slight_smile:

Anyone knows why I get only 3 MB/s over wifi through Samba when downloading data from USB 2 Flash (ext4) connected to router, but ~16 MB/s when downloading via ethernet?

Other info:

  • my wifi speed is ~100 mbps (speedtest.net via wifi 5 ghz; macbook pro 13, macOS)
  • if I download the file using sftp or scp over ethernet (Windows 10), I get the same 3 MB/s and 25% cpu usage by dropbear
  • if I download over wifi via Samba, I get 3 MB/s and samba's cpu usage is 25%
  • Nov 22 snapshot

So out of these, only Samba through ethernet seems to download fast (16 MB/s) from the flash drive with no significant CPU usage (~9% by samba).

Hello!
Whole week I'm searching for not expensive replacement for my old D-Link DIR-320B1.
And, sadly, not so much options here (mostly D-Link, TP-Link and Asus) and for most of them only snapshot builds are available (TP-Link Archer C59, C60, Asus RT-AC51U and some other).
And looks like every device has it's own problems - either with Wi-Fi, difficult flashing/restoring, stability e.t.c.
I'm really tired of searching and need to choose between something.
What about this Xiaomi Router 3G - how it is in current state, it have promising future, is there a hope for stable release?
Also, can buy TP-Link Archer C50 (EU version).
I don't need anything special, but gigabit ports and ac support are good options.
I only have about 5 Wi-Fi devices and two wired (nothing special - PC with torrents, consoles and phones/tablets), but also have many Wi-Fi neighbors.