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 TypePriority  descSeveritySummaryReported InStatus
11.05.20181543PackagesBuild FailureVery LowCriticalMany packages in snapshot failing on one build, ok on n...TrunkUnconfirmed Task Description

Snapshot/Packages
Occurs on all architectures apparently at random with faillogs.
After next build some that failed will be ok and some that previously built will fail.
eg submit a PR on https://github.com/openwrt/packages Travis shows fail on dependencies. After next automated build, Travis errors will be different, or if lucky will pass, only to fail again after the next build.
It seems the build system is chasing its tail somehow.

16.05.20181550Base systemBug ReportVery LowCriticalUnable to handle kernel paging request causes router to...TrunkUnconfirmed Task Description

- Device problem occurs on
Xiaomi mi router 3G (R3G)

- Software versions of OpenWrt/LEDE release, packages, etc.
Latest trunk (r6893-bfbdeeb) custom build

- Steps to reproduce
Did not notice there is a pattern here.

- The issue
The kernel crash causes the router to reboot. Here are two traces I was able to catch

May 13 07:24:52 router kernel: [82948.434471] CPU 1 Unable to handle kernel paging request at virtual address 07407800, epc == 80136a70, ra == 8013694c
May 13 07:24:52 router kernel: [82948.445103] Oops[#1]:
May 13 07:24:52 router kernel: [82948.447387] CPU: 1 PID: 1977 Comm: kworker/u8:1 Not tainted 4.14.37 #0
May 13 07:24:52 router kernel: [82948.453909] Workqueue: writeback wb_workfn (flush-8:0)
May 13 07:24:52 router kernel: [82948.459046] task: 8ff3ddc0 task.stack: 8dd62000
May 13 07:24:52 router kernel: [82948.463565] $ 0 : 00000000 00000001 00000000 812286b0
May 13 07:24:52 router kernel: [82948.468800] $ 4 : 805aa44c 00000001 00000001 07407800
May 13 07:24:52 router kernel: [82948.474019] $ 8 : 000facb3 000facb2 00000002 00064000
May 13 07:24:52 router kernel: [82948.479248] $12 : 00000009 0004001a fffeffff 00001000
May 13 07:24:52 router kernel: [82948.484473] $16 : 8fc02c00 000001b8 01011200 8022b6f0
May 13 07:24:52 router kernel: [82948.489695] $20 : 8ebb0000 8006a664 8e56d81c 01400000
May 13 07:24:52 router kernel: [82948.494913] $24 : 81196320 00000000
May 13 07:24:52 router kernel: [82948.500133] $28 : 8dd62000 8dd63950 8fd77d40 8013694c
May 13 07:24:52 router kernel: [82948.505351] Hi : 00000000
May 13 07:24:52 router kernel: [82948.508214] Lo : 00840480
May 13 07:24:52 router kernel: [82948.511113] epc : 80136a70 kmalloc+0x1f8/0x2ec
May 13 07:24:52 router kernel: [82948.515887] ra : 8013694c
kmalloc+0xd4/0x2ec
May 13 07:24:52 router kernel: [82948.520568] Status: 11007c03#011KERNEL EXL IE May 13 07:24:52 router kernel: [82948.524750] Cause : 40800008 (ExcCode 02)
May 13 07:24:52 router kernel: [82948.528740] BadVA : 07407800
May 13 07:24:52 router kernel: [82948.531605] PrId : 0001992f (MIPS 1004Kc)
May 13 07:24:52 router kernel: [82948.535679] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 cdc_ether 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_CLASSIFY usbnet slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack libcrc32c iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport
May 13 07:24:52 router kernel: [82948.606444] ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common mii crc32c_generic
May 13 07:24:52 router kernel: [82948.655996] Process kworker/u8:1 (pid: 1977, threadinfo=8dd62000, task=8ff3ddc0, tls=00000000)
May 13 07:24:52 router kernel: [82948.664578] Stack : 01011200 00400000 8006a664 8f0c719c 00000001 00000000 8fd33300 01011200
May 13 07:24:52 router kernel: [82948.672925] 8fe74850 01011200 00000001 00400000 8006a664 8022b6f0 8fe74850 01011200
May 13 07:24:52 router kernel: [82948.681267] 01411200 8fdf9e00 01011200 01411200 8e56d800 800ecd30 8fe74850 01011200
May 13 07:24:52 router kernel: [82948.689609] 01411200 8fdf9d00 01400000 00400000 8006a664 800ecd30 00060000 00000001
May 13 07:24:52 router kernel: [82948.697952] 8dd63a48 8fe74850 00000000 8fe74850 00000001 8fe74850 00000000 8fe74878
May 13 07:24:52 router kernel: [82948.706292] ...
May 13 07:24:52 router kernel: [82948.708733] Call Trace:
May 13 07:24:52 router kernel: [82948.711201] [<80136a70>] __kmalloc+0x1f8/0x2ec
May 13 07:24:52 router kernel: [82948.715643] [<8022b6f0>] alloc_request_size+0x2c/0x7c
May 13 07:24:52 router kernel: [82948.720708] [<800ecd30>] mempool_alloc+0x6c/0×178 May 13 07:24:52 router kernel: [82948.725402] [<8022cf88>] get_request+0×360/0x76c
May 13 07:24:52 router kernel: [82948.730005] [<802303c4>] blk_queue_bio+0x1cc/0×430 May 13 07:24:52 router kernel: [82948.734781] [<8022e3cc>] generic_make_request+0xd8/0×288 May 13 07:24:52 router kernel: [82948.740078] [<8022e6a0>] submit_bio+0×124/0×164 May 13 07:24:52 router kernel: [82948.744663] [<8f1c3014>] ext4_io_submit+0×50/0×64 [ext4]
May 13 07:24:52 router kernel: [82948.749989] [<8f1a5994>] ext4_mark_inode_dirty+0xeac/0×1368 [ext4]
May 13 07:24:52 router kernel: [82948.756166] Code: 32428000 8e020014 00e23821 <8ce20000> 1000002c cc400000 1280ffbc 00000000 8e060010
May 13 07:24:52 router kernel: [82948.765910]
May 13 07:24:52 router kernel: [82948.767638] —[ end trace e8f9893fb33e6a26 ]—

and the second case

May 15 15:52:16 router kernel: [67618.480256] CPU 0 Unable to handle kernel paging request at virtual address 07402800, epc == 80136784, ra == 800ecd30
May 15 15:52:16 router kernel: [67618.490997] Oops[#1]:
May 15 15:52:16 router kernel: [67618.493275] CPU: 0 PID: 14159 Comm: kworker/u8:1 Not tainted 4.14.37 #0
May 15 15:52:16 router kernel: [67618.499875] Workqueue: writeback wb_workfn (flush-8:0)
May 15 15:52:16 router kernel: [67618.504997] task: 8c3276c0 task.stack: 8b656000
May 15 15:52:16 router kernel: [67618.509500] $ 0 : 00000000 00000001 00000000 8121a6c0
May 15 15:52:16 router kernel: [67618.514709] $ 4 : 805aa44c 00000001 00000001 07402800
May 15 15:52:16 router kernel: [67618.519918] $ 8 : 00005ddf 00005dde 8fb9b6a0 00000120
May 15 15:52:16 router kernel: [67618.525127] $12 : 8000001f 00000010 00000124 00000001
May 15 15:52:16 router kernel: [67618.530336] $16 : 8fd4a200 01011200 800ecd30 8b0e0000
May 15 15:52:16 router kernel: [67618.535545] $20 : 00400000 8006a664 8fd4981c 80660000
May 15 15:52:16 router kernel: [67618.540754] $24 : ffffffe0 ffff0000
May 15 15:52:16 router kernel: [67618.545963] $28 : 8b656000 8b657970 8f1c2c24 800ecd30
May 15 15:52:16 router kernel: [67618.551174] Hi : 00000000
May 15 15:52:16 router kernel: [67618.554035] Lo : 008402f0
May 15 15:52:16 router kernel: [67618.556924] epc : 80136784 kmem_cache_alloc+0x13c/0×230 May 15 15:52:16 router kernel: [67618.562323] ra : 800ecd30 mempool_alloc+0x6c/0×178 May 15 15:52:16 router kernel: [67618.567345] Status: 11008403#011KERNEL EXL IE May 15 15:52:16 router kernel: [67618.571515] Cause : 40800008 (ExcCode 02)
May 15 15:52:16 router kernel: [67618.575499] BadVA : 07402800
May 15 15:52:16 router kernel: [67618.578361] PrId : 0001992f (MIPS 1004Kc)
May 15 15:52:16 router kernel: [67618.582431] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 cdc_ether 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_CLASSIFY usbnet slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack libcrc32c iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport
May 15 15:52:16 router kernel: [67618.653177] ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common mii crc32c_generic
May 15 15:52:16 router kernel: [67618.702675] Process kworker/u8:1 (pid: 14159, threadinfo=8b656000, task=8c3276c0, tls=00000000)
May 15 15:52:16 router kernel: [67618.711326] Stack : 8e648b20 8f147e00 8e648b20 01011200 00000001 8022b710 00000002 01011200
May 15 15:52:16 router kernel: [67618.719658] 01411200 8fd49800 01400000 00400000 8006a664 800ecd30 00000001 01011200
May 15 15:52:16 router kernel: [67618.727990] 01411200 8fd49700 01400000 00400000 8006a664 800ecd30 8e330030 8c499000
May 15 15:52:16 router kernel: [67618.736322] 8fd9f000 8b657a2c 01400000 8fd49800 01400000 01400000 8e47fa00 8d44d8f8
May 15 15:52:16 router kernel: [67618.744655] 80660000 80225974 8fd49600 00000100 01400000 8d48d7c0 8e47fa00 8fd49600
May 15 15:52:16 router kernel: [67618.752989] ...
May 15 15:52:16 router kernel: [67618.755425] Call Trace:
May 15 15:52:16 router kernel: [67618.757859] [<80136784>] kmem_cache_alloc+0x13c/0×230 May 15 15:52:16 router kernel: [67618.762897] [<800ecd30>] mempool_alloc+0x6c/0×178 May 15 15:52:16 router kernel: [67618.767596] [<80225974>] bvec_alloc+0xdc/0×154 May 15 15:52:16 router kernel: [67618.772020] [<80225b44>] bio_alloc_bioset+0×158/0×250 May 15 15:52:16 router kernel: [67618.777111] [<8f1c3358>] ext4_bio_write_page+0×320/0x5c4 [ext4]
May 15 15:52:16 router kernel: [67618.783028] [<8f19e3f4>] ext4_convert_inline_data+0×874/0x21a8 [ext4]
May 15 15:52:16 router kernel: [67618.789461] [<8f19e860>] ext4_convert_inline_data+0xce0/0x21a8 [ext4]
May 15 15:52:16 router kernel: [67618.795881] Code: 32228000 8e020014 00e23821 <8ce20000> 1000002d cc400000 1260ffbc 00000000 8e060010
May 15 15:52:16 router kernel: [67618.805607]
May 15 15:52:16 router kernel: [67618.807332] —[ end trace 3b32ff5399a1bc64 ]—


30.05.20181570PackagesBug ReportVery LowCriticalNeither wget, nor uclient-fetch can connect to www.duck...lede-17.01Unconfirmed Task Description

I’m running LEDE 17.01.4, r3560-79f57e422d.

Packages versions:

wget_1.19.2-2
libpcre_8.41-2
librt_1.1.16-1
libustream-openssl_2016-07-02-ec80adaa-4
ca-bundle_20170717_all
libopenssl_1.0.2o-1
uci_2018-01-01-141b64ef-1
uclient-fetch_2017-11-02-4b87d831-1

# cd /tmp
# /usr/bin/wget-ssl -d 'https://www.duckdns.org/update?domains=XXXXXXXXXXX&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&ip='
DEBUG output created by Wget 1.19.2 on linux-gnu.

Reading HSTS entries from /root/.wget-hsts
Converted file name 'update?domains=XXXXXXXXXXX&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&ip=' (UTF-8) -> 'domains=XXXXXXXXXXX&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&ip=' (ASCII)
--2018-05-30 09:10:14--  https://www.duckdns.org/update?domains=XXXXXXXXXXX&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&ip=
Resolving www.duckdns.org... 34.209.108.142, 54.187.208.74
Caching www.duckdns.org => 34.209.108.142 54.187.208.74
Connecting to www.duckdns.org|34.209.108.142|:443... connected.
Created socket 3.
Releasing 0x77bb5970 (new refcount 1).
Initiating SSL handshake.
SSL handshake failed.
Closed fd 3
Unable to establish SSL connection.

# uclient-fetch 'https://www.duckdns.org/update?domains=XXXXXXXXXXX&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&ip='
Downloading 'https://www.duckdns.org/update?domains=XXXXXXXXXXX&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&ip='
Connecting to 34.209.108.142:443
(null)                   0   - stalled -
Connection reset prematurely
or
Connecting to 34.209.108.142:443
Connection error: Connection failed
11.06.20181586Base systemBug ReportVery LowCriticalDAP-1522 A1 factory to snapshot kernel panic and system...TrunkUnconfirmed Task Description

DAP-1522 A1 stock firmware 1.21 or 1.42 , device page https://openwrt.org/toh/hwdata/d-link/d-link_dap-1522_a1 Flash via GUI or Recovery interface , both the same result/fail.
Since this device is not supported on 17.04.1 https://downloads.lede-project.org/releases/17.01.4/targets/ramips/rt288x/
I try the snapshot from https://downloads.openwrt.org/snapshots/targets/ramips/rt288x/openwrt-ramips-rt288x-dlink_dap-1522-a1-squashfs-factory.bin Checksum ok

Here is the boot log

U-Boot 1.1.3 (Aug 28 2009 - 15:47:01) Build 001--ALPHA_v011

Board: RT2880 DRAM:  32 MB
        twe0 set to <NULL>
        toe0 set to <NULL>
============================================
ASIC -VerB/C (MAC to MAC Mode)
DRAM COMPONENT=256Mbits
DRAM BUS=16BIT
Total memory = 32Mbytes
Date:Aug 28 2009  Time:15:47:01
============================================

Eth0 (10/100-M)



Hit any key to stop autoboot:  0
## Booting image at bc440000 ...
   Image Name:   7zip Linux Kernel
   Created:      1970-01-01   0:00:00 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    -1 Bytes = 4096 MB
   Load Address: 8a000000
   Entry Point:  8a000000
   Uncompressing Kernel Image with LZMA ...
OK

Starting kernel ...

[    0.000000] Linux version 4.14.48 (buildbot@slashdirt-02) (gcc version 7.3.0                                                                 (OpenWrt GCC 7.3.0
r7172-f60301d)) #0 Sat Jun 9 20:39:17 2018
[    0.000000] SoC Type: Ralink RT2880 id:2 rev:0
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001906c (MIPS 4KEc)
[    0.000000] MIPS: machine is D-Link DAP-1522 A1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 08000000 (usable)
[    0.000000] Wasting 1048576 bytes for tracking 32768 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 byt                                                                es
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000009ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000009ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000009ffffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x47c with                                                                 crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 40640
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs                                                                2
[    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] Memory: 25248K/163840K available (3518K kernel code, 174K rwdata,                                                                 844K rodata, 1216K
init, 214K bss, 138592K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] Failed to request intc memory
[    0.000000] Kernel panic - not syncing: Failed to request resources for ralin                                                                k,rt2880-sysc
[    0.000000] Rebooting in 1 seconds..
[    0.000000] Reboot failed -- System halted

Regards,


12.06.20181587KernelBug ReportVery LowCriticalQca9887 ath10K drive crashlede-17.01Unconfirmed 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
28.07.20181701Base systemBug ReportVery LowCritical[wnr3500l-v1-other-regions] Unable to upgrade from lede...TrunkUnconfirmed Task Description

Hello,

I was unable to upgrade from lede-17.01.4 to lede-17.01.5 from web interface or from bootloader tftpd with wnr3500l-v1-other-regions images, attached the boot log from both firmware and the sha256sums:


sha256sum lede-17.01.5-brcm47xx-mips74k-netgear-wnr3500l-v1-other-regions-squashfs.chk
5dbaddfae5bbbcca6fb4f0e2810de2135dbadf0bf346e755ca6063700f445d4d lede-17.01.5-brcm47xx-mips74k-netgear-wnr3500l-v1-other-regions-squashfs.chk

sha256sum lede-17.01.4-brcm47xx-mips74k-netgear-wnr3500l-v1-other-regions-squashfs.chk
6e4eaa5e988f99f77b5e00d8be4f288934ae69e3056ceaffc4e3fb60099d2a3c lede-17.01.4-brcm47xx-mips74k-netgear-wnr3500l-v1-other-regions-squashfs.chk

Start TFTP server
Reading :: Done. 3805242 bytes read
Programming...done. 3805242 bytes written
Write len/chksum offset @ 0x0074FFF8...done.
Decompressing..........done

CFE for WNR3500L version: v1.0.36
Build Date: Tue Aug 11 15:09:14 CST 2009
Init Arena
Init Devs.
Boot partition size = 262144(0×40000)
Found a 8MB ST compatible serial flash
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.10.56.28
CPU type 0×19740: 453MHz
Tot mem: 65536 KBytes

Device eth0: hwaddr C0-3F-0E-E1-97-EA, ipaddr 192.168.1.1, mask 255.255.255.0

      gateway not set, nameserver not set

too long file.
LZMA boot failed
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3864 bytes read
Entry at 0×80001000 Closing network.
Starting program at 0×80001000 [ 0.000000] Linux version 4.4.140 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3104-41de9a2) ) #0 Fri Jul 13 19:25:14 2018
[ 0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[ 0.000000] bcm47xx: Using bcma bus
[ 0.000000] bcma: bus0: Found chip with id 0×4716, rev 0×01 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 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] 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] 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: 60876K/65536K available (3006K kernel code, 139K rwdata, 368K rodata, 188K init, 294K bss, 4660K 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 0×800, rev 0x1F, class 0×0)
[ 0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0×812, rev 0×11, class 0×0)
[ 0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0×00, class 0×0)
[ 0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0×01, class 0×0)
[ 0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0×819, rev 0×04, class 0×0)
[ 0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0×820, rev 0x0E, class 0×0)
[ 0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0×01, class 0×0)
[ 0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0×07, class 0×0)
[ 0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0×834, rev 0×00, class 0×0)
[ 0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0×10000, blocks: 128)
[ 0.000000] bcma: bus0: Early bus registered
[ 0.000000] MIPS: machine is Netgear WNR3500L
[ 0.000000] bcm47xx: Setting up vectored interrupts
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 8438235966 ns
[ 0.000016] sched_clock: 32 bits at 226MHz, resolution 4ns, wraps every 9481163773ns
[ 0.000088] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[ 0.070059] pid_max: default: 32768 minimum: 301
[ 0.070323] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.070355] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.074430] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.074486] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.075763] NET: Registered protocol family 16
[ 0.076831] Can’t analyze schedule() prologue at 800077c8
[ 0.097612] clocksource: Switched to clocksource MIPS
[ 0.099778] NET: Registered protocol family 2
[ 0.101549] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.101611] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.101653] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.101827] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.101880] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.102346] NET: Registered protocol family 1
[ 0.136945] bcma: bus0: PCIEcore in host mode found
[ 0.136961] bcma: bus0: This PCIE core is disabled and not working
[ 0.138624] bcma: bus0: Bus registered
[ 0.140082] Crashlog allocated RAM at address 0x3f00000
[ 0.173818] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.173852] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.179094] io scheduler noop registered
[ 0.179132] io scheduler deadline registered (default)
[ 0.179528] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.184744] console [ttyS0] disabled
[ 0.205005] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[ 0.650369] console [ttyS0] enabled
[ 0.716781] 8 bcm47xxpart partitions found on MTD device bcm47xxsflash
[ 0.723492] Creating 8 MTD partitions on “bcm47xxsflash”:
[ 0.729058] 0×000000000000-0×000000040000 : “boot” [ 0.738490] 0×000000040000-0x0000007d0000 : “firmware” [ 0.746855] 0x0000007d0000-0x0000007e0000 : “POT” [ 0.754929] 0x0000007e0000-0x0000007f0000 : “board_data” [ 0.763597] 0x0000007f0000-0×000000800000 : “nvram” [ 0.771879] 0x00000004001c-0×000000040924 : “loader” [ 0.780208] 0×000000040924-0x000000167c00 : “linux” [ 0.788492] 0x000000167c00-0x0000007d0000 : “rootfs” [ 0.796719] mtd: device 7 (rootfs) set to be root filesystem
[ 0.802656] 1 squashfs-split partitions found on MTD device rootfs
[ 0.809019] 0x0000003a0000-0x0000007d0000 : “rootfs_data” [ 0.821473] libphy: Fixed MDIO Bus: probed
[ 0.825896] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[ 0.834901] libphy: bcma_mdio mii bus: probed
[ 0.839469] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[ 0.993379] b53_common: found switch: BCM53115, rev 8
[ 1.000032] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[ 1.006312] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[ 1.016346] NET: Registered protocol family 10
[ 1.027256] NET: Registered protocol family 17
[ 1.032044] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.044946] 8021q: 802.1Q VLAN Support v1.8
[ 1.061633] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[ 1.070250] Freeing unused kernel memory: 188K

FE for WNR3500L version: v1.0.36
Build Date: Tue Aug 11 15:09:14 CST 2009
Init Arena
Init Devs.
Boot partition size = 262144(0×40000)
Found a 8MB ST compatible serial flash
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.10.56.28
CPU type 0×19740: 453MHz
Tot mem: 65536 KBytes

Device eth0: hwaddr C0-3F-0E-E1-97-EA, ipaddr 192.168.1.1, mask 255.255.255.0

      gateway not set, nameserver not set

too long file.
LZMA boot failed
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3848 bytes read
Entry at 0×80001000 Closing network.
Starting program at 0×80001000 [ 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 0×4716, rev 0×01 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 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] 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] 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 0×800, rev 0x1F, class 0×0)
[ 0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0×812, rev 0×11, class 0×0)
[ 0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0×00, class 0×0)
[ 0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0×01, class 0×0)
[ 0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0×819, rev 0×04, class 0×0)
[ 0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0×820, rev 0x0E, class 0×0)
[ 0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0×01, class 0×0)
[ 0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0×07, class 0×0)
[ 0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0×834, rev 0×00, class 0×0)
[ 0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0×10000, blocks: 128)
[ 0.000000] bcma: bus0: Early bus registered
[ 0.000000] MIPS: machine is Netgear WNR3500L
[ 0.000000] bcm47xx: Setting up vectored interrupts
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 8438235966 ns
[ 0.000015] sched_clock: 32 bits at 226MHz, resolution 4ns, wraps every 9481163773ns
[ 0.000087] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[ 0.070070] pid_max: default: 32768 minimum: 301
[ 0.070333] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.070363] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.074377] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.074431] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.075699] NET: Registered protocol family 16
[ 0.076766] Can’t analyze schedule() prologue at 800077c8
[ 0.097432] clocksource: Switched to clocksource MIPS
[ 0.099646] NET: Registered protocol family 2
[ 0.101436] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.101500] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.101541] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.101723] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.101772] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.102233] NET: Registered protocol family 1
[ 0.138267] bcma: bus0: PCIEcore in host mode found
[ 0.138284] bcma: bus0: This PCIE core is disabled and not working
[ 0.139823] bcma: bus0: Bus registered
[ 0.141279] Crashlog allocated RAM at address 0x3f00000
[ 0.173720] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.173754] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.178931] io scheduler noop registered
[ 0.178969] io scheduler deadline registered (default)
[ 0.179399] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.184624] console [ttyS0] disabled
[ 0.204881] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[ 0.649908] console [ttyS0] enabled
[ 0.716330] 8 bcm47xxpart partitions found on MTD device bcm47xxsflash
[ 0.723042] Creating 8 MTD partitions on “bcm47xxsflash”:
[ 0.728592] 0×000000000000-0×000000040000 : “boot” [ 0.737974] 0×000000040000-0x0000007d0000 : “firmware” [ 0.746296] 0x0000007d0000-0x0000007e0000 : “POT” [ 0.754307] 0x0000007e0000-0x0000007f0000 : “board_data” [ 0.762954] 0x0000007f0000-0×000000800000 : “nvram” [ 0.771197] 0x00000004001c-0x00000004091c : “loader” [ 0.779503] 0x00000004091c-0×000000166000 : “linux” [ 0.787711] 0×000000166000-0x0000007d0000 : “rootfs” [ 0.795968] mtd: device 7 (rootfs) set to be root filesystem
[ 0.801906] 1 squashfs-split partitions found on MTD device rootfs
[ 0.808266] 0x0000003a0000-0x0000007d0000 : “rootfs_data” [ 0.821280] libphy: Fixed MDIO Bus: probed
[ 0.825701] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[ 0.834008] libphy: bcma_mdio mii bus: probed
[ 0.838578] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[ 0.993243] b53_common: found switch: BCM53115, rev 8
[ 0.999847] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[ 1.006179] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[ 1.016224] NET: Registered protocol family 10
[ 1.027053] NET: Registered protocol family 17
[ 1.031842] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.044737] 8021q: 802.1Q VLAN Support v1.8
[ 1.059021] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[ 1.067285] Freeing unused kernel memory: 156K
[ 2.806611] init: Console is alive
[ 2.810639] init: - watchdog -
[ 3.997377] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.143653] usbcore: registered new interface driver usbfs
[ 4.149584] usbcore: registered new interface driver hub
[ 4.155199] usbcore: registered new device driver usb
[ 4.169708] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 4.178819] ehci-platform: EHCI generic platform driver
[ 4.184317] ehci-platform ehci-platform.0: EHCI Host Controller
[ 4.190529] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[ 4.199005] ehci-platform ehci-platform.0: irq 5, io mem 0×18004000 [ 4.217502] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[ 4.225784] hub 1-0:1.0: USB hub found
[ 4.230502] hub 1-0:1.0: 2 ports detected
[ 4.239429] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 4.248047] ohci-platform: OHCI generic platform driver
[ 4.253525] ohci-platform ohci-platform.0: Generic Platform OHCI controller
[ 4.260791] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 2
[ 4.269219] ohci-platform ohci-platform.0: irq 5, io mem 0×18009000 [ 4.333295] hub 2-0:1.0: USB hub found
[ 4.338046] hub 2-0:1.0: 2 ports detected
[ 4.348953] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.358415] init: - preinit -
[ 4.937596] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 6.107517] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[ 6.115064] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.012167] random: procd: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 10.209518] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 10.223679] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 10.512569] procd: - early -
[ 10.515754] procd: - watchdog -
[ 11.163982] procd: - watchdog -
[ 11.168071] procd: - ubus -
[ 11.325865] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.441414] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.451517] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.460856] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.470925] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.480252] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.489980] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.499705] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.509819] procd: - init -
Please press Enter to activate this console.
[ 13.270551] kmodloader: loading kernel modules from /etc/modules.d/*
[ 13.285240] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 13.311701] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 13.319947] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 13.333019] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.352710] nf_conntrack version 0.5.0 (954 buckets, 3816 max)
[ 13.416167] xt_time: kernel timezone is -0000
[ 13.508191] PPP generic driver version 2.4.2
[ 13.517216] NET: Registered protocol family 24
[ 13.540700] b43-phy0: Broadcom 4716 WLAN found (core revision 17)
[ 13.547966] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 5
[ 13.554192] b43-phy0: Found Radio: Manuf 0x17F, ID 0×2056, Revision 7, Version 0
[ 13.562486] Broadcom 43xx driver loaded [ Features: NL ]
[ 13.686566] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 15.687579] random: jshn: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
[ 25.746893] jffs2_scan_eraseblock(): End of filesystem marker found at 0×0 [ 25.777547] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 25.784300] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 30.647563] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 30.687011] device eth0.1 entered promiscuous mode
[ 30.692016] device eth0 entered promiscuous mode
[ 30.730434] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 30.868472] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[ 32.267639] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[ 32.275184] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 32.307649] br-lan: port 1(eth0.1) entered forwarding state
[ 32.313443] br-lan: port 1(eth0.1) entered forwarding state
[ 32.319424] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[ 32.427588] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 34.307460] br-lan: port 1(eth0.1) entered forwarding state

30.07.20181712Base systemBug ReportVery LowCriticalLEDE 17.01.05 on BCM2710 (Raspberry Pi 3) defaults conf...lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

  1. BCM2710 (Raspberry Pi 3B)

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

  1. LEDE 17.01.05 → Directly from download page, and from clean build

- Steps to reproduce

  1. Perform initial flash of software.
  2. Boot device up and confirm interfaces work correctly, and DHCP is server properly from eth0
  3. Confirm that configuration for /etc/dhcp and /etc/network looks correct
  4. Reboot device (either via LuCI or console reboot)
  5. Upon start, confirm that dhcp config is empty, network config is defaulted (missing wlan0, etc).
  6. Confirm that interfaces do not work correctly, GUI is no longer navigable even with a static IP fixed on PC.


31.07.20181719Base systemBug ReportVery LowCriticalNo wireless interfaces on the UniFi AP AC Lite on the f...openwrt-18.06Unconfirmed Task Description

The same issue as this, but on the final release: https://bugs.openwrt.org/index.php?do=details&task_id=1663&string=unifi&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=

03.08.20181726Base systemBug ReportVery LowCriticalNetifd lockup when USB LTE modem was restartedopenwrt-18.06Unconfirmed Task Description

OpenWrt 18.06.0, r7188-b0b5c64c22
Device: Xiaomi Mir3G
Modem: Huawei E3372

How to reproduce:
1. Bring up wwan interface
2. Reconnect modem (or echo ‘at^reset’ > /dev/ttyUSB0)
3. See in logs:

Fri Aug  3 16:59:02 2018 kern.info kernel: [  950.710901] usb 1-1: USB disconnect, device number 3
Fri Aug  3 16:59:02 2018 kern.info kernel: [  950.716646] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Fri Aug  3 16:59:02 2018 kern.info kernel: [  950.725206] option 1-1:1.0: device disconnected
Fri Aug  3 16:59:02 2018 kern.info kernel: [  950.730738] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Fri Aug  3 16:59:02 2018 kern.info kernel: [  950.739145] option 1-1:1.1: device disconnected
Fri Aug  3 16:59:02 2018 kern.info kernel: [  950.744808] huawei_cdc_ncm 1-1:1.2 wwan0: unregister 'huawei_cdc_ncm' usb-1e1c0000.xhci-1, Huawei CDC NCM device
Fri Aug  3 16:59:02 2018 daemon.notice netifd: Network device 'wwan0' link is down
Fri Aug  3 16:59:02 2018 daemon.notice netifd: Network alias 'wwan0' link is down
Fri Aug  3 16:59:02 2018 daemon.notice netifd: Interface 'wwan_4' has link connectivity loss
Fri Aug  3 16:59:02 2018 daemon.notice netifd: Interface 'wwan_4' is disabled
Fri Aug  3 16:59:02 2018 daemon.info chronyd[1303]: Source 94.247.111.10 offline
Fri Aug  3 16:59:02 2018 daemon.info chronyd[1303]: Source 195.91.239.8 offline
Fri Aug  3 16:59:02 2018 daemon.info chronyd[1303]: Source 91.207.136.50 offline
Fri Aug  3 16:59:02 2018 daemon.info chronyd[1303]: Source 195.210.189.106 offline
Fri Aug  3 16:59:02 2018 daemon.info chronyd[1303]: Can't synchronise: no selectable sources
Fri Aug  3 16:59:02 2018 daemon.notice netifd: wwan_4 (4421): udhcpc: SIOCGIFINDEX: No such device
Fri Aug  3 16:59:02 2018 daemon.notice netifd: wwan_4 (4421): udhcpc: received SIGTERM
Fri Aug  3 16:59:03 2018 daemon.notice netifd: wwan (4800): Stopping network wwan
Fri Aug  3 16:59:03 2018 daemon.notice netifd: wwan (4800): Can't open device /dev/ttyUSB1.
Fri Aug  3 16:59:03 2018 daemon.notice netifd: wwan (4800): Failed to disconnect
Fri Aug  3 16:59:03 2018 daemon.notice netifd: Interface 'wwan' is now down
Fri Aug  3 16:59:03 2018 daemon.warn dnsmasq[4567]: no servers found in /tmp/resolv.conf.auto, will retry
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.683961] usb 1-1: new high-speed USB device number 4 using xhci-mtk
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.867590] option 1-1:1.0: GSM modem (1-port) converter detected
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.874380] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.882334] option 1-1:1.1: GSM modem (1-port) converter detected
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.889115] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.915707] huawei_cdc_ncm 1-1:1.2: resetting NTB format to 16-bit
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.926799] huawei_cdc_ncm 1-1:1.2: MAC-Address: 00:1e:10:1f:00:00
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.933038] huawei_cdc_ncm 1-1:1.2: setting rx_max = 16384
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.938957] huawei_cdc_ncm 1-1:1.2: NDP will be placed at end of frame for this device.
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.947454] huawei_cdc_ncm 1-1:1.2: cdc-wdm0: USB WDM device
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.955970] huawei_cdc_ncm 1-1:1.2 wwan0: register 'huawei_cdc_ncm' at usb-1e1c0000.xhci-1, Huawei CDC NCM device, 00:1e:10:1f:00:00
Fri Aug  3 16:59:10 2018 daemon.notice netifd: Interface 'wwan' is setting up now
Fri Aug  3 16:59:10 2018 daemon.notice netifd: wwan (5197): Stopping network wwan
Fri Aug  3 16:59:11 2018 daemon.notice netifd: wwan (5197): sending ->
Fri Aug  3 16:59:15 2018 daemon.notice netifd: Interface 'wwan' is now down

Now ``ifup wwan`` or ``ifdown wwan`` doesn’t do anything until restart of netifd process.

10.08.20181759Base systemBug ReportVery LowCritical SQM fine in 17.01.4, can’t keep up with line speed in ...openwrt-18.06Unconfirmed Task Description

Netgear R7800 running 17.01.4 kept up with my ISP line speed (nominal 250Mbps/15Mbps) when configured to use SQM with cake/piece_of_cake.
In 18.06, it cannot keep up
Possibly the same root cause as issue 1598

DSLreports speed test with SQM enabled in 17.01.4 (223.1/14.71 Mbps):
http://www.dslreports.com/speedtest/29614883

and with 18.06 ( 95.8/14.16 Mbps):
http://www.dslreports.com/speedtest/36981183

root@LEDE:~# cat /etc/config/sqm

config queue 'eth1'
	option qdisc_advanced '0'
	option verbosity '5'
	option upload '15000'
	option linklayer 'ethernet'
	option overhead '18'
	option debug_logging '1'
	option download '232750'
	option interface 'eth0.2'
	option enabled '1'
	option qdisc 'cake'
	option script 'piece_of_cake.qos'

Sample tc output after running the DSLreports speed test

root@LEDE:~# tc -d qdisc
qdisc noqueue 0: dev lo root refcnt 2 
qdisc mq 0: dev eth0 root 
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
qdisc mq 0: dev eth1 root 
qdisc fq_codel 0: dev eth1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
qdisc noqueue 0: dev br-lan root refcnt 2 
qdisc noqueue 0: dev eth1.1 root refcnt 2 
qdisc cake 8012: dev eth0.2 root refcnt 2 bandwidth 15Mbit besteffort triple-isolate split-gso rtt 100.0ms noatm overhead 18 
qdisc ingress ffff: dev eth0.2 parent ffff:fff1 ---------------- 
qdisc noqueue 0: dev br-guest root refcnt 2 
qdisc noqueue 0: dev br-iot root refcnt 2 
qdisc noqueue 0: dev wlan0 root refcnt 2 
qdisc noqueue 0: dev wlan1 root refcnt 2 
qdisc noqueue 0: dev wlan1-1 root refcnt 2 
qdisc noqueue 0: dev wlan1-2 root refcnt 2 
qdisc noqueue 0: dev wlan0-1 root refcnt 2 
qdisc fq_codel 0: dev ovpns0 root refcnt 2 limit 10240p flows 1024 quantum 1500 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
qdisc fq_codel 0: dev ovpns1 root refcnt 2 limit 10240p flows 1024 quantum 1500 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
qdisc cake 8013: dev ifb4eth0.2 root refcnt 2 bandwidth 232750Kbit besteffort triple-isolate wash split-gso rtt 100.0ms noatm overhead 18 

root@LEDE:~# tc -s qdisc
qdisc noqueue 0: dev lo root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc mq 0: dev eth0 root 
 Sent 351709498 bytes 2034499 pkt (dropped 0, overlimits 0 requeues 65185) 
 backlog 0b 0p requeues 65185
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
 Sent 351709498 bytes 2034499 pkt (dropped 0, overlimits 0 requeues 65185) 
 backlog 0b 0p requeues 65185
  maxpacket 1514 drop_overlimit 0 new_flow_count 60774 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc mq 0: dev eth1 root 
 Sent 4385184093 bytes 3164614 pkt (dropped 0, overlimits 0 requeues 109126) 
 backlog 0b 0p requeues 109126
qdisc fq_codel 0: dev eth1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
 Sent 4385184093 bytes 3164614 pkt (dropped 0, overlimits 0 requeues 109126) 
 backlog 0b 0p requeues 109126
  maxpacket 1514 drop_overlimit 0 new_flow_count 137321 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev br-lan root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth1.1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc cake 8012: dev eth0.2 root refcnt 2 bandwidth 15Mbit besteffort triple-isolate split-gso rtt 100.0ms noatm overhead 18 
 Sent 41321462 bytes 92960 pkt (dropped 919, overlimits 39456 requeues 0) 
 backlog 0b 0p requeues 0
 memory used: 194432b of 4Mb
 capacity estimate: 15Mbit
 min/max network layer size:           28 /    1500
 min/max overhead-adjusted size:       46 /    1518
 average network hdr offset:           14

                  Tin 0
  thresh         15Mbit
  target          5.0ms
  interval      100.0ms
  pk_delay        672us
  av_delay        211us
  sp_delay         11us
  backlog            0b
  pkts            93879
  bytes        42712828
  way_inds            6
  way_miss          392
  way_cols            0
  drops             919
  marks               0
  ack_drop            0
  sp_flows            0
  bk_flows            1
  un_flows            0
  max_len         12112
  quantum           457

qdisc ingress ffff: dev eth0.2 parent ffff:fff1 ---------------- 
 Sent 143870988 bytes 121001 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev br-guest root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev br-iot root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan0 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan1-1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan1-2 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan0-1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc fq_codel 0: dev ovpns0 root refcnt 2 limit 10240p flows 1024 quantum 1500 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
 Sent 2015423 bytes 2972 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev ovpns1 root refcnt 2 limit 10240p flows 1024 quantum 1500 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
 Sent 228 bytes 3 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc cake 8013: dev ifb4eth0.2 root refcnt 2 bandwidth 232750Kbit besteffort triple-isolate wash split-gso rtt 100.0ms noatm overhead 18 
 Sent 148570176 bytes 120706 pkt (dropped 297, overlimits 622 requeues 0) 
 backlog 0b 0p requeues 0
 memory used: 661056b of 11637500b
 capacity estimate: 232750Kbit
 min/max network layer size:           46 /    1500
 min/max overhead-adjusted size:       64 /    1518
 average network hdr offset:           14

                  Tin 0
  thresh     232750Kbit
  target          5.0ms
  interval      100.0ms
  pk_delay        245us
  av_delay         45us
  sp_delay          4us
  backlog            0b
  pkts           121003
  bytes       149019834
  way_inds            6
  way_miss          384
  way_cols            0
  drops             297
  marks               0
  ack_drop            0
  sp_flows            0
  bk_flows            1
  un_flows            0
  max_len         12112
  quantum          1514
24.08.20181808Base systemBug ReportVery LowCriticalNUT package works on Raspberry Pi B+ but not on ar71xx ...openwrt-18.06Unconfirmed Task Description

Device problem occurs on TP-Link AC1750 Archer C7 v4
OpenWrt 18.06.0 release, packages, etc.


I have seen that NUT package runs without issues on Raspberry Pi + board. However, when I tried to install NUT from OpenWrt 18.06.0, I noticed that I cannot perform a forced shutdown command which is very critical for my application.

When I try to execute forced shutdown command (upsdrvctl shutdown), I get the following error:

root@TPLINKAC1750:~# upsdrvctl shutdown
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
Can’t claim USB device [0764:0501]: No such file or directory
Driver failed to start (exit status=1)

Also, when I try to read the USB descriptors using lsusb, it says “UNAVAILABLE”.
Report Descriptors:
* UNAVAILABLE *

There seems to be a hotplug issue on the USB. If I unplug/re-plug the USB, the USB descriptors are complete when queried and the forced shutdown command succeeds.

root@TPLINKAC1750:~# upsdrvctl shutdown
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
Using subdriver: CyberPower HID 0.4
Initiating UPS shutdown

 


24.08.20181812KernelBug ReportVery LowCriticalkmod-usb-serial-wwan does not build .ko moduleopenwrt-18.06Unconfirmed Task Description

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

 

I’ve checkout out de most recent OpenWRT 18.06.1 sources from github (commit hash 79518b7a4b0e1b65ba320ee699630b5072f1df51) and
wanted to install it on a MT7621A device. I selected the usb-serial and usb-serial-wwan packages and built them as built-in
kernel modules but I saw the usb_wwan module was not present nor loaded.

I than tried to build as package-only and noticed no usb_wwan.ko was present in the /lib/modules directory after installation.
I’m not sure if this is a kernel bug rather than something wrong with OpenWRT makefiles.

This bug effectively makes 4G cards unusable.


30.08.20181824Base systemBug ReportVery LowCriticalCisco / Meraki MR24 locks up after a day or so using 18...openwrt-18.06Unconfirmed Task Description

Upgrade an MR24 from LEDE 17.01.5 to 18.06.1, and wait a day. Device locks up. WIFI is still advertised, but lan port is no longer pingable.

 


30.09.20181872Base systemBug ReportVery LowCriticalArcher C2600 v1.0 tftp recovery is brokenopenwrt-18.06Unconfirmed Task Description

After i have flashed Openwrt 18.06.1 on my Archer c2600 the tftp recovery dont work anymore. I updated the Openwrt factory image over the web interface. Now i have tried to flash back the original firmware over tftp but it dont work. Im able to start the recovery, and the image is transferred over tftp from my pc, but the router just reboots and load Openwrt again. If i try to flash the Openwrt factory image it also dont work this way anymore. This is a big problem, because somebody would have trouble with the system, he would not be able to recover the router. Also because its not very easy to connect the serial port from the router.


03.10.20181878KernelBug ReportVery LowCriticalFsck privately repaired the file system ext4 on my hdd...openwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on x86-64
- Software versions of OpenWrt/LEDE release, packages, etc.openwrt18.06 55bbd8
- Steps to reproduce.booting and the log showed:

[ 21.237803] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 21.272692] EXT4-fs (sda9): Errors on filesystem, clearing orphan list.
[ 21.272692]
[ 21.281161] EXT4-fs (sda9): recovery complete
[ 21.317228] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 22.061620] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[ 22.069917] br-lan: port 1(eth0) entered blocking state
[ 22.075803] br-lan: port 1(eth0) entered forwarding state
[ 22.081750] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 23.607322] EXT4-fs (sda10): 3 orphan inodes deleted
[ 23.612459] EXT4-fs (sda10): recovery complete
[ 23.708324] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 26.560650] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 27.547143] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 27.567936] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 27.674344] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 30.029453] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 30.949532] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 30.969532] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 31.076454] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 33.381486] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 34.252398] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 34.272320] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 34.386849] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 36.883663] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 37.787051] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 37.808077] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 37.914149] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 40.179819] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 41.121988] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 41.143438] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 41.249342] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 45.605695] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 46.626671] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 46.646619] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 46.761479] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 49.141156] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 50.029110] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 50.057517] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 50.171446] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 52.634916] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 53.630485] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 53.651385] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 53.765666] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 56.181064] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 57.106498] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 57.127788] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 57.226070] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 59.531087] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 60.476052] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 60.496576] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 60.602792] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 62.968986] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 63.853172] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 63.873463] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 63.980377] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 66.434813] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 67.379340] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 67.425858] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 67.541354] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 69.678280] F2FS-fs (sdb3): Magic Mismatch, valid(0xf2f52010) - read(0×0)
[ 69.685327] F2FS-fs (sdb3): Can’t find valid F2FS filesystem in 1th superblock
[ 69.693925] F2FS-fs (sdb3): Magic Mismatch, valid(0xf2f52010) - read(0×0)
[ 69.700936] F2FS-fs (sdb3): Can’t find valid F2FS filesystem in 2th superblock
[ 69.708463] F2FS-fs (sdb3): Magic Mismatch, valid(0xf2f52010) - read(0×0)
[ 69.715499] F2FS-fs (sdb3): Can’t find valid F2FS filesystem in 1th superblock
[ 69.723034] F2FS-fs (sdb3): Magic Mismatch, valid(0xf2f52010) - read(0×0)
[ 69.730039] F2FS-fs (sdb3): Can’t find valid F2FS filesystem in 2th superblock
[ 69.978884] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 71.390695] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 71.410966] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 71.517413] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 73.339283] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 74.259796] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 74.279939] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 74.377566] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 76.068444] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 76.960511] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 76.981847] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 77.079687] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 78.675960] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 79.687038] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 79.708336] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 79.806743] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 81.486004] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 82.438683] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 82.460115] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 82.574661] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 84.356267] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 85.274004] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 85.295104] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 85.409756] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 87.105830] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 88.151523] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 88.173126] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 88.269852] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 90.191325] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 91.112146] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 91.132150] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 91.238595] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 93.101835] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 94.013109] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 94.033603] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 94.131548] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 95.877771] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 96.848488] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 96.869262] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 96.975183] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)

then i booted my linuxmint,displayed file system error needs to be fixed


07.11.20181938Base systemBug ReportVery LowCriticalCONFIG_PKG_ASLR_PIE and CONFIG_USE_MKLIBS are incompati...TrunkUnconfirmed Task Description

I’m building OpenWrt trunk (commit dceee8cc09a54f96dee82a6e95e3e77a6dd7ac13) for Netgear R7800 (though I think, device doesn’t matter here).

It turns out that if both CONFIG_PKG_ASLR_PIE and CONFIG_USE_MKLIBS are turned on, the system renders unusable. In my case, when building with GCC 7, dropbear doesn’t start, and when building with GCC 8, the system doesn’t boot, and the status LED is off.

The culprit is this line: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=include/rootfs.mk;h=76425c017a8b33340dbcc41cecaf1241352c7dbc;hb=HEAD#l7

      # first find all programs and add them to the mklibs list
      find $(STAGING_DIR_ROOT) -type f -perm /100 -exec \
              file -r -N -F '' {} + | \
              awk ' /executable.*dynamically/ { print $$1 }' > $(TMP_DIR)/mklibs-progs

It should generate the list of executables for mklibs, however, with PIE turned on, most of the executables don’t get into that list. In my config, only fw_printenv gets into the mklibs-progs list. And, because some executables are not on the list, the symbols they need may be stripped off the libraries, rendering these executables unusable.

The reason is that the file command detects PIE executables as shared objects, not as executables. Compare:

  With ASLR off:
  bin/busybox ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, with debug_info, not stripped
  With ASLR on:
  bin/busybox ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, with debug_info, not stripped
  This one single executable displays the same, independently of ASLR state:
  usr/sbin/fw_printenv ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, stripped

If CONFIG_PKG_ASLR_PIE=n, all executables are detected properly and get into the mklibs-progs list.

A more proper way should be found to detect executables, as the current one skips PIE executables completely and makes the system unusable, because some of the PIE executables can’t start due to missing symbols in libraries.

I’ve chosen the critical severity, because the system doesn’t work if I set those two config options to y, and this combination isn’t something unusual, because many people would like both increased security and smaller size of the firmware.

14.11.20181950KernelBug ReportVery LowCriticalXWAY / BT Home Hub 2B - Wifi Random Disconnects Repeate...AllUnconfirmed Task Description

Very annoying wifi disconnects when connected to WDS-Repeater.
The AP works no disconnects but when connected to repeater random disconnects repeatedly.
Affected firmware release both LEDE 17.X.X and Openwrt 18.X.X

Note: Checked, WDS works fine on Previous Openwrt Releases(BarrierBreaker, ChaosCalmer) on same settings
https://openwrt.org/docs/guide-user/network/wifi/atheroswds

Attaching AP and Repeater Logs:

AP Config:

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '5'
	option hwmode '11ng'
	option path 'pci0000:00/0000:00:0e.0'
	option htmode 'HT20'
	option country 'US'
	option txpower '22'
	option log_level '1'
	option macaddr 'be:b5:1b:b5:70:47'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'MyAP'
	option wds '1'
	option encryption 'psk2+ccmp'
	option key 'password'
	option wmm '1'

Repeater WDS Config:
Network

config interface 'loopback'
	option ifname 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
	option ula_prefix 'fdd4:7f11:dd9a::/48'

config interface 'lan'
	option type 'bridge'
	option proto 'dhcp'
	option ifname 'eth1'

config switch
	option name 'switch0'
	option reset '1'
	option enable_vlan '1'

config switch_vlan
	option device 'switch0'
	option vlan '1'
	option vid '1'
	option ports '0 1 2 3 4'

Wireless WDS:

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '5'
	option hwmode '11g'
	option path 'platform/ar934x_wmac'
	option htmode 'HT20'
	option country 'US'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'sta'
	option wds '1'
	option ssid 'MyAP'
	option bssid 'be:b5:1b:b5:70:47'
	option encryption 'psk2+ccmp'
	option key 'password'

config wifi-iface
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'MyAP'
	option encryption 'psk2+ccmp'
	option key 'password'
	option wmm '1'

Repeater WDS Log:

Wed Nov 14 12:26:05 2018 daemon.notice netifd: Network device 'wlan0' link is down
Wed Nov 14 12:26:05 2018 kern.info kernel: [ 5805.077610] br-lan: port 3(wlan0) entered disabled state
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:06 2018 daemon.notice netifd: Network device 'wlan0-1' link is down
Wed Nov 14 12:26:06 2018 kern.info kernel: [ 5806.068825] br-lan: port 2(wlan0-1) entered disabled state
Wed Nov 14 12:26:07 2018 daemon.notice netifd: bridge 'br-lan' link is down
Wed Nov 14 12:26:07 2018 daemon.notice netifd: Interface 'lan' has link connectivity loss
Wed Nov 14 12:26:07 2018 daemon.notice netifd: lan (1163): udhcpc: received SIGTERM
Wed Nov 14 12:26:07 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.220211] wlan0: authenticate with be:b5:1b:b5:70:47
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.243173] wlan0: send auth to be:b5:1b:b5:70:47 (try 1/3)
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.257141] wlan0: authenticated
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.268771] wlan0: associate with be:b5:1b:b5:70:47 (try 1/3)
Wed Nov 14 12:26:09 2018 daemon.notice netifd: Network device 'wlan0' link is up
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.282394] wlan0: RX AssocResp from be:b5:1b:b5:70:47 (capab=0x431 status=0 aid=5)
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.290756] wlan0: associated
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.309766] br-lan: port 3(wlan0) entered forwarding state
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.315545] br-lan: port 3(wlan0) entered forwarding state
Wed Nov 14 12:26:09 2018 daemon.notice netifd: bridge 'br-lan' link is up
Wed Nov 14 12:26:09 2018 daemon.notice netifd: Interface 'lan' has link connectivity 
Wed Nov 14 12:26:09 2018 daemon.notice netifd: Interface 'lan' is setting up now
Wed Nov 14 12:26:09 2018 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED 00:00:00:00:00:14
Wed Nov 14 12:26:09 2018 daemon.notice netifd: lan (1293): udhcpc: started, v1.25.1
Wed Nov 14 12:26:09 2018 daemon.notice netifd: lan (1293): udhcpc: sending discover
Wed Nov 14 12:26:09 2018 daemon.notice netifd: lan (1293): udhcpc: sending select for 192.168.1.117
Wed Nov 14 12:26:09 2018 daemon.notice netifd: lan (1293): udhcpc: lease of 192.168.1.117 obtained, lease time 43200
Wed Nov 14 12:26:09 2018 daemon.notice netifd: Interface 'lan' is now up
Wed Nov 14 12:26:10 2018 kern.info kernel: [ 5810.201396] br-lan: port 2(wlan0-1) entered forwarding state
Wed Nov 14 12:26:10 2018 kern.info kernel: [ 5810.207348] br-lan: port 2(wlan0-1) entered forwarding state
Wed Nov 14 12:26:10 2018 daemon.notice netifd: Network device 'wlan0-1' link is up
Wed Nov 14 12:26:11 2018 kern.info kernel: [ 5811.308642] br-lan: port 3(wlan0) entered forwarding state
Wed Nov 14 12:26:12 2018 kern.info kernel: [ 5812.198553] br-lan: port 2(wlan0-1) entered forwarding state
Wed Nov 14 12:26:16 2018 daemon.info hostapd: wlan0-1: STA 00:00:00:00:00:14 IEEE 802.11: authenticated
Wed Nov 14 12:26:16 2018 daemon.info hostapd: wlan0-1: STA 00:00:00:00:00:14 IEEE 802.11: associated (aid 1)
Wed Nov 14 12:26:16 2018 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED 00:00:00:00:00:14
Wed Nov 14 12:26:16 2018 daemon.info hostapd: wlan0-1: STA 00:00:00:00:00:14 WPA: pairwise key handshake completed (RSN)
Wed Nov 14 12:26:25 2018 daemon.notice netifd: Network device 'wlan0' link is down
Wed Nov 14 12:26:25 2018 kern.info kernel: [ 5825.168505] br-lan: port 3(wlan0) entered disabled state
Wed Nov 14 12:26:25 2018 kern.info kernel: [ 5825.949685] wlan0: authenticate with be:b5:1b:b5:70:47
Wed Nov 14 12:26:25 2018 kern.info kernel: [ 5825.972671] wlan0: send auth to be:b5:1b:b5:70:47 (try 1/3)
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice netifd: Network device 'wlan0-1' link is down
Wed Nov 14 12:26:26 2018 kern.info kernel: [ 5826.168126] br-lan: port 2(wlan0-1) entered disabled state
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 kern.info kernel: [ 5826.788061] wlan0: send auth to be:b5:1b:b5:70:47 (try 2/3)
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 kern.info kernel: [ 5826.988066] wlan0: send auth to be:b5:1b:b5:70:47 (try 3/3)
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.008409] wlan0: authenticated
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.018301] wlan0: associate with be:b5:1b:b5:70:47 (try 1/3)
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.085692] wlan0: RX AssocResp from be:b5:1b:b5:70:47 (capab=0x431 status=0 aid=5)
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.094030] wlan0: associated
Wed Nov 14 12:26:27 2018 daemon.notice netifd: Network device 'wlan0' link is up
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.156807] br-lan: port 3(wlan0) entered forwarding state
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.162628] br-lan: port 3(wlan0) entered forwarding state
Wed Nov 14 12:26:27 2018 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED 00:00:00:00:00:14
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.606090] br-lan: port 2(wlan0-1) entered forwarding state
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.612066] br-lan: port 2(wlan0-1) entered forwarding state
Wed Nov 14 12:26:27 2018 daemon.notice netifd: Network device 'wlan0-1' link is up
Wed Nov 14 12:26:29 2018 kern.info kernel: [ 5829.157978] br-lan: port 3(wlan0) entered forwarding state
Wed Nov 14 12:26:29 2018 kern.info kernel: [ 5829.607947] br-lan: port 2(wlan0-1) entered forwarding state
Wed Nov 14 12:27:02 2018 daemon.notice netifd: Network device 'wlan0' link is down
Wed Nov 14 12:27:02 2018 kern.info kernel: [ 5862.141503] br-lan: port 3(wlan0) entered disabled state
Wed Nov 14 12:27:02 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:27:02 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.517323] ------------[ cut here ]------------
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.522138] WARNING: CPU: 0 PID: 980 at compat-wireless-2017-01-31/net/mac80211/ieee80211_i.h:1011 0x80d84e80 [mac80211@80d80000+0x607a0]()
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.535171] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_coWed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.600905] CPU: 0 PID: 980 Comm: hostapd Not tainted 4.4.153 #0
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.607127] Stack : 803938d8 00000000 00000001 803f0000 00000000 00000000 00000000 00000000
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.607127] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.607127] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.607127] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.607127] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.607127] 	  ...
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.644169] Call Trace:[<80071c44>] 0x80071c44
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.648814] [<80071c44>] 0x80071c44
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.652426] [<80081ac8>] 0x80081ac8
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.656035] [<80d84e80>] 0x80d84e80 [mac80211@80d80000+0x607a0]
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.662174] [<80081b80>] 0x80081b80
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.665784] [<80118460>] 0x80118460
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.669414] [<80d84e80>] 0x80d84e80 [mac80211@80d80000+0x607a0]
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.675533] [<80118460>] 0x80118460
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.679174] [<80d9f1cc>] 0x80d9f1cc [mac80211@80d80000+0x607a0]
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.685292] [<80118460>] 0x80118460
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.688933] [<80cda8bc>] 0x80cda8bc [cfg80211@80cc0000+0x36ba0]
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.695047] [<80118460>] 0x80118460
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.698680] [<802a6384>] 0x802a6384
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.702289] [<802a4b94>] 0x802a4b94
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.705911] [<802a60f0>] 0x802a60f0
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.709534] [<802a54d0>] 0x802a54d0
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.713145] [<80400000>] 0x80400000
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.716753] [<802a60d8>] 0x802a60d8
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.720376] [<80268dd0>] 0x80268dd0
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.723986] [<802a4d34>] 0x802a4d34
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.727610] [<802682d4>] 0x802682d4
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.731228] [<802a52ac>] 0x802a52ac
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.734829] [<801bd428>] 0x801bd428
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.738447] [<8026cb54>] 0x8026cb54
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.742065] [<8025e448>] 0x8025e448
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.745677] [<8025f860>] 0x8025f860
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.749308] [<8025e448>] 0x8025e448
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.752914] [<802604a4>] 0x802604a4
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.756538] [<80260790>] 0x80260790
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.760162] [<800b2f2c>] 0x800b2f2c
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.763782] [<80062c6c>] 0x80062c6c
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.767401] 
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.768949] ---[ end trace 3926c6523a1013c9 ]---
14.11.20181951KernelBug ReportVery LowCriticalbrcm63xx: Livebox: kernel boot stuck at "random: crng i...TrunkUnconfirmed Task Description

The kernel 4.14 is unable to boot on the Inventel Livebox 1 (BCM6348 board with a redboot bootloader).

Steps to reproduce:

  • Intall the latest trunk version (i.e. r8455-042d68a) kernel 4.14

Sympthoms:

  1. It won’t detect the BogoMips CPU speed
  2. It stucks at “random: fast init done”, and apparently no more kernel messages
  3. But after a minute it spits the last message random: crng init done

Boot log:

965543210120123456+678ESA: 30:78:30:30:3a:30
WEP KEY : FFFFFFFFFFFFFFFFFFFFFFFFFF
Auto-negotiation timed-out
10 MB Half-Duplex (assumed)
Ethernet eth0: MAC address 30:78:30:30:3a:30
IP: 10.7.58.112, Default server: 10.7.58.114
Hardware version 0x90, mask=0x7E
Hardware version 0x10 (masked) BLUE5G.9 DV4210
Factory Settings Recovery Switch OFF

RedBoot(tm) bootstrap and debug environment [ROM]
unlocked release, eCos 2.0b1 - built 23:01:33, Jan 11 2013

Platform: Blue_5g (MIPS32 4Kc) 
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x80000000-0x84000000, [0x80435e50-0x83fe2000] available
FLASH: 0xbe400000 - 0xbec00000, 128 blocks of 0x00010000 bytes each.
== Executing boot script in 20.000 seconds - enter ^C twice to abort
RedBoot> fis load -b 0x80a00000 -d kernel
 -- Redboot version without crypt_verify -- 
Image loaded from 0x80a00000-0x80f55b2e
RedBoot> exec -c "noinitrd" 0x80a00000
Now booting linux kernel:
 Base address 0x8000fc00 Entry 0x80a00000
 Cmdline : noinitrd
changing Kseg0 coherency algorithm to write back...
enabling icache and dcache...

[    0.000000] Linux version 4.14.80 (buildbot@buildslave) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r8455-042d68a195)) #0 Tue Nov 13 20:40:30 2018
[    0.000000] Detected Broadcom 0x6348 CPU revision b0
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_livebox: flash address is: 0x1fc00000, forcing to: 0x1e400000
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00029107 (Broadcom BMIPS3300)
[    0.000000] board: board name: Livebox-blue-5g
[    0.000000] MIPS: machine is Inventel Livebox 1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    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] random: get_random_bytes called from start_kernel+0x80/0x488 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: rootfstype=squashfs,jffs2 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] Memory: 58160K/65536K available (4003K kernel code, 193K rwdata, 956K rodata, 1304K init, 209K bss, 7376K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000031] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[    1.037346] random: fast init done
[   53.974911] random: crng init done
 


10.12.20181995Base systemBug ReportVery LowCriticalHuawei HG655b stuck in bootloopopenwrt-18.06Unconfirmed Task Description

The router reboots continuously while booting into OpenWrt 18.06.1. The same thing happens on version 18.06.0 as well.
Last working one is LEDE 17.01.6 .

Boot log:

CFE version 1.0.37-102.6 for BCM96368 (32bit,SP,BE)
Build Date: Fri Apr 16 15:18:13 CST 2010 (lihua@IBM_x3500)
Copyright (C) 2000-2008 Broadcom Corporation.

Parallel flash device: name AM29LV320MB, id 0x2200, size 8192KB
CPU type 0x2A031: 400MHz, Bus: 160MHz, Ref: 64MHz
CPU running TP0
Total memory: 67108864 bytes (64MB)
Boot Address 0xb8000000


Board IP address                  : 192.168.1.1:ffffff00
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Boot image (0=latest, 1=previous) : 0
Board Id (0-6)                    : HW65x
Number of MAC Addresses (1-32)    : 11
Base MAC Address                  : 02:10:18:01:00:01
PSI Size (1-64) KBytes            : 64
Main Thread Number [0|1]          : 0

*** Press any key to stop auto run (2 seconds) ***
Auto run second count down: 0
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80a00000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found.
Closing DMA Channels.
Starting program at 0x80a00000
[    0.000000] Linux version 4.9.120 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7102-3f3a2c9) ) #0 SMP Wed Aug 15 20:42:39 2018
[    0.000000] Detected Broadcom 0x6368 CPU revision b2
[    0.000000] CPU frequency is 400 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-102.6
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0002a031 (Broadcom BMIPS4350)
[    0.000000] board: board name: HW65x
[    0.000000] MIPS: machine is Huawei HG655b
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    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] percpu: Embedded 12 pages/cpu @8108a000 s17440 r8192 d23520 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: rootfstype=squashfs,jffs2 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] Memory: 58636K/65536K available (3773K kernel code, 183K rwdata, 588K rodata, 1336K init, 227K bss, 6900K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:256
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000015] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008130] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[    0.042781] pid_max: default: 32768 minimum: 301
[    0.047767] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.054541] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.069410] SMP: Booting CPU1...
[   11.992235] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[   11.992251] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[   11.992575] CPU1 revision is: 0002a031 (Broadcom BMIPS4350)
[    0.121564] Synchronize counters for CPU 1:
[    0.121565] done.
[    0.121573] SMP: CPU1 is running
[    0.131460] Brought up 2 CPUs
[    0.142908] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.152949] futex hash table entries: 512 (order: 1, 8192 bytes)
[    0.159260] pinctrl core: initialized pinctrl subsystem
[    0.166652] NET: Registered protocol family 16
[    0.175484] Can't analyze schedule() prologue at 803baf08
[    0.197227] registering PCI controller with io_map_base unset
[    0.203139] registering PCI controller with io_map_base unset
[    0.234630] PCI host bridge to bus 0000:00
[    0.238879] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.245938] pci_bus 0000:00: root bus resource [io  0x8000000-0x8007fff]
[    0.252837] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.259812] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.276363] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.284076] PCI host bridge to bus 0000:01
[    0.288281] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
[    0.295332] pci_bus 0000:01: root bus resource [io  0x8008000-0x800ffff]
[    0.302249] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[    0.309225] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.317823] pci 0000:01:1e.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.326326] pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
[    0.333401] pci 0000:01:1e.0: BAR 7: assigned [io  0x8008000-0x80080ff]
[    0.340186] pci 0000:01:1e.0: BAR 8: assigned [io  0x8008400-0x80084ff]
[    0.346986] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
[    0.352727] pci 0000:01:1e.0:   bridge window [io  0x8008000-0x80080ff]
[    0.359528] pci 0000:01:1e.0:   bridge window [io  0x8008400-0x80084ff]
[    0.366347] pci 0000:01:1e.0:   bridge window [mem 0x38000000-0x3fffffff]
[    0.380818] clocksource: Switched to clocksource MIPS
[    0.388361] NET: Registered protocol family 2
[    0.394665] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.401924] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.408534] TCP: Hash tables configured (established 1024 bind 1024)
[    0.415436] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.421530] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.428514] NET: Registered protocol family 1
[    0.435230] Crashlog allocated RAM at address 0x3f00000
[    0.444861] random: fast init done
[    0.450589] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.471721] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.477733] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.512734] io scheduler noop registered
[    0.516874] io scheduler deadline registered (default)
[    0.525247] bcm6368-pinctrl 10000080.pin-controller: registered at mmio b0000080
[    0.534012] 10000100.serial: ttyS0 at MMIO 0x10000100 (irq = 10, base_baud = 1562500) is a bcm63xx_uart
[    0.543754] console [ttyS0] enabled
[    0.543754] console [ttyS0] enabled
[    0.550889] bootconsole [early0] disabled
[    0.550889] bootconsole [early0] disabled
[    0.559894] bcm63xx-rng bcm63xx-rng: registered RNG driver
[    0.566702] 18000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001000
[    0.577107] Amd/Fujitsu Extended Query Table at 0x0040
[    0.582383]   Amd/Fujitsu Extended Query version 1.3.
[    0.587560] number of CFI chips: 1
[    0.591665] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.598317] bcm63xxpart: Partition 1 is nvram offset 7f0000 and length 10000
[    0.605576] bcm63xxpart: Partition 2 is linux offset 10000 and length 7e0000
[    0.612884] 3 bcm63xxpart partitions found on MTD device 18000000.nor
[    0.619494] Creating 3 MTD partitions on "18000000.nor":
[    0.624958] 0x000000000000-0x000000010000 : "CFE"
[    0.631868] 0x0000007f0000-0x000000800000 : "nvram"
[    0.638937] 0x000000010000-0x0000007f0000 : "linux"
[    0.646345] parser_imagetag: rootfs: CFE image tag at 0x0 CRC invalid (expected 0212102b, actual 24b1b887)
[    0.657859] bcm63xx-spi 10000800.spi: at [mem 0x10000800-0x10000f0b flags 0x200] (irq 9, FIFOs size 542)
[    0.669448] libphy: Fixed MDIO Bus: probed
[    0.717976] b53_common: found switch: BCM63xx, rev 0
[    0.723524] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.733982] NET: Registered protocol family 10
[    0.741672] NET: Registered protocol family 17
[    0.746347] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.759683] 8021q: 802.1Q VLAN Support v1.8
[    0.774484] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    0.782230] Please append a correct "root=" boot option; here are the available partitions:
[    0.790832] 1f00              64 mtdblock0 [    0.794921]  (driver?)
[    0.797342] 1f01              64 mtdblock1 [    0.801455]  (driver?)
[    0.803858] 1f02            8064 mtdblock2 [    0.807994]  (driver?)
[    0.810425] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    0.820791] Rebooting in 1 seconds..
[    1.819072] triggering watchdog soft-reset...


17.12.20182009DocumentationBug ReportVery LowCriticalNetgear R8000 - Unable to install OpenWRT firmwareopenwrt-18.06Unconfirmed Task Description

Netgear R8000 - Unable to install OpenWRT firmware

https://openwrt.org/toh/netgear/r8000#tab__firmware_downloads

A recently purchased from Amazon Netgear R8000 (Nighthawk X6) refuses to accept the OpenWRT firmware file and there are not directions for an alternate installation method.

Full model from the back:

NETGEAR Nighthawk X6
AC3200 Tri-Band WiFiRouter
Model: R8000
FCCID: PY314200264
Made in Vietnam 272-12664-01

23.12.20182023PackagesBug ReportVery LowCriticalPPtP not connecting on Xiaomi Mi WiFi R3Gopenwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on : Xiaomi Mi WiFi R3G (https://openwrt.org/toh/xiaomi/mir3g)
- OpenWrt 18.06.1

Steps to reproduce:

1.opkg update
2.opkg install ppp-mod-pptp
3.opkg install kmod-nf-nathelper-extra
4.opkg install kmod-ipt-raw
5.disabled rebind attack protection from DNS and DHCP
6.added below custom rule on /etc/firewall.user

iptables -t raw -A OUTPUT -p tcp -m tcp --dport 1723 -j CT --helper pptp

7.setup the PPTP in the LUCI
8.reboot

Relevant Logs appearing repetitively:

Sun Dec 23 17:48:01 2018 daemon.notice pppd[22738]: pppd 2.4.7 started by root, uid 0
Sun Dec 23 17:48:02 2018 kern.info kernel: [ 1551.622787] pptp-ISP: renamed from ppp0
Sun Dec 23 17:48:02 2018 daemon.info pppd[22738]: Using interface pptp-ISP Sun Dec 23 17:48:02 2018 daemon.notice pppd[22738]: Connect: pptp-ISP ←→ pptp (red.connect.net.pk)
Sun Dec 23 17:48:03 2018 daemon.notice pppd[22738]: CHAP authentication succeeded
Sun Dec 23 17:48:03 2018 daemon.notice pppd[22738]: Connection terminated.
Sun Dec 23 17:48:03 2018 daemon.warn pppd[22740]: read returned zero, peer has closed
Sun Dec 23 17:48:03 2018 daemon.warn pppd[22740]: read returned zero, peer has closed
Sun Dec 23 17:48:03 2018 daemon.info pppd[22738]: Exit.
Sun Dec 23 17:48:03 2018 daemon.notice netifd: Interface ‘ISP’ is now down
Sun Dec 23 17:48:03 2018 daemon.notice netifd: Interface ‘ISP’ is setting up now
Sun Dec 23 17:48:03 2018 daemon.info pppd[22998]: Plugin pptp.so loaded.
Sun Dec 23 17:48:03 2018 daemon.info pppd[22998]: PPTP plugin version 1.00
Sun Dec 23 17:48:03 2018 daemon.notice pppd[22998]: pppd 2.4.7 started by root, uid 0


01.01.20192040Base systemBug ReportVery LowCriticalgdb 8.2 fails to compile for Raspberry Pi 3B+TrunkUnconfirmed Task Description

- Device problem occurs on
Attempting build for Raspberry Pi 3B+ with gdbserver included

- Software versions of OpenWrt/LEDE release, packages, etc.
commit d3bf5ff9bc7b55b2a3dab93853b33a0cd2c4ca47 (HEAD → master, origin/master, origin/HEAD)
Author: Jonas Gorski jonas.gorski@gmail.com Date: Mon Sep 10 11:42:53 2018 +0200

- Steps to reproduce
(I successfully built and ran it without gdbserver.)
In menuconfig, selected the correct SoC, added Luci, then followed https://openwrt.org/docs/guide-developer/gdb:
“Compiling Tools” - exactly as described.
“Add debugging to a package” - option “Global build settings > Compile packages with debugging info” (whether this is activated or not has no effect on the problem)

gdb compilation for the target fails, see error below.

I reverted 2 last commits to the gdb package, to what it was at this commit:
commit 525b8f06501233414ad6e56fe1134ae82ab28fc2
Author: Rosen Penev rosenp@gmail.com
Date: Wed Jun 6 18:22:26 2018 -0700

using these commands:
cd package/devel
git checkout 525b8f06501 gdb

and the build succeeded. Looks like the updated gdb

.config is attached.


aarch64-openwrt-linux-musl-g++ -x c++ -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/mnt/1TB/ow/openwrt/build_dir/target-aarch64_cortex-a53_musl/gdb-8.2:gdb-8.2 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I. -I. -I./common -I./config -DLOCALEDIR=”“/usr/share/locale”” -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../zlib -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wformat-nonliteral -c -o aarch64-linux-nat.o -MT aarch64-linux-nat.o -MMD -MP -MF ./.deps/aarch64-linux-nat.Tpo aarch64-linux-nat.c
In file included from nat/aarch64-sve-linux-ptrace.h:23:0,
from aarch64-linux-nat.c:35:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/asm/sigcontext.h:26:8: error: redefinition of ‘struct sigcontext’ struct sigcontext {

In file included from /mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/signal.h:48:0,
from build-gnulib/import/signal.h:52,
from linux-nat.h:23,
from aarch64-linux-nat.c:26:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/bits/signal.h:18:16: note: previous definition of ‘struct sigcontext’ typedef struct sigcontext {

In file included from nat/aarch64-sve-linux-ptrace.h:23:0,
from aarch64-linux-nat.c:35:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/asm/sigcontext.h:63:8: error: redefinition of ‘struct _aarch64_ctx’ struct _aarch64_ctx {

In file included from /mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/signal.h:48:0,
from build-gnulib/import/signal.h:52,
from linux-nat.h:23,
from aarch64-linux-nat.c:26:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/bits/signal.h:29:8: note: previous definition of ‘struct _aarch64_ctx’ struct _aarch64_ctx {

In file included from nat/aarch64-sve-linux-ptrace.h:23:0,
from aarch64-linux-nat.c:35:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/asm/sigcontext.h:70:8: error: redefinition of ‘struct fpsimd_context’ struct fpsimd_context {

In file included from /mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/signal.h:48:0,
from build-gnulib/import/signal.h:52,
from linux-nat.h:23,
from aarch64-linux-nat.c:26:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/bits/signal.h:33:8: note: previous definition of ‘struct fpsimd_context’ struct fpsimd_context {

In file included from nat/aarch64-sve-linux-ptrace.h:23:0,
from aarch64-linux-nat.c:35:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/asm/sigcontext.h:80:8: error: redefinition of ‘struct esr_context’ struct esr_context {

In file included from /mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/signal.h:48:0,
from build-gnulib/import/signal.h:52,
from linux-nat.h:23,
from aarch64-linux-nat.c:26:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/bits/signal.h:39:8: note: previous definition of ‘struct esr_context’ struct esr_context {

In file included from nat/aarch64-sve-linux-ptrace.h:23:0,
from aarch64-linux-nat.c:35:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/asm/sigcontext.h:113:8: error: redefinition of ‘struct extra_context’ struct extra_context {

In file included from /mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/signal.h:48:0,
from build-gnulib/import/signal.h:52,
from linux-nat.h:23,
from aarch64-linux-nat.c:26:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/bits/signal.h:43:8: note: previous definition of ‘struct extra_context’ struct extra_context {

aarch64-linux-nat.c: In function ‘void store_sveregs_to_thread(regcache*)’:
aarch64-linux-nat.c:419:59: error: invalid use of incomplete type ‘struct store_sveregs_to_thread(regcache*)::user_sve_header’ iovec.iov_len = 1)→size;

aarch64-linux-nat.c:419:28: note: forward declaration of ‘struct store_sveregs_to_thread(regcache)::user_sve_header’ iovec.iov_len = 2)→size;

Makefile:1622: recipe for target ‘aarch64-linux-nat.o’ failed

1) struct user_sve_header ) base.get (
2) struct user_sve_header *) base.get (
21.01.20192070PackagesBug ReportVery LowCriticalbn_wexpand in bn_div.c are not checked for failure and ...openwrt-18.06Unconfirmed Task Description

Hi,
The code in the openwrt/package/network/services/ead/src/tinysrp/bn_div.c should be fixed to check the bn_wexpand return value. The problem exists in multiple other projects including openssl with CVE (CVE-2009-3245)(https://github.com/openssl/openssl/commit/2d9dcd4ff0923347fab727ac90e8526dd65e4e07).

21.01.20192071PackagesBug ReportVery LowCriticalbn_wexpand return value vulnerable to memory leakopenwrt-18.06Unconfirmed Task Description

Hi,
The code in the openwrt/package/network/services/ead/src/tinysrp/bn_div.c should be fixed to check the bn_wexpand return value. The problem exists in multiple other projects including openssl with CVE (CVE-2009-3245)(https://github.com/openssl/openssl/commit/2d9dcd4ff0923347fab727ac90e8526dd65e4e07).

21.01.20192072PackagesBug ReportVery LowCriticalbn_wexpand return value vulnerable to memory leakopenwrt-18.06Unconfirmed Task Description

Hi,
The code in the openwrt/package/network/services/ead/src/tinysrp/bn_div.c should be fixed to check the bn_wexpand return value. The problem exists in multiple other projects including openssl with CVE (CVE-2009-3245)(https://github.com/openssl/openssl/commit/2d9dcd4ff0923347fab727ac90e8526dd65e4e07).

21.01.20192073Base systemBug ReportVery LowCriticalSha1 in firmware-utils/src/sha1.c has TLS or DTLS Vulne...AllUnconfirmed Task Description

Hi,
The sha1 file in openwrt/tools/firmware-utils/src/sha1.c is not fixed and is vulnerable to remote code execution or DoS. The CVE (CVE-2018-0487) and fixed in multiple other repos including ubuntu. (https://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-0487.html)

23.01.20192079Base systemBug ReportVery LowCriticalMT7621 - lost RX streamAllUnconfirmed Task Description

Device: TP-LINK RE350 v1
OpenWRT: 18.06-SNAPSHOOT 22.01.2019
Wireless setup:

  config wifi-device 'radio0'
      option type 'mac80211'
      option channel '1'
      option hwmode '11g'
      option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
      option ldpc '1'
      option greenfield '0'
      option diversity '1'
      option htmode 'HT40'
      option country 'PL'
      option log_level '8'
      option disabled '0'
      option legacy_rates '0'
      option noscan '1'
  config wifi-iface
      option device 'radio0'
      option mode 'sta'
      option ssid 'XXX'
      option bssid 'xxx'
      option encryption 'psk2'
      option key 'xxx'
      option disassoc_low_ack '0'
      option network 'wan'
      option disabled '0'
      option wmm '1'
  config wifi-iface
      option device 'radio0'
      option mode 'ap'
      option ssid 'XXX'
      option encryption 'psk2'
      option key 'xxx'
      option disassoc_low_ack '0'
      option network 'lan'
      option disabled '0'
      option wds '1'
      option wmm '1'

Problem and solution:
AP and STA works on Channel 1. STA few seconds after connection to upstream AP losts RX stream.

  Station xx:xx:xx:xx:xx:xx (on wlan0)
      inactive time:  20570 ms
      rx bytes:       222792
      rx packets:     1657
      tx bytes:       1482
      tx packets:     20
      tx retries:     133
      tx failed:      12
      beacon loss:    10
      beacon rx:      756
      rx drop misc:   2
      signal:         -68 [-68, -69] dBm
      signal avg:     -68 [-68, -68] dBm
      beacon signal avg:      188 dBm
      tx bitrate:     43.3 MBit/s MCS 10 short GI
      **rx bitrate:     1.0 MBit/s**
      authorized:     yes
      authenticated:  yes
      associated:     yes
      preamble:       long
      WMM/WME:        yes
      MFP:            no
      TDLS peer:      no
      DTIM period:    2
      beacon interval:100
      short slot time:yes
      connected time: 83 seconds
 


23.01.20192080PackagesBug ReportVery LowCriticalWan IPV6 interface with 6rd protocol reports bad mac ad...openwrt-18.06Unconfirmed Task Description

Device used is BT Home Hub 5 v1.2.
Openwrt release is 18.06.1,
6rd package version is 9-4
ISP is Free (France)

“Wan” interface, IPV4, with Dchp client protocol is up and works fine on physical interface dsl0.836.
Mac address has to be overriden because ISP uses a fixed mac address, different for each Freebox, it’s own dsl modem/box.

“Wan6”, IPV6, interface with 6rd protocol is up but the mac reported in the not the same as those reported in “Wan” interface.

As you could see on the attached capture of the “Interfaces overview”, the mac address reported is the “Wan” IpV4 address !!!

Wan6 interface is up but frames are rejected by ISP because the mac address is not those one expected as for “Wan” interface. Mac address can’t be overriden on these interface.

network config is attached.



Cromagnon31

29.01.20192090KernelBug ReportVery LowCritical[mt76] MCU message 31 timeout, clients losing connectio...openwrt-18.06Unconfirmed Task Description

This issue is occurring both with commit f34ad1a8f0d1ee4a3e4b966d58c8f3b8a523a417 and commit 6e16dd1234ea4814af2b46a22b4aea111baef3ab on a D-Link DIR-860L rev. B1 (mt7621 SoC) running 18.06 HEAD.

It also looks similar to issue 142 on the mt76 Github.

Scenario:
- Connect the client to the AP. Clients in use are an Intel 8260AC card and an Xperia XZ1 Compact (Qualcomm SoC so probably QCA wireless?).
- Connection is choppy. Pings will take multiple seconds (not milliseconds) sometimes, web pages won’t load at one point and then will, very unpredictable.
- Client loses connection to AP within minutes and is unable to reconnect; ‘wifi status’ on the device shows the AP is still up however.
- Behaviour was really bad with the 2019-01-10 and seemed to have improved with 2019-01-25, but I gave 2019-01-25 just one shot before rolling back to 2018-11-09.
- logread shows deauthentication and MCU message 31 timeout filling the logs:

Sun Jan 27 21:14:57 2019 daemon.notice hostapd: wlan0: AP-STA-POLL-OK a4:34:xx:xx:6e:0f
Sun Jan 27 21:15:05 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 38:78:xx:xx:04:d3
Sun Jan 27 21:15:05 2019 daemon.info hostapd: wlan0: STA 38:78:xx:xx:04:d3 IEEE 802.11: disassociated due to inactivity
Sun Jan 27 21:15:06 2019 daemon.info hostapd: wlan0: STA 38:78:xx:xx:04:d3 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sun Jan 27 21:15:19 2019 kern.err kernel: [ 2675.025292] mt76x2e 0000:01:00.0: MCU message 31 (seq 8) timed out
Sun Jan 27 21:15:21 2019 kern.err kernel: [ 2677.105305] mt76x2e 0000:01:00.0: MCU message 31 (seq 9) timed out
Sun Jan 27 21:15:23 2019 kern.err kernel: [ 2679.185298] mt76x2e 0000:01:00.0: MCU message 31 (seq 10) timed out
Sun Jan 27 21:15:25 2019 kern.err kernel: [ 2681.265299] mt76x2e 0000:01:00.0: MCU message 31 (seq 11) timed out
Sun Jan 27 21:15:27 2019 kern.err kernel: [ 2683.345294] mt76x2e 0000:01:00.0: MCU message 31 (seq 12) timed out
Sun Jan 27 21:15:29 2019 kern.err kernel: [ 2685.425291] mt76x2e 0000:01:00.0: MCU message 31 (seq 13) timed out
Sun Jan 27 21:15:31 2019 kern.err kernel: [ 2687.505287] mt76x2e 0000:01:00.0: MCU message 31 (seq 14) timed out
Sun Jan 27 21:15:33 2019 kern.err kernel: [ 2689.585284] mt76x2e 0000:01:00.0: MCU message 31 (seq 15) timed out
Sun Jan 27 21:15:35 2019 kern.err kernel: [ 2691.665279] mt76x2e 0000:01:00.0: MCU message 31 (seq 1) timed out
Sun Jan 27 21:15:38 2019 kern.err kernel: [ 2693.745276] mt76x2e 0000:01:00.0: MCU message 31 (seq 2) timed out
Sun Jan 27 21:15:40 2019 kern.err kernel: [ 2695.825270] mt76x2e 0000:01:00.0: MCU message 31 (seq 3) timed out
Sun Jan 27 21:15:42 2019 kern.err kernel: [ 2697.905268] mt76x2e 0000:01:00.0: MCU message 31 (seq 4) timed out
Sun Jan 27 21:15:44 2019 kern.err kernel: [ 2699.985259] mt76x2e 0000:01:00.0: MCU message 31 (seq 5) timed out
Sun Jan 27 21:15:46 2019 kern.err kernel: [ 2702.065274] mt76x2e 0000:01:00.0: MCU message 31 (seq 6) timed out
Sun Jan 27 21:15:48 2019 kern.err kernel: [ 2704.145282] mt76x2e 0000:01:00.0: MCU message 31 (seq 7) timed out
Sun Jan 27 21:15:50 2019 kern.err kernel: [ 2706.225272] mt76x2e 0000:01:00.0: MCU message 31 (seq 8) timed out
Sun Jan 27 21:15:52 2019 kern.err kernel: [ 2708.305263] mt76x2e 0000:01:00.0: MCU message 31 (seq 9) timed out
Sun Jan 27 21:15:54 2019 kern.err kernel: [ 2710.385268] mt76x2e 0000:01:00.0: MCU message 31 (seq 10) timed out
Sun Jan 27 21:15:56 2019 kern.err kernel: [ 2712.465253] mt76x2e 0000:01:00.0: MCU message 31 (seq 11) timed out
Sun Jan 27 21:15:58 2019 kern.err kernel: [ 2714.545266] mt76x2e 0000:01:00.0: MCU message 31 (seq 12) timed out
Sun Jan 27 21:16:00 2019 kern.err kernel: [ 2716.625232] mt76x2e 0000:01:00.0: MCU message 31 (seq 13) timed out
Sun Jan 27 21:16:02 2019 kern.err kernel: [ 2718.705225] mt76x2e 0000:01:00.0: MCU message 31 (seq 14) timed out
Sun Jan 27 21:16:05 2019 kern.err kernel: [ 2720.785213] mt76x2e 0000:01:00.0: MCU message 31 (seq 15) timed out
Sun Jan 27 21:16:07 2019 kern.err kernel: [ 2722.865219] mt76x2e 0000:01:00.0: MCU message 31 (seq 1) timed out
Sun Jan 27 21:16:09 2019 kern.err kernel: [ 2724.945202] mt76x2e 0000:01:00.0: MCU message 31 (seq 2) timed out
Sun Jan 27 21:16:11 2019 kern.err kernel: [ 2727.025200] mt76x2e 0000:01:00.0: MCU message 31 (seq 3) timed out
Sun Jan 27 21:16:13 2019 kern.err kernel: [ 2729.105189] mt76x2e 0000:01:00.0: MCU message 31 (seq 4) timed out
Sun Jan 27 21:16:15 2019 kern.err kernel: [ 2731.185194] mt76x2e 0000:01:00.0: MCU message 31 (seq 5) timed out
Sun Jan 27 21:16:17 2019 kern.err kernel: [ 2733.265189] mt76x2e 0000:01:00.0: MCU message 31 (seq 6) timed out
Sun Jan 27 21:16:19 2019 kern.err kernel: [ 2735.345176] mt76x2e 0000:01:00.0: MCU message 31 (seq 7) timed out
Sun Jan 27 21:16:21 2019 kern.err kernel: [ 2737.425183] mt76x2e 0000:01:00.0: MCU message 31 (seq 8) timed out
Sun Jan 27 21:16:23 2019 kern.err kernel: [ 2739.505191] mt76x2e 0000:01:00.0: MCU message 31 (seq 9) timed out
Sun Jan 27 21:16:25 2019 kern.err kernel: [ 2741.585169] mt76x2e 0000:01:00.0: MCU message 31 (seq 10) timed out
Sun Jan 27 21:16:27 2019 kern.err kernel: [ 2743.665183] mt76x2e 0000:01:00.0: MCU message 31 (seq 11) timed out
Sun Jan 27 21:16:30 2019 kern.err kernel: [ 2745.745171] mt76x2e 0000:01:00.0: MCU message 31 (seq 12) timed out
Sun Jan 27 21:16:32 2019 kern.err kernel: [ 2747.825150] mt76x2e 0000:01:00.0: MCU message 31 (seq 13) timed out
Sun Jan 27 21:16:34 2019 kern.err kernel: [ 2749.905148] mt76x2e 0000:01:00.0: MCU message 31 (seq 14) timed out
Sun Jan 27 21:16:36 2019 kern.err kernel: [ 2751.985146] mt76x2e 0000:01:00.0: MCU message 31 (seq 15) timed out
Sun Jan 27 21:16:38 2019 kern.err kernel: [ 2754.065143] mt76x2e 0000:01:00.0: MCU message 31 (seq 1) timed out
Sun Jan 27 21:16:40 2019 kern.err kernel: [ 2756.145130] mt76x2e 0000:01:00.0: MCU message 31 (seq 2) timed out
Sun Jan 27 21:16:42 2019 kern.err kernel: [ 2758.225141] mt76x2e 0000:01:00.0: MCU message 31 (seq 3) timed out
Sun Jan 27 21:16:44 2019 kern.err kernel: [ 2760.305124] mt76x2e 0000:01:00.0: MCU message 31 (seq 4) timed out
Sun Jan 27 21:16:46 2019 kern.err kernel: [ 2762.385151] mt76x2e 0000:01:00.0: MCU message 31 (seq 5) timed out
Sun Jan 27 21:16:48 2019 kern.err kernel: [ 2764.465119] mt76x2e 0000:01:00.0: MCU message 31 (seq 6) timed out
Sun Jan 27 21:16:50 2019 kern.err kernel: [ 2766.545112] mt76x2e 0000:01:00.0: MCU message 31 (seq 7) timed out
Sun Jan 27 21:16:52 2019 kern.err kernel: [ 2768.625111] mt76x2e 0000:01:00.0: MCU message 31 (seq 8) timed out
Sun Jan 27 21:16:54 2019 kern.err kernel: [ 2770.705101] mt76x2e 0000:01:00.0: MCU message 31 (seq 9) timed out
Sun Jan 27 21:16:57 2019 kern.err kernel: [ 2772.785097] mt76x2e 0000:01:00.0: MCU message 31 (seq 10) timed out
Sun Jan 27 21:16:59 2019 kern.err kernel: [ 2774.865089] mt76x2e 0000:01:00.0: MCU message 31 (seq 11) timed out
Sun Jan 27 21:17:01 2019 kern.err kernel: [ 2776.945093] mt76x2e 0000:01:00.0: MCU message 31 (seq 12) timed out
Sun Jan 27 21:17:03 2019 kern.err kernel: [ 2779.025083] mt76x2e 0000:01:00.0: MCU message 31 (seq 13) timed out
Sun Jan 27 21:17:05 2019 kern.err kernel: [ 2781.105078] mt76x2e 0000:01:00.0: MCU message 31 (seq 14) timed out
Sun Jan 27 21:17:07 2019 kern.err kernel: [ 2783.185079] mt76x2e 0000:01:00.0: MCU message 31 (seq 15) timed out
Sun Jan 27 21:17:09 2019 kern.err kernel: [ 2785.265074] mt76x2e 0000:01:00.0: MCU message 31 (seq 1) timed out
Sun Jan 27 21:17:11 2019 kern.err kernel: [ 2787.345067] mt76x2e 0000:01:00.0: MCU message 31 (seq 2) timed out
Sun Jan 27 21:17:13 2019 kern.err kernel: [ 2789.425059] mt76x2e 0000:01:00.0: MCU message 31 (seq 3) timed out
Sun Jan 27 21:17:15 2019 kern.err kernel: [ 2791.505056] mt76x2e 0000:01:00.0: MCU message 31 (seq 4) timed out
Sun Jan 27 21:17:17 2019 kern.err kernel: [ 2793.585050] mt76x2e 0000:01:00.0: MCU message 31 (seq 5) timed out
Sun Jan 27 21:17:19 2019 kern.err kernel: [ 2795.665044] mt76x2e 0000:01:00.0: MCU message 31 (seq 6) timed out
Sun Jan 27 21:17:22 2019 kern.err kernel: [ 2797.745051] mt76x2e 0000:01:00.0: MCU message 31 (seq 7) timed out
Sun Jan 27 21:17:24 2019 kern.err kernel: [ 2799.825041] mt76x2e 0000:01:00.0: MCU message 31 (seq 8) timed out
Sun Jan 27 21:17:26 2019 kern.err kernel: [ 2801.905033] mt76x2e 0000:01:00.0: MCU message 31 (seq 9) timed out
Sun Jan 27 21:17:28 2019 kern.err kernel: [ 2803.985028] mt76x2e 0000:01:00.0: MCU message 31 (seq 10) timed out
Sun Jan 27 21:17:30 2019 kern.err kernel: [ 2806.065023] mt76x2e 0000:01:00.0: MCU message 31 (seq 11) timed out
Sun Jan 27 21:17:32 2019 kern.err kernel: [ 2808.145015] mt76x2e 0000:01:00.0: MCU message 31 (seq 12) timed out
Sun Jan 27 21:17:34 2019 kern.err kernel: [ 2810.225013] mt76x2e 0000:01:00.0: MCU message 31 (seq 13) timed out
Sun Jan 27 21:17:36 2019 kern.err kernel: [ 2812.305018] mt76x2e 0000:01:00.0: MCU message 31 (seq 14) timed out
Sun Jan 27 21:17:38 2019 kern.err kernel: [ 2814.385016] mt76x2e 0000:01:00.0: MCU message 31 (seq 15) timed out
 


10.02.20192115KernelBug ReportVery LowCriticalkernel panic with Hardware flow offloading on ubnt-x (M...TrunkUnconfirmed Task Description

hardware ubnt-x (edgerouter-x)
openwrt: OpenWrt SNAPSHOT, r9293-e3311cb

I turn on hardware offload and system went south (hangup). Automatic hard
reset (by kernel itself or because of watchcat)
But syslogd logs to other machine and
this is what I found in logs:

Feb 10 21:04:59 thorgal kernel: [ 6300.830740]  (t=6003 jiffies g=60795 c=60794 q=1375)
Feb 10 21:04:59 thorgal kernel: [ 6300.860492] (detected by 1, t=6006 jiffies, g=60795, c=60794, q=1375)
Feb 10 21:04:59 thorgal kernel: [ 6300.863610] rcu_sched       I
Feb 10 21:04:59 thorgal kernel: [ 6300.884363] Sending NMI from CPU 1 to CPUs 3:
Feb 10 21:04:59 thorgal kernel: [ 6300.897157]     0     8      2 0x00100000
Feb 10 21:04:59 thorgal kernel: [ 6300.919637] Stack : 805b0000 8fc42bc0 8fc5fe30 8fc5fe30 81222380 8fc5fe30 805b0000 81222380
Feb 10 21:04:59 thorgal kernel: [ 6300.936268]         00000003 80086ddc 000912c6 81222380 81222380 8fc5fe30 805b0000 81222380
Feb 10 21:04:59 thorgal kernel: [ 6300.952899]         00000003 805ae1b8 805b6550 80491eec 00000001 8fc5fe30 805b0000 000912c6
Feb 10 21:04:59 thorgal kernel: [ 6300.969530]         81222380 80494e14 00000003 80082e28 805b0000 00000000 8fc5febc 00000001
Feb 10 21:04:59 thorgal kernel: [ 6300.986160]         00000000 812223f4 000912c6 8008732c 8fc42bc0 01c00001 00000001 805b6440
Feb 10 21:04:59 thorgal kernel: [ 6301.002793]         ...
Feb 10 21:04:59 thorgal kernel: [ 6301.007654] Call Trace:
Feb 10 21:04:59 thorgal kernel: [ 6301.012531] [<80491dcc>] __schedule+0x7ac/0x860
Feb 10 21:04:59 thorgal kernel: [ 6301.021543] [<80491eec>] schedule+0x6c/0x84
Feb 10 21:04:59 thorgal kernel: [ 6301.029863] [<80494e14>] schedule_timeout+0x17c/0x1b8
Feb 10 21:04:59 thorgal kernel: [ 6301.039912] [<80083444>] rcu_gp_kthread+0x560/0x950
Feb 10 21:04:59 thorgal kernel: [ 6301.049626] [<8004c1b8>] kthread+0x130/0x144
Feb 10 21:04:59 thorgal kernel: [ 6301.058120] [<8000b0d8>] ret_from_kernel_thread+0x14/0x1c
Feb 10 21:04:59 thorgal kernel: [ 6304.380977] NMI backtrace for cpu 3
Feb 10 21:04:59 thorgal kernel: [ 6304.387914] CPU: 3 PID: 2514 Comm: kworker/3:1 Not tainted 4.14.98 #0
Feb 10 21:04:59 thorgal kernel: [ 6304.400742] Workqueue: events rht_deferred_worker
Feb 10 21:04:59 thorgal kernel: [ 6304.410088] Stack : 8053ac44 8fc15d24 805b0000 8e9f3280 8053acd8 00000003 805b6440 805ae0ac
Feb 10 21:04:59 thorgal kernel: [ 6304.426716]         000000e0 800705fc 8ff0af3c 805b0947 805b0000 00000001 8fc15ce8 53261683
Feb 10 21:04:59 thorgal kernel: [ 6304.443343]         00000000 00000000 00000000 00003c40 00000000 000000dd 00000008 00000000
Feb 10 21:04:59 thorgal kernel: [ 6304.459969]         00000000 805b0000 00061d66 00000000 00000000 00000000 805d0000 00000003
Feb 10 21:04:59 thorgal kernel: [ 6304.476595]         805b6440 805ae0ac 000000e0 805b0000 00000000 802a4378 0000000c 8061000c
Feb 10 21:04:59 thorgal kernel: [ 6304.493222]         ...
Feb 10 21:04:59 thorgal kernel: [ 6304.498076] Call Trace:
Feb 10 21:04:59 thorgal kernel: [ 6304.502943] [<800106c0>] show_stack+0x58/0x100
Feb 10 21:04:59 thorgal kernel: [ 6304.511777] [<80478bfc>] dump_stack+0x9c/0xe0
Feb 10 21:04:59 thorgal kernel: [ 6304.520447] [<8047fa94>] nmi_cpu_backtrace+0xe4/0x108
Feb 10 21:04:59 thorgal kernel: [ 6304.530488] [<8047fb80>] nmi_trigger_cpumask_backtrace+0xc8/0x168
Feb 10 21:04:59 thorgal kernel: [ 6304.542606] [<80084dd8>] rcu_dump_cpu_stacks+0xc4/0x13c
Feb 10 21:04:59 thorgal kernel: [ 6304.552993] [<80084228>] rcu_check_callbacks+0x3b4/0x8b8
Feb 10 21:04:59 thorgal kernel: [ 6304.563560] [<800877a8>] update_process_times+0x34/0x7c
Feb 10 21:04:59 thorgal kernel: [ 6304.573963] [<8009838c>] tick_handle_periodic+0x34/0xd0
Feb 10 21:04:59 thorgal kernel: [ 6304.584364] [<803275e0>] gic_compare_interrupt+0x70/0x80
Feb 10 21:04:59 thorgal kernel: [ 6304.594930] [<80077ba0>] handle_percpu_devid_irq+0xbc/0x1a8
Feb 10 21:04:59 thorgal kernel: [ 6304.606024] [<80071ef0>] generic_handle_irq+0x40/0x58
Feb 10 21:04:59 thorgal kernel: [ 6304.616071] [<8025339c>] gic_handle_local_int+0x9c/0xe8
Feb 10 21:04:59 thorgal kernel: [ 6304.626458] [<8025355c>] gic_irq_dispatch+0x10/0x20
Feb 10 21:04:59 thorgal kernel: [ 6304.636153] [<80071ef0>] generic_handle_irq+0x40/0x58
Feb 10 21:04:59 thorgal kernel: [ 6304.646199] [<80495fcc>] do_IRQ+0x1c/0x2c
Feb 10 21:04:59 thorgal kernel: [ 6304.654166] [<8025252c>] plat_irq_dispatch+0xfc/0x138
Feb 10 21:04:59 thorgal kernel: [ 6304.664209] [<8000b5e8>] except_vec_vi_end+0xb8/0xc4
Feb 10 21:04:59 thorgal kernel: [ 6304.674076] [<8006a94c>] queued_spin_lock_slowpath+0x1dc/0x2e0
Feb 10 21:04:59 thorgal kernel: [ 6304.685677] [<802386ac>] rht_deferred_worker+0x20c/0x4f0
Feb 10 21:04:59 thorgal kernel: [ 6304.696236] [<80046230>] process_one_work+0x258/0x400
Feb 10 21:04:59 thorgal kernel: [ 6304.706276] [<80046728>] worker_thread+0x350/0x5b4
Feb 10 21:04:59 thorgal kernel: [ 6304.715806] [<8004c1b8>] kthread+0x130/0x144
Feb 10 21:04:59 thorgal kernel: [ 6304.724291] [<8000b0d8>] ret_from_kernel_thread+0x14/0x1c
12.02.20192123KernelBug ReportVery LowCriticalmac80211: 802.11s TCP/IP Connectivity Fails After 2018-...TrunkUnconfirmed Task Description

802.11s mesh appears to not transport TCP/IP even though the mesh
appears up, for commits on master after late September, 2018.

(Steps to replicate at the end of this message)

The output of `iw dev mesh0 station dump` yields similar results for
working and non-working builds, though it has been confirmed after
the posting to the openwrt-devel list (archive link attached) that
“mesh peer PS mode” never seems to be “ACTIVE”
on builds after “first failing commit” (identified below).

    mesh plink:    ESTAB
    mesh local PS mode:    ACTIVE
    mesh peer PS mode:    UNKNOWN
    mesh non-peer PS mode:    ACTIVE
    authorized:    yes
    authenticated:    yes
    associated:    yes

ping to the peer(s) prior to the first failing commit is successful and
the peer is reflected in the arp table. Full connectivity can be
established over the mesh to peers with UDP or TCP transport.

Both ping and arp fail to behave as expected on or after the first
failing commit.

The routing is the same for both builds.

Behavior seen on both Archer C7 v2 (QCA9880-BR4A v2)
and a GL.iNet AR750S (QCA9887), both on ath79 target (AR750S is WIP)

Confirmed that the newer (newest?) firmware (ver 10.2.4-1.0-00041)
works on the “old” build.

Lack of TCP/IP transport over the mesh confirmed both with 802.11s
integral routing, as well with 802.11s routing disabled and replaced
with batman-adv. Configuration using both 802.11s routing and
batman-adv on distinct meshes on the same radios has been running
successfully with four or five Archer C7 v2 units for both backhaul
over the 5 GHz mesh, as well as client access on 5 GHz. (Not tested
on 2.4 GHz on either the Archer C7 or the AR750S.)

git bisect was used to identify the “first failing commit”:

commit db90c243a0b9bd72fc691cd09e58a96ac2a452cf
Author: Hauke Mehrtens <redacted>
Date:   Sun Sep 23 18:02:35 2018 +0200

    mac80211: update to version based on 4.19-rc4

Note that the Candela Technologies drivers do not appear to support
mesh on either chipset.

Additional notes at
https://forum.openwrt.org/t/mac80211-802-11s-tcp-ip-connectivity-on-master-failing-after-2018-09/30629

Thanks to @slh and Koen for hopping on thing there!

To Replicate:

=⇒ Pick your target of choice

$ ./scripts/diffconfig.sh
CONFIG_TARGET_ath79=y
CONFIG_TARGET_ath79_generic=y
CONFIG_TARGET_ath79_generic_DEVICE_glinet_gl-ar750s-nor=y
CONFIG_DEVEL=y
CONFIG_ATH10K_LEDS=y
CONFIG_BUILD_LOG=y
CONFIG_CCACHE=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_ath10k-firmware-qca9887=y
# CONFIG_PACKAGE_ath10k-firmware-qca9887-ct is not set
CONFIG_PACKAGE_diffutils=y
CONFIG_PACKAGE_findutils-find=y
CONFIG_PACKAGE_kmod-ath10k=y
# CONFIG_PACKAGE_kmod-ath10k-ct is not set
# CONFIG_PACKAGE_kmod-hwmon-core is not set
CONFIG_PACKAGE_less=y
CONFIG_PACKAGE_libncurses=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_terminfo=y
# CONFIG_PACKAGE_wpad-basic is not set
CONFIG_PACKAGE_wpad-mesh-openssl=y

=⇒ Add to `/etc/config/network`

config interface 'nwi_mesh0'
    option ifname 'mesh0'
    option mtu '2304'
    option proto 'static'
    option ipaddr '172.16.0.NNN'
    option netmask '255.255.255.0'

=⇒ Add to / replace in `/etc/config/wireless`

  • Please confirm a valid channel for your location
  • Adjust the device path/reference as needed
  • ‘n’ used for support of older iPhones here
config wifi-device 'radio5'
    option type 'mac80211'
    option channel '149'
    option hwmode '11a'
    option path 'pci0000:00/0000:00:00.0'
    option htmode 'VHT80'
        option require_mode 'n'

config wifi-iface 'mesh0'
    option device 'radio5'
    option ifname 'mesh0'
    option network 'nwi_mesh0'
    option mode 'mesh'
    option mesh_id 'TestMesh'
    option mesh_fwding '1'
    option encryption 'psk2+ccmp'
    option key 'TestMeshPassPhrase'

=⇒ Flash and configure additional unit(s), changing the last octet
of the nwi_mesh0 interface address.

=⇒ Note that the mesh appears established from the output of
`iw dev mesh0 station dump`

=⇒ Note that the one unit can’t ping the other’s nwi_mesh0 address
when building on or after “first bad commit” but ping (arp and ip
neigh) will work as expected prior to that commit.


19.02.20192133KernelBug ReportVery LowCriticallan rx performance on IPQ806X (R7800) AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on R7800
- Software versions of OpenWrt 18.06/Trunk

Firstly ,I found my ps4 download speed only 100mbps,so I’ve run iperf3
The lan rx work in problem ,tx works no problem.
One pair rx only 18mbps ten pair rx only 100mbps but tx can run in 1gbps.

So I change to offical 18.06.2 banch,rx is 400mbps ,tx is 1Gbps. Still in problem.
After I compile trunk banch ,it also WIP as 18.06 banch.

This problem also mentioned in FS#1598

22.02.20192140KernelBug ReportVery LowCriticalKernel hang when replace older uboot with uboot 2019 fo...TrunkUnconfirmed Task Description

Below is the log:

U-Boot 2019.01-00079-g3420a6fc6e-dirty (Feb 19 2019 - 17:19:16 +0800)

Qualcomm Atheros QCA9561 ver 1 rev 0
Model: AP152 Reference Board
DRAM:  128 MiB
Loading Environment from SPI Flash... SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB, mapped at 9f000000
*** Warning - bad CRC, using default environment

In:    uart@18020000
Out:   uart@18020000
Err:   uart@18020000
Net:   
Warning: eth@0x19000000 (eth0) using random MAC address - 56:87:3c:61:9b:50
eth0: eth@0x19000000
Hit any key to stop autoboot:  0 
ap152 # bootm 0x1f060000
## Booting kernel from Legacy Image at 1f060000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.101
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1615030 Bytes = 1.5 MiB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
[    0.000000] Linux version 4.14.101 (xxx@xxx-PC) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r8997-488af51f81)) #0 Mon Feb 18 15:11:32 2019
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is ROSINSON WR818
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    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: 123184K/131072K available (3777K kernel code, 150K rwdata, 912K rodata, 1232K init, 204K bss, 7888K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008841] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.075897] pid_max: default: 32768 minimum: 301
[    0.081292] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.088805] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100195] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.111385] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.118370] pinctrl core: initialized pinctrl subsystem
[    0.125117] NET: Registered protocol family 16
[    0.152720] clocksource: Switched to clocksource MIPS
[    0.159331] NET: Registered protocol family 2
[    0.164932] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.172894] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.180116] TCP: Hash tables configured (established 1024 bind 1024)
[    0.187461] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.194136] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.201461] NET: Registered protocol family 1
[    0.209168] Crashlog allocated RAM at address 0x3f00000
[    0.216385] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.227688] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.234346] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.253234] io scheduler noop registered
[    0.257682] io scheduler deadline registered (default)
[    0.263810] ar7200-usb-phy usb-phy: phy reset is missing
[    0.271331] pinctrl-single 1804002c.pinmux: 544 pins at pa b804002c size 68
[    0.280201] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.288040] console [ttyS0] disabled
[    0.292122] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 8, base_baud = 1562500) is a 16550A
[    0.301943] console [ttyS0] enabled
[    0.301943] console [ttyS0] enabled
[    0.309500] bootconsole [early0] disabled
[    0.309500] bootconsole [early0] disabled
[    0.332542] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.337492] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.344060] Creating 5 MTD partitions on "spi0.0":
[    0.349014] 0x000000000000-0x000000040000 : "u-boot"
[    0.354834] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.360944] 0x000000050000-0x000000060000 : "factory"
[    0.366831] 0x000000060000-0x000000fe0000 : "firmware"
[    0.374973] 2 uimage-fw partitions found on MTD device firmware
[    0.381090] Creating 2 MTD partitions on "firmware":
[    0.386258] 0x000000000000-0x000000190000 : "kernel"
[    0.392027] 0x000000190000-0x000000f80000 : "rootfs"
[    0.397783] mtd: device 5 (rootfs) set to be root filesystem
[    0.403703] 1 squashfs-split partitions found on MTD device rootfs
[    0.410095] 0x000000440000-0x000000f80000 : "rootfs_data"
[    0.416295] 0x000000ff0000-0x000001000000 : "art"
[    0.422691] libphy: Fixed MDIO Bus: probed
[    0.763078] libphy: ag71xx_mdio: probed
[    0.770036] switch0: Atheros AR8337 rev. 2 switch registered on mdio-bus.0
[    1.424526] ag71xx 19000000.eth: invalid MAC address, using random address
[    1.763882] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.775479] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII
[    1.783515] NET: Registered protocol family 10
[    1.791439] Segment Routing with IPv6
[    1.795358] NET: Registered protocol family 17
[    1.799984] 8021q: 802.1Q VLAN Support v1.8
[    1.810014] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.824049] Freeing unused kernel memory: 1232K
[    1.828729] This architecture does not have kernel memory protection.

By the way, for the ath79 target(linux-4.14) after I enable CONFIG_MIPS32R2_IRQ_VI options, it works fine.
But still hang in ar71xx(linux-4.9.158).

25.02.20192145Base systemBug ReportVery LowCriticalNo IPv4 adresses offered on LAN of GL-AR150 if no LAN c...openwrt-18.06Unconfirmed Task Description

This is 100 % reproducible with a fresh and unchanged installation of OpenWRT 18.06.2 on a GL-Inet GL-AR150, and it gave me quite some headache until I found out what’s happening here:

If a LAN cable is plugged during the device’s boot process and one does a DHCP request when it’s ready, the router offers an IPv4 address (as expected) and one can access it on 192.168.1.1. This is also the case for a DHCP request via WLAN, as soon as one does enable it.

If however the device is powered up without a LAN cable being plugged, no IPv4 address will be offered, neither for a LAN nor for a WLAN connection. One can connect to the router via the IPv6 address to be found in /etc/resov.conf (on the client) though, but not via IPv4. This is also the case if a LAN cable is plugged after booting.

Looking at /var/etc/dnsmasq.conf.cfg01411c, it does contain the line

  dhcp-range=set:lan,192.168.1.100,192.168.1.249,255.255.255.0,12h

if a LAN cable has been plugged during bootup, and no such entry if none has been plugged.

This makes the device completely unusable for what I intend to use it ... as this happens with a completely unaltered, fresh installation, I suppose this is no misconfiguration but a bug?

06.03.20192168KernelBug ReportVery LowCriticalSwitch no longer work after restart on Linksys EA8500AllUnconfirmed Task Description

Got error when I try to post with all followings, so I have to post the task first then supply those information below.

There is a problem with the EA8500, the switch will not work after soft reboot, the only way to get it work is power cycle it manually, tested on 18.06.2 and latest source code.

There is already a topic for this https://forum.openwrt.org/t/ea8500-reboot-fails-only-with-power-switch-on-off-successful/18234

I will copy what I replied to the topic to this issue.

have the same issue, looks like something not reset properly, or clock not initialize properly.

on successful boot it will show
[ ] libphy: GPIO Bitbanged MDIO: probed
[ ] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[ ] ar8327: qca,phy-rgmii-en is not specified

after soft reboot it will become
[ ] libphy: GPIO Bitbanged MDIO: probed
[ ] mdio_bus gpio-0: MDIO device at address 0 is missing.
[ ] mdio_bus gpio-0: MDIO device at address 4 is missing.

after reading code and google, found following information
the switch reset pin is connect to gpio63, tried manually reset by control gpio via /sys, dose see the port light off then on, reset dose work, but after restart network service still no switch.
then read boot log, there is error for initialize dma for ipq806x-gmac-dwmac 37200000.ethernet, then go to the actual code change it to print more information, found the dma reset bit will never clear.

I don’t think this is a switch related issue, it should be a soc driver issue, either mdio bus or eth driver, personally I think it is the clock for mdio bus.

Did another test, flashed the official FW in Openwrt, then auto reboot, the official FW cannot working properly for the same reason, cannot find the switch.
After power cycle official FW working properly, and I can soft restart by issue a reboot cmd in serial port, after reboot everything still works.
Therefore there must be something got disabled during Openwrt shutdown process that should not be disabled.

Success boot log (on cold boot / manual power cycle)
success_log.txt

Fail boot log (on restart / reboot)
fail_log.txt

Fail boot log (sysupgrade -v -n -F flashed official FW then auto reboot)
fail_boot_linksys_fw.txt

23.03.20192202Base systemBug ReportVery LowCriticalbrcm63xx: Hg556a: kernel boot stuck at "random: crng in...TrunkUnconfirmed Task Description

The kernel 4.14.107 is unable to boot on the Hg556a (BCM6358).

Steps to reproduce:

  Intall the latest trunk version kernel 4.14.107

Sympthoms:

  No Boot
  It stucks at “random: fast init done”, and apparently no more kernel messages
  But after a minute it spits the last message random: crng init done

Boot Log:

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80A00000, Entry Address: 0x80a00000
Decompression OK!
Entry at 0x80a00000
Closing network.
Starting program at 0x80a00000
[    0.000000] Linux version 4.14.107 (hg556a@localhost.localdomain) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r9015-34696ce25e)) #0 Thu Mar 10 15:47:43 2019
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: d081.5003
[    0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33313330, got 3c502ae7)
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board: board name: HW556_B
[    0.000000] MIPS: machine is Huawei EchoLife HG556a (version B)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    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] random: get_random_bytes called from start_kernel+0x80/0x488 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: rootfstype=squashfs,jffs2 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] Memory: 54392K/65536K available (6369K kernel code, 343K rwdata, 2132K rodata, 1324K init, 256K bss, 11144K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000026] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[    1.034043] random: fast init done
[   53.820705] random: crng init done


05.10.2016205Base systemBug ReportVery LowHighCannot install LEDE on Ubiquiti PicoStation M2TrunkNew Task Description

This is the same as issue 20982 on dev.openwrt.org

Using the nightly build of LEDE and installing on a Ubiquiti PicoStation M2 (Ar7xxx, XM hardware rev, AirOS 5.6.3), got the following error:

sent DATA <block=6657, 412 bytes>
received ERROR <code=2, msg=Firmware check failed>
Error code 2: Firmware check failed
Sent 3407872 bytes in 6.6 seconds

The only work-around I have found works consistently is to:

Flash from recovery (tftp) the AirOS 5.6 image,
Downgrade to AirOS 5.5, then
Flash LEDE (or OpenWRT).

This same error seems to occur on the Bullet M2 (same hardware) and the NanoStation LOCO M2.

The severity is high - it can be worked around, but it prevents installation without significant work-arounds. I view this as a high-priority bug, because the Ubiquiti hardware is popular and the problem has been fixed in AirOS and DD-WRT.

27.10.2016253Base systemBug ReportVery LowHighMulticast over wireless ceases to work properly after a...AllNew Task Description

I am having a problem on a UBNT UAP-LR where, if many clients stay connected the router for a long time, multicast packets will stop being reliably sent to the wireless clients. I can reproduce this with LEDE r1953, but it goes back at least as far as OpenWRT 15.05.1 with kernel 3.18. I can not, however, reproduce it on another network with the same WAP but with only one or two wireless clients.

This originally manifested as IPv6 ceasing to work since the (multicasted) RA packets were not reaching the wireless clients. I used tcpdump on the WAP and determined that the RAs were arriving through the wired interface and leaving through the wireless interface as they should, but tcpdump on the client indicates that a vast majority of the RAs are never received. (Please note that the IPv6 issue is not reproducible with the router running OpenWRT/LEDE and odhcpd, since odhcpd unicasts RAs sent as a response to an RS instead of multicasting them, while it is reproducible when the router is running radvd, for example as pfSense does.)

21.11.2016295KernelBug ReportVery LowHighath10k_pci 0001:01:00.0: SWBA overrun on vdevTrunkUnconfirmed Task Description

Supply the following if possible:

- TP-LINK c2600 v1.1
- LEDE Reboot r2244
- after some hours, the network device produce the below stacktrace.

[61789.980553] ————[ cut here ]———— [61789.980600] WARNING: CPU: 0 PID: 3 at net/core/dev.c:4837 net_rx_action+0×154/0x2e4()
[61789.984240] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id 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_DSCP xt_CT xt_CLASSIFY ts_kmp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt br_netfilter em_cmp sch_teql em_nbyte sch_htb sch_pie sch_gred sch_dsmark cls_basic act_ipt sch_prio em_text
[61790.061568] sch_codel sch_tbf sch_sfq em_meta act_police sch_fq sch_red act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ath10k_pci ath10k_core ath mac80211 cfg80211 compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ifb ip6_tunnel tunnel6 tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore
[61790.130320] usb_storage uhci_hcd f2fs ext4 jbd2 mbcache crc32c_generic crypto_hash leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform ehci_hcd sd_mod ahci_platform libahci_platform libahci libata scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[61790.158798] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.4.30 #0
[61790.159062] Hardware name: Qualcomm (Flattened Device Tree)
[61790.165160] [<c02207f4>] (unwind_backtrace) from [<c021d2e4>] (show_stack+0×14/0×20)
[61790.170534] [<c021d2e4>] (show_stack) from [<c03b82a4>] (dump_stack+0x8c/0xa0)
[61790.178521] [<c03b82a4>] (dump_stack) from [<c0228aec>] (warn_slowpath_common+0xa4/0xd0)
[61790.185550] [<c0228aec>] (warn_slowpath_common) from [<c0228bcc>] (warn_slowpath_null+0x1c/0×24)
[61790.193798] [<c0228bcc>] (warn_slowpath_null) from [<c050bcd0>] (net_rx_action+0×154/0x2e4)
[61790.202568] [<c050bcd0>] (net_rx_action) from [<c022bc90>] (do_softirq+0xdc/0×230)
[61790.210636] [<c022bc90>] (
do_softirq) from [<c022be18>] (run_ksoftirqd+0×34/0×64)
[61790.218626] [<c022be18>] (run_ksoftirqd) from [<c0246784>] (smpboot_thread_fn+0×190/0x1b8)
[61790.226006] [<c0246784>] (smpboot_thread_fn) from [<c02438e4>] (kthread+0xf8/0×100)
[61790.234335] [<c02438e4>] (kthread) from [<c0209cb8>] (ret_from_fork+0×14/0x3c)
[61790.241951] —[ end trace bbf62e8dea16c714 ]— [61790.250226] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 1, skipped old beacon

21.11.2016296Base systemBug ReportVery LowHighUbiquiti Bullet M 10/100 ethernet interface comes up as...TrunkUnconfirmed Task Description

For the last month or so, and persisting in r2248, when a Ubiquiti Bullet M is booted through typical Ubiquiti 10/100 passive PoE injector, the interface appears to come up in gigabit mode (see timestamp 18.990274 below), despite being only a 10/100 Mbps interface. Restarting /etc/init.d/network fixes it. I am running batman-adv over the ethernet interface, which may be involved. I will check if it happens when batman-adv is not used on the interface and report in a followup comment.

The dmesg look like this:

[    0.000000] Linux version 4.4.32 (openwrt@hawg) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1439) ) #0 Mon Nov 21 07:14:51 2016
[    0.000000] MyLoader: sysp=00030800, boardp=088201a0, parts=fdeffeff
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80412320, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    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] 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: 8128
[    0.000000] Kernel command line:  board=UBNT-BM mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27616K/32768K available (2990K kernel code, 174K rwdata, 756K rodata, 296K init, 198K bss, 5152K 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:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns
[    0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns
[    0.007858] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[    0.080537] pid_max: default: 32768 minimum: 301
[    0.085319] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091915] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102739] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113516] NET: Registered protocol family 16
[    0.120053] MIPS: machine is Ubiquiti Bullet M
[    0.126714] registering PCI controller with io_map_base unset
[    0.357171] PCI host bridge to bus 0000:00
[    0.361273] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.368174] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.373719] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.380486] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.388422] pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
[    0.388466] pci 0000:00:00.0: fixup device configuration
[    0.395018] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.395154] pci 0000:00:00.0: supports D1
[    0.395179] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.395521] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.395573] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.402864] pci 0000:00:00.0: using irq 40 for pin 1
[    0.408959] clocksource: Switched to clocksource MIPS
[    0.415845] NET: Registered protocol family 2
[    0.421435] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.428393] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.434796] TCP: Hash tables configured (established 1024 bind 1024)
[    0.441291] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.447126] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.453786] NET: Registered protocol family 1
[    0.458221] PCI: CLS 0 bytes, default 32
[    0.464223] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.470512] Crashlog allocated RAM at address 0x1f00000
[    0.495166] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.501050] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.514332] io scheduler noop registered
[    0.518252] io scheduler deadline registered (default)
[    0.523724] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.530709] console [ttyS0] disabled
[    0.554342] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12187500) is a 16550A
[    0.563020] console [ttyS0] enabled
[    0.570030] bootconsole [early0] disabled
[    0.582486] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.588201] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.593207] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.599160] Creating 5 MTD partitions on "spi0.0":
[    0.603978] 0x000000000000-0x000000040000 : "u-boot"
[    0.611975] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.619659] 0x000000050000-0x0000007b0000 : "firmware"
[    0.638850] 2 uimage-fw partitions found on MTD device firmware
[    0.644866] 0x000000050000-0x0000001a0000 : "kernel"
[    0.651748] 0x0000001a0000-0x0000007b0000 : "rootfs"
[    0.658927] mtd: device 4 (rootfs) set to be root filesystem
[    0.664753] 1 squashfs-split partitions found on MTD device rootfs
[    0.671002] 0x000000550000-0x0000007b0000 : "rootfs_data"
[    0.678725] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.685799] 0x0000007f0000-0x000000800000 : "EEPROM"
[    0.713743] libphy: ag71xx_mdio: probed
[    1.302694] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    1.312905] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.322158] NET: Registered protocol family 10
[    1.332118] NET: Registered protocol family 17
[    1.336691] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.349583] 8021q: 802.1Q VLAN Support v1.8
[    1.362372] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.372025] Freeing unused kernel memory: 296K (80436000 - 80480000)
[    2.887723] init: Console is alive
[    2.891524] init: - watchdog -
[    4.278153] usbcore: registered new interface driver usbfs
[    4.283867] usbcore: registered new interface driver hub
[    4.289377] usbcore: registered new device driver usb
[    4.301662] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.310384] ehci-platform: EHCI generic platform driver
[    4.319460] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.327414] ohci-platform: OHCI generic platform driver
[    4.336259] init: - preinit -
[    5.148878] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.181862] random: procd: uninitialized urandom read (4 bytes read, 8 bits of entropy available)
[    7.440590] eth0: link up (100Mbps/Full duplex)
[    7.445184] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.484066] jffs2: notice: (361) 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.501955] mount_root: switching to jffs2 overlay
[    8.517794] urandom-seed: Seeding with /etc/urandom.seed
[    8.794632] eth0: link down
[    8.814035] procd: - early -
[    8.817063] procd: - watchdog -
[    9.492101] procd: - ubus -
[    9.545805] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.555498] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.564637] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.574254] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.583375] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.593373] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[    9.602738] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[    9.612394] procd: - init -
[   10.066368] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   10.074041] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   10.125220] batman_adv: B.A.T.M.A.N. advanced 2016.4 (compatibility version 15) loaded
[   10.213939] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.224958] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   10.233630] ath: EEPROM regdomain: 0x0
[   10.233647] ath: EEPROM indicates default country code should be used
[   10.233661] ath: doing EEPROM country->regdmn map search
[   10.233689] ath: country maps to regdmn code: 0x3a
[   10.233705] ath: Country alpha2 being used: US
[   10.233718] ath: Regpair used: 0x3a
[   10.248634] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.257391] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[   11.870351] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.001559] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   18.855427] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.875510] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[   18.990274] eth0: link up (1000Mbps/Full duplex)
[   18.994964] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   19.330349] batman_adv: bat0: Adding interface: eth0
[   19.335365] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[   19.359419] batman_adv: bat0: Interface activated: eth0
[   19.367077] 8021q: adding VLAN 0 to HW filter on device bat0
[   19.406417] device bat0 entered promiscuous mode
[   19.411309] br-pub: port 1(bat0) entered forwarding state
[   19.416772] br-pub: port 1(bat0) entered forwarding state
[   19.422579] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[   19.870508] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[   20.359133] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[   20.367269] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[   21.412169] br-pub: port 1(bat0) entered forwarding state
[   21.549966] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   21.563679] device wlan0 entered promiscuous mode
[   21.591315] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   21.597879] br-pub: port 2(wlan0) entered forwarding state
[   21.603541] br-pub: port 2(wlan0) entered forwarding state
[   21.784924] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[   21.912131] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[   22.268273] batman_adv: bat0: Adding interface: mesh0
[   22.273432] batman_adv: bat0: Interface activated: mesh0
[   23.599046] br-pub: port 2(wlan0) entered forwarding state
[   29.369162] batman_adv: bat0: IGMP Querier appeared
[   29.374093] batman_adv: bat0: MLD Querier appeared
[   34.068975] ------------[ cut here ]------------
[   34.073700] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:306 dev_watchdog+0x1dc/0x260()
[   34.082197] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
[   34.088754] Modules linked in: ath9k ath9k_common mac80211 ath9k_hw ath batman_adv libcrc32c cfg80211 compat ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common crc16
 cryptomgr aead crypto_null crc32c_generic crypto_hash
[   34.112252] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.32 #0
[   34.118013] Stack : 803c8fc4 00000000 00000001 80420000 80413038 80412cc3 803aa67c 00000000
[   34.118013] 	  8048379c 8041135c 00000200 00100000 0000000a 800a71a8 803afce8 80410000
[   34.118013] 	  00000003 8041135c 803ae0f4 8040dc2c 0000000a 800a5124 00000006 00000000
[   34.118013] 	  00000000 801f3100 00000000 00000000 00000000 00000000 00000000 00000000
[   34.118013] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   34.118013] 	  ...
[   34.153969] Call Trace:
[   34.156440] [<80071af0>] show_stack+0x50/0x84
[   34.160843] [<80081870>] warn_slowpath_common+0xa0/0xd0
[   34.166096] [<800818cc>] warn_slowpath_fmt+0x2c/0x38
[   34.171111] [<80290970>] dev_watchdog+0x1dc/0x260
[   34.175854] [<800b0460>] call_timer_fn.isra.5+0x24/0x80
[   34.181125] [<800b06e4>] run_timer_softirq+0x1b4/0x1fc
[   34.186296] [<80083dec>] __do_softirq+0x250/0x298
[   34.191059] [<8006a5d0>] plat_irq_dispatch+0xd4/0x10c
[   34.196134] [<80060830>] ret_from_irq+0x0/0x4
[   34.200526] [<80060a80>] __r4k_wait+0x20/0x40
[   34.204906] [<800a2304>] cpu_startup_entry+0x9c/0xe8
[   34.209934] [<80436bd4>] start_kernel+0x470/0x490
[   34.214656] 
[   34.216159] ---[ end trace ef06a4b3ec78272a ]---
[   34.220810] eth0: tx timeout
[   37.565193] random: nonblocking pool is initialized
[   44.068999] eth0: tx timeout
[   54.069064] eth0: tx timeout
[   64.068993] eth0: tx timeout
[   74.069871] eth0: tx timeout
[   82.660973] batman_adv: bat0: MLD Querier disappeared - multicast optimizations disabled
[   84.070901] eth0: tx timeout
[   92.701961] batman_adv: bat0: MLD Querier appeared
[   94.071717] eth0: tx timeout
[  104.072355] eth0: tx timeout
[  114.072669] eth0: tx timeout
[...]

When I do an /etc/init.d/network restart, the interface recovers to normal function, and I get this in dmesg:

[ 1296.763793] br-pub: port 2(wlan0) entered disabled state
[ 1296.769232] br-pub: port 1(bat0) entered disabled state
[ 1296.808305] device bat0 left promiscuous mode
[ 1296.812986] br-pub: port 1(bat0) entered disabled state
[ 1296.862085] IPv6: ADDRCONF(NETDEV_UP): bat0: link is not ready
[ 1296.879239] device wlan0 left promiscuous mode
[ 1296.883945] br-pub: port 2(wlan0) entered disabled state
[ 1296.904196] batman_adv: bat0: Interface deactivated: mesh0
[ 1296.909752] batman_adv: bat0: Removing interface: mesh0
[ 1296.963462] batman_adv: bat0: Interface deactivated: eth0
[ 1296.993492] eth0: link down
[ 1296.998705] batman_adv: bat0: Removing interface: eth0
[ 1301.629484] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1301.649941] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[ 1301.985100] eth0: link up (100Mbps/Full duplex)
[ 1301.989698] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1302.191373] batman_adv: bat0: Adding interface: eth0
[ 1302.196453] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[ 1302.220488] batman_adv: bat0: Interface activated: eth0
[ 1302.228092] 8021q: adding VLAN 0 to HW filter on device bat0
[ 1302.275944] device bat0 entered promiscuous mode
[ 1302.280747] br-pub: port 1(bat0) entered forwarding state
[ 1302.286292] br-pub: port 1(bat0) entered forwarding state
[ 1302.292106] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[ 1302.590333] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[ 1303.213417] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[ 1303.221556] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[ 1304.283452] br-pub: port 1(bat0) entered forwarding state
[ 1304.672382] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1304.782643] device wlan0 entered promiscuous mode
[ 1304.827845] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1304.834479] br-pub: port 2(wlan0) entered forwarding state
[ 1304.840053] br-pub: port 2(wlan0) entered forwarding state
[ 1305.112607] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[ 1305.190600] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[ 1305.692918] batman_adv: bat0: Adding interface: mesh0
[ 1305.698080] batman_adv: bat0: Interface activated: mesh0
[ 1306.833410] br-pub: port 2(wlan0) entered forwarding state
[ 1312.303688] batman_adv: bat0: IGMP Querier appeared
[ 1312.308629] batman_adv: bat0: MLD Querier appeared

If I disconnect the other end of the ethernet cable so that there is no link peer, I do not see the problem (see below):

[    0.000000] Linux version 4.4.32 (openwrt@hawg) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1439) ) #0 Mon Nov 21 07:14:51 2016
[    0.000000] MyLoader: sysp=00000000, boardp=00000000, parts=ffffffff
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80412320, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    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] 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: 8128
[    0.000000] Kernel command line:  board=UBNT-BM mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27616K/32768K available (2990K kernel code, 174K rwdata, 756K rodata, 296K init, 198K bss, 5152K 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:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns
[    0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns
[    0.007859] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[    0.080537] pid_max: default: 32768 minimum: 301
[    0.085319] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091915] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102743] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113517] NET: Registered protocol family 16
[    0.120061] MIPS: machine is Ubiquiti Bullet M
[    0.126721] registering PCI controller with io_map_base unset
[    0.357179] PCI host bridge to bus 0000:00
[    0.361281] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.368182] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.373728] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.380495] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.388431] pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
[    0.388474] pci 0000:00:00.0: fixup device configuration
[    0.395026] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.395163] pci 0000:00:00.0: supports D1
[    0.395187] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.395530] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.395581] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.402872] pci 0000:00:00.0: using irq 40 for pin 1
[    0.408968] clocksource: Switched to clocksource MIPS
[    0.415854] NET: Registered protocol family 2
[    0.421444] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.428402] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.434805] TCP: Hash tables configured (established 1024 bind 1024)
[    0.441299] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.447134] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.453795] NET: Registered protocol family 1
[    0.458229] PCI: CLS 0 bytes, default 32
[    0.464231] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.470521] Crashlog allocated RAM at address 0x1f00000
[    0.495175] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.501058] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.514341] io scheduler noop registered
[    0.518261] io scheduler deadline registered (default)
[    0.523733] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.530718] console [ttyS0] disabled
[    0.554351] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12187500) is a 16550A
[    0.563030] console [ttyS0] enabled
[    0.570040] bootconsole [early0] disabled
[    0.582496] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.588212] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.593216] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.599171] Creating 5 MTD partitions on "spi0.0":
[    0.603989] 0x000000000000-0x000000040000 : "u-boot"
[    0.611984] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.619662] 0x000000050000-0x0000007b0000 : "firmware"
[    0.638852] 2 uimage-fw partitions found on MTD device firmware
[    0.644868] 0x000000050000-0x0000001a0000 : "kernel"
[    0.651750] 0x0000001a0000-0x0000007b0000 : "rootfs"
[    0.658926] mtd: device 4 (rootfs) set to be root filesystem
[    0.664753] 1 squashfs-split partitions found on MTD device rootfs
[    0.671004] 0x000000550000-0x0000007b0000 : "rootfs_data"
[    0.678725] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.685800] 0x0000007f0000-0x000000800000 : "EEPROM"
[    0.713752] libphy: ag71xx_mdio: probed
[    1.302703] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    1.312917] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.322177] NET: Registered protocol family 10
[    1.332146] NET: Registered protocol family 17
[    1.336720] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.349611] 8021q: 802.1Q VLAN Support v1.8
[    1.362390] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.372040] Freeing unused kernel memory: 296K (80436000 - 80480000)
[    2.887726] init: Console is alive
[    2.891520] init: - watchdog -
[    4.278086] usbcore: registered new interface driver usbfs
[    4.283799] usbcore: registered new interface driver hub
[    4.289318] usbcore: registered new device driver usb
[    4.301475] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.310215] ehci-platform: EHCI generic platform driver
[    4.319363] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.327317] ohci-platform: OHCI generic platform driver
[    4.336163] init: - preinit -
[    5.148612] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.181619] random: procd: uninitialized urandom read (4 bytes read, 8 bits of entropy available)
[    8.484735] jffs2: notice: (361) 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.502585] mount_root: switching to jffs2 overlay
[    8.518273] urandom-seed: Seeding with /etc/urandom.seed
[    8.810840] procd: - early -
[    8.813863] procd: - watchdog -
[    9.487850] procd: - ubus -
[    9.541721] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.551409] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.560553] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.570163] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.579297] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.589333] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.598611] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.608223] procd: - init -
[   10.064115] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   10.071796] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   10.122372] batman_adv: B.A.T.M.A.N. advanced 2016.4 (compatibility version 15) loaded
[   10.205329] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.216362] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   10.225034] ath: EEPROM regdomain: 0x0
[   10.225051] ath: EEPROM indicates default country code should be used
[   10.225065] ath: doing EEPROM country->regdmn map search
[   10.225093] ath: country maps to regdmn code: 0x3a
[   10.225109] ath: Country alpha2 being used: US
[   10.225122] ath: Regpair used: 0x3a
[   10.240049] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.248689] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[   11.861887] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   11.993063] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   18.833441] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.855566] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[   21.215610] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   21.255512] device wlan0 entered promiscuous mode
[   21.286637] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   21.293301] br-pub: port 1(wlan0) entered forwarding state
[   21.298864] br-pub: port 1(wlan0) entered forwarding state
[   21.335689] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[   21.541225] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[   21.594616] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[   22.284927] batman_adv: bat0: Adding interface: mesh0
[   22.290148] batman_adv: bat0: Interface activated: mesh0
[   22.297750] 8021q: adding VLAN 0 to HW filter on device bat0
[   22.362868] device bat0 entered promiscuous mode
[   22.367627] br-pub: port 2(bat0) entered forwarding state
[   22.373200] br-pub: port 2(bat0) entered forwarding state
[   22.718089] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[   23.289035] br-pub: port 1(wlan0) entered forwarding state
[   23.309325] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[   23.317459] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[   24.369054] br-pub: port 2(bat0) entered forwarding state
[   29.389161] batman_adv: bat0: IGMP Querier appeared
[   38.069058] random: nonblocking pool is initialized
[   44.920666] eth0: link up (100Mbps/Full duplex)
[   44.925732] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   45.001214] batman_adv: bat0: Adding interface: eth0
[   45.006233] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[   45.030291] batman_adv: bat0: Interface activated: eth0
[   50.459193] batman_adv: bat0: MLD Querier appeared
[   67.509156] batman_adv: bat0: MLD Querier disappeared - multicast optimizations disabled
[   77.549128] batman_adv: bat0: MLD Querier appeared

My LEDE diffconfig looks like this:

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_ubnt-bullet-m=y
CONFIG_DEVEL=y
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_ALFRED_NEEDS_lua=y
CONFIG_BUILD_LOG=y
CONFIG_BUSYBOX_CONFIG_MESG=y
CONFIG_BUSYBOX_CONFIG_PKILL=y
CONFIG_BUSYBOX_CONFIG_RDATE=y
# CONFIG_BUSYBOX_CONFIG_SHA256SUM is not set
CONFIG_KMOD_BATMAN_ADV_BATMAN_V=y
CONFIG_KMOD_BATMAN_ADV_BLA=y
CONFIG_KMOD_BATMAN_ADV_DAT=y
CONFIG_KMOD_BATMAN_ADV_DEBUGFS=y
CONFIG_KMOD_BATMAN_ADV_MCAST=y
CONFIG_LIBCURL_COOKIES=y
CONFIG_LIBCURL_FILE=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_NO_SMB="!"
CONFIG_LIBCURL_POLARSSL=y
CONFIG_LIBCURL_PROXY=y
CONFIG_OPENSSL_ENGINE_CRYPTO=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_ALFRED_BATHOSTS=y
CONFIG_PACKAGE_ALFRED_VIS=y
CONFIG_PACKAGE_alfred=y
CONFIG_PACKAGE_batctl=y
CONFIG_PACKAGE_bridge=y
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_diffutils=y
# CONFIG_PACKAGE_dnsmasq is not set
# CONFIG_PACKAGE_firewall is not set
CONFIG_PACKAGE_horst=y
CONFIG_PACKAGE_iftop=y
# CONFIG_PACKAGE_ip6tables is not set
CONFIG_PACKAGE_iperf3=y
# CONFIG_PACKAGE_iptables is not set
CONFIG_PACKAGE_kmod-batman-adv=y
CONFIG_PACKAGE_kmod-bridge=y
CONFIG_PACKAGE_kmod-crypto-aead=y
CONFIG_PACKAGE_kmod-crypto-crc32c=y
CONFIG_PACKAGE_kmod-crypto-hash=y
CONFIG_PACKAGE_kmod-crypto-manager=y
CONFIG_PACKAGE_kmod-crypto-null=y
CONFIG_PACKAGE_kmod-crypto-pcompress=y
# CONFIG_PACKAGE_kmod-ip6tables is not set
# CONFIG_PACKAGE_kmod-ipt-conntrack is not set
# CONFIG_PACKAGE_kmod-ipt-core is not set
# CONFIG_PACKAGE_kmod-ipt-nat is not set
# CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set
CONFIG_PACKAGE_kmod-lib-crc16=y
CONFIG_PACKAGE_kmod-lib-crc32c=y
CONFIG_PACKAGE_kmod-llc=y
# CONFIG_PACKAGE_kmod-nf-conntrack is not set
# CONFIG_PACKAGE_kmod-nf-conntrack6 is not set
# CONFIG_PACKAGE_kmod-nf-ipt is not set
# CONFIG_PACKAGE_kmod-nf-ipt6 is not set
# CONFIG_PACKAGE_kmod-nf-nat is not set
# CONFIG_PACKAGE_kmod-ppp is not set
CONFIG_PACKAGE_kmod-stp=y
CONFIG_PACKAGE_libcurl=y
# CONFIG_PACKAGE_libip4tc is not set
# CONFIG_PACKAGE_libip6tc is not set
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_libncursesw=y
CONFIG_PACKAGE_libnetsnmp=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_libpcap=y
CONFIG_PACKAGE_libpcre=y
CONFIG_PACKAGE_libpolarssl=y
CONFIG_PACKAGE_libpopt=y
CONFIG_PACKAGE_libpthread=y
CONFIG_PACKAGE_librt=y
# CONFIG_PACKAGE_libxtables is not set
CONFIG_PACKAGE_lua=y
# CONFIG_PACKAGE_odhcp6c is not set
# CONFIG_PACKAGE_odhcpd is not set
# CONFIG_PACKAGE_ppp is not set
CONFIG_PACKAGE_procps-ng=y
CONFIG_PACKAGE_procps-ng-free=y
CONFIG_PACKAGE_procps-ng-kill=y
CONFIG_PACKAGE_procps-ng-pgrep=y
CONFIG_PACKAGE_procps-ng-pkill=y
CONFIG_PACKAGE_procps-ng-pmap=y
CONFIG_PACKAGE_procps-ng-ps=y
CONFIG_PACKAGE_procps-ng-pwdx=y
CONFIG_PACKAGE_procps-ng-skill=y
CONFIG_PACKAGE_procps-ng-slabtop=y
CONFIG_PACKAGE_procps-ng-snice=y
CONFIG_PACKAGE_procps-ng-tload=y
CONFIG_PACKAGE_procps-ng-top=y
CONFIG_PACKAGE_procps-ng-uptime=y
CONFIG_PACKAGE_procps-ng-vmstat=y
CONFIG_PACKAGE_procps-ng-w=y
CONFIG_PACKAGE_procps-ng-watch=y
CONFIG_PACKAGE_ptp-utils=y
CONFIG_PACKAGE_rsync=y
CONFIG_PACKAGE_snmpd=y
CONFIG_PACKAGE_tcpdump=y
CONFIG_PACKAGE_terminfo=y
CONFIG_PACKAGE_wget=y
CONFIG_PACKAGE_wireless-tools=y
CONFIG_PACKAGE_zlib=y
CONFIG_RSYNC_zlib=y

My uci show looks like this (system and wireless elided):

alfred.alfred=alfred
alfred.alfred.mode='master'
alfred.alfred.batmanif='bat0'
alfred.alfred.start_vis='1'
alfred.alfred.run_facters='1'
alfred.alfred.interface='br-pub'
alfred.alfred.disabled='0'
batman-adv.bat0=mesh
batman-adv.bat0.bridge_loop_avoidance='0'
dropbear.@dropbear[0]=dropbear
dropbear.@dropbear[0].PasswordAuth='on'
dropbear.@dropbear[0].RootPasswordAuth='on'
dropbear.@dropbear[0].Port='22'
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.pub=interface
network.pub.type='bridge'
network.pub.proto='static'
network.pub.ip6assign='60'
network.pub.ifname='bat0'
network.pub.ipaddr='10.11.x.y'
network.pub.netmask='255.255.252.0'
network.pub.gateway='10.11.x.1'
network.pub.dns='10.11.x.1'
network.mesh=interface
network.mesh.mtu='1532'
network.mesh.proto='batadv'
network.mesh.mesh='bat0'
network.meshwire=interface
network.meshwire.proto='batadv'
network.meshwire.mesh='bat0'
network.meshwire.ifname='eth0'
07.02.2017476Base systemBug ReportVery LowHighfail to detect usb storage at boot time on apu2c4.lede-17.01Unconfirmed Task Description

version: 17.01.0-rc1, r3042-ec095b5 and latest master
device: pcengine apu2c4, toshiba 32GB usb3.0 storage
packages: kmod-usb-storage, kmod-usb-core, kmod-scsi-core

<success case>
After boot, inserting usb storage is detected successfully, like this

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

   _________
  /        /\      _    ___ ___  ___
 /  LE    /  \    | |  | __|   \| __|
/    DE  /    \   | |__| _|| |) | _|

// LE \ ||_|_/|_| lede-project.org
\ \ DE /
\ LE \ / ———————————————————– \ DE \ / Reboot (17.01.0-rc1, r3042-ec095b5)
\
\/ ———————————————————– root@lede:/# ls /dev/|grep sd (← Not inserted yet)
root@lede:/# [ 73.924056] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd (← Detected)
[ 73.948714] usb-storage 3-2:1.0: USB Mass Storage device detected
[ 73.955124] scsi host4: usb-storage 3-2:1.0
[ 74.954867] scsi 4:0:0:0: Direct-Access TOSHIBA TransMemory-Mx PMAP PQ: 0 ANSI: 6
[ 74.963873] sd 4:0:0:0: [sda] 60456960 512-byte logical blocks: (31.0 GB/28.8 GiB)
[ 74.971758] sd 4:0:0:0: [sda] Write Protect is off
[ 74.976597] sd 4:0:0:0: [sda] Mode Sense: 45 00 00 00
[ 74.981951] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn’t support DPO or FUA
[ 75.107329] sda:
[ 75.110561] sd 4:0:0:0: [sda] Attached SCSI removable disk root@lede:/# ls /dev/|grep sd
sda (← device file found)
root@lede:/#
======================================================================================= <failure case>
After reboot keeping usb storage inserted, inserting usb storage is not detected, like this
=======================================================================================
BusyBox v1.25.1 () built-in shell (ash)
_
/ /\ _
_ _ _

 /  LE    /  \    | |  | __|   \| __|
/    DE  /    \   | |__| _|| |) | _|

// LE \ ||_|_/|_| lede-project.org
\ \ DE /
\ LE \ / ———————————————————– \ DE \ / Reboot (17.01.0-rc1, r3042-ec095b5)
\
__\/ ———————————————————–

root@lede:/# ls /dev/|grep sd
root@lede:/#

Do you know the clue fixing this issue?

Thanks in advance.

18.02.2017533Base systemBug ReportVery LowHighanon_mount 1 in fstab freezes boot in wrt3200acmlede-17.01Unconfirmed Task Description

I have run into strange trouble with my new WRT3200ACM:

anon_mount 1 option in /etc/config/fstab causes the boot process to hang.
Hang can be triggered manually with “/sbin/block mount” when that option is set.
Kernel log fills from entries “pxa3xx-nand f10d0000.flash: Wait time out!!!”

I am filing this bug report for 17.01, but the bug seems to be also in master.


For some reason enabling the anon_mount option in /etc/config/fstab prevents the boot process from completing. The boot progresses to some stage and router e.g. answers ping, but power led blinks and it does not allow login and does not provide dhcp etc. services.

I have had that option in all my routers (WNDR3700, WNDR3800, R7800) to make USB memory sticks to automount when inserted into the router’s USB port. So it is a quite normal setting.

I first compiled a mvebu wrt3200acm firmware image from master with kernel 4.9, and that failed to boot. I thought that the new kernel 4.9 might be the reason. So I installed 17.01.0-rc2 official image and it booted ok. I installed packages, configured, rebooted and everything was ok as long as I did not change that anon_mount to 1 in fstab. After changing that, the next boot again gets stuck. (Editing the option in failsafe enables the router to boot normally.)

Boot completes ok with the output of “block detect” entered into 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'

Boot does not complete with anon_mount 1 in /etc/config/fstab:

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

I have no good guess about the reason. My initial guess was some connection to ubi1:syscfg being mounted as /tmp/syscfg as that is different than in my other devices, but it is hard to see how that could be the reason. (That mounting is done in /lib/preinit/81_linksys_syscfg )

After some investigation it looks like the reason is actually “/sbin/block mount”.

At the boot the init script /etc/init.d/fstab actually runs “/sbin/block mount”.
Running that command manually from console (with anon_mount 1) makes the console to hang. From another console window I can see that system & kernel log fills from entries like these:

  kern.err kernel: [ 3032.483307] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3032.683301] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3032.883296] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3033.083293] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3033.283291] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3033.483287] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3033.683283] pxa3xx-nand f10d0000.flash: Wait time out!!!

And the “block” process can’t even be killed with “kill -9” or “kill -15”.
I rebooted the router from power switch to get it killed.

With anon_mount 0 in fstab the same command works ok and produces:

 root@LEDE:~# /sbin/block mount
 block: /dev/ubiblock0_0 is already mounted on /rom
 block: /dev/ubi0_1 is already mounted on /overlay
19.02.2017534Base systemBug ReportVery LowHighUSB xHCI deadlock on bootlede-17.01Assigned Task Description

Supply the following if possible:
- Device problem occurs on
VirtualBox x86_64 Version 5.0.32 r112930
- Software versions of LEDE release, packages, etc.
17.01.00rc2
- Steps to reproduce
Create the disk image
Switch from EHCI (the default in a new VM) to xHCI.
Boot the machine
The machine will deadlock soon after initializing the USB ports


19.02.2017535KernelBug ReportVery LowHigh5GHz radios not working properly on Netgear R8000lede-17.01Unconfirmed Task Description

After upgrading my R8000 from Chaos Calmer (15.05.1) to LEDE Reboot (17.01.0-rc2, r3131-42f3c1f), I found that I could no longer get the 5GHz radios to work as before. The 2.4GHz radio is fine.

In CC I was using the following configuration:
- radio0 on channel 149, country code ‘00’, VHT80
- radio2 on channel 48, country code ‘00’, VHT80

The firmware apparently only accepts 00 and US as country codes, which is why I was using 00. This discussed at length in: https://forum.openwrt.org/viewtopic.php?id=55367&p=19 (and previous pages)

In 17.01.0-rc2, I can’t get radio0 to come up at all. radio2 can be configured, still on channel 48 and country 00, but in VHT40 mode. If I use VHT80, it stays disabled.

This was discussed previously in this forum post: https://forum.lede-project.org/t/r8000-5ghz-wifi-issue/236 and I get the same error messages and channel selection as the OP, so I will not repeat them here.

I’m not sure if this issue is really related to the country code setting, but I will note that the factory system apparently sets the country code to “EU”:

root@x6:~# nvram show | grep country_code
wl1_country_code=EU
wl0_country_code=EU
wl2_country_code=EU
wl_country_code=
root@x6:~#

I see that LEDE carries a patch on brcmfmac which translates the configured country code to an internal code for the firmware on this specific model (https://git.lede-project.org/?p=source.git;a=blob_plain;f=package/kernel/mac80211/patches/863-brcmfmac-add-in-driver-tables-with-country-codes.patch;hb=refs/heads/lede-17.01). I’m willing to test patches if anyone knows the right internal country code for Europe.

08.03.2017608Base systemBug ReportVery LowHighwds AP/STA disconnecting every 10 minutesTrunkUnconfirmed Task Description

Devices:
AP WDS: Netgear r7800
STA WDS: TP-LINK Archer c7 v2

Problem exists on:

  1. with both latest trunk and 17.01
  2. with both ath10k and ath10k-ct
  3. with STP enabled or not on both sides
  4. with STP enabled or not on only one side
  5. with both WPA2 tkip and aes
  6. with 2.4Ghz and 5Ghz bands

Steps to reproduce

  1. Configure AP WDS
  2. Configure STA WDS
  3. Wait exactly 10 minutes and you’ll see this in the log:

AP:

daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 IEEE 802.11: authenticated
daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 IEEE 802.11: associated (aid 1)
daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 RADIUS: starting accounting session F72C76B14648E205
daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 WPA: pairwise key handshake completed (RSN)

STA:

daemon.notice netifd: Network device 'wlan1' link is down
kern.info kernel: [  387.179978] wlan1: deauthenticated from de:ef:09:f2:99:75 (Reason: 2=PREV_AUTH_NOT_VALID)
kern.info kernel: [  387.188344] br-lan: port 3(wlan1) entered disabled state
kern.info kernel: [  388.139233] wlan1: authenticate with de:ef:09:f2:99:75
kern.info kernel: [  388.170697] wlan1: send auth to de:ef:09:f2:99:75 (try 1/3)
kern.info kernel: [  388.195249] wlan1: authenticated
Wkern.info kernel: [  388.225092] wlan1: associate with de:ef:09:f2:99:75 (try 1/3)
kern.info kernel: [  388.235224] wlan1: RX AssocResp from de:ef:09:f2:99:75 (capab=0x431 status=0 aid=1)
kern.info kernel: [  388.243356] wlan1: associated
daemon.notice netifd: Network device 'wlan1' link is up

I think this has to do with wpa_supplicant in some way, maybe it doesn’t receive the correct packets and force disconnect the client?

Now, this only happens in WDS bridge mode. I’m currently using relayd in order to overcome this issue and it works like a charm.
I want to solve this problem since relayd uses much more cpu power (indeed this is a true routing procotol after all) and total troughput is halved right now.


09.03.2017611Base systemBug ReportVery LowHighdnsmasq Ignore resolv file option forget at restartAllUnconfirmed Task Description

If you set up dnsmasq to ignore resolv file it will ignore it until reboot is performed. To make ignore it again the option must be uncheck and apply and then check and apply again.

I have /etc/resolv.conf as a symlink to /tmp/resolv.conf, when the router boots up the contents are the dns offered from dhcp over the wan interface. When the ignore resolv option is checked or unchecked the contens are overwrited to search lan and nameserver 127.0.0.1 but it doesn’t seems to affect as if you uncheck ignore resolv the router resolv names, and when you check again the option it can resolv names even the contents still are search lan and nameserver 127.0.0.1.

I haven’t seen yet any other change that can cause the reboot to make dnsmasq follow resolv file when the option is checked until you uncheck-apply and check-apply.

09.03.2017612Base systemBug ReportVery LowHighWAN to LAN leakage on MT7620 devicesTrunkUnconfirmed Task Description

I am currently testing two MT7620 devices - the ZBT WE826 and the Sanlinking D240. During the first seconds of the boot, I see that packets leak between the WAN and LAN ports. Typically, this results in clients receiving a DHCP reply from my upstream router, rendering the clients without connectivity when the switch is properly initialized. I have also tested with the default firmware and do not see this behavior. Also, if I stop the devices in the bootloader, then packets do not leak until I resume boot again.

In order to try to solve this bug, I have tried to port some (at least to me) missing steps from the bootloader switch code and to the mt7620 switch driver in LEDE. This did not have an effect, at least not on the packet leak. A work-around I have found is to update u-boot and remove the input delay, so that the device will boot immediately. However, this is quite cumbersome to install and not very reliable. I suspect my luck with this work-around is more due to the timing of the DHCP clients in Ubuntu and Windows 10.

Does anyone have any idea as to what could be wrong and where to start looking?

Thanks in advance for any help.

 


10.03.2017616KernelBug ReportVery LowHighEthernet port fails to receive traffic if traffic was r...TrunkUnconfirmed Task Description

Symptoms: Fails to receive address via DHCP on WAN port
Board: WPJ558
Lede ver: 92b5b360fe39a4e446742ab3de9d0b2f91991d46 (Mar 7, 2017)
Steps to reproduce: ping -f wan_port_ip from another machine, reboot WPJ558

I have tracked the problem down to commit https://github.com/lede-project/source/commit/94e4ee5395b437e9ddaec8cdea47c1a4a9ba0c01 , more specifically enabling flow control on ports 1-5.

The problem goes away if I comment out line 693 from the patch:

+ t |= AR8216_PORT_STATUS_FLOW_CONTROL;

Funny how this caused the problem it was trying to solve...

28.03.2017661Base systemBug ReportVery LowHighUSB hostless modem is not detected during boot - HooToo...lede-17.01Unconfirmed Task Description

After flashing my HooToo HT-TM02 with LEDE 17.01 I noticed that my hostless modem
ZTE MF823 is not detected when attached during boot. lsusb or cat /sys/kernel/debug/usb/devices
just shows nothing. Also dmesg is logging nothing regarding the device during boot.
If the modem is hotplugged, everything works fine. Same behaviour in OpenWRT Chaos Chalmer.

Tried unloading and reloading all usb related modules with no success. No detection at all.
Only unplugging and replugging helps. If the modem is detected after replugging, a
router reboot will detect it properly. A reboot without a forced detection via replugging leads to
no detection. Powering the router down, also results in no detection after rebooting.

If attached to a “non powered” USB-Hub it gets detected during boot, so no power issue here.

And the modem works perfekt after boot on a WD MyNet 600 with LEDE 17.01. So i think it’s a
platform related issue handling the usb modules.

Hope there is enough info for someone to find the bug.

THX.

17.04.2017714Base systemBug ReportVery LowHighARP/Broadcast does not reach other clients in the same ...AllUnconfirmed Task Description

I have the default bridge with ethernet and WLAN in it. When i try to send data from a client to another, both connected to the same WLAN SSID, it doesn’t work (Destination unreachable).
Wireshark shows that it sends endless ARP requests to Broadcast, but the other clients in that WLAN never get it (and therefore can’t answer). The broadcast gets still delivery to every client connected through Ethernet. If i create a second WLAN SSID (even on the same adapter) and and add it to the bridge, it gets also all broadcast packets from the other WLAN...
So if i put the 2 clients in different WLAN SSIDs or ethernet they get the broadcast from each other, but not when both are connected to the same.

The isolate option is not set in the wireless config.
Archer C5 v1 with latest LEDE snapshot (no difference to 17.01 stable or rc).

Showing tasks 51 - 100 of 797 Page 2 of 16 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing