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 InStatus  desc
23.11.20192626Base systemBug ReportVery LowCriticalWestern Digital MyBook Live Single iptables issueopenwrt-19.07Waiting on reporter Task Description

Hello.

https://downloads.openwrt.org/releases/19.07.0-rc1/targets/apm821xx/sata/openwrt-19.07.0-rc1-apm821xx-sata-wd_mybooklive-ext4-sysupgrade.img.gz

root@OpenWrt:~# iptables -L
iptables v1.8.3 (legacy): can’t initialize iptables table `filter’: Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Thank you.

17.10.20192556Base systemBug ReportVery LowLowbusybox: route: unknown character in inet6 route tableTrunkWaiting on reporter Task Description

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

 

unknown character shows up after execute ‘route -A inet6’ command on OpenWrt SNAPSHOT version, don’t know if it is a feature or bug. (Newifi D2)

08.10.20192539Base systemBug ReportVery LowLowlibgpg-error compile error -> 'errnos_msgstr' undeclare...openwrt-18.06Waiting on reporter 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

 


30.09.20192525Base systemBug ReportVery LowMediumLogging of iptables is not workingopenwrt-18.06Waiting on reporter 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!

09.09.20192487Base systemBug ReportVery LowMediumKeenetic problemsTrunkWaiting on reporter Task Description

My Keenetic have 8mb of memory, but in openwrt (latest snapshot) I have only 233kb of free space and not working usb
Please change in /openwrt/target/linux/ramips/dts/rt3052_zyxel_keenetic.dts
This:

partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};

To:

partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};

And in /openwrt/target/linux/ramips/image/rt305x.mk

define Device/zyxel_keenetic
MTK_SOC := rt3052
BLOCKSIZE := 64k
IMAGE_SIZE := 3776k
DEVICE_VENDOR := ZyXEL
DEVICE_MODEL := Keenetic
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ehci kmod-usb-ledtrig-usbport kmod-usb-dwc2
SUPPORTED_DEVICES += kn
endef
TARGET_DEVICES += zyxel_keenetic

To:

define Device/zyxel_keenetic
MTK_SOC := rt3052
BLOCKSIZE := 64k
IMAGE_SIZE := 7872k
DEVICE_VENDOR := ZyXEL
DEVICE_MODEL := Keenetic
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ehci kmod-usb-ledtrig-usbport kmod-usb-dwc2
SUPPORTED_DEVICES += kn
endef
TARGET_DEVICES += zyxel_keenetic
 


16.08.20192446Base systemBug ReportVery LowLowbooting with qemu, firewall fails to protect router ser...TrunkWaiting on reporter Task Description

Started latest malta snapshot with qemu, did not change any configuration.
IPv6 wan interface gets its link-local address.
Firewall allows connections to this address from wan.
Firewall restart helps.

 
tunctl
brctl addbr testbr
brctl addif testbr tap0
ip link set dev tap0 up
ip link set dev testbr up

qemu-system-mips -kernel  openwrt-malta-be-vmlinux.elf 
-hda openwrt-malta-be-rootfs-ext4.img 
-append "root=/dev/sda console=ttyS0" 
-nographic -m 64 
-net nic,model=pcnet 
-net tap,ifname=tap0,script=no,downscript=no
root@OpenWrt:/# ip6tables -nvL INPUT
Chain INPUT (policy ACCEPT 4 packets, 208 bytes)
 pkts bytes target     prot opt in     out     source               destination         
	0     0 ACCEPT     all      lo     *       ::/0                 ::/0                 /* !fw3 */
	4   208 input_rule  all      *      *       ::/0                 ::/0                 /* !fw3: Custom input rule chain */
	0     0 ACCEPT     all      *      *       ::/0                 ::/0                 ctstate RELATED,ESTABLISHED /* !fw3 */
	0     0 syn_flood  tcp      *      *       ::/0                 ::/0                 tcp flags:0x17/0x02 /* !fw3 */
 

After firewall restart (counters are different due to different runs)

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
	0     0 ACCEPT     all      lo     *       ::/0                 ::/0                 /* !fw3 */
	1    80 input_rule  all      *      *       ::/0                 ::/0                 /* !fw3: Custom input rule chain */
	0     0 ACCEPT     all      *      *       ::/0                 ::/0                 ctstate RELATED,ESTABLISHED /* !fw3 */
	1    80 syn_flood  tcp      *      *       ::/0                 ::/0                 tcp flags:0x17/0x02 /* !fw3 */
	1    80 zone_wan_input  all      eth0   *       ::/0                 ::/0                 /* !fw3 */
04.08.20192426KernelBug ReportVery LowHighX86 platform kernel error reportTrunkWaiting on reporter Task Description

platform: x86_64
kernel: 4.19.62
Source version: commit 2caf747116337645420653ec003799a8eef69229

System log:

Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.434155] WARNING: CPU: 1 PID: 1086 at __nf_unregister_net_hook+0x43/0x110
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.441249] Modules linked in: pppoe ppp_async snd_usb_audio snd_hda_intel snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic snd_hda_codec pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp iptable_nat ipt_REJECT ipt_MASQUERADE 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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_fsm ts_bm snd_usbmidi_lib snd_hda_core slhc r8169 nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_proto_gre nf_nat_irc nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.512738]  nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda iptable_raw iptable_mangle iptable_filter ip_tables e1000e crc_ccitt bnx2 asn1_decoder arptable_filter arpt_mangle arp_tables fuse sg evdev i2c_dev cryptodev 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 ip6table_nat ip6t_NPT ip6t_MASQUERADE nf_nat_ipv6 nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_rt ip6t_mh ip6t_ipv6header ip6t_hbh ip6t_frag ip6t_eui64 ip6t_ah nf_log_ipv6 nf_log_common
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.584829]  ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ixgbe igbvf igb e1000 mdio ip_tunnel snd_rawmidi snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_mixer_oss snd_hwdep snd_compress snd soundcore vfat fat udf crc_itu_t hfsplus raid456 async_raid6_recov async_pq async_xor xor raid6_pq async_memcpy async_tx raid10 raid1 raid0 md_mod nls_utf8 nls_iso8859_1 nls_cp936 nls_cp437 sha1_ssse3 sha1_generic authenc uas sdhci_pltfm xhci_plat_hcd ehci_platform xfs libcrc32c reiserfs exfat button_hotplug ptp realtek pps_core mii libphy
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.636678] CPU: 1 PID: 1086 Comm: kworker/u8:6 Not tainted 4.19.62 #0
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.643239] Hardware name:  YL-1900L4-V2/YL-1900L4-V2, BIOS 5.6.5 05/08/2017
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.650343] Workqueue: netns cleanup_net
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.654304] RIP: 0010:__nf_unregister_net_hook+0x43/0x110
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.659739] Code: f9 ff ff 48 85 c0 0f 84 e0 00 00 00 49 89 c5 49 89 ff 48 c7 c7 e0 fd 07 82 41 89 f6 e8 76 41 0e 00 4d 8b 65 00 4d 85 e4 75 13 <0f> 0b 48 c7 c7 e0 fd 07 82 e8 bf 3b 0e 00 e9 af 00 00 00 41 0f b7
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.678640] RSP: 0018:ffffc90001b07d88 EFLAGS: 00010246
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.683901] RAX: 0000000000000000 RBX: ffffffffa0578040 RCX: 0000000000000000
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.691089] RDX: ffff88813a784200 RSI: 0000000000000002 RDI: ffffffff8207fde0
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.698279] RBP: ffffc90001b07db0 R08: 00000000000226e0 R09: ffff88813be1cb40
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.705475] R10: ffffc90001b07cd8 R11: 0000000000000001 R12: 0000000000000000
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.712671] R13: ffff888134c38e00 R14: 0000000000000002 R15: ffff888134c38000
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.719868] FS:  0000000000000000(0000) GS:ffff88813ba80000(0000) knlGS:0000000000000000
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.728017] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.733798] CR2: 00007f1d8ba05da4 CR3: 0000000002008000 CR4: 00000000001006e0
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.740985] Call Trace:
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.743445]  nf_unregister_net_hook+0x3b/0x40
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.747837]  nf_unregister_net_hooks+0x2a/0x40
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.752319]  0xffffffffa0576045
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.755501]  ops_exit_list.isra.9+0x39/0x60
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.759724]  cleanup_net+0x177/0x260
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.763339]  process_one_work+0x1d2/0x320
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.767386]  worker_thread+0x20d/0x3c0
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.771166]  kthread+0x113/0x120
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.774426]  ? process_one_work+0x320/0x320
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.778639]  ? kthread_create_worker_on_cpu+0x40/0x40
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.783723]  ret_from_fork+0x35/0x40
Sun Aug  4 23:57:18 2019 kern.warn kernel: [   85.787335] ---[ end trace 5bd85fc8f41823d7 ]---


01.08.20192419Base systemBug ReportVery LowCriticaloverlay reporting wrong sizeTrunkWaiting on reporter Task Description
DEVICE: APU2 X86_64 SNAPSHOT
FIRMWARE USED: http://downloads.openwrt.org/snapshots/targets/x86/64/openwrt-x86-64-combined-squashfs.img.gz
FIRMWARE SHA256: cf0824377d5a8d9832f5e6f60c78f9ae2f6841d4b9cd3c57f9cfdf72e4f47e81
FIRMWARE DATE: Wed Jul 31 18:02:58 2019
FIRMWARE SIZE: 7146.8 KB

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

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r10641-1d2b2e744e
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# df -hT
Filesystem           Type            Size      Used Available Use% Mounted on
/dev/root            squashfs        2.5M      2.5M         0 100% /rom
tmpfs                tmpfs           1.9G     72.0K      1.9G   0% /tmp
/dev/loop0           f2fs          123.5M     65.6M     57.9M  53% /overlay
overlayfs:/overlay   overlay       123.5M     65.6M     57.9M  53% /
/dev/mmcblk0p1       ext4           15.7M      4.3M     11.1M  28% /boot
/dev/mmcblk0p1       ext4           15.7M      4.3M     11.1M  28% /boot
tmpfs                tmpfs         512.0K         0    512.0K   0% /dev
root@OpenWrt:/# find /overlay
/overlay
/overlay/upper
/overlay/upper/boot
/overlay/upper/etc
/overlay/upper/etc/board.json
/overlay/upper/etc/config
/overlay/upper/etc/config/network
/overlay/upper/etc/config/system
/overlay/upper/etc/config/dhcp
/overlay/upper/etc/config/dropbear
/overlay/upper/etc/config/firewall
/overlay/upper/etc/uci-defaults
/overlay/upper/etc/uci-defaults/10_migrate-shadow
/overlay/upper/etc/uci-defaults/12_network-generate-ula
/overlay/upper/etc/uci-defaults/13_fix_group_user
/overlay/upper/etc/uci-defaults/20_migrate-feeds
/overlay/upper/etc/uci-defaults/odhcpd.defaults
/overlay/upper/etc/dropbear
/overlay/upper/etc/dropbear/dropbear_rsa_host_key
/overlay/upper/etc/urandom.seed
/overlay/work
/overlay/work/work
/overlay/.fs_state
root@OpenWrt:/#

27.07.20192411Base systemBug ReportVery LowHighChanges to configuration are not saved between reboots ...openwrt-18.06Waiting on reporter 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
11.07.20192381Base systemBug ReportVery LowLowHostname variable is missing for the same machine on di...openwrt-18.06Waiting on reporter 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

03.07.20192353Base systemBug ReportVery LowLowCPU: 0 PID: 11550 Comm: kworker/u2:3 Not tainted 4.14.1...TrunkWaiting on reporter Task Description

Supply the following if possible:
- Device problem occurs on MT7620 and MT7621 ( zbt 3526 / zbt 826)
- Software version: trunk LuCI Master (f138fc93) / OpenWrt SNAPSHOT r10374-fdd0a8d491
- Steps to reproduce: is happening after a while, strange as it was everywhere happening .. maybe it was related to keepalaive ?

 

installed mwan3 & tried to restart, but funny as all of the routers got this crash message.

Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.490007] ------------[ cut here ]------------
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.494765] WARNING: CPU: 0 PID: 11550 at net/netfilter/core.c:393 __nf_unregister_net_hook+0x84/0x330
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.504344] Modules linked in: rt2800soc rt2800mmio rt2800lib pppoe ppp_async option usb_wwan rt2x00soc rt2x00mmio rt2x00lib pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY usbserial ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_rtsp 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
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.600916]  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_rtsp nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat br_netfilter sch_cake nf_conntrack sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred 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
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.698070]  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 nfsv4 nfsv3 nfs ip_gre gre ifb ip_tunnel tun vfat fat lockd sunrpc grace dns_resolver dm_mirror dm_region_hash dm_log dm_crypt dm_mod dax nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic ecb usb_storage sd_mod scsi_mod ext4 mbcache jbd2 crc16 cryptomgr aead crypto_null crc32c_generic crypto_hash mmc_block mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.490007] ------------[ cut here ]------------
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.494765] WARNING: CPU: 0 PID: 11550 at net/netfilter/core.c:393 __nf_unregister_net_hook+0x84/0x330
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.504344] Modules linked in: rt2800soc rt2800mmio rt2800lib pppoe ppp_async option usb_wwan rt2x00soc rt2x00mmio rt2x00lib pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY usbserial ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_rtsp 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
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.600916]  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_rtsp nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat br_netfilter sch_cake nf_conntrack sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred 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
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.698070]  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 nfsv4 nfsv3 nfs ip_gre gre ifb ip_tunnel tun vfat fat lockd sunrpc grace dns_resolver dm_mirror dm_region_hash dm_log dm_crypt dm_mod dax nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic ecb usb_storage sd_mod scsi_mod ext4 mbcache jbd2 crc16 cryptomgr aead crypto_null crc32c_generic crypto_hash mmc_block mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.775586] CPU: 0 PID: 11550 Comm: kworker/u2:3 Not tainted 4.14.131 #0
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.782475] Workqueue: netns cleanup_net
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.786480] Stack : 8030d148 00000189 00000002 8005c208 804a8c98 00000000 00000001 80f76994
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.795046]         804a4c9c 8639dcc4 80500000 8005d0f4 00000002 80f76995 8639dca0 1b26b88a
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.803624]         00000000 00000000 00000000 00011da0 00000000 00000ab2 00000008 00000000
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.812182]         00000000 80500000 000bf08b 00000000 00000000 00000009 00000000 804ccb2c
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.820740]         8030d148 00000189 00000002 802c5d00 00000003 80247508 00000000 80550000
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.829299]         ...
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.831797] Call Trace:
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.834315] [<8000f0b0>] show_stack+0x58/0x100
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.838876] [<8002ad90>] __warn+0xe4/0x13c
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.843869] [<8002ae78>] warn_slowpath_null+0x1c/0x34
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.849817] [<8030d148>] __nf_unregister_net_hook+0x84/0x330
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.855616] [<8030d488>] nf_unregister_net_hooks+0x38/0x5c
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.861283] [<802c4bf4>] ops_exit_list.isra.11+0x58/0xa8
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.866709] [<802c5d60>] cleanup_net+0x1ac/0x2d0
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.871461] [<800408b4>] process_one_work+0x26c/0x418
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.876618] [<80040d80>] worker_thread+0x320/0x56c
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.881537] [<80046c64>] kthread+0x134/0x148
Wed Jul  3 15:36:08 2019 kern.warn kernel: [46645.885899] [<80009a98>] ret_from_kernel_thread+0x14/0x1c


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


11.06.20192316KernelBug ReportVery LowCriticalKernel's iptables crash unexpectedlyTrunkWaiting on reporter Task Description

<Xiaomi Mi Router 3G / OpenWrt SNAPSHOT, r10173-6b762dd>
My router sometimes restart unexpectedly with no reason. Here’s the kernel’s crash log (/sys/kernel/debug/crashlog)

<0>[12930.571103] usercopy: kernel memory overwrite attempt detected to c2651000 (kmalloc-2048) (5408 bytes)
<4>[12930.580437] Kernel bug detected[#1]:
<4>[12930.584007] CPU: 2 PID: 28709 Comm: iptables Not tainted 4.14.123 #0
<4>[12930.590333] task: 8186ddc0 task.stack: 81fe4000
<4>[12930.594840] $ 0   : 00000000 00000001 0000005a 00000000
<4>[12930.600054] $ 4   : 8122d33c 8122d33c 81231e78 00007388
<4>[12930.605266] $ 8   : 00000000 00000194 00000008 00000000
<4>[12930.610476] $12   : 00000000 805c0000 0008b6df 00000000
<4>[12930.615697] $16   : c2651000 00001520 00000000 c2652520
<4>[12930.620906] $20   : 006678e0 00001548 00000000 77fca000
<4>[12930.626115] $24   : 00000001 802ab558
<4>[12930.631326] $28   : 81fe4000 81fe5dc0 00000000 80116360
<4>[12930.636539] Hi    : 00000124
<4>[12930.639403] Lo    : 74e58000
<4>[12930.642286] epc   : 80116360 __check_object_size+0x1b0/0x1e0
<4>[12930.647921] ra    : 80116360 __check_object_size+0x1b0/0x1e0
<4>[12930.653549] Status: 11007c03      KERNEL EXL IE
<4>[12930.657721] Cause : 50800024 (ExcCode 09)
<4>[12930.661707] PrId  : 0001992f (MIPS 1004Kc)
<4>[12930.665796] Modules linked in: pppoe ppp_async pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY 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
<4>[12930.736837]  nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat fuse sch_cake nf_conntrack sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport 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
<4>[12930.808159]  ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip_gre gre ifb ip_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic ecb usb_storage sd_mod scsi_mod ext4 mbcache jbd2 crc32c_generic leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
<4>[12930.835248] Process iptables (pid: 28709, threadinfo=81fe4000, task=8186ddc0, tls=77fd8eb8)
<4>[12930.843554] Stack : 818c0040 8055090c 8055e4c8 c2651000 8054f124 00001520 00000000 00001520
<4>[12930.851887]         c2651000 00667908 805d9980 8ead1c3c 818c0000 818c0040 c264e000 805b0000
<4>[12930.860223]         805b0000 805e0000 00000041 8f1b9c98 805d9980 c264e000 0066a000 81fe5e34
<4>[12930.868560]         8adcd004 006663b0 81840040 805d9980 00000000 00000000 746c6966 00007265
<4>[12930.876894]         00000000 00000000 00000000 00000000 00000000 00000000 00000152 00000000
<4>[12930.885244]         ...
<4>[12930.887733] Call Trace:
<4>[12930.890172] [<80116360>] __check_object_size+0x1b0/0x1e0
<4>[12930.895540] [<8ead1c3c>] xt_copy_counters_from_user+0xac/0x158 [x_tables]
<4>[12930.902322] [<8f1b9c98>] ipt_register_table+0x508/0xdf8 [ip_tables]
<4>[12930.908568] Code: 02003825  0c01d530  24840924 <000c000d> 8fb30028  8fb20024  8fb10020  8fb0001c  03e00008
<4>[12930.918296]
<4>[12930.920137] ---[ end trace 0d59c51a87e12512 ]---
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!


31.05.20192303Base systemBug ReportVery LowLowwpad-mesh crashes with encryption enabledTrunkWaiting on reporter Task Description

device is wdr3600

DISTRIB_ID=’OpenWrt’ DISTRIB_RELEASE=’18.06.2’ DISTRIB_REVISION=’r7676-cddd7b4c77’ DISTRIB_TARGET=’ar71xx/generic’ DISTRIB_ARCH=’mips_24kc’ DISTRIB_DESCRIPTION=’OpenWrt 18.06.2 r7676-cddd7b4c77’ DISTRIB_TAINTS=’’ r7676-cddd7b4c77

the rom is built with package builder:
PROFILE=tl-wdr3600-v1 PACKAGES=”luci luci-app-sqm conntrack kmod-usb2 kmod-usb-storage block-mount kmod-fs-ext4 e2fsprogs badblocks openssh-sftp-server luci-app-ddns libustream-openssl luci-app-openvpn openvpn-openssl -wpad-mini wpad-mesh-wolfssl”

my log is full of:
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.369096] ————[ cut here ]———— Fri May 31 10:15:26 2019 kern.warn kernel: [15298.373874] WARNING: CPU: 0 PID: 9955 at backports-2017-11-01/net/mac80211/wpa.c:431 0×87708734 [mac80211@87700000+0x5fc20]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.385196] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.457266] sch_hfsc sch_ingress ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb tun usb_storage ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc16 crc32c_generic crypto_hash
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.484154] CPU: 0 PID: 9955 Comm: kworker/u2:1 Tainted: G W 4.9.152 #0
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.492028] Workqueue: phy1 0x876ec0a0 [ath9k@876e0000+0×16370]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.498054] Stack : 00000123 863d3af8 877cade0 800a931c 00000000 00000000 00000000 00000000
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.506616] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.515169] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.523713] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.532259] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.540812] ...
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.543314] Call Trace:
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.545666] [<800a931c>] 0x800a931c
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.549209] [<8006ad4c>] 0x8006ad4c
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.552762] [<8006ad4c>] 0x8006ad4c
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.556319] [<8007fd84>] 0x8007fd84
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.559868] [<87708734>] 0×87708734 [mac80211@87700000+0x5fc20]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.565911] [<8007fe20>] 0x8007fe20
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.569458] [<87708734>] 0×87708734 [mac80211@87700000+0x5fc20]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.575519] [<876e8ef8>] 0x876e8ef8 [ath9k@876e0000+0×16370]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.581343] [<87727ee0>] 0x87727ee0 [mac80211@87700000+0x5fc20]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.587439] [<8772ab3c>] 0x8772ab3c [mac80211@87700000+0x5fc20]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.593621] [<876e96e4>] 0x876e96e4 [ath9k@876e0000+0×16370]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.599368] [<87717930>] 0×87717930 [mac80211@87700000+0x5fc20]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.605451] [<876e97a8>] 0x876e97a8 [ath9k@876e0000+0×16370]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.611215] [<80065ea0>] 0x80065ea0
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.614822] [<87717490>] 0×87717490 [mac80211@87700000+0x5fc20]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.620903] [<876e9e1c>] 0x876e9e1c [ath9k@876e0000+0×16370]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.626721] [<876ea320>] 0x876ea320 [ath9k@876e0000+0×16370]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.632529] [<876ea410>] 0x876ea410 [ath9k@876e0000+0×16370]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.638353] [<87729fcc>] 0x87729fcc [mac80211@87700000+0x5fc20]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.644409] [<87727250>] 0×87727250 [mac80211@87700000+0x5fc20]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.650470] [<8772bcc4>] 0x8772bcc4 [mac80211@87700000+0x5fc20]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.656499] [<8027eb6c>] 0x8027eb6c
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.660132] [<8772d630>] 0x8772d630 [mac80211@87700000+0x5fc20]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.666162] [<802ad588>] 0x802ad588
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.669702] [<80450000>] 0×80450000 Fri May 31 10:15:26 2019 kern.warn kernel: [15298.673256] [<80082e74>] 0x80082e74
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.676808] [<8008274c>] 0x8008274c
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.680384] [<876ec15c>] 0x876ec15c [ath9k@876e0000+0×16370]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.686137] [<80082940>] 0×80082940 Fri May 31 10:15:26 2019 kern.warn kernel: [15298.689697] [<876ec088>] 0x876ec088 [ath9k@876e0000+0×16370]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.695462] [<800829f8>] 0x800829f8
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.699010] [<87682e5c>] 0x87682e5c [ath9k_hw@87680000+0×51020]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.705047] [<876ec16c>] 0x876ec16c [ath9k@876e0000+0×16370]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.710847] [<80092c70>] 0x80092c70
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.714427] [<800927f0>] 0x800927f0
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.718005] [<80093a7c>] 0x80093a7c
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.721542] [<80093788>] 0×80093788 Fri May 31 10:15:26 2019 kern.warn kernel: [15298.725094] [<80093788>] 0×80093788 Fri May 31 10:15:26 2019 kern.warn kernel: [15298.728651] [<80098220>] 0×80098220 Fri May 31 10:15:26 2019 kern.warn kernel: [15298.732204] [<80098144>] 0×80098144 Fri May 31 10:15:26 2019 kern.warn kernel: [15298.735759] [<80065ef8>] 0x80065ef8
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.739305]
Fri May 31 10:15:26 2019 kern.warn kernel: [15298.740822] —[ end trace 07a56879b3fe468f ]—

And wifi connectivity on radio0 is gone. There is another router on the mesh (WR740v4 with openwrt 18.06.2). I have tried with wpad-mesh-openssl but results were the same.

This mesh was configured about one week ago and was working fine for a few days, but since yesterday is show this behaviour. A reboot on this router does not solve the problem.

Configuration is as follows:
/etc/config/network:

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0.1'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '10.10.0.1'

/etc/config/wireless:

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11g'
        option path 'platform/ar934x_wmac'
        option country 'BR'
        option legacy_rates '1'
        option txpower '17'
        option channel '9'
        option htmode 'HT40'
        option disabled 0

config wifi-iface 'default_radio0'
        option device 'radio0'
        option ifname 'wlan0'
        option network 'lan'
        option mode 'ap'
        option ssid 'AP'
        option wds '0'
        option encryption 'psk2/aes'
        option key 'password'
        option wpa_disable_eapol_key_retries '1'
        option disabled 0

config wifi-iface 'mesh0'
        option network 'lan'
        option ifname 'mesh0'
        option device 'radio0'
        option mode 'mesh'
        option mesh_id 'meshid'
        option encryption 'psk2/aes'
        option key 'password'
        option mesh_fwding '1'
        option disabled 0
02.05.20192264Base systemBug ReportVery LowHighlibc.so kernel error: do_page_fault(): sending SIGSEGV ...TrunkWaiting on reporter Task Description

newest trunk: OpenWrt SNAPSHOT r9915-d6643ac

Thu May  2 03:19:52 2019 kern.info kernel: [ 1729.225129] do_page_fault(): sending SIGSEGV to exec read for invalid write access to 00000000
Thu May  2 03:19:52 2019 kern.info kernel: [ 1729.225143] do_page_fault(): sending SIGSEGV to exec read for invalid write access to 00000000
Thu May  2 03:19:52 2019 kern.info kernel: [ 1729.225166] epc = 77f271a0 in
Thu May  2 03:19:52 2019 kern.info kernel: [ 1729.233799] epc = 77f271a0 in
Thu May  2 03:19:52 2019 kern.warn kernel: [ 1729.242495]  libc.so[77efe000+95000]
Thu May  2 03:19:52 2019 kern.warn kernel: [ 1729.245440]  libc.so[77efe000+95000]
Thu May  2 03:19:52 2019 kern.info kernel: [ 1729.248402] ra  = 77f1b4b4 in libc.so[77efe000+95000]
Thu May  2 03:19:52 2019 kern.info kernel: [ 1729.252079] ra  = 77f1b4b4 in
Thu May  2 03:19:52 2019 kern.warn kernel: [ 1729.263788]  libc.so[77efe000+95000]
21.04.20192248PackagesFeature RequestVery LowLowuhttpd: implement ubus event listener via Server-Sent E...TrunkWaiting on reporter Task Description

Usecase:
As a web developer I would benefit from having the possibility to send events from the server to the browser so the browser can react to it dynamically.

The proposed implementation is the leanest possible.

A SSE (Server-Sent Event) is a simple protocol on top of basic http polling to send messages from the http server to the browser for the purpose of instant notifications.
It comes implemented in all major browsers, including mobile.

If paired with `ubus listen` or `ubus monitor`, a seamless integration with the ubus pipeline could be implemented.

We tried to implement it by adding an option in this line of code but got stuck in our lack of corutine mechanisms and how uhttpd works.

The difference with the call and list options is that this one should be long-lived and progressive, preventing the dreaded polling from the web (also, better us of resources, more elegant implementation, etc).

As an example, a very basic implementation of a SSE server in php:

<?php
header('Content-Type: text/event-stream');
header('Cache-Control: no-cache');

echo "data: \"hello world\"" . PHP_EOL;
echo PHP_EOL;
echo "data: \"goodbye world\"" . PHP_EOL;
echo PHP_EOL;
ob_flush();
flush();

An example of a very basic implementation of a SSE client in HTML:

<html>
	<body></body>
	<script>
	var source = new EventSource("demo_sse.php");
	source.onmessage = function(event) {
		document.getElementById("result").innerHTML += event.data + "<br>";
	}; 
	</script>
</html>
22.03.20192201KernelBug ReportVery LowLowkernel error: do_page_fault(): sending SIGSEGV to reade...TrunkWaiting on reporter Task Description

current trunk from 22.3.2019
git-19.079.18950-11e64f8) / OpenWrt SNAPSHOT r9672-d78e229903

i see in the logs that having more often kernel error:

Fri Mar 22 15:14:27 2019 kern.info kernel: [11750.766284] do_page_fault(): sending SIGSEGV to reader#1 for invalid read access from 77a87d90
Fri Mar 22 15:14:27 2019 kern.info kernel: [11750.774984] epc = 77f55944 in libc.so[77edb000+94000]
Fri Mar 22 15:14:27 2019 kern.info kernel: [11750.780320] ra  = 77f558e0 in libc.so[77edb000+94000]

any idea about what can be the reason for it ? or how i can give you more infos ?

21.03.20192196Base systemBug ReportVery LowMediumblock info confuses mount pointsAllWaiting on reporter Task Description

I’ve encountered a bug in /sbin/block.

If multiple block devices paths share the same prefix e.g. /dev/mmcblk0p1 and /dev/mmcblk0p10 the commands block info confuses them.
In my case /dev/mmcblk0p1 is a boot partition and /dev/mmcblk0p10 is a data partition.
There are a bunch of other partitions, which I’ll omit for the sake clarity in the following example.

/etc/config/fstab:

config 'global'
        option  anon_swap       '0'
        option  anon_mount      '0'
        option  auto_swap       '1'
        option  auto_mount      '1'
        option  delay_root      '5'
        option  check_fs        '0'

config 'mount'
        option  target  '/data'
        option  device  '/dev/mmcblk0p10'
        option  fstype  'ext4'
        option  enabled '1'

config 'mount'
        option  device  '/dev/mmcblk0p1'
        option  target  '/uboot'
        option  fstype  'vfat'
        option  options 'rw,sync'
        option  enabled '1'
...

After boot the output of mount looks like this:

root@foobar:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/mmcblk0p10 on /data type ext4 (rw,relatime,data=ordered)
/dev/mmcblk0p1 on /uboot type vfat (rw,sync,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
...

At least everything is mounted in the right place.
If I do a block info I get:

root@foobar:~# block info
/dev/mmcblk0p1: UUID="0037-0032" LABEL="" VERSION="FAT16" MOUNT="/data" TYPE="vfat"
/dev/mmcblk0p10: UUID="d8dff841-edc4-4094-ae68-f6f0596c2277" VERSION="1.0" MOUNT="/data" TYPE="ext4"
...

Which is a little bit odd, as /dev/mmcblk0p1 is clearly not mounted under /data.

I did some digging in the sources and found the culprit in block.c:find_mount_point.
In line 646 in block.c:

*pos = '\0';
devname = tmp;
if (!strncmp(block, devname, len)) { // <- problem
	point = strdup(cpoint);
	break;
}

block is the parameter passed to find_mount_point, len is the string length of block and devname is a block device name read from /proc/self/mountinfo.
If the string in block is a prefix of the string in devname, !strncmp will always be true as, therefore the mount point in this line will be returned to caller.
In my case the line for /dev/mmcblk0p10 is encountered first, therefore /data is returned as mountpoint for both /dev/mmcblk0p10 and /dev/mmcblk0p1.

Since the idea here is to look for an exactly equal string I would suggest to compare the string length as well as calling strncmp.
See the attached patch for my temporary solution.

As a last remark: I could not determine if this affects other functionalities of /sbin/block as well,
but since find_mount_point is also called during umounting this might be more than just a display bug.

06.03.20192166Base systemBug ReportVery LowHighOpenwrt 18.06.2 build fails when ext4 is not chosen as ...openwrt-18.06Waiting on reporter Task Description

upply the following if possible:
- Raspberry Pi Zero
- 18.06.2
- Go into menu, choose only ‘squashfs’ with defaults and bcm2708 as target. The ‘rootfs’ option disappears, and the build script fails with make world:

Output follows:

./gen_rpi_sdcard_img.sh /data/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/tmp/openwrt-brcm2708-bcm2708-rpi-squashfs-factory.img.gz /data/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/tmp/openwrt-brcm2708-bcm2708-rpi-squashfs-factory.img.gz.boot /data/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/root.squashfs 20
+ '[' 4 -eq 5 ']'
+ echo 'SYNTAX: ./gen_rpi_sdcard_img.sh <file> <bootfs image> <rootfs image> <bootfs size> <rootfs size>'
SYNTAX: ./gen_rpi_sdcard_img.sh <file> <bootfs image> <rootfs image> <bootfs size> <rootfs size>

Looks like the script isn’t passing proper paramaters unless I select ext4 image as well as squashfs image.

17.02.20192129PackagesBug ReportVery LowLowblock-mount shows incorrect UUID for NTFSopenwrt-18.06Waiting on reporter Task Description

Issue description:
block-mount shows incorrect UUID for NTFS.

System version:
OpenWrt 18.06.1

Steps to reproduce:

# opkg update
...
 
# opkg install block-mount blkid losetup lsblk ntfs-3g-utils
...
 
# opkg list-installed block-mount
block-mount - 2018-04-16-e2436836-1
 
# dd if=/dev/zero of=ntfs.img bs=100M count=1
1+0 records in
1+0 records out
 
# mkfs.ntfs -F ntfs.img
...
 
# losetup /dev/loop1 /root/ntfs.img

# block info /dev/loop1
/dev/loop1: UUID="0000001800000030" TYPE="ntfs"
 
!># block detect | grep -C1 loop1
config 'mount'
	option	target	'/mnt/loop1'
	option	uuid	'0000001800000030'
 
# blkid /dev/loop1
/dev/loop1: UUID="4C40EAF864A1397B" TYPE="ntfs" PTTYPE="dos"
 
# lsblk -o name,uuid /dev/loop1
NAME  UUID
loop1 4C40EAF864A1397B
01.01.20192039Base systemBug ReportVery LowMediumSierra Wireless EM7565 not working with Linksys WRT3200...openwrt-18.06Waiting on reporter Task Description

I have problems with Sierra Wireless EM7565 wireless module and USB 3.0 M.2 adapter. Device is detected correctly and works with TP-Link Archer C7 v2 which have older kernel version. I am using 18.06-SNAPSHOT r7405 version and kernel 4.14.82. I am connecting with QMI mode. I have tested also MBIM mode without success. 

I have verified connection using following command:

uqmi -d /dev/cdc-wdm0 –get-data-status –get-current-settings –get-capabilities –get-signal-info –get-serving-system “connected”

I have also tried changing RAW IP-mode. I have read following article:

https://techship.com/faq/how-to-step-by-step-set-up-a-data-connection-over-qmi-interface-using-qmicli-and-in-kernel-driver-qmi-wwan-in-linux/


01.01.20192038Base systemBug ReportVery LowLow[18.06.1] Installing package grep breaks /etc/preinitTrunkWaiting on reporter Task Description

I receive this error during start-up:

/etc/preinit: line 1: grep: not found

After I have installed the ‘grep - 2.26-1’ package.

BusyBox has it’s grep applet installed in /bin/grep, and the grep package removes this and installs the full version in /usr/bin/grep. For whatever reason /etc/preinit cannot find /usr/bin/grep despite the path being set and including /usr/bin.

Removing the ‘grep - 2.26-1’ package allows the system to revert back to BusyBox grep and /etc/preinit no longer reports an error.

08.11.20181940Base systemBug ReportVery LowLowCrash at at net/sched/sch_generic.cTrunkWaiting on reporter Task Description

It’s my first Bugreport here, so don’t blame me please using the wrong formatting or something.

Happend on a Xiaomi Mi Router 3G
Architecture: MediaTek MT7621 ver:1 eco:3
Firmware: OpenWrt SNAPSHOT r8121-9f0cb13 / LuCI Master (git-18.264.24000-89a4fdd)
Kernel Version: 4.14.71
Uptime: 21d 11h 4m 2s

~~~ Full Kern Log

[    0.000000] Linux version 4.14.71 (buildbot@crazyhorse) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r8121-9f0cb13)) #0 SMP Sun Sep 23 15:45:08 2018
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Xiaomi Mi Router 3G
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 10000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat 805c8280, node_mem_map 81003000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] random: get_random_bytes called from start_kernel+0x90/0x4ac with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu @81210000 s26256 r8192 d22896 u57344
[    0.000000] pcpu-alloc: s26256 r8192 d22896 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Writing ErrCtl register=0000b000
[    0.000000] Readback ErrCtl register=0000b000
[    0.000000] Memory: 253140K/262144K available (4646K kernel code, 241K rwdata, 1032K rodata, 212K init, 282K bss, 9004K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 256
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007814] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.073975] pid_max: default: 32768 minimum: 301
[    0.078746] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.085253] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094058] Hierarchical SRCU implementation.
[    0.099230] smp: Bringing up secondary CPUs ...
[    0.116621] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.116631] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.116643] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.116781] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.163977] Synchronize counters for CPU 1: done.
[    0.210735] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.210744] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.210754] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.210824] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.255104] Synchronize counters for CPU 2: done.
[    0.297768] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.297775] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.297784] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.297857] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.340281] Synchronize counters for CPU 3: done.
[    0.370143] smp: Brought up 1 node, 4 CPUs
[    0.377934] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.387726] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.394028] pinctrl core: initialized pinctrl subsystem
[    0.400632] NET: Registered protocol family 16
[    0.414353] FPU Affinity set after 11720 emulations
[    0.415225] pull PCIe RST: RALINK_RSTCTRL = 4000000
[    0.720474] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.725520] ***** Xtal 40MHz *****
[    0.728878] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.733977] Port 0 N_FTS = 1b105000
[    0.737446] Port 1 N_FTS = 1b105000
[    0.740888] Port 2 N_FTS = 1b102800
[    1.896122] PCIE2 no card, disable it(RST&CLK)
[    1.900485]  -> 21007f2
[    1.902887] PCIE0 enabled
[    1.905476] PCIE1 enabled
[    1.908080] PCI host bridge /pcie@1e140000 ranges:
[    1.912860]  MEM 0x0000000060000000..0x000000006fffffff
[    1.918010]   IO 0x000000001e160000..0x000000001e16ffff
[    1.923209] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[    1.939229] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.945101] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.950815] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.958511] PCI host bridge to bus 0000:00
[    1.962551] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.969378] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    1.975232] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.981991] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.989880] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.989921] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.989934] pci 0000:00:00.0: reg 0x14: [mem 0x60300000-0x6030ffff]
[    1.990001] pci 0000:00:00.0: supports D1
[    1.990010] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.990257] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.990297] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.990317] pci 0000:00:01.0: reg 0x14: [mem 0x60310000-0x6031ffff]
[    1.990379] pci 0000:00:01.0: supports D1
[    1.990389] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.990865] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[    1.990921] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    1.991051] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    1.991264] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.991535] pci 0000:02:00.0: [14c3:7662] type 00 class 0x028000
[    1.991599] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    1.991644] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    1.991740] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    1.991961] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.992035] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[    1.992102] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.998615] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.005547] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.012088] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.019018] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.025749] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    2.032501] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
[    2.039657] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    2.046417] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    2.053137] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    2.059887] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.064802] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.071560] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[    2.078806] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
[    2.085980] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.090887] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    2.097639] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff pref]
[    2.106379] clocksource: Switched to clocksource GIC
[    2.112935] NET: Registered protocol family 2
[    2.118037] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    2.124921] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    2.131345] TCP: Hash tables configured (established 2048 bind 2048)
[    2.137749] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.143515] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.149965] NET: Registered protocol family 1
[    2.154283] PCI: CLS 0 bytes, default 32
[    2.386331] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.392750] Crashlog allocated RAM at address 0x3f00000
[    2.398126] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    2.408447] random: fast init done
[    2.414592] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.420435] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.433456] io scheduler noop registered
[    2.437354] io scheduler deadline registered (default)
[    2.443388] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.452695] console [ttyS0] disabled
[    2.456243] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    2.465254] console [ttyS0] enabled
[    2.472128] bootconsole [early0] disabled
[    2.480843] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.487749] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.494804] Enable NFI Clock
[    2.497788] # MTK NAND # : Use HW ECC
[    2.501453] Device not found, ID: c8d1
[    2.505177] Not Support this Device! 
[    2.508922] chip_mode=00000001
[    2.511961] Support this Device in MTK table! c8d1 
[    2.516931] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    2.523390] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[    2.529727] nand: ESMT NAND 128MiB 3,3V 8-bit
[    2.534064] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.541634] Scanning device for bad blocks
[    2.691286] 10 fixed-partitions partitions found on MTD device MT7621-NAND
[    2.698146] Creating 10 MTD partitions on "MT7621-NAND":
[    2.703441] 0x000000000000-0x000000080000 : "Bootloader"
[    2.709741] 0x000000080000-0x0000000c0000 : "Config"
[    2.715570] 0x0000000c0000-0x000000100000 : "Bdata"
[    2.721345] 0x000000100000-0x000000140000 : "Factory"
[    2.727279] 0x000000140000-0x000000180000 : "crash"
[    2.732950] 0x000000180000-0x0000001c0000 : "crash_syslog"
[    2.739379] 0x0000001c0000-0x000000200000 : "reserved0"
[    2.745415] 0x000000200000-0x000000600000 : "kernel_stock"
[    2.751846] 0x000000600000-0x000000a00000 : "kernel"
[    2.757731] 0x000000a00000-0x000007f80000 : "ubi"
[    2.764193] [mtk_nand] probe successfully!
[    2.769046] Signature matched and data read!
[    2.773293] load_fact_bbt success 1023
[    2.777691] libphy: Fixed MDIO Bus: probed
[    2.848976] libphy: mdio: probed
[    4.252654] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.259343] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    4.270147] NET: Registered protocol family 10
[    4.275976] Segment Routing with IPv6
[    4.279792] NET: Registered protocol family 17
[    4.284271] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.297188] 8021q: 802.1Q VLAN Support v1.8
[    4.304363] UBI: auto-attach mtd9
[    4.307728] ubi0: attaching mtd9
[    4.566981] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[    5.418406] ubi0: scanning is finished
[    5.438343] ubi0: attached mtd9 (name "ubi", size 117 MiB)
[    5.443821] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.450711] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.457490] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.464415] ubi0: good PEBs: 940, bad PEBs: 0, corrupted PEBs: 0
[    5.470413] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    5.477622] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1784382385
[    5.486733] ubi0: available PEBs: 0, total reserved PEBs: 940, PEBs reserved for bad PEB handling: 20
[    5.495944] ubi0: background thread "ubi_bgt0d" started, PID 393
[    5.497988] block ubiblock0_0: created from ubi0:0(rootfs)
[    5.498003] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    5.498024] hctosys: unable to open rtc device (rtc0)
[    5.498402] usb_vbus: disabling
[    5.529115] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    5.536798] Freeing unused kernel memory: 212K
[    5.541236] This architecture does not have kernel memory protection.
[    6.078086] init: Console is alive
[    6.081728] init: - watchdog -
[    6.597857] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.687477] usbcore: registered new interface driver usbfs
[    6.693032] usbcore: registered new interface driver hub
[    6.698523] usbcore: registered new device driver usb
[    6.713079] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    6.722073] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.727437] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    6.746528] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[    6.755015] xhci-mtk 1e1c0000.xhci: irq 19, io mem 0x1e1c0000
[    6.761822] hub 1-0:1.0: USB hub found
[    6.765649] hub 1-0:1.0: 2 ports detected
[    6.768204] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[    6.776055] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.781400] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    6.788889] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
[    6.795493] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.804431] hub 2-0:1.0: USB hub found
[    6.808278] hub 2-0:1.0: 1 port detected
[    6.815186] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.836707] init: - preinit -
[    7.585842] mtk_soc_eth 1e100000.ethernet: PPE started
[    7.661226] random: procd: uninitialized urandom read (4 bytes read)
[   10.797221] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 487
[   10.871665] UBIFS (ubi0:1): recovery needed
[   11.060011] UBIFS (ubi0:1): recovery completed
[   11.064605] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   11.072423] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.082321] UBIFS (ubi0:1): FS size: 112373760 bytes (107 MiB, 885 LEBs), journal size 5586944 bytes (5 MiB, 44 LEBs)
[   11.092902] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[   11.099504] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID A4B934E8-BA84-4B25-81EB-59E2F9F66052, small LPT model
[   11.118119] mount_root: switching to ubifs overlay
[   11.149135] urandom-seed: Seeding with /etc/urandom.seed
[   11.241923] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[   11.256885] procd: - early -
[   11.259863] procd: - watchdog -
[   11.916529] procd: - watchdog -
[   11.919980] procd: - ubus -
[   11.995998] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.008017] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.014790] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.022084] procd: - init -
[   12.377269] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.387736] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   12.395726] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   12.406986] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   12.450736] xt_time: kernel timezone is -0000
[   12.469714] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.504522] bus=0x1, slot = 0x0, irq=0xff
[   12.508826] mt7603e 0000:01:00.0: ASIC revision: 76030010
[   12.517576] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
[   12.523148] mt7603e 0000:01:00.0: Build Time: 20160107100755
[   12.566403] firmware init done
[   12.737316] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   12.744906] bus=0x2, slot = 0x1, irq=0xff
[   12.749208] mt76x2e 0000:02:00.0: ASIC revision: 76120044
[   12.777141] mt76x2e 0000:02:00.0: ROM patch build: 20141115060606a
[   12.886775] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
[   12.892265] mt76x2e 0000:02:00.0: Build: 1
[   12.896406] mt76x2e 0000:02:00.0: Build Time: 201507311614____
[   12.916417] mt76x2e 0000:02:00.0: Firmware running!
[   12.922909] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   12.929866] kmodloader: done loading kernel modules from /etc/modules.d/*
[   13.578599] urandom_read: 5 callbacks suppressed
[   13.578614] random: jshn: uninitialized urandom read (4 bytes read)
[   18.396574] mtk_soc_eth 1e100000.ethernet: PPE started
[   18.407897] device eth0 entered promiscuous mode
[   18.414814] br-lan: port 1(eth0.1) entered blocking state
[   18.420300] br-lan: port 1(eth0.1) entered disabled state
[   18.426874] device eth0.1 entered promiscuous mode
[   18.436415] br-lan: port 1(eth0.1) entered blocking state
[   18.441835] br-lan: port 1(eth0.1) entered forwarding state
[   18.447972] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   18.469826] br-lan: port 2(eth0.2) entered blocking state
[   18.475262] br-lan: port 2(eth0.2) entered disabled state
[   18.481435] device eth0.2 entered promiscuous mode
[   18.486718] br-lan: port 2(eth0.2) entered blocking state
[   18.492173] br-lan: port 2(eth0.2) entered forwarding state
[   19.388952] random: crng init done
[   19.400056] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   20.215037] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   20.224019] br-lan: port 3(wlan0) entered blocking state
[   20.229395] br-lan: port 3(wlan0) entered disabled state
[   20.235114] device wlan0 entered promiscuous mode
[   20.240017] br-lan: port 3(wlan0) entered blocking state
[   20.245318] br-lan: port 3(wlan0) entered forwarding state
[   20.451077] br-lan: port 3(wlan0) entered disabled state
[   20.786187] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   20.793049] br-lan: port 3(wlan0) entered blocking state
[   20.798490] br-lan: port 3(wlan0) entered forwarding state
[   21.259926] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   21.270249] br-lan: port 4(wlan1) entered blocking state
[   21.275580] br-lan: port 4(wlan1) entered disabled state
[   21.281579] device wlan1 entered promiscuous mode
[   21.286660] br-lan: port 4(wlan1) entered blocking state
[   21.291999] br-lan: port 4(wlan1) entered forwarding state
[   21.416558] br-lan: port 4(wlan1) entered disabled state
[  101.519124] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[  101.525916] br-lan: port 4(wlan1) entered blocking state
[  101.531221] br-lan: port 4(wlan1) entered forwarding state
[1380778.703917] ------------[ cut here ]------------
[1380778.708749] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0x324
[1380778.717174] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
[1380778.724293] Modules linked in: nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat iptable_mangle iptable_filter ipt_REJECT ipt_MASQUERADE ip_tables cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT x_tables nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_log_common nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack compat ledtrig_usbport leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
[1380778.781588] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.71 #0
[1380778.787741] Stack : 00000000 8fe0b240 805a0000 8006f7e4 805d0000 805663c0 00000000 00000000
[1380778.796251]         80530e88 8fc09dc4 805a2dbc 805a2947 8052bfb8 00000001 8fc09d68 1cc282a7
[1380778.804756]         00000000 00000000 80600000 00006120 00000000 0000013a 00000008 00000000
[1380778.813259]         00000000 805a0000 000bed14 00000000 00000000 00000000 805d0000 80379fb8
[1380778.821763]         00000009 00000140 00000000 8fe0b240 00000001 8029cdf8 00000000 80600000
[1380778.830268]         ...
[1380778.832876] Call Trace:
[1380778.835506] [<80010670>] show_stack+0x58/0x100
[1380778.840122] [<8046c27c>] dump_stack+0x9c/0xe0
[1380778.844636] [<8002e408>] __warn+0xe0/0x114
[1380778.848886] [<8002e46c>] warn_slowpath_fmt+0x30/0x3c
[1380778.854002] [<80379fb8>] dev_watchdog+0x1ac/0x324
[1380778.858873] [<80086754>] call_timer_fn.isra.3+0x24/0x84
[1380778.864247] [<80086970>] run_timer_softirq+0x1bc/0x248
[1380778.869555] [<80489740>] __do_softirq+0x128/0x2ec
[1380778.874416] [<80032b34>] irq_exit+0xac/0xc8
[1380778.878774] [<8024b3fc>] plat_irq_dispatch+0xfc/0x138
[1380778.883976] [<8000b5e8>] except_vec_vi_end+0xb8/0xc4
[1380778.889089] [<8000cfb0>] r4k_wait_irqoff+0x1c/0x24
[1380778.894054] [<8006685c>] do_idle+0xe4/0x168
[1380778.898390] [<80066ad8>] cpu_startup_entry+0x24/0x2c
[1380778.903508] [<805cbbf8>] start_kernel+0x48c/0x4ac
[1380778.908470] ---[ end trace c8dd6f0a0de2551e ]---
[1380778.913251] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
[1380778.919606] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
[1380778.925787] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0ea00000, max=0, ctx=515, dtx=515, fdx=514, next=515
[1380778.936459] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e190000, max=0, calc=2503, drx=2505
[1380778.950217] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[1380778.963338] mtk_soc_eth 1e100000.ethernet: PPE started

I hope this helps to find it. Otherwise just close it.

Greetings

25.10.20181906PackagesBug ReportVery LowLowStatic lease doesn't work sometimesTrunkWaiting on reporter Task Description

Device: Xiaomi mi wifi mini
OpenWRT: SNAPSHOT r8377-70315fe144

If i reboot router or turn on it at the same time with PC static lease doesn’t work.

cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '1'
        option localise_queries '1'
        option rebind_protection '1'
        option local '/[REDACTED]/'
        option domain '[REDACTED]'
        option expandhosts '1'
        option authoritative '1'
        option leasefile '/tmp/dhcp.leases'
        option nonwildcard '1'
        option localservice '0'
        option noresolv '1'
        list server '::1#5453'
        list server '127.0.0.1#5453'
        list rebind_domain '/[REDACTED]/'
        list server '[REDACTED]'
        option cachesize '1024'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '24h'
        option dhcpv6 'server'
        option ra 'server'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'

config srvhost
[REDACTED]

config host
        option name 'wks1'
        option mac '60:a4:4c:ce:65:ac'
        option ip '172.16.9.10'

config domain
[REDACTED]

logread -e dnsmasq-dhcp

Thu Oct 25 07:43:05 2018 daemon.info dnsmasq-dhcp[1780]: DHCP, IP range 172.16.9.100 -- 172.16.9.249, lease time 1d
Thu Oct 25 07:43:19 2018 daemon.info dnsmasq-dhcp[1780]: DHCPDISCOVER(br-lan) 172.16.9.10 60:a4:4c:ce:65:ac
Thu Oct 25 07:43:19 2018 daemon.info dnsmasq-dhcp[1780]: DHCPOFFER(br-lan) 172.16.9.211 60:a4:4c:ce:65:ac
Thu Oct 25 07:43:19 2018 daemon.info dnsmasq-dhcp[1780]: DHCPREQUEST(br-lan) 172.16.9.211 60:a4:4c:ce:65:ac
Thu Oct 25 07:43:19 2018 daemon.info dnsmasq-dhcp[1780]: DHCPACK(br-lan) 172.16.9.211 60:a4:4c:ce:65:ac wks1

config.seed

CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7620=y
CONFIG_TARGET_ramips_mt7620_DEVICE_miwifi-mini=y
CONFIG_GETDNS_ENABLE_STUB_ONLY=y
CONFIG_LIBCURL_COOKIES=y
CONFIG_LIBCURL_FILE=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_NO_SMB="!"
CONFIG_LIBCURL_OPENSSL=y
CONFIG_LIBCURL_PROXY=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_OPENSSL_WITH_NPN=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_PACKAGE_bind-dig=y
CONFIG_PACKAGE_bind-libs=y
CONFIG_PACKAGE_ca-bundle=y
CONFIG_PACKAGE_ca-certificates=y
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_ddns-scripts=y
CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y
# CONFIG_PACKAGE_dnsmasq is not set
CONFIG_PACKAGE_dnsmasq-full=y
CONFIG_PACKAGE_dnsmasq_full_auth=y
CONFIG_PACKAGE_dnsmasq_full_conntrack=y
CONFIG_PACKAGE_dnsmasq_full_dhcp=y
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
CONFIG_PACKAGE_dnsmasq_full_dnssec=y
CONFIG_PACKAGE_dnsmasq_full_ipset=y
CONFIG_PACKAGE_dnsmasq_full_noid=y
CONFIG_PACKAGE_getdns=y
CONFIG_PACKAGE_gre=y
CONFIG_PACKAGE_ip-full=y
CONFIG_PACKAGE_ipset=y
CONFIG_PACKAGE_kmod-gre=y
CONFIG_PACKAGE_kmod-gre6=y
CONFIG_PACKAGE_kmod-ip6-tunnel=y
CONFIG_PACKAGE_kmod-ipt-ipset=y
CONFIG_PACKAGE_kmod-iptunnel=y
CONFIG_PACKAGE_kmod-iptunnel6=y
CONFIG_PACKAGE_kmod-nf-conntrack-netlink=y
CONFIG_PACKAGE_kmod-nfnetlink=y
CONFIG_PACKAGE_kmod-udptunnel4=y
CONFIG_PACKAGE_kmod-udptunnel6=y
CONFIG_PACKAGE_kmod-wireguard=y
CONFIG_PACKAGE_libcurl=y
CONFIG_PACKAGE_libgmp=y
CONFIG_PACKAGE_libipset=y
CONFIG_PACKAGE_libmnl=y
CONFIG_PACKAGE_libnetfilter-conntrack=y
CONFIG_PACKAGE_libnettle=y
CONFIG_PACKAGE_libnfnetlink=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_libyaml=y
CONFIG_PACKAGE_resolveip=y
CONFIG_PACKAGE_stubby=y
CONFIG_PACKAGE_wireguard=y
CONFIG_PACKAGE_wireguard-tools=y
CONFIG_PACKAGE_zlib=y
25.08.20181815Base systemBug ReportVery LowMediumUdhcpc on boot don't add default gateway and dns serveropenwrt-18.06Waiting on reporter Task Description
  • TP-Link Archer C7 v2
  • OpenWrt 18.06.1 r7258-5eb055306f / LuCI openwrt-18.06 branch (git-18.228.31946-f64b152)

—-

  • I update my router from 15 with erasing of config.
  • setup WAN
        config interface 'wan'
        option ifname 'eth0.2'
        option proto 'dhcp'
        option macaddr '00:0F:EA:60:3D:30'
  • Dhcp work as expected returned ip and simple route
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.40.62.0      10.40.62.5      255.255.255.0   UG    0      0        0 eth0.2
192.168.2.0     *               255.255.255.0   U     0      0        0 br-lan

But no default gw added

  • After reboot i found in log
Sat Aug 25 11:44:54 2018 daemon.notice netifd: wan (1297): udhcpc: started, v1.28.3
Sat Aug 25 11:44:54 2018 daemon.err odhcp6c[1296]: Failed to send RS (Address not available)
Sat Aug 25 11:44:54 2018 daemon.notice netifd: wan (1297): udhcpc: sending discover
Sat Aug 25 11:44:54 2018 daemon.notice netifd: wan (1297): udhcpc: sending select for 10.40.62.76
Sat Aug 25 11:44:54 2018 daemon.notice netifd: wan (1297): udhcpc: lease of 10.40.62.76 obtained, lease time 43200

- But if I run udhcpc by hand

~# udhcpc -i eth0.2
udhcpc: started, v1.28.3
udhcpc: sending discover
udhcpc: sending select for 10.40.62.76
udhcpc: lease of 10.40.62.76 obtained, lease time 43200
udhcpc: ifconfig eth0.2 10.40.62.76 netmask 255.255.255.0 broadcast 10.40.62.255
udhcpc: setting default routers: 10.40.62.5

And routing is like

~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.40.62.5      0.0.0.0         UG    0      0        0 eth0.2
10.40.62.0      *               255.255.255.0   U     0      0        0 eth0.2
192.168.2.0     *               255.255.255.0   U     0      0        0 br-lan

Workaround

  • Added to scheduled task
*/1 * * * * udhcpc  -i eth0.2
 


15.08.20181781Base systemBug ReportVery LowMedium"/sbin/block detect" reports improper uuid for raid par...AllWaiting on reporter Task Description

This bug is device independent (I think).

As a result of this bug, /etc/config/fstab may contain damaged content, and also block mount may fail.

‘block detect’ reports bad uuid for /dev/sda1 (and others) mixing inside uuid of raid volume with outside of the partitions.
Bug is ‘block detect’ showing the same uuid for /dev/sda1 and /dev/md1 while they are different, as you can observe in /sbin/blkid output at the middle of output below.

Important: /sbin/blkid from busybox may have same/similar bug as its reporting even different uuid. The standalone /usr/sbin/blkid works properly (shown in the middle of below) and should be basis for comparison.

root@bee:/tmp# block detect
config 'global'
        option  anon_swap       '0'
        option  anon_mount      '0'
        option  auto_swap       '1'
        option  auto_mount      '1'
        option  delay_root      '5'
        option  check_fs        '0'

config 'mount'
        option  target  '/mnt/sda1'
        option  uuid    '48f38899-5efb-4477-adca-bf11d81df99f'
        option  enabled '0'

config 'mount'
        option  target  '/mnt/sdb1'
        option  uuid    '48f38899-5efb-4477-adca-bf11d81df99f'
        option  enabled '0'

config 'mount'
        option  target  '/mnt/md1'
        option  uuid    '48f38899-5efb-4477-adca-bf11d81df99f'
        option  enabled '0'


root@bee:/tmp# which blkid
/usr/sbin/blkid
root@bee:/tmp# blkid
/dev/mtdblock5: TYPE="squashfs"
/dev/sda1: UUID="8b2d137c-4973-133d-6de4-7e91c4a4cdb0" TYPE="linux_raid_member" PARTUUID="f6eb912c-6ef7-4b8b-90d7-3ccc4e05d0c3"
/dev/sdb1: UUID="8b2d137c-4973-133d-6de4-7e91c4a4cdb0" TYPE="linux_raid_member" PARTUUID="731a8023-5734-463e-8866-46ea97a3f928"
/dev/md1: LABEL="OVERLAYROOT" UUID="48f38899-5efb-4477-adca-bf11d81df99f" TYPE="ext4"


root@bee:/tmp# /sbin/blkid
/dev/md1: LABEL="OVERLAYROOT" UUID="48f38899-5efb-4477-adca-bf11d81df99f" TYPE="ext4"
/dev/sda1: UUID="7c132d8b-3d13-7349-917e-e46db0cda4c4" TYPE="linux_raid_member"
/dev/sdb1: UUID="7c132d8b-3d13-7349-917e-e46db0cda4c4" TYPE="linux_raid_member"
10.08.20181765Base systemBug ReportVery LowMediumdnsmasq-full fails to listen on dhcp socket after reboo...openwrt-18.06Waiting on reporter Task Description

When I restart my router, dnsmasq comes up and works for IPv6, but fails to serve out dhcp for ipv4.

Supply the following if possible:
- Device problem occurs on

Ubiquiti Edgerouter Lite

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

OpenWrt 18.06.0, r7188-b0b5c64c22
dnsmasq-full - 2.80test3-1

- Steps to reproduce

Reboot the router. When it comes up just after reboot, it fails to respond to DHCP requests. lsof shows that it’s not listening on port 67, and does not have /tmp/dhcp.leases open:

root@junction:~# lsof -p 1792 -P
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
dnsmasq 1792 dnsmasq cwd DIR 0,15 3488 1166 /
dnsmasq 1792 dnsmasq rtd DIR 0,15 3488 1166 /
dnsmasq 1792 dnsmasq txt REG 7,0 349744 1526 /usr/sbin/dnsmasq
dnsmasq 1792 dnsmasq mem REG 7,0 16776 189 /usr/lib/libmnl.so.0.2.0
dnsmasq 1792 dnsmasq mem REG 8,2 117320 1033 /lib/libgcc_s.so.1
dnsmasq 1792 dnsmasq mem REG 8,2 25440 1114 /lib/libubus.so
dnsmasq 1792 dnsmasq mem REG 8,2 46168 1029 /lib/libubox.so
dnsmasq 1792 dnsmasq mem REG 7,0 466112 696 /usr/lib/libgmp.so.10.3.2
dnsmasq 1792 dnsmasq mem REG 7,0 206656 702 /usr/lib/libhogweed.so.4.3
dnsmasq 1792 dnsmasq mem REG 7,0 231888 704 /usr/lib/libnettle.so.6.3
dnsmasq 1792 dnsmasq mem REG 7,0 22232 216 /usr/lib/libnfnetlink.so.0.2.0
dnsmasq 1792 dnsmasq mem REG 7,0 111864 561 /usr/lib/libnetfilter_conntrack.so.3.6.0
dnsmasq 1792 dnsmasq mem REG 8,2 650896 1012 /lib/libc.so
dnsmasq 1792 dnsmasq mem REG 0,14 23 713 /tmp/TZ
dnsmasq 1792 dnsmasq 0u CHR 1,3 0t0 1226 /dev/null
dnsmasq 1792 dnsmasq 1u CHR 1,3 0t0 1226 /dev/null
dnsmasq 1792 dnsmasq 2u CHR 1,3 0t0 1226 /dev/null
dnsmasq 1792 dnsmasq 3u netlink 0t0 3561 ROUTE
dnsmasq 1792 dnsmasq 4u IPv4 3568 0t0 UDP junction:53
dnsmasq 1792 dnsmasq 5u IPv4 3569 0t0 TCP junction:53 (LISTEN)
dnsmasq 1792 dnsmasq 6u IPv4 3570 0t0 UDP localhost:53
dnsmasq 1792 dnsmasq 7u IPv4 3571 0t0 TCP localhost:53 (LISTEN)
dnsmasq 1792 dnsmasq 8u IPv6 3572 0t0 UDP localhost:53
dnsmasq 1792 dnsmasq 9u IPv6 3573 0t0 TCP localhost:53 (LISTEN)
dnsmasq 1792 dnsmasq 10r FIFO 0,8 0t0 3574 pipe
dnsmasq 1792 dnsmasq 11w FIFO 0,8 0t0 3574 pipe
dnsmasq 1792 dnsmasq 12u unix 0x800000041d16ca00 0t0 3576 type=DGRAM
dnsmasq 1792 dnsmasq 13u a_inode 0,9 0 14 [eventpoll]
dnsmasq 1792 dnsmasq 14r FIFO 0,8 0t0 3598 pipe
dnsmasq 1792 dnsmasq 15w FIFO 0,8 0t0 3598 pipe
dnsmasq 1792 dnsmasq 16u unix 0x800000041d16d900 0t0 3599 type=STREAM
dnsmasq 1792 dnsmasq 21u IPv6 3729 0t0 UDP fe80::822a:a8ff:fe4c:9dc1:53
dnsmasq 1792 dnsmasq 22u IPv6 3730 0t0 TCP fe80::822a:a8ff:fe4c:9dc1:53 (LISTEN)
dnsmasq 1792 dnsmasq 26u IPv6 3745 0t0 UDP fd90:79d3:5065:f00d::1:53
dnsmasq 1792 dnsmasq 27u IPv6 3746 0t0 TCP fd90:79d3:5065:f00d::1:53 (LISTEN)
dnsmasq 1792 dnsmasq 35u IPv6 6049 0t0 UDP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:53
dnsmasq 1792 dnsmasq 36u IPv6 6050 0t0 TCP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:53 (LISTEN)

...if I then restart it with “/etc/init.d/dnsmasq restart”, it comes up properly. The router

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
dnsmasq 6861 dnsmasq cwd DIR 0,15 3488 1166 /
dnsmasq 6861 dnsmasq rtd DIR 0,15 3488 1166 /
dnsmasq 6861 dnsmasq txt REG 7,0 349744 1526 /usr/sbin/dnsmasq
dnsmasq 6861 dnsmasq mem REG 7,0 16776 189 /usr/lib/libmnl.so.0.2.0
dnsmasq 6861 dnsmasq mem REG 8,2 117320 1033 /lib/libgcc_s.so.1
dnsmasq 6861 dnsmasq mem REG 8,2 25440 1114 /lib/libubus.so
dnsmasq 6861 dnsmasq mem REG 8,2 46168 1029 /lib/libubox.so
dnsmasq 6861 dnsmasq mem REG 7,0 466112 696 /usr/lib/libgmp.so.10.3.2
dnsmasq 6861 dnsmasq mem REG 7,0 206656 702 /usr/lib/libhogweed.so.4.3
dnsmasq 6861 dnsmasq mem REG 7,0 231888 704 /usr/lib/libnettle.so.6.3
dnsmasq 6861 dnsmasq mem REG 7,0 22232 216 /usr/lib/libnfnetlink.so.0.2.0
dnsmasq 6861 dnsmasq mem REG 7,0 111864 561 /usr/lib/libnetfilter_conntrack.so.3.6.0
dnsmasq 6861 dnsmasq mem REG 8,2 650896 1012 /lib/libc.so
dnsmasq 6861 dnsmasq mem REG 0,14 23 713 /tmp/TZ
dnsmasq 6861 dnsmasq 0u CHR 1,3 0t0 1226 /dev/null
dnsmasq 6861 dnsmasq 1u CHR 1,3 0t0 1226 /dev/null
dnsmasq 6861 dnsmasq 2u CHR 1,3 0t0 1226 /dev/null
dnsmasq 6861 dnsmasq 3u REG 0,14 0 806 /tmp/dhcp.leases
dnsmasq 6861 dnsmasq 4u IPv4 10060 0t0 UDP *:bootps
dnsmasq 6861 dnsmasq 5u netlink 0t0 10061 ROUTE
dnsmasq 6861 dnsmasq 6u IPv4 10063 0t0 UDP junction:domain
dnsmasq 6861 dnsmasq 7u IPv4 10064 0t0 TCP junction:domain (LISTEN)
dnsmasq 6861 dnsmasq 8u IPv4 10065 0t0 UDP localhost:domain
dnsmasq 6861 dnsmasq 9u IPv4 10066 0t0 TCP localhost:domain (LISTEN)
dnsmasq 6861 dnsmasq 10u IPv6 10067 0t0 UDP fe80::822a:a8ff:fe4c:9dc1:domain
dnsmasq 6861 dnsmasq 11u IPv6 10068 0t0 TCP fe80::822a:a8ff:fe4c:9dc1:domain (LISTEN)
dnsmasq 6861 dnsmasq 12u IPv6 10069 0t0 UDP fd90:79d3:5065:f00d::1:domain
dnsmasq 6861 dnsmasq 13u IPv6 10070 0t0 TCP fd90:79d3:5065:f00d::1:domain (LISTEN)
dnsmasq 6861 dnsmasq 14u IPv6 10071 0t0 UDP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:domain
dnsmasq 6861 dnsmasq 15u IPv6 10072 0t0 TCP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:domain (LISTEN)
dnsmasq 6861 dnsmasq 16u IPv6 10073 0t0 UDP localhost:domain
dnsmasq 6861 dnsmasq 17u IPv6 10074 0t0 TCP localhost:domain (LISTEN)
dnsmasq 6861 dnsmasq 18r FIFO 0,8 0t0 10075 pipe
dnsmasq 6861 dnsmasq 19w FIFO 0,8 0t0 10075 pipe
dnsmasq 6861 dnsmasq 20u unix 0x800000041c446300 0t0 10077 type=DGRAM
dnsmasq 6861 dnsmasq 21u a_inode 0,9 0 14 [eventpoll]
dnsmasq 6861 dnsmasq 22r FIFO 0,8 0t0 10078 pipe
dnsmasq 6861 dnsmasq 23w FIFO 0,8 0t0 10078 pipe
dnsmasq 6861 dnsmasq 24u unix 0x800000041c445e00 0t0 10079 type=STREAM

When I restart the daemon, I see these messages in the log as well:

Fri Aug 10 09:46:50 2018 daemon.info dnsmasq-dhcp[6861]: DHCP, IP range 192.168.1.100 – 192.168.1.249, lease time 12h
Fri Aug 10 09:46:50 2018 daemon.info dnsmasq-dhcp[6861]: DHCP, sockets bound exclusively to interface br-lan

...but they are absent when the daemon starts on a clean boot.

Attaching my /etc/config/dhcp, and the output from logread.

25.07.20181692PackagesBug ReportVery LowMediumDDNS seems to not use ca-certificatesTrunkWaiting on reporter Task Description

On 18.06 rc2 I have to type “IGNORE” in the “Path to ca-file” field. Otherwise I always get this error:

Wed Jul 25 23:31:21 2018 user.err ddns-scripts[1745]: myddns_ipv4: cURL Error: ‘77’ Wed Jul 25 23:31:22 2018 user.warn ddns-scripts[1745]: myddns_ipv4: Transfer failed - retry 1/0 in 60 seconds

The ca-certificates package is installed. On 18.06 rc1 I got not this error.

22.07.20181684Base systemBug ReportVery LowLow18.06.0-rc2 dos not save settings when applyed ramips/r...TrunkWaiting on reporter Task Description

D-Link DIR-615 D but using a D2 version
18.06.0-rc2 but 17.01.5 is working fine!
OpenWrt 18.06.0-rc2 r7141-e4d0ee5af5

I have a issue with Luci or maybe is issue with ramips/rt305x device’s but when i go to apply settings in the webgui and reboot my d-link it goes back to the default openwrt settings however 17.01.5 is working fine no issue here but 18.06.0-rc2 is a no no unless i manual change them in the SSH/SCP folder.

Just to be clear when save&apply is ok but once reboot or turn off by the mains power it resolves into default settings.

17.06.20181591Base systemBug ReportVery LowLowprocd: May hangs during reboot because of netdevice ref...lede-17.01Waiting on reporter Task Description

- Device problem occurs on: Basically all I’ve tested (ar71xx, ipq806x, ipq40xx, ...)
- Software versions of OpenWrt/LEDE: LEDE 17.01x
- Steps to reproduce: Install the attached package, boot the system, try to reboot it

It was observed that OpenWrt sometimes prints

 unregister_netdevice: waiting for br-lan to become free. Usage count = 1

and then hangs indefinitely when trying to reboot. Doing a hard reset seems to the the only way to resolve this problem.

I didn’t have such problems with a systemd based Debian Stretch system and the same trigger kernel module

12.06.20181587KernelBug ReportVery LowCriticalQca9887 ath10K drive crashlede-17.01Waiting on reporter Task Description

MINIBOX V3.2
CPU:QCA9531
FLASH:16M
RAM:128M
5G chip:QCA9887

 
[    0.000000] Linux version 4.9.107 (root@lede) (gcc version 7.3.0 (lede) ) #0 Sun Jun 10 14:03:23 2018
[    0.000000] MyLoader: sysp=cd03e8c7, boardp=565c9627, parts=9b565cbd
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 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] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 8041ea74, node_mem_map 81000020
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=MINIBOX_V3_2  console=ttyS0,115200 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: 125072K/131072K available (2917K kernel code, 162K rwdata, 760K rodata, 312K init, 270K bss, 6000K 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:550.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6950037990 ns
[    0.000011] sched_clock: 32 bits at 275MHz, resolution 3ns, wraps every 7809031678ns
[    0.008273] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
[    0.071079] pid_max: default: 32768 minimum: 301
[    0.076091] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.083069] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.093759] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.104180] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.111370] NET: Registered protocol family 16
[    0.117931] MIPS: machine is Minibox V3.2 board
[    0.127278] registering PCI controller with io_map_base unset
[    0.135112] ar71xx: invalid MDIO id 1
[    0.139031] ar71xx: using random MAC address for eth0
[    0.379364] ar71xx: using random MAC address for eth1
[    0.633989] PCI host bridge to bus 0000:00
[    0.638333] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.645652] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.651522] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.658690] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.667077] pci 0000:00:00.0: [168c:0050] type 00 class 0x028000
[    0.667127] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.667184] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.667265] pci 0000:00:00.0: supports D1
[    0.667277] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.667518] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.667552] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[    0.675316] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[    0.682944] pci 0000:00:00.0: using irq 40 for pin 1
[    0.689027] clocksource: Switched to clocksource MIPS
[    0.695645] NET: Registered protocol family 2
[    0.701316] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.708689] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.715471] TCP: Hash tables configured (established 1024 bind 1024)
[    0.722324] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.728502] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.735483] NET: Registered protocol family 1
[    0.740174] PCI: CLS 0 bytes, default 32
[    0.745440] Crashlog allocated RAM at address 0x3f00000
[    0.752221] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.766885] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.773095] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.793392] io scheduler noop registered
[    0.797534] io scheduler deadline registered (default)
[    0.803385] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.810641] console [ttyS0] disabled
[    0.834597] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.843712] console [ttyS0] enabled
[    0.851276] bootconsole [early0] disabled
[    0.869621] m25p80 spi0.0: found w25q128, expected m25p80
[    0.884352] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.889600] 5 tp-link partitions found on MTD device spi0.0
[    0.895355] Creating 5 MTD partitions on "spi0.0":
[    0.900350] 0x000000000000-0x000000020000 : "u-boot"
[    0.907217] 0x000000020000-0x00000015df44 : "kernel"
[    0.914412] 0x00000015df44-0x000000ff0000 : "rootfs"
[    0.921531] mtd: device 2 (rootfs) set to be root filesystem
[    0.927429] 1 squashfs-split partitions found on MTD device rootfs
[    0.933909] 0x000000550000-0x000000ff0000 : "rootfs_data"
[    0.941400] 0x000000ff0000-0x000001000000 : "art"
[    0.948172] 0x000000020000-0x000000ff0000 : "firmware"
[    0.956596] libphy: Fixed MDIO Bus: probed
[    0.986045] libphy: ag71xx_mdio: probed
[    1.621997] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[    1.632318] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.261593] ag71xx-mdio.1: Found an AR934X built-in switch
[    2.315088] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.322395] NET: Registered protocol family 17
[    2.327207] 8021q: 802.1Q VLAN Support v1.8
[    2.339807] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.349634] Freeing unused kernel memory: 312K
[    2.354223] This architecture does not have kernel memory protection.
[    2.559043] random: fast init done
[    3.046533] init: Console is alive
[    3.050439] init: - watchdog -
[    4.116728] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.210493] usbcore: registered new interface driver usbfs
[    4.216263] usbcore: registered new interface driver hub
[    4.221936] usbcore: registered new device driver usb
[    4.234340] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.243176] ehci-platform: EHCI generic platform driver
[    4.248701] ehci-platform ehci-platform: EHCI Host Controller
[    4.254754] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.265091] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    4.299073] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    4.306607] hub 1-0:1.0: USB hub found
[    4.310952] hub 1-0:1.0: 1 port detected
[    4.316118] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.326306] init: - preinit -
[    5.364892] random: procd: uninitialized urandom read (4 bytes read)
[    8.739003] jffs2: notice: (352) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.756844] mount_root: switching to jffs2 overlay
[    8.797645] urandom-seed: Seeding with /etc/urandom.seed
[    8.966151] procd: - early -
[    8.969965] procd: - watchdog -
[    9.642492] procd: - watchdog -
[    9.646084] procd: - ubus -
[    9.790521] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.804891] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.812142] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.819984] procd: - init -
[   10.216209] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.230412] usbcore: registered new interface driver cdc_wdm
[   10.239008] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   10.247367] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   10.258118] usbcore: registered new interface driver ipheth
[   10.271504] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   10.353951] xt_time: kernel timezone is -0000
[   10.361109] usbcore: registered new interface driver cdc_ether
[   10.541738] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.597904] PPP generic driver version 2.4.2
[   10.605538] NET: Registered protocol family 24
[   10.613271] usbcore: registered new interface driver qmi_wwan
[   10.622421] usbcore: registered new interface driver rndis_host
[   10.661827] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.667870] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   10.943915] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   10.955031] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.050021] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   11.059775] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[   11.070532] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.253137] firmware ath10k!cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   11.262558] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9887/hw1.0/firmware-6.bin failed with error -2
[   11.273671] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.455482] firmware ath10k!QCA9887!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[   11.474867] ath10k_pci 0000:00:00.0: qca9887 hw1.0 target 0x4100016d chip_id 0x004000ff sub 0000:0000
[   11.484487] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   11.499666] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00040 api 5 features no-p2p,ignore-otp,skip-clock-init,mfp,allows-mesh-bcast crc32 3334e5a3
[   11.601094] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9887/hw1.0/board-2.bin failed with error -2
[   11.611933] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.726715] firmware ath10k!QCA9887!hw1.0!board-2.bin: firmware_loading_store: map pages failed
[   11.743408] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 546cca0d
[   11.769404] ath10k_pci 0000:00:00.0: failed to read device EEPROM at 0000
[   11.777300] ath10k_pci 0000:00:00.0: caldata loaded from partition [art]
[   12.830988] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal eeprom max-sta 128 raw 0 hwcrypto 1
[   12.971295] ath: EEPROM regdomain: 0x0
[   12.971307] ath: EEPROM indicates default country code should be used
[   12.971310] ath: doing EEPROM country->regdmn map search
[   12.971326] ath: country maps to regdmn code: 0x3a
[   12.971332] ath: Country alpha2 being used: US
[   12.971336] ath: Regpair used: 0x3a
[   13.127132] ath: EEPROM regdomain: 0x0
[   13.127145] ath: EEPROM indicates default country code should be used
[   13.127149] ath: doing EEPROM country->regdmn map search
[   13.127170] ath: country maps to regdmn code: 0x3a
[   13.127177] ath: Country alpha2 being used: US
[   13.127181] ath: Regpair used: 0x3a
[   13.140052] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   13.145226] ieee80211 phy1: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
[   13.157026] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.893250] urandom_read: 5 callbacks suppressed
[   14.893260] random: jshn: uninitialized urandom read (4 bytes read)
[   23.564137] br-lan: port 1(eth1) entered blocking state
[   23.564157] br-lan: port 1(eth1) entered disabled state
[   23.564594] device eth1 entered promiscuous mode
[   23.565896] br-lan: port 1(eth1) entered blocking state
[   23.565915] br-lan: port 1(eth1) entered forwarding state
[   24.509186] br-lan: port 1(eth1) entered disabled state
[   25.345009] eth1: link up (1000Mbps/Full duplex)
[   25.345068] br-lan: port 1(eth1) entered blocking state
[   25.345079] br-lan: port 1(eth1) entered forwarding state
[   26.610009] ath: EEPROM regdomain: 0x822a
[   26.610022] ath: EEPROM indicates we should expect a country code
[   26.610031] ath: doing EEPROM country->regdmn map search
[   26.610037] ath: country maps to regdmn code: 0x22
[   26.610043] ath: Country alpha2 being used: NZ
[   26.610047] ath: Regpair used: 0x22
[   26.610055] ath: regdomain 0x822a dynamically updated by user
[   26.610158] ath: EEPROM regdomain: 0x822a
[   26.610162] ath: EEPROM indicates we should expect a country code
[   26.610170] ath: doing EEPROM country->regdmn map search
[   26.610176] ath: country maps to regdmn code: 0x22
[   26.610180] ath: Country alpha2 being used: NZ
[   26.610183] ath: Regpair used: 0x22
[   26.610189] ath: regdomain 0x822a dynamically updated by user
[   29.838243] ath10k_pci 0000:00:00.0: failed to read device EEPROM at 0000
[   29.839218] ath10k_pci 0000:00:00.0: caldata loaded from partition [art]
[   31.814735] br-lan: port 2(wlan0) entered blocking state
[   31.814753] br-lan: port 2(wlan0) entered disabled state
[   31.815215] device wlan0 entered promiscuous mode
[   31.863527] br-lan: port 3(wlan1-1) entered blocking state
[   31.863545] br-lan: port 3(wlan1-1) entered disabled state
[   31.864031] device wlan1-1 entered promiscuous mode
[   31.864122] br-lan: port 3(wlan1-1) entered blocking state
[   31.864134] br-lan: port 3(wlan1-1) entered forwarding state
[   32.829121] br-lan: port 3(wlan1-1) entered disabled state
[   35.017706] wlan1: authenticate with 7e:ad:cf:39:2b:82
[   35.031567] wlan1: send auth to 7e:ad:cf:39:2b:82 (try 1/3)
[   35.033829] wlan1: authenticated
[   35.039327] wlan1: associate with 7e:ad:cf:39:2b:82 (try 1/3)
[   35.044025] wlan1: RX AssocResp from 7e:ad:cf:39:2b:82 (capab=0x411 status=0 aid=2)
[   35.044329] wlan1: associated
[   35.075993] wlan1: Limiting TX power to 20 (20 - 0) dBm as advertised by 7e:ad:cf:39:2b:82
[   36.244707] br-lan: port 3(wlan1-1) entered blocking state
[   36.244727] br-lan: port 3(wlan1-1) entered forwarding state
[   39.134490] br-lan: port 2(wlan0) entered blocking state
[   39.134520] br-lan: port 2(wlan0) entered forwarding state
[   62.562748] random: crng init done
[ 1744.900623] ath10k_pci 0000:00:00.0: bss channel survey timed out
[ 1747.940457] ath10k_pci 0000:00:00.0: bss channel survey timed out
[ 1750.980351] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1754.020262] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1757.070117] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1760.100019] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1763.139784] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1766.179687] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1769.219577] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1774.899235] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1777.939092] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1780.986536] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1784.024277] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1787.058838] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1790.098563] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1793.138413] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1796.178242] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1800.343496] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1804.977916] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1808.020380] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1811.057519] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1814.097400] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1817.143231] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1820.177331] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1823.219063] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1826.256830] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1834.336429] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1837.376262] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1840.416093] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1843.455991] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1846.505551] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1849.535656] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1852.575507] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1855.775309] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1860.335143] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1863.374943] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1866.414782] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1869.454614] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1872.496511] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1875.534310] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1878.574185] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1881.613991] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1884.653855] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1890.493530] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1893.533390] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1896.573246] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1899.613073] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1902.662933] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1905.692765] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1908.732738] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1911.772447] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1914.812252] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1920.171980] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1923.217262] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1926.251764] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1929.291504] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1932.336764] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1935.371146] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1938.411007] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1941.450845] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1944.490643] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1950.330354] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1953.370196] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1956.409991] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1959.449824] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1962.489718] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1965.529527] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1968.569397] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1971.609234] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1975.689202] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1980.658820] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1983.688670] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1986.728592] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1989.773828] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1992.808207] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1995.848059] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2004.087657] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2007.127466] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2010.167356] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2013.207176] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2016.247043] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2019.286864] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2022.326706] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2030.006318] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2033.046176] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2036.086015] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2039.125842] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2042.165749] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2045.205527] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2048.248521] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2054.325056] ath10k_pci 0000:00:00.0: failed to install key for vdev 0 peer 4c:49:e3:d6:b9:4b: -11
[ 2054.325076] wlan0: failed to remove key (0, 4c:49:e3:d6:b9:4b) from hardware (-11)
[ 2054.353286] ath10k_pci 0000:00:00.0: cipher 0 is not supported
[ 2054.353309] ath10k_pci 0000:00:00.0: failed to remove peer wep key 0: -122
[ 2054.353321] ath10k_pci 0000:00:00.0: failed to clear all peer wep keys for vdev 0: -122
[ 2054.353336] ath10k_pci 0000:00:00.0: failed to disassociate station: 4c:49:e3:d6:b9:4b vdev 0: -122
[ 2054.353342] ------------[ cut here ]------------
[ 2054.353535] WARNING: CPU: 0 PID: 1647 at backports-2017-11-01/net/mac80211/sta_info.c:993 sta_set_sinfo+0x8d4/0x9cc [mac80211]
[ 2054.353540] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath rndis_host qmi_wwan pppox ppp_generic mac80211 iptable_nat iptable_mangle iptable_filter ipt_REJECT ipt_MASQUERADE ip_tables cfg80211 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 x_tables usbnet slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_log_common nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack ipheth crc_ccitt compat cdc_wdm ledtrig_usbport ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common mii
[ 2054.353728] CPU: 0 PID: 1647 Comm: hostapd Not tainted 4.9.107 #0
[ 2054.353733] Stack : 80487672 00000035 00000000 00000001 8654828c 803febc7 803b75d0 0000066f
[ 2054.353760]         804837c0 000003e1 00000000 00000008 00000000 800a976c 803bce08 80400000
[ 2054.353785]         00000003 000003e1 803bafc0 876d5b0c 00000000 800d75cc 80487672 00000072
[ 2054.353811]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2054.353834]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2054.353857]         ...
[ 2054.353865] Call Trace:
[ 2054.353880] [<8006b5c0>] show_stack+0x70/0x8c
[ 2054.353917] [<80080524>] __warn+0x110/0x118
[ 2054.353931] [<800805c0>] warn_slowpath_null+0x1c/0x2c
[ 2054.354036] [<87606f24>] sta_set_sinfo+0x8d4/0x9cc [mac80211]
[ 2054.354134] [<87604978>] sta_info_get_bss+0x18/0x6c [mac80211]
[ 2054.354233] [<876070fc>] sta_info_destroy_addr_bss+0x38/0x60 [mac80211]
[ 2054.354377] [<8754e2e0>] cfg80211_check_station_change+0x2364/0x3240 [cfg80211]
[ 2054.354414] ---[ end trace 76e3fd41f87c33dc ]---
[ 2057.364905] ath10k_pci 0000:00:00.0: failed to delete peer 4c:49:e3:d6:b9:4b for vdev 0: -11
[ 2057.364942] ath10k_pci 0000:00:00.0: found sta peer 4c:49:e3:d6:b9:4b (ptr 8677b600 id 229) entry on vdev 0 after it was supposedly removed
[ 2057.366192] ------------[ cut here ]------------
[ 2057.366384] WARNING: CPU: 0 PID: 1647 at backports-2017-11-01/net/mac80211/sta_info.c:1001 sta_set_sinfo+0x924/0x9cc [mac80211]
[ 2057.366389] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath rndis_host qmi_wwan pppox ppp_generic mac80211 iptable_nat iptable_mangle iptable_filter ipt_REJECT ipt_MASQUERADE ip_tables cfg80211 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 x_tables usbnet slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_log_common nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack ipheth crc_ccitt compat cdc_wdm ledtrig_usbport ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common mii
[ 2057.366577] CPU: 0 PID: 1647 Comm: hostapd Tainted: G        W       4.9.107 #0
[ 2057.366582] Stack : 80487672 00000043 00000000 00000001 8654828c 803febc7 803b75d0 0000066f
[ 2057.366609]         804837c0 000003e9 00000000 00000008 00000000 800a976c 803bce08 80400000
[ 2057.366634]         00000003 000003e9 803bafc0 876d5b0c 00000000 800d75cc 80487672 00000073
[ 2057.366660]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2057.366683]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2057.366706]         ...
[ 2057.366714] Call Trace:
[ 2057.366728] [<8006b5c0>] show_stack+0x70/0x8c
[ 2057.366763] [<80080524>] __warn+0x110/0x118
[ 2057.366777] [<800805c0>] warn_slowpath_null+0x1c/0x2c
[ 2057.366888] [<87606f74>] sta_set_sinfo+0x924/0x9cc [mac80211]
[ 2057.366987] [<87604978>] sta_info_get_bss+0x18/0x6c [mac80211]
[ 2057.367086] [<876070fc>] sta_info_destroy_addr_bss+0x38/0x60 [mac80211]
[ 2057.367225] [<8754e2e0>] cfg80211_check_station_change+0x2364/0x3240 [cfg80211]
[ 2057.367262] ---[ end trace 76e3fd41f87c33dd ]---
[ 2060.404774] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2063.444576] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2066.484459] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2069.524270] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2072.564091] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2075.603941] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2078.643808] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2081.683658] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2084.723443] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2087.771438] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2090.803177] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2093.842997] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2102.162502] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2105.202331] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2108.242168] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2111.282032] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2114.321878] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2117.361702] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2120.401502] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2128.401051] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2131.450938] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2134.480713] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2137.520545] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2140.560510] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2143.600263] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2146.640040] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2155.199617] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2158.239437] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2161.279214] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2164.319096] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2167.358866] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2170.398688] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2173.438543] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2181.598039] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2184.637881] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2187.677688] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2190.727568] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2193.757337] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2196.797183] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2199.837021] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2203.516915] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request

Trying to replace many firmware versions, but always this way, it will collapse for a while.

Each crash has the following error log

[ 1744.900623] ath10k_pci 0000:00:00.0: bss channel survey timed out
[ 1747.940457] ath10k_pci 0000:00:00.0: bss channel survey timed out
[ 1750.980351] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1754.020262] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1757.070117] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1760.100019] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1763.139784] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1766.179687] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1769.219577] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1774.899235] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1777.939092] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1780.986536] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1784.024277] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
07.04.20181473OtherBug ReportVery LowLowUSB connects then disconnects later in bootTrunkWaiting on reporter Task Description

The Device that this problem occurs on is Netgear WNDR3700v3. I’m using 17.01.04 release of openwrt.
Long story made short, the issue is that USB connects, then later in startup of the router it disconnects and when fully booted it can’t be seen using ‘fdisk -l’ nor can it be mounted (/dev/sda1)...

Installed packages are the ones included in the build + usb-core and its dependencies.

To reproduce this issue:

1.Do standard setup the router ( setup wan, setup lan, switch wifi on).
2.Install packages required for usb functionality.
3.Insert usb and reboot.

You will see during boot that usb light flashes few times and then after boot stops flashing/working. That can be confirmed by dmesg.

[    0.000000] Linux version 4.4.92 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3104-41de9a2) ) #0 Tue Oct 17 17:46:20 2017
[    0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[    0.000000] bcm47xx: Using bcma bus
[    0.000000] bcma: bus0: Found chip with id 0x4716, rev 0x01 and package 0x0A
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8034e4c0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 60940K/65536K available (2979K kernel code, 134K rwdata, 368K rodata, 156K init, 294K bss, 4596K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0)
[    0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0)
[    0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x04, class 0x0) 
[    0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0E, class 0x0)
[    0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x07, class 0x0)
[    0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Found rev 5 PMU (capabilities 0x11242C05)
[    0.000000] bcma: bus0: Found serial flash
[    0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128)
[    0.000000] bcma: bus0: Early bus registered
[    0.000000] MIPS: machine is Unknown Board
[    0.000000] bcm47xx: Setting up vectored interrupts
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7963585194 ns
[    0.000015] sched_clock: 32 bits at 240MHz, resolution 4ns, wraps every 8947848189ns
[    0.000083] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.070033] pid_max: default: 32768 minimum: 301
[    0.070283] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070311] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.074095] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.074144] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.075341] NET: Registered protocol family 16
[    0.076346] Can't analyze schedule() prologue at 800077c8
[    0.095859] clocksource: Switched to clocksource MIPS
[    0.097957] NET: Registered protocol family 2
[    0.099548] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.099608] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.099647] TCP: Hash tables configured (established 1024 bind 1024)
[    0.099818] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.099865] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.100398] NET: Registered protocol family 1
[    0.100494] PCI: CLS 0 bytes, default 32
[    0.515000] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.515042] bcma: bus0: PMU resource config unknown or not needed for device 0x4716
[    0.517109] bcma: bus0: Workarounds unknown or not needed for device 0x4716
[    0.517134] bcma: bus0: Initializing MIPS core...
[    0.517163] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
[    0.517186] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
[    0.517207] bcma: bus0: set_irq: core 0x0819, irq 5 => 5
[    0.517229] bcma: bus0: set_irq: core 0x0820, irq 6 => 6
[    0.517249] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
[    0.517269] bcma: bus0: set_irq: core 0x0834, irq 2 => 2
[    0.517284] bcma: bus0: IRQ reconfiguration done
[    0.517300] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I
[    0.517350] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I
[    0.517392] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I
[    0.517433] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
[    0.517475] bcma: core 0x0819, irq : 2(S)  3  4  5* 6  D  I
[    0.517517] bcma: core 0x0820, irq : 2(S)  3  4  5  6* D  I
[    0.517558] bcma: core 0x082e, irq : 2(S)  3  4  5  6  D* I
[    0.517599] bcma: core 0x080e, irq : 2(S)  3  4  5  6  D  I*
[    0.517639] bcma: core 0x0834, irq : 2(S)* 3  4  5  6  D  I
[    0.517683] bcma: bus0: PCIEcore in host mode found
[    0.701176] PCI host bridge to bus 0000:00
[    0.701231] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0bffffff]
[    0.701260] pci_bus 0000:00: root bus resource [io  0x0100-0x07ff]
[    0.701289] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.701318] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.701400] pci 0000:00:00.0: [14e4:4716] type 00 class 0x060000
[    0.701443] bcma: PCI: Fixing up bridge 0000:00:00.0
[    0.701464] bcma: PCI: Fixing up device 0000:00:00.0
[    0.701528] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.701568] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
[    0.701674] pci 0000:00:00.0: supports D1 D2
[    0.702056] pci 0000:00:00.1: [14e4:0000] type 00 class 0x060000
[    0.702103] bcma: PCI: Fixing up bridge 0000:00:00.1
[    0.702124] bcma: PCI: Fixing up device 0000:00:00.1
[    0.702187] pci 0000:00:00.1: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.702227] pci 0000:00:00.1: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
[    0.702325] pci 0000:00:00.1: supports D1 D2
[    0.702763] pci 0000:00:01.0: [14e4:4331] type 00 class 0x028000
[    0.702894] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.702991] bcma: PCI: Fixing up addresses 0000:00:01.0
[    0.703037] pci 0000:00:01.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit]
[    0.703200] pci 0000:00:01.0: supports D1 D2
[    0.703605] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.705142] bcma: bus0: Bus registered
[    0.706323] Crashlog allocated RAM at address 0x3f00000
[    0.737420] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.737451] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.742243] io scheduler noop registered
[    0.742278] io scheduler deadline registered (default)
[    0.742710] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.747752] console [ttyS0] disabled
[    0.767993] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[    1.271345] console [ttyS0] enabled
[    1.383454] 7 bcm47xxpart partitions found on MTD device bcm47xxsflash
[    1.390163] Creating 7 MTD partitions on "bcm47xxsflash":
[    1.395669] 0x000000000000-0x000000040000 : "boot"
[    1.404675] 0x000000040000-0x0000007e0000 : "firmware"
[    1.412942] 0x0000007e0000-0x0000007f0000 : "board_data"
[    1.421384] 0x0000007f0000-0x000000800000 : "nvram"
[    1.429424] 0x00000004001c-0x00000004091c : "loader"
[    1.437592] 0x00000004091c-0x000000166000 : "linux"
[    1.445531] 0x000000166000-0x0000007e0000 : "rootfs"
[    1.453634] mtd: device 6 (rootfs) set to be root filesystem
[    1.459556] 1 squashfs-split partitions found on MTD device rootfs
[    1.465900] 0x0000003a0000-0x0000007e0000 : "rootfs_data"
[    1.477763] libphy: Fixed MDIO Bus: probed
[    1.482172] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[    1.491131] libphy: bcma_mdio mii bus: probed
[    1.495592] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[    1.656300] b53_common: found switch: BCM53115, rev 8
[    1.662752] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[    1.669147] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[    1.677188] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    1.682952] bcma: PCI: Fixing up device 0000:00:01.0
[    1.688087] bcma: change PCIe max read request size from 512 to 128
[    1.694521] bcma: bus1: Found chip with id 0x4331, rev 0x02 and package 0x08
[    1.701786] bcma: bus1: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x25, class 0x0)
[    1.710541] bcma: bus1: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1D, class 0x0)
[    1.719387] bcma: bus1: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x13, class 0x0)
[    1.727658] bcma: bus1: Found rev 10 PMU (capabilities 0x108C260A)
[    1.727690] bcma: bus1: SPROM offset 0x800
[    1.851848] bcma: bus1: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[    2.046785] bcma: bus1: Using SPROM revision 9 provided by platform.
[    2.046829] bcma: bus1: PMU resource config unknown or not needed for device 0x4331
[    2.057502] bcma: bus1: Bus registered
[    2.063308] NET: Registered protocol family 10
[    2.072711] NET: Registered protocol family 17
[    2.077480] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.090356] 8021q: 802.1Q VLAN Support v1.8
[    2.104187] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[    2.112500] Freeing unused kernel memory: 156K
[    3.754063] init: Console is alive
[    3.758057] init: - watchdog -
[    4.878998] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.017988] usbcore: registered new interface driver usbfs
[    5.023754] usbcore: registered new interface driver hub
[    5.029472] usbcore: registered new device driver usb
[    5.042546] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.051645] ehci-platform: EHCI generic platform driver
[    5.057233] ehci-platform ehci-platform.0: EHCI Host Controller
[    5.063363] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    5.071819] ehci-platform ehci-platform.0: irq 5, io mem 0x18004000
[    5.095922] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    5.104198] hub 1-0:1.0: USB hub found
[    5.108771] hub 1-0:1.0: 2 ports detected
[    5.117596] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.126043] ohci-platform: OHCI generic platform driver
[    5.131512] ohci-platform ohci-platform.0: Generic Platform OHCI controller
[    5.138753] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 2
[    5.147160] ohci-platform ohci-platform.0: irq 5, io mem 0x18009000
[    5.211640] hub 2-0:1.0: USB hub found
[    5.216336] hub 2-0:1.0: 2 ports detected
[    5.224214] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.242340] init: - preinit -
[    5.608070] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    5.864264] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
[    5.889247] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.865937] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[    7.873468] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.273926] jffs2: notice: (342) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.303649] mount_root: loading kmods from internal overlay
[   10.724352] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.373272] SCSI subsystem initialized
[   11.419230] uhci_hcd: USB Universal Host Controller Interface driver
[   11.454632] usb-storage 1-1:1.0: USB Mass Storage device detected
[   11.462745] scsi host0: usb-storage 1-1:1.0
[   11.468012] usbcore: registered new interface driver usb-storage
[   11.475786] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.882238] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   11.892225] block: extroot: not configured
[   11.897883] mount_root: switching to jffs2 overlay
[   11.912369] urandom-seed: Seeding with /etc/urandom.seed
[   12.092045] procd: - early -
[   12.095211] procd: - watchdog -
[   12.831439] scsi 0:0:0:0: Direct-Access     FLASH    Drive SM_USB20   3000 PQ: 0 ANSI: 0 CCS
[   12.845660] sd 0:0:0:0: [sda] 3932160 512-byte logical blocks: (2.01 GB/1.88 GiB)
[   12.866047] sd 0:0:0:0: [sda] Write Protect is off
[   12.871009] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[   12.872568] sd 0:0:0:0: [sda] No Caching mode page found
[   12.878114] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   12.900092]  sda: sda1 sda2
[   12.912389] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   13.408590] procd: - watchdog -
[   13.413238] procd: - ubus -
[   13.575271] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.589064] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.599754] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.609582] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.621827] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.631285] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.641747] random: ubusd: uninitialized urandom read (4 bytes read, 51 bits of entropy available)
[   13.652513] random: ubusd: uninitialized urandom read (4 bytes read, 51 bits of entropy available)
[   13.664938] procd: - init -
[   14.978977] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.994949] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.021509] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   15.029742] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   15.042765] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.063214] nf_conntrack version 0.5.0 (954 buckets, 3816 max)
[   15.125836] xt_time: kernel timezone is -0000
[   15.219516] PPP generic driver version 2.4.2
[   15.229060] NET: Registered protocol family 24
[   15.251342] b43-phy0: Broadcom 4716 WLAN found (core revision 17)
[   15.258525] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 5
[   15.264740] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 7, Version 0
[   15.273031] b43-phy1: Broadcom 4331 WLAN found (core revision 29)
[   15.279362] bcma: bus1: Switched to core: 0x812
[   15.286208] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.306006] b43-phy1: Found PHY: Analog 9, Type 7 (HT), Revision 1
[   15.312319] b43-phy1: Found Radio: Manuf 0x17F, ID 0x2059, Revision 0, Version 1
[   15.319890] b43-phy1 warning: 5 GHz band is unsupported on this PHY
[   15.340847] Broadcom 43xx driver loaded [ Features: NL ]
[   15.350173] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   15.476055] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.239669] random: jshn: uninitialized urandom read (4 bytes read, 81 bits of entropy available)
[   27.045316] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   27.094907] device eth0.1 entered promiscuous mode
[   27.099903] device eth0 entered promiscuous mode
[   27.140638] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   27.388545] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   28.346008] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[   28.353541] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   28.530202] br-lan: port 1(eth0.1) entered forwarding state
[   28.536077] br-lan: port 1(eth0.1) entered forwarding state
[   28.541946] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   28.616063] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   30.535925] br-lan: port 1(eth0.1) entered forwarding state
[   32.126060] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   32.134511] usb 1-1: USB disconnect, device number 2
[   32.437880] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   32.478559] device wlan0 entered promiscuous mode
[   32.546447] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   32.553223] br-lan: port 2(wlan0) entered forwarding state
[   32.559023] br-lan: port 2(wlan0) entered forwarding state
[   34.555927] br-lan: port 2(wlan0) entered forwarding state
[   37.215918] random: nonblocking pool is initialized
07.04.20181472KernelBug ReportVery LowMediumStopping lxc container results in kernel oopsTrunkWaiting on reporter Task Description

Device: Linksys WRT1900ACS v2
OpenWrt version: Latest master (c0742307a18178ee7d2cee1fc6b0e199ccb1e1fa)

root@OpenWrt:~# lxc-checkconfig 
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled

--- Control groups ---
Cgroups: enabled

Cgroup v1 mount points: 
/sys/fs/cgroup

Cgroup v2 mount points: 


Cgroup v1 systemd controller: /usr/bin/lxc-checkconfig: line 169: printf \033[1;31m: not found

Cgroup v1 freezer controller: /usr/bin/lxc-checkconfig: line 176: printf \033[1;31m: not found

Cgroup v1 clone_children flag: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled, loaded
Macvlan: enabled, loaded
Vlan: enabled, not loaded
Bridges: enabled, not loaded
Advanced netfilter: enabled, not loaded
CONFIG_NF_NAT_IPV4: enabled, loaded
CONFIG_NF_NAT_IPV6: missing
CONFIG_IP_NF_TARGET_MASQUERADE: enabled, loaded
CONFIG_IP6_NF_TARGET_MASQUERADE: missing
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled, loadedCONFIG_NETFILTER_XT_MATCH_COMMENT: enabled, loaded
FUSE (for use with lxcfs): enabled, loaded

--- Checkpoint/Restore ---
checkpoint restore: enabled
CONFIG_FHANDLE: enabled
CONFIG_EVENTFD: enabled
CONFIG_EPOLL: enabled
CONFIG_UNIX_DIAG: enabled
CONFIG_INET_DIAG: enabled
CONFIG_PACKET_DIAG: enabled
CONFIG_NETLINK_DIAG: enabled
File capabilities: enabled

Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig

Prerequisities:
1.lxc-create -t alpine –name container
2.Modify /srv/lxc/container/config adding:
lxc.net.0.type = veth
lxc.net.0.link = br-lan
lxc.net.0.flags = up
lxc.net.0.ipv4.address = 192.168.1.5/24
lxc.net.0.ipv4.gateway = 192.168.1.1
lxc.net.0.name = eth0
3.lxc-start –name container

Steps to reproduce:
1.lxc-stop –name container

[   89.634758] ------------[ cut here ]------------
[   89.639416] WARNING: CPU: 0 PID: 39 at net/netfilter/core.c:392 nf_unregister_net_hooks+0x7c/0x188
[   89.648432] Modules linked in: qcserial pppoe ppp_async option ipw cdc_mbim usb_wwan usb_serial_simple ueagle_atm ti_usb_3410_5052 sr9700 speedtch smsc95xx sierra_net sierra rndis_host qmi_wwan pppox ppp_generic plusb pl2303 oti6858 nf_nat_pptp nf_conntrack_pptp mos7720 mct_u232 mcs7830 keyspan kalmia iptable_nat ipt_MASQUERADE ipt_CLUSTERIP io_edgeport huawei_cdc_ncm garmin_gps ftdi_sio ebtable_nat ebtable_filter ebtable_broute dm9601 cypress_m8 cxacru cp210x ch341 cdc_subset cdc_ncm cdc_ether cdc_eem belkin_sa ax88179_178a asix ark3116 yealink xt_u32 xt_time xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota2 xt_quota xt_psd xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_lscan xt_limit xt_length2 xt_length xt_ipv4options xt_iprange xt_ipp2p xt_iface xt_hl xt_helper
[   89.719541]  xt_hashlimit xt_geoip xt_fuzzy xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_cluster xt_addrtype xt_TRACE xt_TPROXY xt_TEE xt_TCPMSS xt_SYSRQ xt_REDIRECT xt_NFQUEUE xt_NFLOG xt_NETMAP xt_LUA xt_LOGMARK xt_LOG xt_LED xt_IPMARK xt_HL xt_FLOWOFFLOAD xt_DSCP xt_DNETMAP xt_DHCPMAC xt_CT xt_CLASSIFY xt_CHECKSUM xt_DELUDE xt_TARPIT ipt_REJECT xt_tcpudp xt_CHAOS xt_ACCOUNT xr_usb_serial_common vport_vxlan vport_gre vport_geneve visor vhci_hcd usbserial usbnet usblp usbip_host usbip_core usbhid usbatm ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_fsm ts_bm slhc rtl8150 r8152 pegasus openvswitch nfnetlink_queue nfnetlink_log nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip
[   89.791156]  nf_nat_rtsp 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_ftp nf_nat_amanda nf_nat nf_log_ipv4 nf_log_common nf_flow_table_hw nf_flow_table nf_dup_ipv4 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtsp 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 nf_conntrack macvlan libcrc32c kaweth iptable_raw iptable_mangle iptable_filter ipt_rpfilter ipt_ah ipt_ECN ipheth ip_tables hso hid_generic ezusb ebtables ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_nflog ebt_mark_m ebt_mark ebt_log ebt_limit ebt_ip ebt_dnat ebt_arpreply ebt_arp ebt_among ebt_802_3 dmx_usb
[   89.862055]  crc_ccitt compat_xtables cm109 cdc_wdm cdc_acm br_netfilter arptable_filter arpt_mangle arp_tables fuse configs sg hid evdev input_core mwlwifi mac80211 cfg80211 compat xt_set x_tables 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 nfsv4 nfsv3 nfsd nfs ip_gre gre ip_tunnel veth tun nbd mpls_gso mpls_iptunnel mpls_router vfat fat ntfs lockd sunrpc grace isofs cramfs autofs4 dns_resolver dm_crypt dm_mirror dm_region_hash dm_log dm_mod dax br2684 atm nls_utf8 nls_iso8859_2 nls_iso8859_15 nls_iso8859_1 nls_cp437 rfkill vxlan geneve udp_tunnel
[   89.933239]  uas dwc3 dwc2 ohci_pci uhci_hcd ohci_platform ohci_hcd gpio_button_hotplug reiserfs exfat mii
[   89.942957] CPU: 0 PID: 39 Comm: kworker/u4:2 Not tainted 4.14.32 #0
[   89.949337] Hardware name: Marvell Armada 380/385 (Device Tree)
[   89.955283] Workqueue: netns cleanup_net
[   89.959234] [<c010f640>] (unwind_backtrace) from [<c010b30c>] (show_stack+0x10/0x14)
[   89.967014] [<c010b30c>] (show_stack) from [<c05f6608>] (dump_stack+0x88/0x9c)
[   89.974269] [<c05f6608>] (dump_stack) from [<c012228c>] (__warn+0xe4/0x100)
[   89.981260] [<c012228c>] (__warn) from [<c0122358>] (warn_slowpath_null+0x20/0x28)
[   89.988864] [<c0122358>] (warn_slowpath_null) from [<c0574568>] (nf_unregister_net_hooks+0x7c/0x188)
[   89.998037] [<c0574568>] (nf_unregister_net_hooks) from [<c0533084>] (ops_exit_list+0x38/0x60)
[   90.006686] [<c0533084>] (ops_exit_list) from [<c0534358>] (cleanup_net+0x188/0x294)
[   90.014462] [<c0534358>] (cleanup_net) from [<c013881c>] (process_one_work+0x240/0x3d0)
[   90.022500] [<c013881c>] (process_one_work) from [<c01397b8>] (worker_thread+0x330/0x560)
[   90.030715] [<c01397b8>] (worker_thread) from [<c013e01c>] (kthread+0x148/0x154)
[   90.038143] [<c013e01c>] (kthread) from [<c0107a68>] (ret_from_fork+0x14/0x2c)
[   90.045411] ---[ end trace ea4697cf910febb4 ]---
03.02.20181324Base systemBug ReportVery LowLowmac80211: wrong mac address calculation with 2 phyTrunkWaiting on reporter Task Description

I’m using current master branch.

In files/lib/wifi/mac80211.sh there is a function mac80211_generate_mac() that tries to generate mac (BSSID) for interfaces. But the is a problem in design here.

I have two phy devices (2,4 and 5GHz):

root@router:/tmp# cat /sys/class/ieee80211/phy*/addresses
xx:xx:xx:xx:2f:2e
xx:xx:xx:xx:2f:2f
root@router:/tmp# cat /sys/class/ieee80211/phy*/address_mask
00:00:00:00:00:07
00:00:00:00:00:07

I also have 4 interfaces in /etc/config/wireless: 2 for radio0 and 2 for radio1. On every channel one is my private AP, and one is for guests.

Since mac80211.sh knows only about phy itself for phy0 is generates ...:2f:2e for main AP and ...:2f:2f for guest one. On phy1 I see :2f:2f for main and 2f:2e for guest.

Since mac addresses goes to bssid (or hostapd creates mac based on bssid in config) I have problem: different AP have the same BSSID.

In my particular case I was able to run the setup after I manually calculate and set macaddresses in /etc/config/wireless

tags: @nbd168 @NeoRaider

19.10.20171076PackagesBug ReportVery LowHighBugs about QCA9886AllWaiting on reporter Task Description

Supply the following if possible:
- Device problem occurs on archer-c58-v1
- Software versions of LEDE release is the latest master version, and other versions have same bug.

  I noticed the memory is leaking after connected serveral devices with QCA9886,

that will cause system crash in the end. Before leaking, WIFI can work fine, but when memory is leaking, WIFI can not work anymore.

  My OS is latest lede(mac80211 version is backports-2017-10-06), 

and the board can work with QSDK.

  If you need more detail information, please let me know.
 


05.10.20171041Base systemBug ReportVery LowLowWZR-600DHP: Nexus 5X can not connect with HT40 + channe...lede-17.01Waiting on reporter Task Description

At least my Raspberry Pi, Moto E LTE, and Chromebooks had no problems with it. Only the Nexus 5X couldn’t connect AFAIK.

Either way, channel 3 works, but channel 1 did not work, connecting from my Nexus 5X. With channel 1 HT40, it associates, but its DHCP DISCOVER packets are not seen by the router.

Channel 1 with HT20 does work fine also.

03.03.2017588Base systemBug ReportMediumLowopenvpn-mbedtls crash on mpc85xx with signal 4 (SIGILL)lede-17.01Waiting on reporter Task Description

device: tp-link wdr4900
affected version: lede 17.01 / openvpn-mbedtls - 2.4.0-3

openvpn config:

dev tun-monitoring
remote somehost 1194

ca /etc/openvpn/monitoring-vpn/ca.crt
cert /etc/openvpn/monitoring-vpn/xyz.crt
key /etc/openvpn/monitoring-vpn/xyz.key
tls-auth /etc/openvpn/monitoring-vpn/ta.key 1
remote-cert-tls server

keepalive 10 120
cipher AES-256-CBC
comp-lzo yes

persist-key
persist-tun


06.02.2017472Base systemBug ReportVery LowMedium6to4 support with 1:1 natTrunkWaiting on reporter Task Description

One-to-one NAT means you have LAN address on interface and its mapped 1:1 to external ip addresses.
You can have incoming connections.

In such configuration “ipaddr” must be specified in 6to4 protocol section.
But due to bug this addr is submitted as local address for tunnel creation.
It does not work.

I fixed this with the following patch to /lib/netifd/proto/6to4.sh

48,53c48,53
< [ -z “$ipaddr” ] && {
< if ! network_get_ipaddr ipaddr “$wanif”; then
< proto_notify_error “$cfg” “NO_WAN_ADDRESS” < return
< fi
< }

if ! network_get_ipaddr ipladdr “$wanif”; then
> proto_notify_error “$cfg” “NO_WAN_ADDRESS”
return
> fi
>
> [ -z “$ipaddr” ] && ipaddr=$ipladdr
76c76
< json_add_string local “$ipaddr”

json_add_string local “$ipladdr”

I suggest you integrate this patch or do something similar yourself.

18.01.2017408Base systemBug ReportVery LowLowArcher C7 has incorrect default bssid addresses for wif...TrunkWaiting on reporter Task Description

Using LEDE Reboot SNAPSHOT r3022-7fb11c8.

This is at least for Archer C7 v2. The default bssids for the networks in my particular device are:

:::::*D for the 2,4 GHz radio and
:::::*C for the 5 GHz radio

In LEDE they result in

:::::*C for the 2,4 GHz radio and
:::::*B for the 5 GHz radio

The problem in LEDE is that the bssid set up for the 2,4 GHz is the one for 5 GHz and then the 5 GHz gets minus one. Don’t know if it could be because the ethernet lan gets also :::::*D and wlan1 can’t have the same mac address as eth1. In the original firmware this seems to be possible, both ethernet lan and 2,4 GHz radio have the same mac/bssid. Also, at least with the 2,4 GHz radio, when you set up another connection with the device as client, the bssid of the master one change *(+2)::::**:*C the second hex digit gets plus 2, the bssid that should get a second connection as ap, but in this case there is one ap one client connections. This one could be right and I have to test with another router to see if it happens because I didn’t notice this before.

29.09.20171024PackagesFeature RequestVery LowLowThere is no "LEDE interface" for the Linux interface cr...AllResearching Task Description

Let’s say I want to enable dropbear only in the tun0 interface created by OpenVPN. The dropbear configuration has an “Interface” field where I can make it listen, for example, only on the “wan” or “lan” interfaces. But the tun0 interface has not been created by anything in /etc/config/network and LEDE doesn’t really know about it, so I can’t specify it the dropbear configuration.

Even adding the tun0 interface to a “vpn” network in /etc/config/network using “proto none” fails to do the trick.

15.05.2017786Base systemFeature RequestVery LowMediumPlease, add support to ecdsa key typelede-17.01Researching Task Description

At the moment dropbear tool is compiled without the ecdsa key type support.
ECDSA (https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm) is considere better than RSA as it requires fewer key bits to gain same security.

17.04.2017713Base systemBug ReportVery LowLownetifd: substantially more IFUP events are being create...TrunkResearching Task Description

I have noticed that some services reloaded with a procd “interface.*” raw trigger are reloading on a much more frequent cadence (few minutes or so). LEDE 17.01 does not do this. LEDE Trunk does. I can not find an obvious cause in procd. Though procd should not stop-start for reload without a command line change or explicit file under watch. Perhaps netifd commit a03216660797173fbe67866f75564e3fec9c1e8d is generating unusual numbers of IFUP.

procd_add_raw_trigger “interface.*” 2000 /etc/init.d/[script] reload

14.10.2016227Base systemBug ReportMediumHighVLAN support mismatch between preinit and default netwo...TrunkResearching Task Description

PPPoE is broken on WRT1900ACS

Upgraded from Lede r578 to latest Lede r1814 and PPPOE doesn’t work anymore altough the pppd version and PPPoE version are the same:
- Linksys WRT1900ACS
- LEDE reboot r1814

pppd debug log:

Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Timeout waiting for PADO packets
Unable to complete PPPoE Discovery
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]

While on the same hardware running LEDE r578, the PPPoE module works as expected:

Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Recv PPPOE Discovery V1T1 PADO session 0×0 length 40
dst c2:56:27:ca:d7:d4 src a0:f3:e4:34:d8:21
[service-name] [AC-name acc-aln1.hac] [AC-cookie 75 58 37 a5 ba 3c e4 a5 2a 61 bb 23 92 5c 1b dc]
Send PPPOE Discovery V1T1 PADR session 0×0 length 24
dst a0:f3:e4:34:d8:21 src c2:56:27:ca:d7:d4
[service-name] [AC-cookie 75 58 37 a5 ba 3c e4 a5 2a 61 bb 23 92 5c 1b dc]
Recv PPPOE Discovery V1T1 PADS session 0x30b length 4
dst c2:56:27:ca:d7:d4 src a0:f3:e4:34:d8:21
[service-name]
PADS: Service-Name: ‘’ PPP session is 779
Connected to a0:f3:e4:34:d8:21 via interface eth0
using channel 2
Using interface pppoe-wan
Connect: pppoe-wan ←→ eth0
sent [LCP ConfReq id=0×1 <mru 1492> <magic 0xc6952556>]
rcvd [LCP ConfReq id=0×66 <mru 1492> <auth chap MD5> <magic 0x4cc73648>]
sent [LCP ConfAck id=0×66 <mru 1492> <auth chap MD5> <magic 0x4cc73648>]
rcvd [LCP ConfAck id=0×1 <mru 1492> <magic 0xc6952556>]
sent [LCP EchoReq id=0×0 magic=0xc6952556]
rcvd [CHAP Challenge id=0×1 <7131a44524d1de8f1cd1061cac6d8c071d8bfe7351bc4ea7bd08f56684428475f229ba177a192696ebab32>, name = “acc-aln1.hac”]
sent [CHAP Response id=0×1 <4bb1a418b298790b128ad4d7ef3109ad>, name = “bthomehub@btbroadband.com”]
rcvd [LCP EchoRep id=0×0 magic=0x4cc73648]
rcvd [CHAP Success id=0×1 “CHAP authentication success”]
CHAP authentication succeeded: CHAP authentication success
CHAP authentication succeeded
peer from calling number A0:F3:E4:34:D8:21 authorized
sent [IPCP ConfReq id=0×1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPV6CP ConfReq id=0×1 <addr fe80::c595:37d1:3987:1929>]
rcvd [IPV6CP ConfReq id=0x7b <addr fe80::0221:05ff:feb4:8824>]
sent [IPV6CP ConfAck id=0x7b <addr fe80::0221:05ff:feb4:8824>]
rcvd [IPCP ConfReq id=0×38 <addr 172.16.12.12>]
sent [IPCP ConfAck id=0×38 <addr 172.16.12.12>]
rcvd [IPCP ConfNak id=0×1 <addr 81.146.2.155> <ms-dns1 81.139.57.100> <ms-dns2 81.139.56.100>]
sent [IPCP ConfReq id=0×2 <addr 81.146.2.155> <ms-dns1 81.139.57.100> <ms-dns2 81.139.56.100>]
rcvd [IPV6CP ConfAck id=0×1 <addr fe80::c595:37d1:3987:1929>]
local LL address fe80::c595:37d1:3987:1929
remote LL address fe80::0221:05ff:feb4:8824
Script /lib/netifd/ppp-up started (pid 2646)
rcvd [IPCP ConfAck id=0×2 <addr 81.146.2.155> <ms-dns1 81.139.57.100> <ms-dns2 81.139.56.100>]
local IP address 81.146.2.155
remote IP address 172.16.12.12
primary DNS address 81.139.57.100
secondary DNS address 81.139.56.100
ppp.log
secondary DNS address 81.139.56.100
Script /lib/netifd/ppp-up started (pid 2653)
Script /lib/netifd/ppp-up finished (pid 2646), status = 0×9 Script /lib/netifd/ppp-up finished (pid 2653), status = 0×9

22.06.201626FlysprayFeature RequestVery LowLowComment formatting syntax should be documentedTrunkResearching Task Description

Currently the formatting options are not documented anywhere, and I failed to find any documentation with google. There are a few buttons to use, but they seem to be rather limited (e.g. nothing for quotations).

23.11.20192624Base systemBug ReportVery LowCritical[19.07] wired LAN crashes repeatedly after backport com...openwrt-19.07Assigned Task Description

My new 19.07 build r10733-436dbf12aa for ipq806x/R7800 started to crash the LAN connectivity immediately after the reboot. The reason is something netfilter-related. Log below.

Wireless seems to work, but wired LAN causes repeated kernel errors.

Previous known OK build was r10697-a1ff175dbf (20191116), and after I noticed this new build r10733-436dbf12aa crashing, I looked at the 19.07 commit log and looked for possible culprits.

As the most recent commit looked as the probable culprit based on the nature (netfilter), I made test build of r10732-b177b180bb and that works ok. (I then also rebuilt with r10734-15ce616c2d and naturally that crashes, too.)

router: ipq806x/R7800
kernel: 4.14.155

Good: r10732-b177b180bb
Bad: r10733-436dbf12aa

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=436dbf12aa7381bd6db1b03b36be5a73df386eb4;hp=b177b180bbdb30978aca75d59337246aed2ac268

I have not yest tested master, but as that is a commit done there today and immediately backported to 19.07, it is quite possible that the same things happens in master.

Kernel log example:

[   88.600536] ------------[ cut here ]------------
[   88.600685] WARNING: CPU: 1 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:197 nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache]
[   88.604265] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey fuse sch_cake sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex
[   88.664955]  cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport 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 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 ecb des_generic
[   88.736015]  usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat crc32c_generic
[   88.760160] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W       4.14.155 #0
[   88.782365] Hardware name: Generic DT based system
[   88.789444] [<c030f2c4>] (unwind_backtrace) from [<c030b498>] (show_stack+0x14/0x20)
[   88.794287] [<c030b498>] (show_stack) from [<c079e644>] (dump_stack+0x94/0xa8)
[   88.802189] [<c079e644>] (dump_stack) from [<c031fb58>] (__warn+0xf0/0x11c)
[   88.809209] [<c031fb58>] (__warn) from [<c031fc44>] (warn_slowpath_null+0x20/0x28)
[   88.816096] [<c031fc44>] (warn_slowpath_null) from [<bf5a312c>] (nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache])
[   88.823754] [<bf5a312c>] (nf_conn_rtcache_destroy [nf_conntrack_rtcache]) from [<c06d30f0>] (nf_hook_slow+0x38/0xd4)
[   88.834742] [<c06d30f0>] (nf_hook_slow) from [<c06dbaf0>] (ip_forward+0x304/0x3a4)
[   88.845491] [<c06dbaf0>] (ip_forward) from [<c06dab94>] (ip_rcv+0x26c/0x290)
[   88.852870] [<c06dab94>] (ip_rcv) from [<c0697e84>] (__netif_receive_skb_core+0xa2c/0xbc8)
[   88.860076] [<c0697e84>] (__netif_receive_skb_core) from [<c069a358>] (netif_receive_skb_internal+0xc0/0xd4)
[   88.868161] [<c069a358>] (netif_receive_skb_internal) from [<c077e408>] (br_handle_frame_finish+0x4d8/0x528)
[   88.878136] [<c077e408>] (br_handle_frame_finish) from [<c077e6d4>] (br_handle_frame+0x27c/0x2bc)
[   88.887942] [<c077e6d4>] (br_handle_frame) from [<c0697b60>] (__netif_receive_skb_core+0x708/0xbc8)
[   88.896703] [<c0697b60>] (__netif_receive_skb_core) from [<c069815c>] (process_backlog+0xa8/0x160)
[   88.905562] [<c069815c>] (process_backlog) from [<c069a794>] (net_rx_action+0x144/0x31c)
[   88.914587] [<c069a794>] (net_rx_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
[   88.922837] [<c03015c8>] (__do_softirq) from [<c03240fc>] (irq_exit+0xdc/0x148)
[   88.930563] [<c03240fc>] (irq_exit) from [<c030e4cc>] (handle_IPI+0xb4/0x1ac)
[   88.937586] [<c030e4cc>] (handle_IPI) from [<c03014b8>] (gic_handle_irq+0x9c/0xb8)
[   88.944878] [<c03014b8>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[   88.952334] Exception stack(0xdd461f80 to 0xdd461fc8)
[   88.959923] 1f80: 00000001 00000000 00000000 c0315200 ffffe000 c0b03cb8 c0b03c6c 00000000
[   88.964962] 1fa0: 00000000 512f04d0 00000000 00000000 dd461fc8 dd461fd0 c030862c c0308630
[   88.973091] 1fc0: 60000013 ffffffff
[   88.981252] [<c030c08c>] (__irq_svc) from [<c0308630>] (arch_cpu_idle+0x38/0x44)
[   88.984562] [<c0308630>] (arch_cpu_idle) from [<c03588e0>] (do_idle+0xe8/0x1bc)
[   88.992193] [<c03588e0>] (do_idle) from [<c0358c28>] (cpu_startup_entry+0x1c/0x20)
[   88.999222] [<c0358c28>] (cpu_startup_entry) from [<423017cc>] (0x423017cc)
[   89.006868] ---[ end trace b7d04976bb2993e8 ]---
[   89.020620] ------------[ cut here ]------------
[   89.020665] WARNING: CPU: 1 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:197 nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache]
[   89.024304] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey fuse sch_cake sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex
[   89.084961]  cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport 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 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 ecb des_generic
[   89.156117]  usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat crc32c_generic
[   89.180242] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W       4.14.155 #0
[   89.202422] Hardware name: Generic DT based system
[   89.209468] [<c030f2c4>] (unwind_backtrace) from [<c030b498>] (show_stack+0x14/0x20)
[   89.214324] [<c030b498>] (show_stack) from [<c079e644>] (dump_stack+0x94/0xa8)
[   89.222224] [<c079e644>] (dump_stack) from [<c031fb58>] (__warn+0xf0/0x11c)
[   89.229251] [<c031fb58>] (__warn) from [<c031fc44>] (warn_slowpath_null+0x20/0x28)
[   89.236121] [<c031fc44>] (warn_slowpath_null) from [<bf5a312c>] (nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache])
[   89.243766] [<bf5a312c>] (nf_conn_rtcache_destroy [nf_conntrack_rtcache]) from [<c06d30f0>] (nf_hook_slow+0x38/0xd4)
[   89.254779] [<c06d30f0>] (nf_hook_slow) from [<c06dbaf0>] (ip_forward+0x304/0x3a4)
[   89.265534] [<c06dbaf0>] (ip_forward) from [<c06dab94>] (ip_rcv+0x26c/0x290)
[   89.272913] [<c06dab94>] (ip_rcv) from [<c0697e84>] (__netif_receive_skb_core+0xa2c/0xbc8)
[   89.280118] [<c0697e84>] (__netif_receive_skb_core) from [<c069a358>] (netif_receive_skb_internal+0xc0/0xd4)
[   89.288199] [<c069a358>] (netif_receive_skb_internal) from [<c077e408>] (br_handle_frame_finish+0x4d8/0x528)
[   89.298179] [<c077e408>] (br_handle_frame_finish) from [<c077e6d4>] (br_handle_frame+0x27c/0x2bc)
[   89.307984] [<c077e6d4>] (br_handle_frame) from [<c0697b60>] (__netif_receive_skb_core+0x708/0xbc8)
[   89.316749] [<c0697b60>] (__netif_receive_skb_core) from [<c069815c>] (process_backlog+0xa8/0x160)
[   89.325605] [<c069815c>] (process_backlog) from [<c069a794>] (net_rx_action+0x144/0x31c)
[   89.334632] [<c069a794>] (net_rx_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
[   89.342880] [<c03015c8>] (__do_softirq) from [<c03240fc>] (irq_exit+0xdc/0x148)
[   89.350604] [<c03240fc>] (irq_exit) from [<c030e4cc>] (handle_IPI+0xb4/0x1ac)
[   89.357635] [<c030e4cc>] (handle_IPI) from [<c03014b8>] (gic_handle_irq+0x9c/0xb8)
[   89.364925] [<c03014b8>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[   89.372387] Exception stack(0xdd461f80 to 0xdd461fc8)
[   89.379949] 1f80: 00000001 00000000 00000000 c0315200 ffffe000 c0b03cb8 c0b03c6c 00000000
[   89.384986] 1fa0: 00000000 512f04d0 00000000 00000000 dd461fc8 dd461fd0 c030862c c0308630
[   89.393137] 1fc0: 60000013 ffffffff
[   89.401296] [<c030c08c>] (__irq_svc) from [<c0308630>] (arch_cpu_idle+0x38/0x44)
[   89.404600] [<c0308630>] (arch_cpu_idle) from [<c03588e0>] (do_idle+0xe8/0x1bc)
[   89.412238] [<c03588e0>] (do_idle) from [<c0358c28>] (cpu_startup_entry+0x1c/0x20)
[   89.419267] [<c0358c28>] (cpu_startup_entry) from [<423017cc>] (0x423017cc)
[   89.426973] ---[ end trace b7d04976bb2993e9 ]---
[   89.433868] ------------[ cut here ]------------
[   89.438700] WARNING: CPU: 1 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:197 nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache]
[   89.443227] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey fuse sch_cake sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex
[   89.503856]  cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport 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 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 ecb des_generic
[   89.575047]  usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat crc32c_generic
[   89.599166] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W       4.14.155 #0
[   89.621345] Hardware name: Generic DT based system
[   89.628387] [<c030f2c4>] (unwind_backtrace) from [<c030b498>] (show_stack+0x14/0x20)
[   89.633245] [<c030b498>] (show_stack) from [<c079e644>] (dump_stack+0x94/0xa8)
[   89.641147] [<c079e644>] (dump_stack) from [<c031fb58>] (__warn+0xf0/0x11c)
[   89.648174] [<c031fb58>] (__warn) from [<c031fc44>] (warn_slowpath_null+0x20/0x28)
[   89.655045] [<c031fc44>] (warn_slowpath_null) from [<bf5a312c>] (nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache])
[   89.662687] [<bf5a312c>] (nf_conn_rtcache_destroy [nf_conntrack_rtcache]) from [<c06d30f0>] (nf_hook_slow+0x38/0xd4)
[   89.673703] [<c06d30f0>] (nf_hook_slow) from [<c06dbaf0>] (ip_forward+0x304/0x3a4)
[   89.684457] [<c06dbaf0>] (ip_forward) from [<c06dab94>] (ip_rcv+0x26c/0x290)
[   89.691837] [<c06dab94>] (ip_rcv) from [<c0697e84>] (__netif_receive_skb_core+0xa2c/0xbc8)
[   89.699044] [<c0697e84>] (__netif_receive_skb_core) from [<c069a358>] (netif_receive_skb_internal+0xc0/0xd4)
[   89.707121] [<c069a358>] (netif_receive_skb_internal) from [<c077e408>] (br_handle_frame_finish+0x4d8/0x528)
[   89.717102] [<c077e408>] (br_handle_frame_finish) from [<c077e6d4>] (br_handle_frame+0x27c/0x2bc)
[   89.726906] [<c077e6d4>] (br_handle_frame) from [<c0697b60>] (__netif_receive_skb_core+0x708/0xbc8)
[   89.735674] [<c0697b60>] (__netif_receive_skb_core) from [<c069815c>] (process_backlog+0xa8/0x160)
[   89.744529] [<c069815c>] (process_backlog) from [<c069a794>] (net_rx_action+0x144/0x31c)
[   89.753557] [<c069a794>] (net_rx_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
[   89.761804] [<c03015c8>] (__do_softirq) from [<c03240fc>] (irq_exit+0xdc/0x148)
[   89.769528] [<c03240fc>] (irq_exit) from [<c030e4cc>] (handle_IPI+0xb4/0x1ac)
[   89.776558] [<c030e4cc>] (handle_IPI) from [<c03014b8>] (gic_handle_irq+0x9c/0xb8)
[   89.783849] [<c03014b8>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[   89.791312] Exception stack(0xdd461f80 to 0xdd461fc8)
[   89.798871] 1f80: 00000001 00000000 00000000 c0315200 ffffe000 c0b03cb8 c0b03c6c 00000000
[   89.803911] 1fa0: 00000000 512f04d0 00000000 00000000 dd461fc8 dd461fd0 c030862c c0308630
[   89.812062] 1fc0: 60000013 ffffffff
[   89.820218] [<c030c08c>] (__irq_svc) from [<c0308630>] (arch_cpu_idle+0x38/0x44)
[   89.823524] [<c0308630>] (arch_cpu_idle) from [<c03588e0>] (do_idle+0xe8/0x1bc)
[   89.831160] [<c03588e0>] (do_idle) from [<c0358c28>] (cpu_startup_entry+0x1c/0x20)
[   89.838191] [<c0358c28>] (cpu_startup_entry) from [<423017cc>] (0x423017cc)
[   89.845897] ---[ end trace b7d04976bb2993ea ]---
[   89.852796] ------------[ cut here ]------------
[   89.857629] WARNING: CPU: 1 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:197 nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache]
[   89.862149] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey fuse sch_cake sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex
[   89.922786]  cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport 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 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 ecb des_generic
[   89.993974]  usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat crc32c_generic
[   90.018095] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W       4.14.155 #0
[   90.040268] Hardware name: Generic DT based system
[   90.047312] [<c030f2c4>] (unwind_backtrace) from [<c030b498>] (show_stack+0x14/0x20)
[   90.052168] [<c030b498>] (show_stack) from [<c079e644>] (dump_stack+0x94/0xa8)
[   90.060070] [<c079e644>] (dump_stack) from [<c031fb58>] (__warn+0xf0/0x11c)
[   90.067098] [<c031fb58>] (__warn) from [<c031fc44>] (warn_slowpath_null+0x20/0x28)
[   90.073967] [<c031fc44>] (warn_slowpath_null) from [<bf5a312c>] (nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache])
[   90.081613] [<bf5a312c>] (nf_conn_rtcache_destroy [nf_conntrack_rtcache]) from [<c06d30f0>] (nf_hook_slow+0x38/0xd4)
[   90.092626] [<c06d30f0>] (nf_hook_slow) from [<c0738a3c>] (ip6_forward+0x5e8/0x684)
[   90.103384] [<c0738a3c>] (ip6_forward) from [<c073a38c>] (ipv6_rcv+0x318/0x380)
[   90.110762] [<c073a38c>] (ipv6_rcv) from [<c0697e84>] (__netif_receive_skb_core+0xa2c/0xbc8)
[   90.118053] [<c0697e84>] (__netif_receive_skb_core) from [<c069a358>] (netif_receive_skb_internal+0xc0/0xd4)
[   90.126738] [<c069a358>] (netif_receive_skb_internal) from [<c077e408>] (br_handle_frame_finish+0x4d8/0x528)
[   90.136546] [<c077e408>] (br_handle_frame_finish) from [<c077e6d4>] (br_handle_frame+0x27c/0x2bc)
[   90.146351] [<c077e6d4>] (br_handle_frame) from [<c0697b60>] (__netif_receive_skb_core+0x708/0xbc8)
[   90.155118] [<c0697b60>] (__netif_receive_skb_core) from [<c069815c>] (process_backlog+0xa8/0x160)
[   90.163974] [<c069815c>] (process_backlog) from [<c069a794>] (net_rx_action+0x144/0x31c)
[   90.173000] [<c069a794>] (net_rx_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
[   90.181248] [<c03015c8>] (__do_softirq) from [<c03240fc>] (irq_exit+0xdc/0x148)
[   90.188975] [<c03240fc>] (irq_exit) from [<c030e4cc>] (handle_IPI+0xb4/0x1ac)
[   90.196004] [<c030e4cc>] (handle_IPI) from [<c03014b8>] (gic_handle_irq+0x9c/0xb8)
[   90.203293] [<c03014b8>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[   90.210757] Exception stack(0xdd461f80 to 0xdd461fc8)
[   90.218318] 1f80: 00000001 00000000 00000000 c0315200 ffffe000 c0b03cb8 c0b03c6c 00000000
[   90.223355] 1fa0: 00000000 512f04d0 00000000 00000000 dd461fc8 dd461fd0 c030862c c0308630
[   90.231506] 1fc0: 60000013 ffffffff
[   90.239665] [<c030c08c>] (__irq_svc) from [<c0308630>] (arch_cpu_idle+0x38/0x44)
[   90.242968] [<c0308630>] (arch_cpu_idle) from [<c03588e0>] (do_idle+0xe8/0x1bc)
[   90.250603] [<c03588e0>] (do_idle) from [<c0358c28>] (cpu_startup_entry+0x1c/0x20)
[   90.257634] [<c0358c28>] (cpu_startup_entry) from [<423017cc>] (0x423017cc)
[   90.265323] ---[ end trace b7d04976bb2993eb ]---
17.09.20192510Base systemBug ReportVery LowVery LowWNDR3700v2, WNDR3800 unable to update from ar71xx-gener...TrunkAssigned Task Description

device

  • WNDR3700v2
  • WNDR3800

Software version of OpenWrt release

  • tested on master branch

Steps to reproduce

  • install openwrt-trunk ar71xx-generic image on device
  • copy openwrt-trunk ath79 image to device
  • sysupgrade from ar71xx-generic to ath79
  • get error message that device is not correct

other

Tried that a month ago. Will add further information as soon as I find time. I would really love to patch this but will need some help. I own both devices and can test.

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.

14.05.20192283Base systemBug ReportMediumLowm76: crash when creating an additional monitor interfac...TrunkAssigned Task Description

OpenWrt: b65a270c851ee422f26a0af10c879ebb87cb8f76
mt76: 4.14.108+2019-03-27-a11b6734-1

While debugging an unicast wifi bug, I tried to create a mon0 interface
iw wlan0 interface add mon0 type monitor.

Modules:	mt7603e@830f0000+87a0	mt76@83128000+6060	mac80211@83080000+6a240	iptable_raw@83111000+2e0	iptable_nat@831c5000+340	iptable_mangle@83bd7000+400	iptable_filter@83135000+360	ipt_REJECT@831c3000+3a0	ipt_MASQUERADE@8311f000+280	ipt_ECN@83bca000+560	ip_tables@831c0000+2650	cfg80211@83000000+35fb0	xt_time@83bbd000+6c0	xt_tcpudp@83baa000+6e0	xt_tcpmss@831ac000+400	xt_statistic@8311d000+320	xt_state@83151000+2a0xt_recent@831ae000+1bf0	xt_nat@83bd0000+5e0	xt_multiport@83bd6000+4e0	xt_mark@83134000+280	xt_mac@83bd3000+240	xt_limit@8315f000+480	xt_length@83125000+2a0	xt_hl@83132000+300	xt_helper@83126000+340	xt_ecn@83127000+520	xt_dscp@8313c000+3c0	xt_conntrack@83ba8000+8e0	xt_connmark@8311c000+420	xt_connlimit@83136000+1110	xt_connbytes@83bcd000+620	xt_comment@83117000+1c0	xt_TCPMSS@83bd2000+800	xt_REDIRECT@83bce000+2a0	xt_LOG@83bcc000+280	xt_HL@83bc9000+520	xt_FLOWOFFLOAD@83bc7000+ab0	xt_DSCP@8313b000+5c0	xt_CT@8313d000+9e0	xt_CLASSIFY@83131000+220	x_tables@83bc0000+30f0	nf_reject_ipv4@83130000+780	nf_nat_redirect@8311e000+560	nf_nat_masquerade_ipv4@83bac000+590	nf_conntrack_ipv4@83bb8000+1100	nf_nat_ipv4@83bba000+c70	nf_nat@83120000+2250	nf_log_ipv4@83bad000+dc0	nf_log_common@83116000+980	nf_flow_table_hw@83bbe000+820	nf_flow_table@83ba4000+3310	nf_defrag_ipv4@83153000+3e0	nf_conntrack_rtcache@83112000+8a0	compat@83118000+1700	act_connmark@83113000+850	nf_conntrack@83100000+d2c0	sch_tbf@8314e000+1680	sch_ingress@8314a000+4a0	sch_htb@83ba0000+36d0	sch_hfsc@83158000+39e0	em_u32@831ba000+200	cls_u32@83154000+2330	cls_tcindex@8314c000+15c0	cls_route@831be000+1540	cls_matchall@831a3000+a20	cls_fw@83144000+1000	cls_flow@83148000+1780	cls_basic@831bb000+d00	act_skbedit@831b4000+9f0	act_mirred@831b5000+e50	ifb@831a0000+be0	l2tp_ip@8316e000+1410	l2tp_eth@831a4000+a00	l2tp_netlink@831a6000+1f90	l2tp_core@831a8000+3110	udp_tunnel@83b99000+920	leds_gpio@83b4f000+b20	gpio_button_hotplug@83b50000+1900
<6>[    0.191477] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.197077] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.203431] NET: Registered protocol family 1
<7>[    0.207612] PCI: CLS 0 bytes, default 32
<4>[    0.210849] Crashlog allocated RAM at address 0x3f00000
<6>[    0.217463] workingset: timestamp_bits=30 max_order=14 bucket_order=0
<6>[    0.229138] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[    0.234765] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
<6>[    0.254072] io scheduler noop registered
<6>[    0.257804] io scheduler deadline registered (default)
<6>[    0.263580] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
<6>[    0.270756] console [ttyS0] disabled
<6>[    0.274257] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
<6>[    0.282984] console [ttyS0] enabled
<6>[    0.289970] bootconsole [early0] disabled
<3>[    0.298544] cacheinfo: Failed to find cpu0 device node
<4>[    0.303799] cacheinfo: Unable to detect cache hierarchy for CPU 0
<6>[    0.310628] spi-mt7621 10000b00.spi: sys_freq: 193333333
<6>[    0.329261] m25p80 spi0.0: s25fl064k (8192 Kbytes)
<5>[    0.334207] 4 fixed-partitions partitions found on MTD device spi0.0
<5>[    0.340643] Creating 4 MTD partitions on "spi0.0":
<5>[    0.345526] 0x000000000000-0x000000020000 : "boot"
<5>[    0.351255] 0x000000020000-0x0000007c0000 : "firmware"
<5>[    0.359405] 2 tplink-fw partitions found on MTD device firmware
<5>[    0.365482] Creating 2 MTD partitions on "firmware":
<5>[    0.370527] 0x000000000000-0x00000014f3a3 : "kernel"
<5>[    0.376451] 0x00000014f3a4-0x0000007a0000 : "rootfs"
<5>[    0.382277] mtd: device 3 (rootfs) set to be root filesystem
<5>[    0.389534] 1 squashfs-split partitions found on MTD device rootfs
<5>[    0.395888] 0x000000390000-0x0000007a0000 : "rootfs_data"
<5>[    0.402220] 0x0000007c0000-0x0000007d0000 : "config"
<5>[    0.408051] 0x0000007d0000-0x000000800000 : "factory"
<6>[    0.414688] libphy: Fixed MDIO Bus: probed
<6>[    0.431000] rt3050-esw 10110000.esw: link changed 0x00
<6>[    0.437801] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
<6>[    0.447188] NET: Registered protocol family 17
<6>[    0.451831] 8021q: 802.1Q VLAN Support v1.8
<6>[    0.468953] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
<6>[    0.476929] Freeing unused kernel memory: 136K
<4>[    0.481474] This architecture does not have kernel memory protection.
<14>[    1.719920] init: Console is alive
<14>[    1.723707] init: - watchdog -
<5>[    2.267376] random: fast init done
<14>[    3.000227] kmodloader: loading kernel modules from /etc/modules-boot.d/*
<14>[    3.073195] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
<14>[    3.091032] init: - preinit -
<6>[    4.256850] rt3050-esw 10110000.esw: link changed 0x00
<5>[    4.687762] random: procd: uninitialized urandom read (4 bytes read)
<13>[    4.780523] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
<12>[    4.822673] urandom-seed: Seed file not found (/etc/urandom.seed)
<14>[    4.918017] procd: - early -
<14>[    4.921055] procd: - watchdog -
<14>[    5.550307] procd: - watchdog -
<14>[    5.553880] procd: - ubus -
<5>[    5.600493] random: ubusd: uninitialized urandom read (4 bytes read)
<5>[    5.667639] random: ubusd: uninitialized urandom read (4 bytes read)
<14>[    5.675598] procd: - init -
<14>[    6.002174] kmodloader: loading kernel modules from /etc/modules.d/*
<6>[    6.011883] l2tp_core: L2TP core driver, V2.0
<6>[    6.017941] l2tp_netlink: L2TP netlink interface
<6>[    6.024375] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
<6>[    6.032295] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
<6>[    6.044769] Mirror/redirect action on
<6>[    6.141161] u32 classifier
<6>[    6.143986]     input device check on
<6>[    6.147693]     Actions configured
<6>[    6.239795] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
<6>[    6.260517] Loading modules backported from Linux version v4.19.23-0-g67d52fae61c1
<6>[    6.268272] Backport generated by backports.git v4.19.23-1-0-g480a925a
<6>[    6.488990] xt_time: kernel timezone is -0000
<6>[    6.514755] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[    6.566528] mt76_wmac 10300000.wmac: ASIC revision: 76280001
<6>[    7.593554] mt76_wmac 10300000.wmac: Firmware Version: 20151201
<6>[    7.599575] mt76_wmac 10300000.wmac: Build Time: 20151201183641
<6>[    7.621350] mt76_wmac 10300000.wmac: firmware init done
<6>[    7.728549] rt3050-esw 10110000.esw: link changed 0x01
<7>[    7.792147] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<14>[    7.802137] kmodloader: done loading kernel modules from /etc/modules.d/*
<4>[    9.177342] urandom_read: 6 callbacks suppressed
<5>[    9.177353] random: jshn: uninitialized urandom read (4 bytes read)
<6>[   11.971477] rt3050-esw 10110000.esw: link changed 0x00
<6>[   15.521829] rt3050-esw 10110000.esw: link changed 0x01
<6>[   40.298153] rt3050-esw 10110000.esw: link changed 0x00
<6>[   43.783225] rt3050-esw 10110000.esw: link changed 0x01
<6>[   44.432507] device eth0 entered promiscuous mode
<6>[   50.910274] br-lan: port 1(eth0.1) entered blocking state
<6>[   50.915855] br-lan: port 1(eth0.1) entered disabled state
<6>[   50.921660] device eth0.1 entered promiscuous mode
<6>[   50.939619] br-lan: port 1(eth0.1) entered blocking state
<6>[   50.945176] br-lan: port 1(eth0.1) entered forwarding state
<6>[   51.073380] br-lan: port 1(eth0.1) entered disabled state
<6>[   51.080911] device eth0.1 left promiscuous mode
<6>[   51.085686] br-lan: port 1(eth0.1) entered disabled state
<6>[   51.170750] br-lan: port 1(eth0.1) entered blocking state
<6>[   51.176313] br-lan: port 1(eth0.1) entered disabled state
<6>[   51.182108] device eth0.1 entered promiscuous mode
<6>[   51.234695] br-lan: port 1(eth0.1) entered blocking state
<6>[   51.240185] br-lan: port 1(eth0.1) entered forwarding state
<6>[   54.284409] br-lan: port 2(wlan0) entered blocking state
<6>[   54.290155] br-lan: port 2(wlan0) entered disabled state
<6>[   54.295937] device wlan0 entered promiscuous mode
<6>[   55.227079] br-lan: port 2(wlan0) entered blocking state
<6>[   55.232548] br-lan: port 2(wlan0) entered forwarding state
<6>[   65.499313] device wlan0 left promiscuous mode
<6>[   65.504001] br-lan: port 2(wlan0) entered disabled state
<6>[   67.659749] br-lan: port 2(wlan0) entered blocking state
<6>[   67.665252] br-lan: port 2(wlan0) entered disabled state
<6>[   67.670929] device wlan0 entered promiscuous mode
<6>[   67.675848] br-lan: port 2(wlan0) entered blocking state
<6>[   67.681236] br-lan: port 2(wlan0) entered forwarding state
<6>[   67.687263] br-lan: port 2(wlan0) entered disabled state
<6>[   70.171904] br-lan: port 2(wlan0) entered blocking state
<6>[   70.177326] br-lan: port 2(wlan0) entered forwarding state
<4>[   74.063128] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
<4>[   74.076565] jffs2_build_filesystem(): unlocking the mtd device... 
<4>[   74.076626] done.
<4>[   74.084920] jffs2_build_filesystem(): erasing all blocks after the end marker... 
<5>[   75.341427] random: crng init done
<4>[   89.806667] done.
<5>[   89.808667] jffs2: notice: (2808) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
<4>[   90.097054] overlayfs: upper fs does not support tmpfile.
<6>[95491.758861] device wlan0 left promiscuous mode
<6>[95491.763556] br-lan: port 2(wlan0) entered disabled state
<6>[95496.123525] br-lan: port 2(wlan0) entered blocking state
<6>[95496.128998] br-lan: port 2(wlan0) entered disabled state
<6>[95496.134779] device wlan0 entered promiscuous mode
<6>[95496.139678] br-lan: port 2(wlan0) entered blocking state
<6>[95496.145064] br-lan: port 2(wlan0) entered forwarding state
<6>[95496.151480] br-lan: port 2(wlan0) entered disabled state
<6>[95497.434477] br-lan: port 2(wlan0) entered blocking state
<6>[95497.439926] br-lan: port 2(wlan0) entered forwarding state
<6>[181891.461089] device wlan0 left promiscuous mode
<6>[181891.465866] br-lan: port 2(wlan0) entered disabled state
<6>[181895.862824] br-lan: port 2(wlan0) entered blocking state
<6>[181895.868387] br-lan: port 2(wlan0) entered disabled state
<6>[181895.874262] device wlan0 entered promiscuous mode
<6>[181897.223872] br-lan: port 2(wlan0) entered blocking state
<6>[181897.229417] br-lan: port 2(wlan0) entered forwarding state
<6>[268291.119138] device wlan0 left promiscuous mode
<6>[268291.123910] br-lan: port 2(wlan0) entered disabled state
<6>[268296.605568] br-lan: port 2(wlan0) entered blocking state
<6>[268296.611162] br-lan: port 2(wlan0) entered disabled state
<6>[268296.616932] device wlan0 entered promiscuous mode
<6>[268298.034899] br-lan: port 2(wlan0) entered blocking state
<6>[268298.040440] br-lan: port 2(wlan0) entered forwarding state
<6>[354690.783285] device wlan0 left promiscuous mode
<6>[354690.788153] br-lan: port 2(wlan0) entered disabled state
<6>[354695.110340] br-lan: port 2(wlan0) entered blocking state
<6>[354695.115924] br-lan: port 2(wlan0) entered disabled state
<6>[354695.121790] device wlan0 entered promiscuous mode
<6>[354696.496658] br-lan: port 2(wlan0) entered blocking state
<6>[354696.502208] br-lan: port 2(wlan0) entered forwarding state
<6>[441090.473174] device wlan0 left promiscuous mode
<6>[441090.478041] br-lan: port 2(wlan0) entered disabled state
<6>[441094.831626] br-lan: port 2(wlan0) entered blocking state
<6>[441094.837188] br-lan: port 2(wlan0) entered disabled state
<6>[441094.843056] device wlan0 entered promiscuous mode
<6>[441094.848063] br-lan: port 2(wlan0) entered blocking state
<6>[441094.853538] br-lan: port 2(wlan0) entered forwarding state
<6>[441094.860044] br-lan: port 2(wlan0) entered disabled state
<6>[441096.143580] br-lan: port 2(wlan0) entered blocking state
<6>[441096.149126] br-lan: port 2(wlan0) entered forwarding state
<6>[527490.172730] device wlan0 left promiscuous mode
<6>[527490.177478] br-lan: port 2(wlan0) entered disabled state
<6>[527494.541946] br-lan: port 2(wlan0) entered blocking state
<6>[527494.547517] br-lan: port 2(wlan0) entered disabled state
<6>[527494.553391] device wlan0 entered promiscuous mode
<6>[527495.938895] br-lan: port 2(wlan0) entered blocking state
<6>[527495.944394] br-lan: port 2(wlan0) entered forwarding state
<1>[592589.839671] CPU 0 Unable to handle kernel paging request at virtual address 000002c8, epc == 830af554, ra == 83082384
<4>[592589.850591] Oops[#1]:
<4>[592589.852986] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.108 #0
<4>[592589.859074] task: 803cb430 task.stack: 803c6000
<4>[592589.863748] $ 0   : 00000000 80410000 00000000 00000000
<4>[592589.869140] $ 4   : 00000000 838cbd80 00000000 00000000
<4>[592589.874531] $ 8   : 838cb1c8 82f18516 00000010 43420000
<4>[592589.879922] $12   : 087f0000 00000000 000a9a0e 00000004
<4>[592589.885312] $16   : 838cbd80 00000000 830ecbc0 830ecbc0
<4>[592589.890703] $20   : 83b61bf0 830f73ac 00000001 00000000
<4>[592589.896093] $24   : 00000010 801bcbe0                  
<4>[592589.901484] $28   : 803c6000 83807e18 830ede88 83082384
<4>[592589.906876] Hi    : 005a1ac2
<4>[592589.909878] Lo    : ef14c145
<4>[592589.912889] epc   : 830af554 0x830af554 [mac80211@83080000+0x6a240]
<4>[592589.919330] ra    : 83082384 0x83082384 [mac80211@83080000+0x6a240]
<4>[592589.925764] Status: 1100e403	KERNEL EXL IE 
<4>[592589.930096] Cause : 00800008 (ExcCode 02)
<4>[592589.934243] BadVA : 000002c8
<4>[592589.937246] PrId  : 00019655 (MIPS 24KEc)
<4>[592589.941392] Modules linked in: mt7603e mt76 mac80211 iptable_raw iptable_nat iptable_mangle iptable_filter ipt_REJECT ipt_MASQUERADE ipt_ECN ip_tables cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY x_tables nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_log_common nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_rtcache compat act_connmark nf_conntrack sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ifb
<4>[592590.013247]  l2tp_ip l2tp_eth l2tp_netlink l2tp_core udp_tunnel leds_gpio gpio_button_hotplug
<4>[592590.021995] Process swapper (pid: 0, threadinfo=803c6000, task=803cb430, tls=00000000)
<4>[592590.030101] Stack : 83807e7c 0000008a 00000000 838cbd80 838cbd80 83082384 00000050 830ecbc0
<4>[592590.038670]         83b61bf0 830f73ac 830ed4e0 00000000 838cb180 00000000 00000000 830ecbc0
<4>[592590.047239]         83b61bf0 830f73ac 830ed4e0 00000001 830ecbc0 830adb78 00000cfc 0000033f
<4>[592590.055808]         8381b800 00000080 00000000 00000000 00060036 00000000 830ed4e0 83b61bf0
<4>[592590.064376]         00000004 00000003 00000006 830f73f0 83807ee0 80058f30 803dfc40 00000003
<4>[592590.072945]         ...
<4>[592590.075510] Call Trace:
<4>[592590.075556] [<83082384>] 0x83082384 [mac80211@83080000+0x6a240]
<4>[592590.084214] [<830f73ac>] 0x830f73ac [mt7603e@830f0000+0x87a0]
<4>[592590.090146] [<830f73ac>] 0x830f73ac [mt7603e@830f0000+0x87a0]
<4>[592590.096068] [<830adb78>] 0x830adb78 [mac80211@83080000+0x6a240]
<4>[592590.102173] [<830f73f0>] 0x830f73f0 [mt7603e@830f0000+0x87a0]
<4>[592590.108088] [<80058f30>] 0x80058f30
<4>[592590.111724] [<830b4d80>] 0x830b4d80 [mac80211@83080000+0x6a240]
<4>[592590.117809] [<80009e70>] 0x80009e70
<4>[592590.121449] [<830f7548>] 0x830f7548 [mt7603e@830f0000+0x87a0]
<4>[592590.127377] [<8002d078>] 0x8002d078
<4>[592590.130998] [<80009e70>] 0x80009e70
<4>[592590.134619] [<80351a20>] 0x80351a20
<4>[592590.138240] [<8005d978>] 0x8005d978
<4>[592590.141866] [<80058f30>] 0x80058f30
<4>[592590.145491] [<80009e70>] 0x80009e70
<4>[592590.149109] 
<4>[592590.150701] Code: 27bdffe8  afbf0014  afb00010 <8c9002c8> 8caa00a4  1080001e  8e090438  8e030044  0123402a 
<4>[592590.160690] 
<4>[592590.162335] ---[ end trace 25bbd90279e222f9 ]---

===================================
10.09.20181840Base systemBug ReportVery LowLowencryption wep+mixed brokenTrunkAssigned Task Description

In file lib/netifd/netifd-wireless.sh the following code is found:

  # Examples:
  # psk-mixed/tkip    => WPA1+2 PSK, TKIP
  # wpa-psk2/tkip+aes => WPA2 PSK, CCMP+TKIP
  # wpa2/tkip+aes     => WPA2 RADIUS, CCMP+TKIP

  case "$encryption" in
    wpa2*|*psk2*)
      wpa=2
    ;;  
    *mixed*)
      wpa=3
    ;;  
    wpa*|*psk*)
      wpa=1
    ;;  
    *)  
      wpa=0
      wpa_cipher=
    ;;
  esac

There are a few problems here, all relating to the comment and case of “*mixed*”

First and most importantly, setting wpa=3 causes hostapd to *exit* with an error and not bring up any configured ssid on the given radio.

Second, this was found when trying to set wep+mixed, which matches on *mixed* and completely breaks not only the wep setting, but the entire radio config. this should likely be changed to {wpa,psk}-mixed* or something similar to avoid colliding with wep+mixed. This will still leave those settings broken (as wpa=3 appears to be invalid) but at least it won’t improperly break wep+mixed as well.

Lastly, wpa3 is going to be a thing soon, so whatever is expecting wpa=3 is likely wrong and should be updated.

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

Available keyboard shortcuts

Tasklist

Task Details

Task Editing