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.

Opened  descIDCategoryTask TypePrioritySeveritySummaryReported InStatus
18.04.20192241Base systemBug ReportVery LowLowRegression for dnsmasq config option add_wan_fqdnTrunkUnconfirmed Task Description

When dnsmasq’s init script is invoked via the boot process, the UCI config option add_wan_fqdn is no longer effective. The content of /tmp/hosts/dhcp.<sect> only contains:

# auto-generated config file from /etc/config/dhcp

If dnsmasq is restarted after the network is up, it works as expected.

This is caused by commit ecd954d5302b2d135005ca68c206bb2d544b0bde, which adds some conditions to the service triggers, one being the ignore option must be disabled.
The add_wan_fqdn option only takes effect when the ignore option is enabled.

The commit message suggests the condition was added in reverse:

if the value of the ignore option is set to 0, then the corresponding interface trigger is not installed. Otherwise, if the ignore option value is 1, then procd_add_interface_trigger is called which adds the interface trigger.

I’ve confirmed that reversing the condition fixes the problem, and have attached a patch for this.

17.04.20192240Base systemBug ReportVery LowHighLantiq: AVM FRITZ!Box 7320 only one ETH port is workingAllUnconfirmed Task Description

Router has 2 ethernet ports, but the only first one is working.

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

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

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

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


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

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

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

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

14.04.20192237PackagesBug ReportVery LowMediumSamba4 and Samba 36 - Speed capped at 50Mbit/sec when u...openwrt-18.06Unconfirmed Task Description

Device : Mi router pro R3P
https://openwrt.org/toh/xiaomi/xiaomi_r3p_pro Snapshot firmware because stable firmware isn’t available yet for that specific device.
Seagate 4TB HDD/EXT4/USB3 as source device.

Samba transfer speeds are somehow capped at 50Mbit/sec for wifi transfers. I have tried both samba versions with the same result. I checked the transfer speeds on my oneplus 3 ( which is 1×1 AC, supports max 433Mbit/sec). I checked them on different android phones through wifi, with no change. FTP works fine wirelessly at full speeds on all the devices.

I have firewall, odhcpd and dnsmasq disabled as i use this router as access point. I have the device wired to Archer c7 v4 and the speeds end up being the same 50Mbit/sec wirelessly while wired transfer works fine.

13.04.20192236Base systemBug ReportVery LowLowMikroTik wAP AC ethernet not going up on reboot / 803x_...TrunkWaiting on reporter Task Description

Hello OpenWrt Team,

I’m trying out MikroTik wAP AC (MikroTik RouterBOARD wAP G-5HacT2HnD / Qualcomm Atheros QCA9556 ver 1 rev 0) with both:
- 18.06 (OpenWrt 18.06-SNAPSHOT r7737-6ac061f319 / LuCI openwrt-18.06 branch (git-19.079.57770-b99e77d / Linux 4.9.168)
- trunk (OpenWrt SNAPSHOT r9860-9385ff654e / LuCI Master (f138fc93) / Linux 4.14.111)

On reboot, the ethernet port
- comes up fine with 18.06 (10 reboot ok in a row)
- most of the time doesn’t come up with trunk, connecting via wifi I see a lot of “803x_aneg_done: SGMII link is not ok”

Unplugging / plugging again to the switch/computer doesnt help (it’s powered via POE)

# ip l show eht0
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel master br-lan state DOWN mode DEFAULT group default qlen 1000

  link/ether cc:2d:e0:0f:d5:7e brd ff:ff:ff:ff:ff:ff

The “ETH” led is green on the Mikrotik and link is considered up on my laptop
I’ve also tried with a switch but it doesn’t seems to help

Doing a cold boot works most of the time

# rbcfg show
boot_delay=2
boot_device=nandeth
boot_key=any
boot_protocol=dhcp
booter=backup
cpu_mode=powersave
uart_speed=115200


13.04.20192235Base systemBug ReportVery LowLowWhen filtering the packages list in LuCI then adding or...openwrt-18.06Unconfirmed Task Description

Observed the issue on Archer C7 v2 running 18.06.01

When filtering the package list in LuCI then adding or removing a packages, the filter is reset, and the user has to filter again if they want to add or remove more packages.

Let’s say that you want to add ddns support. So you filter by “ddns” and you get a lit of the packages that match the filter. When you install one of them, the filter is reset and the full list of the packages is displayed, so you have to apply the filter again if you want to ad more packages.

The same happens when you remove packages.

Ideal situation is that the filter doesn’t reset, and that the scroll position through the list isn’t maintained as well.


11.04.20192234Base systemBug ReportVery LowLowApex Legends: New Havoc Energy Rifle and Its Attachment...TrunkUnconfirmed Task Description

Respawns latest title Apex Legends is becoming immensely popular amongst the fans of battle royale genre, and players are pretty hyped to explore this latest addition. With the remarkable popularity for Apex Legends, Respawn is set to release its first new weapon to the game. This new weapon namely Havoc Energy Rifle is indeed a weapon to deal havoc on the enemies.

Source:  https://daviseducationsource.wordpress.com/2019/02/28/apex-legends-new-havoc-energy-rifle-and-its-attachments-revealed/

http://asknorton.com/setup/ | http://asknorton.com | http://norton-us.com/ | https://offiice-setup-usa.com | http://mynew-office.com | http://go-officecom.com/

09.04.20192231Base systemBug ReportVery LowLowfstools: PREINIT calling of block extroot doesn't ackno...TrunkUnconfirmed Task Description

Extroot overlay mount fails on my ZyXEL NBG6817.

I can confirm this bug on both the latest stable 18.06.2, and the snapshot from the 4th of April.

 

When PREINIT calls ‘block extroot’, block fails to load the custom fstab from the eMMC ext4 overlay mounted at /tmp/overlay:

[...]
Thu Apr  4 12:01:51 2019 user.info kernel: [    3.508150] init: - preinit -
Thu Apr  4 12:01:51 2019 kern.info kernel: [    8.592387] EXT4-fs (loop0): recovery complete
Thu Apr  4 12:01:51 2019 kern.info kernel: [    8.595484] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
Thu Apr  4 12:01:51 2019 user.info kernel: [    8.598875] mount_root: loading kmods from internal overlay
Thu Apr  4 12:01:51 2019 user.info kernel: [    8.649260] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
Thu Apr  4 12:01:51 2019 user.info kernel: [    8.663223] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
Thu Apr  4 12:01:51 2019 user.info kernel: [   10.119972] block: attempting to load /etc/config/fstab
Thu Apr  4 12:01:51 2019 user.err kernel: [   10.120211] block: unable to load configuration (fstab: Entry not found)
Thu Apr  4 12:01:51 2019 user.err kernel: [   10.124238] block: no usable configuration
Thu Apr  4 12:01:51 2019 user.info kernel: [   10.132103] mount_root: switching to ext4 overlay
Thu Apr  4 12:01:51 2019 user.info kernel: [   10.292110] procd: - early -
Thu Apr  4 12:01:51 2019 user.info kernel: [   10.292264] procd: - watchdog -
Thu Apr  4 12:01:51 2019 user.info kernel: [   10.988093] procd: - watchdog -
Thu Apr  4 12:01:51 2019 user.info kernel: [   10.988475] procd: - ubus -
Thu Apr  4 12:01:51 2019 user.info kernel: [   11.046160] procd: - init -
[...]

Unrelated dmesg entries omitted, full log here:
https://gist.github.com/knuddelknoedel/2985ce7777a0263fbc22a02f8ef5307c

Custom modules are loaded with the correct overlay /tmp/overlay/upper prefix by libfstools, however the forked ‘block extroot’ process behaves differently when searching for /etc/config/fstab configuration.

Steps to reproduce:

  1. Flash any current openwrt sysupgrade image on a device where the rootfs+overlay don’t reside on MTD storage
  2. Configure an appropriate /overlay uci fstab extroot entry as specified in the respective wiki documentation
  3. Reboot

Further notes: adding /etc/config/fstab with the desired /overlay entry to the sysupgrade squashfs image before flashing allows block to successfully find the uci fstab config, however the mounting of the therein configured /overlay mount still fails.

07.04.20192228KernelBug ReportVery LowMediumThe 2.4G Radion on the TP-Link Archer C2600 does not wo...openwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on TP-Link Archer C2600
- Software versions of OpenWrt/LEDE release, packages, etc. : 18.06.2
- Steps to reproduce: flash the 18.06.2 on the router.
I flashed 18.06.2 on the C2600, 5G and Ethernet works fine, but 2.4G fails on loading firmware.
I downgraded back to 18.06.1 and both radios are now working.

 


06.04.20192226Base systemBug ReportVery LowHighzyxel P-2812HNU-F1 initramfs has been broken with LZMA:...AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

zyxel P-2812HNU-F1

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

since r47026 up to the latest trunk

- Steps to reproduce
boot with serial connection stop autoboot, load initramfs, boot from ram get error

- Reason it is important

initramfs is needed for a first install.

- Posible solution
include/configs/p2812hnufx.h
probably needs:
#define CONFIG_SYS_BOOTM_LEN 0×1000000 /* 16 MB */

like in this commit for a similar modem
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=ea12a80276c0aca680d67515e7f651e2cef3f3ee

- error logs
“recent” trunk snapshot(I threw away the last compiled version for it still gave the same error)

ROM VER: 1.0.5
CFG 06
NAND
NAND Read OK

U-Boot SPL 2013.10-openwrt5 (Nov 18 2014 - 19:54:01)
SPL: initializing NAND flash
SPL: checking U-Boot image
SPL: loading U-Boot to RAM
SPL: decompressing U-Boot with LZO
SPL: jumping to U-Boot


U-Boot 2013.10-openwrt5 (Nov 18 2014 - 19:54:01) P-2812HNU-Fx

Board: ZyXEL P-2812HNU-Fx
SoC:   Lantiq VRX288 v1.1
CPU:   500 MHz
IO:    250 MHz
BUS:   250 MHz
BOOT:  NAND
DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ltq-eth
Hit any key to stop autoboot:  0
P-2812HNU-Fx # tftpboot openwrt-lantiq-xrx200-zyxel_p-2812hnu-f1-initramfs-kernel.bin
ltq_phy: addr 0, link 1, speed 1000, duplex 1
ltq_phy: addr 1, link 0, speed 10, duplex 0
ltq_phy: addr 17, link 0, speed 10, duplex 0
ltq_phy: addr 19, link 0, speed 10, duplex 0
ltq_phy: addr 5, link 0, speed 10, duplex 0
Using ltq-eth device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-lantiq-xrx200-zyxel_p-2812hnu-f1-initramfs-kernel.bin'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################################
done
Bytes transferred = 6183929 (5e5bf9 hex)
P-2812HNU-Fx # bootm $fileaddr
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.103
   Created:      2019-02-27  11:12:48 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    6183865 Bytes = 5.9 MiB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... LZMA: uncompress or overwrite error 7 - must RESET b
ROM VER: 1.0.5
CFG 06
NAND
NAND Read OK

U-Boot SPL 2013.10-openwrt5 (Nov 18 2014 - 19:54:01)

last known working version

ROM VER: 1.0.5
CFG 06
NAND
NAND Read OK

U-Boot SPL 2013.10-openwrt5 (Nov 18 2014 - 19:54:01)
SPL: initializing NAND flash
SPL: checking U-Boot image
SPL: loading U-Boot to RAM
SPL: decompressing U-Boot with LZO
SPL: jumping to U-Boot


U-Boot 2013.10-openwrt5 (Nov 18 2014 - 19:54:01) P-2812HNU-Fx

Board: ZyXEL P-2812HNU-Fx
SoC:   Lantiq VRX288 v1.1
CPU:   500 MHz
IO:    250 MHz
BUS:   250 MHz
BOOT:  NAND
DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ltq-eth
Hit any key to stop autoboot:  0
P-2812HNU-Fx # tftpboot openwrt-lantiq-xrx200-P2812HNUF1-uImage-initramfs
ltq_phy: addr 0, link 0, speed 10, duplex 0
ltq_phy: addr 1, link 0, speed 10, duplex 0
ltq_phy: addr 17, link 0, speed 10, duplex 0
ltq_phy: addr 19, link 0, speed 10, duplex 0
ltq_phy: addr 5, link 0, speed 10, duplex 0
Using ltq-eth device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-lantiq-xrx200-P2812HNUF1-uImage-initramfs'.
Load address: 0x81000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
ltq_phy: addr 0, link 1, speed 1000, duplex 1
ltq_phy: addr 1, link 0, speed 10, duplex 0
ltq_phy: addr 17, link 0, speed 10, duplex 0
ltq_phy: addr 19, link 0, speed 10, duplex 0
ltq_phy: addr 5, link 0, speed 10, duplex 0
Using ltq-eth device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-lantiq-xrx200-P2812HNUF1-uImage-initramfs'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########
         1.6 MiB/s
done
Bytes transferred = 4707233 (47d3a1 hex)
P-2812HNU-Fx # bootm $fileaddr
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   MIPS OpenWrt Linux-3.18.11
   Created:      2015-04-25   1:54:58 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    4707169 Bytes = 4.5 MiB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.18.11 (sylwek@WRT) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44945) ) #2 Sat Apr 25 03:54:35 CEST 2015
[    0.000000] SoC: VR9 rev 1.1
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019555 (MIPS 34Kc)
[    0.000000] MIPS: machine is P2812HNUF1 - ZyXEL P-2812HNU-F1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[    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=00021000
[    0.000000] Readback ErrCtl register=00021000
[    0.000000] Memory: 121772K/131072K available (3506K kernel code, 149K rwdata, 1036K rodata, 3160K init, 206K bss, 9300K reserved)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 500MHz
[    0.000000] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[    0.032000] pid_max: default: 32768 minimum: 301
[    0.036000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.040000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.044000] pinctrl core: initialized pinctrl subsystem
[    0.048000] NET: Registered protocol family 16
[    0.056000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.060000] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.164000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.168000] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.172000]  MEM 0x0000000018000000..0x0000000019ffffff
[    0.176000]   IO 0x000000001ae00000..0x000000001affffff
[    0.188000] gpio-stp-xway 1e100bb0.stp: Init done
[    0.192000] usbcore: registered new interface driver usbfs
[    0.196000] usbcore: registered new interface driver hub
[    0.200000] usbcore: registered new device driver usb
[    0.204000] PCI host bridge to bus 0000:00
[    0.208000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.212000] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    0.216000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.220000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.224000] Switched to clocksource MIPS
[    0.228000] NET: Registered protocol family 2
[    0.232000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.240000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.248000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.252000] TCP: reno registered
[    0.256000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.260000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.268000] NET: Registered protocol family 1
[    5.124000] gptu: totally 6 16-bit timers/counters
[    5.132000] gptu: misc_register on minor 63
[    5.136000] gptu: succeeded to request irq 126
[    5.140000] gptu: succeeded to request irq 127
[    5.144000] gptu: succeeded to request irq 128
[    5.148000] gptu: succeeded to request irq 129
[    5.152000] gptu: succeeded to request irq 130
[    5.156000] gptu: succeeded to request irq 131
[    5.164000] ralink,eeprom ralink_eep: using RT3062.eeprom as eeprom
[    5.168000] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a1x.bin
[    5.176000] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 6A60000
[    5.184000] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 6A60000
[    5.288000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    5.296000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    5.304000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    5.312000] msgmni has been set to 237
[    5.316000] io scheduler noop registered
[    5.320000] io scheduler deadline registered (default)
[    5.328000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    5.336000] console [ttyLTQ0] enabled
[    5.336000] console [ttyLTQ0] enabled
[    5.344000] bootconsole [early0] disabled
[    5.344000] bootconsole [early0] disabled
[    5.352000] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    5.352000] nand: Samsung NAND 128MiB 3,3V 8-bit
[    5.352000] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    5.368000] Scanning device for bad blocks
[    5.424000] Bad eraseblock 591 at 0x0000049e0000
[    5.428000] Bad eraseblock 616 at 0x000004d00000
[    5.464000] 4 ofpart partitions found on MTD device 10000000.nand-parts
[    5.468000] Creating 4 MTD partitions on "10000000.nand-parts":
[    5.476000] 0x000000000000-0x000000040000 : "uboot"
[    5.480000] 0x000000040000-0x000000060000 : "uboot-env"
[    5.488000] 0x000000060000-0x000000260000 : "kernel"
[    5.492000] 0x000000260000-0x000008000000 : "ubi"
[    5.600000] libphy: lantiq,xrx200-mdio: probed
[    5.620000] net-xrx200: invalid MAC, using random
[    5.688000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:00, irq=-1)
[    5.756000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:01, irq=-1)
[    5.824000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[    5.892000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[    5.960000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:05, irq=-1)
[    5.968000] wdt 1f8803f0.watchdog: Init done
[    5.972000] TCP: cubic registered
[    5.976000] NET: Registered protocol family 17
[    5.980000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    5.992000] Bridge firewalling registered
[    5.996000] 8021q: 802.1Q VLAN Support v1.8
[    6.004000] UBI error: ubi_auto_attach: no valid UBI magic found [    6.016000] Freeing unused kernel memory: 3160K (8049a000 - 807b0000)
[    6.036000] init: failed to symlink /tmp -> /var
[    6.040000] init: Console is alive
[    6.048000] init: - watchdog -
[    6.076000] dwc2 1e101000.ifxhcd: requested GPIO 489
[    6.936000] dwc2 1e101000.ifxhcd: DWC OTG Controller
[    6.936000] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[    6.944000] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[    6.952000] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
[    6.952000] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[    6.964000] hub 1-0:1.0: USB hub found
[    6.968000] hub 1-0:1.0: 1 port detected
[    7.832000] dwc2 1e106000.ifxhcd: DWC OTG Controller
[    7.832000] dwc2 1e106000.ifxhcd: new USB bus registered, assigned bus number 2
[    7.840000] dwc2 1e106000.ifxhcd: irq 91, io mem 0x00000000
[    7.848000] dwc2 1e106000.ifxhcd: Hardware does not support descriptor DMA mode -
[    7.848000] dwc2 1e106000.ifxhcd: falling back to buffer DMA mode.
[    7.860000] hub 2-0:1.0: USB hub found
[    7.864000] hub 2-0:1.0: 1 port detected
[    8.048000] init: - preinit -
[    8.160000] random: procd urandom read with 31 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    9.688000] eth0: port 0 got link
[   11.280000] procd: - early -
[   11.280000] procd: - watchdog -
[   11.852000] procd: - ubus -
[   12.864000] procd: - init -
Please press Enter to activate this console.
[   13.884000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH

[   13.908000] NET: Registered protocol family 10
[   13.916000] NET: Registered protocol family 8
[   13.920000] NET: Registered protocol family 20
[   13.932000] PPP generic driver version 2.4.2
[   13.940000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.964000] MEI CPE Driver, Version 1.2.0

[   13.964000] (c) Copyright 2009, Infineon Technologies AG
### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###


Lantiq CPE API Driver version: DSL CPE API V4.11.4
[   13.988000]
[   13.988000] Predefined debug level: 2
[   14.000000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   14.004000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   14.016000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.028000] Infineon Technologies DEU driver version 2.0.0
[   14.032000] IFX DEU DES initialized (multiblock).
[   14.036000] IFX DEU AES initialized (multiblock).
[   14.040000] IFX DEU ARC4 initialized (multiblock).
[   14.044000] IFX DEU SHA1 initialized.
[   14.048000] IFX DEU MD5 initialized.
[   14.052000] IFX DEU SHA1_HMAC initialized.
[   14.056000] IFX DEU MD5_HMAC initialized.
[   14.068000] nf_conntrack version 0.5.0 (1952 buckets, 7808 max)
[   14.092000] NET: Registered protocol family 24
[   14.116000] xt_time: kernel timezone is -0000
[   14.140000] cfg80211: Calling CRDA to update world regulatory domain
[   14.164000] cfg80211: World regulatory domain updated:
[   14.168000] cfg80211:  DFS Master region: unset
[   14.172000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   14.180000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   14.188000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   14.196000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   14.204000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   14.212000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   14.220000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   14.232000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   14.240000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   14.328000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   14.332000] rt2800pci 0000:00:0e.0: failed to load eeprom property
[   14.336000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   14.348000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[   14.356000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
ioctl ATM_SETESI: No such device
[   20.824000] PTM 1.0.27    PTM (E1) firmware version 0.30
[   20.828000] ifxmips_ptm: PTM init succeed
[   22.760000] device eth0.1 entered promiscuous mode
[   22.764000] device eth0 entered promiscuous mode
[   22.776000] br-lan: port 1(eth0.1) entered forwarding state
[   22.780000] br-lan: port 1(eth0.1) entered forwarding state
[   24.784000] br-lan: port 1(eth0.1) entered forwarding state
[   31.808000] random: nonblocking pool is initialized



BusyBox v1.23.2 (2015-04-25 03:40:56 CEST) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 CHAOS CALMER (Bleeding Edge, r45578)
 -----------------------------------------------------
  * 1 1/2 oz Gin            Shake with a glassful
  * 1/4 oz Triple Sec       of broken ice and pour
  * 3/4 oz Lime Juice       unstrained into a goblet.
  * 1 1/2 oz Orange Juice
  * 1 tsp. Grenadine Syrup
 -----------------------------------------------------
root@OpenWrt:/#
05.04.20192225KernelFeature RequestVery LowMediumabandon wireless backportsAllUnconfirmed Task Description

since the kernel is now updated regularly it would be convenient to switch to it’s in-tree wireless drivers, and abandon backports for good. mixing new wireless drivers with older kernels is generally a bad idea.

i have witnessed at least one situation (on a 64bit PC) where backports driver performed worse than the one built into kernel

05.04.20192224Base systemBug ReportVery LowLowIf all WiFi networks are disabled, their names are not ...openwrt-18.06Unconfirmed Task Description

On the web interface, if no wireless network is enabled, only “Wireless is disabled” is shown for all wireless networks on the “Wireless” page, in the “Wireless overview” list. No network names and/or modes are shown.

If there is only a single wireless network configured, there is no problem to identify it to enable. But if there are more than a single network (for example, two APs and one client), and you need to selectively enable just one of them, you need to enter “Edit” step by step to find the appropriate network.

If at least one network is enabled, “Wireless is disabled” is shown for each disabled network as well as their names/modes.

Please modify the code to show all network names/modes even if all of them are disabled. It makes sense to always use the same list format, regardless of wireless adapter is enabled or disabled.

04.04.20192223Base systemBug ReportVery LowLowar71xx Mikrotik RB952Ui-5ac2nD not detect board TrunkWaiting on reporter Task Description

Mikrotik RB952Ui-5ac2nD (hAP ac lite) not detect board vith boot the rb-nor-flash-16M-ac-initramfs-kernel.bin

The luci web interface is only available on the wan (1) port, port 5 is red.
When I try to update from rb-nor-flash-16M-ac-squashfs-sysupgrade.bin from luci, I get the error “The downloaded image file does not contain a supported format. Make sure you choose a common image format for your platform. "
Also tried using ssh, the image is not recognized.
Device unknown not supported by this image
Supported devices: rb-750-r2 rb-750up-r2 rb-750p-pbr2 rb-911-2hn rb-911-5hn rb-931-2nd rb-941-2nd rb-951ui-2nd rb-952ui-5ac2nd rb- 962uigs-5hact2hnt rb-lhg-5nd rb-map-2nd rb-mapl-2nd rb-wap-2nd rb-wapr-2nd rb-wapg-5hact2hnd

The boot image does not determine the fee, so I had to register it forcibly.
`root@OpenWrt:~# cat /tmp/sysinfo/board_name unknown`

If you force a card, it is flashed normally, but there is no switch configuration and port LEDs. WLAN 5g (QCA9887) does not work, USB does not have a power port, port 5 is lit red (gpio14) it turns off if the gpio value is 0

root@OpenWrt:~# echo “rb-952ui-5ac2nd” > /tmp/sysinfo/board_name
root@OpenWrt:~# cat /tmp/sysinfo/board_name rb-952ui-5ac2nd

I would like full support for this model, perhaps something is changed on the board.
More detailed studies I left here
https://forum.openwrt.org/t/mikrotik-rb952ui-5ac2nd/33635


04.04.20192221PackagesBuild FailureVery LowLowbuilding grub on 32 bit host failsTrunkUnconfirmed Task Description

The build for x86 stops at the following step:

make[8]: Entering directory '/home/lars/opennet/git/firmware/openwrt/build_dir/hostpkg/grub-2.02/grub-core'
i486-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..  -Wall -W  -DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC -m32 -nostdinc -isystem /home/lars/opennet/git/firmware/openwrt/staging_dir/toolchain-i386_pentium4_gcc-7.4.0_musl/lib/gcc/i486-openwrt-linux-musl/7.4.0/include -I../include -I../include -DGRUB_FILE=\"lib/i386/relocator64.S\" -I. -I. -I.. -I.. -I../include -I../include -I../grub-core/lib/libgcrypt-grub/src/    -I/home/lars/opennet/git/firmware/openwrt/staging_dir/host/include -I/home/lars/opennet/git/firmware/openwrt/staging_dir/hostpkg/include -I/home/lars/opennet/git/firmware/openwrt/staging_dir/target-i386_pentium4_musl/host/include -D_FILE_OFFSET_BITS=64 -g  -m32 -msoft-float -DGRUB_FILE=\"lib/i386/relocator64.S\" -I. -I. -I.. -I.. -I../include -I../include -I../grub-core/lib/libgcrypt-grub/src/ -DASM_FILE=1    -O2 -I/home/lars/opennet/git/firmware/openwrt/staging_dir/host/include -I/home/lars/opennet/git/firmware/openwrt/staging_dir/hostpkg/include -I/home/lars/opennet/git/firmware/openwrt/staging_dir/target-i386_pentium4_musl/host/include -MT lib/i386/relocator_module-relocator64.o -MD -MP -MF lib/i386/.deps-core/relocator_module-relocator64.Tpo -c -o lib/i386/relocator_module-relocator64.o `test -f 'lib/i386/relocator64.S' || echo './'`lib/i386/relocator64.S
lib/i386/relocator64.S: Assembler messages:
lib/i386/relocator64.S:66: Error: unknown pseudo-op: `.code64'
lib/i386/relocator64.S:74: Error: bad register name `%rax'
lib/i386/relocator64.S:98: Error: bad register name `%rax'
lib/i386/relocator64.S:132: Error: bad register name `%rip)'
make[8]: *** [Makefile:28991: lib/i386/relocator_module-relocator64.o] Error 1
make[8]: Leaving directory '/home/lars/opennet/git/firmware/openwrt/build_dir/hostpkg/grub-2.02/grub-core'

The build host is a 32 bit Linux system.
This does not seem to happen on a 64 bit build host.

03.04.20192220Base systemBug ReportVery LowHighath10k NEW kernel thread crash in CT htt firmware - ath...TrunkUnconfirmed Task Description

OpenWrt SNAPSHOT, r9754-fbe2e7d15e
Trunk Pulled April 1st.
Archer C7v2

Unclear how to reproduce, just happens.

Supplying init logs and kernel trace logs:

[ 31.099086] ath10k 4.19 driver, optimized for CT firmware, probing pci device: 0x3c.
[ 31.108127] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
[ 31.116173] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 31.389333] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:00:00.0.txt failed with error -2
[ 31.400044] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 31.491602] firmware ath10k!fwcfg-pci-0000:00:00.0.txt: firmware_loading_store: map pages failed
[ 31.500774] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[ 31.511656] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 31.687486] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[ 31.696848] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[ 31.707378] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 31.949406] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-5.bin failed with error -2
[ 31.960559] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.095183] firmware ath10k!QCA988X!hw2.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[ 32.104800] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-2.bin failed with error -2
[ 32.115944] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.291783] firmware ath10k!QCA988X!hw2.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[ 32.301402] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[ 32.312279] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.487841] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 32.497209] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[ 32.508092] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.684408] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[ 32.693770] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[ 32.704646] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.879819] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[ 32.889172] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[ 32.900050] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 33.076143] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[ 33.089091] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 33.098473] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 33.110860] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-fW-022-883e26a8 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT crc32 7a67ce60
[ 33.219987] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 33.230599] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 33.382851] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 33.392104] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 34.332647] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 34.350100] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ [ 34.356422] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ [ 34.364543] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24680 iram: 26872’ [ 34.432688] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 34.445504] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0×10000000 [ 34.579131] ath: EEPROM regdomain: 0×0 [ 34.579137] ath: EEPROM indicates default country code should be used
[ 34.579140] ath: doing EEPROM country→regdmn map search
[ 34.579152] ath: country maps to regdmn code: 0x3a
[ 34.579158] ath: Country alpha2 being used: US
[ 34.579161] ath: Regpair used: 0x3a
[ 34.652355] ath: EEPROM regdomain: 0×0 [ 34.652362] ath: EEPROM indicates default country code should be used
[ 34.652365] ath: doing EEPROM country→regdmn map search
[ 34.652378] ath: country maps to regdmn code: 0x3a
[ 34.652383] ath: Country alpha2 being used: US
[ 34.652386] ath: Regpair used: 0x3a
[ 34.669837] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ [ 34.671315] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=12 50893 seconds later: [50893.910674] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50893.961879] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.015322] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.064267] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.115474] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.166670] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.217864] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.269072] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.320275] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.371474] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.422686] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.473885] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.525096] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.576362] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.627495] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.678696] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.732123] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.781096] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.834596] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.883493] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.934705] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.985904] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
...repeats...
[50896.978515] ath10k_pci 0000:00:00.0: wmi command 36954 timeout, restarting hardware
[50896.986336] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50897.033922] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
...repeats...
[50900.018475] ath10k_pci 0000:00:00.0: wmi command 40859 timeout, restarting hardware
[50900.026455] ath10k_pci 0000:00:00.0: failed to send wmi nop: -11
[50900.032989] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request: -143
[50900.048476] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 87385a00 vdev: 0 addr: 50:f5:da:36:35:2c
[50900.059639] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 85914a00 vdev: 0 addr: ac:bc:32:b4:c4:d7
[50900.070766] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 86c43400 vdev: 1 addr: 32:b5:c2:96:62:fd
[50900.081883] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 86e1f000 vdev: 0 addr: 30:b5:c2:96:62:fd
[50900.093145] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50900.355684] ieee80211 phy0: Hardware restart was requested
[50900.361749] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 1: -143
[50900.369442] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 1: -143
[50901.941908] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[50901.959432] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ [50901.965928] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ [50901.974101] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24680 iram: 26872’ [50902.043511] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[50902.058893] ath10k_pci 0000:00:00.0: set-coverage-class, phyclk: 88 value: 0
[50902.079716] ath10k_pci 0000:00:00.0: device successfully recovered
[50902.086147] ath10k_pci 0000:00:00.0: Invalid state: 3 in ath10k_htt_tx_32, warning will not be repeated.
[50902.086152] ————[ cut here ]———— [50902.086232] WARNING: CPU: 0 PID: 4533 at /home/vagrant/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/ath10k-ct-2019-03-25-2e917efb/ath10k-4.19/htt_tx.c:1253 ath10k_convert_hw_rate_to_rate_info+0×190/0xae4 [ath10k_core]
[50902.086235] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TRACE xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ECN ip6table_raw ip_tables crc_ccitt compat sch_cake nf_conntrack
[50902.086394] sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[50902.086515] CPU: 0 PID: 4533 Comm: kworker/0:1 Not tainted 4.14.109 #0
[50902.086640] Workqueue: events_freezable ieee80211_alloc_hw_nm [mac80211]
[50902.086644] Stack : 00000009 000004e5 87d58468 800b2878 804aeb00 87c07cb4 85da4ddc 80501947
[50902.086665] 804aac3c 87c07c8c 80500000 800b36d4 87d58468 00000000 87c07c68 dabdb416
[50902.086684] 00000000 00000000 00000000 00000000 00000004 8040f32c 00000001 68775f6e
[50902.086702] 735f6672 80500000 000001be 65657a61 00000000 00000000 87154274 87124968
[50902.086721] 00000009 000004e5 87d58468 8723cbf0 00000000 00000000 00000000 80650000
[50902.086739] ...
[50902.086745] Call Trace:
[50902.086767] [<8006a90c>] show_stack+0×58/0×100 [50902.086791] [<80084fa0>]
warn+0xe4/0×118 [50902.086802] [<80085064>] warn_slowpath_null+0x1c/0×28 [50902.086866] [<87124968>] ath10k_convert_hw_rate_to_rate_info+0×190/0xae4 [ath10k_core]
[50902.086896] [<87103d04>] 0x87103d04
[50902.086913] —[ end trace db720eb818c982c2 ]— [50902.086925] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[50902.086938] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[50902.086945] ath10k_pci 0000:00:00.0: failed to push frame: -19
[50902.086967] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[50902.086977] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[50902.086984] ath10k_pci 0000:00:00.0: failed to push frame: -19
[50902.097084] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
...repeats...
[55789.947757] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55789.998968] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
55792.860153] ath10k_pci 0000:00:00.0: wmi command 36893 timeout, restarting hardware
[55792.867970] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55792.875741] ath10k_pci 0000:00:00.0: failed to delete peer b0:19:c6:64:f9:69 for vdev 0: -11
[55792.884453] ath10k_pci 0000:00:00.0: found sta peer b0:19:c6:64:f9:69 (ptr 86e1f600 id 33) entry on vdev 0 after it was supposedly removed
[55792.897563] ————[ cut here ]———— [55792.902662] WARNING: CPU: 0 PID: 2420 at backports-4.19.23-1/net/mac80211/sta_info.c:1004 sta_set_sinfo+0xbac/0xc58 [mac80211]
[55792.914415] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TRACE xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ECN ip6table_raw ip_tables crc_ccitt compat sch_cake nf_conntrack
[55792.986359] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55792.986485] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55793.003634] sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[55793.062374] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55793.070938] CPU: 0 PID: 2420 Comm: hostapd Tainted: G W 4.14.109 #0
[55793.078506] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55793.086883] Stack : 80520000 804d84a4 00000000 00000000 804aeb00 85da1b04 87dd02dc 80501947
[55793.095767] 804aacd0 00000974 80653670 000003ec 85da1cb4 00000001 85da1ab8 b78f71e9
[55793.104653] 00000000 00000000 80650000 00012a38 00000000 00000000 00000008 00000000
[55793.114085] 000002ce 861a1102 000002cc 00000000 80000000 00000000 87064a04 87007c2c
[55793.123006] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55793.131158] 00000009 000003ec 85da1cb4 87ff8800 00000002 802697c4 00000000 80650000
[55793.139658] ...
[55793.142953] Call Trace:
[55793.145468] [<8006a90c>] show_stack+0×58/0×100 [55793.149997] [<80084fa0>] warn+0xe4/0×118 [55793.154512] [<80085064>] warn_slowpath_null+0x1c/0×28 [55793.160292] [<87007c2c>] sta_set_sinfo+0xbac/0xc58 [mac80211]
[55793.166181] [<87007db8>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[55793.173452] [<8778f17c>] cfg80211_check_station_change+0x1be0/0x2c54 [cfg80211]
[55793.180959] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55793.188700] —[ end trace db720eb818c982c3 ]— [55793.224635] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55793.275831] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
...
[55796.220118] ath10k_pci 0000:00:00.0: wmi command 36954 timeout, restarting hardware
[55796.245481] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55796.296663] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55796.317807] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 8561b600 vdev: 0 addr: 50:f5:da:36:35:2c
[55796.328987] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 85322c00 vdev: 0 addr: ac:bc:32:b4:c4:d7
[55796.340121] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 834fb200 vdev: 1 addr: 32:b5:c2:96:62:fd
[55796.351253] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 834fb000 vdev: 0 addr: 30:b5:c2:96:62:fd
[55796.860635] irq 15: nobody cared (try booting with the “irqpoll” option)
[55796.867447] CPU: 0 PID: 15620 Comm: kworker/u2:0 Tainted: G W 4.14.109 #0
[55796.875540] Workqueue: ath10k_wq ath10k_core_create [ath10k_core]
[55796.881718] Stack : ffffffff 00000003 80653ae0 800b2878 804aeb00 87c07cc4 86e123dc 80501947
[55796.890201] 804aac3c 87c07c9c 80500000 800b36d4 80653ae0 00000000 87c07c78 86c8eb6e
[55796.898683] 00000000 00000000 00000000 000151c0 00000000 00000000 00000008 00000000
[55796.907167] 00000323 80500000 00000322 00000000 00000000 8050b6a4 0000000f 00011000
[55796.915650] ffffffff 00000003 80653ae0 80506ae8 00000000 802697c4 00000000 80650000
[55796.924134] ...
[55796.926615] Call Trace:
[55796.929112] [<8006a90c>] show_stack+0×58/0×100 [55796.933620] [<800b6f6c>]
report_bad_irq.isra.0+0×54/0xf0
[55796.939179] [<800b72f4>] note_interrupt+0×284/0×330 [55796.944142] [<800b488c>] handle_irq_event_percpu+0x4c/0×64 [55796.949706] [<800b48e0>] handle_irq_event+0x3c/0x6c
[55796.954650] [<800b7ca4>] handle_level_irq+0×110/0×154 [55796.959772] [<800b3d90>] generic_handle_irq+0×38/0×50 [55796.964903] [<802d4750>] ar724x_pci_irq_handler+0xa4/0xdc
[55796.970376] [<800b3d90>] generic_handle_irq+0×38/0×50 [55796.975502] [<80219354>] ath79_intc_irq_handler+0×94/0xec
[55796.980981] [<800b3d90>] generic_handle_irq+0×38/0×50 [55796.986117] [<804144d4>] do_IRQ+0x1c/0x2c
[55796.990185] [<80219260>] plat_irq_dispatch+0xc0/0×120 [55796.995306] [<800658d8>] handle_int+0×138/0×144 [55796.999900] [<80219260>] plat_irq_dispatch+0xc0/0×120 [55797.005018] handlers:
[55797.007333] [<877134a0>] ath10k_pci_irq_msi_fw_mask [ath10k_pci]
[55797.013420] Disabling IRQ #15
[55797.285000] ieee80211 phy0: Hardware restart was requested
[55800.300248] ath10k_pci 0000:00:00.0: bss channel survey timed out
[55801.740207] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[55801.850097] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ [55801.856213] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ [55801.864353] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24680 iram: 26872’ [55802.950176] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[55808.120391] ath10k_pci 0000:00:00.0: device successfully recovered
[55808.126726] net_ratelimit: 79 callbacks suppressed
[55808.126736] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[55808.126748] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[55808.126756] ath10k_pci 0000:00:00.0: failed to push frame: -19
[55808.126771] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[55808.126780] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[55808.126787] ath10k_pci 0000:00:00.0: failed to push frame: -19
[55808.560031] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.567607] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.575152] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.670084] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.677616] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.790161] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.797700] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.890070] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.897614] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.000079] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.007588] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.110035] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.117559] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.125363] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.220094] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.227789] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.330097] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.337638] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.440112] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.447645] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.550389] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.557931] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.660388] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon


02.04.20192218Base systemBug ReportVery LowCriticalLinksys EA4500 suffers endless reboots: Radio1 (5GHz) c...TrunkUnconfirmed Task Description

One of 5 EA3500’s, each at a different site, keeps crashing and restarting. Both 18.06.2 and Snapshot r9614-b614954 are suffering it at this particular site. I could finally keep it booting up after disabling radio1 (5 GHz). Other 4 sites have no trouble with the same system and wireless configuration.

I can pretty much rule out hardware problems. Just boot up Snapshot r9614-b614954 on an EA4500, whose radio1 (5G) worked on another site. It suffers the same infinite crash/restart sequence. At least 3 different devices worked at different locations, but crash only at this one.

From the serial console: A crash at backports-4.19.23-1/net/mac80211/rx.c:4516 ieee80211_rx_napi+0x1fc/0xa54 [mac80211]

[   22.960919] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   23.010664] br-lan: port 1(eth0.1) entered blocking state
[   23.016172] br-lan: port 1(eth0.1) entered disabled state
[   23.021848] device eth0.1 entered promiscuous mode
[   23.026687] device eth0 entered promiscuous mode
[   23.110502] br-lan: port 1(eth0.1) entered blocking state
[   23.115976] br-lan: port 1(eth0.1) entered forwarding state
[   23.121730] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   23.191580] mv643xx_eth_port mv643xx_eth_port.1 eth1: link up, 1000 Mb/s, full duplex, flow control disabled
[   23.202650] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   24.009012] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.015903] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   24.022546] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   25.052979] 0000:01:00.0: unable to load firmware helper image
[   25.058872] ieee80211 phy0: Cannot start firmware
[   25.063675] ieee80211 phy0: Trying to reload the firmware again
[   25.987785] ieee80211 phy0: 88w8366 v7, 20aa4b891bf2, AP firmware 5.2.8.17
[   26.047574] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   26.113947] 0000:02:00.0: unable to load firmware helper image
[   26.119821] ieee80211 phy1: Cannot start firmware
[   26.124636] ieee80211 phy1: Trying to reload the firmware again
[   26.511780] ieee80211 phy1: 88w8366 v7, 20aa4b891bf4, AP firmware 5.2.8.17
[   26.565994] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   26.577344] br-lan: port 2(wlan0) entered blocking state
[   26.582745] br-lan: port 2(wlan0) entered disabled state
[   26.588309] device wlan0 entered promiscuous mode
[   26.614795] br-lan: port 3(wlan1) entered blocking state
[   26.620186] br-lan: port 3(wlan1) entered disabled state
[   26.625800] device wlan1 entered promiscuous mode
[   27.137261] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   27.143826] br-lan: port 2(wlan0) entered blocking state
[   27.149170] br-lan: port 2(wlan0) entered forwarding state
[   27.179154] ------------[ cut here ]------------
[   27.183961] WARNING: CPU: 0 PID: 0 at backports-4.19.23-1/net/mac80211/rx.c:4516 ieee80211_rx_napi+0x1fc/0xa54 [mac80211]
[   27.194991] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mwl8k mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 tun gpio_button_hotplug
[   27.254721] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.105 #0
[   27.260669] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   27.266969] Backtrace: 
[   27.269438] [<c010530c>] (dump_backtrace) from [<c01055f4>] (show_stack+0x18/0x1c)
[   27.277057]  r7:bf1f012c r6:00000000 r5:bf227600 r4:00000000
[   27.282772] [<c01055dc>] (show_stack) from [<c058b880>] (dump_stack+0x20/0x28)
[   27.290036] [<c058b860>] (dump_stack) from [<c01196b0>] (__warn+0xdc/0x108)
[   27.297048] [<c01195d4>] (__warn) from [<c0119794>] (warn_slowpath_null+0x28/0x30)
[   27.304665]  r9:c7104ff0 r8:bf226390 r7:bf226318 r6:c71058a0 r5:c7104bc0 r4:c72be9c0
[   27.312535] [<c011976c>] (warn_slowpath_null) from [<bf1f012c>] (ieee80211_rx_napi+0x1fc/0xa54 [mac80211])
[   27.322376] [<bf1eff30>] (ieee80211_rx_napi [mac80211]) from [<bf1cb68c>] (ieee80211_tasklet_handler+0x64/0xc0 [mac80211])
[   27.333486]  r10:00000000 r9:c7104ff0 r8:bf226390 r7:bf226318 r6:c7104bc0 r5:c7104fe4
[   27.341359]  r4:c72be9c0
[   27.343976] [<bf1cb628>] (ieee80211_tasklet_handler [mac80211]) from [<c011c5dc>] (tasklet_action+0x88/0xd8)
[   27.353865]  r9:00000100 r8:ffffe000 r7:00000000 r6:c082a000 r5:c08085fc r4:00000000
[   27.361664] [<c011c554>] (tasklet_action) from [<c0101464>] (__do_softirq+0xac/0x25c)
[   27.369534]  r7:c082a020 r6:40000006 r5:c082a038 r4:00000006
[   27.375236] [<c01013b8>] (__do_softirq) from [<c011c940>] (irq_exit+0xc8/0x110)
[   27.382594]  r10:00000000 r9:c0801f00 r8:c7805200 r7:00000001 r6:00000000 r5:c0829178
[   27.390458]  r4:00000000
[   27.393022] [<c011c878>] (irq_exit) from [<c01465e4>] (__handle_domain_irq+0x8c/0xa8)
[   27.400893] [<c0146558>] (__handle_domain_irq) from [<c010138c>] (orion_handle_irq+0x74/0xa0)
[   27.409469]  r9:c0801f00 r8:00000001 r7:c085564c r6:c780801c r5:00000400 r4:0000000a
[   27.417263] [<c0101318>] (orion_handle_irq) from [<c01060c8>] (__irq_svc+0x68/0x84)
[   27.424968] Exception stack(0xc0801f00 to 0xc0801f48)
[   27.430044] 1f00: 00000000 00000000 00000000 60000013 00000000 ffffe000 c0803094 c08206e0
[   27.438271] 1f20: c080a852 c065e3e0 00000000 c0801f5c c0801f50 c0801f50 c0102ec0 c05a6814
[   27.446494] 1f40: 60000013 ffffffff
[   27.450004]  r10:00000000 r9:c0800000 r8:c080a852 r7:c0801f34 r6:ffffffff r5:60000013
[   27.457875]  r4:c05a6814
[   27.460441] [<c05a67dc>] (default_idle_call) from [<c013fdb8>] (do_idle+0x84/0x144)
[   27.468154] [<c013fd34>] (do_idle) from [<c01400d8>] (cpu_startup_entry+0x14/0x18)
[   27.475774]  r10:00721c14 r9:c0723a20 r8:c7ffcc80 r7:00000000 r6:c0803020 r5:ffffffff
[   27.483654]  r4:c0809c4c r3:40000013
[   27.487258] [<c01400c4>] (cpu_startup_entry) from [<c05a1660>] (rest_init+0x74/0x94)
[   27.495063] [<c05a15ec>] (rest_init) from [<c0700d3c>] (start_kernel+0x3a0/0x424)
[   27.502595]  r5:ffffffff r4:c08299a0
[   27.506188] [<c070099c>] (start_kernel) from [<00008048>] (0x8048)
[   27.512404] ---[ end trace 351d5fe97981d9fa ]---
02.04.20192217Base systemBug ReportVery LowLowGet all zero Mac address when tagged port VLAN between ...TrunkUnconfirmed Task Description
 
I have two routers running the latest OpenWrt master trunk version. The first works as router(with dhcp/dns) and another works as pure AP(without dns/dhcp). So far it works fine.

Because I need a guest wifi network, so I added one vlan setting between router and AP with port tagged(VLAN-ID=17), after that, the AP device can not get correct routers’s MAC address(it’s all ZERO!)

The arp command shows output as following:


root@OpenWrt:/tmp# arp
IP address       HW type     Flags       HW address            Mask     Device
192.168.10.1     0x1         0x0         00:00:00:00:00:00     *        eth0.1
192.168.10.206   0x1         0x2         3c:xx:xx:xx:xx:e3     *        eth0.1
root@OpenWrt:/tmp# uname -a
Linux OpenWrt 4.14.107 #0 SMP Mon Mar 25 10:09:12 2019 mips GNU/Linux`

After I give it the corrct MAC address with ‘ip neigh’ command, it also fails when ping to gateway.

root@OpenWrt:/tmp# ip neigh change   192.168.10.1 lladdr 1C:xx:xx:xx:9B:xx nud permanent dev eth0.1
root@OpenWrt:/tmp# arp
IP address       HW type     Flags       HW address            Mask     Device
192.168.10.1     0x1         0x6         1c:xx:xx:xx:9b:xx     *        eth0.1
192.168.10.206   0x1         0x2         3c:xx:xx:xx:xx:e3     *        eth0.1

root@OpenWrt:/tmp# ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1): 56 data bytes
^C
--- 192.168.10.1 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss

My router type is newifi d2 and TL-WR2041n.
I am sure that it works fine with vlan-guest-network setting in previous version of OpenWrt.


01.04.20192216Base systemBug ReportVery LowHighath79 - eth0 Spasmodic Link Speed After Driver Changes?...TrunkUnconfirmed Task Description

I've built the latest version of OpenWRT with stock packages and configuration, however, after random amounts of time, all clients lose connectivity because the eth0 link speed drops from the regular 100 Mbps Full Duplex to 10 Mbps Half Duplex, only to reconnect again after a couple of minutes (seconds to mintes, it depends), and do it again at another random time.

[18580.106696] eth0: link up (100Mbps/Full duplex)
[19014.825937] eth0: link up (10Mbps/Half duplex)
[19055.384105] eth0: link up (100Mbps/Full duplex)
[21927.853366] eth0: link up (10Mbps/Half duplex)
[22003.771999] eth0: link up (100Mbps/Full duplex)
[23743.685216] eth0: link down
[23744.723679] eth0: link up (100Mbps/Full duplex)
[23756.242265] eth0: link down
[23757.283590] eth0: link up (100Mbps/Full duplex)
[24075.522397] eth0: link up (10Mbps/Half duplex)
[24090.081802] eth0: link up (100Mbps/Full duplex)
[24100.481809] eth0: link up (10Mbps/Half duplex)
[24166.001178] eth0: link up (100Mbps/Full duplex)
[24500.880989] eth0: link up (10Mbps/Half duplex)

The logs aren't very useful, it seems. Both syslog and dmesg show the same.

I suspect this started happening after this series of commits (ending with this one) where there were driver changes to the switch, as it didn't happen before I recompiled a new build with all those newer changes:
https://github.com/openwrt/openwrt/commit/3d93b35f039de86830565420968715b300066475

31.03.20192214Base systemBug ReportVery LowLowblock-mount: wrong processing orderTrunkUnconfirmed Task Description

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

/etc/config/fstab:

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

config mount
        option target '/mnt/sda1'
        option uuid '57f8f4bc-abf4-655f-bf67-946fc0f9f25b'
        option enabled '0'

config mount
        option target '/mnt/sda2'
        option uuid '57f8f4bc-abf4-655f-bf67-946fc0f9f25b'
        option enabled '0'

config swap
        option uuid '76a17421-4317-40d4-b62e-d6510627334e'
        option label 'swap'
        option enabled '1'
        option device '/dev/sda4'

config mount
        option uuid '84eefd86-9cd3-463a-aa70-6ac876fd4432'
        option label 'home'
        option device '/dev/sda5'
        option fstype 'ext4'
        option target '/home'
        option enabled '1'
        option enabled_fsck '1'
        option options 'rw,sync,delalloc,block_validity'

config mount
        option uuid '439af06e-a586-4ded-9ab6-7703aff9853f'
        option label 'srv'
        option device '/dev/sda6'
        option fstype 'ext4'
        option target '/srv'
        option enabled '1'
        option enabled_fsck '1'
        option options 'rw,sync,delalloc,block_validity'

config mount
        option uuid '041c1481-07b9-48ac-b89c-46da429872b9'
        option label 'setup'
        option device '/dev/sda7'
        option fstype 'ext4'
        option target '/etc/setup'
        option enabled '1'
        option enabled_fsck '1'
        option options 'rw,sync,delalloc,block_validity'

config mount
        option uuid '8c9aea45-352f-4428-8805-a69445d4b1a4'
        option label 'ext'
        option device '/dev/sda8'
        option fstype 'ext4'
        option options 'rw,sync'
        option target '/srv/ext'
        option enabled_fsck '1'
        option enabled '0'

# uci show fstab

fstab.@global[0]=global
fstab.@global[0].anon_swap='0'
fstab.@global[0].anon_mount='0'
fstab.@global[0].auto_swap='1'
fstab.@global[0].auto_mount='1'
fstab.@global[0].delay_root='5'
fstab.@global[0].check_fs='0'
fstab.@mount[0]=mount
fstab.@mount[0].target='/mnt/sda1'
fstab.@mount[0].uuid='57f8f4bc-abf4-655f-bf67-946fc0f9f25b'
fstab.@mount[0].enabled='0'
fstab.@mount[1]=mount
fstab.@mount[1].target='/mnt/sda2'
fstab.@mount[1].uuid='57f8f4bc-abf4-655f-bf67-946fc0f9f25b'
fstab.@mount[1].enabled='0'
fstab.@swap[0]=swap
fstab.@swap[0].uuid='76a17421-4317-40d4-b62e-d6510627334e'
fstab.@swap[0].label='swap'
fstab.@swap[0].enabled='1'
fstab.@swap[0].device='/dev/sda4'
fstab.@mount[2]=mount
fstab.@mount[2].uuid='84eefd86-9cd3-463a-aa70-6ac876fd4432'
fstab.@mount[2].label='home'
fstab.@mount[2].device='/dev/sda5'
fstab.@mount[2].fstype='ext4'
fstab.@mount[2].target='/home'
fstab.@mount[2].enabled='1'
fstab.@mount[2].enabled_fsck='1'
fstab.@mount[2].options='rw,sync,delalloc,block_validity'
fstab.@mount[3]=mount
fstab.@mount[3].uuid='439af06e-a586-4ded-9ab6-7703aff9853f'
fstab.@mount[3].label='srv'
fstab.@mount[3].device='/dev/sda6'
fstab.@mount[3].fstype='ext4'
fstab.@mount[3].target='/srv'
fstab.@mount[3].enabled='1'
fstab.@mount[3].enabled_fsck='1'
fstab.@mount[3].options='rw,sync,delalloc,block_validity'
fstab.@mount[4]=mount
fstab.@mount[4].uuid='041c1481-07b9-48ac-b89c-46da429872b9'
fstab.@mount[4].label='setup'
fstab.@mount[4].device='/dev/sda7'
fstab.@mount[4].fstype='ext4'
fstab.@mount[4].target='/etc/setup'
fstab.@mount[4].enabled='1'
fstab.@mount[4].enabled_fsck='1'
fstab.@mount[4].options='rw,sync,delalloc,block_validity'
fstab.@mount[5]=mount
fstab.@mount[5].uuid='8c9aea45-352f-4428-8805-a69445d4b1a4'
fstab.@mount[5].label='ext'
fstab.@mount[5].device='/dev/sda8'
fstab.@mount[5].fstype='ext4'
fstab.@mount[5].options='rw,sync'
fstab.@mount[5].target='/srv/ext'
fstab.@mount[5].enabled_fsck='1'
fstab.@mount[5].enabled='1'

/dev/sda8 ⇒ /srv/ext is mounted before /dev/sda6 ⇒ /srv

# block info

/dev/sda1: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" VERSION="1.0" MOUNT="/boot" TYPE="ext4"
/dev/sda2: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" VERSION="1.0" MOUNT="/" TYPE="ext4"
/dev/sda4: UUID="76a17421-4317-40d4-b62e-d6510627334e" LABEL="swap" VERSION="1" TYPE="swap"
/dev/sda5: UUID="84eefd86-9cd3-463a-aa70-6ac876fd4432" LABEL="home" VERSION="1.0" MOUNT="/home" TYPE="ext4"
/dev/sda6: UUID="439af06e-a586-4ded-9ab6-7703aff9853f" LABEL="srv" VERSION="1.0" MOUNT="/srv" TYPE="ext4"
/dev/sda7: UUID="041c1481-07b9-48ac-b89c-46da429872b9" LABEL="setup" VERSION="1.0" MOUNT="/etc/setup" TYPE="ext4"
/dev/sda8: UUID="8c9aea45-352f-4428-8805-a69445d4b1a4" LABEL="ext" VERSION="1.0" MOUNT="/srv/ext" TYPE="ext4"

# mount

/dev/root on / type ext4 (rw,noatime,block_validity,delalloc,barrier,user_xattr)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/sda1 on /boot type ext4 (rw,noatime,block_validity,delalloc,barrier,user_xattr)
/dev/sda1 on /boot type ext4 (rw,noatime,block_validity,delalloc,barrier,user_xattr)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
/dev/sda7 on /etc/setup type ext4 (rw,sync,relatime,data=ordered)
/dev/sda5 on /home type ext4 (rw,sync,relatime,data=ordered)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/sda8 on /srv/ext type ext4 (rw,sync,relatime,data=ordered)
/dev/sda6 on /srv type ext4 (rw,sync,relatime,data=ordered)

# df -h

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 7.9G     11.1M      7.8G   0% /
tmpfs                   121.8M     60.0K    121.7M   0% /tmp
/dev/sda1               256.0M      3.6M    247.3M   1% /boot
/dev/sda1               256.0M      3.6M    247.3M   1% /boot
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/sda7               975.9M      1.3M    907.4M   0% /etc/setup
/dev/sda5                 1.9G      1.5M      1.8G   0% /home
/dev/sda8                 2.6G      4.1M      2.5G   0% /srv/ext
/dev/sda6                 2.6G      4.1M      2.5G   0% /srv

Mounted manually with good order:

/dev/root on / type ext4 (rw,noatime,block_validity,delalloc,barrier,user_xattr)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/sda1 on /boot type ext4 (rw,noatime,block_validity,delalloc,barrier,user_xattr)
/dev/sda1 on /boot type ext4 (rw,noatime,block_validity,delalloc,barrier,user_xattr)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
/dev/sda7 on /etc/eynola type ext4 (rw,sync,relatime,data=ordered)
/dev/sda5 on /home type ext4 (rw,sync,relatime,data=ordered)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/sda6 on /srv type ext4 (rw,relatime,data=ordered)
/dev/sda8 on /srv/ext type ext4 (rw,relatime,data=ordered)

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 7.9G     11.1M      7.8G   0% /
tmpfs                   121.8M     64.0K    121.7M   0% /tmp
/dev/sda1               256.0M      3.6M    247.3M   1% /boot
/dev/sda1               256.0M      3.6M    247.3M   1% /boot
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/sda7               975.9M      1.3M    907.4M   0% /etc/eynola
/dev/sda5                 1.9G      1.5M      1.8G   0% /home
/dev/sda6                 2.6G      4.1M      2.5G   0% /srv
/dev/sda8               975.9M      1.3M    907.4M   0% /srv/ext

and then /dev/sda6 is available through /srv and /dev/sda8 through /srv/ext

I tried the following things in /etc/config/fstab for sda6 and sda8

  only specify mount[x].uuid=
  only specify mount[x].device=
  only specify mount[x].label=
  inverse config mount section order between sda6 and sda8

but sda8 is always mounted before sda6

In which order are processed the mount order from the /etc/config/fstab ?
It does not seems to follow the mount[$idx] order.

Kind Regards

31.03.20192213Base systemBug ReportVery LowLowLow 2.4 GHz throughput and TX level on XD3200TrunkUnconfirmed Task Description

Device: Yuncore XD3200
Version: OpenWrt 18.06.2
Steps to reproduce: Turn on 2.4 GHz radio and measure the TX signal level and data transfer speed.

Linkt to forum post with more info

“While I’m only getting 18-22MBit (TCP, AP>Client) with the XD3200, the UAP-AC-LITE is stable at 38-45MBit, with the ‘stock’ XD3200 QSDK firmware and proprietary atheros driver I’m getting stable 39-41MBit.

Client readings (AP SNR):
XD3200: -53 dBm
XD3200 QSDK: -41dBm
UAP-AC-LITE: -37dBm

AP readings (Client SNR):
XD3200: -48 dBm / -95 dBm (SNR 47)
XD3200 QSDK: -34 dBm / -95 dBm (SNR 61)
UAP-AC-LITE: -37 dBm / -95 dBm (SNR 58)”

30.03.20192211Base systemBug ReportVery LowLowIncrease UniElec U7621-06-256M-16M SPI frequency to 50M...TrunkUnconfirmed Task Description

According to the datasheet, the flash chip on the UniElec U7621-06-256M-16M board, MX25L12805D, is rated to support 33MHz for READ instructions and 50MHz for FAST_READ instructions.

29.03.20192210Base systemBug ReportVery LowMediumEA3500, hostapd: WPA: group key handshake failed (RSN) ...TrunkUnconfirmed Task Description

SNAPSHOT r9614-b614954, mwlwifi version 2018-12-18 c2c8244, hostapd-common - 2018-12-02-c2c6c01b-2

Run an EA3500 as AP, serving around 15 devices in a small open office. The signal level is good, SNR -ge 30. When using the default wpa_group_rekey value 600s, there were a lot of disconnections. More than 50% of App requests ended up with a timeout on some devices, such as an iPad. Trying different wpa_group_rekey in values wireless and leasetime in dhcp relieved the problem somewhat. But still many random connections and disconnections. The following log focuses on one device during a period of quiet time, with wpa_group_rekey being 3600s and leasetime 3600s as well. The problem/log is at least 15 times bigger/longer.

Fri Mar 29 05:02:36 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 05:02:36 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 05:03:30 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: group key handshake failed (RSN) after 4 tries
Fri Mar 29 05:03:30 2019 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 11:22:33:44:55:66
Fri Mar 29 05:03:35 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: deauthenticated due to local deauth request
Fri Mar 29 05:08:14 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: authenticated
Fri Mar 29 05:08:14 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: associated (aid 7)
Fri Mar 29 05:08:14 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 11:22:33:44:55:66
Fri Mar 29 05:08:14 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: pairwise key handshake completed (RSN)
Fri Mar 29 05:08:14 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 05:08:14 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 05:38:14 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 05:38:14 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 06:03:30 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: group key handshake failed (RSN) after 4 tries
Fri Mar 29 06:03:30 2019 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 11:22:33:44:55:66
Fri Mar 29 06:03:35 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: deauthenticated due to local deauth request
Fri Mar 29 06:04:21 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: authenticated
Fri Mar 29 06:04:21 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: associated (aid 2)
Fri Mar 29 06:04:21 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 11:22:33:44:55:66
Fri Mar 29 06:04:21 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: pairwise key handshake completed (RSN)
Fri Mar 29 06:04:21 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 06:04:21 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 06:34:21 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 06:34:21 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 07:02:21 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 07:02:21 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 07:03:30 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: group key handshake failed (RSN) after 4 tries
Fri Mar 29 07:03:30 2019 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 11:22:33:44:55:66
Fri Mar 29 07:03:35 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: deauthenticated due to local deauth request
Fri Mar 29 07:06:37 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: authenticated
Fri Mar 29 07:06:37 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: associated (aid 7)
Fri Mar 29 07:06:37 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 11:22:33:44:55:66
Fri Mar 29 07:06:37 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: pairwise key handshake completed (RSN)
Fri Mar 29 07:06:37 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 07:06:37 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 07:36:37 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 07:36:37 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 08:03:30 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: group key handshake failed (RSN) after 4 tries
Fri Mar 29 08:03:30 2019 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 11:22:33:44:55:66
Fri Mar 29 08:03:35 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: deauthenticated due to local deauth request
Fri Mar 29 08:04:16 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: authenticated
Fri Mar 29 08:04:16 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: associated (aid 3)
Fri Mar 29 08:04:16 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 11:22:33:44:55:66
Fri Mar 29 08:04:16 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: pairwise key handshake completed (RSN)
Fri Mar 29 08:04:16 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 08:04:16 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
29.03.20192209Base systemBug ReportVery LowHighInconsistent behaviour of HOST_CONFIGURE_CMD vs CONFIGU...TrunkUnconfirmed Task Description

Target checks via:

if [ -x $(CONFIGURE_CMD) ]; then

yet host does:

if [ -x configure ]; then

So trying to use this, will fail for the target, but not for the host.

CONFIGURE_CMD = ./buildtools/bin/waf configure
HOST_CONFIGURE_CMD = ./buildtools/bin/waf configure

This results in

./buildtools/bin/waf: binary operator expected

for the target.

The check is flawed in both cases, the host does not check for the custom configure command and the target is doing a file check only, so you have to ensure the actual “configure” argument is first in the CONFIGURE_ARGS.

CONFIGURE_ARGS:=configure $(CONFIGURE_ARGS)

This is confusing and both cases should work similar and check for CONFIGURE_CMD and maybe we should add a CONFIGURE_CMD_ARGS variable, that can hold custom arguments.

28.03.20192208KernelBug ReportVery LowMediumUAS support for USB3.0 drivesopenwrt-18.06Unconfirmed Task Description

UAS module is loaded fine on Linksys WRT3200ACM with openwrt 18.06 but when plugging a USB 3.0 drive (for example a USB 3.0 external HDD) it does not load in the right way and device ends using driver usb-storage, which prevents of using device at full speed.

Steps to reproduce: Plug a USB 3.0 external HDD to USB 3.0 port of any openwrt 18.06 device and check speed when copying a file to the external HDD, it should be around 100+ MBps

Any needed additional info can be found at this forum question: https://forum.openwrt.org/t/usb3-0-hdd-issues/34031/13


27.03.20192207Base systemBug ReportVery LowLowath79: Ubiquiti Nanostation M5 HP XM fails to initializ...TrunkUnconfirmed Task Description
  • Device: Ubiquiti Nanostation M5 HP XM
  • OpenWrt: master branch (commit ae9d3a25c2cb165912904dc8b57dbc5da24c61e1)
  • Symptoms of the Problem
    • “iwinfo” shows no output

Failed initialization:

[   11.643912] ath9k 0000:00:00.0: Direct firmware load for ath9k-eeprom-pci-0000:00:00.0.bin failed with error -2
[   11.654117] ath9k 0000:00:00.0: Falling back to user helper
[   11.867085] firmware ath9k-eeprom-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   11.876934] ath: phy0: Unable to load EEPROM file ath9k-eeprom-pci-0000:00:00.0.bin
[   11.884709] ath9k 0000:00:00.0: Failed to initialize device
[   11.890396] ath9k: probe of 0000:00:00.0 failed with error -22

A working initialization (same device, same commit, with ar711xx image):

Wed Mar 27 11:10:57 2019 kern.info kernel: [   16.709837] pci 0000:00:00.0: using irq 40 for pin 1
Wed Mar 27 11:10:57 2019 kern.warn kernel: [   16.714854] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
Wed Mar 27 11:10:57 2019 kern.info kernel: [   16.725987] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.734629] ath: EEPROM regdomain: 0x0
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.734637] ath: EEPROM indicates default country code should be used
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.734642] ath: doing EEPROM country->regdmn map search
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.734662] ath: country maps to regdmn code: 0x3a
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.734670] ath: Country alpha2 being used: US
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.734676] ath: Regpair used: 0x3a
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.755563] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Wed Mar 27 11:10:57 2019 kern.info kernel: [   16.758624] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
  • an ar71xx image based on the same commit works as expected
  • Ubiquiti Nanostation M5 loco XW also works
26.03.20192205Base systemBug ReportVery LowLowLinksys E2000 loses networksopenwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs random
- Software versions of OpenWrt 18.06.2, no additional packages installed, vanilla OpenWRT
- Steps to reproduce - none.

The router is a converted unit from WRT320N.

On seemingly random intervals from several days to several weeks it loses all networking ability: no ping to outside or from outside to the device but it gives out IP to the devices (DHCP seems to work) but no internet. I haven’t checked if other devices in the network are visible to one another. The devices connected through wire (Windows boxes) show yellow triangles on the network status (DNS server not found or sth like this). The wireless devices connected show “Connected but not internet” or alike. Restarting the router does not fix the problem. The only way to overcome it is to press “Reset” button at the back of the router. Several times I had to do it at least twice after the reboot: reset then reboot then reset again and reboot again.

I configure the device through SSH (dropbear and keys) and copy the config files in place (/overlay/...). Every time I use all the same files.

I’ve diff’d the configs when the router is out of order and my backup where I restore the configs from and they are the same to the last bit. In that state if I connect the computer to the WLAN cable directly there is internet connection. It is not the provider (I’ve cursed them enough but as it seems is my routers fault). It is like this since I use OpenWRT - v15.05.1 Chaos Calmer.

Frankly, I have limited to none network knowledge and don’t know how to diagnose the problem so I can help myself or others further.

25.03.20192203KernelBug ReportVery LowLowmtk_eth_soc: cannot build without nf_conntrackTrunkUnconfirmed Task Description
  CC      drivers/net/ethernet/mediatek/mtk_eth_soc.o
In file included from drivers/net/ethernet/mediatek/mtk_eth_soc.c:34:0:
./include/net/netfilter/nf_flow_table.h:19:2: error: unknown type name 'nf_hookfn'
  nf_hookfn   *hook;
  ^~~~~~~~~
./include/net/netfilter/nf_flow_table.h:149:23: warning: 'struct nf_hook_state' declared inside parameter list will not be visible outside of this definition or declaration
          const struct nf_hook_state *state);
                       ^~~~~~~~~~~~~
./include/net/netfilter/nf_flow_table.h:151:25: warning: 'struct nf_hook_state' declared inside parameter list will not be visible outside of this definition or declaration
            const struct nf_hook_state *state);
                         ^~~~~~~~~~~~~
scripts/Makefile.build:326: recipe for target 'drivers/net/ethernet/mediatek/mtk_eth_soc.o' failed
23.03.20192202Base systemBug ReportVery LowCriticalbrcm63xx: Hg556a: kernel boot stuck at "random: crng in...TrunkUnconfirmed Task Description

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

Steps to reproduce:

  Intall the latest trunk version kernel 4.14.107

Sympthoms:

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

Boot Log:

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


22.03.20192201KernelBug ReportVery LowLowkernel error: do_page_fault(): sending SIGSEGV to reade...TrunkUnconfirmed Task Description

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

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

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

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

22.03.20192199KernelBug ReportVery LowLowBananapi R2, Kernel command line problemTrunkUnconfirmed Task Description

Can not configure root variable in kernel command line with U-Boot. Please clean
CONFIG_CMDLINE for linux kernel.

thanks.

 


21.03.20192198ToolchainBug ReportVery LowLowTow entangled problems involving boost and package inte...openwrt-18.06Unconfirmed Task Description

This involves an x86 generic full build of 18.02.
This seems less to be a problem directly involving packages, and more a
problem involving the integration of packages.

The builds were finishing up to this point.
In make menuconfig, I added in a few packages to replace the weaker
binutils version of these utilities, e.g., the less package, because I
wanted the search capability.
Apparently these additions got tangled up with boost, which was not at
this point selected:

cp -fpR -v /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/boost_1_68_0/ipkg-install/lib/*.{a,so*} /home/stuff/code/openwrt/repo/tmp/stage-boost/usr/lib/
‘/home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/boost_1_68_0/ipkg-install/lib/libboost_exception.a’ → ‘/home/stuff/code/openwrt/repo/tmp/stage-boost/usr/lib/libboost_exception.a’ cp: cannot stat ‘/home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/boost_1_68_0/ipkg-install/lib/*.so*’: No such file or directory

I searched for the unusual string {a,so*} and found it in feeds/packages/libs/boost/Makefile
line 473.
Apparently boost was being pulled in, but not creating any .so* files, even though boost was not yet selected.

So I went into make menuconfig and selected boost. Same problem.

Then I split line 473 to this form:

$(CP) -v $(PKG_INSTALL_DIR)/lib/*.a $(1)/usr/lib/
-$(CP) -v $(PKG_INSTALL_DIR)/lib/*.so* $(1)/usr/lib/

(It had been {a,so*}).
This (I think) will execute the same if boost is creating any .so files,
but will otherwise get past this step if no .so files are being created.

It seemed to work at first. But then (using make -j1) I started getting
complaints about the newly selected packages overwriting busybox versions of
files.
If you look more closely you will see that these errors wrote in the middle
of the string “Configuring boost.”
CoCollected errors:
* check_data_file_clashes: Package logger wants to install file /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/root-x86/usr/bin/logger

      But that file is already provided by package  * busybox

* opkg_install_cmd: Cannot install package logger.
* check_data_file_clashes: Package findutils-find wants to install file /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/root-x86/usr/bin/find

      But that file is already provided by package  * busybox

* opkg_install_cmd: Cannot install package findutils-find.
* check_data_file_clashes: Package findutils-xargs wants to install file /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/root-x86/usr/bin/xargs

      But that file is already provided by package  * busybox

* opkg_install_cmd: Cannot install package findutils-xargs.
* check_data_file_clashes: Package less-wide wants to install file /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/root-x86/bin/less

      But that file is already provided by package  * less

* opkg_install_cmd: Cannot install package less-wide.
nfiguring boost.

Note that busybox doesn’t like having logger, find, and xargs overwritten,
but I also selected find and less, which should have overwritten busybox
versions of the files. But that didn’t generate any complaints.

Here is where my memory gets a little hazy... I found out about this time that
menuconfig/boost was set to not install any libraries, so I selected ‘all
libraries’, and that may have gotten rid of the boost .so problem, because the
boost build was now creating .so files.

But I was still getting the file overwrite problem, so I yanked out the
offending package selections. At that point the make process completed.

Anyway, that’s what happened.

 


21.03.20192197KernelBug ReportVery LowMediumdefault kernel option CONFIG_BPF_JIT=y breaking bpf fil...TrunkUnconfirmed Task Description

Between 18.06.2 and the Trunk the kernel option CONFIG_BPF_JIT=y was added.

With JIT enabled, a simple beacon filter shows no traffic.
With JIT disabled, the filter works normally.

Device: ar71xx generic device (gl-mifi):

Test:
put the radio card in monitor mode:
iw wlan0 set type monitor
ifconfig wlan0 up
iw wlan0 set channel 1 # some channel with an AP

tcpdump -i wlan0
see lots of traffic and beacons

tcpdump -i wlan0 wlan type mgt subtype beacon
no traffic

Fix:
echo 0 > /proc/sys/net/core/bpf_jit_enable

tcpdump -i wlan0 wlan type mgt subtype beacon
see lots of beacons

More detail:
Testing on my side, with JIT enabled, it seems to be computing the offset to the start of the wlan packet incorrectly. In my case, the offset was off by +16 bytes. A filter of “wlan[0] == 0×80” should show beacons, because the type/subtype field is the first byte of the wlan packet. With JIT enabled, wlan[0] was equal to the first byte of the addr3/bssid field (the first byte of my AP’s MAC address), which is 16 bytes later in the packet.


21.03.20192196Base systemBug ReportVery LowMediumblock info confuses mount pointsAllUnconfirmed Task Description

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

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

/etc/config/fstab:

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

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

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

After boot the output of mount looks like this:

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

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

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

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

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

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

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

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

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

18.03.20192193Base systemBug ReportVery LowLownetdev LED Trigger for pppoe-wanTrunkUnconfirmed Task Description

Hi there, I am having a little issue with

netdev

LED trigger for DSL based routers. The issue occurs when the pppoe-wan connection gets connected but the assigned LED doesn’t light up and shows no activity either. I have two HH5As and one TP-Link TDW8980 and these devices are based on xrx200 chips.

The issue is appearing in master/snapshots builds, either manually compiled from source or downloaded from downloads.openwrt.org. Also the issue appears on all of the devices mentioned above.

To reproduce you can disconnect the pppoe-wan connection and connect it again. Once connected the LED wouldn’t light up but if you issue a

service led reload

command then LED starts working as it should.

17.03.20192192Base systemFeature RequestVery LowHighEFI compatible images neededopenwrt-18.06Unconfirmed Task Description

Currently we are only getting msdos based images for x86_64. Much of the new hardware for that platform is increasingly only UEFI based. Some motherboards allow for a CSM (bios) boot, but not all. I know there is a workaround documented in the wiki, but I was unable to get it to work.

With x86_64 hardware we can get much greater openvpn speeds vs an off the shelf router. This enhancement would be a win for all those wanting to build their own with newer more efficient hardware with excellent AES-NI support.


16.03.20192191Base systemBug ReportVery LowMediumTP-Link WBS210 Images brokenopenwrt-18.06Unconfirmed Task Description

I cannot install the 18.06.1 and 18.06.2 Images on my TP-Link WBS210. For the openwrt-18.06.x-ar71xx-generic-wbs210-v1-squashfs-sysupgrade.bin image I get the message:

“The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform.”

Up to version 18.06.0 everything worked fine.

16.03.20192190Base systemBug ReportVery LowLowTP-Link Archer C7 v2 ath79 - using lastest gcc doesnt b...TrunkUnconfirmed Task Description

I compile openwrt / lede for many years... using gcc 8.x + binutils 2.32, tplink doesnt boot!
Compatibility problem?

15.03.20192188Base systemBug ReportVery LowLowiw reg get confusing outputTrunkUnconfirmed Task Description

I get:

# iw reg get
global
country BE: DFS-ETSI
        (2402 - 2482 @ 40), (N/A, 20), (N/A)
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
        (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

phy#1
country US: DFS-FCC
        (2402 - 2472 @ 40), (N/A, 30), (N/A)
        (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
        (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
        (5735 - 5835 @ 80), (N/A, 30), (N/A)
        (57240 - 63720 @ 2160), (N/A, 40), (N/A)

phy#0
country US: DFS-FCC
        (2402 - 2472 @ 40), (N/A, 30), (N/A)
        (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
        (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
        (5735 - 5835 @ 80), (N/A, 30), (N/A)
        (57240 - 63720 @ 2160), (N/A, 40), (N/A)

But it seems to me that that output is confusing. It’s reporting the country as US for both the phys, but it actually seems to be using the global settings for BE. I’ve tried changing the output power to 23, but it’s limiting it to 20, even though it seems to claim that other settings are in use. “iw phy phy0 info” is also reporting the correct power levels and which channels are available. If I change the global setting to US using “iw reg set US”, it will actually let me set the power level to 23. My config actually lists BE for both radios. I’m not sure there is actually a way to set different values for the phys.

I’m pretty sure that both radio’s where set to BE before, but at some point it was listing US for both of them in the luci status (on cgi-bin/luci/admin/network/wireless/radio0.network1). It seems that for some reason it changed one of them from BE to US, and then both ended up showing as US, even when one was still configured as BE. I’m not sure it’s related to the above or not.

This is on a Ubiquiti UniFi-AC-MESH using 18.06.2.

14.03.20192187Base systemFeature RequestVery LowLowAdd LED trigger "phy0tpt" - NETGEAR EX2700openwrt-18.06Unconfirmed Task Description

Device: NETGEAR EX2700

Version: openwrt-18.06 branch (git-19.020.41695-6f6641d) / OpenWrt 18.06.2 r7676-cddd7b4c77

Feature: Add LED trigger “phy0tpt”. At the moment there is such no option available in luci and changing the config file manually also doesn’t have any effect. This trigger is available on many other devices by default.

 


14.03.20192186KernelBug ReportVery LowMediumDSA driver performance issueTrunkUnconfirmed Task Description


Device: Linksys EA9500
Trunk: Kernel v4.19.25

I’ve compiled my own kernel and used DSA driver instead of swconfig
one for this router. Note: Kernel v4.19 enables broadcom tags for
B53 family of switches in this DSA driver

Here are some of my observations:

1. Lan to Lan speed is indeed 1Gbps (file copy)
2. However, Lan to Wan port is capped at ~500Mbps

 i. My internet is limited to 200Mbps, please see by test 
    setup below
ii. One of the users who has 1GBps internet had initially
    reported this issue

I’ve tried all the lan ports but the result is same. Note that this
router has 8 lan ports and 1 wan port. Where, switch bcm53012
covers lan4, lan7, lan8 and wan ports. While bcm53125 covers lan1,
lan2, lan3, lan5 and lan6 ports. bcm53125’s cpu port(8) hangs of
bcm53012 at port(0). bcm53012 is connected to GMAC.

When I load factory firmware, I do get 1Gbps from lan to wan port

Test setup:


Router ⇔ pfsense box ⇔ Modem

             ||
            SSD

File copy is limited to ~500Mbps

Thanks,

Vivek


14.03.20192184Base systemBug ReportVery LowLowWhen interface is deleted from LuCI, it's name isn't de...openwrt-18.06Unconfirmed Task Description

If an interface is created and assigned a firewall zone, then this interface is deleted form LuCI, its name remains in /etc/config/firewall

14.03.20192183Base systemBug ReportVery LowLowIf setting WWAN to WAN zone then back to LAN zone, no a...openwrt-18.06Unconfirmed Task Description

Main router is a third party router in router mode.
OpenWrt 18.06.02 on Archer C7 V2 connects to main router’s AP – we call this interface WWAN
If WWAN interface is set to LAN zone, there is access to router form WWAN side. If I set it to WAN zone then revert back to WWAN zone, access is not regained.

 


12.03.20192182KernelBug ReportVery LowMediumath10k_pci repeated errors in dmesgTrunkUnconfirmed Task Description

Netgear R7800
OpenWrt SNAPSHOT, r9559-445ca981d1

dmesg full of these errors. Kernel crashes too (reported in  FS#2178 ), not sure if related or a different issues.

[40794.429593] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
[40794.429647] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
[40794.436800] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
[40794.445022] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
...
11.03.20192179Base systemBug ReportVery LowLowTPLink 4900 - current trunk image does not bootTrunkUnconfirmed Task Description

Hi all,

I have a stock TPLink 4900 router, serial connected and flashed the current tunk image from the Openwrt Download page:

openwrt-mpc85xx-generic-tl-wdr4900-v1-squashfs-factory.bin  d6caa44c43011784ce27dafa2e845257283a2067c665f5726bd78473664a9767	15872.0 KB	Mon Mar 11 19:33:09 2019 

In the serial console I see the following boot error:


U-Boot 2010.12-svn15934 (Dec 11 2012 - 16:23:49)

CPU:   P1014, Version: 1.0, (0x80f10110)
Core:  E500, Version: 5.1, (0x80212151)
Clock Configuration:
       CPU0:800  MHz,
       CCB:400  MHz,
       DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), IFC:100  MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
Board: P1014RDB
SPI:   ready
DRAM:  128 MiB
L2:    256 KB enabled
Using default environment

PCIe1: Root Complex of mini PCIe Slot, x1, regs @ 0xffe0a000
  01:00.0     - 168c:abcd - Network controller
PCIe1: Bus 00 - 01
PCIe2: Root Complex of PCIe Slot, x1, regs @ 0xffe09000
  03:00.0     - 168c:0033 - Network controller
PCIe2: Bus 02 - 03
In:    serial
Out:   serial
Err:   serial
Net:   initialization for Atheros AR8327/AR8328
AR8327/AR8328 v1.1 is found!
eTSEC1
Autobooting in 1 seconds
SF: Detected S25FL128S_64K with page size 256, total 16 MiB
16384 KiB S25FL128S_64K at 0:0 is now current device
SPI flash read successful
SPI flash read successful
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.14.105
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    2908778 Bytes = 2.8 MiB
   Load Address: 01000000
   Entry Point:  01000588
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
=>

Next I tried to build my own image, which does lead to the same error.
Any hints how to get a proper Openwrt image for the TPLINk 4900 target ?

Greetings THomas

10.03.20192176KernelBug ReportMediumHighubiquiti loco xw (AR9342 Rev.2) stops receiving on wire...AllNew Task Description

This bug has been existing as long as the ubiquiti loco xw 5 ghz hardware is around, probably what we are dealing with is a hardware bug in the AR9342 Rev. 2 chip. It is somehow hard to reproduce, but it hits us reliable every couple of hours, sometimes days, running any version of OpenWrt up to todays master branch. It just happened again and this time I decided to check if the bug is actually listed on FS – in addition to creating the usual cron-job executing `iw dev wlan0 scan` every minute. There is even a watchdog in the community libremesh repository designed to catch exactly this bug:
https://github.com/libremesh/lime-packages/blob/master/packages/cotonete/Makefile#L21

So to run into it, here we got 2 ubiquiti nanobeam m5 devices running OpenWrt ar71xx/generic loco-m-xw pointing at each other over a distance of roughly 2km. This link is acceptable, but not perfect and slightly asymmetric.

Device A (worse RX SNR):

Station f0:9f:c2:xx:xx:7a (on wlan0-mesh)
	inactive time:	0 ms
	rx bytes:	1433997029
	rx packets:	8589913
	tx bytes:	23160025785
	tx packets:	15667682
	tx retries:	677924
	tx failed:	0
	rx drop misc:	30076
	signal:  	-76 [-79, -79] dBm
	signal avg:	-74 [-77, -77] dBm
	Toffset:	4887897799 us
	tx bitrate:	43.3 MBit/s MCS 10 short GI
	rx bitrate:	43.3 MBit/s MCS 4 short GI
	expected throughput:	24.536Mbps
	mesh llid:	0
	mesh plid:	0
	mesh plink:	ESTAB
	mesh local PS mode:	ACTIVE
	mesh peer PS mode:	ACTIVE
	mesh non-peer PS mode:	ACTIVE
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		yes
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	connected time:	18117 seconds

Device B (better RX SNR)

Station fc:ec:da:xx:xx:8c (on wlan0-mesh)
	inactive time:	20 ms
	rx bytes:	23442553203
	rx packets:	16047526
	tx bytes:	1274688573
	tx packets:	8251479
	tx retries:	1337700
	tx failed:	2932
	rx drop misc:	45195
	signal:  	-72 [-79, -73] dBm
	signal avg:	-71 [-78, -73] dBm
	Toffset:	18446744068821653812 us
	tx bitrate:	57.8 MBit/s MCS 11 short GI
	rx bitrate:	43.3 MBit/s MCS 10 short GI
	last ack signal:24 dBm
	expected throughput:	24.536Mbps
	mesh llid:	0
	mesh plid:	0
	mesh plink:	ESTAB
	mesh local PS mode:	ACTIVE
	mesh peer PS mode:	ACTIVE
	mesh non-peer PS mode:	ACTIVE
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		yes
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	connected time:	18179 seconds

Now it so happens that device A (and always only device A!) becomes deaf after some hours of mostly sending lots of traffic to device B. It will continue to send beacons, but loose all associations. device B will keep trying setting up a link, but it keeps ending up in ‘BLOCKED’ state and dumps using a monitor mode interface show that device A simply doesn’t react at all to any of the frames send by device B. A simple `iw dev wlan0 scan` on device A (which doesn’t give any results) fixes the problem.

The channel seems rather unused otherwise and signal quality only varies by weather conditions. Interestingly this seems to happen on non-DFS channels only. And it happens on Ad-Hoc mode (unencrypted, never tried encrypted) and 802.11s (open ie. setup via `iw` tool as well as with SAE ie. running `wpa_supplicant`) equally. It doesn’t happen on all nodes, but only on those with rather bad signal or at least one far-off neighbor.

Maybe related to FS#1246

I saw this occuring on ubnt nanostation loco m5 XW as well as on all nanobeam m5 variants (which is supposedly compatible with the loco-m-xw image).

ieee80211 phy0: Atheros AR9340 Rev:2 mem=0xb8100000, irq=47

WiFi EEPROM of the devices:

*
00001000  02 02 F0 9F C2 XX XX XX  00 30 3a 31 35 3a 36 64  |.....XXX.0:15:6d|
00001010  3a 64 64 3a 64 65 3a 61  64 00 00 00 00 00 1f 00  |:dd:de:ad.......|
00001020  33 01 00 00 00 00 04 00  00 00 2d 04 03 00 08 ff  |3.........-.....|
00001030  20 01 00 00 00 20 02 00  00 cc cc 0c 00 50 01 50  | .... .......P.P|
00001040  01 50 01 00 00 00 00 00  00 21 00 a4 00 00 00 00  |.P.......!......|
00001050  ff 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00001060  0e 0e 03 00 2c e2 00 02  0e 1c e0 e0 00 0c e0 e0  |....,...........|
00001070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00001080  00 00 00 00 00 00 00 00  00 00 70 89 ac 00 00 00  |..........p.....|
00001090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000010c0  00 00 00 70 ac 70 89 ac  70 89 ac 70 89 ac 22 22  |...p.p..p..p..""|
000010d0  22 22 22 22 22 22 22 22  20 1c 22 22 20 1c 22 22  |"""""""" ."" .""|
000010e0  20 1c 24 24 20 18 16 14  20 16 14 12 20 20 1c 14  | .$$ ... ...  ..|
000010f0  24 24 20 18 16 14 20 16  14 12 20 20 1c 14 24 24  |$$ ... ...  ..$$|
00001100  20 18 16 14 20 16 14 12  20 20 1c 14 22 22 1e 16  | ... ...  ..""..|
00001110  14 12 1e 14 12 10 20 20  1c 14 22 22 1e 16 14 12  |......  ..""....|
00001120  1e 14 12 10 20 20 1c 14  22 22 1e 16 14 12 1e 14  |....  ..""......|
00001130  12 10 20 20 1c 14 11 12  15 17 41 42 45 47 31 32  |..  ......ABEG12|
00001140  35 37 70 75 ac b8 70 75  ac b8 70 75 ac b8 70 75  |57pu..pu..pu..pu|
00001150  ac b8 70 75 ac b8 70 75  ac b8 70 75 ac b8 70 75  |..pu..pu..pu..pu|
*
00001170  ac b8 3c 7c 3c 7c 3c 7c  3c 7c 3c 7c 3c 7c 3c 7c  |..<|<|<|<|<|<|<||
00001180  3c 7c 3c 7c 3c 7c 3c 7c  3c 7c 3c 7c 3c 7c 3c 7c  |<|<|<|<|<|<|<|<||
*
000011a0  3c 7c 10 01 00 00 22 22  02 00 00 00 00 00 00 00  |<|....""........|
000011b0  00 00 00 00 00 00 44 00  00 00 00 00 00 ff 00 00  |......D.........|
000011c0  00 00 00 00 00 00 00 00  00 00 00 00 ff 0e 0e 03  |................|
000011d0  00 2d e2 00 02 0e 1c 00  00 00 00 00 00 00 00 00  |.-..............|
000011e0  00 00 00 00 00 00 00 00  00 44 44 00 00 00 00 00  |.........DD.....|
000011f0  00 00 00 00 00 00 00 4c  58 68 8c a4 b4 bd cd d9  |.......LXh......|
00001200  00 89 00 00 00 dc 00 89  00 00 00 e0 00 8a 00 00  |................|
00001210  00 e2 00 8b 00 00 00 de  00 8b 00 00 00 de 00 8b  |................|
00001220  00 00 00 dc 00 89 00 00  00 da 00 8b 00 00 00 e0  |................|
00001230  00 89 00 00 00 e4 00 8a  00 00 00 e7 00 8b 00 00  |................|
00001240  00 e6 00 8b 00 00 00 e2  00 8c 00 00 00 e1 00 8c  |................|
00001250  00 00 00 df 00 8b 00 00  00 dd 00 8b 00 00 00 00  |................|
00001260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00001280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 4c  |...............L|
00001290  54 68 78 8c a0 b4 c5 4c  54 68 78 8c a0 b4 c5 4c  |Thx....LThx....L|
000012a0  54 68 78 8c a0 b4 c5 26  20 1e 1c 26 20 1e 1c 26  |Thx....& ..& ..&|
000012b0  20 1e 1c 26 20 1e 1c 26  20 1e 1c 26 20 1e 1c 26  | ..& ..& ..& ..&|
000012c0  20 1e 1c 26 20 1e 1c 26  22 20 1e 1c 1a 20 1e 1c  | ..& ..&" ... ..|
000012d0  1a 00 00 00 00 26 22 20  1e 1c 1a 20 1e 1c 1a 00  |.....&" ... ....|
000012e0  00 00 00 26 22 20 1e 1c  1a 20 1e 1c 1a 00 00 00  |...&" ... ......|
000012f0  00 26 22 20 1e 1c 1a 20  1e 1c 1a 00 00 00 00 26  |.&" ... .......&|
00001300  22 20 1e 1c 1a 20 1e 1c  1a 00 00 00 00 26 22 20  |" ... .......&" |
00001310  1e 1c 1a 20 1e 1c 1a 00  00 00 00 26 22 20 1e 1c  |... .......&" ..|
00001320  1a 20 1e 1c 1a 00 00 00  00 26 22 20 1e 1c 1a 20  |. .......&" ... |
00001330  1e 1c 1a 00 00 00 00 26  22 20 1e 1c 1a 20 1e 1c  |.......&" ... ..|
00001340  1a 00 00 00 00 26 22 20  1e 1c 1a 20 1e 1c 1a 00  |.....&" ... ....|
00001350  00 00 00 26 22 20 1e 1c  1a 20 1e 1c 1a 00 00 00  |...&" ... ......|
00001360  00 26 22 20 1e 1c 1a 20  1e 1c 1a 00 00 00 00 26  |.&" ... .......&|
00001370  22 20 1e 1c 1a 20 1e 1c  1a 00 00 00 00 26 22 20  |" ... .......&" |
00001380  1e 1c 1a 20 1e 1c 1a 00  00 00 00 26 22 20 1e 1c  |... .......&" ..|
00001390  1a 20 1e 1c 1a 00 00 00  00 26 22 20 1e 1c 1a 20  |. .......&" ... |
000013a0  1e 1c 1a 00 00 00 00 10  16 18 40 46 48 30 36 38  |..........@FH068|
000013b0  4c 54 68 78 8c a0 b9 cd  4c 54 68 78 8c a0 b9 cd  |LThx....LThx....|
*
000013f0  4c 54 68 78 8c a0 b9 cd  3c 7c 3c 7c 3c 7c 3c 7c  |LThx....<|<|<|<||
00001400  3c 7c 3c 7c 3c 7c 3c 7c  3c 7c 3c 7c 3c 7c 3c 7c  |<|<|<|<|<|<|<|<||
*
00001440  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
10.03.20192174PackagesBug ReportVery LowMediumOpenVPN tun adapter loses its IP address on network res...openwrt-18.06Unconfirmed Task Description

- Linksys WRT1200AC
- OpenWrt 18.06.2
- OpenVPN 2.4.5

The tun interface loses its IP address when a network restart (/etc/init.d/network restart) gets issued, if the tun adapter is if referenced in /etc/config/network.
You have to restart the OpenVPN service to reassign an IP address.
This happens on the server as well as on the client side and it can lock yourself out if you are connected via VPN.

https://forum.openwrt.org/t/openvpn-client-tun-adapter-loses-its-ip-address-on-network-restart/13825

08.03.20192172Base systemBug ReportVery LowLowath79: Archer C7 v1 CPU hangTrunkUnconfirmed Task Description

OpenWrt SNAPSHOT, r9548-9f818cb

boot ramdisk image, set password and configure wifi with following settings:

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/ahb/ahb:apb/18100000.wmac'
	option channel '5'
	option htmode 'HT40'
	option txpower '25'
	option country 'US'
	option legacy_rates '0'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option encryption 'psk2+ccmp'
	option key 'gsthrsrt6uhsthw6wu54ws'
	option ieee80211w '1'
	option wpa_disable_eapol_key_retries '1'
	option ssid 'OpenWrt2'

do some iperf traffic both ways (~130Mbps) for few minutes

executed command iw phy0 set distance auto, ran few short iperf tests after that

from luci unchecked Allow legacy 802.11b rates and hit apply

wifi doesn’t come up, CPU hangs, no additional messages on console except below posted and console don’t respond. device restarted automatically within a minute or so.

[ 1125.499211] device wlan0 left promiscuous mode
[ 1125.503804] br-lan: port 2(wlan0) entered disabled state
[ 1126.181396] br-lan: port 2(wlan0) entered blocking state
[ 1126.186789] br-lan: port 2(wlan0) entered disabled state
[ 1126.192445] device wlan0 entered promiscuous mode
[ 1126.197272] br-lan: port 2(wlan0) entered blocking state
[ 1126.202691] br-lan: port 2(wlan0) entered forwarding state
[ 1126.527341] br-lan: port 2(wlan0) entered disabled state
[ 1128.047343] ath: phy0: Unable to reset channel, reset status -5


07.03.20192171Base systemBug ReportVery LowLowStill stuck in boot loop after raspbian workaroundTrunkUnconfirmed Task Description

I’ve tried using the raspbian workaround:

  1. boot raspbian
  1. change region code
  1. reboot and check it
  1. reboot again with openwrt

But still it gets stuck in a boot loop at the same place.

Any suggestions please? Some users do not need wlan(2 I/f router) so would disabling(and how) allow openwrt to boot?

 


07.03.20192169Base systemBug ReportVery LowLowqca8337 switch does not support VLAN IDs > 128TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

c2600

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

openwrt 18.6.2 r7676-cddd7b4c77

- Steps to reproduce

attempt to configure a VLAN > 128

swconfig dev reports that it supports 128 VLANs with VLAN IDs in the range 0-4094
but with only 2 VLANs defined, you cannot set the vlan ID > 128

I do not find any option to enable larger VLAN IDs (enable4kvlans is not accepted)

Showing tasks 51 - 100 of 811 Page 2 of 17 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing