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.

OpenedIDCategory  ascTask TypePrioritySeveritySummaryReported InStatus
21.10.20192559Base systemBug ReportVery LowMediumFirewall rule Allow-ICMPv6-Input allows pinging LAN cli...openwrt-18.06Unconfirmed Task Description

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

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

21.10.20192558Base systemBug ReportVery LowLowLinksys 3200ACM drops link speed from 800 Mbs to 19.5 M...TrunkUnconfirmed Task Description

Linksys 3200ACM drops link speed from 800 Mbs to 19.5 Mbs in about 5 minutes. If I disconnect the WiFi connection from the phone I am unable to reconnect. I have to reboot Openwrt.

Radio1 and radio2 are disabled. FYI, stock FW has no issues with WiFi.

 


17.10.20192556Base systemBug ReportVery LowLowbusybox: route: unknown character in inet6 route tableTrunkUnconfirmed Task Description

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

 

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

16.10.20192555Base systemBug ReportVery LowLowkmod-nat46 incorrect src-address for icmp packet too bi...TrunkUnconfirmed Task Description

On a x86 openwrt with kernel
Linux kd-qemu 4.14.137 #0 SMP Sun Jun 23 13:10:01 2019 x86_64 GNU/Linux

with loaded nat46 module

[ 8.118800] nat46: adding device (clat)
[ 8.165298] nat46: netdevice nat46 ‘clat’ created successfully.
[ 8.168445] nat46: configure device (clat) with ‘local.style RFC6052 local.v4 10.139.0.0/17 local.v6 fdff:ffff:ffff:5254:ee:43::/96 local.ea-len 0 local.psid-offset 0 remote.style RFC6052 remote.v4 0.0.0.0/0 remote.v6 64:ff9b::/96 remote.ea-len 0 remote.psid-offset 0’

I am observing ICMP packet too big messages that are sent from the router to the client that have an incorrect src-address: Instead of the router-IPv4 IP, the clients IPv4-IP is placed in the src-address field in the ipv4 packet.

In this particular case, I have a client connected to the openwrt router. The client has IP address 10.139.41.200 and the router has 10.139.0.1

tcpdump shows:
21:07:12.910199 IP 10.139.41.200 > 10.139.41.200: ICMP 140.82.118.4 unreachable - need to frag (mtu 1354), length 1220

The client discards these packets instead of processing them which results in broken network connectivity.

Instead the packet should look like this:

21:07:12.910199 IP 10.139.0.1 > 10.139.41.200: ICMP 140.82.118.4 unreachable - need to frag (mtu 1354), length 1220


15.10.20192554Base systemBug ReportVery LowMediumUBNT-ERX stack traceTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Ubiquiti ERX

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

# cat /etc/openwrt_release 
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r11159-27bf8abe69'
DISTRIB_TARGET='ramips/mt7621'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r11159-27bf8abe69'
DISTRIB_TAINTS='no-all busybox'

Saw this after about a week of uptime:

[753858.342719] ------------[ cut here ]------------
[753858.352124] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0x324
[753858.368762] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
[753858.382820] Modules linked in: iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_bpf xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY ts_kmp ts_fsm ts_bm 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_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 tun leds_gpio
[753858.524856]  gpio_button_hotplug
[753858.531471] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.146 #0
[753858.543763] Stack : 00000000 8fef6c40 805c0000 80078e1c 805f0000 8058c518 00000000 00000000
[753858.560569]         80556f30 8fc0ddc4 8fc3cb0c 805c69c7 80551d30 00000001 8fc0dd68 53261673
[753858.577373]         00000000 00000000 80740000 000046e0 00000000 000000e4 00000007 00000000
[753858.594182]         00000000 805d0000 00081c0f 70617773 00000000 00000000 805f0000 80586720
[753858.610990]         803a9b70 00000140 00000002 8fef6c40 00000008 802d0d30 00000008 80730008
[753858.627794]         ...
[753858.632825] Call Trace:
[753858.637880] [<8000c8d0>] show_stack+0x58/0x100
[753858.646907] [<8048f55c>] dump_stack+0x9c/0xe0
[753858.655750] [<8002fa08>] __warn+0xe0/0x138
[753858.664069] [<8002fa90>] warn_slowpath_fmt+0x30/0x3c
[753858.674127] [<803a9b70>] dev_watchdog+0x1ac/0x324
[753858.683657] [<8008fe9c>] call_timer_fn.isra.25+0x24/0x84
[753858.694391] [<80090158>] run_timer_softirq+0x1bc/0x248
[753858.704799] [<804ac808>] __do_softirq+0x128/0x2ec
[753858.714334] [<800346b4>] irq_exit+0xac/0xc8
[753858.722844] [<80284040>] plat_irq_dispatch+0xfc/0x138
[753858.733062] [<80007588>] except_vec_vi_end+0xb8/0xc4
[753858.743108] [<80008f50>] r4k_wait_irqoff+0x1c/0x24
[753858.752926] ---[ end trace b7d0bffc069517f8 ]---
[753858.762309] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
[753858.774837] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
[753858.787018] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0ee40000, max=0, ctx=1395, dtx=1395, fdx=1394, next=1395
[753858.808845] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0f2d0000, max=0, calc=1825, drx=1826
[753858.830333] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[753858.850760] mtk_soc_eth 1e100000.ethernet: PPE started


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

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

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

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

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

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

no-dhcp-interface=br-lan

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


12.10.20192547Base systemBuild FailureVery LowCriticalnode.jsTrunkUnconfirmed Task Description

openwrt/config/Config-kernel.in

config KERNEL_MIPS_FPU_EMULATOR

bool "Compile the kernel with MIPS FPU Emulator"
default y if TARGET_pistachio
depends on (mips || mipsel || mips64 || mips64el)

Node.js Not available!

12.10.20192546Base systemBug ReportVery LowMediumXiaomi Router Pro (R3P) WiFi Issuesopenwrt-19.07Unconfirmed Task Description

Supply the following if possible:

- Device problem occurs on
Xiaomi Router Pro (R3P)

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

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

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

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

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

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

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

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

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

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

Hello,

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

What is my mistake?

Thx for help.

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

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

“cloudengines,pogoplugv4”)

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

In the configuration added

define Device/cloudengines_pogoplugv4

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

endef
TARGET_DEVICES += cloudengines_pogoplugv4

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

10.10.20192542Base systemBug ReportVery LowLowoxnas820 pogoplug v3 / pogoplug pro - SATA interface no...TrunkUnconfirmed Task Description

Supply the following if possible:
- pogoplug pro
- Software versions of OpenWrt/LEDE release: Snapshot r11159
- dmesg doesn’t show any SATA interface
- cat /proc/partitions doesn’t show partitions of the connected SATA hdd

 


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

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

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

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

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

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

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

 


07.10.20192538Base systemBug ReportVery LowLowramips-mt7620-elecom_wrh-300cr not reproducible due to TrunkUnconfirmed Task Description

The image is hard to reproduce as it stores the build username in the file. This is due to the `elecom-header` function in target/linux/ramips/image/mt7620.mk where it creates two files called v_0.0.0.{bin,md5} owned by the builder.

Below a diff of the two files:

https://rebuild.aparcar.org/SNAPSHOT/ramips/mt7620/openwrt-ramips-mt7620-elecom_wrh-300cr-squashfs-factory.bin.html

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

Hello

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

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

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

06.10.20192536Base systemBug ReportVery LowLowJSON info files are not stored on downloads.openwrt.orgTrunkUnconfirmed Task Description

Since this commit[0] there should be JSON info files on downloads.openwrt.org giving details to available images per device. However these files are missing.

Looking at the buildlogs[1] the script is called, however the files are missing or at least not transferred.

[0]: https://github.com/openwrt/openwrt/pull/2192 [1]: http://buildbot.openwrt.org/master/images/builders/ath79%2Fgeneric/builds/107/steps/images/logs/stdio

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

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

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

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

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

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

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

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

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

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

 Uncompressing Kernel Image ... No initrd

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

Boot Environment for AP121

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


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

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

 

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

logs nowhere to be seen!

28.09.20192522Base systemBug ReportVery LowLowx86 sysupgrade not workingTrunkUnconfirmed Task Description

Hi,
if I start “sysupgrade -v /tmp/openwrt-x86-64-combined-squashfs.img.gz” my image will not be updated.

System:
OpenWrt 18.06-SNAPSHOT, r7876-491e839262

Package:
sysupgrade

Problem:
As I mentioned earlier, I was suspicious that gzip wasn’t making it to the ramdisk..so I did some digging into how the ramdisk is assembled and found the gzip was indeed missing from the list of packages to copy over in /lib/upgrade/stage2.

Solution:
Here is the relevant function, note how gzip is missing from the list of binaries!

/lib/upgrade/stage2

switch_to_ramfs() {
	for binary in \
		/bin/busybox /bin/ash /bin/sh /bin/mount /bin/umount	\
		pivot_root mount_root reboot sync kill sleep		\
		md5sum hexdump cat zcat bzcat dd tar			\
-		ls basename find cp mv rm mkdir rmdir mknod touch chmod \
+		ls basename find cp mv rm mkdir rmdir mknod touch chmod gzip \
		'[' printf wc grep awk sed cut				\
		mtd partx losetup mkfs.ext4				\
		ubiupdatevol ubiattach ubiblock ubiformat		\
		ubidetach ubirsvol ubirmvol ubimkvol			\
		snapshot snapshot_tool					\
		$RAMFS_COPY_BIN
	do
19.09.20192512Base systemBug ReportVery LowLowArcher C7 v2 From ar71xx to ath79 led sysfs support for...TrunkUnconfirmed Task Description

Just change firmware from ar71xx to ath79, now is not possible to control ethernet and wan leds from the sysfs interface.

I think tl-wr1043nd v2 is also affected. Archer C7 v4 is not affected as the leds as assigned through switches.

18.09.20192511Base systemBug ReportVery LowLowath10k-ct - kernel backtrace after "map pages failed"TrunkUnconfirmed Task Description

Device WPJ428

OpenWRT/4cb5f296255889dd5e6bf0124badd414e85d27f5

This happens seemingly randomly after boot. Haven’t seen more than once per boot.

17.09.20192510Base systemBug ReportVery LowVery LowWNDR3700v2, WNDR3800 unable to update from ar71xx-gener...TrunkUnconfirmed Task Description

device

  • WNDR3700v2
  • WNDR3800

Software version of OpenWrt release

  • tested on master branch

Steps to reproduce

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

other

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

17.09.20192509Base systemBuild FailureVery LowLowMissing dependencies on Snapshot 19.07TrunkUnconfirmed Task Description

Hello! I’m try to build OpenWrt on Snapshot 19.07 for GL.inet ar150 and have problem with satisfy dependencies.

Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for firewall:
* libip4tc2
* libip6tc2
* opkg_install_cmd: Cannot install package firewall.

When I try to add luci I get the same error:

Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
* libip4tc2
* libip6tc2
* opkg_install_cmd: Cannot install package luci.

I’m use latest image builder and make cleanup after every attempt.


17.09.20192508Base systemBug ReportVery LowHighoxnas pogoplug3 warm booting, no serial, kernel hang?TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

CloudEngines Pogoplug v3

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

# cat /etc/openwrt_release 
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r11027-f39f4b2f6d'
DISTRIB_TARGET='oxnas/ox820'
DISTRIB_ARCH='arm_mpcore'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r11027-f39f4b2f6d'
DISTRIB_TAINTS='no-all busybox'

- Steps to reproduce

 

When the device reboots with power on, I get a bootlog like this:

root@pogoplug:/# reboot
root@pogoplug:/# [   58.722024] reboot: Restarting system

U-Boot SPL 2013.10 (Apr 27 2014 - 19:08:27)
  Boot device: NAND
Attempting to set PLLA to 800 MHz ...
  plla_ctrl0 : 0000030a
  plla_ctrl1 : 00400000
  plla_ctrl2 : 007f0068
  plla_ctrl3 : 00000193

PLLA Set


U-Boot 2013.10-tld-3 (May 15 2014 - 14:54:14) for OXNAS

DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0 

Loading from nand0, offset 0x440000
   Image Name:   ARM OpenWrt Linux-4.14.143
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3057200 Bytes = 2.9 MiB
   Load Address: 60008000
   Entry Point:  60008000
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   ARM OpenWrt Linux-4.14.143
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3057200 Bytes = 2.9 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Led:    GREEN

Starting kernel ...

and hangs there, can’t connect to it over the network, so it doesn’t seem like just a serial problem.

From a cold start (power cycle), the bootlog looks like this:

U-Boot SPL 2013.10 (Apr 27 2014 - 19:08:27)
  Boot device: NAND
Attempting to set PLLA to 800 MHz ...
  plla_ctrl0 : 0000030a
  plla_ctrl1 : 00400000
  plla_ctrl2 : 007f0068
  plla_ctrl3 : 00000193

PLLA Set


U-Boot 2013.10-tld-3 (May 15 2014 - 14:54:14) for OXNAS

DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0 

Loading from nand0, offset 0x440000
   Image Name:   ARM OpenWrt Linux-4.14.143
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3057200 Bytes = 2.9 MiB
   Load Address: 60008000
   Entry Point:  60008000
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   ARM OpenWrt Linux-4.14.143
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3057200 Bytes = 2.9 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Led:    GREEN

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.143 (openwrt@hawg) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r8984-6ba58b7b02)) #0 SMP Mon Sep 16 06:37:06 2019
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Cloud Engines PogoPlug Series 3
[...]

and it continues to boot normally. Up until recently (10561-gff7909f69e) reboots would just hang (see also https://bugs.openwrt.org/index.php?do=details&task_id=1711), so this is an improvement, but still not fully working.

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

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

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

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

I will be happy to provide more information.

Thanks,

Tomas

 


16.09.20192505Base systemBug ReportVery LowMediumuci doubling list entriesTrunkUnconfirmed Task Description

Hello.
Im facing some problems with UCI C API and really want to know if im doing something wrong or it is a bug, that has to be fixed.

The version of UCI is `commit 415f9e48436d29f612348f58f546b3ad8d74ac38’, the version of libubox is `commit ecf56174da9614a0b3107d33def463eefb4d7785’. Built with `gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0’. Tell me if you need more information about my system.

You can observe my code in the attached file. There im trying to add two list entries to the `lan’ section of `dhcp’ UCI package.
If i execute it and then cat config file i get:
[~] > cat /etc/config/dhcp

config dhcp ‘lan’ list my_list ‘my_first_entry’ list my_list ‘my_second_list_entry’ list my_list ‘my_first_entry’ list my_list ‘my_second_list_entry’

So every line i add with uci_add_list is beein doubled.

But!
When i uncomment lines and delete list first (it could not even exist) i get correct output:
[~] > cat /etc/config/dhcp

config dhcp ‘lan’ list my_list ‘my_first_entry’ list my_list ‘my_second_list_entry’

If im adding list entry via console, add_list works just as expected. I read the code, but i was unable to find any key differences comparing to mine.

Thanks for you attention.

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

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

My wireless config:

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

System Log:

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

Supply the following if possible:
- Device problem occurs on TP-Link Archer C50
- Software versions of OpenWrt/LEDE release, packages : https://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/ramips/mt76x8/ - Steps to reproduce : Install OpenWrt, configure some Wifi SSID a try connect. With original firmware can be distance between router and me ten of meters.
With OpenWrt closing wood door between me and router and signal quality drops down.

 


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

Device: Netgear EX2700

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

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

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

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


15.09.20192495Base systemBug ReportVery LowLowucert rebuild within SDK segfaults on Debian 10 and Ubu...TrunkNew Task Description

Using the 19.07-SNAPSHOT SDK build Sept 12 (last successful build by the buildbots it looks like), and current openwrt-19.07 branch on the feeds, if doing signed build, the build fails due to ucert segfaulting (this is on Debian 10).

ldd staging_dir/host/bin/ucert shows:

      linux-vdso.so.1 (0x00007ffd03d63000)
      libubox.so => /home/daniel/Build/sdk-19.07-ath79/staging_dir/host/lib/libubox.so (0x00007ff0db3b0000)
      libblobmsg_json.so => /home/daniel/Build/sdk-19.07-ath79/staging_dir/host/lib/libblobmsg_json.so (0x00007ff0db3a8000)
      libjson-c.so.2 => /home/daniel/Build/sdk-19.07-ath79/staging_dir/host/lib/libjson-c.so.2 (0x00007ff0db398000)
      libc.so.6 => /home/daniel/Build/sdk-19.07-ath79/staging_dir/host/lib/libc.so.6 (0x00007ff0daff8000)
      /lib64/ld-linux-x86-64.so.2 (0x00007ff0db3c8000)

I’m wondering if the problem is due to using host instead SDK libraries.


14.09.20192494Base systemFeature RequestVery LowVery LowImplement system to allow LuCI to display messages prio...AllUnconfirmed Task Description

Currently there is no system to alert users to possible issues they may encounter when flashing a new image. This has led to certain features being delayed or even withheld (the switch from swconfig → DSA is a good example). Simply put there is no way to alert the average user to configuration breaking changes a new image might make.

A short header that contains important information could be inserted into OpenWrt images. The header is parsed and displayed via LuCI if certain criteria are/aren’t met. This could be something as simple as a image version check or something more complex like configuration and package comparisons.

This is really more of a forward looking feature, but it would allow more drastic changes (changes that cannot be migrated) be made between OpenWrt versions.

14.09.20192493Base systemBug ReportVery LowLow5g wifi fails on Linksys WRT1900AC hostpadopenwrt-18.06Unconfirmed Task Description

- Device problem occurs on

 Linksys WRT1900AC

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

 OpenWrt 18.06.4 r7808-ef686b7292 with ipv6 disabled

- Steps to reproduce

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

From Syslog:

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

Hostpad config:

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


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

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

Troubleshooting attempted:

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

All yield the same issue.

09.09.20192487Base systemBug ReportVery LowMediumKeenetic problemsTrunkUnconfirmed Task Description

My Keenetic have 8mb of memory, but in openwrt (latest snapshot) I have only 233kb of free space and not working usb
Please change in /openwrt/target/linux/ramips/dts/rt3052_zyxel_keenetic.dts
This:
partition@50000 {
compatible = “denx,uimage”;
label = “firmware”;
reg = <0×50000 0x3b0000>;
};
To:
partition@50000 {
compatible = “denx,uimage”;
label = “firmware”;
reg = <0×50000 0x7b0000>;
};

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

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

To:

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

 


07.09.20192484Base systemBug ReportVery LowLowdnsmasq UCI configuration dhcp.@host[n].ip needs to be ...TrunkUnconfirmed Task Description

UCI configuration

dhcp.@host[n].ip

needs to be optional.

According to http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html . dhcp-host isn’t just for static leases, it can be used to specify lease time, hostname etc, so IP isn’t mandatory. Their example is “For example –dhcp-host=00:20:e0:3b:13:af,wap,infinite tells dnsmasq to give the machine with hardware address 00:20:e0:3b:13:af the name wap, and an infinite DHCP lease.”

OpenWrt currently ignores dhcp.@host[n], if IP isn’t provided. https://openwrt.org/docs/guide-user/base-system/dhcp#static_leases

07.09.20192483Base systemBug ReportVery LowMediumprocd: watchdog timeout is too high for sun8iTrunkUnconfirmed Task Description

Device: Orange Pi M2 Ultra
Version: trunk
Steps to reproduce:
- build trunk with the DTS for Orange Pi M2 Ultra
- boot
- wait 10 seconds
- watchdog will reset the SoC

Problem:
- the default wdt_drv_timeout of procd is 30 seconds and cannot be changed in menuconfig (https://git.openwrt.org/?p=project/procd.git;a=blob_plain;f=watchdog.c;hb=refs/heads/master)
- the maximum timeout of the sun8i watchdog is 16 seconds (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/watchdog/sunxi_wdt.c?h=v4.19.71)
- wdt_frequency is not low enough to prevent the sun8i watchdog from resetting the SoC

I was able to mitigate the watchdog reset with the following patch to procd:

--- a/watchdog.c	2019-09-06 06:13:52.293677306 +0000
+++ b/watchdog.c	2019-09-06 06:14:46.716987215 +0000
@@ -30,13 +30,13 @@
 
 static struct uloop_timeout wdt_timeout;
 static int wdt_fd = -1;
-static int wdt_drv_timeout = 30;
-static int wdt_frequency = 5;
+static int wdt_drv_timeout = 5;
+static int wdt_frequency = 1;
 static bool wdt_magicclose = false;
 
 void watchdog_ping(void)
 {
-	DEBUG(4, "Ping\n");
+	DEBUG(4, "Ping watchdog\n");
 	if (wdt_fd >= 0 && write(wdt_fd, "X", 1) < 0)
 		ERROR("WDT failed to write: %m\n");
 }
@@ -170,6 +170,7 @@
 	watchdog_timeout_cb(&wdt_timeout);
 
 	DEBUG(4, "Opened watchdog with timeout %ds\n", watchdog_timeout(0));
+	watchdog_ping();
 }


I’m sorry but I don’t know enough C to provide a patch that includes a configurable watchdog timeout in the main menuconfig for procd.

06.09.20192482Base systemBug ReportVery LowLowMT7621 hw flow offload crashTrunkUnconfirmed Task Description

Device with MT7621 (RT-AC57U) crashes after some time with “FLOWOFFLOAD hw” rule in iptables.

CPU 1 Unable to handle kernel paging request at virtual address 008c5c40, epc == 87130390, ra == 871303b8
...
Call Trace:
[<871308e4>] flow_offload_lookup+0x1a8/0x5b8 [nf_flow_table]

Full crashlog is attached.

Related:
FS#1917 FS#1994 FS#2115

05.09.20192480Base systemBug ReportVery LowCriticalMainline ath10k causes crahes in ipq806x / R7800TrunkUnconfirmed Task Description

The mainline ath10k mainly works in R7800, although it has some problems the show up in the logs as

"ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon"

.

That seems to increase CPU utilisation somewhat, but the router still works.

Every now and then the router also crashes. I have attached a serial logger to the router, so I managed to capture the following crash series. 4-5 crashes during a few hours when the router was mainly idle.

360130.583644] ath10k_warn: 81 callbacks suppressed
[360130.583662] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360130.587378] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360130.594965] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360130.602223] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360130.609691] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360130.617450] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360130.624456] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360130.631736] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360130.639168] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360130.646535] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360135.612292] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360135.612372] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360135.618864] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360135.626263] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360135.633611] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360135.641453] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360135.648443] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360135.655742] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360135.663114] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360135.670426] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360193.344931] ath10k_warn: 1 callbacks suppressed
[360193.344951] ath10k_pci 0001:01:00.0: Invalid peer id 21 peer stats buffer
[360561.357841] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360561.357923] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360561.364436] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360561.371813] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360561.379094] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360561.387292] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360561.393973] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360561.401336] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360561.408651] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[360561.416080] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[361642.965765] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[361642.965909] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[361642.972378] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[361642.979740] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped new beacon
[361642.987116] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[361642.994737] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[361643.001848] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[361643.009206] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[361643.016513] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[361643.023961] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[362072.425064] INFO: rcu_sched self-detected stall on CPU
[362072.425140] 	1-...: (2099 ticks this GP) idle=e76/2/0 softirq=2206647/2206647 fqs=1 
[362072.429122] 	 (t=2100 jiffies g=859207 c=859206 q=1)
[362072.437118] rcu_sched kthread starved for 2099 jiffies! g859207 c859206 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x402 ->cpu=0
[362072.442151] rcu_sched       I    0     8      2 0x00000000
[362072.445060] INFO: rcu_sched detected stalls on CPUs/tasks:
[362072.452779] [<c07f6148>] (__schedule) from [<c07f6268>] (schedule+0x88/0xb0)
[362072.458211] 	1-...: (2099 ticks this GP) idle=e76/2/0 softirq=2206647/2206647 fqs=1 
[362072.463781] [<c07f6268>] (schedule) from [<c07fa568>] (schedule_timeout+0x254/0x280)
[362072.471049] 	(detected by 0, t=2102 jiffies, g=859207, c=859206, q=1)
[362072.478904] [<c07fa568>] (schedule_timeout) from [<c0377e30>] (rcu_gp_kthread+0x44c/0x868)
[362072.478937] [<c0377e30>] (rcu_gp_kthread) from [<c033e4e4>] (kthread+0x164/0x16c)
[362072.486680] Sending NMI from CPU 0 to CPUs 1:
[362072.493123] [<c033e4e4>] (kthread) from [<c0307d28>] (ret_from_fork+0x14/0x2c)


U-Boot 2012.07 [local,local] (Sep 03 2015 - 17:33:28)

U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
...
[  773.047773] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[  837.296527] ath10k_warn: 4 callbacks suppressed
[  837.296544] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[  837.299941] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[  837.307289] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[  837.314563] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[  837.321785] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[  837.329215] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[  837.336478] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[  837.343755] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[  837.350961] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[  837.358346] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1040.672740] INFO: rcu_sched self-detected stall on CPU
[ 1040.672797] 	1-...: (1 GPs behind) idle=e4e/2/0 softirq=10446/10449 fqs=0 
[ 1040.676785] 	 (t=2100 jiffies g=3493 c=3492 q=17)
[ 1040.683649] rcu_sched kthread starved for 2100 jiffies! g3493 c3492 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x402 ->cpu=0
[ 1040.688426] rcu_sched       I    0     8      2 0x00000000
[ 1040.698694] [<c07f6148>] (__schedule) from [<c07f6268>] (schedule+0x88/0xb0)
[ 1040.704061] [<c07f6268>] (schedule) from [<c07fa568>] (schedule_timeout+0x254/0x280)
[ 1040.711278] [<c07fa568>] (schedule_timeout) from [<c0377e30>] (rcu_gp_kthread+0x44c/0x868)
[ 1040.718996] [<c0377e30>] (rcu_gp_kthread) from [<c033e4e4>] (kthread+0x164/0x16c)
[ 1040.727070] [<c033e4e4>] (kthread) from [<c0307d28>] (ret_from_fork+0x14/0x2c)
[ 1040.734613] NMI backtrace for cpu 1
[ 1040.741718] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.141 #0
[ 1040.745103] Hardware name: Generic DT based system
[ 1040.751379] [<c030f2c4>] (unwind_backtrace) from [<c030b4c0>] (show_stack+0x14/0x20)
[ 1040.756063] [<c030b4c0>] (show_stack) from [<c07e0898>] (dump_stack+0x88/0x9c)
[ 1040.763955] [<c07e0898>] (dump_stack) from [<c07e6b44>] (nmi_cpu_backtrace+0xc4/0xd8)
[ 1040.770983] [<c07e6b44>] (nmi_cpu_backtrace) from [<c07e6bec>] (nmi_trigger_cpumask_backtrace+0x94/0x138)
[ 1040.778886] [<c07e6bec>] (nmi_trigger_cpumask_backtrace) from [<c0379564>] (rcu_dump_cpu_stacks+0x8c/0xcc)
[ 1040.788432] [<c0379564>] (rcu_dump_cpu_stacks) from [<c0378a78>] (rcu_check_callbacks+0x358/0x858)
[ 1040.797986] [<c0378a78>] (rcu_check_callbacks) from [<c037cdf4>] (update_process_times+0x3c/0x70)
[ 1040.806937] [<c037cdf4>] (update_process_times) from [<c038dea8>] (tick_sched_timer+0x48/0xa4)
[ 1040.815870] [<c038dea8>] (tick_sched_timer) from [<c037d764>] (__hrtimer_run_queues+0xdc/0x1a8)
[ 1040.824374] [<c037d764>] (__hrtimer_run_queues) from [<c037dea0>] (hrtimer_interrupt+0xc0/0x230)
[ 1040.832967] [<c037dea0>] (hrtimer_interrupt) from [<c06a8574>] (msm_timer_interrupt+0x38/0x48)
[ 1040.841994] [<c06a8574>] (msm_timer_interrupt) from [<c036e140>] (handle_percpu_devid_irq+0x84/0x174)
[ 1040.850420] [<c036e140>] (handle_percpu_devid_irq) from [<c03689a4>] (generic_handle_irq+0x28/0x40)
[ 1040.859704] [<c03689a4>] (generic_handle_irq) from [<c0368ffc>] (__handle_domain_irq+0xa4/0xc8)
[ 1040.868554] [<c0368ffc>] (__handle_domain_irq) from [<c0301488>] (gic_handle_irq+0x6c/0xb8)
[ 1040.877234] [<c0301488>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[ 1040.885558] Exception stack(0xdd461a80 to 0xdd461ac8)
[ 1040.893222] 1a80: dbe78bf0 dbe78ce0 dbe78ce0 db79b094 dbe78be0 dbe78cc8 00000002 dbe78ce0
[ 1040.898264] 1aa0: 32eb15be fffffffb 00000100 00000000 dbe78ce0 dd461ad0 00000458 bf7892a8
[ 1040.906400] 1ac0: 20000113 ffffffff
[ 1040.914718] [<c030c08c>] (__irq_svc) from [<bf7892a8>] (ieee80211_next_txq+0x44/0x134 [mac80211])
[ 1040.918158] [<bf7892a8>] (ieee80211_next_txq [mac80211]) from [<bf83b388>] (ath10k_mac_op_wake_tx_queue+0x44/0xd4 [ath10k_core])
[ 1040.927119] [<bf83b388>] (ath10k_mac_op_wake_tx_queue [ath10k_core]) from [<bf78c38c>] (ieee80211_unreserve_tid+0x73c/0x106c [mac80211])
[ 1040.938745] [<bf78c38c>] (ieee80211_unreserve_tid [mac80211]) from [<bf790760>] (__ieee80211_subif_start_xmit+0x824/0xa3c [mac80211])
[ 1040.950984] [<bf790760>] (__ieee80211_subif_start_xmit [mac80211]) from [<bf790c64>] (ieee80211_subif_start_xmit+0x2ec/0x30c [mac80211])
[ 1040.962780] [<bf790c64>] (ieee80211_subif_start_xmit [mac80211]) from [<c06d6670>] (dev_hard_start_xmit+0xc8/0x154)
[ 1040.974986] [<c06d6670>] (dev_hard_start_xmit) from [<c06d6e1c>] (__dev_queue_xmit+0x610/0x790)
[ 1040.985148] [<c06d6e1c>] (__dev_queue_xmit) from [<c07be768>] (br_dev_queue_push_xmit+0x118/0x13c)
[ 1040.993821] [<c07be768>] (br_dev_queue_push_xmit) from [<c07bbea8>] (br_dev_xmit+0x2a8/0x2e4)
[ 1041.002848] [<c07bbea8>] (br_dev_xmit) from [<c06d6670>] (dev_hard_start_xmit+0xc8/0x154)
[ 1041.011440] [<c06d6670>] (dev_hard_start_xmit) from [<c06d6e1c>] (__dev_queue_xmit+0x610/0x790)
[ 1041.019601] [<c06d6e1c>] (__dev_queue_xmit) from [<c071d268>] (ip_finish_output2+0x2b8/0x32c)
[ 1041.028103] [<c071d268>] (ip_finish_output2) from [<c071de90>] (ip_output+0xa0/0xb4)
[ 1041.036782] [<c071de90>] (ip_output) from [<c071a738>] (ip_forward+0x320/0x3a4)
[ 1041.044593] [<c071a738>] (ip_forward) from [<c071964c>] (ip_rcv+0x268/0x290)
[ 1041.051626] [<c071964c>] (ip_rcv) from [<c06d5300>] (__netif_receive_skb_core+0xa20/0xbbc)
[ 1041.058924] [<c06d5300>] (__netif_receive_skb_core) from [<c06d77e0>] (netif_receive_skb_internal+0xc0/0xd4)
[ 1041.067064] [<c06d77e0>] (netif_receive_skb_internal) from [<bf307560>] (ifb_ri_tasklet+0x130/0x2d0 [ifb])
[ 1041.077063] [<bf307560>] (ifb_ri_tasklet [ifb]) from [<c03242dc>] (tasklet_action+0xa4/0x130)
[ 1041.086437] [<c03242dc>] (tasklet_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
[ 1041.095028] [<c03015c8>] (__do_softirq) from [<c0324810>] (irq_exit+0xdc/0x148)
[ 1041.102842] [<c0324810>] (irq_exit) from [<c030e4cc>] (handle_IPI+0xb4/0x1ac)
[ 1041.109958] [<c030e4cc>] (handle_IPI) from [<c03014b8>] (gic_handle_irq+0x9c/0xb8)
[ 1041.117247] [<c03014b8>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[ 1041.124705] Exception stack(0xdd461f80 to 0xdd461fc8)
[ 1041.132287] 1f80: 00000001 00000000 00000000 c03151e0 ffffe000 c0b03cbc c0b03c6c 00000000
[ 1041.137325] 1fa0: 00000000 512f04d0 00000000 00000000 dd461fc8 dd461fd0 c030862c c0308630
[ 1041.145461] 1fc0: 60000013 ffffffff
[ 1041.153621] [<c030c08c>] (__irq_svc) from [<c0308630>] (arch_cpu_idle+0x38/0x44)
[ 1041.156932] [<c0308630>] (arch_cpu_idle) from [<c035dde8>] (do_idle+0xe8/0x1bc)
[ 1041.164562] [<c035dde8>] (do_idle) from [<c035e130>] (cpu_startup_entry+0x1c/0x20)
[ 1041.171590] [<c035e130>] (cpu_startup_entry) from [<423017cc>] (0x423017cc)
[ 1046.642677] ath10k_warn: 68 callbacks suppressed
[ 1046.642789] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1046.646429] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1046.653553] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1046.660770] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
...
[ 3008.389926] ath10k_warn: 16 callbacks suppressed
[ 3008.389945] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 3008.393667] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 3008.400787] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 3008.408065] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 3008.415273] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 3008.422680] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 3008.429942] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 3008.437261] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 3008.444481] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 3008.451841] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon


U-Boot 2012.07 [local,local] (Sep 03 2015 - 17:33:28)

U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
...
[ 1586.322105] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1648.916398] ath10k_warn: 4 callbacks suppressed
[ 1648.916413] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1648.919827] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1648.927174] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1648.934447] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1648.941728] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1648.948956] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1648.956355] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1648.963646] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1648.970951] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 1648.978119] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 2137.388904] INFO: rcu_sched self-detected stall on CPU
[ 2137.388979] 	1-...: (2100 ticks this GP) idle=40e/2/0 softirq=19899/19899 fqs=0 
[ 2137.392961] 	 (t=2100 jiffies g=5916 c=5915 q=1)
[ 2137.400522] rcu_sched kthread starved for 2100 jiffies! g5916 c5915 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x402 ->cpu=1
[ 2137.405122] rcu_sched       I    0     8      2 0x00000000
[ 2137.415313] [<c07f6148>] (__schedule) from [<c07f6268>] (schedule+0x88/0xb0)
[ 2137.420676] [<c07f6268>] (schedule) from [<c07fa568>] (schedule_timeout+0x254/0x280)
[ 2137.427896] [<c07fa568>] (schedule_timeout) from [<c0377e30>] (rcu_gp_kthread+0x44c/0x868)
[ 2137.435613] [<c0377e30>] (rcu_gp_kthread) from [<c033e4e4>] (kthread+0x164/0x16c)
[ 2137.443684] [<c033e4e4>] (kthread) from [<c0307d28>] (ret_from_fork+0x14/0x2c)
[ 2137.451240] Sending NMI from CPU 1 to CPUs 0:
[ 2137.459906] NMI backtrace for cpu 0
[ 2137.459914] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.141 #0
[ 2137.459918] Hardware name: Generic DT based system
[ 2137.459923] task: c0b06d80 task.stack: c0b00000
[ 2137.459927] PC is at _raw_spin_lock_bh+0x40/0x58
[ 2137.459932] LR is at ieee80211_txq_schedule_start+0x2c/0x50 [mac80211]
[ 2137.459937] pc : [<c07fb0fc>]    lr : [<bf789670>]    psr: 20000113
[ 2137.459941] sp : c0b01d68  ip : db5d0cd8  fp : db5d1de0
[ 2137.459945] r10: c0b01e80  r9 : 0000012c  r8 : 00000002
[ 2137.459949] r7 : 00000002  r6 : 00000002  r5 : db5d0cc8  r4 : db5d0cf4
[ 2137.459953] r3 : 0000c072  r2 : 0000c073  r1 : 00000000  r0 : db5d0cc8
[ 2137.459958] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[ 2137.459963] Control: 10c5787d  Table: 5d3b006a  DAC: 00000051
[ 2137.459968] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.141 #0
[ 2137.459973] Hardware name: Generic DT based system
[ 2137.459978] [<c030f2c4>] (unwind_backtrace) from [<c030b4c0>] (show_stack+0x14/0x20)
[ 2137.459983] [<c030b4c0>] (show_stack) from [<c07e0898>] (dump_stack+0x88/0x9c)
[ 2137.459987] [<c07e0898>] (dump_stack) from [<c07e6b2c>] (nmi_cpu_backtrace+0xac/0xd8)
[ 2137.459993] [<c07e6b2c>] (nmi_cpu_backtrace) from [<c030e588>] (handle_IPI+0x170/0x1ac)
[ 2137.459998] [<c030e588>] (handle_IPI) from [<c03014b8>] (gic_handle_irq+0x9c/0xb8)
[ 2137.460004] [<c03014b8>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[ 2137.460008] Exception stack(0xc0b01d18 to 0xc0b01d60)
[ 2137.460012] 1d00:                                                       db5d0cc8 00000000
[ 2137.460017] 1d20: 0000c073 0000c072 db5d0cf4 db5d0cc8 00000002 00000002 00000002 0000012c
[ 2137.460022] 1d40: c0b01e80 db5d1de0 db5d0cd8 c0b01d68 bf789670 c07fb0fc 20000113 ffffffff
[ 2137.460027] [<c030c08c>] (__irq_svc) from [<c07fb0fc>] (_raw_spin_lock_bh+0x40/0x58)
[ 2137.460034] [<c07fb0fc>] (_raw_spin_lock_bh) from [<bf789670>] (ieee80211_txq_schedule_start+0x2c/0x50 [mac80211])
[ 2137.460041] [<bf789670>] (ieee80211_txq_schedule_start [mac80211]) from [<bf83b27c>] (ath10k_mac_tx_push_pending+0x4c/0x114 [ath10k_core])
[ 2137.460047] [<bf83b27c>] (ath10k_mac_tx_push_pending [ath10k_core]) from [<bf84bd38>] (ath10k_htt_txrx_compl_task+0x1038/0x10a0 [ath10k_core])
[ 2137.460053] [<bf84bd38>] (ath10k_htt_txrx_compl_task [ath10k_core]) from [<bf897b74>] (ath10k_pci_napi_poll+0x80/0x120 [ath10k_pci])
[ 2137.460059] [<bf897b74>] (ath10k_pci_napi_poll [ath10k_pci]) from [<c06d7c1c>] (net_rx_action+0x144/0x31c)
[ 2137.460064] [<c06d7c1c>] (net_rx_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
[ 2137.460068] [<c03015c8>] (__do_softirq) from [<c0324810>] (irq_exit+0xdc/0x148)
[ 2137.460074] [<c0324810>] (irq_exit) from [<c0369000>] (__handle_domain_irq+0xa8/0xc8)
[ 2137.460079] [<c0369000>] (__handle_domain_irq) from [<c0301488>] (gic_handle_irq+0x6c/0xb8)
[ 2137.460085] [<c0301488>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[ 2137.460089] Exception stack(0xc0b01f48 to 0xc0b01f90)
[ 2137.460093] 1f40:                   00000001 00000000 00000000 c03151e0 ffffe000 c0b03cbc
[ 2137.460098] 1f60: c0b03c6c 00000000 00000000 c0a2da28 00000000 00000000 c0b01f90 c0b01f98
[ 2137.460102] 1f80: c030862c c0308630 60000013 ffffffff
[ 2137.460107] [<c030c08c>] (__irq_svc) from [<c0308630>] (arch_cpu_idle+0x38/0x44)
[ 2137.460112] [<c0308630>] (arch_cpu_idle) from [<c035dde8>] (do_idle+0xe8/0x1bc)
[ 2137.460117] [<c035dde8>] (do_idle) from [<c035e130>] (cpu_startup_entry+0x1c/0x20)
[ 2137.460122] [<c035e130>] (cpu_startup_entry) from [<c0a00cf4>] (start_kernel+0x420/0x42c)
[ 2137.460335] NMI backtrace for cpu 1
[ 2137.781508] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.141 #0
[ 2137.784801] Hardware name: Generic DT based system
[ 2137.791080] [<c030f2c4>] (unwind_backtrace) from [<c030b4c0>] (show_stack+0x14/0x20)
[ 2137.795767] [<c030b4c0>] (show_stack) from [<c07e0898>] (dump_stack+0x88/0x9c)
[ 2137.803658] [<c07e0898>] (dump_stack) from [<c07e6b44>] (nmi_cpu_backtrace+0xc4/0xd8)
[ 2137.810686] [<c07e6b44>] (nmi_cpu_backtrace) from [<c07e6bec>] (nmi_trigger_cpumask_backtrace+0x94/0x138)
[ 2137.818591] [<c07e6bec>] (nmi_trigger_cpumask_backtrace) from [<c0379564>] (rcu_dump_cpu_stacks+0x8c/0xcc)
[ 2137.828139] [<c0379564>] (rcu_dump_cpu_stacks) from [<c0378a78>] (rcu_check_callbacks+0x358/0x858)
[ 2137.837689] [<c0378a78>] (rcu_check_callbacks) from [<c037cdf4>] (update_process_times+0x3c/0x70)
[ 2137.846643] [<c037cdf4>] (update_process_times) from [<c038dea8>] (tick_sched_timer+0x48/0xa4)
[ 2137.855576] [<c038dea8>] (tick_sched_timer) from [<c037d764>] (__hrtimer_run_queues+0xdc/0x1a8)
[ 2137.864080] [<c037d764>] (__hrtimer_run_queues) from [<c037dea0>] (hrtimer_interrupt+0xc0/0x230)
[ 2137.872675] [<c037dea0>] (hrtimer_interrupt) from [<c06a8574>] (msm_timer_interrupt+0x38/0x48)
[ 2137.881699] [<c06a8574>] (msm_timer_interrupt) from [<c036e140>] (handle_percpu_devid_irq+0x84/0x174)
[ 2137.890123] [<c036e140>] (handle_percpu_devid_irq) from [<c03689a4>] (generic_handle_irq+0x28/0x40)
[ 2137.899408] [<c03689a4>] (generic_handle_irq) from [<c0368ffc>] (__handle_domain_irq+0xa4/0xc8)
[ 2137.908259] [<c0368ffc>] (__handle_domain_irq) from [<c0301488>] (gic_handle_irq+0x6c/0xb8)
[ 2137.916937] [<c0301488>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[ 2137.925258] Exception stack(0xdd461a80 to 0xdd461ac8)
[ 2137.932932] 1a80: da4ff000 db5d0ce0 db5d0ce0 da4ff094 db5d0be0 db5d0cc8 00000002 db5d0ce0
[ 2137.937973] 1aa0: 641e87bd fffffff4 00000100 00000000 db5d0ce0 dd461ad0 00000458 bf7892b4
[ 2137.946102] 1ac0: a0000113 ffffffff
[ 2137.954419] [<c030c08c>] (__irq_svc) from [<bf7892b4>] (ieee80211_next_txq+0x50/0x134 [mac80211])
[ 2137.957823] [<bf7892b4>] (ieee80211_next_txq [mac80211]) from [<bf83b388>] (ath10k_mac_op_wake_tx_queue+0x44/0xd4 [ath10k_core])
[ 2137.966851] [<bf83b388>] (ath10k_mac_op_wake_tx_queue [ath10k_core]) from [<bf78c38c>] (ieee80211_unreserve_tid+0x73c/0x106c [mac80211])
[ 2137.978542] [<bf78c38c>] (ieee80211_unreserve_tid [mac80211]) from [<bf790760>] (__ieee80211_subif_start_xmit+0x824/0xa3c [mac80211])
[ 2137.990782] [<bf790760>] (__ieee80211_subif_start_xmit [mac80211]) from [<bf790c64>] (ieee80211_subif_start_xmit+0x2ec/0x30c [mac80211])
[ 2138.002530] [<bf790c64>] (ieee80211_subif_start_xmit [mac80211]) from [<c06d6670>] (dev_hard_start_xmit+0xc8/0x154)
[ 2138.014694] [<c06d6670>] (dev_hard_start_xmit) from [<c06d6e1c>] (__dev_queue_xmit+0x610/0x790)
[ 2138.024854] [<c06d6e1c>] (__dev_queue_xmit) from [<c07be768>] (br_dev_queue_push_xmit+0x118/0x13c)
[ 2138.033526] [<c07be768>] (br_dev_queue_push_xmit) from [<c07bbea8>] (br_dev_xmit+0x2a8/0x2e4)
[ 2138.042555] [<c07bbea8>] (br_dev_xmit) from [<c06d6670>] (dev_hard_start_xmit+0xc8/0x154)
[ 2138.051147] [<c06d6670>] (dev_hard_start_xmit) from [<c06d6e1c>] (__dev_queue_xmit+0x610/0x790)
[ 2138.059309] [<c06d6e1c>] (__dev_queue_xmit) from [<c071d268>] (ip_finish_output2+0x2b8/0x32c)
[ 2138.067809] [<c071d268>] (ip_finish_output2) from [<c071de90>] (ip_output+0xa0/0xb4)
[ 2138.076488] [<c071de90>] (ip_output) from [<c071a738>] (ip_forward+0x320/0x3a4)
[ 2138.084297] [<c071a738>] (ip_forward) from [<c071964c>] (ip_rcv+0x268/0x290)
[ 2138.091330] [<c071964c>] (ip_rcv) from [<c06d5300>] (__netif_receive_skb_core+0xa20/0xbbc)
[ 2138.098630] [<c06d5300>] (__netif_receive_skb_core) from [<c06d77e0>] (netif_receive_skb_internal+0xc0/0xd4)
[ 2138.106779] [<c06d77e0>] (netif_receive_skb_internal) from [<bf307560>] (ifb_ri_tasklet+0x130/0x2d0 [ifb])
[ 2138.116786] [<bf307560>] (ifb_ri_tasklet [ifb]) from [<c03242dc>] (tasklet_action+0xa4/0x130)
[ 2138.126141] [<c03242dc>] (tasklet_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
[ 2138.134732] [<c03015c8>] (__do_softirq) from [<c0324810>] (irq_exit+0xdc/0x148)
[ 2138.142545] [<c0324810>] (irq_exit) from [<c030e4cc>] (handle_IPI+0xb4/0x1ac)
[ 2138.149662] [<c030e4cc>] (handle_IPI) from [<c03014b8>] (gic_handle_irq+0x9c/0xb8)
[ 2138.156952] [<c03014b8>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[ 2138.164406] Exception stack(0xdd461f80 to 0xdd461fc8)
[ 2138.171997] 1f80: 00000001 00000000 00000000 c03151e0 ffffe000 c0b03cbc c0b03c6c 00000000
[ 2138.177036] 1fa0: 00000000 512f04d0 00000000 00000000 dd461fc8 dd461fd0 c030862c c0308630
[ 2138.185165] 1fc0: 60000013 ffffffff
[ 2138.193329] [<c030c08c>] (__irq_svc) from [<c0308630>] (arch_cpu_idle+0x38/0x44)
[ 2138.196635] [<c0308630>] (arch_cpu_idle) from [<c035dde8>] (do_idle+0xe8/0x1bc)
[ 2138.204266] [<c035dde8>] (do_idle) from [<c035e130>] (cpu_startup_entry+0x1c/0x20)
[ 2138.211296] [<c035e130>] (cpu_startup_entry) from [<423017cc>] (0x423017cc)


U-Boot 2012.07 [local,local] (Sep 03 2015 - 17:33:28)

U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
...
[ 1959.222624] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 2044.726720] ath10k_warn: 14 callbacks suppressed
[ 2044.726753] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 2044.730547] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 2044.737596] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 2044.744787] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 2044.752171] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 2044.759480] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 2044.766687] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 2044.774034] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 2044.781347] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 2044.788630] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 2065.797413] INFO: rcu_sched self-detected stall on CPU
[ 2065.797484] 	1-...: (1 GPs behind) idle=922/140000000000001/0 softirq=12309/12310 fqs=2 
[ 2065.801469] 	 (t=2100 jiffies g=5877 c=5876 q=24)
[ 2065.809724] rcu_sched kthread starved for 2095 jiffies! g5877 c5876 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x402 ->cpu=0
[ 2065.814324] rcu_sched       I    0     8      2 0x00000000
[ 2065.824602] [<c07f6148>] (__schedule) from [<c07f6268>] (schedule+0x88/0xb0)
[ 2065.829965] [<c07f6268>] (schedule) from [<c07fa568>] (schedule_timeout+0x254/0x280)
[ 2065.837182] [<c07fa568>] (schedule_timeout) from [<c0377e30>] (rcu_gp_kthread+0x44c/0x868)
[ 2065.844900] [<c0377e30>] (rcu_gp_kthread) from [<c033e4e4>] (kthread+0x164/0x16c)
[ 2065.852973] [<c033e4e4>] (kthread) from [<c0307d28>] (ret_from_fork+0x14/0x2c)
[ 2065.860514] NMI backtrace for cpu 1
[ 2065.867618] CPU: 1 PID: 14 Comm: ksoftirqd/1 Not tainted 4.14.141 #0
[ 2065.870999] Hardware name: Generic DT based system
[ 2065.877631] [<c030f2c4>] (unwind_backtrace) from [<c030b4c0>] (show_stack+0x14/0x20)
[ 2065.882229] [<c030b4c0>] (show_stack) from [<c07e0898>] (dump_stack+0x88/0x9c)
[ 2065.890119] [<c07e0898>] (dump_stack) from [<c07e6b44>] (nmi_cpu_backtrace+0xc4/0xd8)
[ 2065.897146] [<c07e6b44>] (nmi_cpu_backtrace) from [<c07e6bec>] (nmi_trigger_cpumask_backtrace+0x94/0x138)
[ 2065.905048] [<c07e6bec>] (nmi_trigger_cpumask_backtrace) from [<c0379564>] (rcu_dump_cpu_stacks+0x8c/0xcc)
[ 2065.914597] [<c0379564>] (rcu_dump_cpu_stacks) from [<c0378a78>] (rcu_check_callbacks+0x358/0x858)
[ 2065.924149] [<c0378a78>] (rcu_check_callbacks) from [<c037cdf4>] (update_process_times+0x3c/0x70)
[ 2065.933101] [<c037cdf4>] (update_process_times) from [<c038dea8>] (tick_sched_timer+0x48/0xa4)
[ 2065.942036] [<c038dea8>] (tick_sched_timer) from [<c037d764>] (__hrtimer_run_queues+0xdc/0x1a8)
[ 2065.950537] [<c037d764>] (__hrtimer_run_queues) from [<c037dea0>] (hrtimer_interrupt+0xc0/0x230)
[ 2065.959130] [<c037dea0>] (hrtimer_interrupt) from [<c06a8574>] (msm_timer_interrupt+0x38/0x48)
[ 2065.968156] [<c06a8574>] (msm_timer_interrupt) from [<c036e140>] (handle_percpu_devid_irq+0x84/0x174)
[ 2065.976584] [<c036e140>] (handle_percpu_devid_irq) from [<c03689a4>] (generic_handle_irq+0x28/0x40)
[ 2065.985869] [<c03689a4>] (generic_handle_irq) from [<c0368ffc>] (__handle_domain_irq+0xa4/0xc8)
[ 2065.994718] [<c0368ffc>] (__handle_domain_irq) from [<c0301488>] (gic_handle_irq+0x6c/0xb8)
[ 2066.003397] [<c0301488>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[ 2066.011717] Exception stack(0xdd471aa0 to 0xdd471ae8)
[ 2066.019391] 1aa0: 651774f6 fffffff6 00000002 db8ff094 dbe68be0 dbe68cc8 00000002 dbe68ce0
[ 2066.024432] 1ac0: 651773f6 fffffff6 00000100 00000000 dbe68ce0 dd471af0 00000458 bf7892fc
[ 2066.032560] 1ae0: 00000013 ffffffff
[ 2066.040926] [<c030c08c>] (__irq_svc) from [<bf7892fc>] (ieee80211_next_txq+0x98/0x134 [mac80211])
[ 2066.044410] [<bf7892fc>] (ieee80211_next_txq [mac80211]) from [<bf83b388>] (ath10k_mac_op_wake_tx_queue+0x44/0xd4 [ath10k_core])
[ 2066.053368] [<bf83b388>] (ath10k_mac_op_wake_tx_queue [ath10k_core]) from [<bf78c38c>] (ieee80211_unreserve_tid+0x73c/0x106c [mac80211])
[ 2066.064999] [<bf78c38c>] (ieee80211_unreserve_tid [mac80211]) from [<bf790760>] (__ieee80211_subif_start_xmit+0x824/0xa3c [mac80211])
[ 2066.077239] [<bf790760>] (__ieee80211_subif_start_xmit [mac80211]) from [<bf790c64>] (ieee80211_subif_start_xmit+0x2ec/0x30c [mac80211])
[ 2066.088993] [<bf790c64>] (ieee80211_subif_start_xmit [mac80211]) from [<c06d6670>] (dev_hard_start_xmit+0xc8/0x154)
[ 2066.101151] [<c06d6670>] (dev_hard_start_xmit) from [<c06d6e1c>] (__dev_queue_xmit+0x610/0x790)
[ 2066.111311] [<c06d6e1c>] (__dev_queue_xmit) from [<c07be768>] (br_dev_queue_push_xmit+0x118/0x13c)
[ 2066.119984] [<c07be768>] (br_dev_queue_push_xmit) from [<c07bbea8>] (br_dev_xmit+0x2a8/0x2e4)
[ 2066.129012] [<c07bbea8>] (br_dev_xmit) from [<c06d6670>] (dev_hard_start_xmit+0xc8/0x154)
[ 2066.137604] [<c06d6670>] (dev_hard_start_xmit) from [<c06d6e1c>] (__dev_queue_xmit+0x610/0x790)
[ 2066.145765] [<c06d6e1c>] (__dev_queue_xmit) from [<c071d268>] (ip_finish_output2+0x2b8/0x32c)
[ 2066.154267] [<c071d268>] (ip_finish_output2) from [<c071de90>] (ip_output+0xa0/0xb4)
[ 2066.162944] [<c071de90>] (ip_output) from [<c071a738>] (ip_forward+0x320/0x3a4)
[ 2066.170754] [<c071a738>] (ip_forward) from [<c071964c>] (ip_rcv+0x268/0x290)
[ 2066.177788] [<c071964c>] (ip_rcv) from [<c06d5300>] (__netif_receive_skb_core+0xa20/0xbbc)
[ 2066.185091] [<c06d5300>] (__netif_receive_skb_core) from [<c06d77e0>] (netif_receive_skb_internal+0xc0/0xd4)
[ 2066.193234] [<c06d77e0>] (netif_receive_skb_internal) from [<bf307560>] (ifb_ri_tasklet+0x130/0x2d0 [ifb])
[ 2066.203244] [<bf307560>] (ifb_ri_tasklet [ifb]) from [<c03242dc>] (tasklet_action+0xa4/0x130)
[ 2066.212598] [<c03242dc>] (tasklet_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
[ 2066.221189] [<c03015c8>] (__do_softirq) from [<c03244f0>] (run_ksoftirqd+0x34/0x64)
[ 2066.229018] [<c03244f0>] (run_ksoftirqd) from [<c0341958>] (smpboot_thread_fn+0x1a8/0x1d0)
[ 2066.236473] [<c0341958>] (smpboot_thread_fn) from [<c033e4e4>] (kthread+0x164/0x16c)
[ 2066.244806] [<c033e4e4>] (kthread) from [<c0307d28>] (ret_from_fork+0x14/0x2c)


U-Boot 2012.07 [local,local] (Sep 03 2015 - 17:33:28)

U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
...
[ 4136.836347] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4577.295230] ath10k_warn: 74 callbacks suppressed
[ 4577.295248] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4577.298971] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4577.306670] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4577.313344] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4619.346522] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4619.346599] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4619.352852] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4619.359999] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4619.367340] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4619.374644] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4619.381921] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4619.389468] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4619.396469] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 4619.403768] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon


U-Boot 2012.07 [local,local] (Sep 03 2015 - 17:33:28)

U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
...




04.09.20192478Base systemBug ReportVery LowHighTP-Link CPE210v3 wifi not workingTrunkUnconfirmed Task Description

same bug as FS#2333 but occurs on CPE 210 v3 as well

- Device problem occurs on
TP-Link CPE 210v3

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

- Steps to reproduce
Migrated from ar71xx to ath79 with fresh settings.

Clients can’t see the AP and “iw dev wlan0 scan” is returning nothing. Wifi doesn’t seem to work.

wifi bug hint: seen somebody mentioned in CPE210 bug threads different irqs

wifi not working:

ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=12

wifi working:

ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47

iwinfo

root@OpenWrt:~# iwinfo
wlan0     ESSID: unknown
          Access Point: 98:DA:C4:5B:9C:26
          Mode: Client  Channel: unknown (unknown)
          Tx-Power: 3 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: unknown [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

iw phy

root@OpenWrt:~# iw phy
Wiphy phy0
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports AP-side u-APSD.
        Device supports T-DLS.
        Available Antennas: TX 0x3 RX 0x3
        Configured Antennas: TX 0x3 RX 0x3
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
                 * outside context of a BSS
        Band 1:
                Capabilities: 0x11ef
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-15
                Frequencies:
                        * 2412 MHz [1] (25.0 dBm)
                        * 2417 MHz [2] (25.0 dBm)
                        * 2422 MHz [3] (25.0 dBm)
                        * 2427 MHz [4] (25.0 dBm)
                        * 2432 MHz [5] (25.0 dBm)
                        * 2437 MHz [6] (25.0 dBm)
                        * 2442 MHz [7] (25.0 dBm)
                        * 2447 MHz [8] (25.0 dBm)
                        * 2452 MHz [9] (25.0 dBm)
                        * 2457 MHz [10] (25.0 dBm)
                        * 2462 MHz [11] (25.0 dBm)
                        * 2467 MHz [12] (disabled)
                        * 2472 MHz [13] (disabled)
                        * 2484 MHz [14] (disabled)
        valid interface combinations:
                 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
                   total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }

        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Supported extended features:
                * [ RRM ]: RRM
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
                * [ TXQS ]: FQ-CoDel-enabled intermediate TXQs

uci show wireless

root@OpenWrt:~# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.channel='11'
wireless.radio0.hwmode='11g'
wireless.radio0.path='platform/ahb/18100000.wmac'
wireless.radio0.htmode='HT20'
wireless.radio0.disabled='1'
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='OpenWrt'
wireless.default_radio0.encryption='none'

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

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

Description:

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

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

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

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

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

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

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

--- 2001:4860:4860::8888 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 15.708/16.272/17.387 ms
27.08.20192467Base systemBug ReportVery LowMediumRemote desktop unusale with flow offloadingopenwrt-18.06Unconfirmed Task Description

Hi,

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

If I disable flow offload, everything works fine.

I’ll try to look tcpdump/wireshark captures.

Thanks,
Laszlo


27.08.20192466Base systemBug ReportVery LowLowDFS channel iwinfo dev scan hangTrunkUnconfirmed Task Description

when a wireless card work in ap mode
the system have only one card
the device name wlan0
the ap worked at dfs channe such as 54 56 58 60 62 64
run iwinfo wlan1 scan
the cmd hang block

 


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

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

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

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

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

                interface_ip_set_enabled(&if_old->config_ip, false);
                interface_ip_set_enabled(&if_old->proto_ip, false);
                interface_ip_set_enabled(&if_old->proto_ip, proto_ip_enabled);
                interface_ip_set_enabled(&if_old->config_ip, config_ip_enabled);
        }
24.08.20192462Base systemBug ReportVery LowHighwrt32x WIFI was breaking on 2 sec I did not get full co...AllUnconfirmed Task Description

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

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

19.08.20192454Base systemBug ReportVery LowLowlibopenssl: Compile error with "Enable Engine support" ...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

All

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

Latest OpenWRT Trunk

- Steps to reproduce

Try to build a image with “Enable Engine support” enabled and the compilation will spit out an error. Tried to debug it but couldn’t

 configure: WARNING: rpmbuild not found, some optional functionalities will be missing
configure: creating ./config.status
config.status: creating Makefile

quilt version 0.65 configured.

Using '/mnt/sdb/ss_mod/staging_dir/host' for installation prefix.

Report bugs to quilt-dev@nongnu.org
[ -f /mnt/sdb/ss_mod/build_dir/host/quilt-0.65/Makefile ]
touch /mnt/sdb/ss_mod/build_dir/host/quilt-0.65/.configured
make -C /mnt/sdb/ss_mod/build_dir/host/quilt-0.65 SHELL="bash" all
make[4]: Entering directory '/mnt/sdb/ss_mod/build_dir/host/quilt-0.65'
bin/quilt.in -> bin/quilt
bin/guards.in -> bin/guards
quilt/mail.in -> quilt/mail
quilt/upgrade.in -> quilt/upgrade
quilt/refresh.in -> quilt/refresh
quilt/fold.in -> quilt/fold
quilt/files.in -> quilt/files
quilt/revert.in -> quilt/revert
quilt/top.in -> quilt/top
quilt/header.in -> quilt/header
quilt/remove.in -> quilt/remove
quilt/annotate.in -> quilt/annotate
quilt/diff.in -> quilt/diff
quilt/applied.in -> quilt/applied
quilt/graph.in -> quilt/graph
quilt/edit.in -> quilt/edit
quilt/pop.in -> quilt/pop
quilt/fork.in -> quilt/fork
quilt/delete.in -> quilt/delete
quilt/new.in -> quilt/new
quilt/import.in -> quilt/import
quilt/previous.in -> quilt/previous
quilt/grep.in -> quilt/grep
quilt/series.in -> quilt/series
quilt/patches.in -> quilt/patches
quilt/snapshot.in -> quilt/snapshot
quilt/add.in -> quilt/add
quilt/push.in -> quilt/push
quilt/setup.in -> quilt/setup
quilt/rename.in -> quilt/rename
quilt/next.in -> quilt/next
quilt/unapplied.in -> quilt/unapplied
quilt/scripts/patchfns.in -> quilt/scripts/patchfns
quilt/scripts/inspect-wrapper.in -> quilt/scripts/inspect-wrapper
quilt/scripts/dependency-graph.in -> quilt/scripts/dependency-graph
quilt/scripts/edmail.in -> quilt/scripts/edmail
quilt/scripts/remove-trailing-ws.in -> quilt/scripts/remove-trailing-ws
quilt/scripts/backup-files.in -> quilt/scripts/backup-files
README.in -> README
quilt.1.in -> quilt.1
/usr/bin/pod2man bin/guards > bin/guards.1
rm -f po/quilt.pot; touch po/quilt.pot
for file in bin/guards.in bin/quilt.in bin/patch-wrapper.in quilt/mail.in quilt/upgrade.in quilt/refresh.in quilt/fold.in quilt/files.in quilt/revert.in quilt/top.in quilt/header.in quilt/remove.in quilt/annotate.in quilt/diff.in quilt/applied.in quilt/graph.in quilt/edit.in quilt/pop.in quilt/fork.in quilt/delete.in quilt/new.in quilt/import.in quilt/previous.in quilt/grep.in quilt/series.in quilt/patches.in quilt/snapshot.in quilt/add.in quilt/push.in quilt/setup.in quilt/rename.in quilt/next.in quilt/unapplied.in compat/column.in compat/date.in compat/getopt.in compat/mktemp.in compat/sendmail.in quilt/scripts/backup-files.in quilt/scripts/patchfns.in quilt/scripts/remove-trailing-ws.in quilt/scripts/inspect-wrapper.in quilt/scripts/edmail.in quilt/scripts/dependency-graph.in ; do						\
  if test -n "`/mnt/sdb/ss_mod/staging_dir/host/bin/sed -ne '1{ /@BASH''@/p }' $file`"		\
       -o "$file" = quilt/scripts/patchfns.in; then		\
    /usr/bin/env bash --dump-po-strings $file ;				\
  elif test -n "`/mnt/sdb/ss_mod/staging_dir/host/bin/sed -ne '1{ /@PERL''@/p }' $file`"; then	\
    /usr/bin/xgettext --from-code=UTF-8 --omit-header --language=Perl	\
		--keyword=_ -o - $file;			\
  else								\
    echo "Don't know how to handle $file" >&2 ;		\
    exit 1;							\
  fi								\
done								\
|/usr/bin/msguniq							\
|/usr/bin/msgcat --force-po -F - po/quilt.pot -o po/quilt.pot
/usr/bin/msgmerge -o po/fr.po po/fr.po po/quilt.pot
..................... done.
/usr/bin/msgfmt --statistics -o po/fr.mo po/fr.po
182 translated messages.
/usr/bin/msgmerge -o po/de.po po/de.po po/quilt.pot
..................... done.
/usr/bin/msgfmt --statistics -o po/de.mo po/de.po
182 translated messages.
/usr/bin/msgmerge -o po/ja.po po/ja.po po/quilt.pot
...................... done.
/usr/bin/msgfmt --statistics -o po/ja.mo po/ja.po
182 translated messages.
/usr/bin/msgmerge -o po/ru.po po/ru.po po/quilt.pot
...................... done.
/usr/bin/msgfmt --statistics -o po/ru.mo po/ru.po
182 translated messages.
make[4]: Leaving directory '/mnt/sdb/ss_mod/build_dir/host/quilt-0.65'
touch /mnt/sdb/ss_mod/build_dir/host/quilt-0.65/.built
make -C /mnt/sdb/ss_mod/build_dir/host/quilt-0.65 SHELL="bash" install
make[4]: Entering directory '/mnt/sdb/ss_mod/build_dir/host/quilt-0.65'
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/bin
/usr/bin/install -c -m 755 bin/quilt bin/guards /mnt/sdb/ss_mod/staging_dir/host/bin/
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/share/quilt
/usr/bin/install -c -m 755 quilt/mail quilt/add quilt/upgrade quilt/patches quilt/refresh quilt/fold quilt/diff quilt/files quilt/revert quilt/top quilt/header quilt/remove quilt/annotate quilt/applied quilt/graph quilt/edit quilt/pop quilt/fork quilt/delete quilt/new quilt/previous quilt/grep quilt/series quilt/import quilt/snapshot quilt/push quilt/setup quilt/rename quilt/next quilt/unapplied /mnt/sdb/ss_mod/staging_dir/host/share/quilt/
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/share/quilt/scripts
/usr/bin/install -c -m 755 quilt/scripts/inspect-wrapper quilt/scripts/dependency-graph quilt/scripts/edmail quilt/scripts/remove-trailing-ws quilt/scripts/backup-files		\
	   /mnt/sdb/ss_mod/staging_dir/host/share/quilt/scripts
/usr/bin/install -c -m 644 quilt/scripts/patchfns quilt/scripts/utilfns	\
	   /mnt/sdb/ss_mod/staging_dir/host/share/quilt/scripts
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/share/doc/quilt/
/usr/bin/install -c -m 644 doc/README					\
	   /mnt/sdb/ss_mod/staging_dir/host/share/doc/quilt/
/usr/bin/install -c -m 644 doc/quilt.pdf doc/README.MAIL			\
	   /mnt/sdb/ss_mod/staging_dir/host/share/doc/quilt/
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/share/man/man1
/usr/bin/install -c -m 644 doc/quilt.1 bin/guards.1 /mnt/sdb/ss_mod/staging_dir/host/share/man/man1/
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/etc
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/etc/bash_completion.d
/usr/bin/install -c -m 644 bash_completion				\
	   /mnt/sdb/ss_mod/staging_dir/host/etc/bash_completion.d/quilt
/usr/bin/install -c -m 644 quilt.quiltrc /mnt/sdb/ss_mod/staging_dir/host/etc/
/usr/bin/install -c -d /mnt/sdb/ss_mod/staging_dir/host/share/emacs/site-lisp/
/usr/bin/install -c -m 644 lib/quilt.el /mnt/sdb/ss_mod/staging_dir/host/share/emacs/site-lisp/
for lang in fr de ja ru ; do					\
	dir=/mnt/sdb/ss_mod/staging_dir/host/share/locale/$lang/LC_MESSAGES;	\
	/usr/bin/install -c -d $dir;					\
	/usr/bin/install -c -m 644 po/$lang.mo				\
	    $dir/quilt.mo ;					\
done
rm -rf /mnt/sdb/ss_mod/staging_dir/host/share/quilt/compat
make[4]: Leaving directory '/mnt/sdb/ss_mod/build_dir/host/quilt-0.65'
mkdir -p /mnt/sdb/ss_mod/staging_dir/host/stamp
touch /mnt/sdb/ss_mod/build_dir/host/quilt-0.65/.built
touch /mnt/sdb/ss_mod/staging_dir/host/stamp/.quilt_installed
make[3]: Leaving directory '/mnt/sdb/ss_mod/tools/quilt'
time: tools/quilt/compile#3.52#1.32#6.42
make[3]: Entering directory '/mnt/sdb/ss_mod/tools/padjffs2'
mkdir -p /mnt/sdb/ss_mod/build_dir/host/padjffs2-1
cp -fpR ./src/* /mnt/sdb/ss_mod/build_dir/host/padjffs2-1/
find /mnt/sdb/ss_mod/build_dir/host/padjffs2-1 -name .svn | xargs -r rm -rf
touch /mnt/sdb/ss_mod/build_dir/host/padjffs2-1/.preparedecc7edeb6ada6b3bdcdbd188ed1d7abb_6664517399ebbbc92a37c5bb081b5c53
touch /mnt/sdb/ss_mod/build_dir/host/padjffs2-1/.configured
make -C /mnt/sdb/ss_mod/build_dir/host/padjffs2-1
make[4]: Entering directory '/mnt/sdb/ss_mod/build_dir/host/padjffs2-1'
gcc  -Wall -Werror -c -o padjffs2.o padjffs2.c
gcc  -o padjffs2 padjffs2.o
make[4]: Leaving directory '/mnt/sdb/ss_mod/build_dir/host/padjffs2-1'
touch /mnt/sdb/ss_mod/build_dir/host/padjffs2-1/.built
cp -fpR /mnt/sdb/ss_mod/build_dir/host/padjffs2-1/padjffs2 /mnt/sdb/ss_mod/staging_dir/host/bin/
mkdir -p /mnt/sdb/ss_mod/staging_dir/host/stamp
touch /mnt/sdb/ss_mod/build_dir/host/padjffs2-1/.built
touch /mnt/sdb/ss_mod/staging_dir/host/stamp/.padjffs2_installed
make[3]: Leaving directory '/mnt/sdb/ss_mod/tools/padjffs2'
time: tools/padjffs2/compile#0.21#0.08#0.43
make[3]: Entering directory '/mnt/sdb/ss_mod/tools/mm-macros'
. /mnt/sdb/ss_mod/include/shell.sh; xzcat /mnt/sdb/ss_mod/dl/mm-common-0.9.12.tar.xz | tar -C /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/* /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12
touch /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/.preparedb57a3a4d3d4ac73305a42c848cc7171b_6664517399ebbbc92a37c5bb081b5c53
(cd /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/; if [ -x configure ]; then cp -fpR /mnt/sdb/ss_mod/scripts/config.{guess,sub} /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12// && CC="gcc" CFLAGS="-O2 -I/mnt/sdb/ss_mod/staging_dir/host/include " CXX="g++" CPPFLAGS="-I/mnt/sdb/ss_mod/staging_dir/host/include " LDFLAGS="-L/mnt/sdb/ss_mod/staging_dir/host/lib " CONFIG_SHELL="/usr/bin/env bash"  bash ./configure --target=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/mnt/sdb/ss_mod/staging_dir/host --exec-prefix=/mnt/sdb/ss_mod/staging_dir/host --sysconfdir=/mnt/sdb/ss_mod/staging_dir/host/etc --localstatedir=/mnt/sdb/ss_mod/staging_dir/host/var --sbindir=/mnt/sdb/ss_mod/staging_dir/host/bin ; fi )
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... /mnt/sdb/ss_mod/staging_dir/host/bin/sed
checking for tar... tar
checking whether to download libstdc++ tags... no
checking for curl... no
checking for wget... wget
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doctags/mm-common-libstdc++.pc
config.status: creating doctags/mm-common-libstdc++-uninstalled.pc
config.status: creating macros/mm-common.m4
config.status: creating util/mm-common-prepare
config.status: creating util/mm-common-util.pc
config.status: creating util/mm-common-util-uninstalled.pc
touch /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/.configured
CFLAGS="-O2 -I/mnt/sdb/ss_mod/staging_dir/host/include " CPPFLAGS="-I/mnt/sdb/ss_mod/staging_dir/host/include " CXXFLAGS="" LDFLAGS="-L/mnt/sdb/ss_mod/staging_dir/host/lib " make -j1 -C /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12  
make[4]: Entering directory '/mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12'
/mnt/sdb/ss_mod/staging_dir/host/bin/sed 's|[@]PACKAGE_STRING[@]|mm-common 0.9.12|g;s|[@]docdir[@]|/mnt/sdb/ss_mod/staging_dir/host/share/doc/mm-common|g' ./util/mm-common-prepare.1.in >util/mm-common-prepare.1
(cd . >/dev/null && tar chof - skeletonmm/autogen.sh skeletonmm/codegen/generate_defs_and_docs.sh skeletonmm/.gitignore skeletonmm/AUTHORS skeletonmm/COPYING skeletonmm/ChangeLog skeletonmm/Makefile.am skeletonmm/README skeletonmm/configure.ac skeletonmm/skeletonmm.doap skeletonmm/build/.gitignore skeletonmm/codegen/Makefile.am skeletonmm/codegen/extradefs/generate_extra_defs_skeleton.cc skeletonmm/codegen/m4/convert.m4 skeletonmm/codegen/m4/convert_skeleton.m4 skeletonmm/codegen/m4/filelist.am skeletonmm/doc/Makefile.am skeletonmm/doc/reference/.gitignore skeletonmm/doc/reference/Doxyfile.in skeletonmm/examples/.gitignore skeletonmm/examples/Makefile.am skeletonmm/examples/example/example.cc skeletonmm/skeleton/.gitignore skeletonmm/skeleton/skeletonmm-uninstalled.pc.in skeletonmm/skeleton/skeletonmm.h skeletonmm/skeleton/skeletonmm.pc.in skeletonmm/skeleton/skeletonmmconfig.h.in skeletonmm/skeleton/skeletonmm/Makefile.am skeletonmm/skeleton/skeletonmm/filelist.am skeletonmm/skeleton/skeletonmm/wrap_init.h skeletonmm/skeleton/skeletonmm/private/.gitignore skeletonmm/skeleton/src/Makefile.am skeletonmm/skeleton/src/filelist.am skeletonmm/skeleton/src/skeleton.ccg skeletonmm/skeleton/src/skeleton.defs skeletonmm/skeleton/src/skeleton.hg skeletonmm/skeleton/src/skeleton_docs.xml skeletonmm/skeleton/src/skeleton_enum.defs skeletonmm/skeleton/src/skeleton_method.defs skeletonmm/skeleton/src/skeleton_signal.defs skeletonmm/skeleton/src/skeleton_vfunc.defs) | gzip -c -n >skeletonmm.tar.gz
make[4]: Leaving directory '/mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12'
touch /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/.built
install -d -m0755 /mnt/sdb/ss_mod/staging_dir/host/share/aclocal
install -m0644 /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/macros/*.m4 /mnt/sdb/ss_mod/staging_dir/host/share/aclocal/
mkdir -p /mnt/sdb/ss_mod/staging_dir/host/stamp
touch /mnt/sdb/ss_mod/build_dir/host/mm-common-0.9.12/.built
touch /mnt/sdb/ss_mod/staging_dir/host/stamp/.mm-macros_installed
make[3]: Leaving directory '/mnt/sdb/ss_mod/tools/mm-macros'
time: tools/mm-macros/compile#0.78#0.35#2.27
make[3]: Entering directory '/mnt/sdb/ss_mod/tools/scons'
./files/pywrap.sh /mnt/sdb/ss_mod/build_dir/host/scons-3.1.1/setup.py install --prefix=/mnt/sdb/ss_mod/staging_dir/host
Traceback (most recent call last):
  File "/mnt/sdb/ss_mod/build_dir/host/scons-3.1.1/setup.py", line 26, in <module>
    import distutils.command.build_scripts
ModuleNotFoundError: No module named 'distutils.command'
make[3]: *** [Makefile:35: /mnt/sdb/ss_mod/staging_dir/host/stamp/.scons_installed] Error 1
make[3]: Leaving directory '/mnt/sdb/ss_mod/tools/scons'
time: tools/scons/compile#0.24#0.06#0.35
make[2]: *** [tools/Makefile:159: tools/scons/compile] Error 2
make[2]: Leaving directory '/mnt/sdb/ss_mod'
make[1]: *** [tools/Makefile:155: /mnt/sdb/ss_mod/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/stamp/.tools_compile_yynyynnyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynnyyy] Error 2
make[1]: Leaving directory '/mnt/sdb/ss_mod'
make: *** [/mnt/sdb/ss_mod/include/toplevel.mk:218: world] Error 2
19.08.20192452Base systemBug ReportVery LowLowConfig backup archive contains uhttpd key and certifica...AllUnconfirmed Task Description

Device problem occurs on: All
Software versions of OpenWrt/LEDE release, packages, etc: Every version I tried since at least Barrier Breaker
Steps to reproduce:
1. Install LuCI
2. Log in to LuCI and go to System - Backup/Flash Firmware
3. Click “Generate archive” and download the config backup archive (backup-hostname-date.tar.gz) file
4. List the contents of that archive (ie. tar -tvzf backup-hostname-date.tar.gz)
5. etc/uhttpd.key and etc/uhttpd.crt files are contained twice in the archive

It’s just a cosmetic bug, but it is one I have been wondering about for years :)

18.08.20192449Base systemFeature RequestVery LowLow[u-boot] enable GPT supportTrunkUnconfirmed Task Description
  • kernel target: mvebujavascript:void(0);
  • u-boot target: clearfrog

—-

Whilst source provides GPT support (probably since around 2012) it seems to be lacking downstream however, indicated by:

  • attempt to boot from GPT device producing (which would be logical if u-boot does not understand the partition layout in the first place)
** Unrecognized filesystem type **

—-

MBR appears nowadays often being referred to as legacy partition table, also being less secure and less capable in comparison to GPT and thus this feature suggestion.

If I had coding abilities I would have certainly produced a PR instead of opening this task. Just got as far as discovering the build conf for u-boot https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mvebu/Makefile;hb=552c48ea4375420cf3db1f91038a3f4eca47361b but then getting lost, also when trying to compare to source code.

17.08.20192447Base systemFeature RequestVery LowLow[block mount] add label as option identifier to fstabTrunkUnconfirmed Task Description

Whilst the swap section in fstab features label such is curiously not available for mounting other fs.

It would be handy to able to mount partitions by their label (identifier) and thus this feature suggestion.

 


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

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

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

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

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

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
	0     0 ACCEPT     all      lo     *       ::/0                 ::/0                 /* !fw3 */
	1    80 input_rule  all      *      *       ::/0                 ::/0                 /* !fw3: Custom input rule chain */
	0     0 ACCEPT     all      *      *       ::/0                 ::/0                 ctstate RELATED,ESTABLISHED /* !fw3 */
	1    80 syn_flood  tcp      *      *       ::/0                 ::/0                 tcp flags:0x17/0x02 /* !fw3 */
	1    80 zone_wan_input  all      eth0   *       ::/0                 ::/0                 /* !fw3 */
15.08.20192444Base systemBug ReportVery LowMediumLUCI does not accept IPv6 as syslog server nor DNS Nameopenwrt-18.06Unconfirmed Task Description

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

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

13.08.20192442Base systemBug ReportVery LowLoweth0 doesn't work on ath79 and AR7240 Rev 2 for ubnt-bu...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Ubiquiti Bullet M with AR7240 Rev 2 (AR7241 works fine)

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

first noticed in March 2019, replicated today on reboot-10753-gbcfd1d7685

- Steps to reproduce

Plug an ethernet cable, try to pass traffic, check interface status.

# dmesg | grep eth
[ 1.259129] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:1f:04 [uid=00000000, driver=Generic PHY]
[ 1.269672] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[ 8.504454] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 27.608176] br-pub: port 1(eth0) entered blocking state
[ 27.613435] br-pub: port 1(eth0) entered disabled state
[ 27.619234] device eth0 entered promiscuous mode

Works fine on ar71xx. On IRC:

2019-02-24 17:53 gch981213: russell–: ar71xx has the ability to auto-detect many things but ath79 doesn’t. ar7240 and ar7241 can’t share the same dts on arh79 but they can use the same piece of machine code in ar71xx.

How to sensibly support both AR7240 and AR7241 in ath79 considering it is not easy to distinguish them externally?


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

Available keyboard shortcuts

Tasklist

Task Details

Task Editing