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 TypePrioritySeveritySummaryReported In  descStatus
12.10.20192546Base systemBug ReportVery LowMediumXiaomi Router Pro (R3P) WiFi Issuesopenwrt-19.07Unconfirmed Task Description

Supply the following if possible:

- Device problem occurs on
Xiaomi Router Pro (R3P)

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt SNAPSHOT r11131-e78c1baa9f / LuCI Master (git-19.271.67895-cf887ba)

- Steps to reproduce
Using connection by WiFi 2.4G and 5G

The most important functionality of wifi router still does not work properly.

Unfortunately, the wifi of this great wifi router does not work properly with OpenWRT. Unfortunately, the original ROM for this wifi connectivity is far better than when using OpenWRT.

The main problem is with the instability of the connection, constantly every 40 or 60 seconds, is totally lost and unfortunately do not log any files so we can analyze.

The connection simply drops, becomes a few seconds dead, and then comes back.

This problem is greatest with 2.4G connections that is no more than one or two minutes long.

There are several user comments on the forum: https://forum.openwrt.org/t/support-for-xiaomi-wifi-r3p-pro/20290

Are you working to solve this problem? Can I contribute something?

09.10.20192541KernelBug ReportMediumLowHardware offloading causes some flows to fail to be NAT...openwrt-19.07New Task Description

Just after a reboot, some flows are not NATed: packets from a machine in the LAN are sent to the WAN port with a private source IP address.

This is on a Linksys RE6500 (ramips mt7621) running openwrt 19.07-SNAPSHOT r10578-b3d70f628.
It is configured with flow_offloading and flow_offloading_hw.

Here is a tcpdump capture showing the problem on the WAN port (172.23.184.0/24 is my LAN address space):

root@openwrt:~# tcpdump -n -i eth0.20 net 172.23.184.0/24
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0.20, link-type EN10MB (Ethernet), capture size 262144 bytes
18:51:21.756552 IP 172.23.184.119.51001 > 91.224.XX.YY.52001: UDP, length 112
18:51:22.651556 IP 172.23.184.119.51001 > 91.224.XX.YY.52001: UDP, length 148
18:51:26.681032 IP 172.23.184.119.51001 > 91.224.XX.YY.52001: UDP, length 768
18:51:27.771654 IP 172.23.184.119.51001 > 91.224.XX.YY.52001: UDP, length 148

Here is what conntrack -L says:

udp      17 55 src=172.23.184.119 dst=91.224.XX.YY sport=51001 dport=52001 packets=93 bytes=20412 [UNREPLIED] src=91.224.XX.YY dst=172.23.184.119 sport=52001 dport=51001 packets=0 bytes=0 mark=0 use=1

Notice the second dst= that shows the private IP address of the LAN machine.

After restarting the firewall, the flow is correctly NAT-ed and conntrack -L shows the correct entry (193.33.ZZ.WW is my public IP address):

udp      17 175 src=172.23.184.119 dst=91.224.XX.YY sport=51001 dport=52001 packets=4 bytes=704 [UNREPLIED] src=91.224.XX.YY dst=193.33.ZZ.WW sport=52001 dport=51001 packets=0 bytes=0 mark=0 use=1

Note: when I only enable flow_offloading, the issue does not appear anymore, so this really seems to be an issue with the hw offloading integration in the firewall.

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 ]---
21.10.20192559Base systemBug ReportVery LowMediumFirewall rule Allow-ICMPv6-Input allows pinging LAN cli...openwrt-18.06Unconfirmed Task Description

I’m a noob, but my understanding of the firewall rule Allow-ICMPv6-Input is that it should only allow ICMPv6 traffic to the router itself (”To any router IP on this device”), not to its clients. The latter is what Allow-ICMPv6-Forward is for (”To any host in any zone”). But when I enable only Allow-ICMPv6-Input, with Allow-ICMPv6-Forward disabled, I can still ping LAN clients from the outside. This seems wrong to me.

I used LuCI for configuration. The config is more or less stock as I did a factory reset earlier today. The version is OpenWrt 18.06.4.

14.10.20192553Base systemBug ReportVery LowMediumdns name resolution with dnsmasq does not work after re...openwrt-18.06Unconfirmed Task Description

I’ve got a bunch of GL-MT300A devices suffering from this issue. They are configured as simple openvpn gateway behind a DSL router. There is no WIFI active, no WAN port, just a LAN interface and openvpn. Dnsmasq is used only for name resolution, and not for DHCP.

After upgrading the device from LEDE 17.01 to OpenWrt 18.06.4 r7808-ef686b7292 (latest stable version according to the website) DNS resolution failes after a reboot of the system.

Even though dnsmasq is up and running (ps shows the deamon, and netstat -tulpen shows the deamon listing to port 53 as it should be) name resolution is not working, preventing openvpn to find its servers.

After restarting dnsmasq (/etc/init.d/dnsmasq restart) name resolution starts to work as expected.

I noticed that /tmp/etc/dnsmasq.conf differes between the reboot of the router and the restart of dnsmasq.
The following line appears in the config file after restarting dnsmasq manually:

no-dhcp-interface=br-lan

Adding /etc/init.d/dnsmasq restart to /etc/rc.local seems to be a workaround for the moment.


11.10.20192545Base systemBuild FailureVery LowLowOpenWrt and TP-Link Archer C1200openwrt-18.06Unconfirmed Task Description

Hello,

i take the GitHub-Branch von openwrt-archer-c1200-v1 but i don’t find the devices target
in the make menuconfig to selection this.

What is my mistake?

Thx for help.

10.10.20192544Base systemBug ReportVery LowLowMissing Led Configuration for Pogoplugv4 openwrt-18.06Unconfirmed Task Description

File target\linux\kirkwood\base-files\etc\board.d\01_leds has missing the below lines led configurations for Pogoplugv4

“cloudengines,pogoplugv4”)

ucidef_set_led_default "health" "health" "pogoplugv4:green:health" "1"
ucidef_set_led_default "fault" "fault" "pogoplugv4:red:fault" "1"
;;
10.10.20192543Base systemBug ReportVery LowHighCloud Engines Pogoplug V4 USB3 Does Not Workopenwrt-18.06Unconfirmed Task Description

In the configuration added

define Device/cloudengines_pogoplugv4

DEVICE_TITLE := Cloud Engines Pogoplug V4
DEVICE_DTS := kirkwood-pogoplug-series-4
DEVICE_PACKAGES := kmod-usb3

endef
TARGET_DEVICES += cloudengines_pogoplugv4

But kmod-usb3 has built and included. I need to enabled CONFIG_PACKAGE_kmod-usb3=y which also enables CONFIG_PACKAGE_kmod-usb-core=y as dependency the USB3 is working. This is build issue.

08.10.20192539Base systemBug ReportVery LowLowlibgpg-error compile error -> 'errnos_msgstr' undeclare...openwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
[karloff@Galilei ~]$ gcc -v
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper
Ziel: x86_64-pc-linux-gnu
Konfiguriert mit: /build/gcc/src/gcc/configure –prefix=/usr –libdir=/usr/lib –libexecdir=/usr/lib –mandir=/usr/share/man –infodir=/usr/share/info –with-bugurl=https://bugs.archlinux.org/ –enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ –enable-shared –enable-threads=posix –with-system-zlib –with-isl –enable-__cxa_atexit –disable-libunwind-exceptions –enable-clocale=gnu –disable-libstdcxx-pch –disable-libssp –enable-gnu-unique-object –enable-linker-build-id –enable-lto –enable-plugin –enable-install-libiberty –with-linker-hash-style=gnu –enable-gnu-indirect-function –enable-multilib –disable-werror –enable-checking=release –enable-default-pie –enable-default-ssp –enable-cet=auto
Thread-Modell: posix
gcc-Version 9.2.0 (GCC)

- Software versions of OpenWrt/LEDE release, packages, etc.
Openwrt 18.06 git branch

- Steps to reproduce
Checkout 18.06 branch and select libgpg-error in menuconfig then try to compile firmware

error with: strerror-sym.c:47:9: error: ‘errnos_msgstr’ undeclared (first use in this function)

looks like a problem with the package, not the env.

You can find more information in forum thread: https://forum.openwrt.org/t/build-problem-18-06-4-libgpg-error/45910

 


07.10.20192537Base systemBug ReportVery LowMediumAth9k on Archer C7 v2: disassociated due to inactivityopenwrt-18.06Unconfirmed Task Description

Hello

Every few weeks I have to restart the 2.4 GHz radio or reboot my Archer C7 v2 router otherwise no client can connect to it.
All stations end up being “deauthenticated due to inactivity” and can’t reconnect.

Tested on OpenWRT 18.06.4. It is quite hard to reproduce for me as it doesn’t happen frequently.

Forum post: https://forum.openwrt.org/t/ath9k-on-archer-c7-v2-disassociated-due-to-inactivity/13328

06.10.20192535Base systemBug ReportVery LowVery LowAerohive HiveAP-121: Kernel panic - not syncing: VFS: ...openwrt-18.06Unconfirmed Task Description

I am having an issue getting two Aerohive AP121 devices to boot properly. I have followed the instructions in the git commit, as shown below.

This was reported in early 2018, but was closed as it was deemed to not be a bug because that report was having the image boot from memory, rather than flash: https://bugs.openwrt.org/index.php?do=details&task_id=1264

Is this an issue of the Aerohive OS boot variables not being compatible with OpenWRT? Or is it something else within the image? Any guidance would be happily accepted to help debug this issue. Remote serial access can be arranged with some lead time.

The same issue occurs with the trunk snapshot as well and is consistently repeatable when following the installation instructions.

U-boot DB120
DRAM:
sri
Wasp 1.2
wasp_ddr_initial_config(259): (32bit) ddr2 init
128 MB Top of RAM usable for U-Boot at: 88000000
Reserving 324k for U-Boot at: 87fac000
Reserving 136k for malloc() at: 87f8a000
Reserving 44 Bytes for Board Info at: 87f89fd4
Reserving 36 Bytes for Global Data at: 87f89fb0
Reserving 128k for boot params() at: 87f69fb0
Stack Pointer at: 87f69f98
relocating and jumping to code in DRAM
Now running in RAM - U-Boot at: 0x87fac000
Flash: 1 MB * Warning - bad CRC, using default environment pci_init_board: PCIe PLL not set for 40MHz refclk
BOARD IS NOT CALIBRATED!!!
ag934x_enet_initialize...
wasp reset mask:c03300
WASP —→ F1 PHY *
: cfg1 0xf cfg2 0×7114 eth0: 00:19:77:ff:00:00
F1Phy reg init
ATHR_AUTONEG_ADVERT:1DE1
ATHR_1000BASET_CONTROL:200
ATHR_PHY_CONTROL:3100
ATHRSF1_PHY: Port 0, Neg Success
ATHRSF1_PHY: unit 0 phy addr 0 eth0 up Atheros on-chip NAND FLash Controller Driver, Version 0.1 © 2010 Atheros Communications, Ltd.
Ath Nand ID[87ff4178]: 1d:00:f1:ad:1d
Hynix NAND 128MiB 3,3V 8-bit [128MB] chip #0: First 0xa last 0xa sector size 0×10000 10
Hit the space bar to stop the autoboot process: 0
Password:
ar7240> setenv ipaddr 192.168.4.208;
ar7240> setenv serverip 192.168.4.3;
ar7240> ping 192.168.4.3
Trying eth0
dup 1 speed 1000
WASP —→ F1 PHY *
: cfg1 0xf cfg2 0×7315 dup 1 speed 1000
Using eth0 device
ping failed; host 192.168.4.3 is not alive
ar7240> ping 192.168.4.3
Trying eth0
dup 1 speed 1000
WASP —→ F1 PHY *
: cfg1 0xf cfg2 0×7315 dup 1 speed 1000
Using eth0 device
ping failed; host 192.168.4.3 is not alive
ar7240> setenv ipaddr 192.168.4.208;
ar7240> ping 192.168.4.3
Trying eth0
dup 1 speed 1000
WASP —→ F1 PHY *
: cfg1 0xf cfg2 0×7315 dup 1 speed 1000
Using eth0 device
host 192.168.4.3 is alive
ar7240> tftpboot 0×81000000 openwrt-18.06.4-ar71xx-nand-hiveap-121-squashfs-factory.bin;
Trying eth0
dup 1 speed 1000
WASP —→ F1 PHY *
: cfg1 0xf cfg2 0×7315 dup 1 speed 1000
Using eth0 device
TFTP from server 192.168.4.3; our IP address is 192.168.4.208
Filename ‘openwrt-18.06.4-ar71xx-nand-hiveap-121-squashfs-factory.bin’.
Load address: 0×81000000 Loading: #T T T ################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##########################
done
Bytes transferred = 8781824 (860000 hex)
ar7240> nand erase 0×800000 0×800000; NAND erase: device 0 offset 0×800000, size 0×800 63, skipped 0 bad blocks OK
ar7240> nand write 0×81000000 0×800000 0×800000; NAND write: device 0 offset 0×800000, size 8388608 ... 8388608 bytes written: OK
ar7240> reset; Resetting...U-boot DB120
DRAM:
sri
Wasp 1.2
wasp_ddr_initial_config(259): (32bit) ddr2 init
128 MB Top of RAM usable for U-Boot at: 88000000
Reserving 324k for U-Boot at: 87fac000
Reserving 136k for malloc() at: 87f8a000
Reserving 44 Bytes for Board Info at: 87f89fd4
Reserving 36 Bytes for Global Data at: 87f89fb0
Reserving 128k for boot params() at: 87f69fb0
Stack Pointer at: 87f69f98
relocating and jumping to code in DRAM
Now running in RAM - U-Boot at: 0x87fac000
Flash: 1 MB
* Warning - bad CRC, using default environment

pci_init_board: PCIe PLL not set for 40MHz refclk
BOARD IS NOT CALIBRATED!!!
ag934x_enet_initialize...
wasp reset mask:c03300
WASP —→ F1 PHY *
: cfg1 0xf cfg2 0×7114 eth0: 00:19:77:ff:00:00
F1Phy reg init
ATHR_AUTONEG_ADVERT:1DE1
ATHR_1000BASET_CONTROL:200
ATHR_PHY_CONTROL:3100
ATHRSF1_PHY: Port 0, Neg Success
ATHRSF1_PHY: unit 0 phy addr 0 eth0 up

Atheros on-chip NAND FLash Controller Driver, Version 0.1 © 2010 Atheros Communications, Ltd.
Ath Nand ID[87ff4178]: 1d:00:f1:ad:1d
Hynix NAND 128MiB 3,3V 8-bit [128MB]

chip #0: First 0xa last 0xa sector size 0×10000 10
Hit the space bar to stop the autoboot process: 0
Hit any key to interrupt boot from flash: 0

Loading kernel from device 0: ath-nand (offset 0×800000) ... done
Loading rootfs from device 0: ath-nand (offset 0×1200000) ... done

 Uncompressing Kernel Image ... No initrd

## Transferring control to Linux (at address 80060000) ...
commandline console=ttyS0,9600 root=01:00 init=/sbin/init console=ttyS0,9600 rd_start=0×80500000 rd_size=0×01900000 ## Giving linux memsize in bytes, 134217728
[ 0.000000] Linux version 4.9.184 (buildbot@188e96c27177) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7808-ef686b7292) ) #0 Thu Jun 27 12:18:52 2019
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9344 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 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-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: board=HiveAP-121 mtdparts=spi0.0:512k(u-boot)ro,64k(u-boot-env),64k(hw-info)ro,64k(boot-info)ro,64k(boot-sinfo)ro;ar934x-nfc:4096k(u-boot-1),4096k(u-boot-env-1),5m(kernel),111m(ubi),4096k(wifi-info)ro console=ttyS0,9600 rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 124812K/131072K available (3665K kernel code, 162K rwdata, 460K rodata, 184K init, 209K bss, 6260K 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] Clocks: CPU:560.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns
[ 0.000010] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns
[ 0.092726] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[ 0.237730] pid_max: default: 32768 minimum: 301
[ 0.293077] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.372212] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.459422] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.577027] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.651193] NET: Registered protocol family 16
[ 0.705839] MIPS: machine is Aerohive HiveAP-121
[ 1.005992] registering PCI controller with io_map_base unset
[ 1.086811] i2c-gpio i2c-gpio.0: using pins 13 (SDA) and 12 (SCL)
[ 1.160022] PCI host bridge to bus 0000:00
[ 1.209021] pci_bus 0000:00: root bus resource [mem 0×10000000-0x13ffffff]
[ 1.291258] pci_bus 0000:00: root bus resource [io 0×0000]
[ 1.357922] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 1.439147] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.533940] pci 0000:00:00.0: invalid calibration data
[ 1.595788] pci 0000:00:00.0: BAR 0: assigned [mem 0×10000000-0x1001ffff 64bit]
[ 1.683275] pci 0000:00:00.0: BAR 6: assigned [mem 0×10020000-0x1002ffff pref]
[ 1.769671] pci 0000:00:00.0: using irq 40 for pin 1
[ 1.832538] clocksource: Switched to clocksource MIPS
[ 1.894079] NET: Registered protocol family 2
[ 1.947164] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.030545] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.106532] TCP: Hash tables configured (established 1024 bind 1024)
[ 2.182628] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 2.252475] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 2.327682] NET: Registered protocol family 1
[ 2.382830] Crashlog allocated RAM at address 0x3f00000
[ 2.446670] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 2.531122] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.600963] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 2.727833] io scheduler noop registered
[ 2.774746] io scheduler deadline registered (default)
[ 2.836630] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 2.915485] console [ttyS0] disabled
[ 2.978252] serial8250.0: ttyS0 at MMIO 0×18020000 (irq = 11, base_baud = 2500000) is a 16550A
[ 3.081288] console [ttyS0] enabled
[ 3.081288] console [ttyS0] enabled
[ 3.164574] bootconsole [early0] disabled
[ 3.164574] bootconsole [early0] disabled
[ 3.266369] m25p80 spi0.0: found mx25l8005, expected m25p80
[ 3.333640] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[ 3.390954] 5 cmdlinepart partitions found on MTD device spi0.0
[ 3.461705] Creating 5 MTD partitions on “spi0.0”:
[ 3.519014] 0×000000000000-0×000000080000 : “u-boot” [ 3.580424] 0×000000080000-0×000000090000 : “u-boot-env” [ 3.646062] 0×000000090000-0x0000000a0000 : “hw-info” [ 3.708594] 0x0000000a0000-0x0000000b0000 : “boot-info” [ 3.773323] 0x0000000b0000-0x0000000c0000 : “boot-sinfo” [ 3.840361] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[ 3.916422] nand: Hynix NAND 128MiB 3,3V 8-bit
[ 3.969540] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 4.060169] Scanning device for bad blocks
[ 4.112397] random: fast init done
[ 4.210583] Bad eraseblock 751 at 0x000005de0000
[ 4.287854] 5 cmdlinepart partitions found on MTD device ar934x-nfc
[ 4.362868] Creating 5 MTD partitions on “ar934x-nfc”:
[ 4.424345] 0×000000000000-0×000000400000 : “u-boot-1” [ 4.487793] 0×000000400000-0×000000800000 : “u-boot-env-1” [ 4.555574] 0×000000800000-0x000000d00000 : “kernel” [ 4.617168] 0x000000d00000-0x000007c00000 : “ubi” [ 4.676124] 0x000007c00000-0×000008000000 : “wifi-info” [ 4.741538] libphy: Fixed MDIO Bus: probed
[ 4.796849] libphy: ag71xx_mdio: probed
[ 5.572762] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd072, driver=Atheros 8035 ethernet]
[ 5.693197] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 5.767968] NET: Registered protocol family 10
[ 5.825038] NET: Registered protocol family 17
[ 5.878244] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 6.033428] 8021q: 802.1Q VLAN Support v1.8
[ 6.087770] UBI error: unable to read from mtd8
[ 6.141938] hctosys: unable to open rtc device (rtc0)
[ 6.202780] VFS: Cannot open root device “(null)” or unknown-block(0,0): error -6
[ 6.292297] Please append a correct “root=” boot option; here are the available partitions:
[ 6.392227] 1f00 512 mtdblock0 [ 6.440157] (driver?)
[ 6.468347] 1f01 64 mtdblock1 [ 6.516284] (driver?)
[ 6.544474] 1f02 64 mtdblock2 [ 6.592411] (driver?)
[ 6.620615] 1f03 64 mtdblock3 [ 6.668544] (driver?)
[ 6.696731] 1f04 64 mtdblock4 [ 6.744668] (driver?)
[ 6.772858] 1f05 4096 mtdblock5 [ 6.820795] (driver?)
[ 6.848993] 1f06 4096 mtdblock6 [ 6.896925] (driver?)
[ 6.925115] 1f07 5120 mtdblock7 [ 6.973051] (driver?)
[ 7.001242] 1f08 113664 mtdblock8 [ 7.049181] (driver?)
[ 7.077371] 1f09 4096 mtdblock9 [ 7.125309] (driver?)
[ 7.153497] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 7.253618] Rebooting in 1 seconds..

Boot Environment for AP121

ar7240> printenv
bootargs=console=ttyS0,9600 root=01:00 init=/sbin/init
bootcmd=nboot 0×81000000 0 0×00800000 bootdelay=4
baudrate=9600
ethaddr=0×00:0xaa:0xbb:0xcc:0xdd:0xee
ipaddr=192.168.1.1
serverip=192.168.1.10
mtdids=nor0=ath-nor0,nand0=ath-nand0
mtdparts=mtdparts=ath-nor0:512k(u-boot),64k(u-boot-env),64k(hw-info),64k(boot-info),64k(boot-sinfo);ath-nand0:4096k(u-boot-1),4096k(u-boot-env-1),5m(kernel),5m(kernel-1),25m(rootfs),25m(rootfs-1),56m(jffs2),4096k(wifi-info)
netretry=once
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
bootfile=


02.10.20192531PackagesBug ReportVery LowMediumiptables-mod-tproxy: Missing libxt_socket.soopenwrt-18.06Unconfirmed Task Description

Device: x86_64 virtual machine (QEMU KVM and Hyper-V)
Software versions: OpenWrt 18.06.4, iptables-mod-tproxy - 1.6.2-1

According to package description, iptables-mod-tproxy should provide `socket` match. However the package does not contain libxt_socket.so

Reproduce steps:

opkg install iptables-mod-tproxy
iptables -t mangle -N DIVERT
iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT

It prints the following error:

iptables v1.6.2: Couldn’t load match `socket’:No such file or directory

Try `iptables -h’ or ‘iptables –help’ for more information.

30.09.20192525Base systemBug ReportVery LowMediumLogging of iptables is not workingopenwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce

 

zbt-we826-e
MediaTek MT7620A ver:2 eco:6
18.06.4

logs nowhere to be seen!

16.09.20192507Base systemBug ReportVery LowLowmdadm segfault due to ASLR on kirkwood/generic/zyxel_ns...openwrt-18.06Unconfirmed Task Description

In OpenWrt 18.06.4, r7808-ef686b7292 on Zyxel NSA325v2 (kirkwood/generic/zyxel_nsa325) mdadm segafults due to ASLR (Address Space Layout Randomization).

Workaround that works for me is adding kernel.randomize_va_space=0 to /etc/sysctl.conf.

I posted some more details to forum in https://forum.openwrt.org/t/raid-not-working-on-18-06-0/18498

I will be happy to provide more information.

Thanks,

Tomas

 


16.09.20192501Base systemBug ReportVery LowMediumOpenWRT Bug with WPA2-EAP on Linksys WRT3200ACMopenwrt-18.06Unconfirmed Task Description

There is a bug, when you are using a Linksys WRT3200ACM and there is a network with wpa2-eap encryption. You are getting diconnected after one or two hours. It reconnects after a few minutes. This issue only appears with the wpa2-eap encryption method. The wpa2-psk encryption works fine. I am using "OpenWrt 18.06.4 r7808-ef686b7292" and "wpad 2018-05-21-62566bc2-6". The RADIUS-Server is a Windows-Server and the Linksys AP is only a pass-through.

My wireless config:

config wifi-iface
	option device 'radio1'
	option mode 'ap'
	option ssid 'RADIUS-NETWORK'
	option network '115_RADIUS'
	option disassoc_low_ack '0'
	option encryption 'wpa2+ccmp'
	option auth_server 'XXX'
	option auth_secret 'XXX'
	option ieee80211r '1'
	option ft_over_ds '0'
	option ft_psk_generate_local '1'
	option nasid 'AccessPoint5'

System Log:

Mon Sep  2 09:10:48 2019 daemon.info hostapd: wlan1: STA 18:3d:a2:66:3a:80 IEEE 802.11: associated (aid 1)
Mon Sep  2 09:10:48 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-STARTED 18:3d:a2:66:3a:80
Mon Sep  2 09:10:48 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
Mon Sep  2 09:10:51 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-RETRANSMIT 18:3d:a2:66:3a:80
Mon Sep  2 09:10:51 2019 daemon.info hostapd: wlan1: STA 18:3d:a2:66:3a:80 IEEE 802.11: authenticated
Mon Sep  2 09:10:57 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-RETRANSMIT 18:3d:a2:66:3a:80
Mon Sep  2 09:11:09 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-RETRANSMIT 18:3d:a2:66:3a:80
Mon Sep  2 09:11:29 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-RETRANSMIT 18:3d:a2:66:3a:80
Mon Sep  2 09:11:49 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-RETRANSMIT 18:3d:a2:66:3a:80
Mon Sep  2 09:12:09 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-RETRANSMIT 18:3d:a2:66:3a:80
Mon Sep  2 09:12:09 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-TIMEOUT-FAILURE 18:3d:a2:66:3a:80
Mon Sep  2 09:12:11 2019 kern.debug kernel: [3338862.064627] ieee80211 phy1: staid 3 deleted
Mon Sep  2 09:12:14 2019 daemon.info hostapd: wlan1: STA 18:3d:a2:66:3a:80 IEEE 802.11: deauthenticated due to local deauth request
Mon Sep  2 13:37:57 2019 daemon.info hostapd: wlan1: STA 18:3d:a2:66:3a:80 IEEE 802.11: disassociated due to inactivity
Mon Sep  2 13:37:58 2019 daemon.info hostapd: wlan1: STA 18:3d:a2:66:3a:80 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
14.09.20192493Base systemBug ReportVery LowLow5g wifi fails on Linksys WRT1900AC hostpadopenwrt-18.06Unconfirmed Task Description

- Device problem occurs on

 Linksys WRT1900AC

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

 OpenWrt 18.06.4 r7808-ef686b7292 with ipv6 disabled

- Steps to reproduce

  • via LuCI with 2g radios enabled on radio0 (2g works as expected)
  • Turn radio1 on with ac mode, Transmit Power auto, Hide ESSID ticked, channel 36, wmm off, Encryption WPA2, Cipher CCMP, Krack countermeasures ticked, Short preamble ticked, Disassociate on low acknowledgement ticked
  • On initial save, a laptop will connect successfully and be able to browse the web – once a change is made, like changing the channel, access to LuCI is temporarily lost and the 5g light on the unit goes off.
  • Once this occurs, no device can see the 5g SSID anymore.. once access to LuCI comes back, the 5g radio still shows as enabled

From Syslog:

Sep 13 23:33:56 2019 user.notice mac80211: Failed command: iw phy phy1 set antenna all all
Fri Sep 13 23:33:56 2019 daemon.notice netifd: radio1 (16823): command failed: Not supported (-95)
Fri Sep 13 23:33:56 2019 user.notice mac80211: Failed command: iw phy phy1 set distance 0
Fri Sep 13 23:34:22 2019 user.notice mac80211: Failed command: iw phy phy1 set antenna all all
Fri Sep 13 23:34:22 2019 daemon.notice netifd: radio1 (19940): command failed: Not supported (-95)
Fri Sep 13 23:34:22 2019 user.notice mac80211: Failed command: iw phy phy1 set distance 0
Fri Sep 13 23:34:22 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Fri Sep 13 23:34:23 2019 kern.debug kernel: [13773.974005] ieee80211 phy1: change: 0xffffffff
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.104582] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.107676] br-lan: port 3(wlan1) entered blocking state
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.107695] br-lan: port 3(wlan1) entered disabled state
Fri Sep 13 23:34:23 2019 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Fri Sep 13 23:34:23 2019 daemon.err hostapd: Using interface wlan1 with hwaddr 94:10:3e:xx and ssid "5gssid"
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.107990] device wlan1 entered promiscuous mode
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.108094] br-lan: port 3(wlan1) entered blocking state
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.108106] br-lan: port 3(wlan1) entered forwarding state
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.111029] br-lan: port 3(wlan1) entered disabled state
Fri Sep 13 23:34:23 2019 kern.debug kernel: [13774.211021] ieee80211 phy1: change: 0x100
Fri Sep 13 23:34:23 2019 kern.debug kernel: [13774.219866] ieee80211 phy1: change: 0x42
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.390870] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.390981] br-lan: port 3(wlan1) entered blocking state
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.390988] br-lan: port 3(wlan1) entered forwarding state
Fri Sep 13 23:34:23 2019 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->ENABLED
Fri Sep 13 23:34:23 2019 daemon.notice hostapd: wlan1: AP-ENABLED
Fri Sep 13 23:34:23 2019 daemon.notice netifd: Network device 'wlan1' link is up
Fri Sep 13 23:35:20 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED xx:xx
...
Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: DFS-CAC-COMPLETED success=0 freq=5280 ht_enabled=1 chan_offset=0 chan_width=1 cf1=5280 cf2=0
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: INTERFACE-DISABLED
Fri Sep 13 23:40:51 2019 kern.info kernel: [14161.966122] br-lan: port 3(wlan1) entered disabled state
Fri Sep 13 23:40:51 2019 kern.info kernel: [14162.009569] device wlan1 left promiscuous mode
Fri Sep 13 23:40:51 2019 kern.info kernel: [14162.009585] br-lan: port 3(wlan1) entered disabled state
Fri Sep 13 23:40:51 2019 user.notice mac80211: Failed command: iw phy phy1 set antenna all all
Fri Sep 13 23:40:51 2019 daemon.notice netifd: radio1 (20987): command failed: Not supported (-95)
Fri Sep 13 23:40:51 2019 user.notice mac80211: Failed command: iw phy phy1 set distance 0
Fri Sep 13 23:40:51 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Fri Sep 13 23:40:51 2019 kern.debug kernel: [14162.333032] ieee80211 phy1: change: 0xffffffff
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: INTERFACE-ENABLED
Fri Sep 13 23:40:51 2019 kern.info kernel: [14162.447753] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: INTERFACE-DISABLED
Fri Sep 13 23:40:51 2019 daemon.err hostapd: nl80211: Could not configure driver mode
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Fri Sep 13 23:40:51 2019 daemon.err hostapd: nl80211 driver initialization failed.
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->DISABLED
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: AP-DISABLED
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Fri Sep 13 23:40:51 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan1 wasn't started
Fri Sep 13 23:40:51 2019 daemon.notice netifd: radio1 (20987): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 20132 path ()
Fri Sep 13 23:40:51 2019 daemon.notice netifd: radio1 (20987): Device setup failed: HOSTAPD_START_FAILED
Fri Sep 13 23:41:01 2019 user.notice mac80211: Failed command: iw phy phy1 set antenna all all
Fri Sep 13 23:41:01 2019 daemon.notice netifd: radio1 (21197): command failed: Not supported (-95)
Fri Sep 13 23:41:01 2019 user.notice mac80211: Failed command: iw phy phy1 set distance 0
Fri Sep 13 23:41:01 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Fri Sep 13 23:41:02 2019 kern.debug kernel: [14172.951695] ieee80211 phy1: change: 0xffffffff
Fri Sep 13 23:41:02 2019 daemon.notice hostapd: wlan1: INTERFACE-ENABLED
Fri Sep 13 23:41:02 2019 kern.info kernel: [14173.063478] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Fri Sep 13 23:41:02 2019 daemon.notice hostapd: wlan1: INTERFACE-DISABLED
Fri Sep 13 23:41:02 2019 daemon.err hostapd: nl80211: Could not configure driver mode
Fri Sep 13 23:41:02 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Fri Sep 13 23:41:02 2019 daemon.err hostapd: nl80211 driver initialization failed.
Fri Sep 13 23:41:02 2019 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->DISABLED
Fri Sep 13 23:41:02 2019 daemon.notice hostapd: wlan1: AP-DISABLED
Fri Sep 13 23:41:02 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Fri Sep 13 23:41:02 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan1 wasn't started
Fri Sep 13 23:41:02 2019 daemon.notice netifd: radio1 (21197): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 20132 path ()
Fri Sep 13 23:41:02 2019 daemon.notice netifd: radio1 (21197): Device setup failed: HOSTAPD_START_FAILED

Hostpad config:

root@OpenWrt:~# cat /var/run/hostapd-phy1.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=US
ieee80211d=1
ieee80211h=1
hw_mode=a
beacon_int=100
channel=36


ieee80211n=1
ht_coex=0
ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40]
ieee80211ac=1
vht_capab=[RXLDPC][SHORT-GI-80][SU-BEAMFORMER][SU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][MAX-A-MPDU-LEN-EXP7]

interface=wlan1
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=0
ignore_broadcast_ssid=1
uapsd_advertisement_enabled=1
wpa_passphrase=xx
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=5gssid
bridge=br-lan
wpa_disable_eapol_key_retries=1
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=94:10:3e:xx

Troubleshooting attempted:

  • Changing country code
  • Changing 5g channel
  • Enable/disable WMM mode
  • Restart the 5g interface from LuCI
  • Factory reset and clean setup of 5g

All yield the same issue.

29.08.20192474Base systemBug ReportVery LowLowping: When IPv6-in-IPv4 tunnel interface is specified a...openwrt-18.06Unconfirmed Task Description

Environment: OpenWrt 18.06.4 r7808-ef686b7292 / LuCI openwrt-18.06 branch (git-19.170.32094-4d6d8bc)

Description:

When IPv6-in-IPv4 tunnel interface is specified as a source interface, link local IPv6 address is used instead of a public IPv6 address.

root@OpenWRT:~# ifconfig
6in4-wan6 Link encap:IPv6-in-IPv4
          inet6 addr: fe80::xxxx:xxxx/64 Scope:Link
          inet6 addr: 2001:xxx:xx:xxx::2/64 Scope:Global
          UP POINTOPOINT RUNNING NOARP  MTU:1280  Metric:1
          RX packets:2551 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3885 errors:0 dropped:689 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
                  RX bytes:217476 (212.3 KiB)  TX bytes:525551 (513.2 KiB)

ICMP request are sent with a link local address set as a source:

root@OpenWRT:~# ping -I 6in4-wan6 -c 3 2001:4860:4860::8888
PING 2001:4860:4860::8888 (2001:4860:4860::8888): 56 data bytes

--- 2001:4860:4860::8888 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

Expected behavior (public IPv6 address is used as a source address):

root@OpenWRT:~# ping -I 2001:xxx:xx:xxx::2 -c 3 2001:4860:4860::8888
PING 2001:4860:4860::8888 (2001:4860:4860::8888) from 2001:470:70:46b::2: 56 data bytes
64 bytes from 2001:4860:4860::8888: seq=0 ttl=58 time=15.708 ms
64 bytes from 2001:4860:4860::8888: seq=1 ttl=58 time=17.387 ms
64 bytes from 2001:4860:4860::8888: seq=2 ttl=58 time=15.723 ms

--- 2001:4860:4860::8888 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 15.708/16.272/17.387 ms
29.08.20192473KernelBug ReportVery LowHighUsb not working on fonera 2.0n (ramips/rt305x)openwrt-18.06Unconfirmed Task Description

On openwrt 18.06.4 usb is no longer working. I’ve tried with 18.06.02 built by my own with the same result. With 18.06.1 everything was working correctly.


27.08.20192467Base systemBug ReportVery LowMediumRemote desktop unusale with flow offloadingopenwrt-18.06Unconfirmed Task Description

Hi,

I have latest stable openwrt installed to my Xiaomi R3G router.
I have a port forward to a windows RDP.
When Flow offloading (Software flow offloading or both Hardware and Software flow offloading) enabled the RDP connection became slow and laggy, reconnects often.

If I disable flow offload, everything works fine.

I’ll try to look tcpdump/wireshark captures.

Thanks,
Laszlo


25.08.20192464Base systemBug ReportVery LowLownetifd: changing metric, ip4table or defaultroute flush...openwrt-18.06Unconfirmed Task Description

Tested device: Virtual x86_64
Software versions:
openwrt 18.06.4
netifd 2019-01-31-a2aba5c7-2.1

Reproduce:
* Use babeld as dynamic routing daemon.
* Verify that the main table contains routes inserted by babeld.
* Change one of metric, ip4table and defaultroute on a interface which have babeld’s routes in the main table.
* Run /etc/init.d/network reload
* The routes inserted by babeld for the above interface are now gone, which was unexpected.

It seems to be caused by the following section in interface.c:

        UPDATE(metric, reload_ip);
        UPDATE(proto_ip.no_defaultroute, reload_ip);
        UPDATE(ip4table, reload_ip);
        UPDATE(ip6table, reload_ip);
...
        if (reload_ip) {
                bool config_ip_enabled = if_old->config_ip.enabled;
                bool proto_ip_enabled = if_old->proto_ip.enabled;

                interface_ip_set_enabled(&if_old->config_ip, false);
                interface_ip_set_enabled(&if_old->proto_ip, false);
                interface_ip_set_enabled(&if_old->proto_ip, proto_ip_enabled);
                interface_ip_set_enabled(&if_old->config_ip, config_ip_enabled);
        }
15.08.20192444Base systemBug ReportVery LowMediumLUCI does not accept IPv6 as syslog server nor DNS Nameopenwrt-18.06Unconfirmed Task Description

- This affects every platform as far as I can tell. I tested it on virtualized x86_64 guest.
- Affected Version is 18.06.04
- Just try to enter a DNS Name or IPv6 address into System - System - Logging - External system log server

I think DNS Name should be supported because it’s ugly to use IP addresses. Setting an IPv6 server via “uci set” is possible though and actually works for me.

07.08.20192430Base systemBug ReportVery LowLowUnable to flash latest snapshot builds on ERXopenwrt-18.06Unconfirmed Task Description

Openwrt stable release fails to upgrade to the latest snapshot build with the message

Invalid sysupgrade file.
Image check 'platform_check_image' failed.

Supply the following if possible:
- Device problem occurs on

 Ubiquiti EdgeRouter X

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

 openwrt 18.06 -> latest snapshot

- Steps to reproduce

  1. Run
    sysupgrade -v openwrt-ramips-mt7621-ubiquiti_edgerouterx-squashfs-sysupgrade.bin
01.08.20192422KernelBug ReportVery LowMediumWithout reason my router dropping frames.openwrt-18.06Unconfirmed Task Description

Without reason my ping sometimes going up very fast.
I checked logs, and there was around 53 lines of “Error - Dropping frame due to full tx queue 2”.
It’s the reason of instability of my network.

Supply the following if possible:
- DWR 921 C3
- Powered by LuCI openwrt-18.06 branch (git-19.170.32094-4d6d8bc) / OpenWrt 18.06.4 r7808-ef686b7292

 


01.08.20192420Base systemBug ReportVery LowMediumNo more masquerading after "ifdown wan; ifup wan"openwrt-18.06Unconfirmed Task Description

hw: TP-Link TL-WDR3600 v1
arch: Atheros AR9344 rev 2
sw: OpenWrt 18.06.4 r7808-ef686b7292 / LuCI openwrt-18.06 branch (git-19.170.32094-4d6d8bc)

Network:
lan
pppoe-wan ipv4 plus dhcpv6 client

Issue:
After “ifdown wan; ifup wan” there is no more masquerading done to outgoing packets. Source address of those packets from lan to pppoe-wan are unchanged.

Solution (works for me):
In /etc/hotplug.d/iface/20-firewall change the last line
fw3 -q reload
to
fw3 -q restart

27.07.20192411Base systemBug ReportVery LowHighChanges to configuration are not saved between reboots ...openwrt-18.06Unconfirmed Task Description

I recently updated my D-Link DIR-600 to OpenWrt 18.06.4. As I recall, the previous running version was from the 17.* branch line which worked like a charm. Since the update to 18, the configuration is no longer saved when altered (through LuCI). I suspect the flash size may be too small for this device.

kern.err kernel: [   44.315763] jffs2: Too few erase blocks (4)

System log as follows:

Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.000000] Linux version 4.14.131 (buildbot@dbab1e23488d) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7808-ef686b7292)) #0 Thu Jun 27 12:18:52 2019
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] SoC Type: Ralink RT3350 id:1 rev:2
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] bootconsole [early0] enabled
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] MIPS: machine is D-Link DIR-600 B1
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Determined physical RAM map:
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000]  memory: 02000000 @ 00000000 (usable)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Thu Jun 27 12:19:01 2019 kern.warn kernel: [    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
Thu Jun 27 12:19:01 2019 kern.warn kernel: [    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Zone ranges:
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Movable zone start for each node
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Early memory node ranges
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000] On node 0 totalpages: 8192
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 803f74b0, node_mem_map 81000040
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000]   Normal zone: 64 pages used for memmap
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000]   Normal zone: 8192 pages, LIFO batch:0
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.000000] random: get_random_bytes called from 0x803fa730 with crng_init=0
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Writing ErrCtl register=0003fbe0
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Readback ErrCtl register=0003fbe0
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Memory: 27968K/32768K available (3463K kernel code, 172K rwdata, 428K rodata, 152K init, 202K bss, 4800K reserved, 0K cma-reserved)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] NR_IRQS: 256
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] CPU Clock: 320MHz
Thu Jun 27 12:19:01 2019 kern.crit kernel: [    0.000000] timer_probe: no matching timers found
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11945377789 ns
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000027] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 13421772796ns
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.015794] Calibrating delay loop... 212.58 BogoMIPS (lpj=1062912)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.108400] pid_max: default: 32768 minimum: 301
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.118144] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.131389] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.158707] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.178376] futex hash table entries: 256 (order: -1, 3072 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.190778] pinctrl core: initialized pinctrl subsystem
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.204961] NET: Registered protocol family 16
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.288107] rt2880_gpio 10000600.gpio: registering 24 gpios
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.299345] rt2880_gpio 10000600.gpio: registering 24 irq handlers
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.325968] clocksource: Switched to clocksource MIPS
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.339590] NET: Registered protocol family 2
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.350800] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.364807] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.377536] TCP: Hash tables configured (established 1024 bind 1024)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.390676] UDP hash table entries: 256 (order: 0, 4096 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.402450] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.415694] NET: Registered protocol family 1
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.434160] rt-timer 10000100.timer: maximum frequency is 3255Hz
Thu Jun 27 12:19:01 2019 kern.warn kernel: [    0.448814] Crashlog allocated RAM at address 0x1f00000
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.465905] workingset: timestamp_bits=30 max_order=13 bucket_order=0
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.495414] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.507095] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.568216] io scheduler noop registered
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.575915] io scheduler deadline registered (default)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.587719] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.609517] console [ttyS0] disabled
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.616788] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 6666666) is a Palmchip BK-3103
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.636648] console [ttyS0] enabled
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.650659] bootconsole [early0] disabled
Thu Jun 27 12:19:01 2019 kern.err kernel: [    0.667925] cacheinfo: Failed to find cpu0 device node
Thu Jun 27 12:19:01 2019 kern.warn kernel: [    0.678472] cacheinfo: Unable to detect cache hierarchy for CPU 0
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.692613] 1f000000.cfi: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001a00
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.713003] 1f000000.cfi: Found an alias at 0x400000 for the chip at 0x0
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.713044] Amd/Fujitsu Extended Query Table at 0x0040
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.723567]   Amd/Fujitsu Extended Query version 1.3.
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.733912] number of CFI chips: 1
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.763510] 4 fixed-partitions partitions found on MTD device 1f000000.cfi
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.777571] Creating 4 MTD partitions on "1f000000.cfi":
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.788486] 0x000000000000-0x000000030000 : "u-boot"
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.801096] 0x000000030000-0x000000040000 : "devdata"
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.813979] 0x000000040000-0x000000050000 : "devconf"
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.827051] 0x000000050000-0x000000400000 : "firmware"
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.852725] 2 uimage-fw partitions found on MTD device firmware
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.864919] 0x000000050000-0x0000001a19cd : "kernel"
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.877670] 0x0000001a19cd-0x000000400000 : "rootfs"
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.890239] mtd: device 5 (rootfs) set to be root filesystem
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.901904] 1 squashfs-split partitions found on MTD device rootfs
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.914588] 0x0000003c0000-0x000000400000 : "rootfs_data"
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.929929] libphy: Fixed MDIO Bus: probed
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.941883] rt3050-esw 10110000.esw: link changed 0x00
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.968999] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.987304] rt2880_wdt 10000120.watchdog: Initialized
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.001118] NET: Registered protocol family 10
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.023475] Segment Routing with IPv6
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.031295] NET: Registered protocol family 17
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.040591] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.066901] 8021q: 802.1Q VLAN Support v1.8
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.090328] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.107082] Freeing unused kernel memory: 152K
Thu Jun 27 12:19:01 2019 kern.warn kernel: [    1.116215] This architecture does not have kernel memory protection.
Thu Jun 27 12:19:01 2019 user.info kernel: [    2.121392] init: Console is alive
Thu Jun 27 12:19:01 2019 user.info kernel: [    2.129218] init: - watchdog -
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    2.586054] random: fast init done
Thu Jun 27 12:19:01 2019 kern.info kernel: [    2.672827] rt3050-esw 10110000.esw: link changed 0x08
Thu Jun 27 12:19:01 2019 user.info kernel: [    3.310116] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Thu Jun 27 12:19:01 2019 user.info kernel: [    3.473617] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Thu Jun 27 12:19:01 2019 user.info kernel: [    3.499523] init: - preinit -
Thu Jun 27 12:19:01 2019 kern.info kernel: [    4.744023] 8021q: adding VLAN 0 to HW filter on device eth0
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    4.807593] random: procd: uninitialized urandom read (4 bytes read)
Thu Jun 27 12:19:01 2019 user.notice kernel: [    8.389257] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
Thu Jun 27 12:19:01 2019 user.warn kernel: [    8.461892] urandom-seed: Seed file not found (/etc/urandom.seed)
Thu Jun 27 12:19:01 2019 user.info kernel: [    8.691867] procd: - early -
Thu Jun 27 12:19:01 2019 user.info kernel: [    8.698345] procd: - watchdog -
Thu Jun 27 12:19:01 2019 user.info kernel: [    9.542956] procd: - watchdog -
Thu Jun 27 12:19:01 2019 user.info kernel: [    9.550705] procd: - ubus -
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    9.718507] random: ubusd: uninitialized urandom read (4 bytes read)
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    9.863957] random: ubusd: uninitialized urandom read (4 bytes read)
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    9.878290] random: ubusd: uninitialized urandom read (4 bytes read)
Thu Jun 27 12:19:01 2019 user.info kernel: [    9.896376] procd: - init -
Thu Jun 27 12:19:01 2019 user.info kernel: [   10.626635] kmodloader: loading kernel modules from /etc/modules.d/*
Thu Jun 27 12:19:01 2019 kern.info kernel: [   10.654495] ip6_tables: (C) 2000-2006 Netfilter Core Team
Thu Jun 27 12:19:01 2019 kern.info kernel: [   10.696121] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
Thu Jun 27 12:19:01 2019 kern.info kernel: [   10.712420] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
Thu Jun 27 12:19:01 2019 kern.info kernel: [   10.736149] ip_tables: (C) 2000-2006 Netfilter Core Team
Thu Jun 27 12:19:01 2019 kern.info kernel: [   10.767787] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
Thu Jun 27 12:19:01 2019 kern.info kernel: [   10.925396] xt_time: kernel timezone is -0000
Thu Jun 27 12:19:01 2019 kern.info kernel: [   11.050512] PPP generic driver version 2.4.2
Thu Jun 27 12:19:01 2019 kern.info kernel: [   11.066924] NET: Registered protocol family 24
Thu Jun 27 12:19:01 2019 kern.info kernel: [   11.128843] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "devdata"
Thu Jun 27 12:19:01 2019 kern.info kernel: [   11.143671] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2872, rev 0200 detected
Thu Jun 27 12:19:01 2019 kern.info kernel: [   11.159505] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected
Thu Jun 27 12:19:01 2019 kern.debug kernel: [   11.175056] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Thu Jun 27 12:19:01 2019 user.info kernel: [   11.349828] kmodloader: done loading kernel modules from /etc/modules.d/*
Thu Jun 27 12:19:01 2019 kern.warn kernel: [   13.056965] urandom_read: 5 callbacks suppressed
Thu Jun 27 12:19:01 2019 kern.notice kernel: [   13.056986] random: jshn: uninitialized urandom read (4 bytes read)
Thu Jun 27 12:19:03 2019 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Thu Jun 27 12:19:03 2019 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: started, version 2.80 cachesize 150
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: DNS service limited to local subnets
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain test
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain onion
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain localhost
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain local
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain invalid
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain bind
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain lan
Thu Jun 27 12:19:04 2019 daemon.warn dnsmasq[801]: no servers found in /tmp/resolv.conf.auto, will retry
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: read /etc/hosts - 4 addresses
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: tunnel
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: Network device
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: bridge
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: veth
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: macvlan
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: 8021ad
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: 8021q
Thu Jun 27 12:19:11 2019 daemon.notice procd: /etc/init.d/network: 'radio0' is disabled
Thu Jun 27 12:19:11 2019 daemon.notice procd: /etc/init.d/network: 'radio0' is disabled
Thu Jun 27 12:19:18 2019 user.notice ucitrack: Setting up /etc/config/network reload dependency on /etc/config/dhcp
Thu Jun 27 12:19:18 2019 user.notice ucitrack: Setting up /etc/config/network reload dependency on /etc/config/radvd
Thu Jun 27 12:19:18 2019 user.notice ucitrack: Setting up /etc/config/wireless reload dependency on /etc/config/network
Thu Jun 27 12:19:19 2019 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/luci-splash
Thu Jun 27 12:19:19 2019 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/qos
Thu Jun 27 12:19:19 2019 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/miniupnpd
Thu Jun 27 12:19:20 2019 user.notice ucitrack: Setting up /etc/config/dhcp reload dependency on /etc/config/odhcpd
Thu Jun 27 12:19:22 2019 user.notice ucitrack: Setting up non-init /etc/config/fstab reload handler: /sbin/block mount
Thu Jun 27 12:19:22 2019 user.notice ucitrack: Setting up /etc/config/system reload trigger for non-procd /etc/init.d/led
Thu Jun 27 12:19:23 2019 user.notice ucitrack: Setting up /etc/config/system reload dependency on /etc/config/luci_statistics
Thu Jun 27 12:19:23 2019 user.notice ucitrack: Setting up /etc/config/system reload dependency on /etc/config/dhcp
Thu Jun 27 12:19:25 2019 kern.err kernel: [   44.315763] jffs2: Too few erase blocks (4)
Thu Jun 27 12:19:25 2019 daemon.err mount_root: failed - mount -t jffs2 /dev/mtdblock6 /rom/overlay: Invalid argument
Thu Jun 27 12:19:27 2019 daemon.notice procd: /etc/rc.d/S96led: setting up led WAN LED (amber)
Thu Jun 27 12:19:28 2019 kern.info kernel: [   46.657999] 8021q: adding VLAN 0 to HW filter on device eth0
Thu Jun 27 12:19:28 2019 kern.info kernel: [   46.761430] br-lan: port 1(eth0.1) entered blocking state
Thu Jun 27 12:19:28 2019 kern.info kernel: [   46.772519] br-lan: port 1(eth0.1) entered disabled state
Thu Jun 27 12:19:28 2019 kern.info kernel: [   46.784464] device eth0.1 entered promiscuous mode
Thu Jun 27 12:19:28 2019 kern.info kernel: [   46.794338] device eth0 entered promiscuous mode
Thu Jun 27 12:19:28 2019 kern.info kernel: [   46.991682] br-lan: port 1(eth0.1) entered blocking state
Thu Jun 27 12:19:28 2019 kern.info kernel: [   47.002761] br-lan: port 1(eth0.1) entered forwarding state
Thu Jun 27 12:19:28 2019 kern.info kernel: [   47.014766] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'lan' is enabled
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'lan' is setting up now
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'lan' is now up
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'loopback' is enabled
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'loopback' is setting up now
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'loopback' is now up
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'wan' is enabled
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'wan6' is enabled
Thu Jun 27 12:19:28 2019 daemon.notice netifd: bridge 'br-lan' link is up
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'lan' has link connectivity
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Network device 'eth0' link is up
Thu Jun 27 12:19:28 2019 daemon.notice netifd: VLAN 'eth0.1' link is up
Thu Jun 27 12:19:29 2019 daemon.notice netifd: Network device 'lo' link is up
Thu Jun 27 12:19:29 2019 daemon.notice netifd: Interface 'loopback' has link connectivity
Thu Jun 27 12:19:29 2019 daemon.notice netifd: VLAN 'eth0.2' link is up
Thu Jun 27 12:19:29 2019 daemon.notice netifd: Interface 'wan' has link connectivity
Thu Jun 27 12:19:29 2019 daemon.notice netifd: Interface 'wan' is setting up now
Thu Jun 27 12:19:29 2019 daemon.notice netifd: Interface 'wan6' has link connectivity
Thu Jun 27 12:19:29 2019 daemon.notice netifd: Interface 'wan6' is setting up now
Thu Jun 27 12:19:29 2019 kern.info kernel: [   47.656594] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Thu Jun 27 12:19:30 2019 daemon.notice netifd: wan (1178): udhcpc: started, v1.28.4
Thu Jun 27 12:19:31 2019 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Thu Jun 27 12:19:32 2019 daemon.notice netifd: wan (1178): udhcpc: sending discover
Thu Jun 27 12:19:34 2019 daemon.info procd: - init complete -
Thu Jun 27 12:19:35 2019 daemon.notice netifd: wan (1178): udhcpc: sending discover
Thu Jun 27 12:19:38 2019 daemon.notice netifd: wan (1178): udhcpc: sending discover
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[801]: exiting on receipt of SIGTERM
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: started, version 2.80 cachesize 150
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: DNS service limited to local subnets
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq-dhcp[1322]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain test
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain onion
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain localhost
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain local
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain invalid
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain bind
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain lan
Thu Jun 27 12:19:40 2019 daemon.warn dnsmasq[1322]: no servers found in /tmp/resolv.conf.auto, will retry
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: read /etc/hosts - 4 addresses
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: read /tmp/hosts/dhcp.cfg01411c - 1 addresses
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq-dhcp[1322]: read /etc/ethers - 0 addresses
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: read /etc/hosts - 4 addresses
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: read /tmp/hosts/dhcp.cfg01411c - 1 addresses
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq-dhcp[1322]: read /etc/ethers - 0 addresses
Thu Jun 27 12:19:47 2019 daemon.info dnsmasq-dhcp[1322]: DHCPDISCOVER(br-lan) 00:0e:c6:8e:2b:c9
Thu Jun 27 12:19:47 2019 daemon.info dnsmasq-dhcp[1322]: DHCPOFFER(br-lan) 192.168.1.122 00:0e:c6:8e:2b:c9
Thu Jun 27 12:19:48 2019 daemon.info dnsmasq-dhcp[1322]: DHCPREQUEST(br-lan) 192.168.1.122 00:0e:c6:8e:2b:c9
Thu Jun 27 12:19:48 2019 daemon.info dnsmasq-dhcp[1322]: DHCPACK(br-lan) 192.168.1.122 00:0e:c6:8e:2b:c9 badapple
Thu Jun 27 12:20:09 2019 daemon.err uhttpd[958]: luci: accepted login on /admin for root from 192.168.1.122
Thu Jun 27 12:20:34 2019 kern.notice kernel: [  112.796216] random: crng init done
Thu Jun 27 12:20:34 2019 daemon.info urandom_seed[1268]: Seed saved (/etc/urandom.seed)
Thu Jun 27 12:20:56 2019 auth.err passwd: password for root changed by root
Thu Jun 27 12:21:36 2019 auth.err passwd: password for root changed by root
25.07.20192406Base systemBug ReportVery LowMediumUnreliable wifi with android phonesopenwrt-18.06Unconfirmed Task Description

I have two WRT1200AC devices set up. One is the router, and the second one is a 2.4Ghz access point that uses 5Ghz WDS for the back-haul. The problem seems unrelated to WDS, although both routers are configured with multiple wifi interfaces on each radio. I see the problem occur on both devices, so it’s probably not bad hardware. I’ve been battling this problem on all recent releases. Last night I tried 18.06.4, and the problem still exists.

I have multiple LG G6 smartphones running android 8.0.0. The problem is that, although they seemingly maintain a solid wifi connection to my openwrt access points, network connections don’t work most of the time (web pages don’t load, messages don’t come in, etc.) Laptops seem to work just fine over wifi. The internet connection itself is perfectly stable, and devices wired to either device work just fine.

The phones seem to work ok on wifi immediately after resetting the access point. After a few minutes, though, the problem crops up and persists no matter what I try, until I reset the access point. Once the problem manifests, luci rarely loads on the phone’s web browser, so it’s clearly not a WAN issue.

When the problem kicks in, in the device’s system log, I can see “IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)” a few seconds after a phone connects to the access point.

As another data point, I was experimenting with 802.11r. I installed the full wpad package and enabled fast transition. Just like above, Wifi would work for a few minutes. Once the problem kicked in though, rather than the phone claiming to be connected but not work, the phone would instead report an authentication failure and then prompt for the wpa password again. The problem occurs with wpad-mini just as much, it’s just interesting that the symptoms change with 802.11r enabled.

I lack specific knowledge about openwrt development, but I’m an embedded software engineer and I’m happy to collect any debug traces that would be helpful. Just give me the commands or point me at the right documentation...

25.07.20192405Base systemBug ReportVery LowCriticalsnmpd bad interaction with rc.local (gets emptied when ...openwrt-18.06Unconfirmed Task Description

Easy to reproduce:
1) Have something in rc.local
2) Restart snmpd
3) Look again to rc.local is empty

 

I’ve tested this with several models:
ZBT-WG3526 (16M)
TP-Link Archer C2600
GL.iNet GL-AR300M
TP-LINK Archer C7 v4
SamKnows Whitebox 8

It looks that from time to time, rc.local gets “emptied”.

I’m using cacti to monitor several routers, and from time to time, if an interface is reset (link down, etc.), it looks like cacti gets confused, so I need to restart snmpd.

It looks that that creates the problem, because after that, rc.local is empty.

I’ve been trying to find the problem since I flashed all the routers with 18.06.4 (stable), because initially this was happening when rebooting, so I was not able to find why ... now, I’m almost sure that it is the snmpd restart which creates the problem.


25.07.20192404PackagesBug ReportVery LowMediummac80211 causing process to be tainted with CF-E375AC A...openwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on ar71xx device CF-E375AC running custom build openwrt release 18.06-4
- Steps to reproduce: boot the ap

 

When booting the freshly installed firmware for the device points a kernel trace for mac80211 and after a few days devices presents other processes being tainted. Sometimes the AP enters a bootloop.

wireless config

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '149'
	option hwmode '11a'
	option path 'pci0000:00/0000:00:00.0'
	option country 'BR'
	option noscan '1'
	option htmode 'VHT20'
	option txpower '21'
	option legacy_rates '0'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option mode 'ap'
	option encryption 'none'
	option ssid '_FREE - Boulevard Londrina'
	option network 'MGT'

config wifi-device 'radio1'
	option type 'mac80211'
	option channel '11'
	option hwmode '11g'
	option path 'platform/qca956x_wmac'
	option htmode 'HT20'
	option country 'BR'
	option noscan '1'
	option txpower '20'
	option legacy_rates '0'

config wifi-iface 'default_radio1'
	option device 'radio1'
	option mode 'ap'
	option encryption 'none'
	option ssid '_FREE - Boulevard Londrina'
	option network 'MGT'

config wifi-iface 'monitor'
	option mode 'monitor'
	option ifname 'wlan1'
	option device 'radio1'

dmesg

dmesg

Starting kernel ...

[    0.000000] Linux version 4.9.184 (joao@joao-Elcomasv-01) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7808-ef686b7292) ) #0 Thu Jun 27 12:18:52 2019
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 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 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=CF-E375AC mtdparts=spi0.0:256k(u-boot)ro,64k(art)ro,16000k(firmware),64k(art-backup)ro console=ttyS0,115200 rootfstype=squasd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 125204K/131072K available (2969K kernel code, 166K rwdata, 688K rodata, 264K init, 202K bss, 5868K 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] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008213] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.071024] pid_max: default: 32768 minimum: 301
[    0.075975] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.082947] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092686] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103093] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.110007] NET: Registered protocol family 16
[    0.115951] MIPS: machine is Vagalume Bolt VB-2x2ACW2c
[    0.355073] registering PCI controller with io_map_base unset
[    0.372363] PCI host bridge to bus 0000:00
[    0.376735] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.383972] pci_bus 0000:00: root bus resource [io  0x0001]
[    0.389848] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.396994] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.405717] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.413440] pci 0000:00:00.0: using irq 40 for pin 1
[    0.419261] clocksource: Switched to clocksource MIPS
[    0.425467] NET: Registered protocol family 2
[    0.430794] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.438144] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.444888] TCP: Hash tables configured (established 1024 bind 1024)
[    0.451676] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.457840] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.464673] NET: Registered protocol family 1
[    0.473479] Crashlog allocated RAM at address 0x3f00000
[    0.480033] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.492302] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.498444] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.516852] io scheduler noop registered
[    0.521023] io scheduler deadline registered (default)
[    0.526761] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.533822] console [ttyS0] disabled
[    0.557661] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.566760] console [ttyS0] enabled
[    0.566760] console [ttyS0] enabled
[    0.574311] bootconsole [early0] disabled
[    0.574311] bootconsole [early0] disabled
[    0.586037] m25p80 spi0.0: found w25q128, expected m25p80
[    0.602431] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.607315] 4 cmdlinepart partitions found on MTD device spi0.0
[    0.613443] Creating 4 MTD partitions on "spi0.0":
[    0.618393] 0x000000000000-0x000000040000 : "u-boot"
[    0.625174] 0x000000040000-0x000000050000 : "art"
[    0.631774] 0x000000050000-0x000000ff0000 : "firmware"
[    0.664207] 2 uimage-fw partitions found on MTD device firmware
[    0.670357] 0x000000050000-0x000000190000 : "kernel"
[    0.676639] 0x000000190000-0x000000ff0000 : "rootfs"
[    0.683215] mtd: device 4 (rootfs) set to be root filesystem
[    0.689095] 1 squashfs-split partitions found on MTD device rootfs
[    0.695523] 0x000000780000-0x000000ff0000 : "rootfs_data"
[    0.702897] 0x000000ff0000-0x000001000000 : "art-backup"
[    0.710979] libphy: Fixed MDIO Bus: probed
[    0.726468] switch0: Atheros AR8337 rev. 2 switch registered on ag71xx-mdio.0
[    1.412424] libphy: ag71xx_mdio: probed
[    2.040719] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    2.052293] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII
[    2.059534] NET: Registered protocol family 17
[    2.064275] 8021q: 802.1Q VLAN Support v1.8
[    2.076210] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    2.084960] Freeing unused kernel memory: 264K
[    2.089572] This architecture does not have kernel memory protection.
[    2.569272] random: fast init done
[    2.760552] init: Console is alive
[    2.764248] init: - watchdog -
[    3.977559] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.108734] usbcore: registered new interface driver usbfs
[    4.114527] usbcore: registered new interface driver hub
[    4.120102] usbcore: registered new device driver usb
[    4.129935] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.138061] ehci-platform: EHCI generic platform driver
[    4.143580] ehci-platform ehci-platform.0: EHCI Host Controller
[    4.149748] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    4.160192] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    4.189296] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    4.196670] hub 1-0:1.0: USB hub found
[    4.200906] hub 1-0:1.0: 1 port detected
[    4.205265] ehci-platform ehci-platform.1: EHCI Host Controller
[    4.211453] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    4.221929] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    4.249282] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    4.256657] hub 2-0:1.0: USB hub found
[    4.260906] hub 2-0:1.0: 1 port detected
[    4.265722] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.283589] init: - preinit -
[    4.902115] random: procd: uninitialized urandom read (4 bytes read)
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
[    5.950668] eth0: link up (1000Mbps/Full duplex)
[    7.134519] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    7.142015] jffs2_build_filesystem(): unlocking the mtd device... [    7.148247] done.
[    7.150250] jffs2_build_filesystem(): erasing all blocks after the end marker... [   40.101846] done.
[   40.103865] jffs2: notice: (379) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan.
[   40.121131] mount_root: overlay filesystem has not been fully initialized yet
[   40.144134] mount_root: switching to jffs2 overlay
- config restore -
[   40.891517] urandom-seed: Seed file not found (/etc/urandom.seed)
[   41.055180] eth0: link down
[   41.067481] procd: - early -
[   41.071131] procd: - watchdog -
[   41.675949] procd: - watchdog -
[   41.679461] procd: - ubus -
[   41.836269] random: ubusd: uninitialized urandom read (4 bytes read)
[   41.843476] random: ubusd: uninitialized urandom read (4 bytes read)
[   41.850479] random: ubusd: uninitialized urandom read (4 bytes read)
[   41.857766] procd: - init -
Please press Enter to activate this console.
[   42.242647] kmodloader: loading kernel modules from /etc/modules.d/*
[   42.253640] mpls_gso: MPLS GSO support
[   42.259786] tun: Universal TUN/TAP device driver, 1.6
[   42.265003] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   42.344745] gre: GRE over IPv4 demultiplexor driver
[   42.351617] ip_gre: GRE over IPv4 tunneling driver
[   42.365385] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   42.389574] u32 classifier
[   42.392378]     input device check on
[   42.396157]     Actions configured
[   42.402000] Mirror/redirect action on
[   42.411848] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   42.435201] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   42.443511] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   42.698554] xt_time: kernel timezone is -0000
[   42.749861] ip_tables: (C) 2000-2006 Netfilter Core Team
[   42.874032] PPP generic driver version 2.4.2
[   42.880654] NET: Registered protocol family 24
[   42.912501] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   42.918648] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   43.134524] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   43.145628] ath10k_pci 0000:00:00.0: Falling back to user helper
[   84.055863] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9888/hw2.0/firmware-6.bin failed with error -2
[   84.066949] ath10k_pci 0000:00:00.0: Falling back to user helper
[   84.170018] firmware ath10k!QCA9888!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[   84.913900] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[   84.923457] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   84.943976] ath10k_pci 0000:00:00.0: firmware ver 10.4-3.5.3-00053 api 5 features no-p2p,mfp,peer-flow-ctrl,allows-mesh-bcast,no-ps crc32 a9603656
[   85.261989] ath10k_pci 0000:00:00.0: board_file api 2 bmi_id 0:16 crc32 d65c17b1
[   87.464734] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[   87.713530] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=47
[   87.726840] kmodloader: done loading kernel modules from /etc/modules.d/*
[   88.378445] urandom_read: 5 callbacks suppressed
[   88.378452] random: jshn: uninitialized urandom read (4 bytes read)
[   98.603267] br-MGT: port 1(eth0.2) entered blocking state
[   98.608854] br-MGT: port 1(eth0.2) entered disabled state
[   98.614759] device eth0.2 entered promiscuous mode
[   98.619749] device eth0 entered promiscuous mode
[   99.630857] eth0: link up (1000Mbps/Full duplex)
[   99.635911] br-MGT: port 1(eth0.2) entered blocking state
[   99.641529] br-MGT: port 1(eth0.2) entered forwarding state
[  100.263145] ath: EEPROM regdomain: 0x804c
[  100.267293] ath: EEPROM indicates we should expect a country code
[  100.273629] ath: doing EEPROM country->regdmn map search
[  100.279110] ath: country maps to regdmn code: 0x3b
[  100.284066] ath: Country alpha2 being used: BR
[  100.288651] ath: Regpair used: 0x3b
[  100.292254] ath: regdomain 0x804c dynamically updated by user
[  100.298263] ath: EEPROM regdomain: 0x804c
[  100.302410] ath: EEPROM indicates we should expect a country code
[  100.308695] ath: doing EEPROM country->regdmn map search
[  100.314179] ath: country maps to regdmn code: 0x3b
[  100.319115] ath: Country alpha2 being used: BR
[  100.323702] ath: Regpair used: 0x3b
[  100.327297] ath: regdomain 0x804c dynamically updated by user
[  104.596722] br-MGT: port 2(wlan1-1) entered blocking state
[  104.602515] br-MGT: port 2(wlan1-1) entered disabled state
[  104.608471] device wlan1-1 entered promiscuous mode
[  104.613654] br-MGT: port 2(wlan1-1) entered blocking state
[  104.619344] br-MGT: port 2(wlan1-1) entered forwarding state
[  110.212741] br-MGT: port 3(wlan0) entered blocking state
[  110.218260] br-MGT: port 3(wlan0) entered disabled state
[  110.224106] device wlan0 entered promiscuous mode
[  110.595493] br-MGT: port 3(wlan0) entered blocking state
[  110.601046] br-MGT: port 3(wlan0) entered forwarding state
[  110.634029] ------------[ cut here ]------------
[  110.639103] WARNING: CPU: 0 PID: 2163 at backports-2017-11-01/net/mac80211/driver-ops.h:167 ieee80211_channel_switch+0x73c/0x145c [mac80211]
[  110.652478] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic mac80211 iptable_nat iptable_mangle iptable_n
[  110.741498] CPU: 0 PID: 2163 Comm: iw Not tainted 4.9.184 #0
[  110.747337] Stack : 804676c2 00000030 00000000 00000001 864407cc 803fac07 803c5af0 00000873
[  110.756208]         80463800 000000a7 00000000 00000008 00000000 800a98ec 803cb430 80400000
[  110.765050]         00000003 000000a7 803c95a8 86635b04 00000000 800d7cfc 804676c2 00000080
[  110.773930]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  110.783024]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  110.791867]         ...
[  110.794457] Call Trace:
[  110.797073] [<8006b210>] show_stack+0x70/0x8c
[  110.801705] [<80080244>] __warn+0x110/0x118
[  110.806033] [<800802e0>] warn_slowpath_null+0x1c/0x2c
[  110.811521] [<8779da7c>] ieee80211_channel_switch+0x73c/0x145c [mac80211]
[  110.818570] ---[ end trace 2ca9776b1b5452c5 ]---
[  111.969383] random: crng init done


after some time running my dmesg gets flooded with aftera wireless interface event such as interfaces going up or down

 [85176.137055] ------------[ cut here ]------------
[85176.142034] WARNING: CPU: 0 PID: 0 at backports-2017-11-01/net/mac80211/rx.c:629 ieee80211_rx_napi+0x8a4/0x8cc [mac80211]
[85176.153375] Modules linked in: pppoe ppp_async ath9k pppox ppp_generic nf_tables_inet nf_nat_pptp nf_conntrack_pptp iptable_nat ipt_REJECT ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute ath9k_common ath10k_pci ath10k_core xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_iface xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_LED xt_HL xt_DSCP xt_CT xt_CLASSIFY ts_fsm ts_bm slhc nft_set_rbtree nft_set_hash nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir_ipv4 nft_redir nft_quota nft_numgen nft_nat nft_meta nft_masq_ipv4 nft_masq nft_log nft_limit nft_exthdr nft_ct nft_counter
[85176.227405]  nft_chain_route_ipv6 nft_chain_route_ipv4 nft_chain_nat_ipv4 nf_tables_ipv6 nf_tables_ipv4 nf_tables nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv6 nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv6 nf_nat_ipv6 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda mac80211 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables ebtables ebt_vlan ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_ip6 ebt_among ebt_802_3 crc_itu_t crc_ccitt ath9k_hw ath arptable_filter arpt_mangle arp_tables sch_cake act_connmark nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_oneshot ledtrig_heartbeat ledtrig_gpio batman_adv libcrc32c cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet 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 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables bonding ip6_gre ip_gre gre ifb ip6_tunnel tunnel6 ip_tunnel tun mpls_gso mpls_iptunnel mpls_router eeprom_93cx6 vxlan udp_tunnel ip6_udp_tunnel ledtrig_transient ehci_platform ehci_hcd gpio_button_hotplug button_hotplug input_core usbcore nls_base usb_common crc16 crc32c_generic crypto_hash
[85176.390181] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.9.120 #0
[85176.397457] Stack : 804b7672 00000040 00000000 00000001 804455fc 80445267 8040dd88 00000000
[85176.406156]         804b37c0 00000275 00000004 86b35f18 00000000 800a957c 804135f8 80440000
[85176.414856]         00000003 00000275 804117b0 87c09d2c 00000000 800d8cfc 804b7672 0000006d
[85176.423556]         804573d0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[85176.432256]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[85176.440957]         ...
[85176.443494] Call Trace:
[85176.446019] [<8006b280>] show_stack+0x70/0x8c
[85176.450541] [<800802f4>] __warn+0x110/0x118
[85176.454863] [<80080390>] warn_slowpath_null+0x1c/0x2c
[85176.460255] [<870256f4>] ieee80211_rx_napi+0x8a4/0x8cc [mac80211]
[85176.466657] [<8680719c>] ath_rx_tasklet+0xba0/0xcd8 [ath9k]
[85176.472442] [<868047d4>] ath9k_tasklet+0x1a8/0x218 [ath9k]
[85176.478112] [<800833e4>] tasklet_action+0x8c/0xc4
[85176.482979] [<80082cbc>] __do_softirq+0x164/0x294
[85176.487839] [<801f3e88>] plat_irq_dispatch+0xf8/0x110
[85176.493081] [<80066378>] handle_int+0x138/0x144
[85176.497764] [<80067e6c>] r4k_wait_irqoff+0x18/0x24
[85176.502724] [<800a43c8>] cpu_startup_entry+0xa8/0xe0
[85176.507867] [<80469b90>] start_kernel+0x444/0x464
[85176.512738] ---[ end trace 730d2fbada3594cc ]---

opkg-list installed

arptables - 2015-05-20-f4ab8f63-1
ath9k-htc-firmware - 2017-09-06-a61ac5cf-1
base-files - 192-r7258-5eb055306f
batctl - 2018.1-0
busybox - 1.28.3-4
ca-bundle - 20180409
ca-certificates - 20180409
coova-chilli - 1.3.0+20141128-6
curl - 7.60.0-3
dnsmasq-full - 2.80test3-1
dropbear - 2017.75-5
ethtool - 4.15-1
firewall - 2018-07-26-aa8846bb-1
freeradius3 - release_3_0_11-3
freeradius3-common - release_3_0_11-3
fstools - 2018-04-16-e2436836-1
fwtool - 1
gre - 1-8
hostapd-common - 2018-04-09-fa617ee6-5
ip-bridge - 4.16.0-4
ip-full - 4.16.0-4
ip6tables - 1.6.2-1
iperf3 - 3.5-1
iptables - 1.6.2-1
iptables-mod-conntrack-extra - 1.6.2-1
iptables-mod-extra - 1.6.2-1
iptables-mod-filter - 1.6.2-1
iptables-mod-iface - 2.14-4
iptables-mod-ipopt - 1.6.2-1
iptables-mod-led - 1.6.2-1
iw - 4.14-1
iwinfo - 2018-07-24-94b1366d-1
jshn - 2018-07-25-c83a84af-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.9.120-1-a2e1b2cfaa4dcfcd239532722f434a93
kmod-arptables - 4.9.120-1
kmod-ath - 4.9.120+2017-11-01-1
kmod-ath10k - 4.9.120+2017-11-01-1
kmod-ath9k - 4.9.120+2017-11-01-1
kmod-ath9k-common - 4.9.120+2017-11-01-1
kmod-batman-adv - 4.9.120+2018.1-2
kmod-bonding - 4.9.120-1
kmod-button-hotplug - 4.9.120-3
kmod-cfg80211 - 4.9.120+2017-11-01-1
kmod-crypto-crc32c - 4.9.120-1
kmod-crypto-hash - 4.9.120-1
kmod-ebtables - 4.9.120-1
kmod-ebtables-ipv6 - 4.9.120-1
kmod-eeprom-93cx6 - 4.9.120-1
kmod-gpio-button-hotplug - 4.9.120-2
kmod-gre - 4.9.120-1
kmod-gre6 - 4.9.120-1
kmod-hwmon-core - 4.9.120-1
kmod-ifb - 4.9.120-1
kmod-input-core - 4.9.120-1
kmod-ip6-tunnel - 4.9.120-1
kmod-ip6tables - 4.9.120-1
kmod-ipt-conntrack - 4.9.120-1
kmod-ipt-conntrack-extra - 4.9.120-1
kmod-ipt-core - 4.9.120-1
kmod-ipt-extra - 4.9.120-1
kmod-ipt-filter - 4.9.120-1
kmod-ipt-iface - 4.9.120+2.14-4
kmod-ipt-ipopt - 4.9.120-1
kmod-ipt-ipset - 4.9.120-1
kmod-ipt-led - 4.9.120-1
kmod-ipt-nat - 4.9.120-1
kmod-ipt-nat-extra - 4.9.120-1
kmod-ipt-raw - 4.9.120-1
kmod-iptunnel - 4.9.120-1
kmod-iptunnel6 - 4.9.120-1
kmod-leds-gpio - 4.9.120-1
kmod-ledtrig-default-on - 4.9.120-1
kmod-ledtrig-gpio - 4.9.120-1
kmod-ledtrig-heartbeat - 4.9.120-1
kmod-ledtrig-netdev - 4.9.120-1
kmod-ledtrig-oneshot - 4.9.120-1
kmod-ledtrig-timer - 4.9.120-1
kmod-ledtrig-transient - 4.9.120-1
kmod-lib-crc-ccitt - 4.9.120-1
kmod-lib-crc-itu-t - 4.9.120-1
kmod-lib-crc16 - 4.9.120-1
kmod-lib-crc32c - 4.9.120-1
kmod-lib-textsearch - 4.9.120-1
kmod-libphy - 4.9.120-1
kmod-mac80211 - 4.9.120+2017-11-01-1
kmod-mpls - 4.9.120-1
kmod-nf-conntrack - 4.9.120-1
kmod-nf-conntrack-netlink - 4.9.120-1
kmod-nf-conntrack6 - 4.9.120-1
kmod-nf-ipt - 4.9.120-1
kmod-nf-ipt6 - 4.9.120-1
kmod-nf-nat - 4.9.120-1
kmod-nf-nat6 - 4.9.120-1
kmod-nf-nathelper - 4.9.120-1
kmod-nf-nathelper-extra - 4.9.120-1
kmod-nf-reject - 4.9.120-1
kmod-nf-reject6 - 4.9.120-1
kmod-nfnetlink - 4.9.120-1
kmod-nft-core - 4.9.120-1
kmod-nft-nat - 4.9.120-1
kmod-nls-base - 4.9.120-1
kmod-ppp - 4.9.120-1
kmod-pppoe - 4.9.120-1
kmod-pppox - 4.9.120-1
kmod-sched-cake - 4.9.120+2018-07-16-f39ab9a4-1
kmod-sched-connmark - 4.9.120-1
kmod-sched-core - 4.9.120-1
kmod-slhc - 4.9.120-1
kmod-swconfig - 4.9.120-1
kmod-tun - 4.9.120-1
kmod-udptunnel4 - 4.9.120-1
kmod-udptunnel6 - 4.9.120-1
kmod-usb-core - 4.9.120-1
kmod-usb-ehci - 4.9.120-1
kmod-usb2 - 4.9.120-1
kmod-vxlan - 4.9.120-1
libattr - 20170915-1
libbfd - 2.27-1
libblobmsg-json - 2018-07-25-c83a84af-1
libc - 1.1.19-1
libcap - 2.25-2
libcares - 1.14.0-1
libcurl - 7.60.0-3
libgcc - 7.3.0-1
libgmp - 6.1.2-1
libiconv-full - 1.11.1-3
libintl-full - 0.19.8.1-1
libip4tc - 1.6.2-1
libip6tc - 1.6.2-1
libiwinfo - 2018-07-24-94b1366d-1
libiwinfo-lua - 2018-07-24-94b1366d-1
libjson-c - 0.12.1-1
libjson-script - 2018-07-25-c83a84af-1
libltdl - 2.4.6-1
liblua - 5.1.5-1
liblzo - 2.10-1
libmbedtls - 2.12.0-1
libmnl - 1.0.4-1
libmosquitto-ssl - 1.5-3
libncurses - 6.1-1
libnetfilter-conntrack - 2017-07-25-e8704326-1
libnetsnmp - 5.7.3-9
libnettle - 3.3-1
libnfnetlink - 1.0.1-1
libnl-core - 3.3.0-1
libnl-genl - 3.3.0-1
libnl-tiny - 0.1-5
libopcodes - 2.27-1
libopenssl - 1.0.2p-1
libpcap - 1.8.1-1
libpcre - 8.41-2
libpthread - 1.1.19-1
libreadline - 7.0-1
librrd1 - 1.0.50-2
librt - 1.1.19-1
libtalloc - 2.1.11-1
libubox - 2018-07-25-c83a84af-1
libubus - 2018-07-26-40e0931e-1
libubus-lua - 2018-07-26-40e0931e-1
libuci - 2018-08-11-4c8b4d6e-1
libuci-lua - 2018-08-11-4c8b4d6e-1
libuclient - 2018-08-03-ae1c656f-1
libustream-openssl - 2018-05-22-5322f9db-1
libuuid - 2.32-2
libwebsockets-openssl - 2.4.1-2
libxtables - 1.6.2-1
logd - 2018-02-14-128bc35f-2
lua - 5.1.5-1
luafilesystem - 1.6.2-1
luci - git-17.060.28258-2685855-1
luci-app-firewall - git-17.060.28258-2685855-1
luci-app-openvpn - git-17.060.28258-2685855-1
luci-app-qos - git-17.060.28258-2685855-1
luci-app-uhttpd - 1.0.0-1
luci-base - git-17.060.28258-2685855-1
luci-lib-ip - git-17.060.28258-2685855-1
luci-lib-json - git-17.060.28258-2685855-1
luci-lib-jsonc - git-17.060.28258-2685855-1
luci-lib-nixio - git-17.060.28258-2685855-1
luci-mod-admin-full - git-17.060.28258-2685855-1
luci-mod-rpc - git-17.060.28258-2685855-1
luci-proto-ipv6 - git-17.060.28258-2685855-1
luci-proto-ppp - git-17.060.28258-2685855-1
luci-theme-bootstrap - git-17.060.28258-2685855-1
mosquitto-client-ssl - 1.5-3
mosquitto-ssl - 1.5-3
mtd - 23
mtr - 0.85+newdns-dd2b75080bc5406ba0b438953b36b72204ba114b-2
netifd - 2018-07-30-a0a1e52e-1
ntpclient - 2010_365-1
odhcp6c - 2018-07-14-67ae6a71-14
odhcpd-ipv6only - 1.10-1
openssl-util - 1.0.2p-1
openvpn-openssl - 2.4.5-4
openwisp-config-openssl - 0.4.5-2
openwrt-keyring - 2018-05-18-103a32e9-1
opkg - 2017-12-07-3b417b9f-2
ppp - 2.4.7-12
ppp-mod-pppoe - 2.4.7-12
procd - 2018-03-28-dfb68f85-1
qos-scripts - 1.3.1-1
relayd - 2016-02-07-ad0b25ad-2
resolveip - 2
rpcd - 2018-08-16-41333abe-1
rpcd-mod-file - 2018-08-16-41333abe-1
rpcd-mod-iwinfo - 2018-08-16-41333abe-1
rpcd-mod-rpcsys - 2018-08-16-41333abe-1
rrdtool1 - 1.0.50-2
snmp-utils - 5.7.3-9
snmpd - 5.7.3-9
sqm-scripts - 1.2.3-1
sqm-scripts-extra - 2016-06-08-1
swconfig - 11
tc - 4.16.0-4
tcpdump-mini - 4.9.2-1
terminfo - 6.1-1
uboot-envtools - 2018.03-1
ubox - 2018-02-14-128bc35f-2
ubus - 2018-07-26-40e0931e-1
ubusd - 2018-07-26-40e0931e-1
uci - 2018-08-11-4c8b4d6e-1
uclient-fetch - 2018-08-03-ae1c656f-1
uhttpd - 2018-06-26-796d42bc-1
uhttpd-mod-ubus - 2018-06-26-796d42bc-1
usign - 2015-07-04-ef641914-1
wifischedule - 1-2
wireless-regdb - 2017-10-20-4343d359
wireless-tools - 29-5
wpa-cli - 2018-04-09-fa617ee6-5
wpad-mesh - 2018-04-09-fa617ee6-5
zabbix-agentd - 3.2.7-2
zabbix-extra-mac80211 - 3.2.7-2
zabbix-extra-network - 3.2.7-2
zabbix-extra-wifi - 3.2.7-2
zlib - 1.2.11-2

If I disable the wireless interfaces the messages stop. Also sometimes the AP reboot on its own I’m attaching a dmesg I manage so get when the AP reboots.

16.07.20192392Base systemBug ReportVery LowMediumulogd not logging to fileopenwrt-18.06Unconfirmed Task Description

Netgear R7800
OpenWRT 18.06.4

Works on another router model

Reproduce:
Install ulogd and try to log to file
stack used:

# this is a stack for packet-based logging via LOGEMU
stack=log2:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOG

[emu1]
file=”/var/log/ulog/ulogd_syslogemu.log”

:~# ulogd -vvv
<7> ulogd.c:622 load_plugin: ‘/usr/lib/ulogd/ulogd_filter_IP2BIN.so’: Error relocating /usr/lib/ulogd/ulogd_filter_IP2BIN.so: uint32_to_ipv6: symbol not found
<5> ulogd.c:843 building new pluginstance stack: ‘log2:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU’ <7> ulogd_inppkt_NFLOG.c:552 unable to bind to log group 1
<7> ulogd.c:813 error starting `log2’ <8> ulogd.c:1430 not even a single working plugin stack
Fatal error.

14.07.20192384KernelBug ReportVery LowLowAsus WL500GP V2 crashopenwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on - Asus WL500GP V2;
- Software versions of OpenWrt/LEDE - OpenWrt 18.06.4, r7808-ef686b7292
- Steps to reproduce - I’m not sure, just a higher load and utilizing the wireless connection. For example I’m loading the LuCi realtime graphs in the browser and start downloading a file from the local network.

I’m attaching a crashlog obtained via `cat /sys/kernel/debug/crashlog`. There seems to be a hint for the problem:

<4>[461295.961960] Unhandled kernel unaligned access[#1]:
<4>[461295.967070] CPU: 0 PID: 1299 Comm: irq/5-b43 Not tainted 4.14.131 #0
<4>[461295.973745] task: 80e62680 task.stack: 80e6c000
<4>[461295.978525] $ 0   : 00000000 1000f800 00000001 00000000
<4>[461295.984061] $ 4   : ea1d3f8d 00000022 40005000 00000000
<4>[461295.989598] $ 8   : 80abebd8 00000000 00000002 00000057
<4>[461295.995136] $12   : 0000be9e 00008cc6 00001f00 00000000
<4>[461296.000673] $16   : 00000000 80abf50c 80abf4e0 80e5cd80
<4>[461296.006210] $20   : 00000001 80d77c80 00000000 8041b944
<4>[461296.011747] $24   : 00000000 8024d010
<4>[461296.017285] $28   : 80e6c000 80e6d930 80420000 80262264
<4>[461296.022823] Hi    : 00000000
<4>[461296.025899] Lo    : 002457e0
<4>[461296.028984] epc   : 80262e70 0x80262e70
<4>[461296.033055] ra    : 80262264 0x80262264
<4>[461296.037115] Status: 1000f803     KERNEL EXL IE
<4>[461296.041563] Cause : 00800010 (ExcCode 04)
<4>[461296.045807] BadVA : ea1d3fa1
<4>[461296.048884] PrId  : 00029029 (Broadcom BMIPS3300)
11.07.20192381Base systemBug ReportVery LowLowHostname variable is missing for the same machine on di...openwrt-18.06New Task Description

Hello,

an older Asus eeePC was just connected to the router using cable. Seconds later the wireless connection became alive as well.
On the DHCP leases I can see the 1 sec older entry for the wired connection, but shows no hostname.
The wireless connection’s lease will expire 1 second later and has the hostname variable.
Is this function broken by design?

Regards

09.07.20192370Base systemBug ReportVery LowCriticalCPE210 V1.1 Brick after update 18.06.04openwrt-18.06Unconfirmed Task Description

Trying to update to the latest version (openwrt-18.06.4-ar71xx-generic-cpe210-220-v1-squashfs-sysupgrade.bin) has failed and has entered into safeloader. I put it to your knowledge in case there is a fault in the firmware.

CPE210 V1.1 with openwrt-18.06.2-ar71xx-generic-cpe210-220-v1-squashfs-sysupgrade.bin

With a USB serial cable:

“TP-LINK SafeLoader (Build time: Jun 12 2015 - 09:49:53)
CPU: 560MHz AHB: 225MHz DDR: 64MB
Performing LED check.. PASS
Press CTRL+B to enter SafeLoader: 1
Flash Manufacturer: Unknown(0xc8)
Flash Device ID: Unknown(0×4017)
Data flash init failed.
open user-config failed.
open user-config failed.

enet0 port4 up

TFTP server address is 192.168.0.100; our address is 192.168.0.254
Get filename ‘recovery.bin’.

TFTP error: Starting again.
faddr is 0×0, fsize is 0×0 reserved is 0x83832c86, load_reserved_size is 0×0 WARNING: Data loaded outside of the reserved load area, memory corruption may occur.
##Warning: File is unidentiable. Try downloading

TFTP server address is 192.168.0.100; our address is 192.168.0.254
Get filename ‘vmlinuz’.

TFTP error: Starting again.
faddr is 0×0, fsize is 0×0 reserved is 0×83832206, load_reserved_size is 0×0 WARNING: Data loaded outside of the reserved load area, memory corruption may occur.
##ERROR: Can’t download image.

Password”

07.07.20192361Base systemBug ReportVery LowMediumds-lite broken in 18.06.4openwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Archer c7 v2

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

vanilla 18.0.6.4 with opkg install ds-lite

- Steps to reproduce

install 18.06.4 and after opkg install ds-lite. ipv4 connection won’t come up.

 


25.06.20192339Base systemBug ReportVery LowHighFailed to download the package listopenwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: OpenWRT 18.06.2 inside lxc container
- Software versions of OpenWrt/LEDE release, packages, etc.: both amd64 and aarch64
- Steps to reproduce

$ opkg update
~ # opkg update
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/x86/64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/x86/64/packages/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/x86_64/base/Packages.gz * Failed to download the package list from http://downloads.openwrt.org/releases/18.06.2/packages/x86_64/base/Packages.gz **


24.06.20192336PackagesBuild FailureVery LowHighBuild fail with php7openwrt-18.06Unconfirmed Task Description

Hi all,
When using openwrt builder and adding package in make command, build fails because PHP7 packages are missing in repository and packages lists.
could you take a look please ?
have a nice day

22.06.20192332Base systemBug ReportVery LowHighCustom DNS servers settings not work on WAN6 interface openwrt-18.06Waiting on reporter Task Description

Supply the following if possible:
- Device problem occurs on
x86-64 virtual machine hosted by ESXI6.7u2

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 18.06.2 r7676-cddd7b4c77 / LuCI openwrt-18.06 branch (git-19.170.32094-4d6d8bc)

- Steps to reproduce
all steps performed on LUCI
1. Set WAN interface to ignore peer DNS to use custom DNS 127.0.0.1
2. Set WAN6 interface to ignore peer DNS to use custom DNS ::1
3. Start WAN (PPPOE) and WAN6 (DNCPv6 client)

issue: Check effective DNS, custom WAN6 DNS setting is ignored

/tmp/resolv.conf.auto
# Interface lan
nameserver 127.0.0.1
# Interface wan
nameserver 127.0.0.1
# Interface wan_6
nameserver 240e:58:c000:1600:180:168:255:118
nameserver 240e:58:c000:1000:116:228:111:18


19.06.20192329Base systemBug ReportVery LowMediumopenvpn: Options error: You must define TUN/TAP device ...openwrt-18.06Unconfirmed Task Description

Hi!

Installation of OpenWrt 18.06.2 On Linksys E900 router.
Nothing extraordinary in relation to flashing and initial configuration.

Configure first lan port as a connection towards the internal network. Everything working as expected.
Installed openvpn-openssl. Tried to configure it and ran into the error “Options error: You must define TUN/TAP device (–dev)”.

Nothing I tried resulted in disappearance of that error message.

Below are relevant configuration snippets.

/etc/config/network
config interface ‘loopback’ option ifname ‘lo’ option proto ‘static’ option ipaddr ‘127.0.0.1’ option netmask ‘255.0.0.0’

config globals ‘globals’ option ula_prefix ‘fdd3:5676:7153::/48’

config interface ‘lan’ option type ‘bridge’ option ifname ‘eth0.1’ option proto ‘static’ option netmask ‘255.255.255.0’ option ipaddr ‘192.168.100.2’ option dns ‘192.168.100.1’ option gateway ‘192.168.100.1’ option delegate ‘0’

config interface ‘wan’ option ifname ‘eth0.2’ option proto ‘dhcp’ option auto ‘0’

config interface ‘wan6’ option ifname ‘eth0.2’ option proto ‘dhcpv6’ option auto ‘0’

config switch
option name ‘switch0’ option reset ‘1’ option enable_vlan ‘1’

config switch_vlan
option device ‘switch0’ option vlan ‘1’ option ports ‘0 1 2 3 5t’

config switch_vlan
option device ‘switch0’ option vlan ‘2’ option ports ‘4 5t’

config interface ‘vpn’ option proto ‘none’ option ifname ‘tun0’ option auto ‘1’

/etc/config/openvpn
config openvpn ‘udp1194’ option keepalive ‘10 60’ option server ‘192.168.168.0 255.255.255.0’ option persist_tun ‘1’ option persist_key ‘1’ option tls_auth ‘/etc/openvpn/ta.key’ option ca ‘/etc/openvpn/ca.crt’ option cert ‘/etc/openvpn/server.crt’ option key ‘/etc/openvpn/server.key’ option dh ‘/etc/openvpn/dh.pem’ option key_direction ‘0’ list push ‘redirect-gateway def1’ list push ‘dhcp-option DNS 8.8.4.4’ list push ‘dhcp-option DNS 8.8.8.8’ list push ‘block-outside-dns’ option cipher ‘AES-256-CBC’ option auth ‘SHA256’ option proto ‘udp’ option port ‘1194’ option enabled ‘1’ option verb ‘9’ option log_append ‘/tmp/openvpn-udp1194.log’ option dev ‘tun’

Thank you very much in advance.

 


18.06.20192326KernelBug ReportVery LowMediumpage_owner=on doesn't work on Firefly FireWRTopenwrt-18.06Unconfirmed Task Description
  1. use ‘make kernel_menuconfig’ to configure page_owner function and add page_owner=on to kernel boot cmdline
  1. compile, and update the Firefly FireWRT board
  1. login into the system, cat ‘/sys/kernel/debug/page_owner’, no output
14.06.20192319PackagesBug ReportVery LowHighusbmode bug which is fixed in usb-modeswitch...openwrt-18.06Unconfirmed Task Description

I wrote a bug report but then the bug report said wrong token and I lost the report... :(

Now again but shorter version. The usb-modeswitch (which seems to be an openwrt project, a rewrite of original usb_modeswitch https://git.openwrt.org/project/usbmode.git ) needs to set some devices to config 0 before switching to config 3.

BTW this is fixed in usb-modeswitch... Here is the link to discussion about this:
http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=2710&start=22

Some devices need to be set to config 0 first to be able to switch to config 3. Otherwise they hang...

Here a working example:

root@OpenWrt:~# echo 0 > /sys/bus/usb/devices/1-2/bConfigurationValue
root@OpenWrt:~# echo 3 > /sys/bus/usb/devices/1-2/bConfigurationValue
root@OpenWrt:~# umbim -d /dev/cdc-wdm0 caps

devicetype: 0001 - embedded
cellularclass: 0001
voiceclass: 0001 - no-voice
simclass: 0002
dataclass: 8000003F
smscaps: 0003
controlcaps: 0001
maxsessions: 0003
deviceid: 867377023108313
firmwareinfo: 11.617.06.00.00
hardwareinfo: RM1ME909ASM

root@OpenWrt:~#

A non-working example (after reboot):

root@OpenWrt:~# echo 3 > /sys/bus/usb/devices/1-2/bConfigurationValue
root@OpenWrt:~# umbim -d /dev/cdc-wdm0 caps
ERROR: mbim message timeout
root@OpenWrt:~#

At least one other person in OpenWRT bug tracker confirms this:
https://bugs.openwrt.org/index.php?do=details&task_id=1424

Although he has another problem with looping messages (probably unrelated to this bug)
https://forum.openwrt.org/t/usbmode-sits-in-loop-after-install/12624

08.06.20192314Base systemBug ReportVery LowLowRandom crashes on ZBT-WG3526 (16M) and OpenWrt 18.06.2 ...openwrt-18.06Waiting on reporter Task Description

Supply the following if possible:
- Device problem occurs on
ZBT-WG3526 (16M)
https://openwrt.org/toh/hwdata/zbt/zbt_wg3526_16m

- Software versions of OpenWrt/LEDE release, packages, etc.
Firmware
http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt7621/openwrt-18.06.2-ramips-mt7621-zbt-wg3526-16M-squashfs-sysupgrade.bin

- Steps to reproduce
Not known

I’ve attached the full list of installed packages and the crashlog I managed to recover. Possible relevant highlight below from the crashlog.

Also attached is the backup archive generated, with sensitive bits redacted (ie passwords)

I love OpenWrt and can’t wait to have a non crashing router.

If anything else is needed please let me know.

Thanks!


29.05.20192298PackagesBug ReportVery LowLowigmpproxy should restart on WAN ifup instead of using a...openwrt-18.06Unconfirmed Task Description

I’m using igmpproxy for IPTV on openwrt-18.06.2-ar71xx-generic-tl-wr1043nd-v1-squashfs-sysupgrade.bin

In the past I’ve been bitten by a version of this bug:

https://dev.archive.openwrt.org/ticket/20443#

Basically igmpproxy will not always start or continue to work when the wan network does ifup/ifdown.

I solved it with the solution listed there:

““” /etc/hotplug.d/iface/40-igmpproxy with this content

#!/bin/sh
[ “$INTERFACE” = wan ] && [ “$ACTION” = ifup ] && /etc/init.d/igmpproxy restart

and run

/etc/init.d/igmpproxy disable
““”

That seems like a better default, maybe even restarting on any ifup and not just wan, to make it fullproof against weirder setups with interfaces named differently.

26.05.20192295Base systemBug ReportVery LowMediumWebsite interface not accessible via port 80openwrt-18.06Unconfirmed Task Description

Model Buffalo WZR-HP-G300NH
Architecture Atheros AR9132 rev 2
Firmware Version OpenWrt 18.06.2 r7676-cddd7b4c77 / LuCI openwrt-18.06 branch (git-19.020.41695-6f6641d)
Kernel Version 4.9.152

After boot, I cannot access the configuration interface via port 80.
Investigation reveals the following:

- netstat: uhttpd is not listening on port 80

# netstat -anp | grep uhttpd
tcp 0 0 0.0.0.0:9443 0.0.0.0:* LISTEN 921/uhttpd
tcp 0 0 0.0.0.0:9080 0.0.0.0:* LISTEN 921/uhttpd

- ps: uhttpd _should_ be listening on port 80

# ps | grep uhttpd

921 root      1328 S    /usr/sbin/uhttpd -f -h /www -r skynet -x /cgi-bin -t 60 -T 30 -A 1 -n 3 -R -p 0.0.0.0:9080 -p <br-lan IP>:80 -p 0.0.0.0:9443

- logread: Something went screwy at startup

# logread | grep httpd
Sun May 26 11:51:26 2019 daemon.err uhttpd[921]: bind(): Address not available

If I run `/etc/init.d/uhttpd restart`, the service comes up properly, listening on port 80; this suggests that something is interfering during early startup, though I have no idea what it could possibly be.

15.05.20192285Base systemBug ReportVery LowLowKERNEL_IN_UBI=0 is ineffective in image-commands.mkopenwrt-18.06Assigned Task Description

device: marvell kirkwood 88f6281
system: openwrt 18.06.2

I want to get a *.factory.bin without kernel, but it is ineffective to set KERNEL_IN_UBI=0 in openwrt-18.06.2/target/linux/kirkwood/image/Makefile.

I got the wrong place in openwrt-18.06.2/include/image-commands.mk, line:177, it should be

$(if $(filter $(KERNEL_IN_UBI), 1), –kernel $(IMAGE_KERNEL))

Maybe it is the same wrong in line 176, but i’m not sure, because i don’t find where UBOOTENV_IN_UBI is used.

13.05.20192280PackagesBug ReportVery LowHighbridge iface with NO-CARRIER unreachable over ipv6openwrt-18.06Unconfirmed Task Description

Supply the following if possible:

- Device problem occurs on

ubus -S call system board

{”kernel”:”4.14.113”,”hostname”:”to”,”system”:”ARMv7 Processor rev 1 (v7l)”,”model”:”Turris Omnia”,”board_name”:”armada-385-turris-omnia”,”release”:{”distribution”:”TurrisOS”,”version”:”4.0-beta1”,”revision”:”0663455801”,”target”:”mvebu\/cortexa9”,”description”:”TurrisOS 4.0-beta1 0663455801”}}


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


- Steps to reproduce

With no client (NO-CARRIER) connected to the br-iface its ipv6 is not accessible whilst ipv4 is. Connecting a client to the br-iface and its ipv6 becomes accessible.

It would be expected that the br-iface is accessible not only via ipv4 but also ipv6 regardless of the Carrier state as long as the br-iface is up.

config globals 'globals'
	option ula_prefix 'fd30:d64c:1eed::/48'

config interface 'mgt'
	option type 'bridge'
	option bridge_empty '1'
	option proto 'static'
	option ipaddr '192.168.112.12'
	option netmask '255.255.255.0'
	list ip6addr 'fd30:d64c:1eed:4c3a::12'
	option ip6assign '64'
	option ip6hint '4c3a'
	option ip6ifaceid 'random'
	option ifname 'lan3'
ifstatus mgt
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 44703,
        "l3_device": "br-mgt",
        "proto": "static",
        "device": "br-mgt",
        "updated": [
                "addresses"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "192.168.112.12",
                        "mask": 24
                }
        ],
        "ipv6-address": [
                {
                        "address": "fd30:d64c:1eed:4c3a::12",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [
                {
                        "address": "fd30:d64c:1eed:4c3a::",
                        "mask": 64,
                        "local-address": {
                                "address": "fd30:d64c:1eed:4c3a:17c8:d407:23a0:d524",
                                "mask": 64
                        }
                }
        ],
        "route": [

        ],
        "dns-server": [

        ],
        "dns-search": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ]
        },
        "data": {

        }
}
ip l show up | grep mgt
8: lan3@eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-mgt state LOWERLAYERDOWN mode DEFAULT group default qlen 1000
18: br-mgt: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
ip -o a show br-mgt
18: br-mgt    inet 192.168.112.12/24 brd 192.168.112.255 scope global br-mgt\       valid_lft forever preferred_lft forever
18: br-mgt    inet6 fd30:d64c:1eed:4c3a:17c8:d407:23a0:d524/64 scope global tentative noprefixroute \       valid_lft forever preferred_lft forever
18: br-mgt    inet6 fd30:d64c:1eed:4c3a::12/128 scope global tentative \       valid_lft forever preferred_lft forever
  • ip routing tables of the br-iface with NO-CARRIER
ip route show table all dev br-mgt
192.168.112.0/24 proto kernel scope link src 192.168.112.12 linkdown
broadcast 192.168.112.0 table local proto kernel scope link src 192.168.112.12 linkdown
local 192.168.112.12 table local proto kernel scope host src 192.168.112.12
broadcast 192.168.112.255 table local proto kernel scope link src 192.168.112.12 linkdown
fd30:d64c:1eed:4c3a::12 proto kernel metric 256 linkdown pref medium
fd30:d64c:1eed:4c3a::/64 proto static metric 1024 linkdown pref medium
ff00::/8 table local metric 256 linkdown pref medium
 
  • ip routing tables of the br-iface with CARRIER
ip route show table all dev br-mgt
192.168.112.0/24 proto kernel scope link src 192.168.112.12
broadcast 192.168.112.0 table local proto kernel scope link src 192.168.112.12
local 192.168.112.12 table local proto kernel scope host src 192.168.112.12
broadcast 192.168.112.255 table local proto kernel scope link src 192.168.112.12
fd30:d64c:1eed:4c3a::12 proto kernel metric 256 pref medium
fd30:d64c:1eed:4c3a::/64 proto static metric 1024 pref medium
fe80::/64 proto kernel metric 256 pref medium
anycast fd30:d64c:1eed:4c3a:: table local proto kernel metric 0 pref medium
local fd30:d64c:1eed:4c3a::12 table local proto kernel metric 0 pref medium
local fd30:d64c:1eed:4c3a:17c8:d407:23a0:d524 table local proto kernel metric 0 pref medium
anycast fe80:: table local proto kernel metric 0 pref medium
local fe80::da58:d7ff:fe00:797a table local proto kernel metric 0 pref medium
ff00::/8 table local metric 256 pref medium

Comparing the ip routing tables of the different Carrier states it is apparent that NO-CARRIER state is short of a few routing entries pertaining to ipv6.

06.05.20192268PackagesBug ReportVery LowLow[dnsmasq/odhcpd] uninstalling dnsmasq is deleting setti...openwrt-18.06Unconfirmed Task Description

utilising odhcpd for ipv4/6 queries led to uninstalling dnsmsaq from the system and in due course the file /etc/config/dhcp got wiped. Said file however holds the settings for odhcpd as well and thus is expected to be retained.

Since the /etc/config/dhcp holds the settings for both, dnsmasq and odhcpd, it should not be wiped if either packages gets uninstalled.

 


04.05.20192266Base systemBug ReportVery LowHighA panic when i newer 1806 in Hyper-Vopenwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- x86_64 Hyper-V
- 18.06.2 offcial image with mwan3, python, bbr
-
https://imgur.com/a/4SthMpw

25.04.20192258PackagesBug ReportVery LowLowtcpdump: bus error on 18.06.2openwrt-18.06Waiting on reporter Task Description

Hey,

On a Mikrotik RB450G (mips_24kc) running OpenWRT 18.06.2, when I try to run tcpdump I get a Bus error. Output from strace:

root@firewall:~# strace tcpdump
execve("/usr/sbin/tcpdump", ["tcpdump"], 0x7fb548b0 /* 13 vars */) = 0
set_thread_area(0x77c57dc0)             = 0
set_tid_address(0x77c50d28)             = 2843
open("/etc/ld-musl-mips-sf.path", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libpcap.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libpcap.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libpcap.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=62976, ...}) = 0
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0=\360\0\0\0004"..., 936) = 936
mmap2(NULL, 245760, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77b70000
mmap2(0x77baa000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2a000) = 0x77baa000
--- SIGBUS {si_signo=SIGBUS, si_code=BUS_ADRERR, si_addr=0x77bab4b8} ---
+++ killed by SIGBUS +++
Bus error
root@firewall:~# 

Something dodgy with the pcap library?

19.04.20192245KernelBug ReportVery LowHighПроблема при загрзуки прошивки на устройствоopenwrt-18.06Unconfirmed Task Description

/code>Supply the following if possible:
- An error occurs when downloading the firmware
-Work on Openwrt 18.06, MT7621 processor
-No devices were connected
Worried about the error with NAND and CPU0, unless of course, I correctly determined that they are the cause

 


15.04.20192239Base systemBug ReportVery LowLowInternet LED on W8970 Not Working (18.06-SNAPSHOT r7737...openwrt-18.06Unconfirmed Task Description

I compiled from sources 18.06-SNAPSHOT r7737-6ac061f319 and internet LED not working properly. When i restart router it’s not working. The trigger is set to netdev and the device is set to pppoe-wan.

config led 'led_internet'
        option name 'internet'
        option sysfs 'tdw89x0:green:internet'
        option trigger 'netdev'
        option mode 'link tx rx'
        option dev 'pppoe-wan'
        option default '0'

If i restart led service (/etc/init.d/led start) it works ok, but if i restart the network interfaces pppoe-wan the diode goes out until i restart again the led service.


14.04.20192238Base systemBug ReportVery LowMedium6in4 endpoint does not update with libustream-wolfsslopenwrt-18.06Unconfirmed Task Description

Device: GL-MT750 / Software: OpenWRT 18.06.2, new install.
Additional packages: 6in4, libustream-wolfssl, curl, ca-bundle

  • Fully configure an IPV6 tunnel with he.net, using the configuration generated by their control panel.
  • Manually update the endpoint, to confirm tunnel is working (TX and RX counters above 0, ping ipv6.google.com works)
  • Force a change in the WAN IPv4, for example “ifup wan”
  • Observe the RX packet counter of the tunnel stays at 0
  • Remove libustream-wolfssl and replace it with libustream-mbedtls
  • Force another IPV4 change
  • Observe that the tunnel endpoint is automatically updated and traffic is flowing

Unrelated changes: /lib/netifd/proto/6in4.sh : max, 3→10
(unrelated in the sense that it doesn’t change the results of the tests but I am documenting it out of completeness)

Showing tasks 1 - 50 of 908 Page 1 of 191 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing