OpenWrt/LEDE Project

Welcome to the OpenWrt/LEDE Project bug reporting and issue tracking system

Problems to be reported here are for the OpenWrt/LEDE Project targets, sources, toolchain, core packages, build procedures, distribution and infrastructure. Guidelines for submitting a good bug report can be found at the OpenWrt/LEDE Project website. Problems related to LuCI or OpenWrt packages need to be reported in their repositories:

Notifications of all submissions and task changes are sent to lede-bugs@infradead.org.

OpenedIDCategoryTask TypePrioritySeveritySummaryReported InStatus
08.06.20203165Base systemBug ReportVery LowMedium[opkg | ppp ] installation collision TrunkUnconfirmed Task Description
{”kernel”:”4.14.180”,”hostname”:”OpenWrt”,”system”:”ARMv7 Processor rev 1 (v7l)”,”model”:”Turris Omnia”,”board_name”:”cznic,turris-omnia”,”release”:{”distribution”:”OpenWrt”,”version”:”19.07.3”,”revision”:”r11063-85e04e9f46”,”target”:”mvebu/cortexa9”,”description”:”OpenWrt 19.07.3 r11063-85e04e9f46”}}
—-
Collected errors:
 * check_data_file_clashes: Package ppp-multilink wants to install file /etc/ppp/chap-secrets
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /etc/ppp/filter
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /etc/ppp/options
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /etc/ppp/resolv.conf
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /lib/netifd/ppp-down
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /lib/netifd/ppp-up
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /lib/netifd/ppp6-up
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /lib/netifd/proto/ppp.sh
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /usr/sbin/pppd
	But that file is already provided by package  * ppp
 * opkg_install_cmd: Cannot install package ppp-multilink.

The opkg install command failed with code 255.


08.06.20203161Base systemBug ReportVery LowMedium[opkg | logd] installation collision syslog-ngopenwrt-19.07Unconfirmed Task Description
{”kernel”:”4.14.180”,”hostname”:”OpenWrt”,”system”:”ARMv7 Processor rev 1 (v7l)”,”model”:”Turris Omnia”,”board_name”:”cznic,turris-omnia”,”release”:{”distribution”:”OpenWrt”,”version”:”19.07.3”,”revision”:”r11063-85e04e9f46”,”target”:”mvebu/cortexa9”,”description”:”OpenWrt 19.07.3 r11063-85e04e9f46”}}
—-
opkg install syslog-ng
Collected errors:
 * check_data_file_clashes: Package syslog-ng wants to install file /sbin/logread
	But that file is already provided by package  * logd
 * opkg_install_cmd: Cannot install package syslog-ng.
08.06.20203160Base systemBug ReportVery LowHigh[opkg | odhcpd] installation collisionopenwrt-19.07Unconfirmed Task Description
{”kernel”:”4.14.180”,”hostname”:”OpenWrt”,”system”:”ARMv7 Processor rev 1 (v7l)”,”model”:”Turris Omnia”,”board_name”:”cznic,turris-omnia”,”release”:{”distribution”:”OpenWrt”,”version”:”19.07.3”,”revision”:”r11063-85e04e9f46”,”target”:”mvebu/cortexa9”,”description”:”OpenWrt 19.07.3 r11063-85e04e9f46”}}
—-
opkg install odhcpd
Installing odhcpd (2020-05-03-49e4949c-3) to root...
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/base/odhcpd_2020-05-03-49e4949c-3_arm_cortex-a9_vfpv3-d16.ipk
Collected errors:
 * check_data_file_clashes: Package odhcpd wants to install file /etc/init.d/odhcpd
        But that file is already provided by package  * odhcpd-ipv6only
 * check_data_file_clashes: Package odhcpd wants to install file /usr/sbin/odhcpd
        But that file is already provided by package  * odhcpd-ipv6only
 * check_data_file_clashes: Package odhcpd wants to install file /usr/sbin/odhcpd-update
        But that file is already provided by package  * odhcpd-ipv6only
 * opkg_install_cmd: Cannot install package odhcpd.


07.06.20203159Base systemBug ReportVery LowMedium 802.11r default settings are inappropriate, need to ch...TrunkUnconfirmed Task Description

Enabling 802.11r in LuCI auto populates with two default settings that break 802.11r functionality for most devices (though tested extensively on latest Apple iOS devices).

Bug: The current defaults for FT Protocol (FT Over DS) and Reassociation Deadline (1000) break iOS and other devices support for 802.11r.

Solution: Change the current default for FT Protocol to FT over the air and for Reassociation Deadline to 20000.

Support for these new defaults: According to papers from Cisco (https://www.cisco.com/c/dam/en/us/td/docs/wireless/controller/technotes/8-6/Enterprise_Best_Practices_for_iOS_devices_and_Mac_computers_on_Cisco_Wireless_LAN.pdf) FT over the air is the method supported by Apple devices and recommended. Furthermore, Cisco’s Reassocation Deadline is a default value of 20 seconds (https://www.cisco.com/c/en/us/td/docs/wireless/controller/technotes/80211r-ft/b-80211r-dg.html), which would translate to roughly 20000 when used as an OpenWRT setting.

My testing confirms the OpenWRT default values do not work with iOS (FT Over DS is not recognized, and if FT over the air is used with the original Reassocation Deadline of 1000 (roughly 1 second) transition is badly broken as devices will get kicked from their initial AP before associating with the next AP, which removes them from WiFi completely).

For one final piece of support, the 802.11r implementation used with Ubiquity systems is also FT Over the Air: https://community.ui.com/questions/802-11r-question/743b903c-3ad1-4ab6-897f-ebc24269130d I am unsure of their Reassocation Deadline default but I have found the setting of 20000 (which matches Cisco) to work very well in my testing.

07.06.20203156KernelBug ReportVery LowLowsit non-ECTopenwrt-19.07Unconfirmed Task Description

Device: TP-Link Archer C6v2
OpenWrt: 19.07.3

When stateless mode enabled with 6in4 tunnel, kernel always spamming this errors. Anyway IPv6 working fine.

[  552.992200] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  553.672272] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  555.673655] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  559.668806] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  561.802355] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  561.803238] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  563.850841] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  565.898359] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  565.898456] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  565.899107] sit: non-ECT from 193.0.203.203 with TOS=0xc1


06.06.20203154KernelBug ReportVery LowHighXFRM state insert failure with AES-GCMopenwrt-19.07Unconfirmed Task Description

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

 

X86_64 arch, kernel fails to insert XFRM states with AES-GCM as transform.
Testable with
ip x s add proto esp dst 14.0.0.70 src 14.0.0.52 spi 0×07 mode transport reqid 0×07 replay-window 32 aead ‘rfc4106(gcm(aes))’ 0x44434241343332312423222114131211f4f3f2f1 128 sel src 14.0.0.52/24 dst 14.0.0.70/24 proto tcp

Works on Arch.
Result on X86_64 OpenWRT 19.07.3:
RTNETLINK answers: No such file or directory

On Arch 5.6.15-arch1-1, works (no output, ip x s shows the state).
Also fails 100% of the time when tested using an IKE keying daemon, e.g. strongSwan

06.06.20203153PackagesBug ReportVery LowMediumfeeds/packages/utils/zstd fails to compile if python3-d...TrunkUnconfirmed Task Description

Device problem occurs on

build server

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

OpenWrt master as of r13499-7b4877c204

Steps to reproduce

  1. install debian 10 amd64 & OpenWrt build requirements
  2. git clone git://git.openwrt.org/openwrt/openwrt.git
  3. select ath79-generic as target & select btrfs with zstd support
  4. compile & wait
  5. get output similar to attached meson-log.txt

Solutions to solve problem

  • install “python3-distutils” on the host
  • zstd package checks if python3-distutils is installed and provides proper “missing dependency”-error
06.06.20203152Base systemBug ReportVery LowLowIntroduce fake hwclock moduleTrunkUnconfirmed Task Description

Hi,

I have a tl-wr1043nd-v1 router and use trunk ath79 builds. I noticed following with hwclock function:
@OpenWrt:~# hwclock
hwclock: can’t open ‘/dev/misc/rtc’: No such file or directory
@OpenWrt:~# hwclock -r
hwclock: can’t open ‘/dev/misc/rtc’: No such file or directory
@OpenWrt:~# hwclock -w
hwclock: can’t open ‘/dev/misc/rtc’: No such file or directory

currently running build r13498-898969636d

Kindly ask you to introduce fake hwclock module as RPi did or fix hwclock function.

05.06.20203151Base systemBug ReportVery LowCriticalKimax U35WF overlay memoryTrunkUnconfirmed Task Description

Kimax Blueendless U35WF
Original Kimax firmware

install
openwrt-19.07.3-ramips-mt7620-kimax_u35wf-initramfs-kernel.bin
problems: IP configuration lost after power up
unable to install any package (overlay memory),
unable to generate backup firmware config archive (no contents).
No version 18.06 available for this model to downgrade.

Flash new firmware image
openwrt-19.07.3-ramips-mt7620-kimax_u35wf-squashfs-sysupgrade.bin
and ok

04.06.20203150PackagesBug ReportVery LowMediumPackages seem to be missing from downloads.openwrt.org ...openwrt-19.07Unconfirmed Task Description

Device: openwrtorg/rootfs:armvirt-32-19.07.2 Docker image
Version: OpenWrt 19.07

Hi- I hope everyone is doing well.

We’ve got some builds that use the openwrtorg/rootfs:armvirt-32-19.07.2 Docker image; they run around 1600 UTC each day as well as any time somebody amends a related pull request (normally between 0000 UTC to 1000 UTC, our working day for Perth, Australia).

Occasionally, we get failures due to packages missing in OpenWrt (curiously, it’s usually GCC)- more commonly during our morning.

I _think_ this may be a byproduct of the OpenWrt nightly builds happening and the packages being rebuilt, it may be that https://downloads.openwrt.org/releases/19.07.2/packages/arm_cortex-a15_neon-vfpv4/packages/ is the actual build output folder (and so during a build, the contents may change).

I’ve had a look at the timestamps at that URL, I’m not sure what timezone they’re in, but they’re mostly around the 0100 to 0500 range- if this is UTC and my suspicions are correct, then that would definitely cause an increase of this issue during our morning (which is what we see).

I don’t think it’s related to any Docker build cache funniness- we wipe that at 1900 UTC each day.

While you won’t reliably be able to reproduce, here’s a simple test case (requiring Docker for Mac/Windows, or Docker for Linux with docker buildx configured):

- docker run –rm -it openwrtorg/rootfs:armvirt-32-19.07.2 sh
- mkdir /var/lock
- opkg update && opkg install gcc

I’ve attached a log excerpts from our CI system of one such failure.

Thanks and regards,

Ed

03.06.20203149KernelBug ReportVery LowHighpppoe-only-process-padt-targeted-at-local-interfaces.pa...AllUnconfirmed Task Description

The issue is well outlined in the forum https://forum.openwrt.org/t/pppoe-disconnects-every-few-hours/61239

Whilst being patched in kernel 4.19 | 5.4 | 5.6 https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/log/?id=a1b8c8b81a0c8c1dba9acaf2f85e7dbd6cbdc5b1&qt=grep&q=pppoe-only-process-padt-targeted-at-local-interfaces.patch&showmsg=1

kernel 4.14 (OpenWrt stable 19.07.x) seems to fall through the cracks somehow. With kernel 5.4 in upcoming stable OpenWrt 20.x still far out it would make sense to backport the patch into OpenWrt stable 19.07.x

03.06.20203147Base systemBug ReportVery LowHigh802.11w settings on LUCI WIFI page doesn't work properl...openwrt-19.07Unconfirmed Task Description

Host device

Device problem occurs on: Phicomm PSG1218A (MTK7620, 64M, 8MB, 802.11AC+N)
Software versions of OpenWrt/LEDE release: OpenWRT 19.07.3 Stable (r11063-85e04e9f46 / LuCI openwrt-19.07 branch git-20.136.49537-fb2f363)
Package: wpad-openssl OR hostapd-openssl

External server/service

RADIUS server: Windows Server 2019 NPAS, worked fine with WPA2-EAP

Client

Client WIFI chip and driver: Intel Dual Band Wireless-AC 8265 running newest driver version 20.70.16.4 (driver date: 01/01/2020)

Steps to reproduce:

1. initialize default settings, then remove wpad-basic and install wpad-openssl OR hostapd-openssl to enable WPA3 AP mode
2. leave 802.11w to default setting which is “Required” 3. set country setting, ssid, and etc. as required such as radius for EAP
4 if use WPA2-PSK or WPA2-EAP with default settings, everything works fine.

5. switch WIFI (AC/N) to WPA2-PSK/WPA3-SAE mixed mode (sae+ccmp or something like that) OR WPA2-EAP/WPA3-EAP mixed mode (wpa3-mixed+ccmp or something like that)
6. apply settings wait until effective or reboot to take effect

6.1 __ssid won't come up on 802.11g/n interface__ if in PSK/SAE mixed mode.

7. Client (Intel 8265) won’t be able to connect to SSID,

7.1 if ssid would come up (802.11a/ac), it would be seen on client scan, but the client (Intel 8265) won't be able to connect to SSID, reports "Can't connect", in EAP mode, router side log "Deauthenticated due to local request" after "EAP-SUCCESS"

8. switch 802.11w to other settings, including “Optional”, problem remains, router config file /etc/config/wireless would list “option ieee80211w ‘1’” 9. switch 802.11w to other settings, including “Optional”, problem still remains, router config file /etc/config/wireless will be missing the “option ieee80211w” completely, and it seems wpad or hostapd would assume “optional” (code ‘1’) as default value instead of the documented “disabled” (code ‘0’).

Steps to workaround:

Manually set “option ieee80211w ‘0’” in /etc/config/wireless to disable 802.11w and don’t update settings through LUCI on the problematic ssid, restart wifi. Everything would work.

02.06.20203144Base systemBug ReportVery LowLowuhttpd: https redirect should be to a configurable host...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: *all*
- Software versions of OpenWrt/LEDE release, packages, etc.: *master ~2 weeks old*
- Steps to reproduce: *see below*

Install luci-ssl. It will configure uhttpd to listen on port 443 and redirect http to https. In particular, it will add to /etc/config/uhttpd:

 option redirect_https '1'

However, the semantics of this redirect are wrong if a non-self-signed certificate is used.

In particular, it is now a boolean option, and always gets the redirect target from the Host: header. That is, it redirects http://192.168.1.1/ to https://192.168.1.1/, and, assuming that openwrt.mydomain.ru resolves to 192.168.1.1, it will also redirect http://openwrt.mydomain.ru/ to https://openwrt.mydomain.ru/.

What I want is a string option that specifies the domain for redirects. I.e., I should be able to set something like this:

 option redirect_https_domain 'openwrt.mydomain.ru'

and then both http://192.168.1.1/ and http://openwrt.mydomain.ru/ and http://anything.that.resolves.to.192.168.1.1.com/ should redirect to https://openwrt.mydomain.ru/.

02.06.20203143Base systemBug ReportVery LowLowramips/mt7621/zbt-wg3526-16 boot failure with kernel 5....TrunkUnconfirmed Task Description

Boot fails on snapshot images with kernel 5.4
- Device: ramips/mt7621/wg-3526
- Software: Any snapshot image with kernel 5.4

The router reboots every 1-2 seconds

https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-zbtlink_zbt-wg3526-16m-squashfs-sysupgrade.bin

01.06.20203142Base systemBug ReportVery LowMediumQEMU on arm64 cannot shut down OpenWRT 19.07openwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on - arm64 QEMU Virtual Machine
- Software versions of OpenWrt/LEDE release, packages, etc. - 19.07.3
- Steps to reproduce -
Boot OpenWRT as per the instructions at OpenWRT QEMU Documentation on an arm64 virtual machine.

 

When hosted in a QEMU virtual machine on arm64 (aarch64), OpenWRT is unable to shut down.
QEMU supports two shutdown methods on arm64, ACPI and QEMU Guest Agent

ACPI on arm64 requires UEFI support, which is not enabled in the armvirt-64 kernel.

QEMU Guest Agent has a package for OpenWRT but the package is broken due to the base implementation of OpenWRT.
QEMU Guest Agent forks a process that calls /sbin/shutdown with several flags when ordered to shut down.
/sbin/shutdown does not exist in the base system.
The flags passed are not compatible with /sbin/poweroff.

This is solved with a simple script:
/sbin/shutdown:

#!/bin/sh
/sbin/poweroff

Ideally support for armvirt-64 should move to uefi, since that is the expected supported method of booting a arm64 virtual machine.
This would require the addition of CONFIG_EFI_STUB to the armvirt-64 kernel config.
It would also require changing the armvirt-64 packaging to include the kernel efi image in the root file system, and/or add a bootloader such as grub.

01.06.20203140Base systemBug ReportVery LowLowsysupgrade spews lost of errors on x86_64TrunkUnconfirmed Task Description

This is on an x86_64 build of master from last Monday (circa 6e8b689).

The exact hardware is a Supermicro SYS-5018D-FN8T, 32GB of DRAM, 512GB of NVMe.

I built a new master today (8d2c031f) and scp’d it onto /tmp/ of my router. Then did a “sysupgrade /tmp/...” of that:

root@OpenWrt:/# ifdown wan
root@OpenWrt:/# 
root@OpenWrt:/# 
root@OpenWrt:/# sysupgrade /tmp/openwrt-r13360\+64-4661b05390-x86-64-generic-squashfs-combined-efi.img 
Image metadata not found
Reading partition table from bootdisk...
cat: write error: Broken pipe
Reading partition table from image...
Saving config files...
Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=7
- watchdog -
killall: telnetd: no process killed
killall: dropbear: no process kiSending TERM to remaining processes ... ntpd sh snmpd dhcpd ipset-dns collectd lldpd lldpd smartd named sleep ubusd askfirst urngd netifd rngd crond lighttpd sshd syslog-ng 
Sending KILL to remaining processes ... 
Switching to ramdisk...
Performing system upgrade...
Reading partition table from bootdisk...
dd: warning: partial read (8192 bytes); suggest iflag=fullblock
0+63 records in
0+63 records out
1101824 bytes (1.1 MB, 1.1 MiB) copied, 0.00492347 s, 224 MB/s
Reading partition table from image...
Writing image to /dev/nvme0n1p1...
cat: write error: Broken pipe
40959+0 records in
19+1 records out
20971008 bytes (21 MB, 20 MiB) copied, 0.0963313 s, 218 MB/s
Writing image to /dev/nvme0n1p2...
462847+0 records in
225+1 records out
236977664 bytes (237 MB, 226 MiB) copied, 0.810288 s, 292 MB/s
Writing new UUID to /dev/nvme0n1...
4+0 records in
4+0 records out
cat: write error: Broken pipe
4 bytes copied, 0.00439713 s, 0.9 k[ 2308.927159] F2FS-fs (nvme0n1p1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
B/s
[ 2308.945667] F2FS-fs (nvme0n1p1): Can't find valid F2FS filesystem in 1th superblock
[ 2308.963141] F2FS-fs (nvme0n1p1): Magic Mismatch, valid(0xf2f52010) - read(0x6020601)
[ 2308.980487] F2FS-fs (nvme0n1p1): Can't find valid F2FS filesystem in 2th superblock
Upgrading bootloader on /dev/nvme0n1...
touch: /tmp/boot/grub/upgraded: No such file or directory
Upgrade completed
Rebooting system...
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[ 2310.852582] ACPI Warning: \_SB.PCI0.BR2C._PRT: Return Package has no elements (empty) (20190816/nsprepkg-96)
[ 2310.881404] ACPI Warning: \_SB.PCI0.BR2C._PRT: Return Package has no elements (empty) (20190816/nsprepkg-96)
[ 2311.080235] reboot: Restarting system
[ 2311.093088] reboot: machine restart

Note that on reboot, dmesg says:

...
May 31 16:43:17 OpenWrt kernel: [    3.721825] Copyright (c) 1999-2008 LSI Corporation
May 31 16:43:17 OpenWrt kernel: [    3.724539] nvme nvme0: 7/0/0 default/read/poll queues
May 31 16:43:17 OpenWrt kernel: [    3.732035] Fusion MPT SPI Host driver 3.04.20
May 31 16:43:17 OpenWrt kernel: [    3.752418] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
May 31 16:43:17 OpenWrt kernel: [    3.753680] GPT:Primary header thinks Alt. header is not at the end of the disk.
May 31 16:43:17 OpenWrt kernel: [    3.764418] ehci-pci: EHCI PCI platform driver
May 31 16:43:17 OpenWrt kernel: [    3.777281] GPT:504894 != 1000215215
May 31 16:43:17 OpenWrt kernel: [    3.787218] ehci-pci 0000:00:1a.0: EHCI Host Controller
May 31 16:43:17 OpenWrt kernel: [    3.795949] GPT:Alternate GPT header not at the end of the disk.
May 31 16:43:17 OpenWrt kernel: [    3.795950] GPT:504894 != 1000215215
May 31 16:43:17 OpenWrt kernel: [    3.806441] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
May 31 16:43:17 OpenWrt kernel: [    3.817622] GPT: Use GNU Parted to correct GPT errors.
May 31 16:43:17 OpenWrt kernel: [    3.817629]  nvme0n1: p1 p2 p128
...

but I don’t know if that’s related or not.

31.05.20203139Base systemBug ReportVery LowMediumOpenWRT 19.07.03 - WiFi unstable - STA-OPMODE-SMPS-MODE...openwrt-19.07Unconfirmed Task Description

Hello there,
I just upgraded my perfectly working TP-Link TL-WDR4900 v1 from LEDE 17 to the latest OpenWRT firmware available: 19.07.03

Unfortunately now, some WiFi 2.4GHz clients got stuck on wifi, they cannot even ping the router, the only way to fix it is to manually disconnect and reconnect them.

This is the log from the router in that specific moment:
May 30 22:26:01 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 static
May 30 22:26:11 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 dynamic
May 30 22:38:59 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 static
May 30 22:38:59 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 dynamic
May 30 22:39:03 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 static
May 30 22:39:04 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 dynamic
May 30 22:39:12 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 static
May 30 22:39:13 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 dynamic

In order to reproduce the bug I have just to increase the traffic (download a big file on wifi)

30.05.20203138KernelBug ReportVery LowHighmac802.11sh commit broken and causing one radio to dropAllUnconfirmed Task Description

Source of the problem: commit `b551660` `/lib/netifd/wireless/mac802.11sh`
Device problem occurs on: Netgear R7800, LinksysWRT1900ACSv2, Netgear EX6400, TP-Link Archer C60
Software versions of OpenWrt/LEDE: v19.07.3 and master

Steps to reproduce: I created a post here https://forum.openwrt.org/t/wrt1900acsv2-only-one-wifi-radio-is-staying-up/64273 regarding the last WiFi client disconnecting from the AP stops working on that radio.

If I go into ‘Network > Wireless’ in LuCI and click the ‘Restart’ button on the 2.4 or 5GHz radio, that radio is the only radio that stays working, whereas the other radio says disabled and wireless not associated.

I can also replicate this via SSH/CLI running `wifi up radio0` disables radio1. Running `wifi up` brings radio1 up this but drops radio0. If I run `wifi up` a second time both radios come back up.

My forum has been linked to a Netgear 7800 thread found here https://forum.openwrt.org/t/netgear-r7800-exploration-ipq8065-qca9984/285/2259 and there has been confirmation that there appears to be a problem with commit `b551660` from May 4, 2020 for `openwrt/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh`. Rolling back to commit `0495324` appears to fix this issue.

I too can confirm this by renaming `mac80211.sh` to `mac80211.sh.old`, downloading commit `0495324`, placing it under `/lib/netifd/wireless`, setting the permissions to `0755` and then running `wifi up radio0` in SSH/CLI. Radio0 (5GHz) drops as expected and after a couple of seconds it is back up all without affecting the radio1 (2.4GHz).

This is the broken commit https://github.com/openwrt/openwrt/commit/b5516603dd90215d5cdc5bac7ea496a6c758bb0f

This is the working commit https://github.com/openwrt/openwrt/commit/0e522d5f4a31182312bd115c26c7edb654769724

29.05.20203135Base systemBug ReportVery LowLowbcm47xx: WGT634U missing ethernet interfaceTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Observed on bcm47xx Netgear WGT634U

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

  1. was working as of r12238-gdc145de4be
  2. noticed broken as of r13317-ga860fe2304

- Steps to reproduce: boot log contains:

[    1.478544] libphy: Fixed MDIO Bus: probed
[    1.483710] b44: Broadcom 44xx/47xx 10/100 PCI ethernet driver version 2.0
[    1.491079] b44 ssb0:0: Required 30BIT DMA mask unsupported by the system

Full log:

[    0.000000] Linux version 4.19.123 (openwrt@hawg) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13317-a860fe2304)) #0 Thu May 28 19:22:18 2020
[    0.000000] CPU0 revision is: 00029007 (Broadcom BMIPS3300)
[    0.000000] bcm47xx: Using ssb bus
[    0.000000] ssb: Found chip with id 0x5365, rev 0x01 and package 0x00
[    0.000000] early_nvram_init: WGT634U NVRAM found.
[    0.000000] ssb: Sonics Silicon Backplane found at address 0x18000000
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 8kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 4kB, 2-way, VIPT, no aliases, linesize 16 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] random: get_random_bytes called from 0x803d66c4 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:   noinitrd console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 28060K/32768K available (3344K kernel code, 146K rwdata, 428K rodata, 168K init, 268K bss, 4708K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 128
[    0.000000] MIPS: machine is Unknown Board
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.000062] sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
[    0.000311] Calibrating delay loop... 197.63 BogoMIPS (lpj=395264)
[    0.036686] pid_max: default: 32768 minimum: 301
[    0.038340] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.038541] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.054673] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.054835] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.058075] NET: Registered protocol family 16
[    0.198414] clocksource: Switched to clocksource MIPS
[    0.525333] PCI host bridge to bus 0000:00
[    0.525490] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff]
[    0.525617] pci_bus 0000:00: root bus resource [io  0x0100-0x07ff]
[    0.525741] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.525858] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.526133] pci 0000:00:00.0: [14e4:5365] type 00 class 0x060000
[    0.526507] pci 0000:00:00.0: PCI: Fixing up bridge 0000:00:00.0
[    0.526667] pci 0000:00:00.0: PCI: Fixing up device 0000:00:00.0
[    0.526828] pci 0000:00:00.0: PCI: Fixing latency timer of device 0000:00:00.0 to 168
[    0.527048] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00001fff]
[    0.527183] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x07ffffff pref]
[    0.528677] pci 0000:00:01.0: [168c:0013] type 00 class 0x020000
[    0.528905] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    0.530738] pci 0000:00:02.0: [1033:0035] type 00 class 0x0c0310
[    0.530968] pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x00000fff]
[    0.531277] pci 0000:00:02.0: supports D1 D2
[    0.531344] pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot
[    0.532723] pci 0000:00:02.1: [1033:0035] type 00 class 0x0c0310
[    0.532950] pci 0000:00:02.1: reg 0x10: [mem 0x00000000-0x00000fff]
[    0.533253] pci 0000:00:02.1: supports D1 D2
[    0.533320] pci 0000:00:02.1: PME# supported from D0 D1 D2 D3hot
[    0.535059] pci 0000:00:02.2: [1033:00e0] type 00 class 0x0c0320
[    0.535288] pci 0000:00:02.2: reg 0x10: [mem 0x00000000-0x000000ff]
[    0.535594] pci 0000:00:02.2: supports D1 D2
[    0.535661] pci 0000:00:02.2: PME# supported from D0 D1 D2 D3hot
[    0.537270] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.537460] pci 0000:00:01.0: BAR 0: assigned [mem 0x40000000-0x4000ffff]
[    0.537673] pci 0000:00:02.0: BAR 0: assigned [mem 0x40010000-0x40010fff]
[    0.537882] pci 0000:00:02.1: BAR 0: assigned [mem 0x40011000-0x40011fff]
[    0.538093] pci 0000:00:02.2: BAR 0: assigned [mem 0x40012000-0x400120ff]
[    0.545771] NET: Registered protocol family 2
[    0.549853] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.550117] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.550613] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.550823] TCP: Hash tables configured (established 1024 bind 1024)
[    0.551768] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.552020] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.553390] NET: Registered protocol family 1
[    0.553846] PCI: CLS 0 bytes, default 16
[    0.591007] Crashlog allocated RAM at address 0x1f00000
[    0.603401] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.654060] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.654400] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.738047] io scheduler noop registered
[    0.738151] io scheduler deadline registered (default)
[    0.739653] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
[    0.743763] console [ttyS0] disabled
[    0.764156] serial8250.0: ttyS0 at MMIO 0xb8000400 (irq = 3, base_baud = 115740) is a 16550A
[    1.190486] console [ttyS0] enabled
[    1.216366] serial8250.0: ttyS1 at MMIO 0xb8000300 (irq = 3, base_baud = 115740) is a 16550A
[    1.230376] random: fast init done
[    1.234789] physmap platform flash device: 02000001 at 1c000000
[    1.241241] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x000017
[    1.251850] physmap-flash.0: Found an alias at 0x800000 for the chip at 0x0
[    1.251925] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    1.251994] physmap-flash.0: Found an alias at 0x1800000 for the chip at 0x0
[    1.252134] Intel/Sharp Extended Query Table at 0x0031
[    1.257625] Intel/Sharp Extended Query Table at 0x0031
[    1.263094] Using buffer write method
[    1.267053] cfi_cmdset_0001: Erase suspend on write enabled
[    1.272962] erase region 0: offset=0x0,size=0x20000,blocks=64
[    1.282894] 3 bcm47xxpart partitions found on MTD device physmap-flash.0
[    1.289908] Creating 3 MTD partitions on "physmap-flash.0":
[    1.295836] 0x000000000000-0x0000000a0000 : "boot"
[    1.326499] 0x0000000a0000-0x0000007e0000 : "firmware"
[    1.338122] 3 trx partitions found on MTD device firmware
[    1.343853] Creating 3 MTD partitions on "firmware":
[    1.349160] 0x00000000001c-0x000000000948 : "loader"
[    1.372803] 0x000000000948-0x000000149c00 : "linux"
[    1.391736] 0x000000149c00-0x000000740000 : "rootfs"
[    1.403399] mtd: device 4 (rootfs) set to be root filesystem
[    1.409457] 1 squashfs-split partitions found on MTD device rootfs
[    1.416003] 0x000000580000-0x000000740000 : "rootfs_data"
[    1.440832] 0x0000007e0000-0x000000800000 : "nvram"
[    1.478544] libphy: Fixed MDIO Bus: probed
[    1.483710] b44: Broadcom 44xx/47xx 10/100 PCI ethernet driver version 2.0
[    1.491079] b44 ssb0:0: Required 30BIT DMA mask unsupported by the system
[    1.500622] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds, Software Timer)
[    1.510716] GPIO_WDT: failed to register misc device
[    1.522701] NET: Registered protocol family 10
[    1.551448] Segment Routing with IPv6
[    1.555920] NET: Registered protocol family 17
[    1.561006] 8021q: 802.1Q VLAN Support v1.8
[    1.587766] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.597826] Freeing unused kernel memory: 168K
[    1.602589] This architecture does not have kernel memory protection.
[    1.609318] Run /sbin/init as init process
[    3.135062] init: Console is alive
[    3.140180] init: - watchdog -
[    5.317770] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.476207] usbcore: registered new interface driver usbfs
[    5.482904] usbcore: registered new interface driver hub
[    5.489260] usbcore: registered new device driver usb
[    5.524317] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.537667] ehci-platform: EHCI generic platform driver
[    5.557478] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.569806] ohci-platform: OHCI generic platform driver
[    5.575871] ohci-platform ohci-platform.0: Generic Platform OHCI controller
[    5.583378] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 1
[    5.592344] ohci-platform ohci-platform.0: irq 6, io mem 0x18003000
[    5.669187] hub 1-0:1.0: USB hub found
[    5.675894] hub 1-0:1.0: 2 ports detected
[    5.700369] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.719972] init: - preinit -
[    7.403807] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    8.478994] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    8.490524] usb usb1-port1: attempt power cycle
[    9.439862] random: jshn: uninitialized urandom read (4 bytes read)
[    9.735569] random: jshn: uninitialized urandom read (4 bytes read)
[    9.870993] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[   10.275825] random: jshn: uninitialized urandom read (4 bytes read)
[   10.888504] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[   10.959755] usb usb1-port1: unable to enumerate USB device
[   11.166548] usb 1-2: new low-speed USB device number 6 using ohci-platform
[   11.370536] usb 1-2: device descriptor read/64, error -62
[   11.674634] usb 1-2: device descriptor read/64, error -62
[   11.974464] usb 1-2: new low-speed USB device number 7 using ohci-platform
[   12.174454] usb 1-2: device descriptor read/64, error -62
[   12.478455] usb 1-2: device descriptor read/64, error -62
[   12.590748] usb usb1-port2: attempt power cycle
[   13.098467] usb 1-2: new low-speed USB device number 8 using ohci-platform
[   13.522455] usb 1-2: device not accepting address 8, error -62
[   13.714463] usb 1-2: new low-speed USB device number 9 using ohci-platform
[   14.138457] usb 1-2: device not accepting address 9, error -62
[   14.144917] usb usb1-port2: unable to enumerate USB device
[   23.478889] jffs2: notice: (367) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (0 unchecked, 1 orphan) and 10 of xref (1 dead, 0 orphan) found.
[   23.500379] mount_root: switching to jffs2 overlay
[   23.621417] overlayfs: upper fs does not support tmpfile.
[   23.655639] urandom-seed: Seeding with /etc/urandom.seed
[   23.901849] procd: - early -
[   23.905716] procd: - watchdog -
[   24.967950] procd: - watchdog -
[   24.973710] procd: - ubus -
[   25.100296] random: ubusd: uninitialized urandom read (4 bytes read)
[   25.184997] random: ubusd: uninitialized urandom read (4 bytes read)
[   25.193894] random: ubusd: uninitialized urandom read (4 bytes read)
[   25.210865] procd: - init -
[   29.536216] kmodloader: loading kernel modules from /etc/modules.d/*
[   29.646413] urngd: v1.0.2 started.
[   29.720627] tun: Universal TUN/TAP device driver, 1.6
[   29.908285] Loading modules backported from Linux version v5.7-rc3-0-g6a8b55ed4056
[   29.916172] Backport generated by backports.git v5.7-rc3-1-0-gc0c7d2bb
[   30.362439] xt_time: kernel timezone is -0000
[   30.946473] random: crng init done
[   30.949970] random: 4 urandom warning(s) missed due to ratelimiting
[   31.904075] ath5k 0000:00:01.0: enabling device (0000 -> 0002)
[   31.910410] ath5k 0000:00:01.0: PCI: Fixing up device 0000:00:01.0
[   31.918019] ath5k 0000:00:01.0: registered as 'phy0'
[   32.915035] ath: EEPROM regdomain sanitized
[   32.915095] ath: EEPROM regdomain: 0x64
[   32.915128] ath: EEPROM indicates we should expect a direct regpair map
[   32.915198] ath: Country alpha2 being used: 00
[   32.915231] ath: Regpair used: 0x64
[   32.915568] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   32.929967] ath5k: phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
[   32.937191] ath5k: phy0: RF2112B 2GHz radio found (0x46)
[   33.115785] kmodloader: done loading kernel modules from /etc/modules.d/*


29.05.20203134Base systemBuild FailureVery LowHighCan't build netifdopenwrt-19.07Unconfirmed Task Description

Environment: x86_64
Arch Linux
Description: Can’t build current openwrt-19.07. (Arch Linux, tried both GCC 10.1.0 and 8.4.0. Getting two build errors:

CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlin
k-mips16 -iremap/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944:netifd-2019-08-05-5e02f944 -Wformat -Werror=format-security -fstack-protector -D_F
ORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/usr/include/libnl-tiny -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mips
el_74kc_musl/usr/include -flto  -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/usr/include -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/includ
e -I/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/usr/include -I/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/include/fo
rtify -I/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -fno-caller-saves -fno-plt -fho
nour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-
2019-08-05-5e02f944:netifd-2019-08-05-5e02f944 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/legogris/dev/openwrt-fresh/staging_dir/tar
get-mipsel_74kc_musl/usr/include/libnl-tiny -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/usr/include -flto  -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mips
el_74kc_musl/usr/include -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/include -I/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/usr/
include -I/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/include/fortify -I/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/
include " LDFLAGS="-L/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/usr/lib -L/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/lib -L/home/legogris/de
v/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/usr/lib -L/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/lib -znow -zrelro -flto -fuse-linke
r-plugin " make  -C /home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944/. AR="mipsel-openwrt-linux-musl-gcc-ar" AS="mipsel-openwrt-linux-musl-gcc -c -
Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -iremap/home/legogris/dev/o
penwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944:netifd-2019-08-05-5e02f944 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,re
lro -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/usr/include/libnl-tiny -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/usr/include -flto" LD=m
ipsel-openwrt-linux-musl-ld NM="mipsel-openwrt-linux-musl-gcc-nm" CC="mipsel-openwrt-linux-musl-gcc" GCC="mipsel-openwrt-linux-musl-gcc" CXX="mipsel-openwrt-linux-musl-g++" RANLIB="mipsel-open
wrt-linux-musl-gcc-ranlib" STRIP=mipsel-openwrt-linux-musl-strip OBJCOPY=mipsel-openwrt-linux-musl-objcopy OBJDUMP=mipsel-openwrt-linux-musl-objdump SIZE=mipsel-openwrt-linux-musl-size CROSS="
mipsel-openwrt-linux-musl-" ARCH="mipsel" CMAKE_COMMAND='/home/legogris/dev/openwrt-fresh/staging_dir/host/bin/cmake' CMAKE_DISABLE_cmake_check_build_system=1 ;
make[4]: Entering directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[5]: Entering directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[6]: Entering directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[6]: Leaving directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[6]: Entering directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
[  4%] Building C object CMakeFiles/netifd.dir/main.c.o
In file included from /home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944/netifd.h:29:0,
                 from /home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944/main.c:22:
/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944/utils.h:116:51: error: 'struct uci_blob_param_list' declared inside parameter list will not be vis
ible outside of this definition or declaration [-Werror]
 const char * uci_get_validate_string(const struct uci_blob_param_list *p, int i);
                                                   ^~~~~~~~~~~~~~~~~~~
cc1: error: unrecognized command line option '-Wno-unknown-warning-option' [-Werror]
cc1: all warnings being treated as errors
make[6]: *** [CMakeFiles/netifd.dir/build.make:63: CMakeFiles/netifd.dir/main.c.o] Error 1
make[6]: Leaving directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[5]: *** [CMakeFiles/Makefile2:76: CMakeFiles/netifd.dir/all] Error 2
make[5]: Leaving directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[4]: *** [Makefile:130: all] Error 2
make[4]: Leaving directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[3]: *** [Makefile:49: /home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944/.built] Error 2
make[3]: Leaving directory '/home/legogris/dev/openwrt-fresh/package/network/config/netifd'
time: package/network/config/netifd/compile#0.33#0.08#0.39
make[2]: *** [package/Makefile:113: package/network/config/netifd/compile] Error 2
make[2]: Leaving directory '/home/legogris/dev/openwrt-fresh'
make[1]: *** [package/Makefile:107: /home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/legogris/dev/openwrt-fresh'
make: *** [/home/legogris/dev/openwrt-fresh/include/toplevel.mk:227: world] Error 2
make -j1 V=s  20,02s user 4,25s system 102% cpu 23,565 total
28.05.20203133Base systemBug ReportVery LowLow802.11w Management Frame Protection blocking Bonjour / ...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
Linksys WRT1900ACS
- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 19.07.3 r11063-85e04e9f46
- Steps to reproduce
On OpenWrt 19.07.3 r11063-85e04e9f46 as soon as I enable 802.11w Management Frame Protection on the interface where bonjour devices connect, bonjour traffic is blocked. I am using Tivoli Audio Art speakers and Raspberry 4 with OMV 5.

As a consequence I also cannot use WPA3 which requires 802.11w Management Frame Protection to be enabled.

 


27.05.20203130KernelBug ReportVery LowMediumWARNING: CPU: 0 PID: 2865 at net/core/flow_dissector.c:...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Linksys EA8500

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

OpenWrt SNAPSHOT r13373-e8fbb98c6d

- Steps to reproduce

Run dmesg and look for this exception stack. The system appears to run normally after boot.

[ 43.556644] ————[ cut here ]———— [ 43.556725] WARNING: CPU: 0 PID: 2865 at net/core/flow_dissector.c:942 skb_flow_dissect+0×448/0x156c
[ 43.560479] Modules linked in: ath10k_pci ath10k_core ath mac80211 iptable_nat ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_policy xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY nf_reject_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conncount iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables compat br_netfilter fuse act_connmark nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 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 ledtrig_heartbeat 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
[ 43.560909] 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 ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 tunnel6 tunnel4 tun xfrm_user xfrm_ipcomp af_key xfrm_algo vfat fat ntfs nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic md5 echainiv des_generic libdes cbc authenc usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_dwc3 ahci fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat(C) crc32c_generic
[ 43.702907] CPU: 0 PID: 2865 Comm: charon Tainted: G C 5.4.42 #0
[ 43.725016] Hardware name: Generic DT based system
[ 43.732162] [<c030f954>] (unwind_backtrace) from [<c030b96c>] (show_stack+0×14/0×20)
[ 43.737012] [<c030b96c>] (show_stack) from [<c08c61e0>] (dump_stack+0×94/0xa8)
[ 43.744922] [<c08c61e0>] (dump_stack) from [<c031e7c0>] (
warn+0xb4/0xd0)
[ 43.751944] [<c031e7c0>] (warn) from [<c031e82c>] (warn_slowpath_fmt+0×50/0×90)
[ 43.758805] [<c031e82c>] (warn_slowpath_fmt) from [<c075aa10>] (
skb_flow_dissect+0×448/0x156c)
[ 43.766357] [<c075aa10>] (skb_flow_dissect) from [<c075bfd0>] (skb_get_hash_perturb+0x6c/0x1ac)
[ 43.775380] [<c075bfd0>] (skb_get_hash_perturb) from [<bf63dc80>] (ieee80211_reserve_tid+0xb50/0xf74 [mac80211])
[ 43.784311] [<bf63dc80>] (ieee80211_reserve_tid [mac80211]) from [<bf642154>] (ieee80211_tx_prepare_skb+0x23c/0×294 [mac80211])
[ 43.794456] [<bf642154>] (ieee80211_tx_prepare_skb [mac80211]) from [<bf643e6c>] (ieee80211_tx_pending+0xc4/0×294 [mac80211])
[ 43.805544] [<bf643e6c>] (ieee80211_tx_pending [mac80211]) from [<c0322740>] (tasklet_action_common.constprop.3+0×74/0x10c)
[ 43.816879] [<c0322740>] (tasklet_action_common.constprop.3) from [<c0302298>] (
do_softirq+0×130/0x2d4)
[ 43.827812] [<c0302298>] (do_softirq) from [<c0322948>] (do_softirq.part.2+0×48/0×58)
[ 43.837524] [<c0322948>] (do_softirq.part.2) from [<c0322a30>] (
local_bh_enable_ip+0xd8/0xe8)
[ 43.845354] [<c0322a30>] (__local_bh_enable_ip) from [<c08974e4>] (packet_poll+0×84/0×118)
[ 43.854038] [<c08974e4>] (packet_poll) from [<c0740fcc>] (sock_poll+0×98/0xc0)
[ 43.862370] [<c0740fcc>] (sock_poll) from [<c04647b0>] (do_sys_poll+0x2f0/0×558)
[ 43.869576] [<c04647b0>] (do_sys_poll) from [<c046552c>] (sys_poll+0×24/0×120)
[ 43.877118] [<c046552c>] (sys_poll) from [<c0301000>] (ret_fast_syscall+0×0/0×54)
[ 43.884136] Exception stack(0xd8fabfa8 to 0xd8fabff0)
[ 43.891708] bfa0: 00000000 00000000 b6920c40 00000006 ffffffff 00000000
[ 43.896756] bfc0: 00000000 00000000 012b4470 000000a8 b6920ce8 b6f3a8a4 b6920c40 b6920cbc
[ 43.904896] bfe0: b6920c00 b6920bf0 b6f8d5cc b6f8caa4
[ 43.913185] —[ end trace 36ce985abed2ad7b ]—


27.05.20203129Base systemBug ReportVery LowCriticalUQMI won’t connect with Private APNTrunkUnconfirmed Task Description

UQMI won’t connect with Private APN
Hey Folks,

I have a Problem with the QMI protocol.

I bought a private ip from my ISP and can’t connect with the private APN, only the dynamic IP APN works.

With ModemManager the connection to my Private APN works as expected, so no fault on ISP side.
With crosscompile Quectel-cm to OpenWRT, the connection with qmi protocol to my Private APN works as expected, so no fault on ISP side.

 


26.05.20203125Base systemBug ReportVery LowLowuclibc++ doesn't build when generated file names are to...TrunkUnconfirmed Task Description

I was having trouble building uClibc++ in Openwrt. I figured out that the problem was that the LIBSUP_DEP variable, which is a filename that gets created during the build, was too long for my file system. The name generated was over 150 char long and my fs has a limit of 143. I guess this because I have an encrypted homedir. Anyway, I analyzed the build system of uClibc++, and it seems to vary with the file location for libsupc++.a which is used to extract a bunch of symbols and create the static lib.

I had configured my build to build for a Turris Omnia.

Software versions: master branch of OpenWrt

Steps to reproduce:
1. Configure to build image for Turris Omnia.
2. Build with: `make package/libs/uclibc++/compile -j1 V=sc`

My proposed fix: https://bugs.busybox.net/show_bug.cgi?id=12951

If this patch get’s accepted upstream, we should add a patch to package/libs/uclibc++/patches/ for this.

 


25.05.20203123Base systemBug ReportVery LowLowKernel time not being update to local timeTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: UBNT_E100 (CN5020p1.1-500-SCP) / Ubiquiti Edgerouter Lite
- Software versions of OpenWrt/LEDE release, packages, etc.:

openwrt-19.07 branch (git-20.136.49537-fb2f363) / OpenWrt 19.07.3 r11063-85e04e9f46
packages installed: luci-ssl-openssl luci-app-sqm luci-proto-wireguard luci-app-wireguard wireguard kmod-wireguard wireguard-tools

- Steps to reproduce:
Just install and compare the time from “Status → Overview” to “System → system” The time on the overview page will always be 4 hours ahead, it doesn’t matter what timezone is selected.

I tried “date -k” to update the kernel time and it has no effect at all.

I used the date command to set the kernel time and date correctly for my timezone (UTC-4) and there is still a time disparity. The kernel time is now correct but the local time isn’t example: overview page time is 07:34:14 local time will be 03:34:14.

 


24.05.20203122KernelBug ReportVery LowMediumKernel panic - Unable to mount root fs on R7800openwrt-19.07Unconfirmed Task Description

Device problem occurs after installing openwrt 19.07.2 / configuring : 3 vlans, 3 wifi networks, firewall rules, Changing DNS (diff for each vlan), installing luci tranlations

After that, it works several hours but Luci doesn’t answer anymore. At reboot, kernel panic, after resetting device reinstalling config via backup, the same... see Serial log below. thanks.

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

U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:   
*** Warning - bad CRC, using default environment

PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
 131072 bytes read: OK
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net:   MAC1 addr:cc:40:d0:56:e:7e
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC2 addr:cc:40:d0:56:e:7d
eth0, eth1
Hit any key to stop autoboot:  0 
Mac2 unit failed
Mac1 unit failed

 nmrp server is stopped or failed !

Loading from device 0: nand0 (offset 0x1480000)

** check kernel image **
   Verifying Checksum ... OK

** check rootfs image **
   Verifying Checksum ... OK
MMC Device 0 not found

Loading from nand0, offset 0x1480000
   Image Name:   ARM OpenWrt Linux-4.14.171
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2200315 Bytes = 2.1 MiB
   Load Address: 42208000
   Entry Point:  42208000
Automatic boot of image at addr 0x44000000 ...
   Image Name:   ARM OpenWrt Linux-4.14.171
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2200315 Bytes = 2.1 MiB
   Load Address: 42208000
   Entry Point:  42208000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
mtdparts variable not set, see 'help mtdparts'
no partitions defined

defaults:
mtdids  : nand0=msm_nand
mtdparts: none
info: "mtdparts" not set
Using machid 0x136c from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.171 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r10947-65030d81f3)) #0 SMP Thu Feb 27 21:05:12 2020
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from 0xc09008dc with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29388 r8192 d23860 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121920
[    0.000000] Kernel command line: 
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 477376K/491520K available (4975K kernel code, 160K rwdata, 756K rodata, 1024K init, 235K bss, 14144K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xde800000 - 0xff800000   ( 528 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xde000000   ( 480 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc07dbe98   (5968 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a28180   ( 161 kB)
[    0.000000]        .bss : 0xc0a2a000 - 0xc0a64e18   ( 236 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000008] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000022] Switching to timer-based delay loop, resolution 160ns
[    0.000228] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000254] pid_max: default: 32768 minimum: 301
[    0.000379] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000397] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000971] CPU: Testing write buffer coherency: ok
[    0.001727] Setting up static identity map for 0x42300000 - 0x42300060
[    0.001884] Hierarchical SRCU implementation.
[    0.002625] smp: Bringing up secondary CPUs ...
[    0.004460] smp: Brought up 1 node, 2 CPUs
[    0.004476] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.004485] CPU: All CPU(s) started in SVC mode.
[    0.014749] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.014919] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.014944] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.015058] pinctrl core: initialized pinctrl subsystem
[    0.016053] NET: Registered protocol family 16
[    0.016311] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.017655] cpuidle: using governor ladder
[    0.017720] cpuidle: using governor menu
[    0.040311] msm_bus_fabric_init_driver
[    0.041824] usbcore: registered new interface driver usbfs
[    0.041902] usbcore: registered new interface driver hub
[    0.041991] usbcore: registered new device driver usb
[    0.042048] pps_core: LinuxPPS API ver. 1 registered
[    0.042060] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.042094] PTP clock support registered
[    0.043798] clocksource: Switched to clocksource dg_timer
[    0.047040] NET: Registered protocol family 2
[    0.047634] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.047676] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.047731] TCP: Hash tables configured (established 4096 bind 4096)
[    0.047824] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.047852] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.048029] NET: Registered protocol family 1
[    0.049217] No memory allocated for crashlog
[    0.049492] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.054651] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.054671] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.061244] io scheduler noop registered
[    0.061261] io scheduler deadline registered (default)
[    0.062935] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator
[    0.063044] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.063135] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.063921] OF: PCI: host bridge /soc/pci@1b500000 ranges:
[    0.063968] OF: PCI:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.063995] OF: PCI:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.164480] qcom-pcie 1b500000.pci: link up
[    0.164657] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.164682] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.164704] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.164719] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.165242] PCI: bus0: Fast back to back transfers disabled
[    0.167476] PCI: bus1: Fast back to back transfers disabled
[    0.167580] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.167605] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.167733] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.167758] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.168292] pcieport 0000:00:00.0: AER enabled with IRQ 35
[    0.168814] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[    0.168913] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.169018] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.169773] OF: PCI: host bridge /soc/pci@1b700000 ranges:
[    0.169809] OF: PCI:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.169832] OF: PCI:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.279738] qcom-pcie 1b700000.pci: link up
[    0.279897] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.279918] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.279933] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.280399] PCI: bus0: Fast back to back transfers disabled
[    0.282745] PCI: bus1: Fast back to back transfers disabled
[    0.282832] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.282856] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.282989] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.283009] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.283496] pcieport 0001:00:00.0: AER enabled with IRQ 68
[    0.285956] L2 @ QSB rate. Forcing new rate.
[    0.286169] L2 @ 384000 KHz
[    0.286343] CPU0 @ 800000 KHz
[    0.286356] CPU1 @ QSB rate. Forcing new rate.
[    0.286483] CPU1 @ 384000 KHz
[    0.290325] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.292267] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.294968] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.295073] msm_serial 16340000.serial: uartclk = 7372800
[    0.295160] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 101, base_baud = 460800) is a MSM
[    0.295199] msm_serial: console setup on port #0
[    1.015021] console [ttyMSM0] enabled
[    1.019730] msm_serial: driver initialized
[    1.028412] loop: module loaded
[    1.030466] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xa1
[    1.030500] nand: Micron MT29F1G08ABBEAH4
[    1.037054] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.040974] 8 fixed-partitions partitions found on MTD device qcom_nand.0
[    1.048424] Creating 8 MTD partitions on "qcom_nand.0":
[    1.055270] 0x000000000000-0x000000c80000 : "qcadata"
[    1.065253] random: fast init done
[    1.083023] 0x000000c80000-0x000001180000 : "APPSBL"
[    1.092491] 0x000001180000-0x000001200000 : "APPSBLENV"
[    1.094218] 0x000001200000-0x000001340000 : "art"
[    1.099432] 0x000001340000-0x000001480000 : "artbak"
[    1.104377] 0x000001480000-0x000001880000 : "kernel"
[    1.114194] 0x000001880000-0x000007900000 : "ubi"
[    1.282928] 0x000007900000-0x000008000000 : "reserve"
[    1.297225] libphy: GPIO Bitbanged MDIO: probed
[    1.318740] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[    2.186120] ar8327: qca,phy-rgmii-en is not specified
[    2.186506] libphy: Fixed MDIO Bus: probed
[    2.192324] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
[    2.194527] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    2.200660] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
[    2.205784] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
[    2.211772] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
[    2.219833] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
[    2.227395] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
[    2.234423] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
[    2.242238] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
[    2.248135] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
[    2.255513] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.263812] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock
[    2.271083] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    2.277221] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled
[    2.282167] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported
[    2.288311] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors
[    2.296308] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors
[    2.303784] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported
[    2.310897] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2
[    2.318768] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported
[    2.324610] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported
[    2.331910] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.339460] i2c /dev entries driver
[    2.348210] Calibration not found.
[    2.351669] Speed bin: 0
[    2.353948] PVS bin: 4
[    2.358048] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.358880] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.366693] sdhci: Secure Digital Host Controller Interface driver
[    2.373311] sdhci: Copyright(c) Pierre Ossman
[    2.379622] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.385414] NET: Registered protocol family 10
[    2.391108] Segment Routing with IPv6
[    2.394044] NET: Registered protocol family 17
[    2.397865] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.402664] 8021q: 802.1Q VLAN Support v1.8
[    2.415285] Registering SWP/SWPB emulation handler
[    2.431257] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[    2.443350] s1a: supplied by regulator-dummy
[    2.443451] s1a: Bringing 0uV into 1050000-1050000uV
[    2.447028] s1b: supplied by regulator-dummy
[    2.451684] s1b: Bringing 0uV into 1050000-1050000uV
[    2.456229] s2a: supplied by regulator-dummy
[    2.460900] s2a: Bringing 0uV into 775000-775000uV
[    2.465384] s2b: supplied by regulator-dummy
[    2.469745] s2b: Bringing 0uV into 775000-775000uV
[    2.479070] UBI: auto-attach mtd6
[    2.479103] ubi0: attaching mtd6
[    2.528833] random: crng init done
[    3.188552] ubi0: scanning is finished
[    3.198077] ubi0: attached mtd6 (name "ubi", size 96 MiB)
[    3.198098] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.202445] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.209290] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.216138] ubi0: good PEBs: 772, bad PEBs: 0, corrupted PEBs: 0
[    3.222844] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[    3.229157] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1530044714
[    3.236185] ubi0: available PEBs: 748, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
[    3.245511] hctosys: unable to open rtc devic�[    3.260030] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    3.260051] Please append a correct "root=" boot option; here are the available partitions:
[    3.266567] 1f00           12800 mtdblock0 
[    3.266571]  (driver?)
[    3.278805] 1f01            5120 mtdblock1 
[    3.278809]  (driver?)
[    3.285399] 1f02             512 mtdblock2 
[    3.285404]  (driver?)
[    3.291824] 1f03            1280 mtdblock3 
[    3.291827]  (driver?)
[    3.298335] 1f04            1280 mtdblock4 
[    3.298339]  (driver?)
[    3.304915] 1f05            4096 mtdblock5 
[    3.304920]  (driver?)
[    3.311355] 1f06           98816 mtdblock6 
[    3.311359]  (driver?)
[    3.317942] 1f07            7168 mtdblock7 
[    3.317947]  (driver?)
[    3.324439] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    3.326828] CPU1: stopping
[    3.335065] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.171 #0
[    3.337752] Hardware name: Generic DT based system
[    3.343928] Function entered at [<c030f1c4>] from [<c030b390>]
[    3.348608] Function entered at [<c030b390>] from [<c07c0664>]
[    3.354423] Function entered at [<c07c0664>] from [<c030e40c>]
[    3.360239] Function entered at [<c030e40c>] from [<c03014b8>]
[    3.366054] Function entered at [<c03014b8>] from [<c030bf8c>]
[    3.371870] Exception stack(0xdd461f80 to 0xdd461fc8)
[    3.377715] 1f80: 00000001 00000000 00000000 c0315100 ffffe000 c0a03cb8 c0a03c6c 00000000
[    3.382842] 1fa0: 00000000 512f04d0 00000000 00000000 dd461fc8 dd461fd0 c030854c c0308550
[    3.390977] 1fc0: 60000013 ffffffff
[    3.399125] Function entered at [<c030bf8c>] from [<c0308550>]
[    3.402425] Function entered at [<c0308550>] from [<c03589c8>]
[    3.408330] Function entered at [<c03589c8>] from [<c0358d10>]
[    3.414143] Function entered at [<c0358d10>] from [<423017cc>]
[    3.419963] Rebooting in 1 seconds..
24.05.20203121Base systemBug ReportVery LowMediumR7800 sysupgrade failsopenwrt-19.07Unconfirmed Task Description

On the Netgear R7800 the sysupgrade fails. Only tried with ‘Keep Settings’.

After reboot only the power light flashes white and it becomes unreachable.

This is the case with release 19. If it was the same with 18 I don’t remember.

The solution for now is upgrade via tftp with factory image but that makes restoring not easy because of lost settings and changed ip address.

24.05.20203120OtherBuild FailureVery LowMediumbuildbots still build the x86 targets even if the kerne...TrunkUnconfirmed Task Description

The kernel config of x86 target was updated only for x86_64, the x86 legacy, generic and Alix targets were missing some kernel options.

This means that when you go to build them, the system stops and asks you what to do (y/n/number), with an interactive prompt.

The x86 kernel config problem is already fixed by my PR, this bug report is about the build bot problem. They “failed to fail”.

The build bots should have detected this interactive prompt and failed the build.

They were instead “answering” the interactive prompt with an error message, then they could still compile the kernel.

see http://buildbot.openwrt.org/master/images/builders/x86%2Flegacy/builds/319/steps/kmods/logs/stdio

and here is the important part, note how after each kernel config option that is missing it will print
Error in reading or end of file.“, and a new line, and then continue as if nothing was wrong.

*
* Restart config...
*
*
* Misc devices
*
Analog Devices Digital Potentiometers (AD525X_DPOT) [N/m/y/?] n
Dummy IRQ handler (DUMMY_IRQ) [N/m/y/?] n
Device driver for IBM RSA service processor (IBM_ASM) [N/m/y/?] n
Sensable PHANToM (PCI) (PHANTOM) [N/m/y/?] n
TI Flash Media interface support (TIFM_CORE) [N/m/y/?] n
Integrated Circuits ICS932S401 (ICS932S401) [N/m/y/?] n
Enclosure Services (ENCLOSURE_SERVICES) [N/m/y/?] n
Channel interface driver for the HP iLO processor (HP_ILO) [N/m/y/?] n
Medfield Avago APDS9802 ALS Sensor module (APDS9802ALS) [N/m/y/?] n
Intersil ISL29003 ambient light sensor (ISL29003) [N/m/y/?] n
Intersil ISL29020 ambient light sensor (ISL29020) [N/m/y/?] n
Taos TSL2550 ambient light sensor (SENSORS_TSL2550) [N/m/y/?] n
BH1770GLC / SFH7770 combined ALS - Proximity sensor (SENSORS_BH1770) [N/m/y/?] n
APDS990X combined als and proximity sensors (SENSORS_APDS990X) [N/m/y/?] n
Honeywell HMC6352 compass (HMC6352) [N/m/y/?] n
Dallas DS1682 Total Elapsed Time Recorder with Alarm (DS1682) [N/m/y/?] n
Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) PHUB (PCH_PHUB) [N/m/y/?] n
Lattice ECP3 FPGA bitstream configuration via SPI (LATTICE_ECP3_CONFIG) [N/m/y/?] n
Generic on-chip SRAM driver (SRAM) [N/y/?] n
PCI Endpoint Test driver (PCI_ENDPOINT_TEST) [N/m/y/?] n
Xilinx SDFEC 16 (XILINX_SDFEC) [N/m/y/?] n
pvpanic device support (PVPANIC) [N/m/y/?] n
ENE CB710/720 Flash memory card reader support (CB710_CORE) [N/m/y/?] n
STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C) (SENSORS_LIS3_I2C) [N/m/y/?] n
Altera FPGA firmware download module (ALTERA_STAPL) [N/m/y/?] n
Intel Management Engine Interface (INTEL_MEI) [N/m/y/?] n
ME Enabled Intel Chipsets (INTEL_MEI_ME) [N/m/y/?] n
Intel Trusted Execution Environment with ME Interface (INTEL_MEI_TXE) [N/m/y/?] n
Intel HDCP2.2 services of ME Interface (INTEL_MEI_HDCP) [N/m/y/?] (NEW) 
Error in reading or end of file.

VMware VMCI Driver (VMWARE_VMCI) [N/m/y/?] n
Line Echo Canceller support (ECHO) [M/n/y/?] m
Alcor Micro/Alcor Link PCI-E card reader (MISC_ALCOR_PCI) [N/m/y/?] n
Realtek PCI-E card reader (MISC_RTSX_PCI) [N/m/y/?] n
Realtek USB card reader (MISC_RTSX_USB) [N/m/y/?] n
HabanaAI accelerators (habanalabs) (HABANA_AI) [N/m/y/?] n
*
* SCSI low-level drivers
*
SCSI low-level drivers (SCSI_LOWLEVEL) [Y/n/?] y
  iSCSI Initiator over TCP/IP (ISCSI_TCP) [N/m/y/?] n
  iSCSI Boot Sysfs Interface (ISCSI_BOOT_SYSFS) [N/m/y/?] n
  Chelsio T3 iSCSI support (SCSI_CXGB3_ISCSI) [N/m/y/?] n
  Chelsio T4 iSCSI support (SCSI_CXGB4_ISCSI) [N/m/y/?] n
  QLogic NetXtreme II iSCSI support (SCSI_BNX2_ISCSI) [N/m/y/?] n
  Emulex 10Gbps iSCSI - BladeEngine 2 (BE2ISCSI) [N/m/y/?] n
  3ware 5/6/7/8xxx ATA-RAID support (BLK_DEV_3W_XXXX_RAID) [N/m/y/?] n
  HP Smart Array SCSI driver (SCSI_HPSA) [N/m/y/?] n
  3ware 9xxx SATA-RAID support (SCSI_3W_9XXX) [N/m/y/?] n
  3ware 97xx SAS/SATA-RAID support (SCSI_3W_SAS) [N/m/y/?] n
  ACARD SCSI support (SCSI_ACARD) [N/m/y/?] n
  Adaptec AHA152X/2825 support (SCSI_AHA152X) [N/m/y/?] n
  Adaptec AHA1542 support (SCSI_AHA1542) [N/m/y/?] n
  Adaptec AACRAID support (SCSI_AACRAID) [N/m/y/?] n
  Adaptec AIC7xxx Fast -> U160 support (SCSI_AIC7XXX) [N/m/y/?] n
  Adaptec AIC79xx U320 support (SCSI_AIC79XX) [N/m/y/?] n
  Adaptec AIC94xx SAS/SATA support (SCSI_AIC94XX) [N/m/y/?] n
  Marvell 88SE64XX/88SE94XX SAS/SATA support (SCSI_MVSAS) [M/n/y/?] m
    Compile in debug mode (SCSI_MVSAS_DEBUG) [N/y/?] n
    Support for interrupt tasklet (SCSI_MVSAS_TASKLET) [N/y/?] n
  Marvell UMI driver (SCSI_MVUMI) [N/m/y/?] n
  Adaptec I2O RAID support  (SCSI_DPT_I2O) [N/m/y/?] n
  AdvanSys SCSI support (SCSI_ADVANSYS) [N/m/y/?] n
  ARECA (ARC11xx/12xx/13xx/16xx) SATA/SAS RAID Host Adapter (SCSI_ARCMSR) [N/m/y/?] n
  ATTO Technology's ExpressSAS RAID adapter driver (SCSI_ESAS2R) [N/m/y/?] n
  LSI Logic New Generation RAID Device Drivers (MEGARAID_NEWGEN) [N/y/?] n
  LSI Logic Legacy MegaRAID Driver (MEGARAID_LEGACY) [N/m/y/?] n
  LSI Logic MegaRAID SAS RAID Module (MEGARAID_SAS) [N/m/y/?] n
  LSI MPT Fusion SAS 3.0 & SAS 2.0 Device Driver (SCSI_MPT3SAS) [N/m/y/?] n
  Legacy MPT2SAS config option (SCSI_MPT2SAS) [N/m/y/?] n
  Microsemi PQI Driver (SCSI_SMARTPQI) [N/m/y/?] n
  Universal Flash Storage Controller Driver Core (SCSI_UFSHCD) [N/m/y/?] n
  HighPoint RocketRAID 3xxx/4xxx Controller support (SCSI_HPTIOP) [N/m/y/?] n
  BusLogic SCSI support (SCSI_BUSLOGIC) [N/m/y/?] n
  Mylex DAC960/DAC1100 PCI RAID Controller (Block Interface) (SCSI_MYRB) [N/m/y/?] n
  Mylex DAC960/DAC1100 PCI RAID Controller (SCSI Interface) (SCSI_MYRS) [N/m/y/?] n
  VMware PVSCSI driver support (VMWARE_PVSCSI) [N/m/y/?] n
  Cisco SNIC Driver (SCSI_SNIC) [N/m/y/?] n
  DMX3191D SCSI support (SCSI_DMX3191D) [N/m/y/?] n
  Future Domain TMC-3260/AHA-2920A PCI SCSI support (SCSI_FDOMAIN_PCI) [N/m/y/?] n
  Future Domain 16xx ISA SCSI support (SCSI_FDOMAIN_ISA) [N/m/y/?] (NEW) 
Error in reading or end of file.

  Intel/ICP (former GDT SCSI Disk Array) RAID Controller support (SCSI_GDTH) [N/m/y/?] n
  Intel(R) C600 Series Chipset SAS Controller (SCSI_ISCI) [N/m/y/?] n
  Generic NCR5380/53c400 SCSI ISA card support (SCSI_GENERIC_NCR5380) [N/m/y/?] n
  IBM ServeRAID support (SCSI_IPS) [N/m/y/?] n
  Initio 9100U(W) support (SCSI_INITIO) [N/m/y/?] n
  Initio INI-A100U2W support (SCSI_INIA100) [N/m/y/?] n
  IOMEGA parallel port (ppa - older drives) (SCSI_PPA) [N/m/?] n
  IOMEGA parallel port (imm - newer drives) (SCSI_IMM) [N/m/?] n
  Promise SuperTrak EX Series support (SCSI_STEX) [N/m/y/?] n
  SYM53C8XX Version 2 SCSI support (SCSI_SYM53C8XX_2) [N/m/y/?] n
  IBM Power Linux RAID adapter support (SCSI_IPR) [N/m/y/?] n
  Qlogic FAS SCSI support (SCSI_QLOGIC_FAS) [N/m/y/?] n
  Qlogic QLA 1240/1x80/1x160 SCSI support (SCSI_QLOGIC_1280) [N/m/y/?] n
  QLogic ISP4XXX and ISP82XX host adapter family support (SCSI_QLA_ISCSI) [N/m/y/?] n
  Tekram DC395(U/UW/F) and DC315(U) SCSI support (SCSI_DC395x) [N/m/y/?] n
  Tekram DC390(T) and Am53/79C974 SCSI support (new driver) (SCSI_AM53C974) [N/m/y/?] n
  Workbit NinjaSCSI-32Bi/UDE support (SCSI_NSP32) [N/m/y/?] n
  Western Digital WD7193/7197/7296 support (SCSI_WD719X) [N/m/y/?] n
  SCSI debugging host and device simulator (SCSI_DEBUG) [N/m/y/?] n
  PMC SIERRA Linux MaxRAID adapter support (SCSI_PMCRAID) [N/m/y/?] n
  PMC-Sierra SPC 8001 SAS/SATA Based Host Adapter driver (SCSI_PM8001) [N/m/y/?] n
*
* I2C Hardware Bus support
*
*
* PC SMBus host controller drivers
*
ALI 1535 (I2C_ALI1535) [N/m/y/?] n
ALI 1563 (I2C_ALI1563) [N/m/y/?] n
ALI 15x3 (I2C_ALI15X3) [N/m/y/?] n
AMD 756/766/768/8111 and nVidia nForce (I2C_AMD756) [N/m/y/?] n
AMD 8111 (I2C_AMD8111) [N/m/y/?] n
AMD MP2 PCIe (I2C_AMD_MP2) [N/m/y/?] (NEW) 
Error in reading or end of file.

Intel 82801 (ICH/PCH) (I2C_I801) [M/n/y/?] m
Intel SCH SMBus 1.0 (I2C_ISCH) [N/m/y/?] n
Intel iSMT SMBus Controller (I2C_ISMT) [N/m/y/?] n
Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC) (I2C_PIIX4) [M/n/y/?] m
Nvidia nForce2, nForce3 and nForce4 (I2C_NFORCE2) [N/m/y/?] n
NVIDIA GPU I2C controller (I2C_NVIDIA_GPU) [N/m/y/?] n
SiS 5595 (I2C_SIS5595) [N/m/y/?] n
SiS 630/730/964 (I2C_SIS630) [N/m/y/?] n
SiS 96x (I2C_SIS96X) [N/m/y/?] n
VIA VT82C586B (I2C_VIA) [N/m/y/?] n
VIA VT82C596/82C686/82xx and CX700/VX8xx/VX900 (I2C_VIAPRO) [N/m/y/?] n
*
* ACPI drivers
*
SMBus Control Method Interface (I2C_SCMI) [N/m/y/?] n
*
* I2C system bus drivers (mostly embedded / system-on-chip)
*
Synopsys DesignWare Platform (I2C_DESIGNWARE_PLATFORM) [N/m/y/?] n
Synopsys DesignWare PCI (I2C_DESIGNWARE_PCI) [N/m/y/?] n
Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) I2C (I2C_EG20T) [N/m/y/?] n
EMMA Mobile series I2C adapter (I2C_EMEV2) [N/m/y/?] n
OpenCores I2C Controller (I2C_OCORES) [N/m/y/?] n
PCA9564/PCA9665 as platform device (I2C_PCA_PLATFORM) [N/m/y/?] n
Simtec Generic I2C interface (I2C_SIMTEC) [N/m/y/?] n
Xilinx I2C Controller (I2C_XILINX) [N/m/y/?] n
*
* External I2C/SMBus adapter drivers
*
Diolan U2C-12 USB adapter (I2C_DIOLAN_U2C) [N/m/y/?] n
Parallel port adapter (I2C_PARPORT) [N/m/?] n
Parallel port adapter (light) (I2C_PARPORT_LIGHT) [N/m/y/?] n
RobotFuzz Open Source InterFace USB adapter (I2C_ROBOTFUZZ_OSIF) [N/m/y/?] n
TAOS evaluation module (I2C_TAOS_EVM) [N/m/y/?] n
Tiny-USB adapter (I2C_TINY_USB) [M/n/y/?] m
*
* Other I2C/SMBus bus drivers
*
Elektor ISA card (I2C_ELEKTOR) [N/m/y/?] n
PCA9564/PCA9665 on an ISA bus (I2C_PCA_ISA) [N/m/y/?] n
Geode ACCESS.bus support (SCx200_ACB) [N/m/y/?] n
*
* Graphics support
*
VGA Arbitration (VGA_ARB) [N/y/?] n
Laptop Hybrid Graphics - GPU switching support (VGA_SWITCHEROO) [N/y/?] n
Enable DisplayPort CEC-Tunneling-over-AUX HDMI support (DRM_DP_CEC) [N/y/?] n
ATI Radeon (DRM_RADEON) [Y/n/m/?] y
  Always enable userptr support (DRM_RADEON_USERPTR) [N/y/?] n
AMD GPU (DRM_AMDGPU) [Y/n/m/?] y
  Enable amdgpu support for SI parts (DRM_AMDGPU_SI) [Y/n/?] y
  Enable amdgpu support for CIK parts (DRM_AMDGPU_CIK) [Y/n/?] y
  Always enable userptr write support (DRM_AMDGPU_USERPTR) [N/y/?] n
  Allow GART access through debugfs (DRM_AMDGPU_GART_DEBUGFS) [N/y/?] n
Nouveau (NVIDIA) cards (DRM_NOUVEAU) [N/m/y/?] n
Intel 8xx/9xx/G3x/G4x/HD Graphics (DRM_I915) [Y/n/m/?] y
  Enable alpha quality support for new Intel hardware by default (DRM_I915_ALPHA_SUPPORT) [N/y/?] n
  Force probe driver for selected new Intel hardware (DRM_I915_FORCE_PROBE) [] (NEW) 
Error in reading or end of file.

  Enable capturing GPU state following a hang (DRM_I915_CAPTURE_ERROR) [Y/n/?] y
    Compress GPU error state (DRM_I915_COMPRESS_ERROR) [Y/n/?] y
  Always enable userptr support (DRM_I915_USERPTR) [Y/n/?] y
  *
  * drm/i915 Debugging
  *
  Force GCC to throw an error instead of a warning when compiling (DRM_I915_WERROR) [N/y/?] n
  Enable additional driver debugging (DRM_I915_DEBUG) [N/y/?] n
  Always insert extra checks around mmio access by default (DRM_I915_DEBUG_MMIO) [N/y/?] (NEW) 
Error in reading or end of file.

  Enable additional driver debugging for fence objects (DRM_I915_SW_FENCE_DEBUG_OBJECTS) [N/y/?] n
  Enable additional driver debugging for detecting dependency cycles (DRM_I915_SW_FENCE_CHECK_DAG) [N/y/?] n
  Enable additional driver debugging for GuC (DRM_I915_DEBUG_GUC) [N/y/?] n
  Enable selftests upon driver load (DRM_I915_SELFTEST) [N/y/?] n
  Enable low level request tracing events (DRM_I915_LOW_LEVEL_TRACEPOINTS) [N/y/?] n
  Enable extra debug warnings for vblank evasion (DRM_I915_DEBUG_VBLANK_EVADE) [N/y/?] n
  Enable extra state checking for runtime PM (DRM_I915_DEBUG_RUNTIME_PM) [N/y/?] (NEW) 
Error in reading or end of file.

  *
  * drm/i915 Profile Guided Optimisation
  *
  Runtime autosuspend delay for userspace GGTT mmaps (ms) (DRM_I915_USERFAULT_AUTOSUSPEND) [250] (NEW) 
Error in reading or end of file.

  Busywait for request completion (us) (DRM_I915_SPIN_REQUEST) [5] (NEW) 
Error in reading or end of file.
23.05.20203116Base systemBug ReportVery LowMediumath10k_pci firmware crashed on Netgear r7500v2 / 19.07...TrunkUnconfirmed Task Description

My Netgear r7500v2 runs OpenWrt 19.07.3. Now and then, the ath10k_pci firmware randomly crashed. I did not observe it in 19.07.2.

[ 4147.358932] ath10k_pci 0000:01:00.0: firmware crashed! (guid bcfbf446-6f04-4034-8b39-d59c4c8da6fc)
[ 4147.358974] ath10k_pci 0000:01:00.0: qca99x0 hw2.0 target 0×01000000 chip_id 0x003b01ff sub 168c:0002
[ 4147.366804] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 4147.378123] ath10k_pci 0000:01:00.0: firmware ver 10.4b-ct-9980-fW-012-17ba9833 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 0fb1435e
[ 4147.390877] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 1:1 crc32 08fa09f2
[ 4147.412941] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[ 4147.421993] ath10k_pci 0000:01:00.0: firmware register dump:
[ 4147.430034] ath10k_pci 0000:01:00.0: [00]: 0×00000009 0×00000000 0x00986DF7 0×00000000 [ 4147.435877] ath10k_pci 0000:01:00.0: [04]: 0×00000000 0×00060124 0×00000000 0×00000000 [ 4147.443689] ath10k_pci 0000:01:00.0: [08]: 0×00000000 0×00000000 0×00000000 0×00000000 [ 4147.451550] ath10k_pci 0000:01:00.0: [12]: 0×00000000 0×00000000 0×00000000 0×00000000 [ 4147.459454] ath10k_pci 0000:01:00.0: [16]: 0x009BFE43 0x0097F886 0x009BF11F 0x00986DF7
[ 4147.467299] ath10k_pci 0000:01:00.0: [20]: 0×00000000 0x00401C20 0×00000000 0×00000000 [ 4147.475261] ath10k_pci 0000:01:00.0: [24]: 0×00000000 0×00000000 0×00000000 0×00000000 [ 4147.483166] ath10k_pci 0000:01:00.0: [28]: 0×00000000 0×00000000 0×00000000 0×00000000 [ 4147.491069] ath10k_pci 0000:01:00.0: [32]: 0×00000000 0×00000000 0×00000000 0×00000000 [ 4147.498975] ath10k_pci 0000:01:00.0: [36]: 0×00000000 0×00000000 0×00000000 0×00000000 [ 4147.506796] ath10k_pci 0000:01:00.0: [40]: 0×00000000 0×00000000 0×00000000 0×00000000 [ 4147.514748] ath10k_pci 0000:01:00.0: [44]: 0×00000000 0×00000000 0×00000000 0×00000000 [ 4147.522652] ath10k_pci 0000:01:00.0: [48]: 0×00000000 0×00000000 0×00000000 0×00000000 [ 4147.530556] ath10k_pci 0000:01:00.0: [52]: 0×00000000 0×00000000 0×00000000 0×00000000 [ 4147.538395] ath10k_pci 0000:01:00.0: [56]: 0×00000000 0×00000000 0×00000000 0×00000000 [ 4147.546365] ath10k_pci 0000:01:00.0: Copy Engine register dump:
[ 4147.554273] ath10k_pci 0000:01:00.0: [00]: 0x0004a000 15 15 3 3
[ 4147.560082] ath10k_pci 0000:01:00.0: [01]: 0x0004a400 5 5 491 492
[ 4147.566608] ath10k_pci 0000:01:00.0: [02]: 0x0004a800 41 41 40 41
[ 4147.573109] ath10k_pci 0000:01:00.0: [03]: 0x0004ac00 16 16 19 16
[ 4147.579513] ath10k_pci 0000:01:00.0: [04]: 0x0004b000 5822 5822 5 221
[ 4147.585879] ath10k_pci 0000:01:00.0: [05]: 0x0004b400 2 2 385 386
[ 4147.592361] ath10k_pci 0000:01:00.0: [06]: 0x0004b800 20 20 20 20
[ 4147.598977] ath10k_pci 0000:01:00.0: [07]: 0x0004bc00 1 1 1 1
[ 4147.605322] ath10k_pci 0000:01:00.0: [08]: 0x0004c000 0 0 127 0
[ 4147.611820] ath10k_pci 0000:01:00.0: [09]: 0x0004c400 0 0 0 0
[ 4147.618170] ath10k_pci 0000:01:00.0: [10]: 0x0004c800 0 0 0 0
[ 4147.624655] ath10k_pci 0000:01:00.0: [11]: 0x0004cc00 0 0 0 0
[ 4147.633107] ath10k_pci 0000:01:00.0: debug log header, dbuf: 0×419800 dropped: 0
[ 4147.638449] ath10k_pci 0000:01:00.0: [0] next: 0×419818 buf: 0x4152e0 sz: 1500 len: 108 count: 4 free: 0
[ 4147.645970] ath10k_pci 0000:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:
[ 4147.654519] ath10k: [0000]: 00406B80 1400581D 00000000 00446E3C 000F635C 00000006 00000000 00406B80
[ 4147.660515] ath10k: [0008]: 1000581B 000064FE 00000000 00000000 000F635C 00406B81 14006402 71103332
[ 4147.669449] ath10k: [0016]: 3DFCB1E8 0000FE64 00423E14 0000000D 00406B81 17FC4C07 211040A1 000007C5
[ 4147.678412] ath10k: [0024]: 00000009 0043C3B4 00423E14
[ 4147.687505] ath10k_pci 0000:01:00.0: ATH10K_END
[ 4147.693705] ath10k_pci 0000:01:00.0: [1] next: 0×419800 buf: 0x4158d0 sz: 1500 len: 0 count: 0 free: 0
[ 4147.725385] ath10k_pci 0000:01:00.0: found sta peer e8:b1:fc:3d:64:fe (ptr da465800 id 13) entry on vdev 0 after it was supposedly removed
[ 4147.738275] ath10k_pci 0000:01:00.0: removing peer, cleanup-all, deleting: peer dac2ec00 vdev: 0 addr: 3c:a1:0d:a2:b1:7c
[ 4147.738338] ath10k_pci 0000:01:00.0: removing peer, cleanup-all, deleting: peer db3fea00 vdev: 0 addr: b4:ef:fa:d1:18:bd
[ 4147.748318] ath10k_pci 0000:01:00.0: removing peer, cleanup-all, deleting: peer db3ffc00 vdev: 0 addr: b4:ef:fa:d1:32:47
[ 4147.759252] ath10k_pci 0000:01:00.0: removing peer, cleanup-all, deleting: peer dac2f200 vdev: 0 addr: 34:a3:95:8d:2c:d1
[ 4147.770184] ath10k_pci 0000:01:00.0: removing peer, cleanup-all, deleting: peer dc763800 vdev: 0 addr: 84:10:0d:66:74:aa
[ 4147.781148] ath10k_pci 0000:01:00.0: removing peer, cleanup-all, deleting: peer dc542e00 vdev: 0 addr: 44:80:eb:1e:37:17
[ 4147.792085] ath10k_pci 0000:01:00.0: removing peer, cleanup-all, deleting: peer dc13fe00 vdev: 0 addr: b8:6c:e8:0a:b7:54
[ 4147.803017] ath10k_pci 0000:01:00.0: removing peer, cleanup-all, deleting: peer dc3d1600 vdev: 0 addr: e0:b5:5f:82:03:a0
[ 4147.813952] ath10k_pci 0000:01:00.0: removing peer, cleanup-all, deleting: peer dc3d1000 vdev: 0 addr: b4:ef:fa:ed:b9:12
[ 4147.824885] ath10k_pci 0000:01:00.0: removing peer, cleanup-all, deleting: peer dc3d1c00 vdev: 0 addr: 24:4b:81:af:1b:4a
[ 4147.835820] ath10k_pci 0000:01:00.0: removing peer, cleanup-all, deleting: peer dc3d1a00 vdev: 0 addr: dc:f5:05:35:37:af
[ 4147.846754] ath10k_pci 0000:01:00.0: removing peer, cleanup-all, deleting: peer dc4c5400 vdev: 0 addr: 9c:3d:cf:fa:92:25
[ 4147.952866] ieee80211 phy0: Hardware restart was requested
[ 4149.224871] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96
[ 4149.224902] ath10k_pci 0000:01:00.0: msdu-desc: 2500 skid: 32
[ 4149.300843] ath10k_pci 0000:01:00.0: wmi print ‘P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0’ [ 4149.301603] ath10k_pci 0000:01:00.0: wmi print ‘free: 34244 iram: 32964 sram: 6508’ [ 4149.638216] ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[ 4150.024152] ath10k_pci 0000:01:00.0: device successfully recovered
[103726.858646] ————[ cut here ]———— [103726.858710] WARNING: CPU: 0 PID: 2046 at backports-4.19.120-1/net/wireless/util.c:1147 0xbf20ed88 [cfg80211@bf20a000+0×37000]
[103726.862531] invalid rate bw=4, mcs=15, nss=4
[103726.873751] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 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 wireguard 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 ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd
[103726.926914] phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug
[103726.949141] CPU: 0 PID: 2046 Comm: hostapd Not tainted 4.14.180 #0
[103726.961383] Hardware name: Generic DT based system
[103726.967467] Function entered at [<c030f1c4>] from [<c030b390>]
[103726.972323] Function entered at [<c030b390>] from [<c07c09c4>]
[103726.978226] Function entered at [<c07c09c4>] from [<c031f878>]
[103726.984127] Function entered at [<c031f878>] from [<c031f8d8>]
[103726.990030] Function entered at [<c031f8d8>] from [<bf20ed88>]
[103726.995966] Function entered at [<bf20ed88>] from [<bf21c83c>]
[103727.001839] Function entered at [<bf21c83c>] from [<bf229654>]
[103727.007741] Function entered at [<bf229654>] from [<bf22a04c>]
[103727.013644] Function entered at [<bf22a04c>] from [<c06e1a1c>]
[103727.019544] Function entered at [<c06e1a1c>] from [<c06e0238>]
[103727.025447] Function entered at [<c06e0238>] from [<c06e0a10>]
[103727.031348] Function entered at [<c06e0a10>] from [<c06dfa48>]
[103727.037250] Function entered at [<c06dfa48>] from [<c06dfe64>]
[103727.043154] Function entered at [<c06dfe64>] from [<c0689d5c>]
[103727.049059] Function entered at [<c0689d5c>] from [<c068a5c4>]
[103727.054960] Function entered at [<c068a5c4>] from [<c0307b60>]
[103727.060940] —[ end trace dc5d39f4ec166934 ]—

22.05.20203115KernelBug ReportVery LowMediumPerformance/ping/network latency regression in OpenWrt ...openwrt-19.07Unconfirmed Task Description

Today I’ve upgraded from OpenWrt 19.07.1 to 19.07.3 and noticed that latency for my WDR3600 router has increased more than threefold.

In OpenWrt 19.07.1 ping from my PC to the router (connected via a 1Gb wired connection, less than a meter) took approximately 0.250ms

In OpenWrt 19.07.3 ping is now 0.860ms on average.

I haven’t changed any settings after upgrading to OpenWrt 19.07.3.

This is quite a serious performance regression.

When I was carrying out the tests I had zero load and zero Internet traffic, so the router CPU was completely idle.

# uptime 
 15:22:59 up  4:36,  load average: 0.00, 0.00, 0.00
22.05.20203114Base systemBug ReportVery LowMediumWhen using CLIENT+AP with 5GHZ on same radio, AP doesn'...openwrt-19.07Unconfirmed Task Description

Workaround is to set the channel on the AP to an arbitrary channel other than ‘auto’. It’s still auto since it has to be the same channel as the client uses, but at least now it shows up.
Verified the issue on 19.07.3 with both Xiaomi MIR3G and Netgear WNDR3700v5, both MT7621 based.

 


21.05.20203113KernelBug ReportVery LowMediumFailed to receive offered IP address for devices at ran...openwrt-19.07Unconfirmed Task Description

Hardware: TP-LINK Archer C9 V1
Version: OpenWrt 19.07.2 r10947-65030d81f3

The Archer C9 is the only device doing any NAT on the network and is the only DHCP service on the network. To get around the fact that BCM4360 has no drivers I installed a WiFi Dongle. The Archer C9 is the gateway to the internet.

Sometimes any device at random when connecting to the gateway will be unable to acquire an IP Address despite the fact that the system log clearly shows it offered an IP address to a device with the same mac address. There’s a definite working physical link between the device and gateway. Connecting to alternative ‘dumb APs’ on the same network as the gateway results in the same problem; Unable to acquire an IP address. Asking the device’s DHCP client to renew the address does not help.

I have always experienced this problem with this router when using any non stock firmware (I.E all builds of DD-WRT that I tried seemed to exhibit the same behavior) otherwise I would have said it was a problem specific to only this hardware. If left long enough (Several hours) eventually the device will receive it’s an IP address again. Stock firmware did not once exhibit this behavior in the 2 years+ I had it running.

Eventually I set the device’s IP address manually to the exact IP Address being offered by the DHCP server. The device was still unable to ping the gateway.
I then tried to set the device’s IP address to a random IP address (within the range of IP addresses the DHCP server could potentially serve) The device was still unable to ping the gateway. Finally I set the device IP address outside of the range being offered by the DHCP server and then it was able to communicate with the gateway.

I have attached the system log of when a device failed to acquire an IP address. I have replaced all mac addresses and IP addresses with randomly generated mac addresses and IP addresses. ‘1b:ac:8b:93:55:ba’ is the device struggling to acquire the IP address. It is a MacBook Pro. If memory serves correctly devices requesting an IP address in the same time period will also fail to acquire a IP address from the DHCP server, further testing is required for me to prove that though. Other services including NAT translation for pre-allocated devices appears to behave as expected. The gateway will function as expected in every other way. The log will show me successfully logging via my Android device during the time it was happening.

18.05.20203109Base systemBug ReportVery LowCriticalUBIFS failure/crash on BT HomeHub 2B: __nand_correct_da...openwrt-19.07Unconfirmed Task Description

Device: BT HomeHub Version 2B (Lantiq XWAY)

Software: 19.07.3 downloaded from:

https://downloads.openwrt.org/releases/19.07.3/targets/lantiq/xway/openwrt-19.07.3-lantiq-xway-bt_homehub-v2b-squashfs-sysupgrade.bin

After an hour or so of usage, the router reboots itself with a corrupted filesystem. I’ve attached the log to this bug report. The log contains:

__nand_correct_data: uncorrectable ECC error

so I think there might be a link with the similar problem that the BT HomeHub Version 5A had a long time ago, as per:

https://bugs.openwrt.org/index.php?do=details&task_id=245 (”Lede won’t boot on HHB5”)

and

http://openwrt.ebilan.co.uk/viewtopic.php?f=7&t=133#p1022 (post by Mathias Kresin / mkresin who fixed the problem with the Home Hub 5A)

This bug may also be related to:

https://bugs.openwrt.org/index.php?do=details&task_id=1842

(I think that this bug may affect every release since 18.06.0)

18.05.20203108Base systemBug ReportVery LowMediumSome devices unable to connect in sae-mixed mode (WPA3/...TrunkUnconfirmed Task Description

Device: Netgear Nighthawk X4S (R7800)
Software version: OpenWrt 19.07.2 r10947-65030d81f3 / LuCI openwrt-19.07 branch git-20.134.55291-ba0fb08
Steps to reproduce:
- Start with the firmware linked here: https://openwrt.org/toh/netgear/r7800 - Remove wpad-basic
- Install wpad-openssl
- Configure network to broadcast in WPA3/WPA2 Personal (sae-mixed)

Devices previously able to connect to WPA2 mode:
- 2012 Macbook Pro on macOS Catalina 10.15.4
- Up-to-date raspberry pi 4 on raspbian buster

If I switch the radio to WPA2 Personal only (wpa-psk if not using luci, I believe), they can connect. I switch it back to WPA3/WPA2 Personal (sae-mixed) they cannot connect. Let me know what logs to gather and how to gather them. If it’s a client issue, please confirm, but my understanding is that mixed mode should support all WPA2 Personal compatible devices.

17.05.20203103Base systemBug ReportVery LowLowAdd /etc/fstab to Package/base-files/conffilesTrunkUnconfirmed Task Description

The base-files package installs a stub /etc/fstab file. However the file is not marked as configuration file and gets overridden on every package upgrade. At the same time the package provides no scripts to fill this file with any actual contents. I can remember that previously the file was a symlink to /tmp/fstab and there was an init script that creates the /tmp/fstab file based on /etc/config/fstab but it doesn’t seem to be the case anymore for the latest trunk. The file is quite handy as a short-hand for mount command (or as a configuration file for my custom cryptsetup script along with /etc/crypttab). I suggest to add the file into Package/base-files/conffiles.

- Device problem occurs on: any
- Software versions of OpenWrt/LEDE release, packages, etc.: latest trunk
- Steps to reproduce: upgrade base-files with opkg

 
16.05.20203102KernelBug ReportVery LowMediumstorage I/O accounting impeded by unset kconfAllUnconfirmed Task Description

userland *htop* or *pidstat* require the necessary kconf set http://sebastien.godard.pagesperso-orange.fr/tutorial.html

With its -d option, pidstat can report I/O statistics, providing that you have a recent Linux kernel (2.6.20+) with the option CONFIG_TASK_IO_ACCOUNTING compiled in.

kconf causality https://github.com/torvalds/linux/blob/master/init/Kconfig#L471

CONFIG_TASKSTATS
|_> CONFIG_TASK_XACCT
 |_> CONFIG_TASK_IO_ACCOUNTING
16.05.20203101KernelBug ReportVery LowLowKernel in armvirt images missing virtio drivers and UEF...TrunkUnconfirmed Task Description

Hello!

Unless I missing something, it’s seems like currently armvirt images is missing virtio drivers (unlike x86 images) and UEFI support (again, unlike x86 images).

To get idea regarding virtio drivers, please take a look at x86 config and armvirt config:
https://github.com/openwrt/openwrt/blob/master/target/linux/x86/64/config-4.19 https://github.com/openwrt/openwrt/blob/master/target/linux/x86/64/config-5.4 https://github.com/openwrt/openwrt/blob/master/target/linux/armvirt/64/config-4.19 https://github.com/openwrt/openwrt/blob/master/target/linux/armvirt/64/config-5.4

As you can see, x86 config include all sorts of virtio drivers, such as virtio_blk, virtio_baloon, virtio_pci, scsi_virtio (and so on) while arm config doesn’t have any of these. In result armvirt64 does not boot - it can not mount rootfs, and no block devices is detected by the kernel due to missing block device drivers.

Another roadblock is missing UEFI support in armvirt images. By default virt-manager create virtual machine with ACPI and OVMF, and OVMF obviously can’t boot anything from ext4 images. It possible to workaround this by specifying path to kernel and initramfs in vm properties and editing vm xml manually via “virsh edit vmname” (remove loader and nvram tags in os section and remove acpi tag in features section) but then vm kernel won’t be able to boot due to missing drivers.

To reproduce this issue you need board running fresh Debian or Ubuntu, installed libvirt-daemon-system qemu-kvm ovmf ipxe-qemu, and ability to connect to such board from virt-manager (running on other PC for convinience).
Be aware that big.LITTLE architecture is not supported yet by libvirt, but there is plenty of boards that have four same cores - even simple RPi3B would be enough.

Please let me know if I need to provide any additional information.

16.05.20203100Base systemBug ReportVery LowLowminiupnpd.conf generated by /etc/init.d/miniupnpd uses ...openwrt-19.07Unconfirmed Task Description

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

  • OpenWrt 19.07.2, r10947-65030d81f3
  • miniupnpd - 2.1.20191006-4

I have both native IPv6 (wan_6 virtual interface from pppoe) and 6to4. I need 6to4 to connect to other 6to4 peers which is faster than native IPv6 (and sometimes native IPv6 cannot reach 6to4). /var/etc/miniupnpd.conf generated by /etc/init.d/miniupnpd uses 6to4 instead of native IPv6, the file contains the following lines

ext_ifname=pppoe-wan
ext_ifname6=6to4-wan6

I think it’s better to use native IPv6 interface by default.
Additionally, is it possible to add ipv6_disable option to the config? Buggy UPnP clients sometimes put IPv6 address in a IPv4 port mapping request, I’d like to check if disabling IPv6 UPnP would fix it, this problem is mentioned in https://github.com/miniupnp/miniupnp/issues/408

15.05.20203099KernelBug ReportVery LowCriticalTP-Link C2600 Kernel 5.4 crashes while accessing invali...TrunkUnconfirmed Task Description

Linux kernel experiences an oops from time to time
- Device: TP-Link Archer C2600
- Kernel Version: 5.4.40
- OpenWRT Version: OpenWrt SNAPSHOT, r13224+16-2308644b0c
- Steps to reproduce: Simply wait. After an unknown amount of time the kernels crashes leading to a reboot.

 


14.05.20203098Base systemBug ReportVery LowLowbusybox nslookup: spurious error message when no ipv6 a...TrunkUnconfirmed Task Description

busybox nslookup is broken and returns a spurious error message when there is no ipv6 address returned for a host

root@openwrt:/# nslookup www.google.com
Server:		192.168.1.1
Address:	192.168.1.1#53

Name:      www.google.com
Address 1: 216.58.210.36
Address 2: 2a00:1450:4009:800::2004

root@openwrt:/# nslookup whatsmyipaddress.com
Server:		192.168.2.1
Address:	192.168.2.1#53

Name:      whatsmyipaddress.com
Address 1: 35.186.238.101
*** Can't find whatsmyipaddress.com: No answer
14.05.20203097KernelBug ReportVery LowMediumBUG when try to delete directoryTrunkUnconfirmed Task Description

Device: gl-ar300m-nand
OPENWRT_RELEASE: OpenWrt SNAPSHOT r13235-eb17ee294c
Kernel: 4.19.123-1-79d26c42c84b39dafc40e3236152b99d

It seems a bug on overlayfs with ubifs. It works as expected with overlayfs and jffs2. I search the source and found jffs2-rename.patch. Maybe a patch with ubifs should be added.

Steps to reproduce:

 root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime)
......
/dev/ubi0_1 on /overlay type ubifs (rw,noatime,assert=read-only,ubi=0,vol=1)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
......
root@OpenWrt:~# rmdir /mnt # both /mnt and /rom/mnt are empty
root@OpenWrt:~# mkdir /mnt
mkdir: cannot create directory ‘mnt’: I/O error
root@OpenWrt:~# rmdir /etc/uci-defaults # /etc/uci-defaults is empty, while /rom/etc/uci-defaults isn't.
rmdir: failed to remove '/etc/uci-defaults': I/O error
14.05.20203096Base systemBug ReportVery LowMediumMore restrictive mount optionsTrunkUnconfirmed Task Description

Is it possible to add procfs option hidepid=2 to restrict non-root users’ view of process list?
It is described in proc(5) how to make unprivileged bypass if needed

13.05.20203094KernelBug ReportVery LowLowath9k on Archer C7 v5 can't see packets (at least in mo...TrunkUnconfirmed Task Description

On an Archer C7 v5 running OpenWrt SNAPSHOT, r13223-fdd968d64e from https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-tplink_archer-c7-v5-squashfs-sysupgrade.bin running

iw dev wlan1 set type monitor
ip link set dev wlan1 up
iw dev wlan1 set freq 2462 20
echo 0 > /proc/sys/net/core/bpf_jit_enable (because of FS#3045)
tcpdump -i wlan1 ‘type data and (wlan addr1 <my_pc_wifi_mac> or wlan addr2 <my_pc_wifi_mac>)’

results in an output similar to

11:41:33.012568 162711776us tsft 1.0 Mb/s 2462 MHz 11b -5dBm signal -9dBm signal antenna 0 -7dBm signal antenna 1 -23dBm signal antenna 2 
11:41:33.060509 162759694us tsft 1.0 Mb/s 2462 MHz 11b -5dBm signal -9dBm signal antenna 0 -8dBm signal antenna 1 -25dBm signal antenna 2 
11:41:33.218174 162917394us tsft 1.0 Mb/s 2462 MHz 11b -5dBm signal -12dBm signal antenna 0 -6dBm signal antenna 1 -23dBm signal antenna 2 
11:41:33.266511 162965721us tsft 1.0 Mb/s 2462 MHz 11b -5dBm signal -9dBm signal antenna 0 -7dBm signal antenna 1 -25dBm signal antenna 2 
11:41:33.424343 163123553us tsft 1.0 Mb/s 2462 MHz 11b -6dBm signal -12dBm signal antenna 0 -7dBm signal antenna 1 -24dBm signal antenna 2 
11:41:33.472731 163171934us tsft 1.0 Mb/s 2462 MHz 11b -5dBm signal -10dBm signal antenna 0 -6dBm signal antenna 1 -23dBm signal antenna 2 
11:41:33.630567 163329780us tsft 1.0 Mb/s 2462 MHz 11b -5dBm signal -8dBm signal antenna 0 -8dBm signal antenna 1 -25dBm signal antenna 2 
11:41:33.679703 163378897us tsft 1.0 Mb/s 2462 MHz 11b -5dBm signal -8dBm signal antenna 0 -8dBm signal antenna 1 -25dBm signal antenna 2 

(so only 1.0 Mb/s packets)

Even when doing a big download from my computer.

The same problem happens with 18.06.0-rc1, the first build available with support for this model, and with 19.07.2.

When doing the same with an Archer C7 v2 the problem disappears, with an output more similar to

11:59:34.954388 114503209us tsft 2462 MHz 11n -25dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -31dBm signal antenna 0 -32dBm signal antenna 1 -28dBm signal antenna 2 Data IV:35e4 Pad 20 KeyID 0
11:59:34.957163 114505988us tsft 2462 MHz 11n -25dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -30dBm signal antenna 0 -32dBm signal antenna 1 -27dBm signal antenna 2 Data IV:35f0 Pad 20 KeyID 0
11:59:34.962798 114511615us tsft 2462 MHz 11n -23dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -31dBm signal antenna 0 -31dBm signal antenna 1 -24dBm signal antenna 2 Data IV:3608 Pad 20 KeyID 0
11:59:34.970945 114519766us tsft 2462 MHz 11n -24dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -30dBm signal antenna 0 -32dBm signal antenna 1 -27dBm signal antenna 2 Data IV:362e Pad 20 KeyID 0
11:59:34.977293 114526117us tsft 2462 MHz 11n -23dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -33dBm signal antenna 0 -32dBm signal antenna 1 -24dBm signal antenna 2 Data IV:364a Pad 20 KeyID 0
11:59:34.977943 114526561us tsft 2462 MHz 11n -25dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -30dBm signal antenna 0 -33dBm signal antenna 1 -27dBm signal antenna 2 Data IV:364c Pad 20 KeyID 0
11:59:34.978148 114527006us tsft 2462 MHz 11n -25dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -31dBm signal antenna 0 -33dBm signal antenna 1 -27dBm signal antenna 2 Data IV:364d Pad 20 KeyID 0
11:59:34.979699 114528418us tsft 2462 MHz 11n -24dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -31dBm signal antenna 0 -32dBm signal antenna 1 -26dBm signal antenna 2 Data IV:3654 Pad 20 KeyID 0
11:59:34.980137 114528862us tsft 2462 MHz 11n -25dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -31dBm signal antenna 0 -32dBm signal antenna 1 -27dBm signal antenna 2 Data IV:3656 Pad 20 KeyID 0
11:59:34.980937 114529750us tsft 2462 MHz 11n -25dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -34dBm signal antenna 0 -32dBm signal antenna 1 -27dBm signal antenna 2 Data IV:365a Pad 20 KeyID 0
11:59:34.986293 114535116us tsft 2462 MHz 11n -25dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -34dBm signal antenna 0 -31dBm signal antenna 1 -27dBm signal antenna 2 Data IV:3672 Pad 20 KeyID 0
11:59:34.996568 114545388us tsft 2462 MHz 11n -25dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -30dBm signal antenna 0 -33dBm signal antenna 1 -27dBm signal antenna 2 Data IV:36a0 Pad 20 KeyID 0
11:59:34.997799 114546639us tsft 2462 MHz 11n -24dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -31dBm signal antenna 0 -31dBm signal antenna 1 -27dBm signal antenna 2 Data IV:36a4 Pad 20 KeyID 0
11:59:35.000680 114549501us tsft 2462 MHz 11n -25dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -31dBm signal antenna 0 -31dBm signal antenna 1 -27dBm signal antenna 2 Data IV:36b2 Pad 20 KeyID 0
11:59:35.004352 114553174us tsft 2462 MHz 11n -24dBm signal 144.4 Mb/s MCS 15 20 MHz short GI RX-STBC0 -31dBm signal antenna 0 -32dBm signal antenna 1 -26dBm signal antenna 2 Data IV:36c2 Pad 20 KeyID 0

The timestamps show different times because I was trying to reproduce it with something as close as possible to a fresh flashing and I couldn’t access both devices at the same time as routers. But I have actually reproduced this making both devices capture traffic at the same time after messing a bit with their network configurations.

11.05.20203092Base systemBug ReportVery LowHighXiaomi Router 3G random rebootsopenwrt-19.07Unconfirmed Task Description

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

 

Hello,

I have a Xiaomi 3G router. Since the day I bought it I installed Openwrt and to tell you the truth, with version 18.06 I didn’t have any problem.

A few weeks ago I updated to the new version (19.07) using LuCI and it restarts me randomly.

I tried restoring the router, reinstalling the update and it keeps randomly rebooting. Right now I have it without any additional packages installed and it still keeps rebooting randomly.

I have noticed, that almost every time I see a reboot and look at the log file the first thing that appears is this, that is, the first line after the reboot is:

Mon May 11 22:16:59 2020 daemon.info dnsmasq[1148]: exiting on receipt of SIGTERM
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: started, version 2.80 cachesize 150
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: DNS service limited to local subnets
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Mon May 11 22:16:59 2020 daemon.info dnsmasq-dhcp[2722]: DHCP, IP range 192.168.2.100 -- 192.168.2.249, lease time 12h
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain test
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain onion
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain localhost
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain local
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain invalid
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain bind
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain lan
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: reading /tmp/resolv.conf.auto
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain test
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain onion
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain localhost
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain local
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain invalid
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain bind
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain lan

Please, I need help since I can’t work if it constantly resets. If you need any more information, please do not hesitate to ask me.

11.05.20203091KernelBug ReportVery LowHighLatest build does not work properly on Banana Pi R2TrunkUnconfirmed Task Description

I compile my image according to the given guide: https://openwrt.org/toh/sinovoip/sinovoip_banana_pi_r2

With kernel version 4.19 everything went smooth (OpenWrt Snapshot shown after boot was r12726-92616c4227).

Then i wanted to upgrade to the current master and after applying the new bpi_bananapi-r2-kernel.bin and root.squashfs files the boot process stops every time at the same point (see attached file boot.txt).

I did the follwing steps:

  1. ./scripts/feeds update -a
  2. ./scripts/feeds install -a
  3. make -j8 menuconfig
  4. follow instructions for menuconfig on guide
  5. make -j8 kernel_menuconfig
  6. follow instructions for kernel_menuconfig on guide
  7. I did not apply the patch that was given. I didn’t encounter any problems with failing network connections even with the old linux kernel. It also does not make any difference according to the current problem.
  8. make -j8
  9. changed repositories.conf according to the guide
  10. make image PROFILE=bpi_bananapi-r2
  11. apply new kernel-file and rootfs according to the guide

I tried this several times with different configurations but the result was the same anyway.

It seems like there is a bug at loading rootfs from MTD.

 


11.05.20203090PackagesBug ReportVery LowMediumdnsmasq: daemon.err dnsmasq[6363]: failed to load name...openwrt-19.07Unconfirmed Task Description

Router model : Netgear WNDR3700v1

I upgraded to 19.0.7 yesterday. Since I have the follow issue :
all static leases can’t be resolved (25 hosts).

In system.log I found this logs each time I (re)start dnsmasq :
Mon May 11 05:47:28 2020 daemon.info dnsmasq[6363]: read /etc/hosts - 4 addresses
Mon May 11 05:47:28 2020 daemon.err dnsmasq[6363]: failed to load names from /tmp/hosts/dhcp.cfg01411c: Permission denied
Mon May 11 05:47:28 2020 daemon.info dnsmasq-dhcp[6363]: read /etc/ethers - 0 addresses

So I patched the init.d/dnsmasq adding this line :

 chmod og+r $HOSTFILE

after the line :

 mv -f $HOSTFILE_TMP $HOSTFILE

in function dnsmasq_start

This patch is operational with those logs :
Mon May 11 05:51:57 2020 daemon.info dnsmasq[6613]: read /etc/hosts - 4 addresses
Mon May 11 05:51:57 2020 daemon.info dnsmasq[6613]: read /tmp/hosts/dhcp.cfg01411c - 25 addresses
Mon May 11 05:51:57 2020 daemon.info dnsmasq-dhcp[6613]: read /etc/ethers - 0 addresses

Best regards.
Philippe

10.05.20203087Base systemBug ReportVery LowCriticalr13208-426fb8cf84 from downloads.openwrt.org does not b...TrunkUnconfirmed Task Description

Device problem occurs on

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

Steps to reproduce

  1. download given image
  2. flash it via TFTP to routers flash
  3. get attached output

caviat

  • I only have this one WhiteBox8 so I can not test if this is an hardware issue. Can somebody else please test it?
09.05.20203086Base systemBug ReportVery LowLowNetgear D7800 eth0 WAN Port not working with 100MbitTrunkUnconfirmed Task Description

Device: Netgear D7800
Software Version: OpenWrt Trunk
Steps to reproduce:
With the OOB configuration it is not possible to receive any traffic on the WAN Port (Interface eth0) if the other device is only supporting 100Mbit. (Like a lot of modems do)

There are now several threads in the forum which describe this.
e.g. https://forum.openwrt.org/t/d7800-wan-not-working-with-100mbit/29944

Possible solution might be to compare the dts file from Netgear R7800 for initializing the MACs. The two devices are very similar and maybe someone with knowledge see a possible problem.

09.05.20203085KernelBug ReportVery LowLowRNDIS USB Guest Breaks When Switched to Kernel 5.4TrunkUnconfirmed Task Description

Device problem occurs on

Raspberry Pi 4 Model B

Software versions of OpenWrt release, packages, etc.

OpenWrt version: master branch
Packages installed: kmod-usb-dwc2, kmod-usb-gadget-eth (g_ether)

Problem description

USB-C port of Pi 4 is capable of running in device/guest mode (USB OTG) just like Pi Zero.

Raspberry Pi Zero W Headless setup – Windows 10 RNDIS Driver issue resolved - FactoryForward

It used to work with OpenWrt and Linux kernel 4.19, but it breaks when switched to 5.4.

In dmesg, you get errors like

[ 1759.419106] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
[ 1770.559826] g_ether gadget: high-speed config #2: RNDIS
[ 1783.798053] rndis_msg_parser: unknown RNDIS message 0x00520328 len 4456526
[ 1783.804934] RNDIS command error -524, 24/24
[ 2259.991384] rndis_msg_parser: unknown RNDIS message 0x00520328 len 4456526
[ 2259.998275] RNDIS command error -524, 24/24

Steps to reproduce

  1. Modify KERNEL_PATCHVER=5.4 in target/linux/bcm27xx/Makefile to KERNEL_PATCHVER=4.19
  2. Append dtoverlay=dwc2 to target/linux/bcm27xx/image/config.txt
  3. Build the image with kernel module package kmod-usb-dwc2 and kmod-usb-gadget-eth selected
  4. Flash the image to SD card for Pi
  5. Connect Pi’s USB-C to a Windows computer (or VM)
  6. Connect to Pi’s console through Ethernet or UART
  7. Run following commands
    modprobe g_ether
    uci set network.lan.ifname='eth0 usb0'
    uci commit network
    /etc/init.d/network restart
  8. Install RNDIS driver provided in headless Pi Zero tutorial
  9. You should now have a working USB Pi network adapter
  10. Now revert the change from step 1 and run the whole thing again, instead of a working network adapter, Windows will report error initializing the interface.

Note

g_ether will run CDC-ECM when connected to Linux/macOS, not RNDIS.

09.05.20203083KernelBug ReportVery LowHigh[nftables] invalid/obsolete and missing and unset kconf...TrunkUnconfirmed Task Description

upstream source https://github.com/torvalds/linux/blob/v5.4/net/netfilter/Kconfig#L442 is not matching downstream, in particular it seems that:

  • downstream exhibiting obsolete kconf
CONFIG_NF_TABLES_ARP
CONFIG_NF_TABLES_BRIDGE
  • downstream missing kconf (impeding nft functionality)
NFT_NUMGEN
NFT_CT
NFT_COUNTER
NFT_LOG
NFT_LIMIT
NFT_MASQ
NFT_REDIR
NFT_NAT
NFT_QUEUE
NFT_QUOTA
NFT_REJECT
NFT_REJECT_INET
NFT_COMPAT
NFT_HASH
NFT_FIB_INET
NF_DUP_NETDEV
NFT_DUP_NETDEV
NFT_FWD_NETDEV
  • downstream unset kconf (impeding nft functionality)
NFT_FLOW_OFFLOAD
NFT_CONNLIMIT
NFT_TUNNEL
NFT_OBJREF
NFT_XFRM
NFT_SOCKET
NFT_OSF
NFT_TPROXY
Showing tasks 101 - 150 of 1068 Page 3 of 22 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing