OpenWrt/LEDE Project

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

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

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

OpenedIDCategory  descTask TypePrioritySeveritySummaryReported InStatus
26.12.20182026KernelBug ReportVery LowHighkernel ipq806x Oopsopenwrt-18.06Unconfirmed Task Description

Device: netgear,r7800
Version: 18.06.1

Steps to reproduce:
The crash will happen with 100% certainty, but what exactly causes the problem is a little hard to say. It looks like large internet frames on WAN interface somehow trigger the error.

The WAN interface (eth.2) is untagged, on the LAN ports besides 1 untagged VLAN, 3 untagged VLANs exist. Only (possibly) relevant extra installed package is ip-tiny; it isn’t used though for any custom configuration though.

From the syslog (from boot till Oops, seemingly non-related stuff redacted out):

Wed Dec 26 15:18:27 2018 kern.info kernel: [    0.000000] Booting Linux on physical CPU 0x0
Wed Dec 26 15:18:27 2018 kern.notice kernel: [    0.000000] Linux version 4.14.63 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7102-3f3a2c9)) #0 SMP Thu Aug 16 07:51:15 2018
Wed Dec 26 15:18:27 2018 kern.info kernel: [    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
Wed Dec 26 15:18:27 2018 kern.info kernel: [    0.000000] CPU: div instructions available: patching division code
Wed Dec 26 15:18:27 2018 kern.info kernel: [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Wed Dec 26 15:18:27 2018 kern.info kernel: [    0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
...
Wed Dec 26 15:18:27 2018 kern.info kernel: [    1.304591] libphy: GPIO Bitbanged MDIO: probed
Wed Dec 26 15:18:27 2018 kern.info kernel: [    1.325983] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.210243] libphy: Fixed MDIO Bus: probed
Wed Dec 26 15:18:27 2018 kern.warn kernel: [    2.212378] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.213549] stmmac - user ID: 0x10, Synopsys ID: 0x37
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.219747] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.224876] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.230859] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.238924] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.246483] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.253511] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.261323] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.267227] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.274601] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
Wed Dec 26 15:18:27 2018 kern.warn kernel: [    2.282886] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.290081] stmmac - user ID: 0x10, Synopsys ID: 0x37
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.296320] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.301257] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.307399] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.315397] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.322956] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.329903] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.337865] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.343699] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.350995] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
...
Wed Dec 26 15:18:27 2018 kern.info kernel: [    2.428253] 8021q: 802.1Q VLAN Support v1.8
...
Wed Dec 26 15:18:27 2018 user.info kernel: [    3.839793] init: - watchdog -
...
Wed Dec 26 15:18:27 2018 user.info kernel: [    4.407941] kmodloader: loading kernel modules from /etc/modules-boot.d/*
...
Wed Dec 26 15:18:27 2018 user.info kernel: [    5.088295] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Wed Dec 26 15:18:27 2018 user.info kernel: [    5.098476] init: - preinit -
...
Wed Dec 26 15:18:27 2018 kern.info kernel: [    6.799339] Generic PHY fixed-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:01, irq=POLL)
Wed Dec 26 15:18:27 2018 kern.info kernel: [    6.800863] dwmac1000: Master AXI performs any burst length
Wed Dec 26 15:18:27 2018 kern.info kernel: [    6.808373] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
Wed Dec 26 15:18:27 2018 kern.info kernel: [    6.813856] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
Wed Dec 26 15:18:27 2018 kern.info kernel: [    7.834378] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
...
Wed Dec 26 15:18:31 2018 kern.info kernel: [   35.015710] Generic PHY fixed-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:01, irq=POLL)
Wed Dec 26 15:18:31 2018 kern.info kernel: [   35.016654] dwmac1000: Master AXI performs any burst length
Wed Dec 26 15:18:31 2018 kern.info kernel: [   35.016672] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
Wed Dec 26 15:18:31 2018 kern.info kernel: [   35.016873] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
...
Wed Dec 26 15:18:31 2018 kern.info kernel: [   35.020482] device eth1.1 entered promiscuous mode
Wed Dec 26 15:18:31 2018 kern.info kernel: [   35.020487] device eth1 entered promiscuous mode
Wed Dec 26 15:18:31 2018 kern.info kernel: [   35.066212] device eth1.127 entered promiscuous mode
Wed Dec 26 15:18:31 2018 kern.info kernel: [   35.120009] device eth1.34 entered promiscuous mode
Wed Dec 26 15:18:31 2018 kern.info kernel: [   35.162731] device eth1.10 entered promiscuous mode
...
Wed Dec 26 15:18:31 2018 daemon.notice netifd: Interface 'wan' is enabled
Wed Dec 26 15:18:31 2018 daemon.notice netifd: Interface 'wan' is setting up now
Wed Dec 26 15:18:31 2018 daemon.notice netifd: Interface 'wan' is now up
...
Wed Dec 26 15:18:31 2018 kern.info kernel: [   35.174821] Generic PHY fixed-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00, irq=POLL)
Wed Dec 26 15:18:31 2018 kern.info kernel: [   35.175880] dwmac1000: Master AXI performs any burst length
Wed Dec 26 15:18:31 2018 kern.info kernel: [   35.175902] ipq806x-gmac-dwmac 37200000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
Wed Dec 26 15:18:31 2018 kern.info kernel: [   35.176061] ipq806x-gmac-dwmac 37200000.ethernet eth0: registered PTP clock
...
Wed Dec 26 15:18:32 2018 kern.info kernel: [   36.072469] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
Wed Dec 26 15:18:32 2018 daemon.notice netifd: Network device 'eth1' link is up
Wed Dec 26 15:18:32 2018 daemon.notice netifd: VLAN 'eth1.1' link is up
Wed Dec 26 15:18:32 2018 daemon.notice netifd: VLAN 'eth1.10' link is up
Wed Dec 26 15:18:32 2018 daemon.notice netifd: VLAN 'eth1.34' link is up
Wed Dec 26 15:18:32 2018 daemon.notice netifd: VLAN 'eth1.127' link is up
...
Wed Dec 26 15:18:32 2018 daemon.notice netifd: Network device 'eth0' link is up
Wed Dec 26 15:18:32 2018 daemon.notice netifd: Interface 'wan' has link connectivity
Wed Dec 26 15:18:32 2018 kern.info kernel: [   36.232391] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
...
Wed Dec 26 15:18:47 2018 daemon.info procd: - init complete -
...
Wed Dec 26 18:09:06 2018 kern.err kernel: [ 1488.045291] ipq806x-gmac-dwmac 37200000.ethernet eth0: len 1990 larger than size (1536)
Wed Dec 26 18:09:06 2018 kern.err kernel: [ 1488.546134] ipq806x-gmac-dwmac 37200000.ethernet eth0: len 1990 larger than size (1536)
Wed Dec 26 18:09:07 2018 kern.err kernel: [ 1489.546246] ipq806x-gmac-dwmac 37200000.ethernet eth0: len 1990 larger than size (1536)
Wed Dec 26 18:09:09 2018 kern.err kernel: [ 1491.546705] ipq806x-gmac-dwmac 37200000.ethernet eth0: len 1990 larger than size (1536)
Wed Dec 26 18:09:13 2018 kern.err kernel: [ 1495.548558] ipq806x-gmac-dwmac 37200000.ethernet eth0: len 1990 larger than size (1536)
Wed Dec 26 18:09:17 2018 kern.err kernel: [ 1499.548584] ipq806x-gmac-dwmac 37200000.ethernet eth0: len 1990 larger than size (1536)
Wed Dec 26 18:09:21 2018 kern.err kernel: [ 1503.548245] ipq806x-gmac-dwmac 37200000.ethernet eth0: len 1990 larger than size (1536)
Wed Dec 26 18:09:25 2018 kern.err kernel: [ 1507.549643] ipq806x-gmac-dwmac 37200000.ethernet eth0: len 1990 larger than size (1536)
Wed Dec 26 18:09:29 2018 kern.err kernel: [ 1511.551169] ipq806x-gmac-dwmac 37200000.ethernet eth0: len 1990 larger than size (1536)
Wed Dec 26 18:09:33 2018 kern.err kernel: [ 1515.552148] ipq806x-gmac-dwmac 37200000.ethernet eth0: len 1990 larger than size (1536)
Wed Dec 26 18:09:37 2018 kern.err kernel: [ 1519.553088] ipq806x-gmac-dwmac 37200000.ethernet eth0: len 1990 larger than size (1536)
Wed Dec 26 18:24:05 2018 kern.alert kernel: [ 2387.041393] Unable to handle kernel paging request at virtual address 64616f86
Wed Dec 26 18:24:05 2018 kern.alert kernel: [ 2387.041483] pgd = c0204000
Wed Dec 26 18:24:05 2018 kern.alert kernel: [ 2387.047548] [64616f86] *pgd=00000000
27.02.20192150KernelBug ReportVery LowHighCrashlogs are empty/borken - TD-W8970 v1AllUnconfirmed Task Description

Device TD-W8970 v1.
Lot of crashes, all does not produce anything on logs (even tried to crank up log levels and saving to USB, to be sure to read last lines logged, but no errors is shown).
After the automatic reboot I can see the message

Crashlog allocated RAM at address 0x3f00000

with logread.
No log file is generated inside

/sys/kernel/debug

.
I compiled a custom image with

/dev/mem

enabled and dumped the memory after 0x3f00000 (basically last MB of ram available) and I can only see the bytes “A1 EE DE AD” followed by ~1KB of “00” and after that probably other programs code.

In this thread there is the full explanation about how this device is currently unstable, and having no logs available makes debugging x10 times harder..

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

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

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

Device A (worse RX SNR):

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

Device B (better RX SNR)

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

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

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

Maybe related to FS#1246

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

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

WiFi EEPROM of the devices:

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

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

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

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

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

19.04.20192245KernelBug ReportVery LowHighProblem with downloading firmware to the deviceopenwrt-18.06Unconfirmed Task Description

/code>Supply the following if possible:
- An error occurs when downloading the firmware
-Work on Openwrt 18.06, MT7621 processor
-No devices were connected
Worried about the error with NAND and CPU0, unless of course, I correctly determined that they are the cause

 


21.04.20192247KernelFeature RequestVery LowHighAllwinner H+ Enable wifi xradio-xr819 and soc-audio.AllUnconfirmed Task Description

Openwrt-master and openwrt-18.06.02, lede-18.06.02
Included support for wifi xradio-xr819 and soc-audio - Allwinner H + Xunlong Orange Pi Zero.

Patches are created. It is better if someone from the experts adds to the source code.

Patch openwrt-18.06.02

Patch Openwrt-master

Copy patch dts-add-usb2-usb3-soc_codec-opi_zero-wifi_xradio_xr819_openwrt-18.06.02.patch to <buld-dir Openwrt-master>

patch -p1 < dts-add-usb2-usb3-soc_codec-opi_zero-wifi_xradio_xr819_openwrt-18.06.02.patch

Copy patch dts-add-usb2-usb3-soc_codec-opi_zero-wifi_xradio_xr819_openwrt-master.patch>

patch -p1 < dts-add-usb2-usb3-soc_codec-opi_zero-wifi_xradio_xr819_openwrt-master.patch
04.07.20192355KernelBug ReportVery LowHighlow ipsec throughput on ipq40xx platformTrunkUnconfirmed Task Description

The problem has been confirmed on gl-inet b1300 and Asus AC58u, latest snapshot and 18.06.2.

very low ipsec throughput under normal strongswan road-warrior configuration, but performance become reasonable after installing strongswan-mod-kernel-libipsec, it means bypass kernel’s ipsec stack.

more information can be found on discussion topic thread.

https://forum.openwrt.org/t/ipsec-performance-issue/39690/2

07.07.20192360KernelBug ReportVery LowHigh[nft] unset kernel config incapacitates nftAllUnconfirmed Task Description

unset kernel conf incapacitates nft across all boards

# CONFIG_NFT_RT is not set
# CONFIG_NFT_SET_BITMAP is not set
# CONFIG_NFT_OBJREF is not set
# CONFIG_NFT_QUEUE is not set
# CONFIG_NFT_COMPAT is not set
# CONFIG_NFT_FIB_NETDEV is not set
# CONFIG_NFT_DUP_IPV4 is not set
# CONFIG_NFT_DUP_IPV6 is not set

 

https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=include/netfilter.mk;h=179d4ed7b93ae763234e966c1027ae89e204b137;hb=refs/heads/master#l335

https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=include/netfilter.mk;h=510aa183ca1ed9ab38015ced17005d70a6f4f6fa;hb=refs/heads/openwrt-18.06#l329


For instance

# CONFIG_NFT_RT is not set

is the likely cause for

# nft add rule ip filter forward oifname ppp0 tcp flags syn tcp option maxseg size set rt mtu

to fail with: Error: Could not process rule: No such file or directory

reference https://wiki.nftables.org/wiki-nftables/index.php/Mangle_TCP_options


please enable the kernel conf in order nft can utilize its full potential, particularly since being dedicated to routers.

16.07.20192391KernelBug ReportVery LowHighmac80211: ath9k AP fails to honour client's power save ...TrunkUnconfirmed Task Description

Context:

I am using one device in AP mode, the other in client mode.
The client uses wpa_supplicant to do background scan to other channels that the data channel.
I am running iperf (UDP) from the AP to the client.

My device is home-made, Cavium development board-based, equipped with Compex WLE350NX.
It works correctly with kernel 3.18 and the 2015 wireless backport.
I updated to kernel 4.9 and the wireless backport 4.19.32-1, the last one from the trunk. (previously I used backport-2017-11-01 with the same result).

I am running wireshark with Airpcap to spy the wireless link.

Problem:

* When the client scans offchannel, it correctly sends nullfunc frames around the offchannel period, with the PM bit set then unset.

* However, during this time, the AP continues to send data to the client.

 

* This results in a lot of lost frames, though I set the powersave buffers to high values on the AP side.

After some research I saw that the same kind of problem was fixed several times(*), but since there where so many changes in the queue management, I cannot really compare his work and the current state of the driver.

Any idea / patch / research directions ?

(*) https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5519541d5a5f19893546883547e2f0f2e5934df7

16.08.20192445KernelBug ReportVery LowHighOmega2 reboot hangTrunkUnconfirmed Task Description

- Omega2
- OpenWRT 19.07 branch (and master earlier this year)
- Try rebooting, results in hang.

Old issue, which seems to still persist. See:
http://community.onion.io/topic/1254/omega2-reboot/3 https://patchwork.ozlabs.org/patch/713750/ https://github.com/lede-project/source/pull/620

29.09.20192523KernelBug ReportVery LowHighRB750 randomly reboots after kernel warningsopenwrt-19.07Unconfirmed Task Description

Mikrotik RB750Gr3
LuCI openwrt-19.07 branch (git-19.267.59428-7b36dae) / OpenWrt 19.07-SNAPSHOT r10532-cf3b50377e

Router randomly reboots (it may be stable for hours or can reboot in a minute after power up). Seems like kernel problem.

Here are some logs I managed to fetch before the reboots:

Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.010562] ------------[ cut here ]------------
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.015202] WARNING: CPU: 2 PID: 0 at net/ipv4/tcp_output.c:2509 0x803cc8bc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.022158] invalid inflight: 1 state 1 cwnd 10 mss 1388
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.027441] Modules linked in: qcserial pppoe ppp_async option cdc_mbim usb_wwan sierra_net sierra rndis_host qmi_wwan pppox ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cdc_ncm cdc_ether xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT wireguard usbserial usbnet usblp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.097872]  nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt cdc_wdm cdc_acm fuse ledtrig_usbport gpio_beeper input_core xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ehci_platform
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.169233]  sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common mii crc32c_generic
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.180291] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.143 #0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.186357] Stack : 00000000 00000000 00000000 81230398 00000000 00000000 00000000 00000000
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.194691]         00000000 00000000 00000000 00000000 00000000 00000001 8fc0dd30 ac07f596
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.203026]         8fc0ddc8 00000000 00000000 00004ea0 00000038 8049db58 00000007 00000000
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.211359]         00000000 80550000 0002c043 00000000 8fc0dd10 00000000 80570000 8050c6a0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.219690]         803cc8bc 000009cd 812303d8 81230398 00000000 802af9e8 00000008 805b0008
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.228022]         ...
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.230459] Call Trace:
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.230475] [<8049db58>] 0x8049db58
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.236372] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.239840] [<802af9e8>] 0x802af9e8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.243312] [<800101a0>] 0x800101a0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.246782] [<800101a8>] 0x800101a8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.250250] [<80486a9c>] 0x80486a9c
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.253722] [<800758a0>] 0x800758a0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.257243] [<80032588>] 0x80032588
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.260714] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.264185] [<80032610>] 0x80032610
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.267654] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.271126] [<803cf3d0>] 0x803cf3d0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.274596] [<8009d750>] 0x8009d750
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.278064] [<803cf7a8>] 0x803cf7a8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.281537] [<8009dd80>] 0x8009dd80
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.285007] [<803cf770>] 0x803cf770
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.288474] [<8008c2cc>] 0x8008c2cc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.291945] [<8008c588>] 0x8008c588
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.295413] [<8007cee8>] 0x8007cee8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.298883] [<804a49b8>] 0x804a49b8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.302357] [<80036f14>] 0x80036f14
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.305827] [<8025d440>] 0x8025d440
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.309296] [<8000b488>] 0x8000b488
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.312764]
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.314310] ---[ end trace a36c893f27b6a6f3 ]---
Sun Sep 29 18:56:25 2019 kern.alert kernel: [ 2442.525228] CPU 1 Unable to handle kernel paging request at virtual address 00000010, epc == 803be4a0, ra == 803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.535821] Oops[#1]:
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.538087] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W       4.14.143 #0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.545363] task: 8fc3be80 task.stack: 8fc5c000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.549869] $ 0   : 00000000 00000001 0000004a 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.555080] $ 4   : 8ea76f3c 00000001 0000d706 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.560290] $ 8   : 00034501 00000321 811d7440 00000322
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.565501] $12   : 8ea22180 8ea22180 8e9a8e00 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.570712] $16   : 8ea76e40 00001204 6375f4c6 ffffffff
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.575923] $20   : 00001204 00000001 00000000 00000002
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.581133] $24   : 00000000 8034b220
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.586344] $28   : 8fc5c000 8fc0bbb8 00000000 803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.591555] Hi    : 0000caa1
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.594419] Lo    : 47aec5c8
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.597285] epc   : 803be4a0 0x803be4a0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.601098] ra    : 803c4104 0x803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.604912] Status: 11007c03      KERNEL EXL IE
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.609082] Cause : 40800008 (ExcCode 02)
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.613066] BadVA : 00000010
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.615931] PrId  : 0001992f (MIPS 1004Kc)
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.620003] Modules linked in: qcserial pppoe ppp_async option cdc_mbim usb_wwan sierra_net sierra rndis_host qmi_wwan pppox ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cdc_ncm cdc_ether xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT wireguard usbserial usbnet usblp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.690391]  nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt cdc_wdm cdc_acm fuse ledtrig_usbport gpio_beeper input_core xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ehci_platform
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.761710]  sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common mii crc32c_generic
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.772740] Process swapper/1 (pid: 0, threadinfo=8fc5c000, task=8fc3be80, tls=00000000)
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.780788] Stack : 00000204 8034def4 8ea76e40 00000000 8ea76e40 8ea76e40 00001204 803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.789123]         8f346480 8056ba00 00000000 8015000a 00018bc3 8fc0bc74 00000004 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.797457]         80550000 8ea76f3c 00000002 00000001 91946e37 00000000 00000018 91946e37
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.805791]         00000000 91946e37 00000000 00000001 80570000 8050c458 00000000 00000002
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.814125]         00018bc3 00000018 8ee92564 8e9a0600 00000000 00000000 00000001 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.822457]         ...
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.824891] Call Trace:
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.824903] [<8034def4>] 0x8034def4
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.830852] [<803c4104>] 0x803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.834335] [<8015000a>] 0x8015000a
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.837825] [<803c4efc>] 0x803c4efc
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.841318] [<803c6f34>] 0x803c6f34
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.844788] [<803a98a0>] 0x803a98a0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.848313] [<803d1bc0>] 0x803d1bc0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.851802] [<803d2f18>] 0x803d2f18
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.855307] [<8e86426c>] 0x8e86426c [nf_conntrack_ipv4@8e864000+0x1420]
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.861893] [<803a9da0>] 0x803a9da0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.865406] [<803aa078>] 0x803aa078
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.868887] [<803a9940>] 0x803a9940
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.872360] [<803a9c10>] 0x803a9c10
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.402270] ------------[ cut here ]------------
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.406908] WARNING: CPU: 1 PID: 0 at net/ipv4/tcp_output.c:2509 0x803cc8bc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.413864] invalid inflight: 1 state 1 cwnd 10 mss 1388
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.419148] Modules linked in: qcserial pppoe ppp_async option cdc_mbim usb_wwan sierra_net sierra rndis_host qmi_wwan pppox ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cdc_ncm cdc_ether xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT wireguard usbserial usbnet usblp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.489628]  nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt cdc_wdm cdc_acm fuse ledtrig_usbport gpio_beeper input_core xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ehci_platform
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.561103]  sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common mii crc32c_generic
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.572189] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.143 #0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.578264] Stack : 00000000 00000000 00000000 81222398 00000000 00000000 00000000 00000000
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.586600]         00000000 00000000 00000000 00000000 00000000 00000001 8fc0bd30 ac07f596
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.594938]         8fc0bdc8 00000000 00000000 00004f18 00000038 8049db58 00000007 00000000
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.603273]         00000000 80550000 0008bb1d 00000000 8fc0bd10 00000000 80570000 8050c6a0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.611605]         803cc8bc 000009cd 812223d8 81222398 00000000 802af9e8 00000004 805b0004
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.619937]         ...
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.622376] Call Trace:
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.622394] [<8049db58>] 0x8049db58
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.628288] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.631755] [<802af9e8>] 0x802af9e8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.635228] [<800101a0>] 0x800101a0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.638699] [<800101a8>] 0x800101a8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.642170] [<80486a9c>] 0x80486a9c
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.645638] [<800758a0>] 0x800758a0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.649107] [<80032588>] 0x80032588
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.652580] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.656052] [<80032610>] 0x80032610
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.659528] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.663008] [<803cf3d0>] 0x803cf3d0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.666478] [<8009d750>] 0x8009d750
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.669947] [<803cf7a8>] 0x803cf7a8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.673420] [<8009dd80>] 0x8009dd80
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.676890] [<803cf770>] 0x803cf770
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.680358] [<8008c2cc>] 0x8008c2cc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.683829] [<80063018>] 0x80063018
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.687300] [<8008c588>] 0x8008c588
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.690768] [<8007cee8>] 0x8007cee8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.694244] [<804a49b8>] 0x804a49b8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.697717] [<80036f14>] 0x80036f14
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.701185] [<8025d440>] 0x8025d440
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.704662] [<8000b488>] 0x8000b488
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.708131]
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.709665] ---[ end trace 0dde230055179878 ]---
05.11.20192578KernelBug ReportVery LowHighrb532 via-rhine kernel crash when compiled with CONFIG_...TrunkUnconfirmed Task Description

- Device problem occurs on

rb532A, with two miniPCI Oxford Semiconductor Ltd OX16PCI954 modules installed

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

kernel 4.4.197

- Steps to reproduce

Software Configuration
- kernel compiled with CONFIG_VIA_RHINE_MMIO set to “Y”

Hardware Configuration
- two MiniPCI OX16PCI954 Quad UART installed
- one module installed on the router’s miniPCI slot
- one module installed on the daughter board’s miniPCI slot
- /dev/ttyS5 continuously bombarded by messages over the serial
- Eth0, Eth1, Eth1 are bridged
- Eth1 (via-rhine) is continuously bombarded by TFTP requests
- Eth0 executes minicom monitoring /dev/ttyS5

Tasks
minicom
in.tftpd

The machine looks working properly in the window time of some hours, but within 48 hours some weird things happened, and it crashed due to what seems memory corruption in kernel space.

Workaround

— .config 2019-10-28 20:02:02.000000000 +0100
+++ .config 2019-03-22 10:08:26.000000000 +0100
@@ -1105,7 +1105,7 @@
# CONFIG_NET_VENDOR_TOSHIBA is not set
CONFIG_NET_VENDOR_VIA=y
CONFIG_VIA_RHINE=y
-CONFIG_VIA_RHINE_MMIO=y
+# CONFIG_VIA_RHINE_MMIO is not set

Unsetting CONFIG_VIA_RHINE_MMIO solves the problem

more details here [1]

[1] http://www.downthebunker.com/reloaded/space/viewtopic.php?f=79&p=2842

18.11.20192614KernelBug ReportVery LowHighath10k 5 GHz connectivity issues for some client device...openwrt-19.07Researching Task Description

* - Device problem occurs on TP-Link Archer C2600.

* - Software version of OpenWrt 19.07-rc1 and older 19.07.

* - From the first version, which I tested after the release of 19.07, I have a problem with 5GHz radio / Wi-Fi. On two devices: LG OLED B8 55 “OTT and Cyfrowy Polsat STB OTT does not work internet. Both devices connect to the network, but do not have access to the Internet. In the connection diagnostics on the TV, the message pops up that it is a DNS error. On 2.4 GHz Wi-Fi everything is fine.

* - I have reverted to the 18.06 to fix the problem for now.


12.12.20192670KernelBug ReportVery LowHigh[ATH79] unstable USB on WR1043 v2openwrt-19.07Unconfirmed Task Description

Hi there!

I recently upgraded my TP-Link TL-WR1043 v2 device to the ath79 targeted 19.07-rc2 release using my custom build, which I have compiled with the image builder.

make image PROFILE=tplink_tl-wr1043nd-v2 PACKAGES="block-mount curl diffutils ethtool iperf3 iwinfo htop kmod-fs-ext4 kmod-usb-storage luci mailsend-nossl minidlna nfs-kernel-server ppp-mod-pppoe shadow-su transmission-daemon-mbedtls transmission-web vsftpd zram-swap -ip6tables -kmod-ip6tables -kmod-ipv6 -kmod-nf-conntrack6 -kmod-nf-ipt6 -libopenssl1.1 -odhcp6c -odhcpd-ipv6only -luci-proto-ipv6 -libip6tc2"

I just recently rolled back to an EXT4 partition, because of it's smaller memory footprint. (just mounting a ~50GB f2fs partition consumes around 10MBs of memory)
So in the very first attempt I wanted to copy back everything to my Transcend 790K. But after the first 500-1000 MBs(mix of archives, image, text and video files), the transaction speed has fallen down couple of times. I thought maybe the passive FTP connection was the problem, because after a few automatic reconnect attempts, the speed of the copy has been normalized again and in the end the device was connected. Later I found that the USB devices was reseted.
I had another try with a Sandisk Ultra Fit drive (SDCZ-43), but the result and the configuration was pretty sam. ~50GB EXT4 partition without journal and without barrier.
I force upgraded the machine to the ar71xx target and Filezilla so far copied back 16GBs without any problem.
Target ATH79 seem to be has so many problems with the USB subsystem, please see my other bugreport for the WDR4300 as well: FS#2567 - [ATH79] USB speed degradation on WDR4300.

Let me know if I can help the bughunting any way,
thanks and regards!

28.12.20192707KernelBug ReportVery LowHighmt7621/ath9k: unreliable AP with hardware encryptionTrunkUnconfirmed Task Description

Board: MikroTik Routerboard RBM33G (ramips/mt7621)
Interface: MikroTik R11e-2HPnD (ath9k/ar9582)
Tested versions: 18.06.5, snapshot

Some background: I’ve been using RB433AH & UBNT XR2 (ath5k) as home AP for many years. It was extremely reliable with OpenWRT, LEDE and OpenWRT once again. However, the 802.11g is not sufficient nowadays, so I decided to upgrade. I’ve acquired a RBM33G board and R11e-2HPnD module, but this setup is very unreliable for me.

The bug: At some point, the AP cannot receive (decrypt?) packets from a station, but the connection is still established.

Details:

  • It can happen on any active station connected to AP, but only one stalls at a given time (not all of them).
  • AP actually receives data from STA, as the RX byte counter increases, but the RX packet count is typically stuck at the same value. For example, several subsequent calls to `iw wlan0 station dump` show: rx bytes: 12121338 / 12127266 / 12141740, rx packets: 1282 / 1282 / 1282.
  • Driver discards the packets, as the replay counter greatly increases when this bug occurs. (e.g. /sys/kernel/debug/ieee80211/phy0/keys/3/replays: 484947)
  • There is nothing relevant in `dmesg` or `logread`.

Reproducibility:

  • It happens after several hours of a typical traffic.
  • I can trigger it manually much faster by passing high data throughput between clients (e.g. using iperf).

Configuration:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
        option htmode 'NOHT'
        option txpower '16'
        option disabled '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid '<SSID>'
        option encryption 'psk2+ccmp'
        option key '<KEY>'

Stations tested:

  • Dell Latitude E7440 with Intel Wireless 7260 (iwlwifi), running linux 5.4.6
  • Dell Latitude E7270 with Intel Wireless 8260 (iwlwifi), running linux 4.19.91
  • RB411U with DBII F20-PRO (ath5k, AR5414), running LEDE 17.01.4 (in WDS link)


What does NOT help:

  • Changing the basic configuration (SSID, key).
  • Disabling 802.11n.
  • Disabling WDS (both AP & STA).
  • Disabling SMP (nosmp kernel cmdline option).
  • Using another version of hostapd, i.e. wpad-mesh.
  • Changing miniPCIe slot on the RBM33G board.
  • Disabling CPU powersave in MikroTik bootloader.

Workarounds:

  • Disable the encryption at all, but that’s obviously not an option.
  • Disable hardware encryption with ath9k’s nohwcrypt=1 parameter.

This bug does not occur with software encryption, at least in 802.11g mode. In 802.11n mode, the throughput is limited to a little over 30 Mbps and there are frequent disconnects. Apparently, the CPU is not the limiting factor, as `top` reports usage of approximately 10%.

Unfortunately, this bug renders the AP unusable for me, because I need the best reliability.

I also tested this setup with different board and (so far) I cannot reproduce this bug on RW2458N (ar71xx) & R11e-2HPnD with OpenWRT 18.06.5.

12.01.20202730KernelBug ReportVery LowHighTL-WR841N v8 ath79 Link Unstableopenwrt-19.07New Task Description

Probably related to https://bugs.openwrt.org/index.php?do=details&task_id=2216 which was reported almost a year ago. The bug is still not fixed though.

Are there any plans to fix it or will 18.06 be the last stable version for this and probably other devices?

[8451.981464] eth1: link up (100Mbps/Full duplex)
[37071.909045] eth1: link down
[37072.988861] eth1: link up (100Mbps/Full duplex)
[48492.291332] eth1: link up (10Mbps/Half duplex)
[48632.691559] eth1: link up (100Mbps/Full duplex)
[55697.449886] eth1: link down
[55698.491082] eth1: link up (100Mbps/Full duplex)
[62395.095374] eth1: link up (10Mbps/Half duplex)
[62507.411488] eth1: link up (100Mbps/Full duplex)
[62726.853998] eth1: link up (10Mbps/Half duplex)
[62732.053093] eth1: link up (100Mbps/Full duplex)
[71071.460663] eth1: link down
[71072.618285] eth1: link up (100Mbps/Full duplex)
[73435.556373] eth1: link down
[73436.597169] eth1: link up (100Mbps/Full duplex)
[73547.879987] eth1: link up (10Mbps/Half duplex)
[73558.277169] eth1: link up (100Mbps/Full duplex)
[74438.121970] eth1: link down
[74439.162824] eth1: link up (100Mbps/Full duplex)
[75341.889076] eth1: link up (10Mbps/Half duplex)
[75352.290230] eth1: link up (100Mbps/Full duplex)
[76274.772404] eth1: link down
[76275.813134] eth1: link up (100Mbps/Full duplex)

05.02.20202814KernelBug ReportVery LowHighnetns cleanup_net race conditionTrunkUnconfirmed Task Description

I’m seeing this issue on master built for x86-64, it’s been happening since I started using this x86-64 machine around December.

[   73.300163] =============================================================================                                                                                                                                                                                   
[   73.309803] BUG kmalloc-32 (Not tainted): Object already free                                                                                                                                                                                                               
[   73.316694] -----------------------------------------------------------------------------                                                                                                                                                                                   
                                                                                                                                                                                                                                                                               
[   73.328675] Disabling lock debugging due to kernel taint                                                                                                                                                                                                                    
[   73.335167] INFO: Allocated in ops_init+0x6d/0x100 age=147 cpu=0 pid=11053                                                                                                                                                                                                  
[   73.343242] INFO: Freed in 0xffffffffa09c94ca age=36 cpu=2 pid=50                                                                                                                                                                                                           
[   73.350557] INFO: Slab 0x00000000ed33138b objects=36 used=11 fp=0x0000000017541cc8 flags=0xf700000000101                                                                                                                                                                    
[   73.361281] INFO: Object 0x0000000041bc5c4c @offset=1576 fp=0x000000007d23c440                                                                                                                                                                                              
                                                                                                                                                                                                                                                                               
[   73.372490] Redzone 000000008c59cd8b: bb bb bb bb bb bb bb bb                          ........                                                                                                                                                                             
[   73.382449] Object 0000000041bc5c4c: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk                                                                                                                                                                      
[   73.393029] Object 0000000073cabfc7: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b a5  kkkkkkkkkkkkkkk.                                                                                                                                                                      
[   73.403599] Redzone 000000009196639c: bb bb bb bb bb bb bb bb                          ........                                                                                                                                                                             
[   73.413574] Padding 000000009337e5e1: 5a 5a 5a 5a 5a 5a 5a 5a                          ZZZZZZZZ                                                                                                                                                                             
[   73.423549] CPU: 2 PID: 50 Comm: kworker/u16:1 Tainted: G    B             4.19.101 #0                                                                                                                                                                                      
[   73.432698] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z77 Pro4-M, BIOS P2.10 03/13/2018                                                                                                                                                                  
[   73.443617] Workqueue: netns cleanup_net                                                                                                                                                                                                                                    
[   73.448798] Call Trace:                                                                                                                                                                                                                                                     
[   73.452495]  dump_stack+0x57/0x7a                                                                                                                                                                                                                                           
[   73.457083]  print_trailer+0x203/0x210                                                                                                                                                                                                                                      
[   73.462068]  object_err+0x2f/0x36                                                                                                                                                                                                                                           
[   73.466613]  free_debug_processing.cold.107+0x2c/0x11f                                                                                                                                                                                                                      
[   73.472985]  ? ops_free_list.part.14+0x4d/0x60                                                                                                                                                                                                                              
[   73.478663]  __slab_free+0x1bd/0x330                                                                                                                                                                                                                                        
[   73.483482]  ? kmem_cache_free+0x1b5/0x1e0                                                                                                                                                                                                                                  
[   73.488778]  kfree+0x11c/0x140                                                                                                                                                                                                                                              
[   73.493009]  ops_free_list.part.14+0x4d/0x60                                                                                                                                                                                                                                
[   73.498460]  cleanup_net+0x1c4/0x280                                                                                                                                                                                                                                        
[   73.503215]  process_one_work+0x1a8/0x340                                                                                                                                                                                                                                   
[   73.508384]  worker_thread+0x2f/0x3a0                                                                                                                                                                                                                                       
[   73.513215]  kthread+0x10b/0x130                                                                                                                                                                                                                                            
[   73.517619]  ? process_one_work+0x340/0x340                                                                                                                                                                                                                                 
[   73.522967]  ? kthread_create_worker_on_cpu+0x60/0x60                                                                                                                                                                                                                       
[   73.529193]  ret_from_fork+0x35/0x40                                                                                                                                                                                                                                        
[   73.534067] FIX kmalloc-32: Object at 0x0000000041bc5c4c not freed                                                                                                                                                                                                          

There are old closed reports about it 2353 2354

I have tried with kernel 4.14 and with kernel 4.19 from the 19 branch and also removing the nf_conntrack_rtcache module, but the result is the same.

There are times that I see no BUG at all, others where I see it appear between 1 and several times. I use several docker containers and depending on the races, sometimes everything launches well and afterwards (if I don’t play with new docker instances) it is 100% stable whereas other times I have to reboot up to 3 or even 5 times for everything to work reliably.

dmesg with some race but working stable

partial dmesg which ends crashing, captured from another machine

22.02.20202849KernelBug ReportVery LowHighAR8327 can't work on hybid VLAN tagging mode.AllUnconfirmed Task Description

I have 2 vlan channel in family network for IPTV STB with VLAN 51 & 85. My router is WZR-HP-G302H which have the same hardware with WZR-HP-G300NH2.

With the default vlans1&2, I set the switch has 4 vlan channels:
vlan1 goes cpu(port0) tagged, lan(port1-4) untagged, wan(port5) off,
vlan2 goes cpu(port0) tagged, lan(port1-4) off, wan(port5) untagged,
vlan51(for multicast) goes cpu(port0) untagged, IPTV(port1) tagged, PC(port2-4) off, wan(port5) tagged,
vlan85(IPTV stream) goes cpu(port0) untagged, IPTV(port1) tagged, PC(port2-4) off, wan(port5) tagged.
And I use TTL to logon my IPTV STB, with ifconfig eth0&eht0.85, I can see the STB got both internet routing ip(192.168.2.x) & IPTV intranet ip(217.xxx.xxx.xxx), but when I’m trying to ping 192.168.2.1, it failed.
When I set wan(port5) with vlan51&85 off, the internet was back, and got acks from ping 192.168.1.1.
So I tried to replace wan to port1-4 ,IPTV port to port2-5 with all the possibility, it shows the same problem.

Then I try to use the route with AP mode:
vlan1 goes cpu(port0) tagged, lan(port1-5) untagged,
vlan51 goes cpu(port0) off, lan(port1-5) tagged,
vlan85 goes cpu(port0) off, lan(port1-5) tagged.
The STB still got 2 IPs , which 192.168.1.x & 217.xxx.xxx.xxx both offerd by Modem’s DHCP.
And the same problem appears: only port with both vlan51&85 turned off can got internet access, others not.

I tried firmwares openwrt-19.07.1-ath79-generic-buffalo_wzr-hp-g302h-a1a0-squashfs-sysupgrade.bin, openwrt-19.07.1-ar71xx-generic-wzr-hp-g300nh2-squashfs-sysupgrade.bin and openwrt-18.06.7-ar71xx-generic-wzr-hp-g300nh2-squashfs-sysupgrade, they shows the same problem while the port sets in hybird mode with vlan tagged & untagged.

So I have to seeks documents and troubleshoots for help. Finally I found the ticket:(https://dev.archive.openwrt.org/ticket/12181.html) told the same problem.
But the ticket is 5 yeas ago, and the ar8216.c no in 19.07.1 and 18.06.7 is definitely different, the “k”‘s path is no longer available with new ar8216.c, so I have to report the bug here again.
Is there any patch or a new fixed version of ar8216.c work with hybird mode which inculde tagged & untagged frame on the same port? Thank you very much.

07.03.20202888KernelBug ReportVery LowHighkomd-ipsec4 missing files in latest snapshotTrunkUnconfirmed Task Description

xfrm4_mode_tunnel ,xfrm4_mode_transport and xfrm4_mode_beet are missing in package kmod-ipsec4, it results strongswan failed to add SAD entry, and return netlink error.
It seems that it’s because of https://github.com/openwrt/openwrt/commit/1556ed155a9aff8636733d27076107b3354c4c3e

30.03.20202949KernelBug ReportVery LowHighWireless not working on bananapi proopenwrt-19.07Assigned Task Description

openwrt install on bananapi pro has no functioning wifi.
No wireless interface, no wireless option in ui, etc...

Supply the following if possible:
- Device problem occurs on: lemaker bananapi pro
- Software versions of OpenWrt/LEDE release, packages, etc. : openwrt-19.07.2 and also 18.06.8
- Steps to reproduce

 flash openwrt to sd card
 boot
 check interfaces via the UI or SSH

I’ve attached syslog & dmesg

suspicious lines:
[ 9.150351] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1
[ 9.159364] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43362-sdio.bin failed with error -2
[ 9.169181] brcmfmac mmc1:0001:1: Falling back to user helper
[ 9.222013] firmware brcm!brcmfmac43362-sdio.bin: firmware_loading_store: map pages failed

Might be relevant:
https://github.com/armbian/build/commit/1c3fde7d3b8f97a7acbd41d5513d73990e3c77e9 https://forum.armbian.com/topic/9341-brcmfmac-not-working-after-upgrade-to-armbian-570/

08.04.20202978KernelBug ReportVery LowHighmt7621 snapshot downloads lack of .ko file in kernel mo...TrunkUnconfirmed Task Description

There is no .ko file in kernel module package, such as
kmod-crypto-acompress_5.4.28-1_mipsel_24kc.ipk
kmod-crypto-aead_5.4.28-1_mipsel_24kc.ipk
kmod-crypto-deflate_5.4.28-1_mipsel_24kc.ipk
Previous downloads in late 2019 and current mt7620 downloads do include .ko file.

14.04.20203008KernelBug ReportVery LowHighGenesys Logic USB 3.0 hub not recognized by the systemAllUnconfirmed Task Description

Hi) I have a problem with Genesys Logic USB 3.0 hub (based on GL3523) on my Xiaomi MiR3G. The system don’t see this hub. Same on 4.14 & 4.19 kernel. Bought on AliExpress

Workaround: insert a half of the plug into router port → the system recognize USB 2.0 hub, then insert the plug to the end → the system recognize USB 2.0 & USB 3.0 hubs as it must be.
1. Normal connect hub → the log is empty.
2. Insert a half of the plug:

root@MI-R3G:~# lsusb -v

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            4.19
  iManufacturer           3 Linux 4.19.114 xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 1e1c0000.xhci
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           31
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
        bMaxBurst               0
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             1
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  bHubDecLat          0.0 micro seconds
  wHubDelay             0 nano seconds
  DeviceRemovable    0x00
 Hub Port Status:
   Port 1: 0000.02a0 5Gbps power Rx.Detect
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           15
  bNumDeviceCaps          1
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x0008
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   3
      Lowest fully-functional device speed is SuperSpeed (5Gbps)
    bU1DevExitLat           0 micro seconds
    bU2DevExitLat           0 micro seconds
Device Status:     0x0001
  Self Powered

Bus 001 Device 010: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0610 4-port hub
  bcdDevice            5.11
  iManufacturer           1 GenesysLogic
  iProduct                2 USB2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      1 Single TT
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2 TT per port
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x00e9
    Per-port power switching
    Per-port overcurrent protection
    TT think time 32 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.19
  iManufacturer           3 Linux 4.19.114 xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 1e1c0000.xhci
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0100 power
Device Status:     0x0001
  Self Powered

3. Insert the plug to the end:

root@MI-R3G:~# lsusb -v

Bus 001 Device 010: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0610 4-port hub
  bcdDevice            5.11
  iManufacturer           1 GenesysLogic
  iProduct                2 USB2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      1 Single TT
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2 TT per port
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x00e9
    Per-port power switching
    Per-port overcurrent protection
    TT think time 32 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.19
  iManufacturer           3 Linux 4.19.114 xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 1e1c0000.xhci
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 002 Device 006: ID 05e3:0620 Genesys Logic, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3
  bMaxPacketSize0         9
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0620
  bcdDevice            5.11
  iManufacturer           1 GenesysLogic
  iProduct                2 USB3.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           31
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              1 GenesysLogic
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes           19
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Feedback
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval               8
        bMaxBurst               0
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             4
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    576 milli Ampere
  bHubDecLat          0.4 micro seconds
  wHubDelay          1508 nano seconds
  DeviceRemovable    0x00
 Hub Port Status:
   Port 1: 0000.02a0 5Gbps power Rx.Detect
   Port 2: 0000.02a0 5Gbps power Rx.Detect
   Port 3: 0000.02a0 5Gbps power Rx.Detect
   Port 4: 0000.02a0 5Gbps power Rx.Detect
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           42
  bNumDeviceCaps          3
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000006
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat           8 micro seconds
    bU2DevExitLat         190 micro seconds
  Container ID Device Capability:
    bLength                20
    bDescriptorType        16
    bDevCapabilityType      4
    bReserved               0
    ContainerID             {f0564b9f-f61d-e011-ac64-0800200c9a66}
Device Status:     0x0001
  Self Powered

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            4.19
  iManufacturer           3 Linux 4.19.114 xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 1e1c0000.xhci
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           31
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
        bMaxBurst               0
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             1
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  bHubDecLat          0.0 micro seconds
  wHubDelay             0 nano seconds
  DeviceRemovable    0x00
 Hub Port Status:
   Port 1: 0000.0203 5Gbps power U0 enable connect
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           15
  bNumDeviceCaps          1
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x0008
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   3
      Lowest fully-functional device speed is SuperSpeed (5Gbps)
    bU1DevExitLat           0 micro seconds
    bU2DevExitLat           0 micro seconds
Device Status:     0x0001
  Self Powered

But after reboot the same: no hub at all.
Nope, the connector is normal, recognized correctly on PC & smartphone. So, this is kernel or driver bug.

22.04.20203038KernelBug ReportVery LowHighBuilding master for x86_64/generic fails with missing m...TrunkUnconfirmed Task Description

I’m building with the attached .config and kernel-config files on “master”, and getting the following failure:

make[3]: Entering directory ‘/home/philipp/lede2/package/kernel/linux’ mkdir -p /home/philipp/lede2/staging_dir/target-x86_64_musl/root-x86/stamp

SHELL= flock /home/philipp/lede2/tmp/.root-copy.flock -c ‘cp -fpR /home/philipp/lede2/build_dir/target-x86_64_musl/linux-x86_64/packages/.pkgdir/kernel/. /home/philipp/lede2/staging_dir/target-x86_64_musl/root-x86/’ touch /home/philipp/lede2/staging_dir/target-x86_64_musl/root-x86/stamp/.kernel_installed
ERROR: module ‘/home/philipp/lede2/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.34/net/ipv4/netfilter/nft_reject_ipv4.ko’ is missing.
modules/netfilter.mk:1068: recipe for target ‘/home/philipp/lede2/bin/targets/x86/64/packages/kmod-nft-core_5.4.34-1_x86_64.ipk’ failed
make[3]: * [/home/philipp/lede2/bin/targets/x86/64/packages/kmod-nft-core_5.4.34-1_x86_64.ipk] Error 1
make[3]: Leaving directory ‘/home/philipp/lede2/package/kernel/linux’ time: package/kernel/linux/compile#4.14#0.22#4.68
package/Makefile:111: recipe for target ‘package/kernel/linux/compile’ failed
make[2]:
* [package/kernel/linux/compile] Error 2
make[2]: Leaving directory ‘/home/philipp/lede2’ package/Makefile:107: recipe for target ‘/home/philipp/lede2/staging_dir/target-x86_64_musl/stamp/.package_compile’ failed
make[1]: * [/home/philipp/lede2/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory ‘/home/philipp/lede2’ /home/philipp/lede2/include/toplevel.mk:218: recipe for target ‘world’ failed
make:
* [world] Error 2

Looking through the sources, I see the module being copied, but I don’t see the requisite kernel configuration to force it to be built:

philipp@ubuntu16:~/lede2$ fgrep -i -r nft_reject_ipv4 Makefile rules.mk Config.in config include package target
include/netfilter.mk:$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_REJECT, $(P_XT)nft_reject $(P_V4)nft_reject_ipv4 $(P_V6)nft_reject_ipv6),))
philipp@ubuntu16:~/lede2$

I do see config state for nft_reject.ko however:

philipp@ubuntu16:~/lede2$ grep -i -r ‘nft_reject’ Makefile rules.mk Config.in config include package target
include/netfilter.mk:$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_REJECT, $(P_XT)nft_reject $(P_V4)nft_reject_ipv4 $(P_V6)nft_reject_ipv6),))
include/netfilter.mk:$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_REJECT_INET, $(P_XT)nft_reject_inet),))
include/netfilter.mk:$(eval $(if $(NF_KMOD),$(call nf_add,NFT_BRIDGE,CONFIG_NFT_BRIDGE_REJECT, $(P_EBT)nft_reject_bridge),))
philipp@ubuntu16:~/lede2$

and the synthesized .config in the kernel directory and the built modules are:

philipp@ubuntu16:~/lede2$ pushd build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.34/
~/lede2/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.34 ~/lede2
philipp@ubuntu16:~/lede2/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.34$ grep NFT_REJECT .config*
.config:CONFIG_NFT_REJECT=m
.config.old:CONFIG_NFT_REJECT=m
.config.old:CONFIG_NFT_REJECT_INET=m
.config.override:CONFIG_NFT_REJECT=m
.config.override:CONFIG_NFT_REJECT_INET=m
.config.prev:CONFIG_NFT_REJECT=m
.config.prev:CONFIG_NFT_REJECT_INET=m
.config.set:CONFIG_NFT_REJECT=m
.config.set:CONFIG_NFT_REJECT_INET=m
philipp@ubuntu16:~/lede2/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.34$ find net/netfilter net/ipv[46]/netfilter -name “nft_reject*.ko” -ls

4498742    120 -rw-r--r--   1 philipp  philipp    120808 Apr 22 12:21 net/netfilter/nft_reject.ko

philipp@ubuntu16:~/lede2/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.34$

When I build, I get prompted for the following kernel symbols:

Verify kernel signature during kexec_file_load() syscall (KEXEC_SIG) [N/y/?] (NEW)

Netfilter nf_tables support (NF_TABLES) [M/n/y/?] m
Netfilter nf_tables set infrastructure (NF_TABLES_SET) [M/n/?] m
Netfilter nf_tables mixed IPv4/IPv6 tables support (NF_TABLES_INET) [N/y/?] (NEW)

IPv4 nf_tables support (NF_TABLES_IPV4) [N/y/?] (NEW)

IPv6 nf_tables support (NF_TABLES_IPV6) [N/y/?] (NEW)

Detect Hung Tasks (DETECT_HUNG_TASK) [Y/n/?] y
Default timeout for hung task detection (in seconds) (DEFAULT_HUNG_TASK_TIMEOUT) [120] (NEW)
Panic (Reboot) On Hung Tasks (BOOTPARAM_HUNG_TASK_PANIC) [N/y/?] (NEW)

which makes me wonder if part of the default kernel config is incorrect... including symbols like CONFIG_NFT_REJECT_IPV4, etc.

26.04.20203049KernelBug ReportVery LowHighsunxi / lamobo-r1: switch not working with kernel 5.4TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Lamobo-R1 BananaPI Router

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

OpenWRT Snapshots (Imagebuilder) sometime after r12688-46d0ce19f1

- Steps to reproduce

Write any recent image to SD card, it boots but networking does not work.


Hello,

I’m doing regular updates with imagebuilder (about once per week) for Lamobo-R1. Some time after r12688-46d0ce19f1 the networking configuration broke.
I’m assuming the cause is kernel 5.4, because my last working image is from 2020-03-22 and it stopped working the week after, around 2020-03-29.

As far as I can tell the problem lies in the switch configuration: The switch is not found, the bootlog of kernel 5.4 contains no reference to “b53”.

  [    3.050660] init: - preinit -
  [    3.200152] sun7i-dwmac 1c50000.ethernet eth0: no phy at addr -1
  [    3.206288] sun7i-dwmac 1c50000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
  ifconfig: SIOCSIFFLAGS: No such device
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  [    4.358791] random: jshn: uninitialized urandom read (4 bytes read)
  [    4.388472] random: jshn: uninitialized urandom read (4 bytes read)
  [    4.431303] random: jshn: uninitialized urandom read (4 bytes read)
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  Failed to connect to the switch. Use the "list" command to see which switches are available.
  [    4.505287] sun7i-dwmac 1c50000.ethernet eth0: no phy at addr -1
  [    4.511309] sun7i-dwmac 1c50000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
  ip: SIOCSIFFLAGS: No such device
  Press the [f] key and hit [enter] to enter failsafe mode
  Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
  sendto(): Network unreachable
  sendto(): Network unreachable
  [    8.622199] mount_root: mounting /dev/root

I’m attaching screenlogs of both old and new kernel boot and the corresponding device tree files (taken from the sdcard).

Please advise, thank you.

08.05.20203073KernelBug ReportLowHighAR8337/AR8327 Flow Control Enabled on Archer C7 v5 (and...TrunkUnconfirmed Task Description

I have a TP-Link Archer C7 v5 (ath79/generic) running OpenWrt 19.07.2 r10947-65030d81f3 and periodically one of my hosts sends out a long-running flood (10/sec) of MPCP Pause frames. The AR8337 switch is configured to honor these frames on port 0 (CPU), and other ports, so stops switching frames essentially forever.

There is no way exposed to user to disable flow control.

Flow control should be turned off unless explicitly requested by the user (e.g., they are in a Datacenter/Enterprise environment and/or doing Fibre Channel over Ethernet). This is exactly the opposite of how it currently is with the added benefit that the user cannot change the behavior.

Here’s a tool that will helpfully generate MPCP Pause frames:
https://github.com/nwholloway/mpcp

You can use this to bring down your network indefinitely. Additionally, since the AR8337 switch consumes these frames you will not be able to see them from the OpenWRT host.

09.05.20203082KernelBug ReportVery LowHigh[nft|bpf] netdev packet logging not possible due to uns...AllUnconfirmed Task Description

nftables|bpf have access to netdev however with https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/generic/config-5.4;h=cdee4c973b2d6a642dadff38a95ec45b309c2dc2;hb=refs/heads/master#l3661

# CONFIG_NF_LOG_NETDEV is not set
 

it is not possible:

  • to debug nftables|bpf rules applied to netdev
  • to build nftables|bpf rules from packets logged on netdev

The kconf for 5.4 is just reference, the issue though is present in all branches.

upstream reference https://github.com/torvalds/linux/blob/v5.4/net/netfilter/Kconfig#L77

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
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.

 


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

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

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

18.06.20203190KernelBug ReportVery LowHighKernel Oops and reboot on ipq806x (EA8500): msm_read_ti...TrunkUnconfirmed Task Description

This happened on OpenWrt SNAPSHOT r13520-68b94f0fb4, but it’s pretty random. I haven’t been able to figure out what causes it. It usually happens at least once within a week. I’m not sure why there’s no call stack here, I also tried `cat /sys/kernel/debug/crashlog` a few hours after it happened and got a “No such file or directory”.

# uname -a
Linux EA8500S 5.4.43 #0 SMP Mon Jun 8 19:16:17 2020 armv7l GNU/Linux


[333045.256692] 8<--- cut here ---
[333045.256733] Unable to handle kernel NULL pointer dereference at virtual address 0000000a
[333045.258656] pgd = 8948efb0
[333045.267139] [0000000a] *pgd=00000000
[333045.269709] Internal error: Oops: 5 [#1] SMP ARM
[333045.273404] Modules linked in: nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet ath10k_pci ath10k_core ath nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_ct nft_counter nf_tables_set nf_tables nf_conntrack_netlink 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_NETMAP xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY ts_fsm ts_bm nfnetlink nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_rtsp nf_nat_pptp nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtsp nf_conntrack_rtcache
[333045.273734]  nf_conntrack_pptp nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conncount iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables compat asn1_decoder 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 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
[333045.343201]  ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat(C) crc32c_generic
[333045.452936] CPU: 0 PID: 10391 Comm: kworker/0:2 Tainted: G         C        5.4.43 #0
[333045.460735] Hardware name: Generic DT based system
[333045.468481] Workqueue: events dbs_work_handler
[333045.473245] PC is at msm_read_timer_count+0xc/0x18
[333045.477746] LR is at msm_read_current_timer+0x1c/0x28
[333045.482608] pc : [<c0733ea8>]    lr : [<c0733ee4>]    psr: a0000013
[333045.487814] sp : da0f1dc0  ip : 00000000  fp : dce52880
[333045.494327] r10: ddb8d010  r9 : dd648b40  r8 : 16e36000
[333045.499619] r7 : dd511240  r6 : 00000006  r5 : 00000001  r4 : c0c68ea0
[333045.504919] r3 : 00000006  r2 : 1fffa6f0  r1 : 20000013  r0 : c0c28428
[333045.511261] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
26.06.20203204KernelBug ReportVery LowHighmac80211 crashTrunkUnconfirmed Task Description

Netgear R7800 running hnyman’s build master-r13625-d4dea7efcd-20200624-ath10k

[104369.085841] ------------[ cut here ]------------
[104369.091780] WARNING: CPU: 0 PID: 0 at backports-5.7-rc3-1/net/mac80211/sta_info.c:1929 ieee80211_sta_update_pending_airtime+0x1f8/0x1fc [mac80211]
[104369.096329] STA f0:18:xxxxx AC 2 txq pending airtime underflow: 4294967244, 52
[104369.096332] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard slhc sch_cake nf_reject_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conncount iptable_raw iptable_nat iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey fuse 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
[104369.109593]  ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_NPT nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 ecb des_generic libdes arc4 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
[104369.256372] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G         C        5.4.48 #0
[104369.278522] Hardware name: Generic DT based system
[104369.286004] [<c030f954>] (unwind_backtrace) from [<c030b96c>] (show_stack+0x14/0x20)
[104369.290607] [<c030b96c>] (show_stack) from [<c08ba2e0>] (dump_stack+0x94/0xa8)
[104369.298594] [<c08ba2e0>] (dump_stack) from [<c031e7b4>] (__warn+0xb4/0xd0)
[104369.305702] [<c031e7b4>] (__warn) from [<c031e850>] (warn_slowpath_fmt+0x80/0x90)
[104369.312720] [<c031e850>] (warn_slowpath_fmt) from [<bf691af0>] (ieee80211_sta_update_pending_airtime+0x1f8/0x1fc [mac80211])
[104369.320482] [<bf691af0>] (ieee80211_sta_update_pending_airtime [mac80211]) from [<bf68d734>] (ieee80211_tx_monitor+0xe38/0x10c0 [mac80211])
[104369.331785] [<bf68d734>] (ieee80211_tx_monitor [mac80211]) from [<bf68da18>] (ieee80211_tx_status+0x5c/0x6c [mac80211])
[104369.344456] [<bf68da18>] (ieee80211_tx_status [mac80211]) from [<bf7588e4>] (ath10k_txrx_tx_unref+0x130/0x318 [ath10k_core])
[104369.355280] [<bf7588e4>] (ath10k_txrx_tx_unref [ath10k_core]) from [<bf755264>] (ath10k_htt_txrx_compl_task+0x7d0/0x1058 [ath10k_core])
[104369.366428] [<bf755264>] (ath10k_htt_txrx_compl_task [ath10k_core]) from [<bf7a3b3c>] (ath10k_pci_napi_poll+0x58/0x11c [ath10k_pci])
[104369.378748] [<bf7a3b3c>] (ath10k_pci_napi_poll [ath10k_pci]) from [<c0773a2c>] (net_rx_action+0x118/0x374)
[104369.390603] [<c0773a2c>] (net_rx_action) from [<c0302298>] (__do_softirq+0x130/0x2d4)
[104369.400148] [<c0302298>] (__do_softirq) from [<c0322c10>] (irq_exit+0xbc/0xe0)
[104369.408132] [<c0322c10>] (irq_exit) from [<c036d150>] (__handle_domain_irq+0x6c/0xd0)
[104369.415343] [<c036d150>] (__handle_domain_irq) from [<c05c6774>] (gic_handle_irq+0x5c/0xb8)
[104369.423324] [<c05c6774>] (gic_handle_irq) from [<c0301a8c>] (__irq_svc+0x6c/0x90)
[104369.431910] Exception stack(0xc0c01ee0 to 0xc0c01f28)
[104369.439303] 1ee0: 00000000 00005eec 1ce52000 dd991a00 dcc2d400 00000000 dd990df0 00005eec
[104369.444430] 1f00: 00005eec 00000000 524739a0 5244a280 00000015 c0c01f30 c0716b90 c0716b94
[104369.452661] 1f20: 20000013 ffffffff
[104369.460907] [<c0301a8c>] (__irq_svc) from [<c0716b94>] (cpuidle_enter_state+0x94/0x498)
[104369.464643] [<c0716b94>] (cpuidle_enter_state) from [<c0716fdc>] (cpuidle_enter+0x30/0x4c)
[104369.472716] [<c0716fdc>] (cpuidle_enter) from [<c034a7ec>] (do_idle+0x1d8/0x240)
[104369.480787] [<c034a7ec>] (do_idle) from [<c034aafc>] (cpu_startup_entry+0x1c/0x20)
[104369.488425] [<c034aafc>] (cpu_startup_entry) from [<c0b00e58>] (start_kernel+0x4d8/0x4e8)
[104369.495990] ---[ end trace 713bf4bd85eb5631 ]---
02.07.20203213KernelBug ReportVery LowHighLantiq-XRX200: Fritzbox 7360 SL PCie Link up failes! - ...TrunkUnconfirmed Task Description

On my Lantiq-XRX200 device Fritzbox 7360 SL, the WIFI PHy doesnt gets detected anymore. right after 1 second when booting the device. i get a kernel warning that the “PCIe PHY cant get detected and right after that 5 lines of
“PCIe phy_link_up timeout”

This happend in release of 19.07.x and trunk.

 

[ 0.864077] ifx_pcie_wait_phy_link_up timeout
[ 1.081343] ifx_pcie_wait_phy_link_up timeout
[ 1.298569] ifx_pcie_wait_phy_link_up timeout
[ 1.302795] pcie_rc_initialize link up failed!!!!!

12.07.20203226KernelBug ReportHighHighGL-AR300M: Frequent WAN (eth1) link down / link upopenwrt-19.07Assigned Task Description

Trying to find a solution for the issue with Wi-Fi on the latest stable release (19.07.3) installed a snapshot version if OpenWrt. I’m not sure if Wi-Fi issue is solved (difficult to test in the current situation) but there is another problem now which was not happening on the stable branch: WAN link (eth1) goes up and down all the time.

Details:
- Device: GL-AR300M
- OpenWrt Version: OpenWrt SNAPSHOT r13770-edbc8e5512 / LuCI Master git-20.190.40190-44b0fcb
- Kernel: Linux OpenWrt 5.4.50 #0 Fri Jul 10 09:39:05 2020 mips GNU/Linux
- OpenWrt snapshot downloaded from https://downloads.openwrt.org/snapshots/targets/ath79/nand/openwrt-ath79-nand-glinet_gl-ar300m-nor-squashfs-sysupgrade.bin

Configuration:
- WAN6: eth1, DHCPv6
- WAN: ds-lite (IPv4 over IPv6)
- LAN: eth0 + wlan0

How to reproduce:
1. Flash firmware
2. Install ds-lite and luci and reboot
3. Configure WAN as DS-LITE
4. Configure Wi-Fi
5. Connect to Wi-Fi and start using internet

Result: internet access disappears for short time frequently at random times

Relevant logs:

Sun Jul 12 13:14:37 2020 kern.info kernel: [  270.462928] eth1: link down
Sun Jul 12 13:14:37 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 13:14:37 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 13:14:37 2020 daemon.notice netifd: wan6 (1516): Command failed: Permission denied
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 13:14:38 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 13:14:38 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 13:14:38 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:14:40 2020 kern.info kernel: [  273.310452] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 13:14:40 2020 kern.info kernel: [  273.316609] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 13:14:40 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 13:14:40 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 13:14:40 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 13:14:40 2020 daemon.err odhcp6c[2092]: Failed to send RS (Address not available)
Sun Jul 12 13:14:41 2020 daemon.err odhcp6c[2092]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:14:42 2020 daemon.err odhcp6c[2092]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:14:44 2020 daemon.err odhcp6c[2092]: Failed to send RS (Address not available)
Sun Jul 12 13:14:44 2020 daemon.err odhcp6c[2092]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:14:48 2020 daemon.err odhcp6c[2092]: Failed to send RS (Address not available)
Sun Jul 12 13:14:49 2020 daemon.err odhcp6c[2092]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:15:00 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:15:00 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 13:15:00 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 13:15:09 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:15:09 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:15:12 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 13:15:12 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 13:15:13 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
--
Sun Jul 12 13:22:48 2020 kern.info kernel: [  761.753793] eth1: link down
Sun Jul 12 13:22:48 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 13:22:48 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 13:22:49 2020 daemon.notice netifd: wan6 (2092): Command failed: Permission denied
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 13:22:49 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 13:22:49 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 13:22:49 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:22:51 2020 kern.info kernel: [  764.027453] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 13:22:51 2020 kern.info kernel: [  764.033121] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 13:22:51 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 13:22:51 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 13:22:51 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 13:22:51 2020 daemon.err odhcp6c[2417]: Failed to send RS (Address not available)
Sun Jul 12 13:22:51 2020 daemon.err odhcp6c[2417]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:22:52 2020 daemon.err odhcp6c[2417]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:22:54 2020 daemon.err odhcp6c[2417]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:22:55 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Address not available)
Sun Jul 12 13:22:55 2020 daemon.err odhcp6c[2417]: Failed to send RS (Address not available)
Sun Jul 12 13:22:59 2020 daemon.err odhcp6c[2417]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:22:59 2020 daemon.err odhcp6c[2417]: Failed to send RS (Address not available)
Sun Jul 12 13:23:10 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:23:10 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 13:23:10 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 13:23:10 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 13:23:10 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 13:23:11 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
Sun Jul 12 13:23:14 2020 kern.warn kernel: [  786.791642] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:23:14 2020 kern.warn kernel: [  786.805226] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:23:14 2020 kern.warn kernel: [  787.614693] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:23:14 2020 kern.warn kernel: [  787.646373] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:23:15 2020 kern.warn kernel: [  788.144143] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:23:15 2020 kern.warn kernel: [  788.432037] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:23:15 2020 kern.warn kernel: [  788.485928] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:57:08 2020 kern.info kernel: [ 2821.238040] eth1: link down
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 13:57:08 2020 daemon.notice netifd: wan6 (2417): Command failed: Permission denied
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 13:57:08 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 13:57:08 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 13:57:08 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:57:09 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:57:10 2020 kern.info kernel: [ 2823.511539] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 13:57:10 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 13:57:10 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 13:57:10 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 13:57:10 2020 kern.info kernel: [ 2823.516453] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 13:57:10 2020 daemon.err odhcp6c[2733]: Failed to send RS (Address not available)
Sun Jul 12 13:57:11 2020 daemon.err odhcp6c[2733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:57:12 2020 daemon.err odhcp6c[2733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:57:14 2020 daemon.err odhcp6c[2733]: Failed to send RS (Address not available)
Sun Jul 12 13:57:14 2020 daemon.err odhcp6c[2733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:57:18 2020 daemon.err odhcp6c[2733]: Failed to send RS (Address not available)
Sun Jul 12 13:57:19 2020 daemon.err odhcp6c[2733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:57:29 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:57:29 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 13:57:30 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 13:57:30 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 13:57:30 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 13:57:30 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
Sun Jul 12 13:57:31 2020 kern.warn kernel: [ 2844.695917] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:57:34 2020 kern.warn kernel: [ 2847.142196] ip6_tunnel: ds-wan xmit: Local address not yet configured!
--
Sun Jul 12 14:18:30 2020 kern.info kernel: [ 4103.506462] eth1: link down
Sun Jul 12 14:18:30 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 14:18:30 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 14:18:30 2020 daemon.notice netifd: wan6 (2733): Command failed: Permission denied
Sun Jul 12 14:18:30 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 14:18:30 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 14:18:30 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 14:18:30 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 14:18:30 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 14:18:30 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 14:18:30 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 14:18:31 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:18:31 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:18:31 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:18:33 2020 kern.info kernel: [ 4105.782348] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 14:18:33 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 14:18:33 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 14:18:33 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 14:18:33 2020 kern.info kernel: [ 4105.787321] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 14:18:33 2020 daemon.err odhcp6c[3024]: Failed to send RS (Address not available)
Sun Jul 12 14:18:33 2020 daemon.err odhcp6c[3024]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:18:34 2020 daemon.err odhcp6c[3024]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:18:36 2020 daemon.err odhcp6c[3024]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:18:37 2020 daemon.err odhcp6c[3024]: Failed to send RS (Address not available)
Sun Jul 12 14:18:40 2020 daemon.err odhcp6c[3024]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:18:41 2020 daemon.err odhcp6c[3024]: Failed to send RS (Address not available)
Sun Jul 12 14:18:51 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:18:51 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 14:18:52 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 14:18:52 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 14:18:52 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 14:18:52 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
Sun Jul 12 14:18:54 2020 kern.warn kernel: [ 4127.330490] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:54 2020 kern.warn kernel: [ 4127.712988] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:55 2020 kern.warn kernel: [ 4128.223311] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:56 2020 kern.warn kernel: [ 4129.508799] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:56 2020 kern.warn kernel: [ 4129.515926] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:56 2020 kern.warn kernel: [ 4129.538444] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:56 2020 kern.warn kernel: [ 4129.757929] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:57 2020 kern.warn kernel: [ 4129.970986] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:57 2020 kern.warn kernel: [ 4130.402844] ip6_tunnel: ds-wan xmit: Local address not yet configured!
--
Sun Jul 12 14:20:33 2020 kern.info kernel: [ 4226.612658] eth1: link down
Sun Jul 12 14:20:33 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 14:20:33 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 14:20:33 2020 daemon.notice netifd: wan6 (3024): Command failed: Permission denied
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 14:20:34 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 14:20:34 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 14:20:34 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:20:36 2020 kern.info kernel: [ 4229.236067] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 14:20:36 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 14:20:36 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 14:20:36 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 14:20:36 2020 kern.info kernel: [ 4229.241354] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 14:20:36 2020 daemon.err odhcp6c[3245]: Failed to send RS (Address not available)
Sun Jul 12 14:20:36 2020 daemon.err odhcp6c[3245]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:20:37 2020 daemon.err odhcp6c[3245]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:20:39 2020 daemon.err odhcp6c[3245]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:20:40 2020 daemon.err odhcp6c[3245]: Failed to send RS (Address not available)
Sun Jul 12 14:20:44 2020 daemon.err odhcp6c[3245]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:20:44 2020 daemon.err odhcp6c[3245]: Failed to send RS (Address not available)
Sun Jul 12 14:20:53 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:20:53 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 14:20:54 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 14:20:54 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 14:20:54 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 14:20:54 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
Sun Jul 12 14:20:56 2020 kern.warn kernel: [ 4249.285153] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:20:57 2020 kern.warn kernel: [ 4250.564523] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:21:02 2020 kern.warn kernel: [ 4254.919989] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:24:41 2020 user.notice : Added device handler type: 8021ad
Sun Jul 12 14:24:41 2020 user.notice : Added device handler type: 8021q
Sun Jul 12 14:24:41 2020 user.notice : Added device handler type: macvlan
Sun Jul 12 14:24:41 2020 user.notice : Added device handler type: veth
Sun Jul 12 14:24:41 2020 user.notice : Added device handler type: bridge
Sun Jul 12 14:24:41 2020 user.notice : Added device handler type: Network device
--
Sun Jul 12 14:37:34 2020 kern.info kernel: [ 5247.087682] eth1: link down
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 14:37:34 2020 daemon.notice netifd: wan6 (3245): Command failed: Permission denied
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 14:37:34 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 14:37:34 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 14:37:34 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:37:36 2020 kern.info kernel: [ 5249.361066] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 14:37:36 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 14:37:36 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 14:37:36 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 14:37:36 2020 kern.info kernel: [ 5249.366018] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 14:37:36 2020 daemon.err odhcp6c[3511]: Failed to send RS (Address not available)
Sun Jul 12 14:37:36 2020 daemon.err odhcp6c[3511]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:37:37 2020 daemon.err odhcp6c[3511]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:37:39 2020 daemon.err odhcp6c[3511]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:37:40 2020 daemon.err odhcp6c[3511]: Failed to send RS (Address not available)
Sun Jul 12 14:37:43 2020 daemon.err odhcp6c[3511]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:37:44 2020 daemon.err odhcp6c[3511]: Failed to send RS (Address not available)
Sun Jul 12 14:37:54 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:37:54 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 14:37:55 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 14:37:55 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 14:37:55 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 14:37:55 2020 kern.warn kernel: [ 5268.215807] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:55 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
Sun Jul 12 14:37:56 2020 kern.warn kernel: [ 5269.078951] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:57 2020 kern.warn kernel: [ 5269.943691] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:58 2020 kern.warn kernel: [ 5270.806820] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:58 2020 kern.warn kernel: [ 5271.348972] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:58 2020 kern.warn kernel: [ 5271.355927] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:58 2020 kern.warn kernel: [ 5271.381185] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:58 2020 kern.warn kernel: [ 5271.598729] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:58 2020 kern.warn kernel: [ 5271.669228] ip6_tunnel: ds-wan xmit: Local address not yet configured!
--
Sun Jul 12 14:39:24 2020 kern.info kernel: [ 5356.878986] eth1: link down
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 14:39:24 2020 daemon.notice netifd: wan6 (3511): Command failed: Permission denied
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 14:39:24 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 14:39:24 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 14:39:24 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:39:26 2020 kern.info kernel: [ 5359.154924] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 14:39:26 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 14:39:26 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 14:39:26 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 14:39:26 2020 kern.info kernel: [ 5359.159890] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 14:39:26 2020 daemon.err odhcp6c[3733]: Failed to send RS (Address not available)
Sun Jul 12 14:39:26 2020 daemon.err odhcp6c[3733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:39:27 2020 daemon.err odhcp6c[3733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:39:29 2020 daemon.err odhcp6c[3733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:39:30 2020 daemon.err odhcp6c[3733]: Failed to send RS (Address not available)
Sun Jul 12 14:39:34 2020 daemon.err odhcp6c[3733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:39:34 2020 daemon.err odhcp6c[3733]: Failed to send RS (Address not available)
Sun Jul 12 14:39:46 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:39:46 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 14:39:46 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 14:39:47 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 14:39:47 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 14:39:47 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
Sun Jul 12 14:39:47 2020 kern.warn kernel: [ 5380.385444] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:47 2020 kern.warn kernel: [ 5380.616741] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:49 2020 kern.warn kernel: [ 5382.216640] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:53 2020 kern.warn kernel: [ 5386.389067] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:53 2020 kern.warn kernel: [ 5386.396239] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:53 2020 kern.warn kernel: [ 5386.403340] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:56 2020 kern.warn kernel: [ 5389.002663] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:56 2020 kern.warn kernel: [ 5389.257410] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:56 2020 kern.warn kernel: [ 5389.314287] ip6_tunnel: ds-wan xmit: Local address not yet configured!


23.07.20203244KernelBug ReportVery LowHighath9k_htc: Kernel oops in snapshot on RaspberryPi 4 (at...TrunkUnconfirmed Task Description

- Device: Raspberry Pi4
- Snapshot kernel 5.4 with 5.7 backport
- Install ath9k_htc dongle and connect WiFi client

So, I have been able to tackle down who is causing a kernel panic and reboot of my RPi4 with current snapshots.

It is the ath9k_htc dongle I use but only if there are clients connected to it
Apparently it corrupts memory so the kernel panic look quite different among them, here two caputer with serial:

```
[75789.085223] Unable to handle kernel access to user memory outside uaccess routines at virtual address 0000000000000008
[75789.095930] Mem abort info:
[75789.098716] ESR = 0×96000045 [75789.101763] EC = 0×25: DABT (current EL), IL = 32 bits
[75789.107068] SET = 0, FnV = 0
[75789.110113] EA = 0, S1PTW = 0
[75789.113246] Data abort info:
[75789.116118] ISV = 0, ISS = 0×00000045 [75789.119945] CM = 0, WnR = 1
[75789.122906] user pgtable: 4k pages, 39-bit VAs, pgdp=00000000f6f67000
[75789.129339] [0000000000000008] pgd=0000000000000000, pud=0000000000000000
[75789.136124] Internal error: Oops: 96000045 [#1] SMP
[75789.140994] Modules linked in: ath9k_htc ath9k_common xt_connlimit rt2800usb rt2800lib rt2500usb pppoe ppp_async nf_conncount iptable_nat brcmfmac ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT rtl8812au rt2x00usb rt2x00lib pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack mt76x2u mt76x2e mt76x2_common mt76x02_usb mt76x02_lib mt7603e mt7601u mt76_usb mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wireguard usbhid slhc sch_cake nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables hid_generic crc_ccitt compat brcmutil sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic
[75789.141074] act_skbedit act_mirred snd_bcm2835(C) hid evdev 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 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 nat46 ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun snd_rawmidi snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_mixer_oss snd_hwdep snd_compress snd soundcore nls_utf8 md5 vfat fat nls_iso8859_1 nls_cp437
[75789.289825] CPU: 3 PID: 721 Comm: hostapd Tainted: G C 5.4.51 #0
[75789.297125] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT)
[75789.302950] pstate: 20400085 (nzCv daIf +PAN -UAO)
[75789.307739] pc : skb_try_recv_from_queue+0×164/0x1a0
[75789.312869] lr :
skb_try_recv_datagram+0xb0/0x1a8
[75789.317737] sp : ffffffc011553aa0
[75789.321041] x29: ffffffc011553aa0 x28: ffffffc011553bbc
[75789.326344] x27: 0000000000000000 x26: ffffff80f2ccb8d0
[75789.331646] x25: 0000000000000000 x24: ffffffc011553b90
[75789.336949] x23: 0000000000000000 x22: 0000000000000000
[75789.342251] x21: ffffffc011553bbc x20: 0000000000000000
[75789.347553] x19: ffffff80f1e51000 x18: 0000000000000000
[75789.352855] x17: 0000000000000000 x16: 0000000000000000
[75789.358157] x15: 0000000000000000 x14: 0000000000000000
[75789.363459] x13: 0000000000000000 x12: 0000000000000000
[75789.368762] x11: 0000000000000000 x10: 00000055b6805320
[75789.374064] x9 : ffffff80f5090800 x8 : 0000000000000040
[75789.379366] x7 : ffffffc01056a890 x6 : ffffffc011553b90
[75789.384668] x5 : ffffffc011553b4c x4 : ffffffc011553bbc
[75789.389970] x3 : 0000000000000000 x2 : 0000000000000000
[75789.395272] x1 : ffffff80f2ccb8d0 x0 : ffffff80f2ccb800
[75789.400575] Call trace:
[75789.403014] skb_try_recv_from_queue+0×164/0x1a0
[75789.407796]
skb_try_recv_datagram+0xb0/0x1a8
[75789.412318] skb_recv_datagram+0×84/0xa8
[75789.416405] skb_recv_datagram+0×28/0×30 [75789.420320] netlink_recvmsg+0×48/0×330 [75789.424147] sock_recvmsg+0x1c/0×28 [75789.427626]
sys_recvmsg+0×84/0x3e8
[75789.431452]
_sys_recvmsg+0×64/0×88 [75789.435107] sys_recvmsg+0×40/0×80 [75789.438673] arm64_sys_recvmsg+0×20/0×28 [75789.442762] el0_svc_handler+0xd4/0×130 [75789.446588] el0_svc+0×8/0xc
[75789.449464] Code: 51000442 b9001022 a9400662 a9007e7f (f9000441)
[75789.455549] —[ end trace 49dce345634ad00c ]— [75789.460156] Kernel panic - not syncing: Fatal exception
[75789.465373] SMP: stopping secondary CPUs
[75789.469289] Kernel Offset: disabled
[75789.472768] CPU features: 0×0002,20006000
[75789.476766] Memory Limit: none
[75789.479813] Rebooting in 3 seconds..
```

```
[22276.297087] Unable to handle kernel access to user memory with fs=KERNEL_DS at virtual address 000000000000004c
[22276.307207] Mem abort info:
[22276.309997] ESR = 0×96000005 [22276.313075] EC = 0×25: DABT (current EL), IL = 32 bits
[22276.318389] SET = 0, FnV = 0
[22276.321436] EA = 0, S1PTW = 0
[22276.324575] Data abort info:
[22276.327453] ISV = 0, ISS = 0×00000005 [22276.331287] CM = 0, WnR = 0
[22276.334255] user pgtable: 4k pages, 39-bit VAs, pgdp=00000000f1f36000
[22276.340696] [000000000000004c] pgd=00000000f40b0003, pud=00000000f40b0003, pmd=0000000000000000
[22276.349401] Internal error: Oops: 96000005 [#1] SMP
[22276.354272] Modules linked in: ath9k_htc ath9k_common xt_connlimit rt2800usb rt2800lib rt2500usb pppoe ppp_async nf_conncount iptable_nat brcmfmac ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT rtl8812au rt2x00usb rt2x00lib pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack mt76x2u mt76x2e mt76x2_common mt76x02_usb mt76x02_lib mt7603e mt7601u mt76_usb mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wireguard usbhid slhc sch_cake nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables hid_generic crc_ccitt compat brcmutil sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic
[22276.354354] act_skbedit act_mirred snd_bcm2835(C) hid evdev 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 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 nat46 ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun snd_rawmidi snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_mixer_oss snd_hwdep snd_compress snd soundcore nls_utf8 md5 vfat fat nls_iso8859_1 nls_cp437
[22276.503133] CPU: 2 PID: 1883 Comm: sh Tainted: G C 5.4.51 #0
[22276.510088] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT)
[22276.515916] pstate: 60400005 (nZCv daif +PAN -UAO)
[22276.520710] pc : vfs_read+0xc/0×158 [22276.524192] lr : kernel_read+0×40/0×88 [22276.527933] sp : ffffffc016943c80
[22276.531240] x29: ffffffc016943c80 x28: 0000000000000000
[22276.536546] x27: 0000000000000002 x26: ffffffc01080bf60
[22276.541853] x25: ffffff80f50d8c80 x24: ffffffc010960cd8
[22276.547158] x23: 00000000fffffff8 x22: ffffff80f52d8438
[22276.552463] x21: ffffff80f52d8400 x20: 0000007fffffffff
[22276.557769] x19: ffffff80f2c68000 x18: 0000000000000000
[22276.563074] x17: 0000000000000000 x16: 0000000000000000
[22276.568379] x15: 00000000008a4000 x14: 0000000000000001
[22276.573684] x13: 0000000000000b90 x12: 0000000000000b90
[22276.578989] x11: 0000000000474470 x10: 0000000000474470
[22276.584295] x9 : 0000000000064470 x8 : 000000046474e552
[22276.589600] x7 : 0000000000000000 x6 : 0000000000000000
[22276.594906] x5 : 0000000000000000 x4 : 0000000000000020
[22276.600211] x3 : ffffffc016943da8 x2 : 000000000000001a
[22276.605516] x1 : ffffff80f50d8c80 x0 : 0000000000000008
[22276.610821] Call trace:
[22276.613263] vfs_read+0xc/0×158 [22276.616397] kernel_read+0×40/0×88 [22276.619795] load_elf_binary+0xf4/0xd08
[22276.623624] search_binary_handler.part.55+0xac/0×278 [22276.628669] do_execve_file+0x4c4/0x6a8
[22276.632671]
arm64_sys_execve+0×38/0×48 [22276.636676] el0_svc_handler+0xd4/0×130 [22276.640505] el0_svc+0×8/0xc
[22276.643386] Code: d503201f a9bc7bfd 910003fd a90363f7 (b9404404)
[22276.649475] —[ end trace 081a8415f22be558 ]— [22276.654086] Kernel panic - not syncing: Fatal exception
[22276.659307] SMP: stopping secondary CPUs
[22276.663223] Kernel Offset: disabled
[22276.666705] CPU features: 0×0002,20006000
[22276.670706] Memory Limit: none
[22276.673756] Rebooting in 3 seconds..
```

I have tried two different RPi4 hardware and two different SD cards. No other devices are connected to the USB ports,ath9k_htc dongle is connected to USB 2.0 port.

With 19.07.x on a Orangepi PC2 device, the same dongle behaved correctly

 


30.07.20203260KernelBug ReportVery LowHighreduced upload speeds with enabled LAN 'flow control rx...TrunkUnconfirmed Task Description

Device: WRT-1200AC
Openwrt Version: SNAPSHOT r13982-e9f7923a1d
Kernel: 5.4.x, tried also 5.4.53

Problem/Bug:
If i keep the default ‘flow control rx/tx’ setting enabled for any LAN port, my upload speeds drop from my max 38 Mbit/s to 10 Mbit/s. Same happens if i put a unmanaged switch behind the router, that has RX/TX enabled and any device behind the switch than gets the reduced 10 Mbit/s upload speeds. The download speeds are unaffected, only the upload speed drops.

Steps to reproduce:
Just disable/enable ‘flow control’ on the client side for any LAN port. This bug happens independent of client OS/Network card used. Just enable/disable “Flow Control” in the Win10 adapter property page, than do some upload tests.

mv88e6085 f1072004.mdio-mii:00 lan1: Link is Up - 1Gbps/Full - flow control rx/tx

vs

mv88e6085 f1072004.mdio-mii:00 lan1: Link is Up - 1Gbps/Full - flow control off

PS: This worked fine before and i think started with the 5.4.x kernels on mvebu.

06.08.20203273KernelBug ReportVery LowHighVLAN isolation failed on ipq40xx (GL-B1300)TrunkUnconfirmed Task Description

ipq40xx GL-B1300 OpenWrt snapshot

It seems that recent snapshots broke vlan isolation, I guess https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=9da2b567605b0964d921b9ca4f0c9886db4f636d should be responsible.

More information on https://forum.openwrt.org/t/vlan-isolation-failed-on-ipq40xx-gl-b1300

06.08.20203274KernelBug ReportVery LowHighAn error is reported at each start-up phaseAllUnconfirmed Task Description

1.Error log:
[ 63.368179] i915 0000:00:02.0: Failed to load DMC firmware i915/glk_dmc_ver1_04.bin. Disabling runtime power management.
[ 63.379745] i915 0000:00:02.0: DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915

2.Problem:Sometimes the power is suddenly cut off and the machine crashes

3.System information:
Intel(R) Celeron(R) J4105 CPU @ 1.50GHz : 4 Core 4 Thread
OpenWrt R20.7.20 / LuCI Master (git-20.191.45716-b73d3a4)

4.I tried to use the graphics driver to the kernel.The mistake did not disappear.In addition, I swiped in the latest firmware compiled by others.The problem remains
I tried to upgrade the kernel to 5.4.56, which did not solve the problem.Please help me

30.08.2016126KernelBug ReportVery LowMediumkernel panic on brcm47xx (netgear wgt634u) when routing...TrunkUnconfirmed Task Description

With LEDE version reboot-1444-g1bb914d, when pulling data through the WAN interface to the LAN interface at a sufficiently high speed, e.g. on a Raspberry Pi connected by ethernet to a LAN port, and the WAN interface connected to a gigabit internet service and issuing a command like:

curl https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.7.2.tar.xz > /dev/null

From the pi, I see something like:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  9 86.2M    9 7977k    0     0  1834k      0  0:00:48  0:00:04  0:00:44 1835k[  352.295252] smsc95xx 1-1.1:1.0 eth0: link down
  9 86.2M    9 7977k    0     0  1255k      0  0:01:10  0:00:06  0:01:04 1155k[  353.959380] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
  9 86.2M    9 7977k    0     0  43292      0  0:34:48  0:03:08  0:31:40     0

or

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  8 86.2M    8 7440k    0     0  1478k      0  0:00:59  0:00:05  0:00:54 1478k[ 1100.164849] smsc95xx 1-1.1:1.0 eth0: link down
  8 86.2M    8 7440k    0     0  1232k      0  0:01:11  0:00:06  0:01:05 1300k[ 1101.836954] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
  8 86.2M    8 7440k    0     0   740k      0  0:01:59  0:00:10  0:01:49     0

Where the “link down” is the WGT634U panic’ing and rebooting. The panic on the WGT634U looks like this:

[  171.966841] CPU 0 Unable to handle kernel paging request at virtual address 008224d8, epc == 80077ecc, ra == 801d8100
[  171.977700] Oops[#1]:
[  171.980093] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.1.20 #0
[  171.986265] task: 8181e008 ti: 8182a000 task.ti: 8182a000
[  171.991711] $ 0   : 00000000 1000b800 008224d8 b41c479b
[  171.997140] $ 4   : 008224d8 00010000 80361ef8 00000000
[  172.002557] $ 8   : 81018b14 8101da14 00100100 dceb27b8
[  172.007983] $12   : ffffffff 00000001 ffffff80 000042c6
[  172.013400] $16   : b41c479b 00000001 81b450a8 81b7d260
[  172.018817] $20   : 803b5dcc 00000002 00000008 0000000a
[  172.024235] $24   : 00000000 80072b24                  
[  172.029653] $28   : 8182a000 8182bdb8 00000100 801d8100
[  172.035083] Hi    : 00000000
[  172.038026] Lo    : 0000006c
[  172.041036] epc   : 80077ecc put_compound_page+0x78/0x240
[  172.046547] ra    : 801d8100 skb_release_data+0xa8/0x10c
[  172.051920] Status: 1000b803 KERNEL EXL IE 
[  172.056254] Cause : 00800008
[  172.059194] BadVA : 008224d8
[  172.062144] PrId  : 00029007 (Broadcom BMIPS3300)
[  172.066891] Modules linked in: pppoe ppp_async iptable_nat ath5k ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common ssb_hcd
[  172.132913] Process ksoftirqd/0 (pid: 3, threadinfo=8182a000, task=8181e008, tls=00000000)
[  172.141213] Stack : 1000b803 00000000 0000006c b41c479b 81b45080 801d8100 00000000 0000012c
          00000001 801e7d60 81becb60 81b7d260 81b7d260 80335b3c 81bece60 801d818c
          80360000 803623e0 81becb60 80335b3c 803623e0 801e63d8 8182be10 8182be10
          00000001 00000002 803b5dd0 00000001 803b5dd4 00000003 803b0000 80024fec
          81841048 80361100 819bb770 80007664 80364510 8181e008 80362898 04208040
          ...
[  172.178058] Call Trace:
[  172.180640] [<80077ecc>] put_compound_page+0x78/0x240
[  172.185822] [<801d8100>] skb_release_data+0xa8/0x10c
[  172.190895] [<801d818c>] __kfree_skb+0x28/0xb4
[  172.195466] [<801e63d8>] net_tx_action+0xd8/0x140
[  172.200329] [<80024fec>] __do_softirq+0x184/0x2b0
[  172.205184] [<80025140>] run_ksoftirqd+0x28/0x80
[  172.209953] [<8003bae0>] smpboot_thread_fn+0x148/0x178
[  172.215246] [<80039390>] kthread+0xdc/0xe8
[  172.219459] [<800010a8>] ret_from_kernel_thread+0x14/0x1c
[  172.224921] 
[  172.226470] 
Code: 30840001  0204100a  00402021 <8c420000> 000211c2  30420001  10400018  00000000  8e020000 
[  172.237022] ---[ end trace 89a3318b662df6d8 ]---
[  172.250536] Kernel panic - not syncing: Fatal exception in interrupt
[  172.262338] Rebooting in 3 seconds..

or

[ 1317.958261] Unhandled kernel unaligned access[#1]:
[ 1317.963173] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.1.20 #0
[ 1317.969349] task: 8181e008 ti: 8182a000 task.ti: 8182a000
[ 1317.974795] $ 0   : 00000000 1000b801 00000001 00200000
[ 1317.980232] $ 4   : 647b394a 00010000 00018da4 00000000
[ 1317.985658] $ 8   : 8181e040 b1e1b104 00000017 40000000
[ 1317.991085] $12   : 500018dd 00000000 00000000 010102f2
[ 1317.996510] $16   : 80e4d1e0 00000001 80e4d208 81acb0e0
[ 1318.001936] $20   : 803b5dcc 00000002 00000008 0000000a
[ 1318.007362] $24   : 00000010 8001ead0                  
[ 1318.012789] $28   : 8182a000 8182bdd0 00000100 801d8100
[ 1318.018220] Hi    : 00000001
[ 1318.021160] Lo    : 00000001
[ 1318.024169] epc   : 80078474 put_page+0x0/0x4c
[ 1318.028732] ra    : 801d8100 skb_release_data+0xa8/0x10c
[ 1318.034104] Status: 1000b803 KERNEL EXL IE 
[ 1318.038439] Cause : 00800010
[ 1318.041380] BadVA : 647b394a
[ 1318.044330] PrId  : 00029007 (Broadcom BMIPS3300)
[ 1318.049076] Modules linked in: pppoe ppp_async iptable_nat ath5k ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common ssb_hcd
[ 1318.115124] Process ksoftirqd/0 (pid: 3, threadinfo=8182a000, task=8181e008, tls=00000000)
[ 1318.123424] Stack : 00000000 80c60c94 00db35c0 626a006e ff330000 81acb0e0 81acb0e0 80335b3c
          80c28260 801d818c 80360000 8004f368 00000018 0000000a 803623e0 801e63d8
          8182be10 8182be10 80361100 00000002 803b5dd0 00000001 803b5dd4 00000013
          803b0000 80024fec 80364510 80361100 80360000 8000736c 80364510 8181e008
          80362898 04208040 00018da4 80360000 80310000 803b5dcc 803615a0 803114f4
          ...
[ 1318.160295] Call Trace:
[ 1318.162885] [<80078474>] put_page+0x0/0x4c
[ 1318.167108] [<801d8100>] skb_release_data+0xa8/0x10c
[ 1318.172182] [<801d818c>] __kfree_skb+0x28/0xb4
[ 1318.176752] [<801e63d8>] net_tx_action+0xd8/0x140
[ 1318.181614] [<80024fec>] __do_softirq+0x184/0x2b0
[ 1318.186471] [<80025140>] run_ksoftirqd+0x28/0x80
[ 1318.191238] [<8003bae0>] smpboot_thread_fn+0x148/0x178
[ 1318.196530] [<80039390>] kthread+0xdc/0xe8
[ 1318.200744] [<800010a8>] ret_from_kernel_thread+0x14/0x1c
[ 1318.206200] 
[ 1318.207747] 
Code: 00003021  0801e0ce  24a57888 <8c820000> 3042c000  10400003  00801821  0801df95  00000000 
[ 1318.218397] ---[ end trace 2502a626803fb4b9 ]---
[ 1318.231740] Kernel panic - not syncing: Fatal exception in interrupt
[ 1318.243362] Rebooting in 3 seconds..

This looks similar to: https://dev.openwrt.org/ticket/11091

12.02.2017503KernelBuild FailureVery LowMediumBuild fails with CONFIG_KERNEL_GIT_CLONE_URI beig setAllAssigned Task Description

When specifying

CONFIG_KERNEL_GIT_CLONE_URI

a clean build fails, as the system assumes a already downloaded/cloned/packed linux-source is present in dl/ which on a freshly checked out openwrt/lede source isn’t the case yet, when

toolchain/kernel-headers

is about to be built.

The build error looks like:

make[3]: Entering directory `/build/lede.git/toolchain/kernel-headers'
zcat /build/lede.git/dl/linux-4.4.42.tar.gz | tar -C /build/lede.git/build_dir/toolchain-arm_cortex-a9+neon_gcc-6.3.0_glibc-2.24_eabi -xf -
gzip: /build/lede.git/dl/linux-4.4.42.tar.gz: No such file or directory
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

The issue apparently is located in

include/kernel-defaults.mk

, line 53ff::

  ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
    define Kernel/Prepare/Default
        zcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
        $(Kernel/Patch)
        $(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
    endef
  else
    define Kernel/Prepare/Default
        zcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
    endef
  endif

For the package

kernel-headers

it just tries to access the not-yet downloaded/cloned/packed linux kernel source archive.

14.06.2017845KernelBug ReportVery LowMediumMT7628 : wrong data reading the I2C busAllUnconfirmed Task Description

Hi,

I’ve already talked to blogic about this issue. He asked me to perform some tests on the platform even back to openwrt CC.

The bug in question occurs with the MT7628 chip and the I2C bus (WRTNode 2p board).
Configuring the pinmux and enabling the driver, the kernel correctly sees the i2c bus. But then going to use the “i2cdetect” command from i2c-tools package has a surprising result: devices are actually sees devices that are not connected.

Curious about the problem I connected my DSO and I did the probe of the SDA and SCL pins. Data and clock seem to be transferred correctly. So the problem seems to be in the “reading”.

According to the i2c specification if SDA is pull-low and you do an i2cdetect the system should identify in the bus an ACK for each slave address, this does does not happen and the same list appear again.

Turning back to different versions this still happens, unfortunately I have not been able to test every single commit.
The test I’ve made:

  • Openwrt CC the device was not supported.
  • Openwrt first commit of the device support: the i2c bus was not recognized by the driver.
  • Openwrt trunk, the i2c bus is not registered
  • LEDE 12.01 the problem as described above.
  • LEDE HEAD: the problem as described above.
  • LEDE HEAD 4.9 (kernel): The problem as described above.

i2cdetect result (same result with SDA pulled low) .config wrtnode2p.dts

Regards,
hitech95

16.07.2017910KernelBug ReportVery LowMediumRaspberry Pi 3 keeps attempting to change CPU frequency...TrunkUnconfirmed Task Description

I recently updated a Raspberry Pi 3 to a recent LEDE git master build: Reboot (SNAPSHOT, r4576-9fe9175)

The kernel keeps logging the following errors:

[  103.041158] bcm2835-cpufreq:bcm2835_cpufreq_set_clock:84: Failed to set clock: 600000 (-12)
[  103.044492] bcm2835-cpufreq:bcm2835_cpufreq_driver_target_index:183: Error occurred setting a new frequency (600000)
[  103.047857] cpufreq: __target_index: Failed to change cpu frequency: -22
[  103.401167] bcm2835-cpufreq:bcm2835_cpufreq_set_clock:84: Failed to set clock: 600000 (-12)
[  103.404517] bcm2835-cpufreq:bcm2835_cpufreq_driver_target_index:183: Error occurred setting a new frequency (600000)
[  103.407890] cpufreq: __target_index: Failed to change cpu frequency: -22
[  103.761155] bcm2835-cpufreq:bcm2835_cpufreq_set_clock:84: Failed to set clock: 600000 (-12)
[  103.764491] bcm2835-cpufreq:bcm2835_cpufreq_driver_target_index:183: Error occurred setting a new frequency (600000)
[  103.767870] cpufreq: __target_index: Failed to change cpu frequency: -22

I am seeing ~10ms latency spikes for traffic through the device and I believe these errors are the reason. If I force the scheduler to only run the CPU at its maximum speed with the command below then then errors cease and the latency spikes disappear:

# echo 1200000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq

I looked into the kernel sources and the messages above appear to be saying that there was an error when asking the Pi firmware to change the CPU speed.

I know there is a HW quirk in the RPi3 which means the UART is effected by the CPU speed. I wonder whether this has anything to do with the firmware rejecting the speed change:
https://github.com/RPi-Distro/repo/issues/22

25.10.20171113KernelBug ReportVery LowMediumUnknown symbol zlib_inflateAllUnconfirmed Task Description

I’ve experienced a strange issue with zlib_inflate on x84_64 system.
There is no zlib_inflate-related symbols at /proc/kallsyms and modules like btrfs couldn’t be loaded.

17.01 branch and the current master branch, both are affected.

Steps to reproduce:
1. Use attached config file (zlib_inflate-test-config). It’s almost default but I’ve set CONFIG_PACKAGE_kmod-fs-btrfs=y and some other options.
2. Compile LEDE:

make defconfig && make -j $(nproc)

3. Run qemu:

qemu-system-x86_64 -curses -kernel bin/targets/x86/64/lede-x86-64-ramfs.bzImage

4. Try to load btrfs module:

root@LEDE:/# modprobe btrfs
[   23.345891] btrfs: Unknown symbol zlib_inflateInit2 (err 0)
[   23.347096] btrfs: Unknown symbol zlib_inflate (err 0)
[   23.347673] btrfs: Unknown symbol zlib_inflate_workspacesize (err 0)
[   23.348293] btrfs: Unknown symbol zlib_inflateEnd (err 0)

It’s not btrfs related but any module with zlib_inflate in it’s dependency list.

05.11.20171149KernelBug ReportVery LowMediumAR934X built-in switch link up/downTrunkUnconfirmed Task Description

Router : TP-LINK TL-WNR42N
revision : snapshot r5049

eth1 is connected to built-in switch
when PC connected to build-in switch reboots or shuts down link on router goes down for 1..5 seconds then goes up again

[60901.826180] eth1: link down
[60901.829869] br-lan: port 1(eth1) entered disabled state
[60903.330951] eth1: link up (1000Mbps/Full duplex)
[60903.335981] br-lan: port 1(eth1) entered forwarding state
[60903.341694] br-lan: port 1(eth1) entered forwarding state
[60905.345126] br-lan: port 1(eth1) entered forwarding state

I suspect it should not happen. ethernet device should not react to change of link state on particular switch ports

04.02.20181326KernelBug ReportVery LowMediumKernel crashTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
Archer C7 v2

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

OpenWrt SNAPSHOT r5994-fd30187c87 / LuCI Master (git-18.031.70145-518ac52)

Feb 3rd 2018 snapshot.

- Steps to reproduce

 

install snapshot, let it run, normal usage, connect disconnect etc.

info from kernel log:

[14458.634926] ath10k_pci 0000:01:00.0: failed to delete peer c4:b3:01:8f:ef:62 for vdev 0: -145
[14458.643587] ath10k_pci 0000:01:00.0: found sta peer c4:b3:01:8f:ef:62 (ptr 86958c00 id 27) entry on vdev 0 after it was supposedly removed
[14458.656870] ————[ cut here ]———— [14458.661686] WARNING: CPU: 0 PID: 13630 at backports-2017-11-01/net/mac80211/sta_info.c:1001 sta_set_sinfo+0×930/0x9d8 [mac80211]
[14458.673453] Modules linked in: xt_tcpmss xt_statistic xt_recent xt_length xt_hl xt_helper xt_ecn xt_dscp xt_connmark xt_connlimit xt_connbytes xt_HL xt_DSCP xt_CLASSIFY ipt_ECN sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ifb ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink 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_CT slhc nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle
[14458.745995] iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage sd_mod scsi_mod ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[14458.775167] CPU: 0 PID: 13630 Comm: hostapd Not tainted 4.9.77 #0
[14458.781337] Stack : 804f765a 00000035 00000000 00000001 87c2f614 80489347 80439b58 0000353e
[14458.789882] 804f37a0 000003e9 00000000 00000000 00000000 800a9934 8043f378 80480000
[14458.798426] 00000003 000003e9 8043d53c 86b5fb0c 00000000 800d847c 804f765a 00000074
[14458.806971] 00000000 8022ef00 00000000 00000000 00000000 00000000 00000000 00000000
[14458.815516] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[14458.824051] ...
[14458.826552] Call Trace:
[14458.829043] [<8006b2c8>] show_stack+0×54/0×88 [14458.833482] [<8007ff40>] warn+0xe4/0×118 [14458.837657] [<80080008>] warn_slowpath_null+0x1c/0×34 [14458.842880] [<87706fd8>] sta_set_sinfo+0×930/0x9d8 [mac80211]
[14458.848830] [<87704940>] sta_info_get_bss+0×18/0×68 [mac80211]
[14458.854870] [<87707160>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[14458.861694] [<8764e3d0>] cfg80211_check_station_change+0x21cc/0×3848 [cfg80211]
[14458.869154] —[ end trace e47c69f6c533b83e ]— [14461.914797] ath10k_pci 0000:01:00.0: failed to wait for created wmi peer c4:b3:01:8f:ef:62 on vdev 0: -145
[14461.924661] ath10k_pci 0000:01:00.0: failed to add peer c4:b3:01:8f:ef:62 for vdev 0 when adding a new sta: -145
[14746.711911] ath10k_pci 0000:01:00.0: failed to install key for vdev 0 peer 2c:0e:3d:12:09:95: -11
[14746.720962] wlan0: failed to remove key (0, 2c:0e:3d:12:09:95) from hardware (-11)
[14746.753467] ath10k_pci 0000:01:00.0: cipher 0 is not supported
[14746.759445] ath10k_pci 0000:01:00.0: failed to remove peer wep key 0: -122
[14746.766463] ath10k_pci 0000:01:00.0: failed to clear all peer wep keys for vdev 0: -122
[14746.774607] ath10k_pci 0000:01:00.0: failed to disassociate station: 2c:0e:3d:12:09:95 vdev 0: -122
[14746.783787] ————[ cut here ]———— [14746.788602] WARNING: CPU: 0 PID: 13630 at backports-2017-11-01/net/mac80211/sta_info.c:993 sta_set_sinfo+0x8e0/0x9d8 [mac80211]
[14746.800249] Modules linked in: xt_tcpmss xt_statistic xt_recent xt_length xt_hl xt_helper xt_ecn xt_dscp xt_connmark xt_connlimit xt_connbytes xt_HL xt_DSCP xt_CLASSIFY ipt_ECN sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ifb ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink 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_CT slhc nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle
[14746.872787] iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage sd_mod scsi_mod ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[14746.901958] CPU: 0 PID: 13630 Comm: hostapd Tainted: G W 4.9.77 #0
[14746.909370] Stack : 804f765a 00000043 00000000 00000001 87c2f614 80489347 80439b58 0000353e
[14746.917913] 804f37a0 000003e1 00000000 00000000 00000000 800a9934 8043f378 80480000
[14746.926458] 00000003 000003e1 8043d53c 86b5fb0c 00000000 800d847c 804f765a 00000073
[14746.935002] 8049ae60 8022ef00 00000000 00000000 00000000 00000000 00000000 00000000
[14746.943547] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[14746.952092] ...
[14746.954583] Call Trace:
[14746.957064] [<8006b2c8>] show_stack+0×54/0×88 [14746.961495] [<8007ff40>]
warn+0xe4/0×118 [14746.965666] [<80080008>] warn_slowpath_null+0x1c/0×34 [14746.970889] [<87706f88>] sta_set_sinfo+0x8e0/0x9d8 [mac80211]
[14746.976845] [<87704940>] sta_info_get_bss+0×18/0×68 [mac80211]
[14746.982873] [<87707160>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[14746.989699] [<8764e3d0>] cfg80211_check_station_change+0x21cc/0×3848 [cfg80211]
[14746.997160] —[ end trace e47c69f6c533b83f ]— [14750.071885] ath10k_pci 0000:01:00.0: failed to delete peer 2c:0e:3d:12:09:95 for vdev 0: -11
[14750.080493] ath10k_pci 0000:01:00.0: found sta peer 2c:0e:3d:12:09:95 (ptr 86115e00 id 57) entry on vdev 0 after it was supposedly removed
[14753.111859] ath10k_pci 0000:01:00.0: failed to set beacon mode for vdev 0: -11
[14756.151812] ath10k_pci 0000:01:00.0: failed to set dtim period for vdev 0: -11
[14759.191795] ath10k_pci 0000:01:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[14762.231753] ath10k_pci 0000:01:00.0: failed to set cts protection for vdev 0: -11
[14765.271707] ath10k_pci 0000:01:00.0: failed to set preamble for vdev 0: -11
[88965.620794] ath10k_pci 0000:01:00.0: failed to install key for vdev 0 peer a4:2b:b0:df:39:70: -11
[88965.630032] wlan0: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-11)
[111930.445474] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111933.485423] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111937.165444] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111940.205359] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111947.165313] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111950.205384] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111957.165174] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111960.205293] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111964.685124] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111967.725111] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111974.525032] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111977.565030] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111984.524945] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111987.564913] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111994.524853] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111997.564835] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[112004.524759] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[112007.564726] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request

13.03.20181429KernelBug ReportVery LowMediumOpenWrt kernel is missing support for hardware rtc devi...TrunkUnconfirmed Task Description

It seams that sometime in the past support for hardware rtc devices was removed from kernel:
https://patches.linaro.org/patch/1235/

But this is quite important feature to a lot of people who are building iot devices or just want their routers to have correct time even when they are offline and some time without power.

Manually enabling rtc support and using rtc device like sparkfun ds1307 hardware clock works as expected.

Here are steps I used to get rtc support enabled in latest OpenWrt git code:
http://kernelreloaded.com/adding-rtc-to-openwrt-devices-part-2/

Please consider enabling rtc support again kernel and make rtc kernel modules available as packages.

26.04.20181517KernelBug ReportVery LowMediumkernel error: CPU: 2 PID: 27318 at lib/iov_iter.c:695 c...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: MT 7621 - ZBT 3526)
- Software versions: Model ZBT-WG3526 (16M)
- Firmware Version: TRUNK - OpenWrt SNAPSHOT r6755-d089a5d / LuCI Master (git-18.113.52925-0c30ee0)
- Kernel Version 4.14.34

- Steps to reproduce
after a while i get: kernel errors and affterwards reboot needed.

Thu Apr 26 12:59:00 2018 kern.warn kernel: [69277.917386] ------------[ cut here ]------------
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69277.922064] WARNING: CPU: 2 PID: 27318 at lib/iov_iter.c:695 copy_page_to_iter+0xc4/0x508
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69277.930339] Modules linked in: pppoe ppp_async option usb_wwan pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY usbserial usb_storage ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.001388]  nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda macvlan iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat br_netfilter fuse sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.072898]  ip6table_mangle ip6table_filter ip6_tables x_tables ip_gre gre ifb ip_tunnel tun vfat fat f2fs ext4 jbd2 mbcache nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic ecb crc32c_generic crc32_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.105236] CPU: 2 PID: 27318 Comm: cat Not tainted 4.14.34 #0
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.111065] Stack : 00000000 00000000 00000000 00000000 805f7ada 00000032 00000000 00000000
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.119416]         8f0ac1f4 80590927 8051cabc 00000002 00006ab6 00000001 8dca3be8 b3f6da0b
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.127750]         00000000 00000000 805f0000 00008808 00000000 00000199 00000008 00000000
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.136087]         00000000 80590000 00019b14 00000000 80000000 00000000 805b0000 80229950
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.144432]         00000009 000002b7 00000000 8dca3db0 00000001 802911d0 00000008 805f0008
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.152779]         ...
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.155227] Call Trace:
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.157698] [<80010498>] show_stack+0x58/0x100
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.162148] [<8045f24c>] dump_stack+0x9c/0xe0
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.166501] [<8002e1d8>] __warn+0xe0/0x114
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.170581] [<8002e29c>] warn_slowpath_null+0x1c/0x30
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.175621] [<80229950>] copy_page_to_iter+0xc4/0x508
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.180656] [<800dc5c8>] shmem_file_read_iter+0x2c0/0x3c0
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.186080] [<8013f3c0>] generic_file_splice_read+0xec/0x170
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.191721] [<8013f69c>] splice_direct_to_actor+0xc8/0x234
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.197187] [<8013f8a0>] do_splice_direct+0x98/0xd0
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.202061] [<8010b664>] do_sendfile+0x284/0x478
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.206683] [<8010e628>] SyS_sendfile64+0x84/0xd8
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.211399] [<80019578>] syscall_common+0x34/0x58
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.216566] ---[ end trace b0a90f34a85fa703 ]---
03.05.20181530KernelBug ReportVery LowMediumr6755: tl-841n-v8 problems: ath: phy0: DMA failed to st...TrunkUnconfirmed Task Description

revision: trunk - r6755-d089a5d773
hardware: tp-link 841n-v8
build-configs:
https://github.com/weimarnetz/firmware/blob/master/configs/ar71xx_tiny.config https://github.com/weimarnetz/firmware/blob/master/configs/common.config

Started to see these errors in crash-reports - seems to happen multiple times per day.

crashlog fh461-TP-Link TL-WR841N/ND v8
beta-113-g9c709a2+openwrt-r6755-d089a5d773
Linux fh461 4.9.91 #0 Mon Apr 23 20:07:22 2018 mips GNU/Linux
69:24:7d:f0:91:12:fa:32:92:55:08:69:f3:4a:27:09:d4:4a:f9:05
TP-Link TL-WR841N/ND v8
Time: 1525266772.173517
Modules:	ath9k@80ee0000+15db0	ath9k_common@80e34000+2a80	ath9k_hw@80f00000+51020	ath@80e38000+41c0	mac80211@80e80000+5faa0	iptable_nat@80e31000+2c0	ipt_REJECT@80ce2000+360	ipt_MASQUERADE@80d85000+260	cfg80211@80e00000+30d50	xt_time@80da3000+620	xt_tcpudp@80da1000+680	xt_state@80d9e000+280	xt_nat@80da2000+440	xt_multiport@80da0000+480	xt_mark@80d9d000+260	xt_mac@80d9a000+240	xt_limit@80d98000+3c0	xt_conntrack@80d95000+860	xt_comment@80d87000+1c0	xt_TCPMSS@80d90000+a40	xt_REDIRECT@80d84000+260	xt_LOG@80d80000+2c0	nf_reject_ipv4@80ce8000+7a0	nf_nat_redirect@80ceb000+360	nf_nat_masquerade_ipv4@80cfc000+4f0	nf_conntrack_ipv4@80d82000+1240	nf_nat_ipv4@80ce0000+c50	nf_nat@80ce4000+2010	nf_log_ipv4@80d13000+c20	nf_defrag_ipv4@80d1a000+2c0	nf_conntrack_rtcache@80d1b000+960	nf_conntrack@80cf0000+b2c0	iptable_mangle@80d0e000+380	iptable_filter@80d10000+2a0	ip_tables@80d14000+2490	compat@80cda000+1260	ip6t_REJECT@80d07000+380	nf_reject_ipv6@80cd9000+840	nf_log_ipv6@80d05000+cc0	nf_log_common@80d0c000+840	ip6table_mangle@80cdf000+460	ip6table_filter@80d35000+260	ip6_tables@80d08000+2400	x_tables@80cdc000+2b30	tun@80d00000+4360	gpio_button_hotplug@80c8c000+11c0
<5>[    0.000000] Linux version 4.9.91 (buildbot@weimarnetz) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6556-d7ca4c6d3e) ) #0 Mon Apr 23 20:07:22 2018
<7>[    0.000000] MyLoader: sysp=8b8b81ac, boardp=96e34c72, parts=b298aa77
<6>[    0.000000] bootconsole [early0] enabled
<6>[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
<6>[    0.000000] SoC: Atheros AR9341 rev 1
<6>[    0.000000] Determined physical RAM map:
<6>[    0.000000]  memory: 02000000 @ 00000000 (usable)
<6>[    0.000000] Initrd not found or empty - disabling initrd
<4>[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
<4>[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
<6>[    0.000000] Zone ranges:
<6>[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
<6>[    0.000000] Movable zone start for each node
<6>[    0.000000] Early memory node ranges
<6>[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
<6>[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
<7>[    0.000000] On node 0 totalpages: 8192
<7>[    0.000000] free_area_init_node: node 0, pgdat 803ec8b4, node_mem_map 81000020
<7>[    0.000000]   Normal zone: 64 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
<7>[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>[    0.000000] pcpu-alloc: [0] 0
<6>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
<5>[    0.000000] Kernel command line:  board=TL-WR841N-v8  console=ttyS0,115200 rootfstype=squashfs noinitrd
<6>[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
<6>[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    0.000000] Writing ErrCtl register=00000000
<6>[    0.000000] Readback ErrCtl register=00000000
<6>[    0.000000] Memory: 27984K/32768K available (3153K kernel code, 150K rwdata, 332K rodata, 196K init, 212K bss, 4784K reserved, 0K cma-reserved)
<6>[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>[    0.000000] NR_IRQS:51
<6>[    0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
<6>[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7144898866 ns
<6>[    0.000011] sched_clock: 32 bits at 267MHz, resolution 3ns, wraps every 8027976190ns
<6>[    0.008248] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
<6>[    0.091064] pid_max: default: 32768 minimum: 301
<6>[    0.096058] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.103051] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.113506] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
<6>[    0.123919] futex hash table entries: 256 (order: -1, 3072 bytes)
<6>[    0.131034] NET: Registered protocol family 16
<6>[    0.137451] MIPS: machine is TP-LINK TL-WR841N/ND v8
<4>[    0.618054] Can't analyze schedule() prologue at 80370e68
<6>[    0.635480] clocksource: Switched to clocksource MIPS
<6>[    0.642102] NET: Registered protocol family 2
<6>[    0.647714] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.655078] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.661846] TCP: Hash tables configured (established 1024 bind 1024)
<6>[    0.668662] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.674834] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.681773] NET: Registered protocol family 1
<7>[    0.686454] PCI: CLS 0 bytes, default 32
<4>[    0.691104] Crashlog allocated RAM at address 0x1f00000
<6>[    0.698114] workingset: timestamp_bits=30 max_order=13 bucket_order=0
<6>[    0.712737] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[    0.718933] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
<6>[    0.739073] io scheduler noop registered
<6>[    0.743211] io scheduler deadline registered (default)
<6>[    0.749106] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
<6>[    0.756351] console [ttyS0] disabled
<6>[    0.780246] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
<6>[    0.789368] console [ttyS0] enabled
<6>[    0.796935] bootconsole [early0] disabled
<4>[    0.809405] m25p80 spi0.0: found s25sl032p, expected m25p80
<6>[    0.815183] m25p80 spi0.0: s25sl032p (4096 Kbytes)
<5>[    0.821115] 5 tp-link partitions found on MTD device spi0.0
<5>[    0.826931] Creating 5 MTD partitions on "spi0.0":
<5>[    0.831893] 0x000000000000-0x000000020000 : "u-boot"
<5>[    0.838748] 0x000000020000-0x00000015107c : "kernel"
<5>[    0.845853] 0x00000015107c-0x0000003f0000 : "rootfs"
<5>[    0.852824] mtd: device 2 (rootfs) set to be root filesystem
<5>[    0.858792] 1 squashfs-split partitions found on MTD device rootfs
<5>[    0.865191] 0x000000390000-0x0000003f0000 : "rootfs_data"
<5>[    0.872684] 0x0000003f0000-0x000000400000 : "art"
<5>[    0.879534] 0x000000020000-0x0000003f0000 : "firmware"
<6>[    0.887904] libphy: Fixed MDIO Bus: probed
<6>[    0.911041] libphy: ag71xx_mdio: probed
<6>[    1.537571] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
<6>[    1.547876] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
<6>[    2.177362] ag71xx-mdio.1: Found an AR934X built-in switch
<6>[    2.229797] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
<6>[    2.238507] NET: Registered protocol family 10
<6>[    2.247818] NET: Registered protocol family 17
<6>[    2.252602] 8021q: 802.1Q VLAN Support v1.8
<6>[    2.265221] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
<6>[    2.273857] Freeing unused kernel memory: 196K
<4>[    2.278494] This architecture does not have kernel memory protection.
<5>[    2.545497] random: fast init done
<14>[    3.233660] init: Console is alive
<14>[    3.237514] init: - watchdog -
<14>[    3.994732] kmodloader: loading kernel modules from /etc/modules-boot.d/*
<14>[    4.146802] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
<14>[    4.155226] init: - preinit -
<6>[    5.340601] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
<5>[    8.562019] jffs2: notice: (366) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
<14>[    8.579568] mount_root: switching to jffs2 overlay
<12>[    8.616411] urandom-seed: Seeding with /etc/urandom.seed
<14>[    8.689353] procd: - early -
<14>[    8.692446] procd: - watchdog -
<14>[    9.250783] procd: - watchdog -
<14>[    9.254343] procd: - ubus -
<14>[    9.517271] procd: - init -
<14>[    9.830081] kmodloader: loading kernel modules from /etc/modules.d/*
<6>[    9.840020] tun: Universal TUN/TAP device driver, 1.6
<6>[    9.845248] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<6>[    9.856765] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[    9.874264] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
<6>[    9.882597] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
<6>[    9.891727] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[    9.906150] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
<6>[    9.962757] xt_time: kernel timezone is -0000
<7>[   10.071153] ath: EEPROM regdomain: 0x0
<7>[   10.071164] ath: EEPROM indicates default country code should be used
<7>[   10.071168] ath: doing EEPROM country->regdmn map search
<7>[   10.071185] ath: country maps to regdmn code: 0x3a
<7>[   10.071191] ath: Country alpha2 being used: US
<7>[   10.071195] ath: Regpair used: 0x3a
<7>[   10.084756] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<6>[   10.089600] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=47
<14>[   10.132795] kmodloader: done loading kernel modules from /etc/modules.d/*
<6>[   21.132399] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
<6>[   21.159067] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
<6>[   21.181083] IPv6: ADDRCONF(NETDEV_UP): br-vap: link is not ready
<6>[   21.216086] IPv6: ADDRCONF(NETDEV_UP): br-roam: link is not ready
<6>[   23.217877] eth0: link up (100Mbps/Full duplex)
<6>[   23.222619] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
<7>[   23.416141] ath: EEPROM regdomain: 0x8114
<7>[   23.420293] ath: EEPROM indicates we should expect a country code
<7>[   23.426643] ath: doing EEPROM country->regdmn map search
<7>[   23.432129] ath: country maps to regdmn code: 0x37
<7>[   23.437092] ath: Country alpha2 being used: DE
<7>[   23.441679] ath: Regpair used: 0x37
<7>[   23.445283] ath: regdomain 0x8114 dynamically updated by user
<6>[   28.082864] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
<6>[   28.377681] br-vap: port 1(wlan0-1) entered blocking state
<6>[   28.383369] br-vap: port 1(wlan0-1) entered disabled state
<6>[   28.389588] device wlan0-1 entered promiscuous mode
<6>[   28.507712] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
<6>[   28.514627] br-vap: port 1(wlan0-1) entered blocking state
<6>[   28.520388] br-vap: port 1(wlan0-1) entered forwarding state
<6>[   28.582371] IPv6: ADDRCONF(NETDEV_CHANGE): br-vap: link becomes ready
<6>[   28.617361] br-roam: port 1(wlan0-2) entered blocking state
<6>[   28.623278] br-roam: port 1(wlan0-2) entered disabled state
<6>[   28.629546] device wlan0-2 entered promiscuous mode
<6>[   28.696011] IPv6: ADDRCONF(NETDEV_UP): wlan0-2: link is not ready
<6>[   28.702438] br-roam: port 1(wlan0-2) entered blocking state
<6>[   28.708272] br-roam: port 1(wlan0-2) entered forwarding state
<6>[   28.714815] IPv6: ADDRCONF(NETDEV_CHANGE): br-roam: link becomes ready
<6>[   28.826240] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-2: link becomes ready
<6>[   29.344781] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[   29.554096] wlan0: Created IBSS using preconfigured BSSID 02:ca:ff:ee:ba:be
<6>[   29.561380] wlan0: Creating new IBSS network, BSSID 02:ca:ff:ee:ba:be
<6>[   29.600876] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<5>[   54.884553] random: crng init done
<3>[26187.720165] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<3>[26729.429478] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<3>[28439.382610] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<3>[29941.604627] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00026400
<3>[34096.679390] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<3>[35348.329357] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<4>[39363.344165] ------------[ cut here ]------------
<4>[39363.348963] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:316 0x802a95c0
<6>[39363.356276] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
<0>[39363.363033] Kernel panic - not syncing: panic_on_warn set ...
<0>[39363.363033]
28.06.20181618KernelBug ReportVery LowMediummtk_soc_eth error with kernel stacktrace since kernel 4...TrunkUnconfirmed Task Description

Xiaomi Mi Router 3G with MediaTek MT7621
I’ve tested with about 5 daily snapshots, but the problem still exists. I think snapshots based on kernels prior to 4.14.50 had no such problem as I had uptime more than 2 weeks
Router stops eth device until reboot, sometimes rebooted with this error automatically, but in most cases I have to login and reboot it manually.
Once I found a correlation with a device performing backup of WatsApp mobile application, router stops eth device in about 2 minutes after restart and return to normal working behavior only after finishing backup by this device.
Here is the messages from the log:
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.132134] ————[ cut here ]———— Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.136778] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0×324 Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.145052] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.152031] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.220963] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.50 #0
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.226940] Stack : 00000000 00000000 00000000 00000000 80607ad2 00000034 00000000 00000000
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.235275] 8059cdb4 8059c947 8052758c 00000000 00000000 00000001 8fc09d68 1cc282d2
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.243606] 00000000 00000000 80600000 00006288 00000000 0000013d 00000008 00000000
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.251935] 00000000 805a0000 00035f23 00000000 00000000 00000000 805c0000 803765e8
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.260265] 00000009 00000140 00000000 8fd86c40 00000003 80299e30 00000000 80600000
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.268596] ...
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.271031] Call Trace:
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.273491] [<80010558>] show_stack+0×58/0×100 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.277928] [<8046842c>] dump_stack+0x9c/0xe0
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.282268] [<8002e218>] warn+0xe0/0×114 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.286343] [<8002e27c>] warn_slowpath_fmt+0×30/0x3c
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.291285] [<803765e8>] dev_watchdog+0x1ac/0×324 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.295984] [<800861c4>] call_timer_fn.isra.3+0×24/0×84 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.301184] [<800863dc>] run_timer_softirq+0x1b8/0×244 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.306314] [<804856f0>]
do_softirq+0×128/0x2ec
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.311000] [<80032920>] irq_exit+0×98/0xcc
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.315182] [<8024a82c>] plat_irq_dispatch+0xfc/0×138 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.320209] [<8000b5a8>] except_vec_vi_end+0xb8/0xc4
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.325149] [<8000cf70>] r4k_wait_irqoff+0x1c/0×24 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.329939] [<8006647c>] do_idle+0xe4/0×168 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.334103] [<800666f8>] cpu_startup_entry+0×24/0x2c
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.339048] [<805c5bf8>] start_kernel+0x48c/0x4ac
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.343858] —[ end trace 1c5f30dcaaf8aef8 ]— Wed Jun 27 14:02:30 2018 kern.err kernel: [ 6216.348544] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.354810] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.360833] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0ea80000, max=0, ctx=3009, dtx=2986, fdx=2977, next=3009
Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.371710] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e210000, max=0, calc=3938, drx=3940
Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.785365] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5760000c, 0x10c = 0×80818 Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.798589] mtk_soc_eth 1e100000.ethernet: PPE started

Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.035252] ————[ cut here ]———— Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.039894] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0×324 Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.048165] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.055097] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.123939] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.50 #0
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.129927] Stack : 00000000 00000000 00000000 00000000 80607ad2 00000034 00000000 00000000
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.138263] 8fc44834 8059c947 8052758c 00000002 00000000 00000001 8fc11d68 1cc282d2
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.146606] 00000000 00000000 80600000 000061c8 00000000 0000013a 00000008 00000000
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.154951] 00000000 805a0000 0001e423 00000000 00000000 00000000 805c0000 803765e8
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.163283] 00000009 00000140 00000002 8ffc9c40 00000003 80299e30 00000008 80600008
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.171617] ...
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.174053] Call Trace:
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.176514] [<80010558>] show_stack+0×58/0×100 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.180950] [<8046842c>] dump_stack+0x9c/0xe0
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.185300] [<8002e218>] warn+0xe0/0×114 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.189378] [<8002e27c>] warn_slowpath_fmt+0×30/0x3c
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.194321] [<803765e8>] dev_watchdog+0x1ac/0×324 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.199020] [<800861c4>] call_timer_fn.isra.3+0×24/0×84 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.204220] [<800863dc>] run_timer_softirq+0x1b8/0×244 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.209351] [<804856f0>]
do_softirq+0×128/0x2ec
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.214039] [<80032920>] irq_exit+0×98/0xcc
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.218224] [<8024a82c>] plat_irq_dispatch+0xfc/0×138 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.223252] [<8000b5a8>] except_vec_vi_end+0xb8/0xc4
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.228195] [<8000cf70>] r4k_wait_irqoff+0x1c/0×24 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.232986] [<8006647c>] do_idle+0xe4/0×168 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.237152] [<800666f8>] cpu_startup_entry+0×24/0x2c
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.242104] [<800180b4>] not_nmi+0x8c/0x1d8
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.246325] —[ end trace d3f46981f3a08d6e ]— Wed Jun 27 16:52:20 2018 kern.err kernel: [10116.250930] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.257093] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.263075] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0eaa0000, max=0, ctx=3816, dtx=3812, fdx=3803, next=3816
Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.273916] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e230000, max=0, calc=3651, drx=3652
Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.688339] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5860000c, 0x10c = 0×80818 Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.701640] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:52:26 2018 kern.err kernel: [10122.115217] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.121415] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.127452] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0e260000, max=0, ctx=4, dtx=0, fdx=0, next=4
Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.137321] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0de30000, max=0, calc=149, drx=150
Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.548342] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5460000c, 0x10c = 0×80818 Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.562101] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:52:35 2018 kern.err kernel: [10132.035215] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:35 2018 kern.info kernel: [10132.041420] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:35 2018 kern.info kernel: [10132.047471] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0e0b0000, max=0, ctx=2, dtx=0, fdx=0, next=2
Wed Jun 27 16:52:35 2018 kern.info kernel: [10132.057333] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0d480000, max=0, calc=296, drx=297
Wed Jun 27 16:52:36 2018 kern.info kernel: [10132.468120] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5060030c, 0x10c = 0×80818 Wed Jun 27 16:52:36 2018 kern.info kernel: [10132.482429] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:52:45 2018 kern.err kernel: [10142.035113] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:45 2018 kern.info kernel: [10142.041301] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:45 2018 kern.info kernel: [10142.047328] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0dea0000, max=0, ctx=1, dtx=0, fdx=0, next=1
Wed Jun 27 16:52:45 2018 kern.info kernel: [10142.057147] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0ec40000, max=0, calc=358, drx=359
Wed Jun 27 16:52:46 2018 kern.info kernel: [10142.468048] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x4a60090c, 0x10c = 0×80818 Wed Jun 27 16:52:46 2018 kern.info kernel: [10142.482993] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:52:55 2018 kern.err kernel: [10152.035093] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:55 2018 kern.info kernel: [10152.041279] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:55 2018 kern.info kernel: [10152.047294] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0d500000, max=0, ctx=1, dtx=0, fdx=0, next=1
Wed Jun 27 16:52:55 2018 kern.info kernel: [10152.057096] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0d570000, max=0, calc=389, drx=390
Wed Jun 27 16:52:56 2018 kern.info kernel: [10152.468021] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5460000c, 0x10c = 0×80818 Wed Jun 27 16:52:56 2018 kern.info kernel: [10152.482044] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:53:05 2018 daemon.info hostapd: wlan0: STA 80:56:f2:b3:3f:b5 IEEE 802.11: authenticated
Wed Jun 27 16:53:05 2018 daemon.info hostapd: wlan0: STA 80:56:f2:b3:3f:b5 IEEE 802.11: associated (aid 2)
Wed Jun 27 16:53:05 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 80:56:f2:b3:3f:b5
Wed Jun 27 16:53:05 2018 daemon.info hostapd: wlan0: STA 80:56:f2:b3:3f:b5 WPA: pairwise key handshake completed (RSN)
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq-dhcp[2484]: DHCPREQUEST(br-lan) 172.29.192.119 80:56:f2:b3:3f:b5
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq-dhcp[2484]: DHCPACK(br-lan) 172.29.192.119 80:56:f2:b3:3f:b5 PZhukov-02-wifi
Wed Jun 27 16:53:05 2018 daemon.warn odhcpd[1083]: DHCPV6 SOLICIT IA_NA from 0001000121c0435874867a519335 on br-lan: ok fdc9:c20f:b3e1::7fa/128
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq[2484]: read /etc/hosts - 4 addresses
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq[2484]: read /tmp/hosts/odhcpd - 7 addresses
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq[2484]: read /tmp/hosts/dhcp.cfg01411c - 16 addresses
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq-dhcp[2484]: read /etc/ethers - 0 addresses
Wed Jun 27 16:53:05 2018 kern.err kernel: [10162.035026] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:53:05 2018 kern.info kernel: [10162.041227] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:53:05 2018 kern.info kernel: [10162.047256] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0d480000, max=0, ctx=1, dtx=0, fdx=0, next=1
Wed Jun 27 16:53:05 2018 kern.info kernel: [10162.057058] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0df90000, max=0, calc=290, drx=291
Wed Jun 27 16:53:06 2018 kern.info kernel: [10162.467931] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x46600d0c, 0x10c = 0×80818 Wed Jun 27 16:53:06 2018 kern.info kernel: [10162.475297] mtk_soc_eth 1e100000.ethernet: reset pse
Wed Jun 27 16:53:06 2018 kern.emerg kernel: [10162.486116] skbuff: skb_over_panic: text:803091b4 len:1568 put:1568 head:8de28e00 data:8de28e42 tail:0x8de29462 end:0x8de29460 dev:eth0
Wed Jun 27 16:53:06 2018 kern.info kernel: [10162.486270] mtk_soc_eth 1e100000.ethernet: PPE started

Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.134652] ————[ cut here ]———— Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.139303] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0×324 Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.147555] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.154480] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel tun leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.225260] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.51 #0
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.231234] Stack : 00000000 00000000 00000000 00000000 80607ad2 00000034 00000000 00000000
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.239567] 8059edb4 8059e947 8052860c 00000000 00000000 00000001 8fc09d68 1cc282d3
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.247901] 00000000 00000000 80600000 000062e8 00000000 0000013e 00000008 00000000
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.256231] 00000000 805a0000 00036fec 00000000 00000000 00000000 805c0000 80376df8
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.264561] 00000009 00000140 00000000 8fe2ce40 00000003 8029a160 00000000 80600000
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.272890] ...
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.275326] Call Trace:
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.277780] [<80010598>] show_stack+0×58/0×100 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.282216] [<80468c5c>] dump_stack+0x9c/0xe0
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.286557] [<8002e328>] warn+0xe0/0×114 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.290632] [<8002e38c>] warn_slowpath_fmt+0×30/0x3c
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.295573] [<80376df8>] dev_watchdog+0x1ac/0×324 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.300269] [<80086204>] call_timer_fn.isra.3+0×24/0×84 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.305469] [<8008641c>] run_timer_softirq+0x1b8/0×244 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.310597] [<80485f10>]
do_softirq+0×128/0x2ec
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.315285] [<80032a30>] irq_exit+0×98/0xcc
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.319466] [<8024a95c>] plat_irq_dispatch+0xfc/0×138 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.324491] [<8000b5e8>] except_vec_vi_end+0xb8/0xc4
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.329431] [<8000cfb0>] r4k_wait_irqoff+0x1c/0×24 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.334221] [<800664bc>] do_idle+0xe4/0×168 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.338391] [<80066738>] cpu_startup_entry+0×24/0x2c
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.343339] [<805c7bf8>] start_kernel+0x48c/0x4ac
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.348123] —[ end trace 26a1a8527dad924c ]— Thu Jun 28 10:55:49 2018 kern.err kernel: [ 6066.352729] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.358911] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.364918] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0eac0000, max=0, ctx=3327, dtx=3314, fdx=3306, next=3327
Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.375761] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e250000, max=0, calc=2626, drx=2634
Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.787702] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x4e60050c, 0x10c = 0×80818 Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.800991] mtk_soc_eth 1e100000.ethernet: PPE started

Showing tasks 151 - 200 of 1064 Page 4 of 22<<First - 2 - 3 - 4 - 5 - 6 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing