OpenWrt/LEDE Project

Welcome to the OpenWrt/LEDE Project bug reporting and issue tracking system

Problems to be reported here are for the OpenWrt/LEDE Project targets, sources, toolchain, core packages, build procedures, distribution and infrastructure. Guidelines for submitting a good bug report can be found at the OpenWrt/LEDE Project website. Problems related to LuCI or OpenWrt packages need to be reported in their repositories:

Notifications of all submissions and task changes are sent to lede-bugs@infradead.org.

OpenedIDCategoryTask Type  ascPrioritySeveritySummaryReported InStatus
04.07.20192355KernelBug ReportVery LowHighlow ipsec throughput on ipq40xx platformTrunkUnconfirmed Task Description

The problem has been confirmed on gl-inet b1300 and Asus AC58u, latest snapshot and 18.06.2.

very low ipsec throughput under normal strongswan road-warrior configuration, but performance become reasonable after installing strongswan-mod-kernel-libipsec, it means bypass kernel’s ipsec stack.

more information can be found on discussion topic thread.

https://forum.openwrt.org/t/ipsec-performance-issue/39690/2

07.07.20192360KernelBug ReportVery LowHigh[nft] unset kernel config incapacitates nftAllUnconfirmed Task Description

unset kernel conf incapacitates nft across all boards

# CONFIG_NFT_RT is not set
# CONFIG_NFT_SET_BITMAP is not set
# CONFIG_NFT_OBJREF is not set
# CONFIG_NFT_QUEUE is not set
# CONFIG_NFT_COMPAT is not set
# CONFIG_NFT_FIB_NETDEV is not set
# CONFIG_NFT_DUP_IPV4 is not set
# CONFIG_NFT_DUP_IPV6 is not set

 

https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=include/netfilter.mk;h=179d4ed7b93ae763234e966c1027ae89e204b137;hb=refs/heads/master#l335

https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=include/netfilter.mk;h=510aa183ca1ed9ab38015ced17005d70a6f4f6fa;hb=refs/heads/openwrt-18.06#l329


For instance

# CONFIG_NFT_RT is not set

is the likely cause for

# nft add rule ip filter forward oifname ppp0 tcp flags syn tcp option maxseg size set rt mtu

to fail with: Error: Could not process rule: No such file or directory

reference https://wiki.nftables.org/wiki-nftables/index.php/Mangle_TCP_options


please enable the kernel conf in order nft can utilize its full potential, particularly since being dedicated to routers.

16.07.20192390Base systemBug ReportVery LowHighIssues with PowerLAN devicesTrunkUnconfirmed Task Description

Since switching my WNDR3700v1 from Netgear’s firmware to OpenWrt 18.06.2 r7676-cddd7b4c77, I am experiencing the following issues:

1) PowerLAN adapters and network devices connected through it are only seen by the router if the first PowerLAN adapter is connected through a crossover cable. With the manufacturer’s firmware, it was possible to connect the adapter by standard ethernet cable.

2) A printer connected through PowerLAN does not get assigned an IP4 network address, even though I have defined a static address for it in the DHCP section of OpenWrt; (it does get an IPv6 address though). The missing IP4 network address prevents the scanner part of the printer from sending scans to a network folder on my NAS connected through ethernet cable to the router. This issue also did not exist with the original Netgear firmware.

 


16.07.20192391KernelBug ReportVery LowHighmac80211: ath9k AP fails to honour client's power save ...TrunkUnconfirmed Task Description

Context:

I am using one device in AP mode, the other in client mode.
The client uses wpa_supplicant to do background scan to other channels that the data channel.
I am running iperf (UDP) from the AP to the client.

My device is home-made, Cavium development board-based, equipped with Compex WLE350NX.
It works correctly with kernel 3.18 and the 2015 wireless backport.
I updated to kernel 4.9 and the wireless backport 4.19.32-1, the last one from the trunk. (previously I used backport-2017-11-01 with the same result).

I am running wireshark with Airpcap to spy the wireless link.

Problem:

* When the client scans offchannel, it correctly sends nullfunc frames around the offchannel period, with the PM bit set then unset.

* However, during this time, the AP continues to send data to the client.

 

* This results in a lot of lost frames, though I set the powersave buffers to high values on the AP side.

After some research I saw that the same kind of problem was fixed several times(*), but since there where so many changes in the queue management, I cannot really compare his work and the current state of the driver.

Any idea / patch / research directions ?

(*) https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5519541d5a5f19893546883547e2f0f2e5934df7

16.08.20192445KernelBug ReportVery LowHighOmega2 reboot hangTrunkUnconfirmed Task Description

- Omega2
- OpenWRT 19.07 branch (and master earlier this year)
- Try rebooting, results in hang.

Old issue, which seems to still persist. See:
http://community.onion.io/topic/1254/omega2-reboot/3 https://patchwork.ozlabs.org/patch/713750/ https://github.com/lede-project/source/pull/620

24.08.20192462Base systemBug ReportVery LowHighwrt32x WIFI was breaking on 2 sec I did not get full co...AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on wrt32x
- Software versions of OpenWrt 19.07

I tested these images on wrt32x and wrt3600, but unfortunately I gave up there was a problem on wrt32x WIFI was breaking the computer and in the relayd wrt3600 → wrt32x the maximum speed on the bridge is 10Mb. I do not observe this for version 18.06 (images downloaded from eko.one.pl). And after disconnection I did not get full connection speed of 866.7 Mb / s to the router. Although I will say that options 19.07 in Lucia look encouraging.

15.09.20192496Base systemBug ReportVery LowHighWPA3-SAE can't be enabled on mt76 deviceTrunkUnconfirmed Task Description

Device: Netgear EX2700

Version: OpenWrt 19.07-SNAPSHOT r10532-cf3b50377e / LuCI openwrt-19.07 branch (git-19.256.45060-8a2f1c7)

Steps to reproduce: Enable WPA3 or WPA3-Mixed Mode via LuCI.

Result:
Wifi won’t come up. Works fine with WPA2.

Sun Sep 15 20:08:18 2019 kern.info kernel: [ 1638.740004] device wlan0 left promiscuous mode
Sun Sep 15 20:08:18 2019 kern.info kernel: [ 1638.740123] br-lan: port 2(wlan0) entered disabled state
Sun Sep 15 20:08:18 2019 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Sun Sep 15 20:08:18 2019 daemon.notice hostapd: wlan0-1: AP-DISABLED
Sun Sep 15 20:08:18 2019 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING
Sun Sep 15 20:08:18 2019 daemon.notice netifd: Network device 'wlan0-1' link is down
Sun Sep 15 20:08:19 2019 kern.info kernel: [ 1639.020561] br-guest: port 2(wlan0-1) entered disabled state
Sun Sep 15 20:08:19 2019 kern.info kernel: [ 1639.023338] device wlan0-1 left promiscuous mode
Sun Sep 15 20:08:19 2019 kern.info kernel: [ 1639.023357] br-guest: port 2(wlan0-1) entered disabled state
Sun Sep 15 20:08:19 2019 daemon.notice hostapd: nl80211: Failed to remove interface wlan0-1 from bridge br-guest: No such device
Sun Sep 15 20:08:19 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Sep 15 20:08:19 2019 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sun Sep 15 20:08:19 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sun Sep 15 20:08:19 2019 daemon.notice hostapd: nl80211: Failed to remove interface wlan0 from bridge br-lan: Invalid argument
Sun Sep 15 20:08:19 2019 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
Sun Sep 15 20:08:19 2019 daemon.notice netifd: radio0 (1867): command failed: Not supported (-122)
Sun Sep 15 20:08:19 2019 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Sun Sep 15 20:08:19 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sun Sep 15 20:08:21 2019 kern.info kernel: [ 1639.912716] ieee80211 phy0: rt2800_rf_self_txdc_cal: Info - RF Tx self calibration start
Sun Sep 15 20:08:21 2019 kern.info kernel: [ 1639.913245] ieee80211 phy0: rt2800_rf_self_txdc_cal: Info - RF Tx self calibration end
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.824164] ieee80211 phy0: rt2800_loft_iq_calibration: Info - LOFT Calibration Done!
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.828164] ieee80211 phy0: rt2800_iq_search: Info - IQCalibration Start!
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.842569] ieee80211 phy0: rt2800_iq_search: Info - IQCalibration Done! CH = 0, (gain= 0, phase=3f)
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.843488] ieee80211 phy0: rt2800_iq_search: Info - IQCalibration Start!
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.857895] ieee80211 phy0: rt2800_iq_search: Info - IQCalibration Done! CH = 1, (gain= 0, phase= 2)
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.857931] ieee80211 phy0: rt2800_loft_iq_calibration: Info - TX IQ Calibration Done!
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.871433] ieee80211 phy0: rt2800_rxiq_calibration: Info - RXIQ G_imb=1, Ph_rx=-6
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.881694] ieee80211 phy0: rt2800_rxiq_calibration: Info - RXIQ G_imb=0, Ph_rx=2
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.888849] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.894441] br-lan: port 2(wlan0) entered blocking state
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.894456] br-lan: port 2(wlan0) entered disabled state
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.894799] device wlan0 entered promiscuous mode
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Sep 15 20:08:22 2019 daemon.err hostapd: Using interface wlan0 with hwaddr XX:XX:XX:XX:XX:XX and ssid "HOME"
Sun Sep 15 20:08:22 2019 daemon.err hostapd: Interface initialization failed
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->DISABLED
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.994731] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.994904] br-lan: port 2(wlan0) entered blocking state
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.994914] br-lan: port 2(wlan0) entered forwarding state
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Sep 15 20:08:22 2019 daemon.err hostapd: wlan0: Unable to setup interface.
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0-1: AP-DISABLED
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING
Sun Sep 15 20:08:22 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0-1 wasn't started
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sun Sep 15 20:08:22 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1642.002616] device wlan0 left promiscuous mode
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1642.002723] br-lan: port 2(wlan0) entered disabled state
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0x77d76c60 user_data=0 handler=0x46a4f5
Sun Sep 15 20:08:22 2019 daemon.notice netifd: radio0 (1867): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 1120 path ()
Sun Sep 15 20:08:22 2019 daemon.notice netifd: radio0 (1867): Device setup failed: HOSTAPD_START_FAILED


29.09.20192523KernelBug ReportVery LowHighRB750 randomly reboots after kernel warningsopenwrt-19.07Unconfirmed Task Description

Mikrotik RB750Gr3
LuCI openwrt-19.07 branch (git-19.267.59428-7b36dae) / OpenWrt 19.07-SNAPSHOT r10532-cf3b50377e

Router randomly reboots (it may be stable for hours or can reboot in a minute after power up). Seems like kernel problem.

Here are some logs I managed to fetch before the reboots:

Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.010562] ------------[ cut here ]------------
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.015202] WARNING: CPU: 2 PID: 0 at net/ipv4/tcp_output.c:2509 0x803cc8bc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.022158] invalid inflight: 1 state 1 cwnd 10 mss 1388
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.027441] Modules linked in: qcserial pppoe ppp_async option cdc_mbim usb_wwan sierra_net sierra rndis_host qmi_wwan pppox ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cdc_ncm cdc_ether 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 xt_FLOWOFFLOAD xt_CT wireguard usbserial usbnet usblp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.097872]  nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt cdc_wdm cdc_acm fuse ledtrig_usbport gpio_beeper input_core xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ehci_platform
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.169233]  sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common mii crc32c_generic
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.180291] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.143 #0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.186357] Stack : 00000000 00000000 00000000 81230398 00000000 00000000 00000000 00000000
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.194691]         00000000 00000000 00000000 00000000 00000000 00000001 8fc0dd30 ac07f596
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.203026]         8fc0ddc8 00000000 00000000 00004ea0 00000038 8049db58 00000007 00000000
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.211359]         00000000 80550000 0002c043 00000000 8fc0dd10 00000000 80570000 8050c6a0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.219690]         803cc8bc 000009cd 812303d8 81230398 00000000 802af9e8 00000008 805b0008
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.228022]         ...
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.230459] Call Trace:
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.230475] [<8049db58>] 0x8049db58
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.236372] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.239840] [<802af9e8>] 0x802af9e8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.243312] [<800101a0>] 0x800101a0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.246782] [<800101a8>] 0x800101a8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.250250] [<80486a9c>] 0x80486a9c
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.253722] [<800758a0>] 0x800758a0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.257243] [<80032588>] 0x80032588
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.260714] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.264185] [<80032610>] 0x80032610
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.267654] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.271126] [<803cf3d0>] 0x803cf3d0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.274596] [<8009d750>] 0x8009d750
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.278064] [<803cf7a8>] 0x803cf7a8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.281537] [<8009dd80>] 0x8009dd80
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.285007] [<803cf770>] 0x803cf770
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.288474] [<8008c2cc>] 0x8008c2cc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.291945] [<8008c588>] 0x8008c588
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.295413] [<8007cee8>] 0x8007cee8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.298883] [<804a49b8>] 0x804a49b8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.302357] [<80036f14>] 0x80036f14
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.305827] [<8025d440>] 0x8025d440
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.309296] [<8000b488>] 0x8000b488
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.312764]
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.314310] ---[ end trace a36c893f27b6a6f3 ]---
Sun Sep 29 18:56:25 2019 kern.alert kernel: [ 2442.525228] CPU 1 Unable to handle kernel paging request at virtual address 00000010, epc == 803be4a0, ra == 803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.535821] Oops[#1]:
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.538087] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W       4.14.143 #0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.545363] task: 8fc3be80 task.stack: 8fc5c000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.549869] $ 0   : 00000000 00000001 0000004a 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.555080] $ 4   : 8ea76f3c 00000001 0000d706 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.560290] $ 8   : 00034501 00000321 811d7440 00000322
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.565501] $12   : 8ea22180 8ea22180 8e9a8e00 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.570712] $16   : 8ea76e40 00001204 6375f4c6 ffffffff
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.575923] $20   : 00001204 00000001 00000000 00000002
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.581133] $24   : 00000000 8034b220
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.586344] $28   : 8fc5c000 8fc0bbb8 00000000 803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.591555] Hi    : 0000caa1
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.594419] Lo    : 47aec5c8
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.597285] epc   : 803be4a0 0x803be4a0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.601098] ra    : 803c4104 0x803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.604912] Status: 11007c03      KERNEL EXL IE
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.609082] Cause : 40800008 (ExcCode 02)
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.613066] BadVA : 00000010
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.615931] PrId  : 0001992f (MIPS 1004Kc)
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.620003] Modules linked in: qcserial pppoe ppp_async option cdc_mbim usb_wwan sierra_net sierra rndis_host qmi_wwan pppox ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cdc_ncm cdc_ether 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 xt_FLOWOFFLOAD xt_CT wireguard usbserial usbnet usblp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.690391]  nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt cdc_wdm cdc_acm fuse ledtrig_usbport gpio_beeper input_core xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ehci_platform
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.761710]  sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common mii crc32c_generic
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.772740] Process swapper/1 (pid: 0, threadinfo=8fc5c000, task=8fc3be80, tls=00000000)
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.780788] Stack : 00000204 8034def4 8ea76e40 00000000 8ea76e40 8ea76e40 00001204 803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.789123]         8f346480 8056ba00 00000000 8015000a 00018bc3 8fc0bc74 00000004 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.797457]         80550000 8ea76f3c 00000002 00000001 91946e37 00000000 00000018 91946e37
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.805791]         00000000 91946e37 00000000 00000001 80570000 8050c458 00000000 00000002
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.814125]         00018bc3 00000018 8ee92564 8e9a0600 00000000 00000000 00000001 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.822457]         ...
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.824891] Call Trace:
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.824903] [<8034def4>] 0x8034def4
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.830852] [<803c4104>] 0x803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.834335] [<8015000a>] 0x8015000a
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.837825] [<803c4efc>] 0x803c4efc
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.841318] [<803c6f34>] 0x803c6f34
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.844788] [<803a98a0>] 0x803a98a0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.848313] [<803d1bc0>] 0x803d1bc0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.851802] [<803d2f18>] 0x803d2f18
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.855307] [<8e86426c>] 0x8e86426c [nf_conntrack_ipv4@8e864000+0x1420]
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.861893] [<803a9da0>] 0x803a9da0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.865406] [<803aa078>] 0x803aa078
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.868887] [<803a9940>] 0x803a9940
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.872360] [<803a9c10>] 0x803a9c10
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.402270] ------------[ cut here ]------------
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.406908] WARNING: CPU: 1 PID: 0 at net/ipv4/tcp_output.c:2509 0x803cc8bc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.413864] invalid inflight: 1 state 1 cwnd 10 mss 1388
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.419148] Modules linked in: qcserial pppoe ppp_async option cdc_mbim usb_wwan sierra_net sierra rndis_host qmi_wwan pppox ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cdc_ncm cdc_ether 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 xt_FLOWOFFLOAD xt_CT wireguard usbserial usbnet usblp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.489628]  nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt cdc_wdm cdc_acm fuse ledtrig_usbport gpio_beeper input_core xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ehci_platform
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.561103]  sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common mii crc32c_generic
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.572189] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.143 #0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.578264] Stack : 00000000 00000000 00000000 81222398 00000000 00000000 00000000 00000000
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.586600]         00000000 00000000 00000000 00000000 00000000 00000001 8fc0bd30 ac07f596
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.594938]         8fc0bdc8 00000000 00000000 00004f18 00000038 8049db58 00000007 00000000
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.603273]         00000000 80550000 0008bb1d 00000000 8fc0bd10 00000000 80570000 8050c6a0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.611605]         803cc8bc 000009cd 812223d8 81222398 00000000 802af9e8 00000004 805b0004
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.619937]         ...
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.622376] Call Trace:
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.622394] [<8049db58>] 0x8049db58
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.628288] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.631755] [<802af9e8>] 0x802af9e8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.635228] [<800101a0>] 0x800101a0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.638699] [<800101a8>] 0x800101a8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.642170] [<80486a9c>] 0x80486a9c
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.645638] [<800758a0>] 0x800758a0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.649107] [<80032588>] 0x80032588
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.652580] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.656052] [<80032610>] 0x80032610
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.659528] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.663008] [<803cf3d0>] 0x803cf3d0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.666478] [<8009d750>] 0x8009d750
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.669947] [<803cf7a8>] 0x803cf7a8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.673420] [<8009dd80>] 0x8009dd80
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.676890] [<803cf770>] 0x803cf770
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.680358] [<8008c2cc>] 0x8008c2cc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.683829] [<80063018>] 0x80063018
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.687300] [<8008c588>] 0x8008c588
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.690768] [<8007cee8>] 0x8007cee8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.694244] [<804a49b8>] 0x804a49b8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.697717] [<80036f14>] 0x80036f14
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.701185] [<8025d440>] 0x8025d440
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.704662] [<8000b488>] 0x8000b488
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.708131]
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.709665] ---[ end trace 0dde230055179878 ]---
05.11.20192578KernelBug ReportVery LowHighrb532 via-rhine kernel crash when compiled with CONFIG_...TrunkUnconfirmed Task Description

- Device problem occurs on

rb532A, with two miniPCI Oxford Semiconductor Ltd OX16PCI954 modules installed

- Software versions of OpenWrt/LEDE release, packages, etc.

kernel 4.4.197

- Steps to reproduce

Software Configuration
- kernel compiled with CONFIG_VIA_RHINE_MMIO set to “Y”

Hardware Configuration
- two MiniPCI OX16PCI954 Quad UART installed
- one module installed on the router’s miniPCI slot
- one module installed on the daughter board’s miniPCI slot
- /dev/ttyS5 continuously bombarded by messages over the serial
- Eth0, Eth1, Eth1 are bridged
- Eth1 (via-rhine) is continuously bombarded by TFTP requests
- Eth0 executes minicom monitoring /dev/ttyS5

Tasks
minicom
in.tftpd

The machine looks working properly in the window time of some hours, but within 48 hours some weird things happened, and it crashed due to what seems memory corruption in kernel space.

Workaround

— .config 2019-10-28 20:02:02.000000000 +0100
+++ .config 2019-03-22 10:08:26.000000000 +0100
@@ -1105,7 +1105,7 @@
# CONFIG_NET_VENDOR_TOSHIBA is not set
CONFIG_NET_VENDOR_VIA=y
CONFIG_VIA_RHINE=y
-CONFIG_VIA_RHINE_MMIO=y
+# CONFIG_VIA_RHINE_MMIO is not set

Unsetting CONFIG_VIA_RHINE_MMIO solves the problem

more details here [1]

[1] http://www.downthebunker.com/reloaded/space/viewtopic.php?f=79&p=2842

11.11.20192591Base systemBug ReportVery LowHighInternet drop out on LAN wget YouTube on Fritz!Box 4040TrunkUnconfirmed Task Description

Recently I’ve upgraded from a Buffalo WZR-HP-AG300H to a Fritz!Box 4040. My download speed doubled on my 400Mbit cable connection but since then I do experience as well a lot of instabilities where my previous setup was 100% stable. The OpenWrt router runs behind a DS-lite cable router (Fritz!Box 6591).

Just by watching a YouTube video (e.g. music) or by downloading with wget some files (e.g. Linux Iso images) via the LAN interface, OpenWrt on the Fritz!Box 4040 will randomly drop the internet connection completely. It disconnects the router, no ping with IPv4 or IPv6 is possible then anymore from my machine. Strangely I can access the web interface only via Wifi to reboot the router. The lost connection doesn’t come back after some time, the router requires a reboot.

If I avoid YouTube/wget, the OpenWrt router runs quite well when just doing normal internet browsing and running a web server behind the OpenWrt router.

In the log files I do not see any special hint what might cause the drop outs. I’ve tested multiple different setups already, ordered a second Fritz!Box 4040 to exclude a hardware issue, tested with 2 different cable routers, did a factory reset, flashed the latest OpenWrt snapshot (plus added luci) and used the standard configs, nothing seems to help. I assume that it is related somehow to IPv6. There are other users with the Fritz!Box 4040 that do not experience these issues, but they use it only with IPv4. As I have DS-lite, I need to use IPv6 to avoid the 6to4 tunneling on the cable router.

- Fritz!Box 4040
- OpenWrt 18.06.4 + Dev Snapshot 2019-11-10
- IPv4 and IPv6 incl. Prefix delegation to LAN interface
- Watch YouTube videos or download files with wget

For reference, I did a post on the forum: https://forum.openwrt.org/t/fritz-box-4040-drops-out-internet-connection-if-watching-youtube-from-lan/46753

12.11.20192593Base systemBug ReportVery LowHighno AC wifi with ath10k on 19.07-rc1openwrt-19.07Waiting on reporter Task Description

- Archer C7, Netgear R7800
- 19.07-RC1 default
- install image, configure wifi, try to connect, in my case i’m getting 300Mbps rate, others report as low as up to 54 (legacy only)

 

R7800 report: https://forum.openwrt.org/t/openwrt-19-07-0-first-release-candidate/48040/33

Archer C7 v2 report: https://forum.openwrt.org/t/openwrt-19-07-rc1-archer-c7-v2-5g-wifi-died-after-trying-to-change-channels/48182/7

the situation is the same with intree 4.9.200 driver or any of the latest backports installed on client PC

18.11.20192614KernelBug ReportVery LowHighath10k 5 GHz connectivity issues for some client device...openwrt-19.07Researching Task Description

* - Device problem occurs on TP-Link Archer C2600.

* - Software version of OpenWrt 19.07-rc1 and older 19.07.

* - From the first version, which I tested after the release of 19.07, I have a problem with 5GHz radio / Wi-Fi. On two devices: LG OLED B8 55 “OTT and Cyfrowy Polsat STB OTT does not work internet. Both devices connect to the network, but do not have access to the Internet. In the connection diagnostics on the TV, the message pops up that it is a DNS error. On 2.4 GHz Wi-Fi everything is fine.

* - I have reverted to the 18.06 to fix the problem for now.


30.11.20192643Base systemBug ReportVery LowHighEspressoBin: Internal error: synchronous parity or ECC ...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Hardware name: Globalscale Marvell ESPRESSOBin Board (DT)

- Software versions of OpenWrt/LEDE release, packages, etc.

11595-g5d2a900163

- Steps to reproduce

Boot and wait about an hour. Here are a series of kernel panics:

[ 4228.773060] Internal error: synchronous parity or ECC error: 86000018 [#1] SMP
[ 4228.777653] Modules linked in: ath9k ath9k_common xt_connlimit nf_conncount iptable_nat ipt_MASQUERADE ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_NETMAP xt_FLOWOFFLOAD xt_CT 
nf_nat_ipv4 nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_recent xt_quota xt_pkttype xt_owner xt_multiport xt_mark xt
_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_condition xt_comment xt_bpf xt_addrtype xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptabl
e_mangle iptable_filter ipt_ECN ip_tables compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables
[ 4228.850958]  nf_reject_ipv6 tun gpio_button_hotplug
[ 4228.855992] Process kworker/1:2 (pid: 594, stack limit = 0x00000000a141aece)
[ 4228.863262] CPU: 1 PID: 594 Comm: kworker/1:2 Not tainted 4.19.85 #0
[ 4228.869776] Hardware name: Globalscale Marvell ESPRESSOBin Board (DT)
[ 4228.876450] Workqueue:            (null) (events)
[ 4228.881258] pstate: 80400085 (Nzcv daIf +PAN -UAO)
[ 4228.886204] pc : kthread_data+0x8/0x40
[ 4228.890035] lr : wq_worker_sleeping+0xc/0xb0
[ 4228.894410] sp : ffffff8009463d60
[ 4228.897819] x29: ffffff8009463d60 x28: 0000000000000000 
[ 4228.903281] x27: 0000000000000000 x26: ffffff80080b5318 
[ 4228.908746] x25: 0000000000000000 x24: ffffffc03e479a18 
[ 4228.914213] x23: ffffff8008868738 x22: ffffff800884e018 
[ 4228.919678] x21: ffffff8008853500 x20: ffffffc03e479500 
[ 4228.925146] x19: ffffffc03ffdd500 x18: 0000000000000000 
[ 4228.930609] x17: 0000000000000000 x16: 0000000000000000 
[ 4228.936076] x15: 0000000000000000 x14: 0000000000000000 
[ 4228.941541] x13: 0000000000000002 x12: 0000000000000001 
[ 4228.947006] x11: ffffffc03ffd94d0 x10: 00000000000007c0 
[ 4228.952472] x9 : ffffffc03e13d668 x8 : ffffff80088a9b08 
[ 4228.957937] x7 : 0000000000000000 x6 : 00000000050ebc0a 
[ 4228.963404] x5 : 0000000000000004 x4 : 0000000000000002 
[ 4228.968869] x3 : 00000000fffffff9 x2 : 0000000800000000 
[ 4228.974335] x1 : 0000000000000001 x0 : ffffffc03e479500 
[ 4228.979797] Call trace:
[ 4228.982331]  kthread_data+0x8/0x40
[ 4228.985813]  wq_worker_sleeping+0xc/0xb0
[ 4228.989859]  __schedule+0x140/0x570
[ 4228.993436]  schedule+0x58/0x80
[ 4228.996656]  worker_thread+0x370/0x468
[ 4229.000513]  kthread+0x110/0x120
[ 4229.003829]  ret_from_fork+0x10/0x1c
[ 4229.007521] Code: d65f03c0 d503201f a9be7bfd 910003fd (f9000bf3) 
[ 4229.013769] ---[ end trace 4f1be3f746ce5030 ]---
[ 4229.024169] Kernel panic - not syncing: Fatal exception
[ 4229.026728] SMP: stopping secondary CPUs
[ 4229.030757] Kernel Offset: disabled
[ 4229.034342] CPU features: 0x0,00002008
[ 4229.038186] Memory Limit: none
[ 4229.044024] Rebooting in 3 seconds..
[ 3676.038431] Internal error: synchronous parity or ECC error: 86000018 [#1] SMP
[ 3676.043028] Modules linked in: ath9k ath9k_common xt_connlimit nf_conncount iptable_nat ipt_MASQUERADE ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_NETMAP xt_FLOWOFFLOAD xt_CT 
nf_nat_ipv4 nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_recent xt_quota xt_pkttype xt_owner xt_multiport xt_mark xt
_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_condition xt_comment xt_bpf xt_addrtype xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptabl
e_mangle iptable_filter ipt_ECN ip_tables compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables
[ 3676.116317]  nf_reject_ipv6 tun gpio_button_hotplug
[ 3676.121338] Process kworker/0:1 (pid: 41, stack limit = 0x000000008b9ea8ea)
[ 3676.128509] CPU: 0 PID: 41 Comm: kworker/0:1 Not tainted 4.19.85 #0
[ 3676.134953] Hardware name: Globalscale Marvell ESPRESSOBin Board (DT)
[ 3676.141596] Workqueue:            (null) (events)
[ 3676.146426] pstate: 60400085 (nZCv daIf +PAN -UAO)
[ 3676.151361] pc : update_cfs_group+0x0/0xb0
[ 3676.155565] lr : dequeue_task_fair+0x440/0x960
[ 3676.160130] sp : ffffff8008a23cf0
[ 3676.163535] x29: ffffff8008a23cf0 x28: ffffffc03ffcd500 
[ 3676.169001] x27: ffffffc0043a5e80 x26: ffffff80088523f0 
[ 3676.174466] x25: afb504000afb5041 x24: ffffff80088c85c0 
[ 3676.179932] x23: 00000357e4f6aec0 x22: ffffff800884e018 
[ 3676.185397] x21: 0000000000000009 x20: ffffffc0043a5f40 
[ 3676.190863] x19: ffffffc03ffcd580 x18: 0000000000000000 
[ 3676.196329] x17: 0000000000000000 x16: 0000000000000000 
[ 3676.201793] x15: 0000000000000000 x14: 0000000000000000 
[ 3676.207259] x13: 0000000000000000 x12: 0000000000000000 
[ 3676.212726] x11: 0000000000000000 x10: 00000000000007c0 
[ 3676.218191] x9 : ffffffc0042eea68 x8 : ffffff80088a9b08 
[ 3676.223657] x7 : 0000000000000001 x6 : 00000000050e6eea 
[ 3676.229122] x5 : 00000000000000e8 x4 : ffffffc0043a3ff0 
[ 3676.234587] x3 : ffffffc03ffcdef8 x2 : ffffffc0043a5f70 
[ 3676.240053] x1 : 0000000000000001 x0 : ffffffc0043a5f40 
[ 3676.245519] Call trace:
[ 3676.248032]  update_cfs_group+0x0/0xb0
[ 3676.251887]  deactivate_task+0x6c/0x80
[ 3676.255740]  __schedule+0x10c/0x570
[ 3676.259321]  schedule+0x58/0x80
[ 3676.262546]  worker_thread+0x370/0x468
[ 3676.266400]  kthread+0x110/0x120
[ 3676.269715]  ret_from_fork+0x10/0x1c
[ 3676.273393] Code: a9425bf5 a8c37bfd d65f03c0 d503201f (f9404407) 
[ 3676.279660] ---[ end trace fa914749a4dc6031 ]---
[ 3676.285581] Kernel panic - not syncing: Fatal exception
[ 3676.289785] SMP: stopping secondary CPUs
[ 3676.293816] Kernel Offset: disabled
[ 3676.297399] CPU features: 0x0,00002008
[ 3676.301249] Memory Limit: none
[ 3676.304922] Rebooting in 3 seconds..
[12929.680240] Internal error: synchronous parity or ECC error: 86000018 [#1] SMP
[12929.684836] Modules linked in: ath9k ath9k_common xt_connlimit nf_conncount iptable_nat ipt_MASQUERADE ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_NETMAP xt_FLOWOFFLOAD xt_CT nf_nat_ipv4 nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_recent xt_quota xt_pkttype xt_owner xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_condition xt_comment xt_bpf xt_addrtype xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables
[12929.758123]  nf_reject_ipv6 tun gpio_button_hotplug
[12929.763145] Process kworker/0:0 (pid: 5, stack limit = 0x00000000f766a017)
[12929.770227] CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 4.19.85 #0
[12929.776582] Hardware name: Globalscale Marvell ESPRESSOBin Board (DT)
[12929.783224] Workqueue:            (null) (events)
[12929.788054] pstate: 80400085 (Nzcv daIf +PAN -UAO)
[12929.792990] pc : __schedule+0x348/0x570
[12929.796923] lr : __schedule+0x2d0/0x570
[12929.800862] sp : ffffff800804bd90
[12929.804268] x29: ffffff800804bd90 x28: 0000000000000000 
[12929.809733] x27: ffffffc03ffccef0 x26: ffffffc03ffccea0 
[12929.815199] x25: 0000000000000000 x24: ffffffc00427af10 
[12929.820664] x23: ffffff8008666460 x22: ffffff800884e018 
[12929.826129] x21: ffffffc00427de80 x20: ffffffc00427aa00 
[12929.831595] x19: ffffffc03ffcd500 x18: 0000000000000000 
[12929.837061] x17: 0000000000000000 x16: 0000000000000000 
[12929.842526] x15: 0000000000000000 x14: 0000000000000000 
[12929.847992] x13: 0000000000000002 x12: 0000000000000000 
[12929.853458] x11: ffffffc03ffc94d0 x10: 00000000000007c0 
[12929.858924] x9 : ffffffc004230168 x8 : ffffff80088a9b08 
[12929.864388] x7 : 0000000000000000 x6 : 000000199ea477c6 
[12929.869855] x5 : 000000000000030f x4 : 00000bc26cff1000 
[12929.875320] x3 : ffffffc03ffcdef8 x2 : ffffffc03ffcdef8 
[12929.880785] x1 : ffffffc03ffcdef8 x0 : 0000000000000008 
[12929.886251] Call trace:
[12929.888764]  __schedule+0x348/0x570
[12929.892348]  schedule+0x58/0x80
[12929.895575]  worker_thread+0x370/0x468
[12929.899428]  kthread+0x110/0x120
[12929.902742]  ret_from_fork+0x10/0x1c
[12929.906418] Code: b5fffeb7 d4210000 f9800291 c85f7e80 (927ef800) 
[12929.912686] ---[ end trace 5f4e2dd5c1da7acd ]---
[12929.918593] Kernel panic - not syncing: Fatal exception
[12929.922812] SMP: stopping secondary CPUs
[12929.926844] Kernel Offset: disabled
[12929.930426] CPU features: 0x0,00002008
[12929.934277] Memory Limit: none
[12929.937946] Rebooting in 3 seconds..
01.12.20192647Base systemBug ReportVery LowHighEA6350v3 (IPQ4018) memory usage climbs until processes ...openwrt-19.07Unconfirmed Task Description

Device is Linksys EA6350v3

Issue occurs on 19.07 rc1, 19.07 rc2 and snapshot r11595 (snapshot version is by memory, but pretty sure that’s what I had on it).

Information for this bug report is based on 19.07 rc2 with the following packages installed for future potential use, but most not in use:
luci-app-sqm luci-proto-wireguard luci-app-wireguard ca-bundle curl https_dns_proxy luci-app-https_dns_proxy luci-app-statistics luci-app-samba kmod-usb-printer p910nd luci-app-p910nd diffutils minidlna luci-app-minidlna

Note: sqm, wireguard, https_dns_proxy, samba, usb printer, p910nd server, and minidlna are NOT in use. These are just the typical packages I add to my
router for future use.

Steps to reproduce:
Problem occurs after router runs for a few hours. EA6350v3 is set up as a wired access point for an EdgeRouter X (also on 19.07 rc2). The Edgerouter provides sqm and DNS and DHCP for LAN, guest and IOT VLANs. There are ~3 “Guest” 2.4 G wifi clients (a smart switch, an IP camera, a DEEBOT vacuum); the IOT VLAN is mapped to a physical port with an Ooma Telo plugged in (I know - I need to map the guest devices to IOT wifi someday...). The LAN is mapped to a physical port with a Roku 3 plugged in and to normal wifi. There are another ~4 or 5 5GHz wifi clients on the LAN wifi (a laptop, a couple Amazon Echo’s, a Google Home Mini, a Samsung Orbit Android phone) and a 2.4G LG Android phone on the 2.4 GHz wifi. CPU loading is quite low.

Memory usage starts out rather high (~100MB, climbs and climbs, eventually drops, climbs again, repeats. Eventually (a day or two) processes start getting killed to free up memory and things start dying. I have an EA8500 setup almost identically as a second AP in the house, and it’s memory usage sits around 50 MB versus 100MB to 200+MB for the EA6350v3. Something’s just not right...

The final message in the logs that repeats until processes begin to get killed is:

kern.warn kernel: [15897.905286] ath10k_ahb a000000.wifi: failed to increase tx pending count: -16, dropping

But the weird memory usage pattern precedes this message in the logs.

I’ve attached memory usage graphs and system and kernel logs from 19.07 rc2 to illustrate the problem. rc1 and snapshot behaved the same. This post also has logs showing processes getting killed if that helps diagnose: https://forum.openwrt.org/t/ipq4018-linksys-ea6350v3-wifi-dead-after-24-48-hrs/49080/3?u=eginnc

12.12.20192670KernelBug ReportVery LowHigh[ATH79] unstable USB on WR1043 v2openwrt-19.07Unconfirmed Task Description

Hi there!

I recently upgraded my TP-Link TL-WR1043 v2 device to the ath79 targeted 19.07-rc2 release using my custom build, which I have compiled with the image builder.

make image PROFILE=tplink_tl-wr1043nd-v2 PACKAGES="block-mount curl diffutils ethtool iperf3 iwinfo htop kmod-fs-ext4 kmod-usb-storage luci mailsend-nossl minidlna nfs-kernel-server ppp-mod-pppoe shadow-su transmission-daemon-mbedtls transmission-web vsftpd zram-swap -ip6tables -kmod-ip6tables -kmod-ipv6 -kmod-nf-conntrack6 -kmod-nf-ipt6 -libopenssl1.1 -odhcp6c -odhcpd-ipv6only -luci-proto-ipv6 -libip6tc2"

I just recently rolled back to an EXT4 partition, because of it's smaller memory footprint. (just mounting a ~50GB f2fs partition consumes around 10MBs of memory)
So in the very first attempt I wanted to copy back everything to my Transcend 790K. But after the first 500-1000 MBs(mix of archives, image, text and video files), the transaction speed has fallen down couple of times. I thought maybe the passive FTP connection was the problem, because after a few automatic reconnect attempts, the speed of the copy has been normalized again and in the end the device was connected. Later I found that the USB devices was reseted.
I had another try with a Sandisk Ultra Fit drive (SDCZ-43), but the result and the configuration was pretty sam. ~50GB EXT4 partition without journal and without barrier.
I force upgraded the machine to the ar71xx target and Filezilla so far copied back 16GBs without any problem.
Target ATH79 seem to be has so many problems with the USB subsystem, please see my other bugreport for the WDR4300 as well: FS#2567 - [ATH79] USB speed degradation on WDR4300.

Let me know if I can help the bughunting any way,
thanks and regards!

17.12.20192681Base systemBug ReportVery LowHighISP's DHCP option 121 makes 18.06.5 get no default GWopenwrt-18.06Unconfirmed Task Description

HW: TP-Link TL-WR1043ND v1
Openwrt affected: tried 18.06.4, 18.06.5

DHCP offer from ISP:

22:48:09.365836 00:04:96:51:fe:50 > 74:ea:3a:d1:2d:16, ethertype IPv4 (0x0800), length 354: (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 340)
    10.45.64.5.67 > 213.xx.xx.23.68: BOOTP/DHCP, Reply, length 312, hops 1, xid 0x3313791, secs 63, Flags [none]
	  Your-IP 213.xx.xx.23
	  Gateway-IP 10.45.64.5
	  Client-Ethernet-Address 74:ea:3a:d1:2d:16
	  Vendor-rfc1048 Extensions
	    Magic Cookie 0x63825363
	    DHCP-Message Option 53, length 1: Offer
	    Server-ID Option 54, length 4: 46.xx.xx.202
	    Lease-Time Option 51, length 4: 43200
	    Subnet-Mask Option 1, length 4: 255.255.255.128
	    Default-Gateway Option 3, length 4: 213.xx.xx.5
	    Domain-Name-Server Option 6, length 8: 10.81.3.19,10.59.3.19
	    Domain-Name Option 15, length 10: "abcxyz.ru"
	    BR Option 28, length 4: 213.xx.xx.127
	    Classless-Static-Route Option 121, length 14: (213.xx.xx.0/25:213.xx.xx.5),(default:213.xx.xx.5)

18.06.5 reaction to Classless-Static-Route Option 121:

root@OpenWrt:~# ip r
192.168.1.0/24 dev br-lan scope link  src 192.168.1.1
213.хх.хх.0/25 via 213.хх.хх.5 dev eth0.2  src 213.хх.хх.23

Fixing:

root@OpenWrt:~# ip r del 213.xx.xx.0/25
root@OpenWrt:~# ip r add 213.xx.xx.0/25 dev eth0.2 src 213.xx.xx.23
root@OpenWrt:~# ip r add default via 213.xx.xx.5 dev eth0.2
root@OpenWrt:~# ip r
default via 213.xx.xx.5 dev eth0.2 
192.168.2.0/24 dev br-lan scope link  src 192.168.2.1 
213.xx.xx.0/25 dev eth0.2 scope link  src 213.xx.xx.23

All things above rised from my attempt to switch from 15.05.1 to new stable 18.06.x branch of Openwrt
15.05.1 works without a glitch with this ISP.

28.12.20192707KernelBug ReportVery LowHighmt7621/ath9k: unreliable AP with hardware encryptionTrunkUnconfirmed Task Description

Board: MikroTik Routerboard RBM33G (ramips/mt7621)
Interface: MikroTik R11e-2HPnD (ath9k/ar9582)
Tested versions: 18.06.5, snapshot

Some background: I’ve been using RB433AH & UBNT XR2 (ath5k) as home AP for many years. It was extremely reliable with OpenWRT, LEDE and OpenWRT once again. However, the 802.11g is not sufficient nowadays, so I decided to upgrade. I’ve acquired a RBM33G board and R11e-2HPnD module, but this setup is very unreliable for me.

The bug: At some point, the AP cannot receive (decrypt?) packets from a station, but the connection is still established.

Details:

  • It can happen on any active station connected to AP, but only one stalls at a given time (not all of them).
  • AP actually receives data from STA, as the RX byte counter increases, but the RX packet count is typically stuck at the same value. For example, several subsequent calls to `iw wlan0 station dump` show: rx bytes: 12121338 / 12127266 / 12141740, rx packets: 1282 / 1282 / 1282.
  • Driver discards the packets, as the replay counter greatly increases when this bug occurs. (e.g. /sys/kernel/debug/ieee80211/phy0/keys/3/replays: 484947)
  • There is nothing relevant in `dmesg` or `logread`.

Reproducibility:

  • It happens after several hours of a typical traffic.
  • I can trigger it manually much faster by passing high data throughput between clients (e.g. using iperf).

Configuration:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
        option htmode 'NOHT'
        option txpower '16'
        option disabled '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid '<SSID>'
        option encryption 'psk2+ccmp'
        option key '<KEY>'

Stations tested:

  • Dell Latitude E7440 with Intel Wireless 7260 (iwlwifi), running linux 5.4.6
  • Dell Latitude E7270 with Intel Wireless 8260 (iwlwifi), running linux 4.19.91
  • RB411U with DBII F20-PRO (ath5k, AR5414), running LEDE 17.01.4 (in WDS link)


What does NOT help:

  • Changing the basic configuration (SSID, key).
  • Disabling 802.11n.
  • Disabling WDS (both AP & STA).
  • Disabling SMP (nosmp kernel cmdline option).
  • Using another version of hostapd, i.e. wpad-mesh.
  • Changing miniPCIe slot on the RBM33G board.
  • Disabling CPU powersave in MikroTik bootloader.

Workarounds:

  • Disable the encryption at all, but that’s obviously not an option.
  • Disable hardware encryption with ath9k’s nohwcrypt=1 parameter.

This bug does not occur with software encryption, at least in 802.11g mode. In 802.11n mode, the throughput is limited to a little over 30 Mbps and there are frequent disconnects. Apparently, the CPU is not the limiting factor, as `top` reports usage of approximately 10%.

Unfortunately, this bug renders the AP unusable for me, because I need the best reliability.

I also tested this setup with different board and (so far) I cannot reproduce this bug on RW2458N (ar71xx) & R11e-2HPnD with OpenWRT 18.06.5.

09.01.20202719Base systemBug ReportVery LowHighBuffalo WBMR-HP-G300H: DSL does not connect at all with...openwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Buffalo WBMR-HP-G300H
- Software versions of OpenWrt/LEDE release, packages, etc.: OpenWRT 19.07, kmod-ltq-adsl-ar9-fw-a 0.1-1, which shows up as 4.4.4.0.0.1 in dsl_control status.
- Steps to reproduce:

1. Get an ADSL line from Rostelecom.
2. Upgrade the router to OpenWRT 19.07.
3. Reboot.

Result: DSL does not connect. In /etc/init.d/dsl_control status, it goes through all phases, then briefly shows as “Up”, but then the “dsl0” interface is not created, and the following lines are logged in dmesg:

 [   56.597766] [DSL_BSP_Showtime 914]: Datarate US intl = 1024000, fast = 0
 [   56.603091] [DSL_BSP_Showtime 934]: no hookup from ATM driver to set cell rate

The error does not exist with the 4.5.4.9.1.1 firmware obtained from unofficial sources. The bug has been submitted through the affected ADSL line with the unofficial firmware.

Status:

# /etc/init.d/dsl_control status
ATU-C Vendor ID: Broadcom 161.149
ATU-C System Vendor ID: 00,00,00,00,00,00,00,00
Chipset: Ifx-AR9
Firmware Version: 4.5.4.9.1.1
API Version: 3.24.4.4
XTSE Capabilities: 0×4, 0×0, 0×0, 0×0, 0×0, 0×0, 0×0, 0×0 Annex: A
Line Mode: G.992.1 (ADSL)
Profile:
Line State: UP [0×801: showtime_tc_sync]
Forward Error Correction Seconds (FECS): Near: 413342 / Far: 0
Errored seconds (ES): Near: 0 / Far: 0
Severely Errored Seconds (SES): Near: 0 / Far: 0
Loss of Signal Seconds (LOSS): Near: 0 / Far: 0
Unavailable Seconds (UAS): Near: 253 / Far: 253
Header Error Code Errors (HEC): Near: 0 / Far: 0
Non Pre-emtive CRC errors (CRC_P): Near: / Far:
Pre-emtive CRC errors (CRCP_P): Near: / Far:
Power Management Mode: L0 - Synchronized
Latency [Interleave Delay]: 8.0 ms [Interleave] 8.0 ms [Interleave]
Data Rate: Down: 9.952 Mb/s / Up: 1.024 Mb/s
Line Attenuation (LATN): Down: 32.2 dB / Up: 19.5 dB
Signal Attenuation (SATN): Down: 32.6 dB / Up: 19.5 dB
Noise Margin (SNR): Down: 6.1 dB / Up: 13.0 dB
Aggregate Transmit Power (ACTATP): Down: 20.0 dB / Up: 12.3 dB
Max. Attainable Data Rate (ATTNDR): Down: 8.848 Mb/s / Up: 1.204 Mb/s
Line Uptime Seconds: 1164
Line Uptime: 19m 24s

(yes, very bad line)

Config:

config atm-bridge ‘atm’

option vpi '1'
option encaps 'llc'
option payload 'bridged'
option nameprefix 'dsl'
option vci '50'
option unit '0'
option atmdev '0'

config dsl ‘dsl’

option annex 'a'
option firmware '/lib/firmware/dsl_ar9_firmware_adsl_a-04.05.04.09.01.01.bin'

config interface ‘wan’

option ifname 'dsl0'
option proto 'pppoe'
option ipv6 '1'
option username 'censored'
list dns '8.8.8.8'
list dns '8.8.4.4'
option peerdns '0'
option keepalive '60 5'
option password 'censored'
12.01.20202730KernelBug ReportVery LowHighTL-WR841N v8 ath79 Link Unstableopenwrt-19.07New Task Description

Probably related to https://bugs.openwrt.org/index.php?do=details&task_id=2216 which was reported almost a year ago. The bug is still not fixed though.

Are there any plans to fix it or will 18.06 be the last stable version for this and probably other devices?

[8451.981464] eth1: link up (100Mbps/Full duplex)
[37071.909045] eth1: link down
[37072.988861] eth1: link up (100Mbps/Full duplex)
[48492.291332] eth1: link up (10Mbps/Half duplex)
[48632.691559] eth1: link up (100Mbps/Full duplex)
[55697.449886] eth1: link down
[55698.491082] eth1: link up (100Mbps/Full duplex)
[62395.095374] eth1: link up (10Mbps/Half duplex)
[62507.411488] eth1: link up (100Mbps/Full duplex)
[62726.853998] eth1: link up (10Mbps/Half duplex)
[62732.053093] eth1: link up (100Mbps/Full duplex)
[71071.460663] eth1: link down
[71072.618285] eth1: link up (100Mbps/Full duplex)
[73435.556373] eth1: link down
[73436.597169] eth1: link up (100Mbps/Full duplex)
[73547.879987] eth1: link up (10Mbps/Half duplex)
[73558.277169] eth1: link up (100Mbps/Full duplex)
[74438.121970] eth1: link down
[74439.162824] eth1: link up (100Mbps/Full duplex)
[75341.889076] eth1: link up (10Mbps/Half duplex)
[75352.290230] eth1: link up (100Mbps/Full duplex)
[76274.772404] eth1: link down
[76275.813134] eth1: link up (100Mbps/Full duplex)

15.01.20202739Base systemBug ReportVery LowHighArbitrary File CreationAllUnconfirmed Task Description

There is no restriction on the path of the system log file(logread),which lead to overwritten important file,such as /etc/passwd. if /etc/passwd was overwritened,it will cause a denial of service. when a router was infected, The only way to fix is flash firmware.

In the background, function External Linkstart_service_file will deal the system logging request and use logread` to save log in specified file.

 PROG=/sbin/logread  
    
    start_service_file()                                                              
    {                                                                                 
            PIDCOUNT="$(( ${PIDCOUNT} + 1))"                                          
            local pid_file="/var/run/logread.${PIDCOUNT}.pid"                         
                                                                                      
            [ "$2" = 0 ] || {                                                         
                    echo "validation failed"                                          
                    return 1                                                          
            }                                                                         
            [ -z "${log_file}" ] && return                                            
                                                                                      
            mkdir -p "$(dirname "${log_file}")"                                       
                                                                                      
            procd_open_instance                                                       
            procd_set_param command "$PROG" -f -F "$log_file" -p "$pid_file"          
            [ -n "${log_size}" ] && procd_append_param command -S "$log_size"         
            procd_close_instance                                                      
    }   

POC

1. set the path of sustem log and buffer size

In System → logging page,System log buffer sizeset to 1KiB ,Write system log to file set to /etc/passwd. At the end , clicking “Save & Apply” button.

2. reboot or wait a moment

In order to produce some log to overwriten /etc/passwd , it need to reboot OpenWrt (the fasest way ) or wait a monent.

3. result

Denial of service: the LuCi web page display “Dad Gateway”. the same time , the internet was offline.

22.01.20202764Base systemBug ReportVery LowHighucert: ucert -A output is invalidTrunkUnconfirmed Task Description

ucert -A generates something that ucert cannot read back.

This happens because ucert -A appears to be appending several libubox “blobs” together, but cert_load() uses libubox’ blob_parse_untrusted() which expects to get a buffer with a single blob inside, and no padding.

Thus a valid ucert file with certificate and signature will be *bigger* than the first blob inside it, and blob_parse_untrusted() in libubox won’t even try to process it.

Since this renders ucert useless, severity is set to high.

This is related to  FS#2762  and FS#2763

24.01.20202768ToolchainBug ReportVery LowHighmake_ext4fs: Name-Based UUID leads to collisionTrunkUnconfirmed Task Description

make_ext4fs uses name-based uuid generation (see https://tools.ietf.org/html/rfc4122#section-4.3).

Therefore, as the uuid generation does only depend on the Filesystem Label and an hardcoded namespace, the UUID is exactly identical for multiple different filesystems with the same label (see https://git.openwrt.org/?p=project/make_ext4fs.git;a=blob;f=ext4_utils.c;h=1a886d7e86262d35e30d894f821ca91d32384e96;hb=HEAD#l224).

This can lead to problems like the inability to mount an filesystem by UUID.
In my constellation, I have an MMC Storage and an external SD-Card, both flashed with filesystems generated by make_ext4fs. They both have the same UUID, therefore it’s impossible to distinguish/mount them by UUID.

My suggestion would be to replace “info.label” as parameter for “generate_uuid” trough another, better suited value, e.g. an hash of the make_ext4fs directory content. Maybe it should be considered to switch to an Random Number-based UUID (https://tools.ietf.org/html/rfc4122#section-4.4)?

Affected Devices/Targets: All toolchains that use make_ext4fs
Revision: make-ext4fs-2020-01-05-5c201be7

30.01.20202783Base systemBug ReportVery LowHighTP-Link Archer A7 v5 can't be flashet via tftpopenwrt-19.07Unconfirmed Task Description

Device: TP-Link Archer A7 (RU) Ver 5.0
Software: OpenWRT 19.07.0

I just bought this router. And I trying to flash it with openwrt-19.07.0-ath79-generic-tplink_archer-a7-v5-squashfs-factory.bin trough tftp.
In wireshark I clearly see that file was downloaded. But router didn’t flashed.
I tried to flash snapshot image wtih same result.
I checked sha256 sums and it matches.

When I reproduced same steps with original TP-Link update image it worked well. Seems like something prevents router from flashing OpenWRT image.

30.01.20202785Base systemBug ReportVery LowHighkernel loading during netboot fails on mikrotik devicesopenwrt-19.07Unconfirmed Task Description

Devices tested:

  • Mikrotik rb433
  • Mikrotik rb435g

Software version: Using the v19.07.1 tag.

Issue: There are a few packages, whose are leading the ramdisk “unbbotable”, more precise the device is not able to load the kernel. First this happened by kmod-scsi-core , I thought it must be some kernel-related issue. Afterthat I realised that either I enable the aforementioned kernel-module, or the libraries called libpcre and libpci, the boot procedure will stop at:

Gateway: 192.168.1.254
transfer started ................................... transfer ok, time=2.61s
setting up elf image... OK
jumping to kernel code OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos juhosg@openwrt.org Decompressing kernel... done!
Starting kernel at 80060000...

Compiling these packages only as a module results a nice bootable image. Firstly I thought that maybe my ramdisk is too large, but it is about only 4,5 MB - previously using older trunk I was able to boot up images over 5 MByte.
I have pasted the config file to the ticket. If you switch libpcre and libpci to M instead of * it will boot.

This issue was not there before, using the image built from 18.06.

31.01.20202791Base systemBug ReportVery LowHighIPv6 router advertisments lost after upgrade to 19.07openwrt-19.07Unconfirmed Task Description

I’ve just upgraded my linksys wrt-1200ac from 18.06.4 to 19.07.0

I’ve got a more-or-less out-of-the-box configuration with wired and wireless clients all connected to the ‘br-lan’ bridge. My ISP provides native IPv6. I’ve got odhcpd-ip6only installed, and a mixture of clients, some using SLAAC and some using DHCPv6.

When a wireless client that is configured for SLAAC (e.g. an android phone) connects, it sends an IPv6 router solicitation to ff02::1 and receives a router advertisement on its fe80::<something> address. That still works fine. But the client never receives any further router adverts, so the route times out after 1800 seconds and IPv6 connectivity is lost.

This is *only* going wrong with wireless clients: tcpdump on a wired client shows router adverts arriving on ff02::1 every few minutes. But tcpdump on a wireless client shows no router adverts after the initial one.

I’ve retested with 18.06.4 and the problem does not exist in that version.

05.02.20202814KernelBug ReportVery LowHighnetns cleanup_net race conditionTrunkUnconfirmed Task Description

I’m seeing this issue on master built for x86-64, it’s been happening since I started using this x86-64 machine around December.

[   73.300163] =============================================================================                                                                                                                                                                                   
[   73.309803] BUG kmalloc-32 (Not tainted): Object already free                                                                                                                                                                                                               
[   73.316694] -----------------------------------------------------------------------------                                                                                                                                                                                   
                                                                                                                                                                                                                                                                               
[   73.328675] Disabling lock debugging due to kernel taint                                                                                                                                                                                                                    
[   73.335167] INFO: Allocated in ops_init+0x6d/0x100 age=147 cpu=0 pid=11053                                                                                                                                                                                                  
[   73.343242] INFO: Freed in 0xffffffffa09c94ca age=36 cpu=2 pid=50                                                                                                                                                                                                           
[   73.350557] INFO: Slab 0x00000000ed33138b objects=36 used=11 fp=0x0000000017541cc8 flags=0xf700000000101                                                                                                                                                                    
[   73.361281] INFO: Object 0x0000000041bc5c4c @offset=1576 fp=0x000000007d23c440                                                                                                                                                                                              
                                                                                                                                                                                                                                                                               
[   73.372490] Redzone 000000008c59cd8b: bb bb bb bb bb bb bb bb                          ........                                                                                                                                                                             
[   73.382449] Object 0000000041bc5c4c: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk                                                                                                                                                                      
[   73.393029] Object 0000000073cabfc7: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b a5  kkkkkkkkkkkkkkk.                                                                                                                                                                      
[   73.403599] Redzone 000000009196639c: bb bb bb bb bb bb bb bb                          ........                                                                                                                                                                             
[   73.413574] Padding 000000009337e5e1: 5a 5a 5a 5a 5a 5a 5a 5a                          ZZZZZZZZ                                                                                                                                                                             
[   73.423549] CPU: 2 PID: 50 Comm: kworker/u16:1 Tainted: G    B             4.19.101 #0                                                                                                                                                                                      
[   73.432698] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z77 Pro4-M, BIOS P2.10 03/13/2018                                                                                                                                                                  
[   73.443617] Workqueue: netns cleanup_net                                                                                                                                                                                                                                    
[   73.448798] Call Trace:                                                                                                                                                                                                                                                     
[   73.452495]  dump_stack+0x57/0x7a                                                                                                                                                                                                                                           
[   73.457083]  print_trailer+0x203/0x210                                                                                                                                                                                                                                      
[   73.462068]  object_err+0x2f/0x36                                                                                                                                                                                                                                           
[   73.466613]  free_debug_processing.cold.107+0x2c/0x11f                                                                                                                                                                                                                      
[   73.472985]  ? ops_free_list.part.14+0x4d/0x60                                                                                                                                                                                                                              
[   73.478663]  __slab_free+0x1bd/0x330                                                                                                                                                                                                                                        
[   73.483482]  ? kmem_cache_free+0x1b5/0x1e0                                                                                                                                                                                                                                  
[   73.488778]  kfree+0x11c/0x140                                                                                                                                                                                                                                              
[   73.493009]  ops_free_list.part.14+0x4d/0x60                                                                                                                                                                                                                                
[   73.498460]  cleanup_net+0x1c4/0x280                                                                                                                                                                                                                                        
[   73.503215]  process_one_work+0x1a8/0x340                                                                                                                                                                                                                                   
[   73.508384]  worker_thread+0x2f/0x3a0                                                                                                                                                                                                                                       
[   73.513215]  kthread+0x10b/0x130                                                                                                                                                                                                                                            
[   73.517619]  ? process_one_work+0x340/0x340                                                                                                                                                                                                                                 
[   73.522967]  ? kthread_create_worker_on_cpu+0x60/0x60                                                                                                                                                                                                                       
[   73.529193]  ret_from_fork+0x35/0x40                                                                                                                                                                                                                                        
[   73.534067] FIX kmalloc-32: Object at 0x0000000041bc5c4c not freed                                                                                                                                                                                                          

There are old closed reports about it 2353 2354

I have tried with kernel 4.14 and with kernel 4.19 from the 19 branch and also removing the nf_conntrack_rtcache module, but the result is the same.

There are times that I see no BUG at all, others where I see it appear between 1 and several times. I use several docker containers and depending on the races, sometimes everything launches well and afterwards (if I don’t play with new docker instances) it is 100% stable whereas other times I have to reboot up to 3 or even 5 times for everything to work reliably.

dmesg with some race but working stable

partial dmesg which ends crashing, captured from another machine

16.02.20202835Base systemBug ReportVery LowHighMT7621: Clients disconnects.openwrt-19.07Unconfirmed Task Description

Hi! I have MT7621 and when to router connected more than 10 peoples router start disconnecting some peoples(have two networks guest and main on 2,4).

There is my settings:
config wifi-iface ‘default_radio0’ option device ‘radio0’ option network ‘lan’ option mode ‘ap’ option wpa_disable_eapol_key_retries ‘1’ option key ‘WIFIPASS’ option ssid ‘WIFINAME’ option encryption ‘psk2+ccmp’ option disassoc_low_ack ‘0’ (guest network have same settings)

Other info:
Newifi-D2
MediaTek MT7621 ver:1 eco:3
OpenWrt 19.07.1 r10911-c155900f66 / LuCI openwrt-19.07 branch git-20.045.27998-49999e9

I also noticed that before the client is disconnected from the network, it will lose the Internet.

 

Issue on github: https://github.com/openwrt/mt76/issues/358

Many peoples with Newifi3 D2 have same problem(in github links and more details).

PLEASE, FIX IT!

18.02.20202844Base systemBug ReportVery LowHighath10k on archer C7 v2: high latencyopenwrt-19.07Unconfirmed Task Description

On my Archer C7 v2, since the upgrade from 18.06 to 19.07, I sometimes get very high latency on my 5 GHz wifi network:

This is when pinging a wireless client from the router itself.

ping 192.168.12.167
PING 192.168.12.167 (192.168.12.167): 56 data bytes
64 bytes from 192.168.12.167: seq=0 ttl=64 time=1.334 ms
64 bytes from 192.168.12.167: seq=1 ttl=64 time=2.002 ms
64 bytes from 192.168.12.167: seq=2 ttl=64 time=1004.448 ms
64 bytes from 192.168.12.167: seq=3 ttl=64 time=4.342 ms
64 bytes from 192.168.12.167: seq=4 ttl=64 time=1.072 ms
64 bytes from 192.168.12.167: seq=5 ttl=64 time=2.074 ms
64 bytes from 192.168.12.167: seq=6 ttl=64 time=2.505 ms
64 bytes from 192.168.12.167: seq=7 ttl=64 time=1.059 ms
64 bytes from 192.168.12.167: seq=8 ttl=64 time=1.746 ms
64 bytes from 192.168.12.167: seq=9 ttl=64 time=1.176 ms
64 bytes from 192.168.12.167: seq=10 ttl=64 time=1.086 ms
64 bytes from 192.168.12.167: seq=11 ttl=64 time=1.072 ms
64 bytes from 192.168.12.167: seq=12 ttl=64 time=815.290 ms
64 bytes from 192.168.12.167: seq=13 ttl=64 time=1004.417 ms
64 bytes from 192.168.12.167: seq=14 ttl=64 time=4.294 ms
64 bytes from 192.168.12.167: seq=15 ttl=64 time=4.520 ms
64 bytes from 192.168.12.167: seq=16 ttl=64 time=1003.250 ms
64 bytes from 192.168.12.167: seq=17 ttl=64 time=3.125 ms
64 bytes from 192.168.12.167: seq=18 ttl=64 time=1.019 ms
64 bytes from 192.168.12.167: seq=19 ttl=64 time=2.066 ms
^C
--- 192.168.12.167 ping statistics ---
20 packets transmitted, 20 packets received, 0% packet loss
round-trip min/avg/max = 1.019/193.094/1004.448 ms

The upgrade to 19.07.1 didn’t solve the issue. What (temporarily) seem to work is to restart the wlan0 interface. After a few hours the problem comes back. The client is very close to the AP (less than 3 meters, although there is a floor between). Signal quality is reported as very good.

Station 54:60:09:d3:e4:d6 (on wlan0)
        inactive time:  540 ms
        rx bytes:       1082546
        rx packets:     6294
        tx bytes:       15523400
        tx packets:     11636
        tx retries:     0
        tx failed:      1
        rx drop misc:   0
        signal:         -66 [-76, -68, -71] dBm
        signal avg:     -62 [-72, -64, -67] dBm
        tx bitrate:     390.0 MBit/s VHT-MCS 8 80MHz short GI VHT-NSS 1
        rx bitrate:     390.0 MBit/s VHT-MCS 8 80MHz short GI VHT-NSS 1
        rx duration:    422088 us
        last ack signal:-95 dBm
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       long
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short slot time:yes
        connected time: 447 seconds

I am using stock 19.07.1 firmware. I also tried changing the regulatory domain from CA to US but it didn’t help.
I will now try with the non-ct driver and firmware to see if it helps, as it worked fine on 18.06 which didn’t include the -ct firmware by default.

cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11a'
        option path 'pci0000:00/0000:00:00.0'
        option htmode 'VHT80'
        option noscan '1'
        option country 'US'
        option channel '149'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option key 'removed'
        option network 'lan'
        option mode 'ap'
        option ssid 'myssid5'
        option encryption 'psk2+ccmp'

config wifi-device 'radio1'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'platform/ahb/ahb:apb/18100000.wmac'
        option noscan '1'
#       option country 'CA'
        option htmode 'HT40'
        option require_mode 'g'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'myssid'
        option encryption 'psk2+ccmp'
        option key 'removed'
        option ieee80211w '1'
21.02.20202847Base systemBug ReportVery LowHighbetween ath79-master-r12157-a1cfe0dcbb and ath79-master...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
Netgear WNDR3700v2

- Software versions of OpenWrt/LEDE release, packages, etc.

between ath79-master-r12157-a1cfe0dcbb and ath79-master-r12259 including the rename from wndr3700v2 to wndr3700-v2 OpenWrt lost its capability to detect the two radios.

- Steps to reproduce

 


root@router:/tmp# cat /etc/banner

_______                     ________        __

| |.—–.—–.—–.| | | |.—-.| |_
| - || _ | -| || | | || _|| _|
|
_|| |_||||||| ||

        |__| W I R E L E S S   F R E E D O M

—————————————————– OpenWrt SNAPSHOT, r12157-a1cfe0dcbb


root@router:/tmp# dmesg
[ 0.000000] Linux version 4.19.98 (moeller@work-horse) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r12053-9e799f3eee)) #0 Fri Jan 31 22:29:40 2020
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is Netgear WNDR3700v2
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] Normal zone: 144 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] random: get_random_bytes called from start_kernel+0×98/0x4a8 with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 57516K/65536K available (4327K kernel code, 176K rwdata, 1020K rodata, 1188K init, 206K bss, 8020K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] CPU clock: 680.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5621354254 ns
[ 0.000008] sched_clock: 32 bits at 340MHz, resolution 2ns, wraps every 6316128254ns
[ 0.007800] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.074071] pid_max: default: 32768 minimum: 301
[ 0.078916] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085519] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.096880] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.106751] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.112960] pinctrl core: initialized pinctrl subsystem
[ 0.119019] NET: Registered protocol family 16
[ 0.428745] PCI host bridge /ahb/apb/pcie-controller@17010000 ranges:
[ 0.435198] MEM 0×0000000010000000..0x0000000016ffffff
[ 0.440426] IO 0×0000000000000000..0×0000000000000000 [ 0.463018] PCI host bridge to bus 0000:00
[ 0.467126] pci_bus 0000:00: root bus resource [mem 0×10000000-0x16ffffff]
[ 0.474044] pci_bus 0000:00: root bus resource [io 0×0000]
[ 0.479604] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.486385] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.494769] pci 0000:00:11.0: [168c:ff1d] type 00 class 0×020000 [ 0.494800] pci 0000:00:11.0: reg 0×10: [mem 0×00000000-0x0000ffff]
[ 0.495095] pci 0000:00:12.0: [168c:ff1d] type 00 class 0×020000 [ 0.495122] pci 0000:00:12.0: reg 0×10: [mem 0×00000000-0x0000ffff]
[ 0.495679] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.495708] pci 0000:00:11.0: BAR 0: assigned [mem 0×10000000-0x1000ffff]
[ 0.502528] pci 0000:00:12.0: BAR 0: assigned [mem 0×10010000-0x1001ffff]
[ 0.512297] clocksource: Switched to clocksource MIPS
[ 0.518346] NET: Registered protocol family 2
[ 0.523491] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.531183] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.538204] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.544573] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.551058] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.556944] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.563492] NET: Registered protocol family 1
[ 0.567890] PCI: CLS 0 bytes, default 32
[ 0.570473] Crashlog allocated RAM at address 0x3f00000
[ 0.576987] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.589206] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.595083] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.615469] io scheduler noop registered
[ 0.619388] io scheduler deadline registered (default)
[ 0.625206] ar7100-usb-phy 18030000.usb-phy: phy reset is missing
[ 0.632106] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.639111] console [ttyS0] disabled
[ 0.642766] 18020000.uart: ttyS0 at MMIO 0×18020000 (irq = 10, base_baud = 10625000) is a 16550A
[ 0.651550] console [ttyS0] enabled
[ 0.658520] bootconsole [early0] disabled
[ 0.672685] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.677766] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.684156] Creating 4 MTD partitions on “spi0.0”:
[ 0.688944] 0×000000000000-0×000000050000 : “u-boot” [ 0.694662] 0×000000050000-0×000000070000 : “u-boot-env” [ 0.700642] 0×000000070000-0x000000ff0000 : “firmware” [ 0.709051] 2 netgear-fw partitions found on MTD device firmware
[ 0.715111] Creating 2 MTD partitions on “firmware”:
[ 0.720073] 0×000000000000-0x0000001c4440 : “kernel” [ 0.725799] 0x0000001c4440-0x000000f80000 : “rootfs” [ 0.731378] mtd: device 4 (rootfs) set to be root filesystem
[ 0.738413] 1 squashfs-split partitions found on MTD device rootfs
[ 0.744648] 0x0000007b0000-0x000000f80000 : “rootfs_data” [ 0.750780] 0x000000ff0000-0×000001000000 : “art” [ 0.756658] Realtek RTL8366S ethernet switch driver version 0.2.2
[ 0.762862] rtl8366s rtl8366s: cannot find mdio node phandle
[ 0.768528] rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK)
[ 0.774813] rtl8366s rtl8366s: RTL8366 ver. 1 chip found
[ 0.826529] libphy: rtl8366s: probed
[ 0.831545] libphy: Fixed MDIO Bus: probed
[ 1.184018] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.193617] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 1.533893] ag71xx 1a000000.eth: connected to PHY at rtl8366s:04 [uid=001cc960, driver=Generic PHY]
[ 1.543585] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: rgmii
[ 1.552067] NET: Registered protocol family 10
[ 1.561269] Segment Routing with IPv6
[ 1.565090] NET: Registered protocol family 17
[ 1.569586] 8021q: 802.1Q VLAN Support v1.8
[ 1.585516] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.596158] Freeing unused kernel memory: 1188K
[ 1.600682] This architecture does not have kernel memory protection.
[ 1.607138] Run /sbin/init as init process
[ 2.582308] random: fast init done
[ 2.807119] init: Console is alive
[ 2.810741] init: - watchdog -
[ 6.241610] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.383455] usbcore: registered new interface driver usbfs
[ 6.389022] usbcore: registered new interface driver hub
[ 6.394453] usbcore: registered new device driver usb
[ 6.430284] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 6.445010] SCSI subsystem initialized
[ 6.453749] ehci-platform: EHCI generic platform driver
[ 7.058167] ehci-platform 1b000000.usb: EHCI Host Controller
[ 7.063869] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[ 7.071783] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000
[ 7.102319] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[ 7.109300] hub 1-0:1.0: USB hub found
[ 7.113454] hub 1-0:1.0: 2 ports detected
[ 7.120810] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 7.128705] ohci-platform: OHCI generic platform driver
[ 7.134182] ohci-platform 1c000000.usb: Generic Platform OHCI controller
[ 7.140911] ohci-platform 1c000000.usb: new USB bus registered, assigned bus number 2
[ 7.148855] ohci-platform 1c000000.usb: irq 14, io mem 0x1c000000
[ 7.227154] hub 2-0:1.0: USB hub found
[ 7.231244] hub 2-0:1.0: 2 ports detected
[ 7.239911] usbcore: registered new interface driver usb-storage
[ 7.246968] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 7.257068] init: - preinit -
[ 7.952485] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 8.224006] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 8.239044] scsi host0: usb-storage 1-1:1.0
[ 8.607425] random: procd: uninitialized urandom read (4 bytes read)
[ 9.217736] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.313323] scsi 0:0:0:0: Direct-Access SanDisk Ultra 1.01 PQ: 0 ANSI: 2
[ 9.324268] sd 0:0:0:0: [sda] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[ 9.435234] sd 0:0:0:0: [sda] Write Protect is off
[ 9.440027] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 9.441159] sd 0:0:0:0: [sda] No Caching mode page found
[ 9.446536] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.467635] sda: sda1 sda2
[ 9.485172] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 9.512732] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.803851] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.855143] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.937787] random: jshn: uninitialized urandom read (4 bytes read)
[ 10.734464] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 11.792658] eth0: link up (1000Mbps/Full duplex)
[ 11.797336] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 21.002121] mount_root: loading kmods from internal overlay
[ 21.065763] kmodloader: loading kernel modules from etc/modules-boot.d/*
[ 21.074086] kmodloader: done loading kernel modules from
etc/modules-boot.d/*
[ 22.067245] jffs2: notice: (573) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (3 unchecked, 1 orphan) and 38 of xref (1 dead, 0 orphan) found.
[ 22.083539] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 22.104478] block: extroot: not configured
[ 22.493615] jffs2: notice: (571) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (3 unchecked, 1 orphan) and 38 of xref (1 dead, 0 orphan) found.
[ 22.512972] mount_root: loading kmods from internal overlay
[ 22.571532] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[ 22.586940] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[ 23.297496] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 23.311711] block: extroot: not configured
[ 23.317033] mount_root: switching to jffs2 overlay
[ 23.391179] overlayfs: upper fs does not support tmpfile.
[ 23.402971] urandom-seed: Seeding with /etc/urandom.seed
[ 23.506382] eth0: link down
[ 23.522968] procd: - early -
[ 23.525956] procd: - watchdog -
[ 24.224357] procd: - watchdog -
[ 24.227866] procd: - ubus -
[ 24.305816] urandom_read: 2 callbacks suppressed
[ 24.305823] random: ubusd: uninitialized urandom read (4 bytes read)
[ 24.321238] random: ubusd: uninitialized urandom read (4 bytes read)
[ 24.330097] procd: - init -
[ 25.653767] kmodloader: loading kernel modules from /etc/modules.d/*
[ 25.815614] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[ 25.855111] tun: Universal TUN/TAP device driver, 1.6
[ 25.878662] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 25.922686] gre: GRE over IPv4 demultiplexor driver
[ 25.944224] ip_gre: GRE over IPv4 tunneling driver
[ 26.291706] Mirror/redirect action on
[ 26.325462] u32 classifier
[ 26.328171] input device check on
[ 26.331822] Actions configured
[ 26.380723] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
[ 26.388336] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
[ 26.401462] urngd: v1.0.2 started.
[ 26.492389] usbcore: registered new interface driver usbserial_generic
[ 26.498978] usbserial: USB Serial support registered for generic
[ 26.558787] wireguard: WireGuard 0.0.20200128 loaded. See www.wireguard.com for information.
[ 26.567273] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved.
[ 26.778103] xt_time: kernel timezone is -0000
[ 26.798642] ath9k_pci_owl_loader 0000:00:11.0: enabling device (0000 → 0002)
[ 26.806040] ath9k_pci_owl_loader 0000:00:12.0: enabling device (0000 → 0002)
[ 26.824088] ath9k_pci_owl_loader 0000:00:12.0: fixup device configuration
[ 26.832789] ath9k_pci_owl_loader 0000:00:11.0: fixup device configuration
[ 26.861449] pci 0000:00:12.0: [168c:0029] type 00 class 0×028000 [ 26.861487] pci 0000:00:12.0: reg 0×10: [mem 0×10010000-0x1001ffff]
[ 26.861542] pci 0000:00:12.0: PME# supported from D0 D3hot
[ 26.862141] pci 0000:00:12.0: BAR 0: assigned [mem 0×10010000-0x1001ffff]
[ 26.877545] pci 0000:00:11.0: [168c:0029] type 00 class 0×028000 [ 26.877582] pci 0000:00:11.0: reg 0×10: [mem 0×10000000-0x1000ffff]
[ 26.877638] pci 0000:00:11.0: PME# supported from D0 D3hot
[ 26.878247] pci 0000:00:11.0: BAR 0: assigned [mem 0×10000000-0x1000ffff]
[ 27.066477] random: crng init done
[ 27.156340] PPP generic driver version 2.4.2
[ 27.183974] PPP MPPE Compression module registered
[ 27.199611] NET: Registered protocol family 24
[ 27.218213] PPTP driver version 0.8.5
[ 27.368426] ath9k 0000:00:12.0: enabling device (0000 → 0002)
[ 27.408317] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[ 27.416965] ath: EEPROM regdomain: 0×0 [ 27.416971] ath: EEPROM indicates default country code should be used
[ 27.416974] ath: doing EEPROM country→regdmn map search
[ 27.416984] ath: country maps to regdmn code: 0x3a
[ 27.416989] ath: Country alpha2 being used: US
[ 27.416992] ath: Regpair used: 0x3a
[ 27.433820] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’ [ 27.435348] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0010000, irq=19
[ 27.442114] ath9k 0000:00:11.0: enabling device (0000 → 0002)
[ 27.584297] ath: phy1: Ignoring endianness difference in EEPROM magic bytes.
[ 27.592914] ath: EEPROM regdomain: 0×0 [ 27.592920] ath: EEPROM indicates default country code should be used
[ 27.592923] ath: doing EEPROM country→regdmn map search
[ 27.592933] ath: country maps to regdmn code: 0x3a
[ 27.592938] ath: Country alpha2 being used: US
[ 27.592940] ath: Regpair used: 0x3a
[ 27.607441] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ [ 27.608985] ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0000000, irq=18
[ 27.702755] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 44.364371] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts:
[ 44.414576] Adding 976560k swap on /dev/sda1. Priority:-2 extents:1 across:976560k
[ 48.643400] eth0: link up (1000Mbps/Full duplex)
[ 48.648969] br-lan: port 1(eth0) entered blocking state
[ 48.654275] br-lan: port 1(eth0) entered disabled state
[ 48.659807] device eth0 entered promiscuous mode
[ 48.692372] br-lan: port 1(eth0) entered blocking state
[ 48.697596] br-lan: port 1(eth0) entered forwarding state
[ 48.703176] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 48.790578] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 48.835679] IPv6: ADDRCONF(NETDEV_UP): eth1.2: link is not ready
[ 48.951180] IPv6: ADDRCONF(NETDEV_UP): eth1.7: link is not ready
[ 49.712398] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 51.437743] eth1: link up (1000Mbps/Full duplex)
[ 51.513573] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 51.582425] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.2: link becomes ready
[ 51.589118] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.7: link becomes ready
[ 54.282504] ath: EEPROM regdomain: 0×8114 [ 54.286516] ath: EEPROM indicates we should expect a country code
[ 54.292634] ath: doing EEPROM country→regdmn map search
[ 54.297928] ath: country maps to regdmn code: 0×37 [ 54.302722] ath: Country alpha2 being used: DE
[ 54.307157] ath: Regpair used: 0×37 [ 54.310630] ath: regdomain 0×8114 dynamically updated by user
[ 54.316523] ath: EEPROM regdomain: 0×8114 [ 54.320516] ath: EEPROM indicates we should expect a country code
[ 54.326609] ath: doing EEPROM country→regdmn map search
[ 54.331904] ath: country maps to regdmn code: 0×37 [ 54.336698] ath: Country alpha2 being used: DE
[ 54.341125] ath: Regpair used: 0×37 [ 54.344620] ath: regdomain 0×8114 dynamically updated by user
[ 54.836482] pppoe-wan: renamed from ppp0
[ 57.427192] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 57.492852] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 57.616731] br-lan: port 2(wlan0) entered blocking state
[ 57.622045] br-lan: port 2(wlan0) entered disabled state
[ 57.627773] device wlan0 entered promiscuous mode
[ 57.632654] br-lan: port 2(wlan0) entered blocking state
[ 57.637986] br-lan: port 2(wlan0) entered forwarding state
[ 57.693619] br-lan: port 3(wlan1) entered blocking state
[ 57.698935] br-lan: port 3(wlan1) entered disabled state
[ 57.704667] device wlan1 entered promiscuous mode
[ 58.525536] br-lan: port 2(wlan0) entered disabled state
[ 58.531209] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 58.537780] br-lan: port 3(wlan1) entered blocking state
[ 58.543145] br-lan: port 3(wlan1) entered forwarding state
[ 58.750884] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 58.757483] br-lan: port 2(wlan0) entered blocking state
[ 58.762856] br-lan: port 2(wlan0) entered forwarding state
[84181.737818] pppoe-wan: renamed from ppp0
[144550.658055] pppoe-wan: renamed from ppp0
[159913.299297] eth1: link down
[159918.352853] IPv6: ADDRCONF(NETDEV_UP): eth1.7: link is not ready
[159919.249344] eth1: link up (1000Mbps/Full duplex)
[159919.251734] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.7: link becomes ready
[159923.807531] eth1: link down
[159924.830488] eth1: link up (1000Mbps/Full duplex)
[159931.219728] eth1: link down
[159936.244722] IPv6: ADDRCONF(NETDEV_UP): eth1.7: link is not ready
[159950.979373] eth1: link up (1000Mbps/Full duplex)
[159950.982129] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.7: link becomes ready
[160110.252218] pppoe-wan: renamed from ppp0
[246512.671046] pppoe-wan: renamed from ppp0
[260793.131776] pppoe-wan: renamed from ppp0
[347195.313169] pppoe-wan: renamed from ppp0
[433596.980231] pppoe-wan: renamed from ppp0
[449177.428433] pppoe-wan: renamed from ppp0
[535580.336441] pppoe-wan: renamed from ppp0
root@router:~#

BusyBox v1.31.1 () built-in shell (ash)

_______                     ________        __

| |.—–.—–.—–.| | | |.—-.| |_
| - || _ | -| || | | || _|| _|
|
_|| |_||||||| ||

        |__| W I R E L E S S   F R E E D O M

—————————————————– OpenWrt SNAPSHOT, r12259-2f1cc5c3d5


root@router:~# dmesg
[ 0.000000] Linux version 4.19.101 (moeller@work-horse) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r12053-9e799f3eee)) #0 Tue Feb 18 15:10:31 2020
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is Netgear WNDR3700 v2
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] Normal zone: 144 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] random: get_random_bytes called from start_kernel+0×98/0x4a8 with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 57452K/65536K available (4336K kernel code, 180K rwdata, 1020K rodata, 1240K init, 206K bss, 8084K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] CPU clock: 680.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5621354254 ns
[ 0.000008] sched_clock: 32 bits at 340MHz, resolution 2ns, wraps every 6316128254ns
[ 0.007802] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.074072] pid_max: default: 32768 minimum: 301
[ 0.078916] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085519] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.096900] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.106767] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.112979] pinctrl core: initialized pinctrl subsystem
[ 0.119049] NET: Registered protocol family 16
[ 0.428873] PCI host bridge /ahb/apb/pcie-controller@17010000 ranges:
[ 0.435329] MEM 0×0000000010000000..0x0000000016ffffff
[ 0.440561] IO 0×0000000000000000..0×0000000000000000 [ 0.463724] PCI host bridge to bus 0000:00
[ 0.467827] pci_bus 0000:00: root bus resource [mem 0×10000000-0x16ffffff]
[ 0.474747] pci_bus 0000:00: root bus resource [io 0×0000]
[ 0.480307] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.487093] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.495479] pci 0000:00:11.0: [168c:ff1d] type 00 class 0×020000 [ 0.495512] pci 0000:00:11.0: reg 0×10: [mem 0×00000000-0x0000ffff]
[ 0.495815] pci 0000:00:12.0: [168c:ff1d] type 00 class 0×020000 [ 0.495841] pci 0000:00:12.0: reg 0×10: [mem 0×00000000-0x0000ffff]
[ 0.496401] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.496430] pci 0000:00:11.0: BAR 0: assigned [mem 0×10000000-0x1000ffff]
[ 0.503258] pci 0000:00:12.0: BAR 0: assigned [mem 0×10010000-0x1001ffff]
[ 0.513082] clocksource: Switched to clocksource MIPS
[ 0.519172] NET: Registered protocol family 2
[ 0.524330] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.532014] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.539035] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.545408] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.551886] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.557771] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.564323] NET: Registered protocol family 1
[ 0.568729] PCI: CLS 0 bytes, default 32
[ 0.571378] Crashlog allocated RAM at address 0x3f00000
[ 0.577915] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.590375] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.596252] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.616936] io scheduler noop registered
[ 0.620852] io scheduler deadline registered (default)
[ 0.626692] ar7100-usb-phy 18030000.usb-phy: phy reset is missing
[ 0.633681] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.640613] console [ttyS0] disabled
[ 0.644274] 18020000.uart: ttyS0 at MMIO 0×18020000 (irq = 10, base_baud = 10625000) is a 16550A
[ 0.653058] console [ttyS0] enabled
[ 0.660028] bootconsole [early0] disabled
[ 0.674536] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.679618] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.686021] Creating 4 MTD partitions on “spi0.0”:
[ 0.690808] 0×000000000000-0×000000050000 : “u-boot” [ 0.696550] 0×000000050000-0×000000070000 : “u-boot-env” [ 0.702548] 0×000000070000-0x000000ff0000 : “firmware” [ 0.711065] 2 netgear-fw partitions found on MTD device firmware
[ 0.717127] Creating 2 MTD partitions on “firmware”:
[ 0.722090] 0×000000000000-0x0000001c5440 : “kernel” [ 0.727837] 0x0000001c5440-0x000000f80000 : “rootfs” [ 0.733518] mtd: device 4 (rootfs) set to be root filesystem
[ 0.740540] 1 squashfs-split partitions found on MTD device rootfs
[ 0.746771] 0x0000007e0000-0x000000f80000 : “rootfs_data” [ 0.752926] 0x000000ff0000-0×000001000000 : “art” [ 0.758843] Realtek RTL8366S ethernet switch driver version 0.2.2
[ 0.765052] rtl8366s rtl8366s: cannot find mdio node phandle
[ 0.770719] rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK)
[ 0.777005] rtl8366s rtl8366s: RTL8366 ver. 1 chip found
[ 0.827344] libphy: rtl8366s: probed
[ 0.833038] libphy: Fixed MDIO Bus: probed
[ 1.184827] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.194429] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 1.534679] ag71xx 1a000000.eth: connected to PHY at rtl8366s:04 [uid=001cc960, driver=Generic PHY]
[ 1.544386] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: rgmii
[ 1.552885] NET: Registered protocol family 10
[ 1.562197] Segment Routing with IPv6
[ 1.566017] NET: Registered protocol family 17
[ 1.570511] 8021q: 802.1Q VLAN Support v1.8
[ 1.587431] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.598222] Freeing unused kernel memory: 1240K
[ 1.602744] This architecture does not have kernel memory protection.
[ 1.609207] Run /sbin/init as init process
[ 2.583093] random: fast init done
[ 2.802168] init: Console is alive
[ 2.805875] init: - watchdog -
[ 6.090295] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.231212] usbcore: registered new interface driver usbfs
[ 6.236831] usbcore: registered new interface driver hub
[ 6.242219] usbcore: registered new device driver usb
[ 6.281739] SCSI subsystem initialized
[ 6.292568] usbcore: registered new interface driver usb-storage
[ 6.299577] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.309264] init: - preinit -
[ 8.224350] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.466243] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.754611] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.618495] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.752825] urandom_read: 4 callbacks suppressed
[ 9.752833] random: procd: uninitialized urandom read (4 bytes read)
[ 10.673421] eth0: link up (1000Mbps/Full duplex)
[ 10.678056] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 20.006729] mount_root: loading kmods from internal overlay
[ 20.070104] kmodloader: loading kernel modules from etc/modules-boot.d/*
[ 20.078087] kmodloader: done loading kernel modules from
etc/modules-boot.d/*
[ 20.858277] jffs2_scan_eraseblock(): End of filesystem marker found at 0×30000 [ 20.865541] jffs2_build_filesystem(): unlocking the mtd device...
[ 20.865544] done.
[ 20.873637] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 78.939877] done.
[ 78.949323] jffs2: notice: (558) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 78.965200] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 78.972247] block: unable to load configuration (fstab: Entry not found)
[ 78.979108] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 78.985665] block: unable to load configuration (fstab: Entry not found)
[ 78.992448] block: attempting to load /etc/config/fstab
[ 79.062790] block: extroot: not configured
[ 79.566994] jffs2: notice: (556) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 80.268686] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 80.275845] block: unable to load configuration (fstab: Entry not found)
[ 80.282637] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 80.289201] block: unable to load configuration (fstab: Entry not found)
[ 80.296055] block: attempting to load /etc/config/fstab
[ 80.301752] block: extroot: not configured
[ 80.307978] mount_root: overlay filesystem has not been fully initialized yet
[ 80.321266] mount_root: switching to jffs2 overlay
[ 80.389579] overlayfs: upper fs does not support tmpfile.
[ 83.093791] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 83.182093] eth0: link down
[ 83.196988] procd: - early -
[ 83.199968] procd: - watchdog -
[ 83.834517] procd: - watchdog -
[ 83.837950] procd: - ubus -
[ 83.904783] random: ubusd: uninitialized urandom read (4 bytes read)
[ 83.912132] random: ubusd: uninitialized urandom read (4 bytes read)
[ 83.919702] procd: - init -
[ 84.893323] kmodloader: loading kernel modules from /etc/modules.d/*
[ 85.045275] tun: Universal TUN/TAP device driver, 1.6
[ 85.069431] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 85.119219] gre: GRE over IPv4 demultiplexor driver
[ 85.139270] ip_gre: GRE over IPv4 tunneling driver
[ 85.484432] Mirror/redirect action on
[ 85.511393] u32 classifier
[ 85.514167] input device check on
[ 85.517816] Actions configured
[ 85.563375] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
[ 85.570932] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
[ 85.594056] urngd: v1.0.2 started.
[ 85.779351] usbcore: registered new interface driver usbserial_generic
[ 85.786017] usbserial: USB Serial support registered for generic
[ 85.834097] wireguard: WireGuard 0.0.20200215 loaded. See www.wireguard.com for information.
[ 85.842525] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved.
[ 86.062495] xt_time: kernel timezone is -0000
[ 86.197742] random: crng init done
[ 86.337283] PPP generic driver version 2.4.2
[ 86.361591] PPP MPPE Compression module registered
[ 86.378734] NET: Registered protocol family 24
[ 86.408191] PPTP driver version 0.8.5
[ 86.566705] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 104.504191] eth0: link up (1000Mbps/Full duplex)
[ 104.509789] br-lan: port 1(eth0) entered blocking state
[ 104.515094] br-lan: port 1(eth0) entered disabled state
[ 104.520630] device eth0 entered promiscuous mode
[ 104.604615] br-lan: port 1(eth0) entered blocking state
[ 104.609845] br-lan: port 1(eth0) entered forwarding state
[ 104.615450] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 104.663301] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 104.708562] IPv6: ADDRCONF(NETDEV_UP): eth1.2: link is not ready
[ 104.808242] IPv6: ADDRCONF(NETDEV_UP): eth1.7: link is not ready
[ 105.553190] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 106.773996] eth1: link up (1000Mbps/Full duplex)
[ 106.851719] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 106.911421] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.2: link becomes ready
[ 106.918175] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.7: link becomes ready
[ 108.903192] pppoe-wan: renamed from ppp0
root@router:~#

Note, the lack of anything related to the ath9K driver in the second dmesg.

Following the instructions on External Linkhttps://openwrt.org/docs/guide-user/network/wifi/basic to regenerate the wireless configuration:
rm -f /etc/config/wireless
wifi config

resulted in an empty /etc/config/wireless:
root@router:~# ls -all /etc/config/wireless
-rw-r–r– 1 root root 0 Feb 21 23:12 /etc/config/wireless
root@ router:~# cat /etc/config/wireless

Due to the rename of the platform from wndr3700v2 to wndr3700-v2 the build config had to be edited (recreated by a new run of menuconfig).

Let me know if I can do anything to help get this debugged.

22.02.20202849KernelBug ReportVery LowHighAR8327 can't work on hybid VLAN tagging mode.AllUnconfirmed Task Description

I have 2 vlan channel in family network for IPTV STB with VLAN 51 & 85. My router is WZR-HP-G302H which have the same hardware with WZR-HP-G300NH2.

With the default vlans1&2, I set the switch has 4 vlan channels:
vlan1 goes cpu(port0) tagged, lan(port1-4) untagged, wan(port5) off,
vlan2 goes cpu(port0) tagged, lan(port1-4) off, wan(port5) untagged,
vlan51(for multicast) goes cpu(port0) untagged, IPTV(port1) tagged, PC(port2-4) off, wan(port5) tagged,
vlan85(IPTV stream) goes cpu(port0) untagged, IPTV(port1) tagged, PC(port2-4) off, wan(port5) tagged.
And I use TTL to logon my IPTV STB, with ifconfig eth0&eht0.85, I can see the STB got both internet routing ip(192.168.2.x) & IPTV intranet ip(217.xxx.xxx.xxx), but when I’m trying to ping 192.168.2.1, it failed.
When I set wan(port5) with vlan51&85 off, the internet was back, and got acks from ping 192.168.1.1.
So I tried to replace wan to port1-4 ,IPTV port to port2-5 with all the possibility, it shows the same problem.

Then I try to use the route with AP mode:
vlan1 goes cpu(port0) tagged, lan(port1-5) untagged,
vlan51 goes cpu(port0) off, lan(port1-5) tagged,
vlan85 goes cpu(port0) off, lan(port1-5) tagged.
The STB still got 2 IPs , which 192.168.1.x & 217.xxx.xxx.xxx both offerd by Modem’s DHCP.
And the same problem appears: only port with both vlan51&85 turned off can got internet access, others not.

I tried firmwares openwrt-19.07.1-ath79-generic-buffalo_wzr-hp-g302h-a1a0-squashfs-sysupgrade.bin, openwrt-19.07.1-ar71xx-generic-wzr-hp-g300nh2-squashfs-sysupgrade.bin and openwrt-18.06.7-ar71xx-generic-wzr-hp-g300nh2-squashfs-sysupgrade, they shows the same problem while the port sets in hybird mode with vlan tagged & untagged.

So I have to seeks documents and troubleshoots for help. Finally I found the ticket:(https://dev.archive.openwrt.org/ticket/12181.html) told the same problem.
But the ticket is 5 yeas ago, and the ar8216.c no in 19.07.1 and 18.06.7 is definitely different, the “k”‘s path is no longer available with new ar8216.c, so I have to report the bug here again.
Is there any patch or a new fixed version of ar8216.c work with hybird mode which inculde tagged & untagged frame on the same port? Thank you very much.

25.02.20202856Base systemBug ReportVery LowHighWifi "dies" (hostapd drops all clients) on some ar71xx ...openwrt-19.07New Task Description

This issue is very strange, i don’t even know if it’s just faulty hardware but i have it happening on multiple devices now

Most affected hardware

  • Nanobridge M5 , in this case transmitting enough data can trigger it almost instantly
  • TL-WR841ND , in this case i had it happen like 3-4 times a year
  • CPE 210 v3 , in this case it happens like each week

For the last one, which is running 19.07 i found on the system log

Tue Feb 25 07:38:58 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED [redacted mac1]
Tue Feb 25 07:38:58 2020 daemon.info hostapd: wlan0: STA [redacted mac1] IEEE 802.11: disassociated due to inactivity
Tue Feb 25 07:38:59 2020 daemon.info hostapd: wlan0: STA [redacted mac1] IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Feb 25 07:41:32 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED [redacted mac2]
Tue Feb 25 07:41:32 2020 daemon.info hostapd: wlan0: STA [redacted mac2] IEEE 802.11: disassociated due to inactivity
Tue Feb 25 07:41:33 2020 daemon.info hostapd: wlan0: STA [redacted mac2] IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Feb 25 07:42:49 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 07:49:55 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 07:55:02 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 08:00:15 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 08:05:25 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 08:10:44 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 08:16:00 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
07.03.20202888KernelBug ReportVery LowHighkomd-ipsec4 missing files in latest snapshotTrunkUnconfirmed Task Description

xfrm4_mode_tunnel ,xfrm4_mode_transport and xfrm4_mode_beet are missing in package kmod-ipsec4, it results strongswan failed to add SAD entry, and return netlink error.
It seems that it’s because of https://github.com/openwrt/openwrt/commit/1556ed155a9aff8636733d27076107b3354c4c3e

10.03.20202893Base systemBug ReportVery LowHighEthernet port not receiving data on Ubiquiti LiteAP ac ...TrunkUnconfirmed Task Description

Hi,

The Ubiquiti LiteAP ac (LAP-120) does not receive incoming packets via eth0 with the latest snapshot (OpenWrt SNAPSHOT, r12498-2a18840cc7):

root@OpenWrt:/# ifconfig 
br-lan    Link encap:Ethernet  HWaddr B4:FB:E4:FA:FA:FA
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fdaa:a708:e003::1/60 Scope:Global
          inet6 addr: fe80::b6fb:e4ff:fefa:fafa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:4420 (4.3 KiB)

eth0      Link encap:Ethernet  HWaddr B4:FB:E4:FA:FA:FA  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:6622 (6.4 KiB)
          Interrupt:4

It works correctly with latest stable, 19.07.2.

Using tcpdump on the connected computer I see outgoing traffic from the device, but incoming traffic does not reach the device.

The device correctly detects link changes, but different link speeds make no difference:

[ 1536.519019] eth0: link down
[ 1536.522824] br-lan: port 1(eth0) entered disabled state
[ 1537.561807] eth0: link up (1000Mbps/Full duplex)
[ 1537.566554] br-lan: port 1(eth0) entered blocking state
[ 1537.571932] br-lan: port 1(eth0) entered forwarding state
[ 1541.719009] eth0: link down
[ 1541.722824] br-lan: port 1(eth0) entered disabled state
[ 1542.761703] eth0: link up (100Mbps/Half duplex)
[ 1542.766359] br-lan: port 1(eth0) entered blocking state
[ 1542.771738] br-lan: port 1(eth0) entered forwarding state
[ 1545.879008] eth0: link down
[ 1545.882820] br-lan: port 1(eth0) entered disabled state
[ 1546.921800] eth0: link up (10Mbps/Half duplex)
[ 1546.926365] br-lan: port 1(eth0) entered blocking state
[ 1546.931744] br-lan: port 1(eth0) entered forwarding state

Please find attached dmesg outputs for both snapshot (snap) and 19.07.2 (19072).

13.03.20202901Base systemBug ReportVery LowHighFlow offload not working properly in case of IPv6 (NAT6...openwrt-19.07Unconfirmed Task Description

Linksys WRT32X with NAT6 configuration.

On latest 19.07 branch r10959

With the flow_offload feature turned on, nat6 is not working properly.
The first (or several) TCP packets seemed to be fine but later packets were not properly transmitted. The connection was soon closed.

(In case of accessing ipv6.google.com, the browser would freeze. And the curl would freeze after receiving a portion of the HTML content.)

In the meantime, ICMPv6 worked normally.

After removing the FLOWOFFLOAD ip6tables record, everything is fine.
After inserting the `-m conntrack –cstate RELATED,ESTABLISHED -j ACCEPT` before the FLOWOFFLOAD everything is also fine.

IPv4 part looked normal even if flow_offload is on.

NAT6 worked on older versions like 18.04 branch with flow_offload enabled.

17.03.20202906Base systemBug ReportVery LowHighAdding v4 Static routes without selecting 'Advanced' Ta...openwrt-19.07Unconfirmed Task Description

Using Openwrt 19.07.2 release;
On TP-Link c2600 & N750(wdr4300 v1.4)

Observed behavior:

Adding a static v4 route i.e 172.16.253.0 via 172.16.253.254 in the Luci Static route page succesfully adds the route, and by default appears to select the local route table. However viewing the routes list in status or via ip r s on cli does not show the entry.

Work-Around:

Ensure that a different table is selected in the 'Advanced tab' then go back in and add it to the correct appropriate route table.



Expected behaviour:

Adding a static route add's it to the system route table irrespective of needing to switch into advanced tab and select a non-default route table first.


21.03.20202912Base systemBug ReportVery LowHighPhicomm K3 (bcm53xx) wifi channel can't be set to auto ...openwrt-19.07Unconfirmed Task Description

Device:Phicomm K3 (bcm53xx)
BUG:wifi channel can’t set to auto mode
Description:Wifi channel can’t set to auto mode in Network - Wireless.
When wireless channel sets to auto mode, wireless settings will change from AP to Cilent even I don’t do that.

23.03.20202922Base systemBug ReportVery LowHighNo COMFAST CF-E110NV2 8MB flash compatible versionTrunkUnconfirmed Task Description

CF-E110V2 is released with 8MB Flash (maybe it was before with 16 but apparently no longer, see forum discussions on CF-E110)
The current released package is only for 16MB flash

Can You generate and publicly release a 8MB flash compatible version too.

Hereafter the modified part of the dts file I’m using to compile my own FW (based on original OEM partition table).

flash@0 {
	compatible = "winbond,w25q64", "jedec,spi-nor";
	reg = <0>;
	spi-max-frequency = <25000000>;
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;
		partition@0 {
			label = "u-boot";
			reg = <0x000000 0x010000>;
			read-only;
		};
		art: partition@10000 {
			label = "art";
			reg = <0x010000 0x010000>;
			read-only;
		};
		partition@20000 {
			compatible = "denx,uimage";
			label = "firmware";
			reg = <0x020000 0x7d0000>;
		};
		partition@7f0000 {
			label = "nvram";
			reg = <0x7f0000 0x010000>;
			read-only;
		};
	};
};
 


26.03.20202931Base systemBug ReportVery LowHighloading package information never arrivedopenwrt-19.07Unconfirmed Task Description

using fresh install

from Luci interface goto menu
system/software
the loading package information never arrived

pushing the update list button
the loading package information never arrived

using the console
opk update, list... are working well


27.03.20202936DocumentationBug ReportVery LowHighDocumentation for Pogoplug results in brickTrunkUnconfirmed Task Description

[1] assumes that u-boot image is smaller than 512 KB, but this is no longer the case. Followed the instructions without a second thought and bricked my device. It could have used ${filesize} like the sections below it, or simply use 640 KiB instead of 512 KiB. (The 660 KiB in the section might be a typo, it is not multiple of 128 KiB)

Besides, links in [2] are mostly broken and outdated. In addition, for V4 A3 devices, there are no test pads for JTAG.

[1] https://openwrt.org/toh/cloudengines/pogoplug#single-stage_bootloader [2] https://openwrt.org/toh/cloudengines/pogo-v4

30.03.20202949KernelBug ReportVery LowHighWireless not working on bananapi proopenwrt-19.07Assigned Task Description

openwrt install on bananapi pro has no functioning wifi.
No wireless interface, no wireless option in ui, etc...

Supply the following if possible:
- Device problem occurs on: lemaker bananapi pro
- Software versions of OpenWrt/LEDE release, packages, etc. : openwrt-19.07.2 and also 18.06.8
- Steps to reproduce

 flash openwrt to sd card
 boot
 check interfaces via the UI or SSH

I’ve attached syslog & dmesg

suspicious lines:
[ 9.150351] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1
[ 9.159364] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43362-sdio.bin failed with error -2
[ 9.169181] brcmfmac mmc1:0001:1: Falling back to user helper
[ 9.222013] firmware brcm!brcmfmac43362-sdio.bin: firmware_loading_store: map pages failed

Might be relevant:
https://github.com/armbian/build/commit/1c3fde7d3b8f97a7acbd41d5513d73990e3c77e9 https://forum.armbian.com/topic/9341-brcmfmac-not-working-after-upgrade-to-armbian-570/

07.04.20202977Base systemBug ReportVery LowHighParameters sendopts seems to be bad formated in the cal...openwrt-19.07Unconfirmed Task Description

The options parameters sendopts define in /etc/config/network seems to be badly formated in the call of the command odhcp6c

In /etc/config/network:

 

option sendopts “11:00 15:456544 16:1234”

is parsed like this (show via ps|grep odhcp6c)
-x11 00 -x15 456544 -x16 1234

The syntax given by the help of odhcp6c is different:

-x <opt>:<val> Add option opt (with value val) in sent packets (cumulative)

		Examples of IPv6 address, string and base-16 encoded options:
		-x dns:2001:2001::1,2001:2001::2 - option 23
		-x 15:office - option 15 (userclass)
		-x 0x1f4:ABBA - option 500
		-x 202:'"file"' - option 202

It appears than the : is replace by a space in the call of the command.
Regarding the help of the command, it should be :
-x 11:00 -x 15:456544 -x 16:1234

Thanks
Regards

08.04.20202978KernelBug ReportVery LowHighmt7621 snapshot downloads lack of .ko file in kernel mo...TrunkUnconfirmed Task Description

There is no .ko file in kernel module package, such as
kmod-crypto-acompress_5.4.28-1_mipsel_24kc.ipk
kmod-crypto-aead_5.4.28-1_mipsel_24kc.ipk
kmod-crypto-deflate_5.4.28-1_mipsel_24kc.ipk
Previous downloads in late 2019 and current mt7620 downloads do include .ko file.

08.04.20202980Base systemBug ReportVery LowHighNo connection to Ethernet portTrunkUnconfirmed Task Description

Hi,
I can’t connect to my board with ethernet port, my chip is mt7688 and branch is master, I tested board with 19.07 branch, it seems all is OK.
Below are the logs with serial port :

root@OpenWrt:/# [  306.094979] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
[  306.101270] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:00000057
[  306.107392] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=0707c000, max=1024, ctx=1, dtx=0, fdx=0, next=1
[  306.117655] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=0701c000, max=1024, calc=0, drx=1
[  316.094980] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
[  316.101273] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:00000057
[  316.107393] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=0707c000, max=1024, ctx=1, dtx=0, fdx=0, next=1
[  316.117657] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=07070000, max=1024, calc=1023, drx=0
[  317.502718] rt3050-esw 10110000.esw: link changed 0x00
[  326.094981] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
[  326.101274] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:00000057
[  326.107394] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=0707c000, max=1024, ctx=2, dtx=0, fdx=0, next=2
[  326.117659] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=0701c000, max=1024, calc=1023, drx=0
[  336.094979] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
[  336.101271] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:00000057
[  336.107392] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=0707c000, max=1024, ctx=1, dtx=0, fdx=0, next=1
[  336.117656] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=07070000, max=1024, calc=1023, drx=0
[  346.094979] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
[  346.101272] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:00000057
[  346.107392] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=0707c000, max=1024, ctx=1, dtx=0, fdx=0, next=1
[  346.117654] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=0701c000, max=1024, calc=1023, drx=0
[  356.094981] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
[  356.101273] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:00000057
[  356.107393] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=0707c000, max=1024, ctx=1, dtx=0, fdx=0, next=1
[  356.117657] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=07070000, max=1024, calc=1023, drx=0
 


09.04.20202986Base systemBug ReportVery LowHighFunctionality broken by migration to DSA for Ubiquiti E...TrunkUnconfirmed Task Description

Supply the following if possible:
- Ubiquiti ER-X
- Trunk
- Build trunk of Openwrt and try to configure vlan enabled interfaces on an embedded switch.

Hi.

I have Ubiquiti ER-X which I have been using for quite a while and it was working just fine.
I was using it to route traffic from external internet connections to a ‘trunk’ port connected to a different OpenWrt device used as access point. So to clarify: I have one of the swich ports configured as ‘tagged’ (’tunk’) for multiple vlans.

Unfortunately commit 30644bc579e771e4b6dcc165ca966124e0259e1e that switched this device to use DSA for switch configuration have completely broken this setup.

And I’m not talking abut soft bricking - that was to be expected. Unfortunately DSA doesn’t provide functionality that was available in swconfig for years. Namely it seems to be impossible to configure switch ports to be ‘tagged’.

It looks like DSA is considered to be ‘the future’ but unfortunately it doesn’t see to be ready for prime time - it seems to be impossible to use DSA enabled devices in configurations that were perfectly possible before.

13.04.20203005Base systemBug ReportVery LowHighiptables ruleset order improvement optionTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
TP-Link Archer C7 v5
- Software versions of OpenWrt/LEDE release, packages, etc.
19.07.2, just default packages
- Steps to reproduce
Current iptable ordering is badly pessimal (this repeats 3x, so 3 states get set for each connection, but thats for other news)
```
-A FORWARD -m comment –comment “!fw3: Custom forwarding rule chain” -j forwarding_rule
-A FORWARD -m conntrack –ctstate RELATED,ESTABLISHED -m comment –comment “!fw3” -j ACCEPT
-A FORWARD -m conntrack –ctstate INVALID -m comment –comment “!fw3” -j DROP
```
following does same job but does significantly less processing for typical case of in-state packets
```
-A FORWARD -m conntrack –ctstate RELATED,ESTABLISHED -m comment –comment “!fw3” -j ACCEPT
-A FORWARD -m conntrack –ctstate INVALID -m comment –comment “!fw3” -j DROP
-A FORWARD -m comment –comment “!fw3: Custom forwarding rule chain” -j forwarding_rule
```
Not willing to generalize, but my wifi and wire behind could not reach subscription 100Mbps in any way before the change, after change it is steady 100Mbps both ways.

14.04.20203008KernelBug ReportVery LowHighGenesys Logic USB 3.0 hub not recognized by the systemAllUnconfirmed Task Description

Hi) I have a problem with Genesys Logic USB 3.0 hub (based on GL3523) on my Xiaomi MiR3G. The system don’t see this hub. Same on 4.14 & 4.19 kernel. Bought on AliExpress

Workaround: insert a half of the plug into router port → the system recognize USB 2.0 hub, then insert the plug to the end → the system recognize USB 2.0 & USB 3.0 hubs as it must be.
1. Normal connect hub → the log is empty.
2. Insert a half of the plug:

root@MI-R3G:~# lsusb -v

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            4.19
  iManufacturer           3 Linux 4.19.114 xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 1e1c0000.xhci
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           31
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
        bMaxBurst               0
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             1
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  bHubDecLat          0.0 micro seconds
  wHubDelay             0 nano seconds
  DeviceRemovable    0x00
 Hub Port Status:
   Port 1: 0000.02a0 5Gbps power Rx.Detect
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           15
  bNumDeviceCaps          1
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x0008
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   3
      Lowest fully-functional device speed is SuperSpeed (5Gbps)
    bU1DevExitLat           0 micro seconds
    bU2DevExitLat           0 micro seconds
Device Status:     0x0001
  Self Powered

Bus 001 Device 010: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0610 4-port hub
  bcdDevice            5.11
  iManufacturer           1 GenesysLogic
  iProduct                2 USB2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      1 Single TT
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2 TT per port
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x00e9
    Per-port power switching
    Per-port overcurrent protection
    TT think time 32 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.19
  iManufacturer           3 Linux 4.19.114 xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 1e1c0000.xhci
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0100 power
Device Status:     0x0001
  Self Powered

3. Insert the plug to the end:

root@MI-R3G:~# lsusb -v

Bus 001 Device 010: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0610 4-port hub
  bcdDevice            5.11
  iManufacturer           1 GenesysLogic
  iProduct                2 USB2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      1 Single TT
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2 TT per port
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x00e9
    Per-port power switching
    Per-port overcurrent protection
    TT think time 32 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.19
  iManufacturer           3 Linux 4.19.114 xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 1e1c0000.xhci
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 002 Device 006: ID 05e3:0620 Genesys Logic, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3
  bMaxPacketSize0         9
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0620
  bcdDevice            5.11
  iManufacturer           1 GenesysLogic
  iProduct                2 USB3.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           31
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              1 GenesysLogic
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes           19
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Feedback
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval               8
        bMaxBurst               0
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             4
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    576 milli Ampere
  bHubDecLat          0.4 micro seconds
  wHubDelay          1508 nano seconds
  DeviceRemovable    0x00
 Hub Port Status:
   Port 1: 0000.02a0 5Gbps power Rx.Detect
   Port 2: 0000.02a0 5Gbps power Rx.Detect
   Port 3: 0000.02a0 5Gbps power Rx.Detect
   Port 4: 0000.02a0 5Gbps power Rx.Detect
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           42
  bNumDeviceCaps          3
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000006
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat           8 micro seconds
    bU2DevExitLat         190 micro seconds
  Container ID Device Capability:
    bLength                20
    bDescriptorType        16
    bDevCapabilityType      4
    bReserved               0
    ContainerID             {f0564b9f-f61d-e011-ac64-0800200c9a66}
Device Status:     0x0001
  Self Powered

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            4.19
  iManufacturer           3 Linux 4.19.114 xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 1e1c0000.xhci
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           31
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
        bMaxBurst               0
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             1
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  bHubDecLat          0.0 micro seconds
  wHubDelay             0 nano seconds
  DeviceRemovable    0x00
 Hub Port Status:
   Port 1: 0000.0203 5Gbps power U0 enable connect
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           15
  bNumDeviceCaps          1
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x0008
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   3
      Lowest fully-functional device speed is SuperSpeed (5Gbps)
    bU1DevExitLat           0 micro seconds
    bU2DevExitLat           0 micro seconds
Device Status:     0x0001
  Self Powered

But after reboot the same: no hub at all.
Nope, the connector is normal, recognized correctly on PC & smartphone. So, this is kernel or driver bug.

21.04.20203031Base systemBug ReportVery LowHighBusybox force reinstalled when there are no opkg listsopenwrt-19.07Unconfirmed Task Description

Device problem occurs on: Turris Omnia, mvebu
Software version: OpenWrt 19.07.

Steps to reproduce:

I noticed this bug, when I forget to do before force-reinstalling busybox

opkg update

If there isn’t anything in folder /var/opkg-lists

root@turris:/# ls -la /var/opkg-lists
ls: /var/opkg-lists: No such file or directory

It is possible to remove busybox, which should not happen.

root@turris:/# opkg install busybox --force-reinstall
Removing package busybox from root...
Installing busybox (1.30.1-5.18) to root...
Collected errors:
 * opkg_download_pkg: Package busybox is not available from any configured src.
 * opkg_install_pkg: Failed to download busybox. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package busybox.

And then the device ends up being in a non-specific state when you can not do anything and you need to flash firmware it once again.

If you do

opkg update

before force-reinstalling busybox, it refuses to do it which is correct.

root@turris:~# opkg install busybox --force-reinstall
Refusing to remove essential package busybox.
        Removing an essential package may lead to an unusable system, but if
        you enjoy that kind of pain, you can force opkg to proceed against
        its will with the option: --force-removal-of-essential-packages
No packages removed.
Package busybox (1.30.1-5.18) installed in root is up to date.
22.04.20203038KernelBug ReportVery LowHighBuilding master for x86_64/generic fails with missing m...TrunkUnconfirmed Task Description

I’m building with the attached .config and kernel-config files on “master”, and getting the following failure:

make[3]: Entering directory ‘/home/philipp/lede2/package/kernel/linux’ mkdir -p /home/philipp/lede2/staging_dir/target-x86_64_musl/root-x86/stamp

SHELL= flock /home/philipp/lede2/tmp/.root-copy.flock -c ‘cp -fpR /home/philipp/lede2/build_dir/target-x86_64_musl/linux-x86_64/packages/.pkgdir/kernel/. /home/philipp/lede2/staging_dir/target-x86_64_musl/root-x86/’ touch /home/philipp/lede2/staging_dir/target-x86_64_musl/root-x86/stamp/.kernel_installed
ERROR: module ‘/home/philipp/lede2/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.34/net/ipv4/netfilter/nft_reject_ipv4.ko’ is missing.
modules/netfilter.mk:1068: recipe for target ‘/home/philipp/lede2/bin/targets/x86/64/packages/kmod-nft-core_5.4.34-1_x86_64.ipk’ failed
make[3]: * [/home/philipp/lede2/bin/targets/x86/64/packages/kmod-nft-core_5.4.34-1_x86_64.ipk] Error 1
make[3]: Leaving directory ‘/home/philipp/lede2/package/kernel/linux’ time: package/kernel/linux/compile#4.14#0.22#4.68
package/Makefile:111: recipe for target ‘package/kernel/linux/compile’ failed
make[2]:
* [package/kernel/linux/compile] Error 2
make[2]: Leaving directory ‘/home/philipp/lede2’ package/Makefile:107: recipe for target ‘/home/philipp/lede2/staging_dir/target-x86_64_musl/stamp/.package_compile’ failed
make[1]: * [/home/philipp/lede2/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory ‘/home/philipp/lede2’ /home/philipp/lede2/include/toplevel.mk:218: recipe for target ‘world’ failed
make:
* [world] Error 2

Looking through the sources, I see the module being copied, but I don’t see the requisite kernel configuration to force it to be built:

philipp@ubuntu16:~/lede2$ fgrep -i -r nft_reject_ipv4 Makefile rules.mk Config.in config include package target
include/netfilter.mk:$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_REJECT, $(P_XT)nft_reject $(P_V4)nft_reject_ipv4 $(P_V6)nft_reject_ipv6),))
philipp@ubuntu16:~/lede2$

I do see config state for nft_reject.ko however:

philipp@ubuntu16:~/lede2$ grep -i -r ‘nft_reject’ Makefile rules.mk Config.in config include package target
include/netfilter.mk:$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_REJECT, $(P_XT)nft_reject $(P_V4)nft_reject_ipv4 $(P_V6)nft_reject_ipv6),))
include/netfilter.mk:$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_REJECT_INET, $(P_XT)nft_reject_inet),))
include/netfilter.mk:$(eval $(if $(NF_KMOD),$(call nf_add,NFT_BRIDGE,CONFIG_NFT_BRIDGE_REJECT, $(P_EBT)nft_reject_bridge),))
philipp@ubuntu16:~/lede2$

and the synthesized .config in the kernel directory and the built modules are:

philipp@ubuntu16:~/lede2$ pushd build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.34/
~/lede2/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.34 ~/lede2
philipp@ubuntu16:~/lede2/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.34$ grep NFT_REJECT .config*
.config:CONFIG_NFT_REJECT=m
.config.old:CONFIG_NFT_REJECT=m
.config.old:CONFIG_NFT_REJECT_INET=m
.config.override:CONFIG_NFT_REJECT=m
.config.override:CONFIG_NFT_REJECT_INET=m
.config.prev:CONFIG_NFT_REJECT=m
.config.prev:CONFIG_NFT_REJECT_INET=m
.config.set:CONFIG_NFT_REJECT=m
.config.set:CONFIG_NFT_REJECT_INET=m
philipp@ubuntu16:~/lede2/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.34$ find net/netfilter net/ipv[46]/netfilter -name “nft_reject*.ko” -ls

4498742    120 -rw-r--r--   1 philipp  philipp    120808 Apr 22 12:21 net/netfilter/nft_reject.ko

philipp@ubuntu16:~/lede2/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.34$

When I build, I get prompted for the following kernel symbols:

Verify kernel signature during kexec_file_load() syscall (KEXEC_SIG) [N/y/?] (NEW)

Netfilter nf_tables support (NF_TABLES) [M/n/y/?] m
Netfilter nf_tables set infrastructure (NF_TABLES_SET) [M/n/?] m
Netfilter nf_tables mixed IPv4/IPv6 tables support (NF_TABLES_INET) [N/y/?] (NEW)

IPv4 nf_tables support (NF_TABLES_IPV4) [N/y/?] (NEW)

IPv6 nf_tables support (NF_TABLES_IPV6) [N/y/?] (NEW)

Detect Hung Tasks (DETECT_HUNG_TASK) [Y/n/?] y
Default timeout for hung task detection (in seconds) (DEFAULT_HUNG_TASK_TIMEOUT) [120] (NEW)
Panic (Reboot) On Hung Tasks (BOOTPARAM_HUNG_TASK_PANIC) [N/y/?] (NEW)

which makes me wonder if part of the default kernel config is incorrect... including symbols like CONFIG_NFT_REJECT_IPV4, etc.

26.04.20203049KernelBug ReportVery LowHighsunxi / lamobo-r1: switch not working with kernel 5.4TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Lamobo-R1 BananaPI Router

- Software versions of OpenWrt/LEDE release, packages, etc.

OpenWRT Snapshots (Imagebuilder) sometime after r12688-46d0ce19f1

- Steps to reproduce

Write any recent image to SD card, it boots but networking does not work.


Hello,

I’m doing regular updates with imagebuilder (about once per week) for Lamobo-R1. Some time after r12688-46d0ce19f1 the networking configuration broke.
I’m assuming the cause is kernel 5.4, because my last working image is from 2020-03-22 and it stopped working the week after, around 2020-03-29.

As far as I can tell the problem lies in the switch configuration: The switch is not found, the bootlog of kernel 5.4 contains no reference to “b53”.

  [    3.050660] init: - preinit -
  [    3.200152] sun7i-dwmac 1c50000.ethernet eth0: no phy at addr -1
  [    3.206288] sun7i-dwmac 1c50000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
  ifconfig: SIOCSIFFLAGS: No such device
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  [    4.358791] random: jshn: uninitialized urandom read (4 bytes read)
  [    4.388472] random: jshn: uninitialized urandom read (4 bytes read)
  [    4.431303] random: jshn: uninitialized urandom read (4 bytes read)
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  [    4.505287] sun7i-dwmac 1c50000.ethernet eth0: no phy at addr -1
  [    4.511309] sun7i-dwmac 1c50000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
  ip: SIOCSIFFLAGS: No such device
  Press the [f] key and hit [enter] to enter failsafe mode
  Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
  sendto(): Network unreachable
  sendto(): Network unreachable
  [    8.622199] mount_root: mounting /dev/root

I’m attaching screenlogs of both old and new kernel boot and the corresponding device tree files (taken from the sdcard).

Please advise, thank you.

26.04.20203051PackagesBug ReportVery LowHighUPnP not workingAllUnconfirmed Task Description

Device: Linksys WRT1900ACSv2
Software versions: v19.07.9 and v19.07.2
Current Openwrt firmware: OpenWrt SNAPSHOT r13046-df27e949fb / LuCI Master git-20.113.57176-dc1d2ce
Affected Packages: miniupnpd, luci-app-upnp

I have flashed two versions of OpenWrt v19.07.2, one compiled by myself and the other using the official stable release from the website. On both versions I have then installed the latest version of the LuCI-app-UPnP which includes the miniupnpd daemon.

The problem is UPnP seems to very intermittent of how it picks up the ports from the devices. Some devices and applications show up under the `Active UPnP Redirects` and some don’t at all. My primary testing device is my Sony PS3 and PS4 which requires UPnP to open up ports for an optimal online gaming experience. A common port that I reply on is UDP 3074 that is used by Call of Duty games to achieve open NAT type.

When I was running OpenWrt v18.06.5 at the time in 2019 everything worked perfectly including UPnP. When v19.07.0 was officially released for stable use, I noticed I was getting moderate NAT type within my games. With this in mind I checked the luci-upnp app and noticed that my PS4’s IP address/hostname and the corresponding UDP 3074 was not listed. Sometimes I could get the PS4 to be picked up via the Sony PlayStation network test which would open up UDP port 9308 on LuCI-app-UPnP.

I have opened a couple of OpenWrt forum threads discussing UPnP not working:

The only working version of miniupnpd/luci-app-upnp seems to be miniupnpd 2.1-1 which I have had working on all the v19.07.* firmwares. OpenWrt v19.07.0 shipped with miniupnpd 2.1.20190408-2 and this was the point where it broke. Recently testing with the newer v19.07.2 firmware the miniupnpd has been updated to version 2.1.20191006 and this is the same story whereby the PS3/PS4 can’t be picked up.

Interestingly I did some experimenting and took the files, patches and makefile from the master trunk, replaced `PKG_VERSION:-2.1.20191006` with `PKG_VERSION:-2.1.20200329` in the `makefile` (which is the very latest version of the MiniUPnP daemon source code found at https://miniupnp.tuxfamily.org/files), compiled v19.07.2 and flashed it to my router. I then did a Sony PlayStation network test on my PS4 and UDP port 9308 was listed under `Active UPnP Redirects`. I then proceeded onto Call of Duty Modern Warfare (2019) and UDP port 3074 also appeared! However, I still had moderate NAT type which meant the firewall wasn’t opening up somewhere. After clicking the `Delete` button on the LuCI UPnP page and opening the port manually on the firewall the game did give me open NAT type as expected. Weirdly though, the UPnP listing came back which has never happened any time I’ve used OpenWrt with manual port forwards. In other words if I open a port manually in the firewall UPnP will never list same port and destination device in the `Active UPnP Redirects` list.

Showing tasks 151 - 200 of 1125 Page 4 of 23<<First - 2 - 3 - 4 - 5 - 6 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing