LEDE Project

Welcome to the LEDE Project bug reporting and issue tracking system

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

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

OpenedIDCategoryTask TypePrioritySeveritySummaryReported InStatus
14.12.20171227Base systemBug ReportVery LowCriticalBrick in TP-Link CPE210 HW 1.1 after sysupgrade from LE...lede-17.01Unconfirmed Task Description

After problems described in this bug:

Try to flash sysupgrade from here.

LuCI let this image pass but the device do not came back after reboot.
Only the Power-LED ist on, no blinking of RSSIHIGH during boot.
On LAN or WAN is no activity. Checked by tcpdump.

Expected behavior:
System reboot in LEDE-17.01.4

Like described in this bug it is not possible to recover via TFTP the device. It pulls the firmware but do not flash anything.
Try to recover with LEDE but also with all stock-images from tp-link website.

12.12.20171223Base systemBug ReportVery LowCritical[Octeon] last snapshot brick on edgerouter liteTrunkUnconfirmed Task Description

Supply the following if possible:
Edgerouter Lite brick when install snapshot r5493.
Here are console output:

[    0.000000] Linux version 4.9.67 (teq@teqdesk) (gcc version 7.2.0 (LEDE GCC 7.2.0 r5173-6f528dfbd9) ) #0 SMP Mon Dec 11 11:44:50 2017
[    0.000000] CVMSEG size: 2 cache lines (256 bytes)
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 000d0601 (Cavium Octeon+)
[    0.000000] Checking for the multiply/shift bug... [    0.000000] no.
[    0.000000] Checking for the daddiu bug... [    0.000000] no.
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 0000000005800000 @ 0000000002900000 (usable)
[    0.000000]  memory: 0000000007c00000 @ 0000000008200000 (usable)
[    0.000000]  memory: 000000000fc00000 @ 0000000410000000 (usable)
[    0.000000]  memory: 0000000001777a80 @ 0000000001100000 (usable)
[    0.000000] Wasting 243712 bytes for tracking 4352 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using internal Device Tree.
[    0.000000] software IO TLB [mem 0x0388e000-0x0788e000] (64MB) mapped at [800000000388e000-800000000788dfff]
[    0.000000] Primary instruction cache 32kB, virtually tagged, 4 way, 64 sets, linesize 128 bytes.
[    0.000000] Primary data cache 16kB, 64-way, 2 sets, linesize 128 bytes.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000001100000-0x00000000efffffff]
[    0.000000]   Normal   [mem 0x00000000f0000000-0x000000041fbfffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000001100000-0x0000000002876fff]
[    0.000000]   node   0: [mem 0x0000000002900000-0x00000000080fffff]
[    0.000000]   node   0: [mem 0x0000000008200000-0x000000000fdfffff]
[    0.000000]   node   0: [mem 0x0000000410000000-0x000000041fbfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000001100000-0x000000041fbfffff]
[    0.000000] percpu: Embedded 17 pages/cpu @80000000078f9000 s30000 r8192 d31440 u69632
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 123084
[    0.000000] Kernel command line: mtdparts=phys_mapped_flash:512k(boot0)ro,512k(boot1)ro,64k(eeprom)ro root=/dev/sda2 rootfstype=squashfs,ext4 rootwait  console=ttyS0,115200
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.000000] Memory: 401032K/499164K available (4468K kernel code, 326K rwdata, 1152K rodata, 1324K init, 16734K bss, 98132K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000]  RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:127
[   14.074832] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns
[   14.085683] Calibrating delay loop (skipped) preset value.. 1000.00 BogoMIPS (lpj=2000000)
[   14.093853] pid_max: default: 32768 minimum: 301
[   14.098604] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[   14.105073] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[   14.112888] Checking for the daddi bug... [   14.116700] no.
[   14.120844] SMP: Booting CPU01 (CoreId  1)...
[   14.125234] CPU1 revision is: 000d0601 (Cavium Octeon+)
[   14.125450] Brought up 2 CPUs
[   14.138696] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[   14.148336] futex hash table entries: 512 (order: 4, 65536 bytes)
[   14.155106] NET: Registered protocol family 16
[   14.183641] Not in host mode, PCI Controller not initialized
[   14.211932] SCSI subsystem initialized
[   14.215984] usbcore: registered new interface driver usbfs
[   14.221577] usbcore: registered new interface driver hub
[   14.226908] usbcore: registered new device driver usb
[   14.233769] clocksource: Switched to clocksource OCTEON_CVMCOUNT
[   14.241009] NET: Registered protocol family 2
[   14.246283] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[   14.253318] TCP bind hash table entries: 4096 (order: 5, 131072 bytes)
[   14.259871] TCP: Hash tables configured (established 4096 bind 4096)
[   14.266192] UDP hash table entries: 256 (order: 2, 24576 bytes)
[   14.272041] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes)
[   14.278600] NET: Registered protocol family 1
[   14.284541] Crashlog allocated RAM at address 0x3f00000
[   14.291115] workingset: timestamp_bits=62 max_order=17 bucket_order=0
[   14.311658] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   14.317900] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[   14.332512] io scheduler noop registered
[   14.336419] io scheduler deadline registered (default)
[   14.341820] random: fast init done
[   14.341952] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver probed.
[   14.342246] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   14.343120] console [ttyS0] disabled
[   14.362510] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 41, base_baud = 31250000) is a OCTEON
[   14.372329] console [ttyS0] enabled
[   14.372329] console [ttyS0] enabled
[   14.379178] bootconsole [early0] disabled
[   14.379178] bootconsole [early0] disabled
[   14.387819] 1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 42, base_baud = 31250000) is a OCTEON
[   14.398357] octeon_rng octeon_rng: Octeon Random Number Generator
[   14.414765] loop: module loaded
[   14.418789] of-flash 1f400000.nor: Can't get bank width from device tree
[   14.426012] libphy: mdio_octeon: probed
[   14.429929] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@7: Whitelisted compatible string. Please remove
[   14.440990] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@6: Whitelisted compatible string. Please remove
[   14.452127] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@5: Whitelisted compatible string. Please remove
[   14.463190] mdio_octeon 1180000001800.mdio: Probed
[   14.468523] libphy: Fixed MDIO Bus: probed
[   14.472875] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   14.479460] ehci-pci: EHCI PCI platform driver
[   14.484057] ehci-platform: EHCI generic platform driver
[   14.489567] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   14.495846] ohci-platform: OHCI generic platform driver
[   14.501471] usbcore: registered new interface driver usb-storage
[   14.507525] octeon_wdt: Initial granularity 5 Sec
[   14.516031] Interface 0 has 3 ports (RGMII)
[   14.524874] octeon-hcd 16f0010000000.usbc: Octeon Host Controller
[   14.531078] octeon-hcd 16f0010000000.usbc: new USB bus registered, assigned bus number 1
[   14.539294] octeon-hcd 16f0010000000.usbc: irq 56, io mem 0x00000000
[   14.546780] hub 1-0:1.0: USB hub found
[   14.550688] hub 1-0:1.0: 1 port detected
[   14.555113] octeon-hcd 16f0010000000.usbc: Registered HCD for port 0 on irq 56
[   14.563582] NET: Registered protocol family 10
[   14.570301] NET: Registered protocol family 17
[   14.574895] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   14.587897] 8021q: 802.1Q VLAN Support v1.8
[   14.592410] Bootbus flash: Setting flash for 4MB flash at 0x1f800000
[   14.598913] phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0000a7
[   14.609303] Amd/Fujitsu Extended Query Table at 0x0040
[   14.614497]   Amd/Fujitsu Extended Query version 1.1.
[   14.619578] phys_mapped_flash: Swapping erase regions for top-boot CFI table.
[   14.626738] number of CFI chips: 1
[   14.630187] 3 cmdlinepart partitions found on MTD device phys_mapped_flash
[   14.637091] Creating 3 MTD partitions on "phys_mapped_flash":
[   14.642884] 0x000000000000-0x000000080000 : "boot0"
[   14.649327] 0x000000080000-0x000000100000 : "boot1"
[   14.655773] 0x000000100000-0x000000110000 : "eeprom"
[   14.663863] OF: fdt:not creating '/sys/firmware/fdt': CRC check failed
[   14.670835] Waiting for root device /dev/sda2...
[   14.933781] usb 1-1: new high-speed USB device number 2 using octeon-hcd
[   15.400408] usb-storage 1-1:1.0: USB Mass Storage device detected
[   15.407060] scsi host0: usb-storage 1-1:1.0
[   16.638775] scsi 0:0:0:0: Direct-Access     SRT      USB              1100 PQ: 0 ANSI: 4
[   16.648750] sd 0:0:0:0: [sda] 15765504 512-byte logical blocks: (8.07 GB/7.52 GiB)
[   16.657228] sd 0:0:0:0: [sda] Write Protect is off
[   16.662870] sd 0:0:0:0: [sda] No Caching mode page found
[   16.668289] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   16.678662]  sda: sda1 sda2
[   16.685007] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   16.695345] VFS: Mounted root (squashfs filesystem) readonly on device 8:2.
[   16.703536] Freeing unused kernel memory: 1324K
[   16.708123] This architecture does not have kernel memory protection.
[   17.182191] init: Console is alive
[   17.185982] init: - watchdog -
[   18.052979] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[   18.115914] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[   18.124820] init: - preinit -
/etc/preinit: /lib/functions/system.sh: line 65: syntax error: unterminated quoted string
[   18.430390] procd: - early -
[   18.433407] procd: - watchdog -
[   19.071577] procd: - watchdog -
[   19.075235] procd: - ubus -
[   19.202737] procd: - init -
Please press Enter to activate this console.
[   28.313781] random: crng init done
 


11.12.20171220KernelBug ReportVery LowCriticalWireless on WRT3200ACM kills all networkinglede-17.01Unconfirmed Task Description

Supply the following if possible:
Linksys WRT3200ACM

driver name: mwlwifi
chip type: 88W8964
hw version: 7
driver version: 10.3.4.0-20171129
firmware version: 0×09030201 power table loaded from dts: no
firmware region code: 0×0 mac address: 60:38:e0:be:cc:e1
2g: enable
5g: disable
antenna: 4 4
irq number: 106
ap macid support: 0000ffff
sta macid support: 00010000
macid used: 00000001
radio: enable
iobase0: e1200000
iobase1: e1480000
tx limit: 1024
rx limit: 16384

Reboot (17.01.4, r3560-79f57e422d)

Steps to reproduce:
Fresh OpenWRT Install
Remove the old mwlwifi driver, Install the updated (as it is broken in the base install)
Enable the 5GHZ band signals
SSH into router and run readlog -f
Run many speed tests from multiple devices (seems to trigger it almost instantly)

 

Right before it crashes and I lose all connectivity I get the message:
Mon Dec 11 08:39:31 2017 kern.info kernel: [10357.894826] mwifiex_sdio mmc0:0001:1: Tx: Bridge packet limit reached. Drop packet!
Mon Dec 11 08:39:51 2017 daemon.notice hostapd: nl80211: nl80211_recv_beacons→nl_recvmsgs failed: -5
Mon Dec 11 08:39:51 2017 kern.info kernel: [10377.918852] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -110

I tried increasing the txpacket limit from 1000 to 20000 but that only delayed the crash until later.

29.11.20171197KernelBug ReportVery LowCriticalNetgear ipq806x severe wifi problemTrunkUnconfirmed Task Description

Netgear R7800 (ipq8065, dual QCA9984)
Netgear R7500v2 (ipq8064, dual QCA9980)
Kernel 4.9 - happens on both 17.01 and trunk with k4.9 but k4.4 is unaffected.

Wireless transmits broken/malformed frames that are not detected/corrected on low layer protocols. It can be seen by:
1. Extremely low throughput on both bands - 20-50 mbits max on 2.4 and 5 ghz. Some times only either or neither band is affected but it's a matter of time when both get affected. Or they just switch between each other if only 1 was affected.
2. Sometimes broken LUCI web styles when accessed through wifi, sometimes broken ssh/ssl connections: https://bugs.lede-project.org/index.php?do=details&task_id=1173

My observations:
1. The issue affects only Netgear ipq806x devices and not related to qca9984. According to recent findings Netgear R7500v2 with qca9980 also suffers from the issue
https://bugs.lede-project.org/index.php?do=details&task_id=1173

2. The bug happens only on k4.9 according to tests done between k4.4 and k4.9 with completely same set of wireless backports and firmware + cal/pre-cal data + board (API 1/2 or GPL) data. I've tried all available firmware, cal/pre-cal data and board data options including GPL - no effect.

3. It doesn't seem to be related to stmmac, I've tried different buffer options.

Actually I'm starting to think that it's smth within uboot that messes with ram, like it does in the last 2 mibs of memory region.

Additional forum investigations https://forum.lede-project.org/t/netgear-r7800-exploration-ipq8065-qca9984/285/481 But I must say that that workaround didn't work for me.

The issue seem to be floating and probably related to some kind of code/byte padding/alignment in memory?

As fact I have been having this issue only with 2.4ghz before and after some unrelated commits now I have it on 5ghz as well.

20.11.20171181Base systemBug ReportVery LowCriticalCVE-2017-16544: A Busybox autocompletion vulnerabilityAllUnconfirmed Task Description

In the add_match function in libbb/lineedit.c in BusyBox through 1.27.2, the tab autocomplete feature of the shell, used to get a list of filenames in a directory, does not sanitize filenames and results in executing any escape sequence in the terminal. This could potentially result in code execution, arbitrary file writes, or other attacks.

https://www.twistlock.com/2017/11/20/cve-2017-16544-busybox-autocompletion-vulnerability/

Patch: https://git.busybox.net/busybox/commit/?id=c3797d40a1c57352192c6106cc0f435e7d9c11e8

15.11.20171170KernelBug ReportVery LowCriticalmt7621: kernel errors - rcu_sched detected stalls on CP...AllUnconfirmed Task Description

After the work done for issue  FS#804 , the rcu_sched error seemed to be gone. However, I am now starting to see it again. Usually, at least for me, the error happens when there is large amounts of traffic and I do something with the network. My most reliable way for reproducing the error is as follows:

- Use iperf to flood a router with small packets. Other ways to stress the CPU also work, I for example triggered the error when I added very aggressive logging to the firewall.
- While the router is being flooded, I restarted networking (I am logged in to the router via UART).
- After a couple of network restarts, the error is trigger and the following is written to syslog at some interval:

[ 2251.870000] INFO: rcu_bh detected stalls on CPUs/tasks:
[ 2251.870000] 2-...: (1 GPs behind) idle=ae1/140000000000001/0 softirq=212487/217796 fqs=4380
[ 2251.870000] (detected by 1, t=6002 jiffies, g=-146, c=-147, q=4)
[ 2251.870000] Task dump for CPU 2:
[ 2251.870000] openvpn-mover.s R running 0 2598 1 0×08100004 [ 2251.870000] Stack : 8fa69998 800ebe38 00000000 8fa69998 57512e2b 000001fd 00000000 80035454
[ 2251.870000] 00000000 800edbd4 8fa69998 804b0000 00000000 00000000 00000004 00000000
[ 2251.870000] 00000000 8ea17850 8efc7ec0 800376d4 00000000 00000000 778b8930 00000012
[ 2251.870000] 00000000 004077cd 778d4000 00000000 778d55e8 778d6f7c 00000000 8002b280
[ 2251.870000] ffbffeff ffffffff 00617772 706d742f 00000000 00000000 00000001 800379dc
[ 2251.870000] ...
[ 2251.870000] Call Trace:
[ 2251.870000] [<8000bc88>] __schedule+0×574/0×758

I am also able to sometimes trigger the issue by simply issuing the reboot-command (while the CPU is stressed). I have not applied any traffic shaping to my interface, and I see the error both with kernel 4.4 and 4.9 (i.e., LEDE 17.01 and master). I don’t quite know how to progress in debugging this.

 


08.11.20171158Base systemBug ReportVery LowCriticalATH10k QCA9880 5 Ghz mixed mode (sta and ap) not possib...TrunkUnconfirmed Task Description
 
Hardware: Archer C7 V2
Software: Trunk (r5280)

Using the 5 Ghz radio in accesspoint mode (mode ap) and client mode (mode sta) at the same time doesnt work.
Only client mode works.
No error messages will be generated.
With version V17.01.4 all is fine (same configuration).

Config details:

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11a'
	option path 'pci0000:01/0000:01:00.0'
	option noscan '1'
	option htmode 'VHT80'
	option multicast_querier '0'
	option igmp_snooping '0'
	option distance '8'
	option log_level '3'
	option compression '1'
	option bursting '1'
	option ff '1'
	option country 'US'
	option txpower '23'
	option channel '112'

config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/qca955x_wmac'
	option noscan '1'
	option htmode 'HT40'
	option distance '15'
	option multicast_querier '0'
	option igmp_snooping '0'
	option log_level '3'
	option compression '1'
	option bursting '1'
	option ff '1'
	option channel '9'
	option country 'US'
	option txpower '24'
	option disabled '0'

config wifi-iface
	option encryption 'psk2'
	option device 'radio0'
	**option mode 'sta'**
	option bssid '08:96:D7:7B:89:BA'
	option key 'xxxxxxxxxxxxxxxxxxxxxx'
	option multicast_querier '0'
	option igmp_snooping '0'
	option ssid 'Fritz_5Ghz'
	option network 'WWAN WWAN6'

config wifi-iface
	option ssid 'im6shop'
	option device 'radio1'
	option key 'xxxxxxxxxxxxxxxxxxxxxx'
	option multicast_querier '0'
	option igmp_snooping '0'
	option network 'LAN'
	option mode 'ap'
	option encryption 'psk2'

config wifi-iface
	option device 'radio0'
	**option mode 'ap'**
	option key 'xxxxxxxxxxxxxxxxxxxxxx'
	option macfilter 'allow'
	list maclist '78:0C:B8:8A:12:45'
	list maclist '88:32:9B:F6:70:79'
	list maclist 'F0:27:65:7F:7A:19'
	option encryption 'psk2+ccmp'
	option network 'LAN'
	option ssid 'im6shop'

If you need further details, let me know

regards Klaus


04.11.20171146Base systemBug ReportVery LowCriticalConstant wireless disconnects due to excessive missing ...lede-17.01Unconfirmed Task Description

D-Link DIR-320 B1, currently with Lede 17.01.4 (basically, default config).
Had no problems in years with 7 of my wireless devices (consoles, phones and tablets) in same room - everything works perfect.

But my new Android 6 tablet (Lenovo Tab 3 8 Plus) keeps losing network.
It can happen randomly - for example, I can notice that every 3 minutes in Google PlayStore, or only couple times per hour (maybe it happens more often, but I’m not checking something online that time).
And it seems, tablet doesn’t even notice that there is no network - signal strenght icon is there (filled icon - “connected”), but data is not transfered (no send/receive arrows).
If there was a download, then it stops and not trying to resume or restore connection.
Or, for example, Google PlayStore doesn’t say “wifi is off” - it just keeps trying to load page (rotating loading symbol).
Some time after it gets his connection back, or it much faster just to turn off/on wireless.

Router system log have this message: “disconnected due to excessive missing ACKs”.
I tried to add “disassoc_low_ack 0” and this error gone from log, but this not solved connection problem.
I tried to use another router DIR-300NRU6 with stock firmware - everything OK, not a single disconnect.

02.11.20171139KernelBug ReportVery LowCriticalKernel crashTrunkUnconfirmed Task Description

Router stop working and all network drop requiring a router restart.
TP-Link TL-WDR4300 v1
LEDE Reboot SNAPSHOT r5217-098afa1e1b / LuCI Master (git-17.302.29094-87ec343)
Kernel - 4.9.58

Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.711795] ------------[ cut here ]------------
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.716575] WARNING: CPU: 0 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:199 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.724867] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_string xt_state xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom umWed Nov  1 20:06:44 2017 kern.warn kernel: [11503.797335]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage uhci_hcd ohci_platform ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.820374] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.58 #0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.826199] Stack : 804d78fa 00000031 00000000 00000001 804615d4 80461247 8041396c 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.834743]         804d3a40 000000c7 00000003 00000000 02080020 800a9b84 8041919c 80460000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.843287]         00000003 000000c7 8041736c 87c09824 02080020 800d923c 804d78fa 0000004d
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.851832]         00000000 80223000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.860377]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.868922]         ...
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.871414] Call Trace:
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.873905] [<8006b2e8>] show_stack+0x54/0x88
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.878362] [<80080530>] __warn+0xe4/0x118
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.882529] [<800805f8>] warn_slowpath_null+0x1c/0x34
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.887684] [<874673e0>] 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.891231] ---[ end trace 0fa0ed456ba22a7d ]---
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.896865] ------------[ cut here ]------------
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.901621] WARNING: CPU: 0 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:199 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.909943] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_string xt_state xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom umWed Nov  1 20:06:44 2017 kern.warn kernel: [11503.982364]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage uhci_hcd ohci_platform ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.005412] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.9.58 #0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.012478] Stack : 804d78fa 0000003f 00000000 00000001 804615d4 80461247 8041396c 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.021029]         804d3a40 000000c7 00000003 00000000 02080020 800a9b84 8041919c 80460000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.029575]         00000003 000000c7 8041736c 87c09824 02080020 800d923c 804d78fa 0000004d
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.038119]         804736b0 80223000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.046664]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.055200]         ...
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.057701] Call Trace:
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.060191] [<8006b2e8>] show_stack+0x54/0x88
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.064636] [<80080530>] __warn+0xe4/0x118
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.068811] [<800805f8>] warn_slowpath_null+0x1c/0x34
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.073951] [<874673e0>] 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.077506] ---[ end trace 0fa0ed456ba22a7e ]---
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.150414] ------------[ cut here ]------------
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.155176] WARNING: CPU: 0 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:199 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.163513] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_string xt_state xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom umWed Nov  1 20:06:44 2017 kern.warn kernel: [11504.235935]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage uhci_hcd ohci_platform ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.258985] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.9.58 #0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.266041] Stack : 804d78fa 0000003f 00000000 00000001 804615d4 80461247 8041396c 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.274584]         804d3a40 000000c7 00000003 00000000 02080020 800a9b84 8041919c 80460000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.283129]         00000003 000000c7 8041736c 87c09824 02080020 800d923c 804d78fa 0000004d
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.291682]         804736b0 80223000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.300237]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.308780]         ...
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.311272] Call Trace:
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.313764] [<8006b2e8>] show_stack+0x54/0x88
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.318220] [<80080530>] __warn+0xe4/0x118
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.322380] [<800805f8>] warn_slowpath_null+0x1c/0x34
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.327535] [<874673e0>] 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.331081] ---[ end trace 0fa0ed456ba22a7f ]---
01.11.20171138KernelBug ReportVery LowCriticalDeauthenticated Reason: 15=4WAY_HANDSHAKE_TIMEOUT on Wi...lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
TP-Link Archer C7 (AC1750 version 2.0)

- Software versions of LEDE release, packages, etc.
LEDE Reboot 17.01.4 r3560-79f57e422d (newest release)

- Steps to reproduce
1) Set 802.11g radio as AP
2) Set 802.11a© radio as client for EDUROAM network with WPA2-EAP TTLS or PEAP (cipher CCMP) 802.11ac-80Mhz, fix channel (36), transmit power auto and country code DE (Germany)

3.1) Wait for 8:24 hours (or until the Maximum lifetime for PMKSA 70% of 43200 seconds reached and re-authentication is triggered)

   OR

3.2) install wpa-cli, ping to any host to test internet and invoke "reauthenticate" in wpa-cli (in this way, after one or many times "reauthentication" is invoked, the internet will be unusable until "reauthenticate" is invoked again)

Description:
This Problem exist since long time ago either with openwrt or lede on 802.11ac radio. If 8 hours 24 minutes duration of router operation lasted (according to default dot11RSNAConfigPMKLifetime=43200 and dot11RSNAConfigPMKReauthThreshold=70 in wpa_supplicant) and the router try to "refresh" its pmksa by reauthenticate again with radius server, it will be disconnected with reason 15 (four way handshake timeout). For some reasons I need to keep my router always connected without "regular unwillingly" disconnections (except if there are software update in EDUROAM AP side). This is the kernel messages:

[ 25.195427] wlan0: authenticate with 11:22:33:44:55:66
[ 25.208453] wlan0: send auth to 11:22:33:44:55:66 (try 1/3)
[ 25.216280] wlan0: authenticated
[ 25.223602] wlan0: associate with 11:22:33:44:55:66 (try 1/3)
[ 25.343420] wlan0: associate with 11:22:33:44:55:66 (try 2/3)
[ 25.453654] wlan0: associate with 11:22:33:44:55:66 (try 3/3)
[ 25.563478] br-lan: port 2(wlan1) entered forwarding state
[ 25.569734] wlan0: association with 11:22:33:44:55:66 timed out
[ 25.879895] wlan0: authenticate with 11:22:33:44:55:66
[ 25.889865] wlan0: send auth to 11:22:33:44:55:66 (try 1/3)
[ 25.896496] wlan0: authenticated
[ 25.903550] wlan0: associate with 11:22:33:44:55:66 (try 1/3)
[ 25.911434] wlan0: RX AssocResp from 11:22:33:44:55:66 (capab=0x111 status=0 aid=1)
[ 25.920916] wlan0: associated
[ 25.924091] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 25.939403] wlan0: Limiting TX power to 17 dBm as advertised by 11:22:33:44:55:66
[ 47.737647] random: nonblocking pool is initialized
[30269.937723] wlan0: deauthenticated from 11:22:33:44:55:66 (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[30271.332362] wlan0: authenticate with 11:22:33:44:55:66
[30271.342470] wlan0: send auth to 11:22:33:44:55:66 (try 1/3)
[30271.349075] wlan0: authenticated
[30271.355311] wlan0: associate with 11:22:33:44:55:66 (try 1/3)
[30271.363261] wlan0: RX AssocResp from 11:22:33:44:55:66 (capab=0x111 status=0 aid=3)
[30271.372768] wlan0: associated
[30271.441928] wlan0: Limiting TX power to 17 dBm as advertised by 11:22:33:44:55:66

Timestamps 25-47 are the initial boot of router and at 30269 the problem occurred. I can test this in quick way by installing wpa-cli and invoke reauthenticate command. The internet will be unusable even if the router still connected to AP. But by testing this way, I don't get "four way handshake timeout report message, except if I let the internet unusable for 15-30 minutes and the router is deauthenticated and reconnection occur automatically.

This are the system logs (the very first and the very last entries are before and after the problem occured):

Wed Nov 1 20:07:42 2017 daemon.info hostapd: wlan1: STA 11:11:11:11:11:11 WPA: group key handshake completed (RSN)
Wed Nov 1 20:11:48 2017 daemon.notice netifd: Network device 'wlan0' link is down
Wed Nov 1 20:11:48 2017 daemon.notice netifd: Interface 'wwan' has link connectivity loss
Wed Nov 1 20:11:48 2017 kern.info kernel: [30269.937723] wlan0: deauthenticated from 11:22:33:44:55:66 (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
Wed Nov 1 20:11:48 2017 daemon.notice netifd: wwan (1290): udhcpc: received SIGTERM
Wed Nov 1 20:11:49 2017 daemon.info odhcpd[824]: Using a RA lifetime of 0 seconds on br-lan
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.332362] wlan0: authenticate with 11:22:33:44:55:66
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.342470] wlan0: send auth to 11:22:33:44:55:66 (try 1/3)
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.349075] wlan0: authenticated
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.355311] wlan0: associate with 11:22:33:44:55:66 (try 1/3)
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.363261] wlan0: RX AssocResp from 11:22:33:44:55:66 (capab=0x111 status=0 aid=3)
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.372768] wlan0: associated
Wed Nov 1 20:11:50 2017 daemon.notice netifd: Network device 'wlan0' link is up
Wed Nov 1 20:11:50 2017 daemon.notice netifd: Interface 'wwan' has link connectivity
Wed Nov 1 20:11:50 2017 daemon.notice netifd: Interface 'wwan' is setting up now
Wed Nov 1 20:11:50 2017 kern.debug kernel: [30271.441928] wlan0: Limiting TX power to 17 dBm as advertised by 11:22:33:44:55:66
Wed Nov 1 20:11:50 2017 daemon.notice netifd: wwan (1998): udhcpc: started, v1.25.1
Wed Nov 1 20:11:50 2017 daemon.notice netifd: wwan (1998): udhcpc: sending discover
Wed Nov 1 20:11:53 2017 daemon.notice netifd: wwan (1998): udhcpc: sending discover
Wed Nov 1 20:11:54 2017 daemon.notice netifd: wwan (1998): udhcpc: sending select for 131.11.123.204
Wed Nov 1 20:11:54 2017 daemon.notice netifd: wwan (1998): udhcpc: lease of 131.11.123.204 obtained, lease time 1800
Wed Nov 1 20:11:54 2017 daemon.warn dnsmasq[1310]: no servers found in /tmp/resolv.conf.auto, will retry
Wed Nov 1 20:11:54 2017 daemon.notice netifd: Interface 'wwan' is now up
Wed Nov 1 20:11:54 2017 daemon.info dnsmasq[1310]: reading /tmp/resolv.conf.auto
Wed Nov 1 20:11:54 2017 daemon.info dnsmasq[1310]: using local addresses only for domain lan
Wed Nov 1 20:11:54 2017 daemon.info dnsmasq[1310]: using nameserver 131.11.123.2#53
Wed Nov 1 20:11:54 2017 daemon.info dnsmasq[1310]: using nameserver 131.11.124.2#53
Wed Nov 1 20:11:54 2017 user.notice firewall: Reloading firewall due to ifup of wwan (wlan0)
Wed Nov 1 20:11:55 2017 daemon.info odhcpd[824]: Using a RA lifetime of 0 seconds on br-lan
Wed Nov 1 20:17:42 2017 daemon.info hostapd: wlan1: STA 11:11:11:11:11:11 WPA: group key handshake completed (RSN)

Please help me. I will monitor this issue and make test if needed.

01.11.20171136KernelBug ReportVery LowCriticalHFSC kernel warnings with QoS / SQMlede-17.01Unconfirmed Task Description

- Device problem occurs on
x86_64 - PC Engines APU2

- Software versions of LEDE release, packages, etc.
LEDE 17.01.4 vanilla source compiled with no additional patches.

- Steps to reproduce
Enable QoS/SQM. Load with traffic hitting the bandwidth limit configured in QOS/SQM configuration.

Warning is shown in kernel and traffic by-passes the limit set in QOS/SQM resulting in a peak and then falls much below the available bandwidth. It again tries to stabilise until next crash. This results in peaks beyond 8Mbps and goes down to 2Mbps after crash when limits configured are @90% of 6Mbps. Users complain of slow Internet access.

[79569.780046] ------------[ cut here ]------------                                                                                                   [9/1922]
[79569.784788] WARNING: CPU: 1 PID: 11 at net/sched/sch_hfsc.c:1426 0xffffffffa082f7ad()
[79569.792697] Modules linked in: ifb qcserial option ipw iptable_nat ip6table_nat cdc_mbim usb_wwan usb_serial_simple ti_usb_3410_5052 sr9700 smsc95xx sierra
_net sierra rndis_host qmi_wwan pppoe ppp_async pl2303 oti6858 nft_chain_nat_ipv6 nft_chain_nat_ipv4 nf_tables_inet nf_nat_pptp nf_nat_ipv6 nf_nat_ipv4 nf_nat
_amanda nf_conntrack_pptp nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda mos7720 mct_u232 mcs7830 keyspan kalmia ipt_REJECT ipt_MASQUERADE huawei_cdc
_ncm garmin_gps ftdi_sio ebtable_nat ebtable_filter ebtable_broute dm9601 cypress_m8 cp210x ch341 cdc_subset cdc_ncm cdc_ether cdc_eem belkin_sa ax88179_178a
asix ark3116 xt_u32 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota2 xt_quota xt_psd xt_pkttype xt_physdev xt_owner x
t_nat xt_multiport xt_mark
[79569.865507]  xt_mac xt_lscan xt_limit xt_length2 xt_length xt_ipv4options xt_iprange xt_ipp2p xt_iface xt_hl xt_helper xt_hashlimit xt_geoip xt_fuzzy xt_es
p xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_cluster xt_addrtype xt_TRACE xt_TPROXY xt_TEE xt_TCPMSS xt_TARP
IT xt_SYSRQ xt_REDIRECT xt_NFQUEUE xt_NFLOG xt_NETMAP xt_LUA xt_LOGMARK xt_LOG xt_LED xt_IPMARK xt_HL xt_DSCP xt_DNETMAP xt_DHCPMAC xt_DELUDE xt_CT xt_CLASSIF
Y xt_CHAOS xt_ACCOUNT w83793 visor vhci_hcd usbserial usbnet usbmon usbip_host usbip_core ts_kmp ts_fsm ts_bm tmp103 tmp102 sht21 rtl8150 r8169 r8152 pppox pp
p_generic pegasus nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir_ipv6 nft_redir_ipv4 nft_redir nft_rbtree nft_nat nft_meta nft_masq_ipv6
 nft_masq_ipv4 nft_masq
[79569.936919]  nft_log nft_limit nft_hash nft_exthdr nft_ct nft_counter nft_chain_route_ipv6 nft_chain_route_ipv4 nfnetlink_queue nfnetlink_log nf_tables_ipv
6 nf_tables_ipv4 nf_tables nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_rtsp nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_
irc nf_nat_h323 nf_nat_ftp nf_log_ipv4 nf_dup_ipv6 nf_dup_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack
_rtsp nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast macvlan ltc4
151 lm95241 lm92 lm90 lm85 lm77 lm75 lm63 kaweth iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ipt_CLUSTERIP ipheth ip6table_raw ip_tables ina2xx i
na209 hso ezusb ebtables
[79570.007956]  ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_nflog ebt_mark_m ebt_mark ebt_log ebt_limit ebt_ip6 ebt_ip ebt_dnat ebt_arpreply ebt_ar
p ebt_among ebt_802_3 e1000e e100 crc_ccitt compat_xtables cdc_wdm cdc_acm br_netfilter arptable_filter arpt_mangle arp_tables adt7475 sch_cake em_cmp sch_teq
l em_nbyte sch_dsmark sch_pie act_ipt sch_gred cls_basic sch_prio em_text sch_codel sch_fq sch_sfq em_meta act_police sch_red act_connmark act_skbedit act_mir
red em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress sg tmp421 k10temp gpio_fan adt7410 adt7x10 i2c_tiny_usb i2c_piix
4 i2c_gpio i2c_algo_pcf i2c_algo_pca i2c_mux_pca954x i2c_mux_pca9541 i2c_mux_gpio i2c_mux i2c_dev ledtrig_usbport trelay ledtrig_oneshot ledtrig_heartbeat led
trig_gpio hwmon xt_set
[79570.079289]  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
sr_mod cdrom ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_RE
JECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables hwmon_vid msdos bonding ip6_gre ip_gre gre igb i2c_algo_bit
e1000 sit sctp libcrc32c ip6_tunnel tunnel6 tunnel4 ip_tunnel veth tun slip slhc mpls_gso mpls_iptunnel mpls_router vfat fat cifs nls_utf8 nls_iso8859_1 nls_c
p437 regmap_spi regmap_mmio
[79570.150751]  regmap_i2c regmap_core vxlan udp_tunnel ip6_udp_tunnel sha256_ssse3 sha256_generic md5 md4 hmac ecb des_generic leds_pca963x i2c_core xhci_pla
t_hcd ledtrig_transient button_hotplug ptp pps_core mii libphy zram zsmalloc lzo_decompress lzo_compress lz4_decompress lz4_compress [last unloaded: ifb]
[79570.177398] CPU: 1 PID: 11 Comm: ksoftirqd/1 Tainted: G        W       4.4.92 #0
[79570.184812] Hardware name: PC Engines APU, BIOS SageBios_PCEngines_APU-45 04/05/2014
[79570.192578]  0000000000000000 ffffffff812094a2 0000000000000000 ffffffffa0830a77
[79570.200096]  ffffffff81071bc3 ffff88003cfa8948 00000121854b6980 ffff88003cfa8800
[79570.207609]  ffff88003cfa8c90 0000000000000001 ffffffffa082f7ad ffff88003cfa8800
[79570.215125] Call Trace:
[79570.217600]  [<ffffffff812094a2>] ? dump_stack+0x5c/0x7a
[79570.222933]  [<ffffffff81071bc3>] ? warn_slowpath_common+0x73/0xa0
[79570.229125]  [<ffffffffa082f7ad>] ? 0xffffffffa082f7ad
[79570.234285]  [<ffffffff81422c80>] ? __qdisc_run+0x60/0x190
[79570.239789]  [<ffffffff8140a0a6>] ? __dev_queue_xmit+0x266/0x4c0
[79570.245808]  [<ffffffffa0974606>] ? 0xffffffffa0974606
[79570.250965]  [<ffffffff81428100>] ? tcf_action_exec+0x40/0x70
[79570.256729]  [<ffffffffa092b9af>] ? 0xffffffffa092b9af
[79570.261888]  [<ffffffff81098730>] ? load_balance+0x150/0x7e0
[79570.267560]  [<ffffffff814042ae>] ? get_rps_cpu+0x12e/0x300
[79570.273149]  [<ffffffff8142415b>] ? tc_classify+0x5b/0x120
[79570.278654]  [<ffffffff81405726>] ? __netif_receive_skb_core+0x486/0x870
[79570.285372]  [<ffffffff814088f6>] ? process_backlog+0x96/0x130
[79570.291221]  [<ffffffff8140877b>] ? net_rx_action+0x19b/0x280
[79570.296985]  [<ffffffff81074ee6>] ? __do_softirq+0xc6/0x1d0
[79570.302574]  [<ffffffff81075010>] ? run_ksoftirqd+0x20/0x40
[79570.308165]  [<ffffffff8108abf4>] ? smpboot_thread_fn+0xf4/0x150
[79570.314187]  [<ffffffff8108ab00>] ? sort_range+0x20/0x20
[79570.319518]  [<ffffffff81088858>] ? kthread+0xb8/0xd0
[79570.324587]  [<ffffffff810887a0>] ? kthread_worker_fn+0x170/0x170
[79570.330700]  [<ffffffff814d974f>] ? ret_from_fork+0x3f/0x70
[79570.336286]  [<ffffffff810887a0>] ? kthread_worker_fn+0x170/0x170
[79570.342406] ---[ end trace b5df2c2f1911307f ]---


21.10.20171094Base systemBug ReportVery LowCriticalno connection on any ethernet ports (incl internet) on ...TrunkUnconfirmed Task Description

Yesterday I upgraded the Linksys wrt1200ac from openwrt 15.05.1
to lede-17.01.4. The upgrade was done through a luci web
interface.

After reboot the wan connection was gone, as well as all local
ethernet ports. Wifi continued to work fine. The configuration
seems to have survived the upgrade. I couldn’t find anything
wrong with the configuration.

On the Internet port there were no packets coming in. On the
ethernet port 1 there are bootp/dhcp requests coming from the
router.

Not sure if that is relevant, but reverting back to 15.05.1
didn’t work either: the router is currently completely
inaccessible. I don’t have a serial cable, will probably order
one to try to debrick the thing.

19.10.20171085KernelBug ReportVery LowCriticalStreaming ieee80211 cmd timeouts followed by crashTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Linksys WRT3200ACM
- Software versions of LEDE release, packages, etc.: LEDE Reboot SNAPSHOT r5096-a29848c / LuCI Master (git-17.260.43176-678c15c)

Router had been up for less than 24 hours from last crash. Started streaming the following errors in syslog:

Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.284359] ieee80211 phy0: cmd 0×9122=UpdateEncryption timed out
Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.290490] ieee80211 phy0: return code: 0×1122 Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.295069] ieee80211 phy0: timeout: 0×1122 Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.299280] wlan0: failed to set key (0, e0:b5:2d:xx:xx:xx) to hardware (-5)
Thu Oct 19 16:50:41 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED e0:b5:2d:xx:xx:xx
Thu Oct 19 16:50:45 2017 kern.err kernel: [82670.356504] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
Thu Oct 19 16:50:45 2017 kern.err kernel: [82670.362367] ieee80211 phy0: return code: 0x051d
Thu Oct 19 16:50:45 2017 kern.err kernel: [82670.366924] ieee80211 phy0: timeout: 0x001d
Thu Oct 19 16:50:49 2017 kern.err kernel: [82674.372313] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
Thu Oct 19 16:50:49 2017 kern.err kernel: [82674.378197] ieee80211 phy0: return code: 0x001d
Thu Oct 19 16:50:49 2017 kern.err kernel: [82674.382749] ieee80211 phy0: timeout: 0x001d

Interspersed with these messages were a few:
Thu Oct 19 16:52:43 2017 daemon.notice hostapd: nl80211: nl80211_recv_beacons→nl_recvmsgs failed: -5

These then started showing up:
Thu Oct 19 16:54:56 2017 daemon.notice netifd: wan6 (1414): Command failed: Request timed out

Then a handful of these:
Thu Oct 19 16:56:00 2017 kern.err kernel: [82985.426468] ieee80211 phy0: cmd 0×9143=GetSeqno timed out
Thu Oct 19 16:56:00 2017 kern.err kernel: [82985.431902] ieee80211 phy0: return code: 0×1143 Thu Oct 19 16:56:00 2017 kern.err kernel: [82985.436450] ieee80211 phy0: timeout: 0×1143

Followed by this, including a crash:
Thu Oct 19 16:56:36 2017 kern.err kernel: [83021.558164] wlan0: failed to remove key (0, 78:7e:61:xx:xx:xx) from hardware (-5)
Thu Oct 19 16:56:36 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED e0:b5:2d:2a:89:30
Thu Oct 19 16:56:36 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED dc:41:5f:b9:0d:ba
Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.588715] ieee80211 phy0: cmd 0×9122=UpdateEncryption timed out
Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.594898] ieee80211 phy0: return code: 0×1122 Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.599463] ieee80211 phy0: timeout: 0×1122 Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.603666] wlan0: failed to remove key (0, dc:41:5f:xx:xx:xx) from hardware (-5)
Thu Oct 19 16:56:44 2017 kern.err kernel: [83029.646987] ieee80211 phy0: cmd 0×9125=BAStream timed out
Thu Oct 19 16:56:44 2017 kern.err kernel: [83029.652419] ieee80211 phy0: return code: 0×1125 Thu Oct 19 16:56:44 2017 kern.err kernel: [83029.656973] ieee80211 phy0: timeout: 0×1125 Thu Oct 19 16:56:48 2017 kern.err kernel: [83033.654789] ieee80211 phy0: cmd 0×9125=BAStream timed out
Thu Oct 19 16:56:48 2017 kern.err kernel: [83033.660221] ieee80211 phy0: return code: 0×1125 Thu Oct 19 16:56:48 2017 kern.err kernel: [83033.664769] ieee80211 phy0: timeout: 0×1125 Thu Oct 19 16:56:52 2017 kern.err kernel: [83037.666085] ieee80211 phy0: cmd 0×9125=BAStream timed out
Thu Oct 19 16:56:52 2017 kern.err kernel: [83037.671519] ieee80211 phy0: return code: 0×1125 Thu Oct 19 16:56:52 2017 kern.err kernel: [83037.676066] ieee80211 phy0: timeout: 0×1125

Thu Oct 19 16:56:52 2017 kern.alert kernel: [83037.680345] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
Thu Oct 19 16:56:52 2017 kern.alert kernel: [83037.688494] pgd = d303c000
Thu Oct 19 16:56:53 2017 kern.alert kernel: [83037.691221] [0000000c] *pgd=1369c831, *pte=00000000, *ppte=00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.697545] Internal error: Oops: 17 [#1] SMP ARM
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.702266] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CLASSIFY slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipvThu Oct 19 16:56:53 2017 kern.warn kernel: [83037.774820] ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun regmap_mmio ecb cmac uhci_hcd ohci_platform ohci_hcd gpio_button_hotplug
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.812372] CPU: 1 PID: 3044 Comm: hostapd Not tainted 4.9.54 #0
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.818403] Hardware name: Marvell Armada 380/385 (Device Tree)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.824346] task: df564e40 task.stack: d3718000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.828909] PC is at mwl_fwcmd_destroy_ba+0×98/0xf4 [mwlwifi]
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.834683] LR is at mwl_fwcmd_destroy_ba+0×34/0xf4 [mwlwifi]
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.840451] pc : [<bf18a624>] lr : [<bf18a5c0>] psr: 60000013
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.840451] sp : d3719c90 ip : 00000000 fp : 00000000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.851975] r10: dde78000 r9 : dde78048 r8 : dde78054
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.857220] r7 : ddfc1620 r6 : ddfc2924 r5 : 00000000 r4 : ddcb0000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.863771] r3 : 00000000 r2 : 00000002 r1 : 00000000 r0 : 00000000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.870324] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.877487] Control: 10c5387d Table: 1303c04a DAC: 00000051
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.883255] Process hostapd (pid: 3044, stack limit = 0xd3718210)
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.889372] Stack: (0xd3719c90 to 0xd371a000)
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.893745] 9c80: dde78054 00000007 d8008de8 ddfc45e0
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.901957] 9ca0: ddfc0be0 bf18aac8 d8008de8 ddfc1620 ddfc0be0 d3c51e14 d36b9ce0 de7e0000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.910168] 9cc0: 00000014 bf185b94 d8008800 00000002 00000001 d3c51e14 d81f5e40 de7e0000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.918379] 9ce0: 00000014 bf118c98 ddfc0be0 d36b94c0 d8008800 bf11b2dc 00000002 00000002
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.926589] 9d00: d8008800 ddfc0be0 d36b94c0 bf11c270 d8008800 00000000 00000000 d8008800
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.934800] 9d20: d3c51e20 bf11c3bc d36b94c0 00000454 d3c51e20 bf11c434 ddfc0000 d36b9000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.943012] 9d40: d3719d68 bf0e38e4 d3c51e20 0002000c 00000000 bf0ff534 bf108c84 c03c0e1c
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.951223] 9d60: bf0fee9a 80150014 59e7e961 0000068e d3c51e00 d3c51e10 d3c51e14 de7e0000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.959434] 9d80: ddfc0000 d36b9000 d3c51e00 d81f5e40 c03c0b94 d3475c00 d3719dcc 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.967645] 9da0: 00000008 c03c01d0 c0629cb0 d81f5e40 d81f5e40 c03c0b80 df4ba400 00000028
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.975857] 9dc0: d81f5e40 c03bfbd4 d3475c00 7fffffff 00000000 d81f5e40 00000000 d3719f68
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.984068] 9de0: 00000028 d3475c00 00000000 c03c0040 00000000 c021cb0c 00000028 d0851040
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.992278] 9e00: 00000000 00000be4 00000000 00000000 00000001 d3719f68 00000000 d3719e8c
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.000489] 9e20: df30f200 00000000 c0604fc8 00000000 00000000 c0380060 d3719f68 c03805f0
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.008701] 9e40: 00000000 00000000 00000000 00376010 00000028 beadcbec 00000000 d3719eb4
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.016912] 9e60: df30f200 c03807e8 c05ffec0 00000000 beadcc54 0038a030 00004000 c004f000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.025124] 9e80: dfbd2ef0 ffffffff e813b2d8 c0628400 d3719ecc 00000051 00008933 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.033334] 9ea0: 00000000 beadcc8c 00000020 00000010 00000000 00000000 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.041545] 9ec0: dfbd2ef0 c0605998 c05ffec0 6e616c77 d32552c0 60000013 df569500 d3255080
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.049755] 9ee0: 00000000 d3255080 d0029b20 c00f188c d0029b84 00000007 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.057966] 9f00: df564e40 c005aae0 d3719f08 d3719f08 df401180 d0029b00 df29dc38 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.066177] 9f20: df401580 df29dc38 df29dc38 00040936 d0029b20 df30f200 beadcc70 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.074388] 9f40: 00000128 c000ef04 d3718000 00000000 b6e9c740 c038138c 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.082599] 9f60: 00000000 fffffff7 d3719eac 0000000c 00000001 00000000 00000000 d3719e54
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.090809] 9f80: 00000000 00000006 00000000 00000000 00000000 00000000 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.099021] 9fa0: b6f1610c c000ed40 00000000 00000000 00000005 beadcc70 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.107231] 9fc0: 00000000 00000000 b6f1610c 00000128 b6e9cef0 00000000 0002516c b6e9c740
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.115443] 9fe0: beadcc18 beadcc04 b6eececc b6eec398 60000010 00000005 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.123678] [<bf18a624>] (mwl_fwcmd_destroy_ba [mwlwifi]) from [<bf18aac8>] (mwl_fwcmd_del_sta_streams+0x1d4/0×330 [mwlwifi])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.135037] [<bf18aac8>] (mwl_fwcmd_del_sta_streams [mwlwifi]) from [<bf185b94>] (mwl_mac80211_sta_remove+0×38/0x1c4 [mwlwifi])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.146598] [<bf185b94>] (mwl_mac80211_sta_remove [mwlwifi]) from [<bf118c98>] (drv_sta_state+0x16c/0×184 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.157290] [<bf118c98>] (drv_sta_state [mac80211]) from [<bf11b2dc>] (sta_info_move_state+0xbc/0x1d0 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.167629] [<bf11b2dc>] (sta_info_move_state [mac80211]) from [<bf11c270>] (sta_set_sinfo+0×954/0xa80 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.178054] [<bf11c270>] (sta_set_sinfo [mac80211]) from [<bf11c3bc>] (sta_info_destroy+0×20/0×28 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.188218] [<bf11c3bc>] (
sta_info_destroy [mac80211]) from [<bf11c434>] (sta_info_destroy_addr_bss+0x2c/0×44 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.199429] [<bf11c434>] (sta_info_destroy_addr_bss [mac80211]) from [<bf0e38e4>] (nl80211_del_station+0xe8/0xf0 [cfg80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.210711] [<bf0e38e4>] (nl80211_del_station [cfg80211]) from [<c03c0e1c>] (genl_rcv_msg+0×288/0×310)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.220059] [<c03c0e1c>] (genl_rcv_msg) from [<c03c01d0>] (netlink_rcv_skb+0×58/0xb4)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.227922] [<c03c01d0>] (netlink_rcv_skb) from [<c03c0b80>] (genl_rcv+0×20/0×34)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.235436] [<c03c0b80>] (genl_rcv) from [<c03bfbd4>] (netlink_unicast+0×138/0x1fc)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.243124] [<c03bfbd4>] (netlink_unicast) from [<c03c0040>] (netlink_sendmsg+0x2f0/0×310)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.251425] [<c03c0040>] (netlink_sendmsg) from [<c0380060>] (sock_sendmsg+0×14/0×24)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.259287] [<c0380060>] (sock_sendmsg) from [<c03805f0>] (_sys_sendmsg+0×184/0×228)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.267238] [<c03805f0>] (
_sys_sendmsg) from [<c038138c>] (sys_sendmsg+0×40/0×64)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.275104] [<c038138c>] (
sys_sendmsg) from [<c000ed40>] (ret_fast_syscall+0×0/0x3c)
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.283055] Code: e5840010 e5d81004 e5c41014 e598c000 (e59c300c)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.289200] —[ end trace 6c4677423c79f036 ]—

19.10.20171083Base systemBug ReportVery LowCriticalar71xx Kernel 4.9 PPTP Passthrough not workingTrunkUnconfirmed Task Description

today i compiled for my TP-Link mr3420 v2 with Kerenl 4.9 by simply changing the KERNEL_PATCHVER:=4.4 to KERNEL_PATCHVER:=4.9 in target/linux/ar71xx/Makefile , everything works good so far except i am not able to connect to the VPN which was working good previously with 4.4 kernel compiled lede a week back.

19.10.20171079KernelBug ReportVery LowCriticalWifi 5GHz & Kernel 4.4 vs 4.9 [Netgear R8000/bcm53xx]AllUnconfirmed Task Description

Tested on Netgear R8000/bcm53xx
LEDE Reboot SNAPSHOT r5099-5fff2f4 / LuCI Master (git-17.289.64212-462779c)

Since Kernel 4.9, the Wifi 5GHz (radio 0 and radio 2) does not work: visible, but unable to connect or disconnected after few seconds (unable to receive IP at all).

Today, I tested to compile the build but with the previous kernel 4.4, all Wifi 5GHz work.

The LEDE config (on the device) are strictly identical between both tests.

Attached all files about both build.

18.10.20171074Base systemBug ReportVery LowCriticalNETDEV WATCHDOG: wlan2 (mwifiex_sdio): transmit queue 1...TrunkUnconfirmed Task Description

- Device problem occurs on: WRT3200ACM
- Software versions of LEDE release, packages, etc.: LEDE Reboot SNAPSHOT r5096-a29848c / LuCI Master (git-17.260.43176-678c15c)
- Steps to reproduce: I’ve been consistently having problems with wlan2 going offline after the router has been up for a day or so, but just stumbled across this in dmesg. I’ll see if I can figure out the circumstances leading to it.

 

[85338.316517] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:316 dev_watchdog+0x1b4/0×234 [85338.324820] NETDEV WATCHDOG: wlan2 (mwifiex_sdio): transmit queue 1 timed out
[85338.331987] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CLASSIFY slhc rfcomm 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 mwifiex_sdio mwifiex iptable_mangle iptable_filter ipt_ECN ip_tables hidp hci_uart crc_ccitt btusb btmrvl_sdio btmrvl btintel bnep bluetooth hid evdev input_core mwlwifi mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport
[85338.404541] ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun regmap_mmio ecb cmac uhci_hcd ohci_platform ohci_hcd gpio_button_hotplug
[85338.442106] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.54 #0
[85338.448049] Hardware name: Marvell Armada 380/385 (Device Tree)
[85338.454003] [<c0016010>] (unwind_backtrace) from [<c0012220>] (show_stack+0×10/0×14)
[85338.461782] [<c0012220>] (show_stack) from [<c020c1a0>] (dump_stack+0x7c/0x9c)
[85338.469036] [<c020c1a0>] (dump_stack) from [<c0029218>] (warn+0xbc/0xec)
[85338.475939] [<c0029218>] (
warn) from [<c002927c>] (warn_slowpath_fmt+0×34/0×44)
[85338.483455] [<c002927c>] (warn_slowpath_fmt) from [<c03b6c38>] (dev_watchdog+0x1b4/0×234)
[85338.491661] [<c03b6c38>] (dev_watchdog) from [<c006ffe8>] (call_timer_fn+0×20/0×94)
[85338.499349] [<c006ffe8>] (call_timer_fn) from [<c0070220>] (run_timer_softirq+0x1c4/0×200)
[85338.507650] [<c0070220>] (run_timer_softirq) from [<c002d2b4>] (do_softirq+0xd0/0×204)
[85338.515775] [<c002d2b4>] (
do_softirq) from [<c002d66c>] (irq_exit+0×94/0xb8)
[85338.523029] [<c002d66c>] (irq_exit) from [<c0061e04>] (handle_domain_irq+0×90/0xb4)
[85338.530892] [<c0061e04>] (
handle_domain_irq) from [<c0009428>] (gic_handle_irq+0×50/0×94)
[85338.539277] [<c0009428>] (gic_handle_irq) from [<c0012c8c>] (irq_svc+0x6c/0×90)
[85338.546789] Exception stack(0xdf475f90 to 0xdf475fd8)
[85338.551860] 5f80: 00000001 00000000 00000000 c001b1c0
[85338.560071] 5fa0: 00000000 df474000 c0604fe4 00000002 c05ff168 00000000 df475fe8 00000001
[85338.568282] 5fc0: 00000000 df475fe0 c000f808 c000f80c 60000013 ffffffff
[85338.574925] [<c0012c8c>] (
irq_svc) from [<c000f80c>] (arch_cpu_idle+0x2c/0×38)
[85338.582355] [<c000f80c>] (arch_cpu_idle) from [<c005b154>] (cpu_startup_entry+0xf0/0x19c)
[85338.590567] [<c005b154>] (cpu_startup_entry) from [<000095ac>] (0x95ac)
[85338.597214] —[ end trace 7ee504210e2aead0 ]— [85338.601865] mwifiex_sdio mmc0:0001:1: 8504333 : Tx timeout(#1), bss_type-num = 1-0
[85344.871433] mwifiex_sdio mmc0:0001:1: 8504960 : Tx timeout(#2), bss_type-num = 1-0
[85350.631045] mwifiex_sdio mmc0:0001:1: 8505536 : Tx timeout(#3), bss_type-num = 1-0
[85356.400657] mwifiex_sdio mmc0:0001:1: 8506113 : Tx timeout(#4), bss_type-num = 1-0
[85366.309996] mwifiex_sdio mmc0:0001:1: 8507104 : Tx timeout(#5), bss_type-num = 1-0
[85376.309327] mwifiex_sdio mmc0:0001:1: 8508104 : Tx timeout(#6), bss_type-num = 1-0
[85386.318652] mwifiex_sdio mmc0:0001:1: 8509105 : Tx timeout(#7), bss_type-num = 1-0
[85386.326257] mwifiex_sdio mmc0:0001:1: tx_timeout_cnt exceeds threshold. Triggering card reset!
[85386.356950] mwifiex_sdio mmc0:0001:1: info: shutdown mwifiex...
[85386.362967] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.368924] mwifiex_sdio mmc0:0001:1: Failed to delete mgmt IEs!
[85386.374978] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.380928] mwifiex_sdio mmc0:0001:1: Failed to stop the BSS
[85386.387009] br-lan: port 4(wlan2) entered disabled state
[85386.394495] device wlan2 left promiscuous mode
[85386.398975] br-lan: port 4(wlan2) entered disabled state
[85386.404593] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.410562] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.416507] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.603147] mwifiex_sdio mmc0:0001:1: WLAN FW already running! Skip FW dnld
[85386.610161] mwifiex_sdio mmc0:0001:1: WLAN FW is active
[85396.707953] mwifiex_sdio mmc0:0001:1: mwifiex_cmd_timeout_func: Timeout cmd id = 0xa9, act = 0×0 [85396.716787] mwifiex_sdio mmc0:0001:1: num_data_h2c_failure = 0
[85396.722652] mwifiex_sdio mmc0:0001:1: num_cmd_h2c_failure = 0
[85396.728423] mwifiex_sdio mmc0:0001:1: is_cmd_timedout = 1
[85396.733842] mwifiex_sdio mmc0:0001:1: num_tx_timeout = 0
[85396.739178] mwifiex_sdio mmc0:0001:1: last_cmd_index = 3
[85396.744512] mwifiex_sdio mmc0:0001:1: last_cmd_id: b3 00 b3 00 b2 00 a9 00 b3 00
[85396.751940] mwifiex_sdio mmc0:0001:1: last_cmd_act: 00 00 00 00 00 00 00 00 00 00
[85396.759457] mwifiex_sdio mmc0:0001:1: last_cmd_resp_index = 2
[85396.765225] mwifiex_sdio mmc0:0001:1: last_cmd_resp_id: b3 80 b3 80 b2 80 b3 80 b3 80
[85396.773093] mwifiex_sdio mmc0:0001:1: last_event_index = 2
[85396.778603] mwifiex_sdio mmc0:0001:1: last_event: 37 00 55 00 43 00 55 00 55 00
[85396.785944] mwifiex_sdio mmc0:0001:1: data_sent=1 cmd_sent=1
[85396.791630] mwifiex_sdio mmc0:0001:1: ps_mode=0 ps_state=0
[85396.797372] mwifiex_sdio mmc0:0001:1: info: _mwifiex_fw_dpc: unregister device

24.07.2017927Base systemBug ReportVery LowCriticalSQUASHFS error: xz decompression failedlede-17.01Assigned Task Description

Ubiquiti AirGateway and Bullet M2
LEDE 17.01.2
Lighttpd
PHP7

Runs very well on boot up. Then after some interval ranging from minutes to days, the following typical error occurs, repeated numerous times with differing blocks:
Mon Jul 24 07:09:39 2017 kern.err kernel: [43650.730023] SQUASHFS error: xz decompression failed, data probably corrupt
Mon Jul 24 07:09:39 2017 kern.err kernel: [43650.735459] SQUASHFS error: squashfs_read_data failed to read block 0x1e5d9a

Following this the unit becomes unresponsive, very slow or reboots its self.
Tried on two different devices and get the same result.

Images produced with Imagebuilder with ipv6, usb, ppp, luci removed to give space on flash.

The exact same config on OpenWrt CC (but with php5) gives no problems.

root@BlueWave:~# free

           total       used       free     shared    buffers     cached

Mem: 28176 19956 8220 132 1460 4296
-/+ buffers/cache: 14200 13976
Swap: 0 0 0

root@BlueWave:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 4.8M 4.8M 0 100% /rom
tmpfs 13.8M 132.0K 13.6M 1% /tmp
/dev/mtdblock5 1.4M 508.0K 964.0K 35% /overlay
overlayfs:/overlay 1.4M 508.0K 964.0K 35% /
tmpfs 512.0K 0 512.0K 0% /dev


27.06.2017872Base systemBug ReportVery LowCriticalRelease image will brick Archer C7 v1.1 lede-17.01Unconfirmed Task Description

- Device problem occurs on: TP-Link Archer C7 v1.1
- Software versions of LEDE release, packages, etc: https://downloads.lede-project.org/releases/17.01.2/targets/ar71xx/generic/lede-17.01.2-ar71xx-generic-archer-c7-v1-squashfs-factory.bin - Steps to reproduce: trying to re-flash router with lede-17.01.2-ar71xx-generic-archer-c7-v1-squashfs-factory.bin image will result in bricked router stuck in reboot loop. I tried flashing from both factory image (from factory firmware) and sysupgrade image (from OpenWRT using both SSH and web interface). Both images result in bricked router.

Unbricking was done by forcing router into failsafe mode, SSH:in into it and uploading/flashing old firmware via NC from a PC.

I suggest pulling this image from a list of supported images for Archer C7 v1.1, until issues have been solved. Otherwise, it might result in bricked equipment.

02.06.2017823KernelBug ReportVery LowCriticalUSB WIFI dongle TP-LINK TP-WN726N 1.0(rt8188eus) cannot...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Raspberry Pi 3 Model B Rev 1.2, TP-LINK TP-WN726N 1.0(rt8188eus) USB WIFI dongle
- Software versions of LEDE release, r4297-1893b56 / LuCI Master (git-17.152.36261-b6dd992)
- Steps to reproduce:

 1. Compile rom with rt8xxxu driver and firmware.
 2. Insert TP-LINK TP-WN726N 1.0(rt8188eus) USB WIFI dongle
 3. Boot the system, log is attached.
 4. Type command "cat /ect/config/wireless" in console, TP-WN726N info is listed.
 5. Type command "ifconfig" in console, observe that TP-WN726N is not listed.
 6. Go to Luci web management tool, observe that TP-WN726N is listed, without signal strength. 

- More info:

 TP-LINK TP-WN726N 1.0(rt8188eus) USB WIFI dongle is tested on PC with Ubuntu 16.04, works fine.
24.05.2017801Base systemBug ReportVery LowCriticalR7800 wifi crashingTrunkUnconfirmed Task Description

- Device problem occurs on: Netgear Nighthawk X4S R7800
- Software versions of LEDE release, packages, etc.: LEDE Reboot SNAPSHOT r4173-5d48dc1146 / LuCI Master (git-17.141.68918-5ca3864)
- Steps to reproduce
Boot device, wait for it to crash within 24hours

The paste ending in Hn was recorder after wifi stopped working and i turned wifi off and on.
The paste ending in Wu happend about 30 minutes after that and could only be resolved by rebooting the device.

 


23.05.2017800KernelBug ReportVery LowCriticalath9k sta and ap mode change. system hangTrunkWaiting on reporter Task Description

mips device with ar9580 wireless card sta and ap mode change by use test.sh
test.sh
while [ 1 ]
do
mv /etc/config/wireless /etc/config/wirelessbak
mv /etc/config/wireless1 /etc/config/wireless
mv /etc/config/wirelessbak /etc/config/wireless1
/etc/init.d/network restart
sleep 50
done

I found the system will hang , It like a deadlock but I can’t verify

Use the same shell I change the ath9k code

just delete the full sleep timer

modify ath9k_ps_wakeup ath9k_ps_restore
delete mod_timer(&sc→sc_pm_lock,flags);
detete del_timer_sync(&sc→sc_pm_lock);
The system run ok

 


11.05.2017775Base systemBug ReportVery LowCriticalflashing kirkwood u-boot page not aligned [Zyxel NSA-32...TrunkUnconfirmed Task Description

[code]/e-data/4089-AD8E/tools # flash_erase /dev/mtd0 0 4
Erasing 128 Kibyte @ 60000 – 100 % complete[/code]

now when I flash the LEDE uboot I get this

[code]/e-data/4089-AD8E # nandwrite /dev/mtd0 kirkwood/generic/u-boot-nsa325/u-boot.kwb
Input file is not page aligned Data did not fit into device, due to bad blocks
: Success[/code]

the expected should be
[code]/ # nandwrite /dev/mtd0 /e-data/4089-AD8E/uboot.2016.05-tld-1.nsa325.mtd0.kwb
Writing data to block 0 at offset 0×0 Writing data to block 1 at offset 0×20000 Writing data to block 2 at offset 0×40000 Writing data to block 3 at offset 0×60000[/code]

now I can’t even turn off my device. Hopeful to be resolve asap.

10.04.2017698Base systemBug ReportVery LowCriticalNexx WT3020F wifi packet loss problemlede-17.01Unconfirmed Task Description

I have two this devices. I try to figure out which is the ideal firmware for it so I tested it with a few. I tested it with OpenWRT 15.05.1, LEDE 17.01.0 and Gargoyle 1.9.1/1.9.2. But I found a common issue. The device lose packets via wifi. Tested with several clients/devices. No matter what configuration I use. No problem on LAN but on wifi it lose a bunch of packets. Maybe it’s a driver issue? Would be good to figure out.

i.imgur.comqpycapq.jpg

I also noticed that the latency is unstable on wifi. I guess it’s also a related with this issue. Should I open another ticket for it?

29.03.2017665Base systemBug ReportVery LowCriticalLede 17.01.0-r3205-59508e3 on Nucom 5010UN v2 acting as...lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Nucom 5010UN v2 (brcm63xx)
- Software versions of LEDE release, packages, etc.: Just download and install latest Lede build (lede-17.01.0-r3205-59508e3) for Nucom 5010UN v2 from https://downloads.lede-project.org/releases/17.01.0/targets/brcm63xx/generic/lede-17.01.0-r3205-59508e3-brcm63xx-generic-R5010UNv2-squashfs-cfe.bin - Steps to reproduce: Configure Nucom 5010UN v2 as Wireless Routed Client
- Bug: After one hour or two, the Wireless Routed Clients looses connection with the Router it is connected to. It means, connecting by ssh or Luci website on Wireless Routed Client and running “ping 192.168.1.1” where 192.168.1.1 is the router it is connected to returns 100% of packets loss, also, “ping google.com” doesn’t work. But logging into Luci website and navigating to Network → WiFi, in Wireless Overview it shows as the Wireless Client Routed router is connected to the main one but there’s no working connection between them, at least pings are not working on both sides. Restarting the router seems to fix the issue but after one or two hours of uptime, the issue arises again.

Note, the bug was first introduced on OpenWrt Chaos Calmer 15.05 as OpenWrt Barrier Breaker does not suffer from this bug.

The following is as more complete explanation:

Hi,

i’ve just installed latest Lede-Project build, version 17.01.0-r3205-59508e3, on a Nucom 5010UN V2 router and everything seemed to work fine until i noticed that it keeps loosing Internet/network connection. The router is configured as Wireless Routed Client and the firmware was downloaded from https://downloads.lede-project.org/releases/17.01.0/targets/brcm63xx/generic/lede-17.01.0-r3205-59508e3-brcm63xx-generic-R5010UNv2-squashfs-cfe.bin

Also note, i think it’s a common bug inherited from OpenWrt as i suffered the same exact bug on an ADB P.DG A4001N1 router running latest build of OpenWrt, Chaos Calmer 15.05 and also 15.05.1. Also note that after posting on OpenWrt forums more users complained about the same bug.

Also, i want to state that in OpenWrt, the issue can be workarounded by downgrading to Barrier Breaker 14.07 which means the bug was introduced on the next build or next commits.

Anyway, my current setup is on Nucom 5010UN v2 is Wireless Routed Client [https://wiki.openwrt.org/doc/howto/clientmode#routed] + Static Route [https://wiki.openwrt.org/doc/recipes/routedclient#usingrouting] so clients on Nucom (Client Router) can “see” hosts on ADSL router (acting as AP).

I performed a clean install by resetting my custom configuration and the update went fine, but after reconfiguring the router as Wireless Routed Client it always happens that after being operating as Wifi Routed Client for about 2 hours suddenly it loses Internet connection/connection to AP. I say Internet connection because running a ping to google.com from ssh within inside the router doesn’t work but if i check through LUCI Network→Wifi it shows the router Wifi is still connected to the main ADSL router.

Here’s [https://forum.openwrt.org/viewtopic.php?pid=355180#p355180] a post on OpwnWrt site where i exposed the same issue for an ADB P.DG A4001N1 router and some other users replied complaining about the same issue.

These are the files modified by me through LUCI when configuring the routed as Wireless Routed Client, as i’ve been entirely configuring the router through LUCI except for the Static Route [https://wiki.openwrt.org/doc/recipes/routedclient#usingrouting] where i followed the indications on the link:
ddns
dhcp
dropbear
firewall
fstab
luci
network
rpcd
system
ucitrack
uh_t_tpd (I had to add underscores because of the buggy URL detection of the forum)
wireless

This is dhcp and dnmasq config:
cat etc config dhcp
config dnsmasq

      option domainneeded '1'
      option boguspriv '1'
      option localise_queries '1'
      option rebind_protection '1'
      option rebind_localhost '1'
      option local '/lan/'
      option domain 'lan'
      option expandhosts '1'
      option readethers '1'
      option leasefile '/tmp/dhcp.leases'
      option resolvfile '/tmp/resolv.conf.auto'
      option localservice '1'

config dhcp ‘lan’

      option interface 'lan'
      option dhcpv6 'server'
      option ra 'server'
      option ra_management '1'
      option start '100'
      option limit '150'
      option leasetime '12h'

config dhcp ‘wan’

      option interface 'wan'
      option ignore '1'

config odhcpd ‘odhcpd’

      option maindhcp '0'
      option leasefile '/tmp/hosts/odhcpd'
      option leasetrigger '/usr/sbin/odhcpd-update'

config host

      option name 'Host1'
      option mac 'XX:XX:XX:XX:XX:XY'
      option ip '192.168.2.2'

config host

      option name 'Host2'
      option mac 'XX:XX:XX:XX:XX:XZ'
      option ip '192.168.2.3'

config host

      option name 'ClientRouter'
      option mac 'XX:XX:XX:XX:XX:XX'
      option ip '192.168.2.92'

This is network:
cat etc config network
config interface ‘loopback’

      option ifname 'lo'
      option proto 'static'
      option ipaddr '127.0.0.1'
      option netmask '255.0.0.0'

config globals ‘globals’

      option ula_prefix 'fd05:6cbe:d307::/48'

config interface ‘lan’

      option force_link '1'
      option type 'bridge'
      option proto 'static'
      option netmask '255.255.255.0'
      option ip6assign '60'
      option _orig_ifname 'eth0.1'
      option _orig_bridge 'true'
      option ipaddr '192.168.2.1'
      option dns '8.8.8.8'
      option ifname 'eth0.1'

config switch

      option name 'eth0'
      option reset '1'
      option enable_vlan '1'

config switch_vlan

      option device 'eth0'
      option vlan '1'
      option ports '0 1 2 3 8t'

config interface ‘wwan’

      option proto 'dhcp'

This is wireless:
cat etc config wireless
config wifi-device ‘radio0’

      option type 'mac80211'
      option hwmode '11g'
      option path 'pci0000:00/0000:00:00.0/0000:01:00.0/bcma0:1'
      option disabled '0'
      option channel '13'
      option txpower '20'
      option country 'ES'

config wifi-device ‘radio1’

      option type 'mac80211'
      option path 'platform/ehci-platform/usb1/1-1/1-1:1.0'
      option txpower '20'
      option country 'ES'
      option hwmode '11a'
      option channel 'auto'

config wifi-iface

      option ssid 'MainADSLSSID'
      option device 'radio0'
      option mode 'sta'
      option bssid 'XX:XX:XX:XX:XX:YY'
      option key 'WiFiPassword'
      option encryption 'psk-mixed'
      option network 'wwan lan'
 


10.02.2017494Base systemBug ReportVery LowCriticalNETDEV WATCHDOG: ptm0 (): transmit queue 0 timed outAllNew Task Description

I have a VDSL line with Plusnet (UK) - the connection is pppoe - ptm0.101. With the supplied modem/router the line and connection is stable with no disconnects. With LEDE the connection is established and works well until it disconnects (sometimes as early as few minutes other times it stays connected up to an hour). After the disconnect there is no reconnection until a reboot. Restarting wan interface (ifdown wan/ifup wan) or dsl connection (/etc/init.d/dslcontrol stop/start) does not help.

Supply the following if possible:
- Device problem occurs on TP-w8970 and BTHomehub 5A (same crash on both lantiq based devices)
- Software versions of LEDE release, packages, etc. Tested on LEDE RC2, earlier LEDE snapshot from October 2016, Openwrt CC - same symptoms
- Steps to reproduce - VDSL connection on ptm0.101 via pppoe

Here is a trace of the crash (dmesg):

[ 1414.124413] —[ beginning trace ff034b465cdad16b ]— [ 1414.125631] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:303 dev_watchdog+0x1a8/0x2f0()
[ 1414.126471] NETDEV WATCHDOG: ptm0 (): transmit queue 0 timed out
[ 1414.132456] Modules linked in: ltq_ptm_vr9 option iptable_nat ath9k usb_wwan rt2800usb rt2800lib
pppoe nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 l2tp_ppp ipt_REJECT ipt_MASQUERADE ath9k_common
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_id 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_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial rt2x00usb
rt2x00lib pppox ppp_async 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 ltq_deu_vr9 iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN
ip_tables crc_itu_t crc_ccitt cdc_acm ath9k_hw ath10k_pci ath10k_core ath mac80211 cfg80211 compat drv_dsl_cpe_api
drv_mei_cpe xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net
ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark
ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6
nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc
l2tp_ip6 l2tp_ip l2tp_eth sit l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel ipcomp xfrm4_tunnel xfrm4_mode_tunnel
xfrm4_mode_transport xfrm4_mode_beet esp4 ah4 tunnel4 ip_tunnel tun af_key xfrm_user xfrm_ipcomp xfrm_algo br2684 atm
drv_ifxos echainiv sha256_generic sha1_generic jitterentropy_rng drbg md5 hmac des_generic cbc authenc usb_storage
dwc2 uhci_hcd ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache aead crypto_null
[ 1414.287462] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.7 #1
[ 1414.293130] Stack : 804b0000 00000001 00000000 00000000 805172b8 80516f43 80489a24 00000000
[ 1414.293130] 80673844 00010000 80510000 805159bc 80515abc 80055664 00000003 80510000
[ 1414.293130] 80491b4c 00000000 8048ff50 80511c44 80515abc 800535b0 00000006 00000001
[ 1414.293130] 00000000 80512000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1414.293130] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1414.293130] ...
[ 1414.328618] Call Trace:
[ 1414.331095] [<800178a8>] show_stack+0×50/0×84 [ 1414.335454] [<8002af48>] warn_slowpath_common+0xa0/0xd0
[ 1414.340670] [<8002afa4>] warn_slowpath_fmt+0x2c/0×38 [ 1414.345636] [<802e637c>] dev_watchdog+0x1a8/0x2f0
[ 1414.350348] [<8005f7b0>] call_timer_fn.isra.5+0×24/0×80 [ 1414.355557] [<8005fa2c>] run_timer_softirq+0x1a4/0×208 [ 1414.360694] [<8002de80>] __do_softirq+0×298/0x2b0
[ 1414.365388] [<80002430>] ret_from_irq+0×0/0×4 [ 1414.369760] [<80013a8c>] r4k_wait_irqoff+0×18/0×20 [ 1414.374528] [<8004ff6c>] cpu_startup_entry+0xa4/0xf8
[ 1414.379508] [<80539bf8>] start_kernel+0×474/0×494 [ 1414.384180]
[ 1414.385631] —[ end trace ff034b465cdad16b ]—

 


06.12.20171207Base systemBug ReportVery LowHigh"opkg update" fails on TP-LINK 1043ND v1 and other ar71...AllUnconfirmed Task Description

I have googled this problem and it occurs on other hardware too. Basically LEDE’s wget complains that there is no internet connection. This affects the latest stable AND the latest December 6 nightly.

Updates and testing are impossible for me because I don’t know what else to do from the command line.

Stable:

root@LEDE:~# opkg update
Downloading http://downloads.lede-project.org/releases/17.01.4/targets/ar71xx/generic/packages/Packages.gz
Failed to establish connection
*** Failed to download the package list from http://downloads.lede-project.org/releases/17.01.4/targets/ar71xx/generic/packages/Packages.gz

Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/base/Packages.gz
Failed to establish connection
*** Failed to download the package list from http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/base/Packages.gz

Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/luci/Packages.gz
Failed to establish connection
*** Failed to download the package list from http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/luci/Packages.gz

Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/packages/Packages.gz
Failed to establish connection
*** Failed to download the package list from http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/packages/Packages.gz

Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/routing/Packages.gz
Failed to establish connection
*** Failed to download the package list from http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/routing/Packages.gz

Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/telephony/Packages.gz
Failed to establish connection
*** Failed to download the package list from http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/telephony/Packages.gz

Collected errors:
 * opkg_download: Failed to download http://downloads.lede-project.org/releases/17.01.4/targets/ar71xx/generic/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/base/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/luci/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/routing/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/telephony/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

root@LEDE:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network unreachable

In the latest nightly, pinging 8.8.8.8 works, and using wget to download from an IP works. December 6:

root@LEDE:~# opkg update                                                                                                                                  
Downloading http://downloads.lede-project.org/snapshots/targets/ar71xx/generic/packages/Packages.gz                                                       
Failed to establish connection                                                                                                                            
*** Failed to download the package list from http://downloads.lede-project.org/snapshots/targets/ar71xx/generic/packages/Packages.gz                      
                                                                                                                                                          
Downloading http://downloads.lede-project.org/snapshots/packages/mips_24kc/base/Packages.gz                                                               
Failed to establish connection                                                                                                                            
*** Failed to download the package list from http://downloads.lede-project.org/snapshots/packages/mips_24kc/base/Packages.gz                              
                                                                                                                                                          
Downloading http://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/Packages.gz                                                               
Failed to establish connection                                                                                                                            
*** Failed to download the package list from http://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/Packages.gz                              
                                                                                                                                                          
Downloading http://downloads.lede-project.org/snapshots/packages/mips_24kc/packages/Packages.gz                                                           
Failed to establish connection                                                                                                                            
*** Failed to download the package list from http://downloads.lede-project.org/snapshots/packages/mips_24kc/packages/Packages.gz                          
                                                                                                                                                          
Downloading http://downloads.lede-project.org/snapshots/packages/mips_24kc/routing/Packages.gz                                                            
Failed to establish connection                                                                                                                            
*** Failed to download the package list from http://downloads.lede-project.org/snapshots/packages/mips_24kc/routing/Packages.gz                           
                                                                                                                                                          
Downloading http://downloads.lede-project.org/snapshots/packages/mips_24kc/telephony/Packages.gz                                                          
Failed to establish connection                                                                                                                            
*** Failed to download the package list from http://downloads.lede-project.org/snapshots/packages/mips_24kc/telephony/Packages.gz                         
                                                                                                                                                          
Collected errors:                                                                                                                                         
 * opkg_download: Failed to download http://downloads.lede-project.org/snapshots/targets/ar71xx/generic/packages/Packages.gz, wget returned 4.            
 * opkg_download: Check your network settings and connectivity.                                                                                           
                                                                                                                                                          
 * opkg_download: Failed to download http://downloads.lede-project.org/snapshots/packages/mips_24kc/base/Packages.gz, wget returned 4.                    
 * opkg_download: Check your network settings and connectivity.                                                                                           
                                                                                                                                                          
 * opkg_download: Failed to download http://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/Packages.gz, wget returned 4.                    
 * opkg_download: Check your network settings and connectivity.                                                                                           
                                                                                                                                                          
 * opkg_download: Failed to download http://downloads.lede-project.org/snapshots/packages/mips_24kc/packages/Packages.gz, wget returned 4.                
 * opkg_download: Check your network settings and connectivity.                                                                                           
                                                                                                                                                          
 * opkg_download: Failed to download http://downloads.lede-project.org/snapshots/packages/mips_24kc/routing/Packages.gz, wget returned 4.                 
 * opkg_download: Check your network settings and connectivity.                                                                                           
                                                                                                                                                          
 * opkg_download: Failed to download http://downloads.lede-project.org/snapshots/packages/mips_24kc/telephony/Packages.gz, wget returned 4.               
 * opkg_download: Check your network settings and connectivity.                                                                                           

root@LEDE:~# ping 8.8.8.8                                                                                                                                 
PING 8.8.8.8 (8.8.8.8): 56 data bytes                                                                                                                     
64 bytes from 8.8.8.8: seq=0 ttl=58 time=63.442 ms                                                                                                        
64 bytes from 8.8.8.8: seq=1 ttl=58 time=39.018 ms                                                                                                        
64 bytes from 8.8.8.8: seq=2 ttl=58 time=34.380 ms                                                                                                        
05.12.20171206Base systemBug ReportVery LowHighath kernel oops on bootlede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on :
Meraki MR18
- Software versions of LEDE release, packages, etc.
Standard 17.01.4.
- Steps to reproduce
This is happening on a Meraki MR18, bootstrapped using @riptidewave93s bringup method described at https://medium.com/openwrt-iot/lede-openwrt-installing-firmware-on-meraki-mr18-e96e4e081710. It was then sysupgraded to 17.01, and then 17.01.4 when appropriate.

Following a LEDE factory reset in order to wipe the configuration, it is now seemingly unable to bring up 2 of the 3 radio interfaces. The following output has been observed in dmesg, where it seems that the ath module is causing a kernel oops.

My other MR18 with LEDE 17.04.1 has not been reset in this manner, and continues to work, and does not exhibit the kernel oops on boot.

‘iw phy’ lists all 3 radios, whereas ‘iw dev’ lists only wlan2.

 

root@wap01:~# dmesg
[ 0.000000] Linux version 4.4.92 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3102-0224e32) ) #0 Mon Oct 16 15:21:43 2017
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] No valid device tree found, continuing without
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 8042a4d0, node_mem_map 81000000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: board=MR18 mtdparts=ar934x-nfc:512k(nandloader)ro,8M(kernel),8M(recovery),113664k(ubi),128k@130944k(odm-caldata)ro console=ttyS0,115200 rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 125008K/131072K available (3384K kernel code, 160K rwdata, 464K rodata, 272K init, 204K bss, 6064K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[ 0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[ 0.008281] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[ 0.071178] pid_max: default: 32768 minimum: 301
[ 0.076185] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.083229] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.092549] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.103047] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.110398] NET: Registered protocol family 16
[ 0.116135] MIPS: machine is Meraki MR18
[ 0.120356] SGMII cal value = 0×1 [ 0.137188] ar71xx: using random MAC address for eth0
[ 0.355689] registering PCI controller with io_map_base unset
[ 0.361902] registering PCI controller with io_map_base unset
[ 0.368044] Can’t analyze schedule() prologue at 800670fc
[ 0.381023] PCI host bridge to bus 0000:00
[ 0.385391] pci_bus 0000:00: root bus resource [mem 0×10000000-0x11ffffff]
[ 0.392734] pci_bus 0000:00: root bus resource [io 0×0000]
[ 0.398657] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.405880] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.414334] pci 0000:00:00.0: [168c:0033] type 00 class 0×028000 [ 0.414390] pci 0000:00:00.0: reg 0×10: [mem 0×00000000-0x0001ffff 64bit]
[ 0.414443] pci 0000:00:00.0: reg 0×30: [mem 0×00000000-0x0000ffff pref]
[ 0.414500] pci 0000:00:00.0: supports D1
[ 0.414513] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.414688] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.414715] pci 0000:00:00.0: BAR 0: assigned [mem 0×10000000-0x1001ffff 64bit]
[ 0.422531] pci 0000:00:00.0: BAR 6: assigned [mem 0×10020000-0x1002ffff pref]
[ 0.430305] PCI host bridge to bus 0000:01
[ 0.434679] pci_bus 0000:01: root bus resource [mem 0×12000000-0x13ffffff]
[ 0.441991] pci_bus 0000:01: root bus resource [io 0×0001]
[ 0.447922] pci_bus 0000:01: root bus resource [??? 0×00000000 flags 0×0]
[ 0.455137] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.463589] pci 0000:01:00.0: [168c:0033] type 00 class 0×028000 [ 0.463643] pci 0000:01:00.0: reg 0×10: [mem 0×00000000-0x0001ffff 64bit]
[ 0.463696] pci 0000:01:00.0: reg 0×30: [mem 0×00000000-0x0000ffff pref]
[ 0.463752] pci 0000:01:00.0: supports D1
[ 0.463764] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[ 0.463956] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.463982] pci 0000:01:00.0: BAR 0: assigned [mem 0×12000000-0x1201ffff 64bit]
[ 0.471768] pci 0000:01:00.0: BAR 6: assigned [mem 0×12020000-0x1202ffff pref]
[ 0.479477] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.484756] pci 0000:01:00.0: using irq 41 for pin 1
[ 0.490601] clocksource: Switched to clocksource MIPS
[ 0.496799] NET: Registered protocol family 2
[ 0.502181] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.509600] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.516405] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.523240] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.529462] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.536355] NET: Registered protocol family 1
[ 0.541046] PCI: CLS 0 bytes, default 32
[ 0.544625] Crashlog allocated RAM at address 0x3f00000
[ 0.561412] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.567618] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.580210] io scheduler noop registered
[ 0.584419] io scheduler deadline registered (default)
[ 0.590054] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.598964] console [ttyS0] disabled
[ 0.622846] serial8250.0: ttyS0 at MMIO 0×18020000 (irq = 11, base_baud = 2500000) is a 16550A
[ 0.632027] console [ttyS0] enabled
[ 0.639437] bootconsole [early0] disabled
[ 0.651742] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[ 0.658192] nand: Hynix NAND 128MiB 3,3V 8-bit
[ 0.662725] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.673052] Scanning device for bad blocks
[ 0.690187] Bad eraseblock 143 at 0x0000011e0000
[ 0.774205] 5 cmdlinepart partitions found on MTD device ar934x-nfc
[ 0.780564] Creating 5 MTD partitions on “ar934x-nfc”:
[ 0.785792] 0×000000000000-0×000000080000 : “nandloader” [ 0.792262] 0×000000080000-0×000000880000 : “kernel” [ 0.798504] 0×000000880000-0×000001080000 : “recovery” [ 0.804975] 0×000001080000-0x000007f80000 : “ubi” [ 0.811127] 0x000007fe0000-0×000008000000 : “odm-caldata” [ 0.826459] libphy: ag71xx_mdio: probed
[ 1.491062] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:03 [uid=004dd072, driver=Atheros 8035 ethernet]
[ 1.501751] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 1.509674] NET: Registered protocol family 10
[ 1.517933] NET: Registered protocol family 17
[ 1.522545] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.535425] 8021q: 802.1Q VLAN Support v1.8
[ 1.542669] UBI: auto-attach mtd3
[ 1.545870] ubi0: attaching mtd3
[ 2.163553] random: nonblocking pool is initialized
[ 2.936556] ubi0: scanning is finished
[ 2.957334] ubi0: attached mtd3 (name “ubi”, size 111 MiB)
[ 2.962939] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[ 2.969907] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 2.976710] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[ 2.983601] ubi0: good PEBs: 887, bad PEBs: 1, corrupted PEBs: 0
[ 2.989689] ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
[ 2.997020] ubi0: max/mean erase counter: 5/1, WL threshold: 4096, image sequence number: 0
[ 3.005495] ubi0: available PEBs: 0, total reserved PEBs: 887, PEBs reserved for bad PEB handling: 19
[ 3.014890] ubi0: background thread “ubi_bgt0d” started, PID 281
[ 3.022538] block ubiblock0_7: created from ubi0:7(rootfs)
[ 3.028103] ubiblock: device ubiblock0_7 (rootfs) set to be root filesystem
[ 3.035202] hctosys: unable to open rtc device (rtc0)
[ 3.048290] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 3.056554] Freeing unused kernel memory: 272K
[ 3.852046] init: Console is alive
[ 3.855661] init: - watchdog -
[ 4.500248] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.559283] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.568181] init: - preinit -
[ 5.026626] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 8.140838] UBIFS (ubi0:8): background thread “ubifs_bgt0_8” started, PID 352
[ 8.221278] UBIFS (ubi0:8): recovery needed
[ 8.369959] UBIFS (ubi0:8): recovery completed
[ 8.374576] UBIFS (ubi0:8): UBIFS: mounted UBI device 0, volume 8, name “rootfs_data” [ 8.382533] UBIFS (ubi0:8): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 8.392594] UBIFS (ubi0:8): FS size: 56770560 bytes (54 MiB, 440 LEBs), journal size 2838528 bytes (2 MiB, 22 LEBs)
[ 8.403177] UBIFS (ubi0:8): reserved for root: 2681413 bytes (2618 KiB)
[ 8.409890] UBIFS (ubi0:8): media format: w4/r0 (latest is w4/r0), UUID 09620A94-9D7B-4368-AA5D-6EBEFB8A1C9A, small LPT model
[ 8.443717] mount_root: switching to ubifs overlay
[ 8.467726] urandom-seed: Seeding with /etc/urandom.seed
[ 8.562556] eth0: link up (1000Mbps/Full duplex)
[ 8.567263] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.668732] eth0: link down
[ 8.683277] procd: - early -
[ 8.686279] procd: - watchdog -
[ 9.297752] procd: - watchdog -
[ 9.301172] procd: - ubus -
[ 9.363301] procd: - init -
[ 10.614195] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.624283] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.638306] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 10.646472] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 10.656313] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.667657] nf_conntrack version 0.5.0 (1957 buckets, 7828 max)
[ 10.700467] xt_time: kernel timezone is -0000
[ 10.745027] PPP generic driver version 2.4.2
[ 10.752078] NET: Registered protocol family 24
[ 10.794208] ath: EEPROM regdomain: 0×0 [ 10.794224] ath: EEPROM indicates default country code should be used
[ 10.794231] ath: doing EEPROM country→regdmn map search
[ 10.794247] ath: country maps to regdmn code: 0x3a
[ 10.794256] ath: Country alpha2 being used: US
[ 10.794263] ath: Regpair used: 0x3a
[ 10.809335] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’ [ 10.813371] ieee80211 phy0: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[ 10.820216] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
[ 10.852952] ath: EEPROM regdomain: 0×0 [ 10.852968] ath: EEPROM indicates default country code should be used
[ 10.852976] ath: doing EEPROM country→regdmn map search
[ 10.852992] ath: country maps to regdmn code: 0x3a
[ 10.853001] ath: Country alpha2 being used: US
[ 10.853008] ath: Regpair used: 0x3a
[ 10.861819] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ [ 10.865810] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40
[ 10.872605] PCI: Enabling device 0000:01:00.0 (0000 → 0002)
[ 10.907139] ath: EEPROM regdomain: 0×0 [ 10.907155] ath: EEPROM indicates default country code should be used
[ 10.907162] ath: doing EEPROM country→regdmn map search
[ 10.907178] ath: country maps to regdmn code: 0x3a
[ 10.907186] ath: Country alpha2 being used: US
[ 10.907194] ath: Regpair used: 0x3a
[ 10.915446] ieee80211 phy2: Selected rate control algorithm ‘minstrel_ht’ [ 10.919427] ieee80211 phy2: Atheros AR9300 Rev:4 mem=0xb2000000, irq=41
[ 10.929518] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 16.210465] device eth0 entered promiscuous mode
[ 16.228636] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 17.275843] ath: EEPROM regdomain: 0x833a
[ 17.279912] ath: EEPROM indicates we should expect a country code
[ 17.286133] ath: doing EEPROM country→regdmn map search
[ 17.291530] ath: country maps to regdmn code: 0×37 [ 17.296385] ath: Country alpha2 being used: GB [ 17.300899] ath: Regpair used: 0×37 [ 17.304437] ath: regdomain 0x833a dynamically updated by user
[ 17.310338] ath: EEPROM regdomain: 0x833a
[ 17.314410] ath: EEPROM indicates we should expect a country code
[ 17.320587] ath: doing EEPROM country→regdmn map search
[ 17.325980] ath: country maps to regdmn code: 0×37 [ 17.330845] ath: Country alpha2 being used: GB [ 17.335350] ath: Regpair used: 0×37 [ 17.338880] ath: regdomain 0x833a dynamically updated by user
[ 17.344769] ath: EEPROM regdomain: 0x833a
[ 17.348832] ath: EEPROM indicates we should expect a country code
[ 17.355025] ath: doing EEPROM country→regdmn map search
[ 17.360406] ath: country maps to regdmn code: 0×37 [ 17.365270] ath: Country alpha2 being used: GB [ 17.369776] ath: Regpair used: 0×37 [ 17.373324] ath: regdomain 0x833a dynamically updated by user
[ 18.005216] ————[ cut here ]———— [ 18.009925] WARNING: CPU: 0 PID: 1022 at compat-wireless-2017-01-31/net/mac80211/driver-ops.h:167 0×87681850 [mac80211@87680000+0x607a0]()
[ 18.022581] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT spi_gpio 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_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
[ 18.081941] CPU: 0 PID: 1022 Comm: iw Not tainted 4.4.92 #0
[ 18.087592] Stack : 803dcb4c 00000000 00000001 80430000 00000000 00000000 00000000 00000000
[ 18.087592] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 18.087592] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 18.087592] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 18.087592] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 18.087592] ...
[ 18.123953] Call Trace:[<800719e8>] 0x800719e8
[ 18.128470] [<800719e8>] 0x800719e8
[ 18.132017] [<800817e4>] 0x800817e4
[ 18.135560] [<87681850>] 0×87681850 [mac80211@87680000+0x607a0]
[ 18.141576] [<8008189c>] 0x8008189c
[ 18.145110] [<802aa3bc>] 0x802aa3bc
[ 18.148658] [<800d68ec>] 0x800d68ec
[ 18.152209] [<87681850>] 0×87681850 [mac80211@87680000+0x607a0]
[ 18.158219] [<8769e5b4>] 0x8769e5b4 [mac80211@87680000+0x607a0]
[ 18.164232] [<875dd020>] 0x875dd020 [cfg80211@875c0000+0x36a40]
[ 18.170237] [<802aa3bc>] 0x802aa3bc
[ 18.173783] [<80205048>] 0×80205048 [ 18.177318] [<802e4fb0>] 0x802e4fb0
[ 18.180872] [<802e7de0>] 0x802e7de0
[ 18.184419] [<802e7b64>] 0x802e7b64
[ 18.187957] [<802e6fa4>] 0x802e6fa4
[ 18.191507] [<802aa2d0>] 0x802aa2d0
[ 18.195044] [<802e7b4c>] 0x802e7b4c
[ 18.198582] [<802e6808>] 0x802e6808
[ 18.202132] [<802aa3cc>] 0x802aa3cc
[ 18.205677] [<802e6d70>] 0x802e6d70
[ 18.209210] [<801ec428>] 0x801ec428
[ 18.212760] [<802aec1c>] 0x802aec1c
[ 18.216299] [<802a0640>] 0x802a0640
[ 18.219834] [<802a1a58>] 0x802a1a58
[ 18.223384] [<800f0284>] 0x800f0284
[ 18.226923] [<800f326c>] 0x800f326c
[ 18.230462] [<802d1d80>] 0x802d1d80
[ 18.234010] [<8034c024>] 0x8034c024
[ 18.237552] [<80076754>] 0×80076754 [ 18.241094] [<8011c690>] 0x8011c690
[ 18.244640] [<801194f0>] 0x801194f0
[ 18.248180] [<802a2984>] 0x802a2984
[ 18.251727] [<801071b0>] 0x801071b0
[ 18.255263] [<80062c6c>] 0x80062c6c
[ 18.258800]
[ 18.260310] —[ end trace adb867f205f892d9 ]— [ 18.879651] eth0: link up (1000Mbps/Full duplex)
[ 18.885871] br-lan: port 1(eth0) entered forwarding state
[ 18.891425] br-lan: port 1(eth0) entered forwarding state
[ 18.990866] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 20.890648] br-lan: port 1(eth0) entered forwarding state
root@wap01:~# uptime
14:31:37 up 0 min, load average: 0.50, 0.16, 0.05
root@wap01:~# ifconfig -a
br-lan Link encap:Ethernet HWaddr 00:18:0A:84:3A:F1

        inet addr:172.24.32.15  Bcast:172.24.32.255  Mask:255.255.255.0
        inet6 addr: fe80::218:aff:fe84:3af1/64 Scope:Link
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:7693 errors:0 dropped:0 overruns:0 frame:0
        TX packets:3075 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000 
        RX bytes:1027812 (1003.7 KiB)  TX bytes:753010 (735.3 KiB)

eth0 Link encap:Ethernet HWaddr 00:18:0A:84:3A:F1

        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:7693 errors:0 dropped:0 overruns:0 frame:0
        TX packets:3076 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000 
        RX bytes:1137914 (1.0 MiB)  TX bytes:753100 (735.4 KiB)
        Interrupt:4 

lo Link encap:Local Loopback

        inet addr:127.0.0.1  Mask:255.0.0.0
        inet6 addr: ::1/128 Scope:Host
        UP LOOPBACK RUNNING  MTU:65536  Metric:1
        RX packets:16 errors:0 dropped:0 overruns:0 frame:0
        TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1 
        RX bytes:1621 (1.5 KiB)  TX bytes:1621 (1.5 KiB)

wlan2 Link encap:UNSPEC HWaddr 00-18-0A-84-3A-F4-30-30-00-00-00-00-00-00-00-00

        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:121 errors:0 dropped:0 overruns:0 frame:0
        TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000 
        RX bytes:24004 (23.4 KiB)  TX bytes:0 (0.0 B)

root@wap01:~#

02.12.20171203Base systemBug ReportVery LowHighKernel panics reading and writing SD cards using mmc-mt...TrunkUnconfirmed Task Description

I am getting kernel panics when reading and writing files to SD card / mmc using mt7621 devices and 4.9.x kernel (using mtk_sd driver included in LEDE trunk via 0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch). 4.4.x kernels showed no problems.

Occurs with multiple devices (have tested ZBT WG3526 and WE1326 so far), have tried multiple snapshots and compiling from latest trunk, always results in the same problem. No issue on same devices with 17.01.x releases with 4.4.x kernel.

Steps to reproduce:

  1. mount mmc partition (seems to mount and create directories ok)
  2. copy file to mounted partition (file of correct size will be created but corrupt)
  3. OR copy/read files from sd card
  4. kernel will panic (see below)
root@LEDE:/# mount /dev/mmcblk0p1 /mnt/
root@LEDE:/# mkdir /mnt/testdir
root@LEDE:/# cp /tmp/4MBfile /mnt/testdir/
root@LEDE:/# [  268.391450] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 8f6e24ac, ra == 8f6e2480
[  268.402055] Oops[#1]:
[  268.404321] CPU: 0 PID: 415 Comm: mmcqd/0 Not tainted 4.9.65 #0
[  268.410213] task: 8fd76fa0 task.stack: 8f5aa000
[  268.414717] $ 0   : 00000000 80520000 00000080 8054a078
[  268.419937] $ 4   : 8054a088 00000001 fffff495 81490498
[  268.425152] $ 8   : 00000100 00008400 00000000 000a2010
[  268.430368] $12   : 00000001 00000008 00000038 00427ce4
[  268.435581] $16   : 8fe73800 8f6e850c be130000 be130000
[  268.440798] $20   : 8f76c000 00000000 00001000 8fe73a40
[  268.446012] $24   : 00000000 80058e10                  
[  268.451228] $28   : 8f5aa000 8f5abc40 8f6e8434 8f6e2480
[  268.456443] Hi    : 00000003
[  268.459304] Lo    : 00000001
[  268.462190] epc   : 8f6e24ac 0x8f6e24ac
[  268.466007] ra    : 8f6e2480 0x8f6e2480
[  268.469819] Status: 11008403 KERNEL EXL IE 
[  268.473995] Cause : 40800008 (ExcCode 02)
[  268.477978] BadVA : 00000000
[  268.480841] PrId  : 0001992f (MIPS 1004Kc)
[  268.484911] 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 slhc 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 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 vfat fat nls_utf8 nls_iso8859_1 nls_cp437 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
Process mmcqd/0 (pid: 415, threadinfo=8f5aa000, task=8fd76fa0, tls=00000000)
[  268.564700] Stack : 00020002 8f5abc44 8f5abc44 00000000 00000000 8f5abc54 8f5abc54 8f7209e0
[  268.573047]         00000000 00000000 8f6e8000 00000000 0000004e fffff495 804c0000 8f6e851c
[  268.581391]         00000000 8fe73a18 00000001 0000000d 8fe40000 00000900 00000000 00000000
[  268.589733]         00000000 00000195 8fe73800 8f6e8434 8f6e8434 8f6e8688 00000000 8f5abe24
[  268.598078]         8f6e8568 8fe73a18 8f6901c0 8f6e2850 8ff68900 00000001 00000018 8102d700
[  268.606423]         ...
[  268.608863] Call Trace:
[  268.611298] [<8f6e24ac>] 0x8f6e24ac
[  268.614773] Code: 14400009  8fa60034  26a20080 <8ea30000> 26b50004  ae430018  1455fffc  00000000  26d6ff80 
[  268.624511] 
[  268.626258] ---[ end trace 71c77f6aa019b37d ]---
[  268.632836] Kernel panic - not syncing: Fatal exception
[  268.639868] Rebooting in 3 seconds..

May be related to FS#1011 and LEDE Forum post


30.11.20171200KernelBug ReportVery LowHighar71xx/mikrotik: RB951G-2HnD boot loopTrunkUnconfirmed Task Description

MikroTik RB951G-2HnD enters in boot loop with recent snapshots. Tested with 2017-11-30 snapshot.
I remember that the router was running fine already with kernel 4.9 builds.
Also tested a custom build (r5442-b0b289e) but switched back to kernel 4.4, was it works fine.
Maybe it is worth mentioning that the same build/snapshot works fine with other MikroTik routers (RB951Ui-2nD).

OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80060000...

[    0.000000] Linux version 4.9.65 (buildbot@builds) (gcc version 5.5.0 (LEDE GCC 5.5.0 r5387-370ce1f) ) #0 Fri Nov 24 12:09:11 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] OF: fdt:No valid device tree found, continuing without
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: no-uart parts=1 boot_part_size=4194304 gpio=216619 HZ=300000000 mem=128M kmac=D4:CA:6D:93:00:98 board=951G boot=0 mlc=4 console=ttyS0,115200 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 122432K/131072K available (3732K kernel code, 164K rwdata, 896K rodata, 2048K init, 222K bss, 8640K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:600.000MHz, DDR:450.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns
[    0.000008] sched_clock: 32 bits at 300MHz, resolution 3ns, wraps every 7158278654ns
[    0.008860] Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
[    0.081948] pid_max: default: 32768 minimum: 301
[    0.087288] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094803] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.105267] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.116453] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.124482] NET: Registered protocol family 16
[    0.131083] MIPS: machine is MikroTik RouterBOARD 951G-2HnD
[    0.400011] clocksource: Switched to clocksource MIPS
[    0.406754] NET: Registered protocol family 2
[    0.412588] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.420546] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.427766] TCP: Hash tables configured (established 1024 bind 1024)
[    0.435076] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.441747] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.449094] NET: Registered protocol family 1
[    2.570025] random: fast init done
[    2.738294] Crashlog allocated RAM at address 0x3f00000
[    2.745294] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    2.759509] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.766172] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.859440] io scheduler noop registered
[    2.863936] io scheduler deadline registered (default)
[    2.870299] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.880093] console [ttyS0] disabled
[    2.904290] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    2.914093] console [ttyS0] enabled
[    2.914093] console [ttyS0] enabled
[    2.921652] bootconsole [early0] disabled
[    2.921652] bootconsole [early0] disabled
[    2.936160] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
[    2.942768] nand: Toshiba NAND 128MiB 3,3V 8-bit
[    2.947537] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.955396] CPU 0 Unable to handle kernel paging request at virtual address 0000022c, epc == 80062b64, ra == 8029ac70
[    2.966364] Oops[#1]:
[    2.968721] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.65 #0
[    2.974658] task: 87c2c000 task.stack: 87c30000
[    2.979330] $ 0   : 00000000 80710000 00000200 00000000
[    2.984760] $ 4   : 871b0810 00000800 00000000 00000000
[    2.990190] $ 8   : 00000000 8020db30 00000003 2073697a
[    2.995619] $12   : 6f756e64 00010018 00000000 2c204d61
[    3.001049] $16   : 871b0810 00000000 804f1220 00000000
[    3.006478] $20   : 807122d0 804f1210 805102ec 80710000
[    3.011908] $24   : 00000001 802382b0                  
[    3.017338] $28   : 87c30000 87c31d10 80710000 8029ac70
[    3.022768] Hi    : 00000000
[    3.025743] Lo    : 00000040
[    3.028740] epc   : 80062b64 rb95x_nand_scan_fixup+0x20/0x2c
[    3.034597] ra    : 8029ac70 ar934x_nfc_probe+0x4b4/0x598
[    3.040168] Status: 1100c403	KERNEL EXL IE 
[    3.044515] Cause : 0080000c (ExcCode 03)
[    3.048654] BadVA : 0000022c
[    3.051630] PrId  : 0001974c (MIPS 74Kc)
[    3.055678] Modules linked in:
[    3.058838] Process swapper (pid: 1, threadinfo=87c30000, task=87c2c000, tls=00000000)
[    3.067003] Stack : 00000001 00000001 805102ec 80710000 80491764 871b0810 80740000 8009a358
[    3.075694]         871b6600 804f1220 80502c3c 80502c3c 80740000 80740000 00000000 80277bb4
[    3.084384]         871b6600 87c0e4b0 87c35488 80176f2c 804f1220 804f1220 804f1254 802761b4
[    3.093077]         00000000 80500000 00000000 871b6600 871b6600 804f1220 804f1254 80502c3c
[    3.101768]         80500c50 00000000 80541324 80276388 80500c50 80274524 804c48a0 871b6600
[    3.110458]         ...
[    3.112996] Call Trace:
[    3.115529] [<80062b64>] rb95x_nand_scan_fixup+0x20/0x2c
[    3.121015] [<8029ac70>] ar934x_nfc_probe+0x4b4/0x598
[    3.126250] [<80277bb4>] platform_drv_probe+0x40/0x88
[    3.131471] [<802761b4>] driver_probe_device+0x130/0x278
[    3.136963] [<80276388>] __driver_attach+0x8c/0xc4
[    3.141907] [<802745e0>] bus_for_each_dev+0x9c/0xac
[    3.146944] [<80275814>] bus_add_driver+0xe8/0x200
[    3.151889] [<80276ac8>] driver_register+0xa8/0xf8
[    3.156835] [<80060a58>] do_one_initcall+0xdc/0x1a4
[    3.161897] [<80510d44>] kernel_init_freeable+0x168/0x220
[    3.167472] [<803ffcb4>] kernel_init+0x10/0x104
[    3.172160] [<80066458>] ret_from_kernel_thread+0x14/0x1c
[    3.177734] Code: 244273e0  ac820040  24020200 <ac62022c> 03e00008  00001025  27bdffe8  14800005  afbf0014 
[    3.187873] 
[    3.189436] ---[ end trace da7c2d7f9f8c0b9f ]---
[    3.195058] Kernel panic - not syncing: Fatal exception
[    3.201252] Rebooting in 1 seconds..


25.11.20171192Base systemBug ReportVery LowHigh2.4Ghz wifi AP on mt7621 / Afoundry EW1200 doesn't workTrunkUnconfirmed Task Description

Hi LEDE folks!

I’m running the latest snapshot (r5406-5e6792e) of LEDE on an Afoundry EW1200. It’s a vast improvement from the stock firmware - my heartfelt gratitude to the author(s) of the port.

There’s one problem. 5Ghz wifi works fine but 2.4Ghz doesn’t. It detects my 2.4Ghz device and when I hit “scan” in LuCI it returns a list of nearby SSIDs.

But when I try to configure the device as an access point it isn’t visible to any of my devices. I’ve tried various channels / settings but nothing makes a difference.

Steps to reproduce:

1. Install LEDE r5406-5e6792e snapshot (latest at the time of writing) on an Afoundry EW1200
2. Use opkg to install LuCI [NB: I don’t think LuCI is to blame; it’s just the interface I use]
3. In Network/Wireless hit “Scan” for “Generic MAC80211 802.11bgn” and verify it can detect other people’s networks
4. Back in Network/Wireless, hit add (or edit) to configure an access point on that device. Use any settings you like.
5. LuCI shows the AP as running but no other device can detect the SSID it’s broadcasting.

25.11.20171191OtherBug ReportVery LowHighuclient's wget fails to try all available IP addresseslede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
N/A

- Software versions of LEDE release, packages, etc.
17.01.4

- Steps to reproduce
$ host downloads.lede-project.org
downloads.lede-project.org is an alias for downloads2.lede-project.org.
downloads2.lede-project.org has address 148.251.78.235
downloads2.lede-project.org has IPv6 address 2a01:4f8:202:43ea::3

[ use iptables, or ip route to block access to the IPv6 address ]

$ wget ‘http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/base/Packages.gz
Connecting to 2a01:4f8:202:43ea::3:80
Connection error: Connection failed

So why does it not also try 148.251.78.235?

22.11.20171186OtherBug ReportVery LowHighIn LEDE Reboot 17.01.4 r3560-79f57e422d (AMD64) Intel 3...TrunkUnconfirmed Task Description

On LEDE Reboot 17.01.4 r3560-79f57e422d (AMD64) Intel 3160 AC fails to load module after installing the following packages:

kmod-iwlwifi iwlwifi-firmware

(Maybe less relevant information):
The system is a BIOS-mode KVM guest with host-passthrough enabled for the CPU.
The CPU for the host system is an Intel E3-1260L which supports Intel VT-d for PCI-e passthrough so the Intel 3160 AC is accessible via LEDE.
This was not an issue in OpenWRT’s snapshot trunk branch running kernel 4.4.14, however I upgraded to LEDE as it supports more for what I need.

lscpu output from host:

# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 42
Model name:            Intel(R) Xeon(R) CPU E31260L @ 2.40GHz
Stepping:              7
CPU MHz:               3157.763
CPU max MHz:           3300.0000
CPU min MHz:           1600.0000
BogoMIPS:              4789.02
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              8192K
NUMA node0 CPU(s):     0-7
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts

Versions of

kmod-iwlwifi iwlwifi-firmware

affected:

opkg info kmod-iwlwifi iwlwifi-firmware
Package: kmod-iwlwifi
Version: 4.4.92+2017-01-31-3
Depends: kernel (= 4.4.92-1-6cc8de69a849e6105fc9972ed7f32449), kmod-mac80211, iwlwifi-firmware
Status: install user installed
Section: kernel
Architecture: x86_64
Size: 254871
Filename: kmod-iwlwifi_4.4.92+2017-01-31-3_x86_64.ipk
Description: iwlwifi kernel module for
 Intel Wireless WiFi Link 6250AGN Adapter
 Intel 6000 Series Wi-Fi Adapters (6200AGN and 6300AGN)
 Intel WiFi Link 1000BGN
 Intel Wireless WiFi 5150AGN
 Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
 Intel 6005 Series Wi-Fi Adapters
 Intel 6030 Series Wi-Fi Adapters
 Intel Wireless WiFi Link 6150BGN 2 Adapter
 Intel 100 Series Wi-Fi Adapters (100BGN and 130BGN)
 Intel 2000 Series Wi-Fi Adapters
 Intel 7260 Wi-Fi Adapter
 Intel 3160 Wi-Fi Adapter
 Intel 7265 Wi-Fi Adapter
 Intel 8260 Wi-Fi Adapter
 Intel 3165 Wi-Fi Adapter
Installed-Time: 1511359008

How I have been able to reproduce the issue:

  • Remove
    kmod-iwlwifi iwlwifi-firmware

    via:

    opkg remove kmod-iwlwifi iwlwifi-firmware && reboot;exit
  • Reinstall
    kmod-iwlwifi iwlwifi-firmware

    via:

    opkg remove kmod-iwlwifi iwlwifi-firmware && reboot;exit

    - In this step wlan0 appears, however it loads with the following errors:

# dmesg
...
[  118.600835] random: nonblocking pool is initialized
[  124.489097] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[  124.491388] Backport generated by backports.git backports-20160324-13-g24da7d3c
[  124.495502] Intel(R) Wireless WiFi driver for Linux
[  124.496759] Copyright(c) 2003- 2015 Intel Corporation
[  124.520049] iwlwifi 0000:00:09.0: loaded firmware version 17.352738.0 op_mode iwlmvm
**[  124.524141] iwlwifi 0000:00:09.0: failed to load module iwlmvm (error -2), is dynamic loading enabled?**
[  124.529146] iwlwifi 0000:00:09.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164
[  124.534526] iwlwifi 0000:00:09.0: L1 Enabled - LTR Disabled
[  124.536264] iwlwifi 0000:00:09.0: L1 Enabled - LTR Disabled
[  124.654517] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
  • A reboot will result in wlan0 going away and the following errors:
# dmesg
[    4.112006] NET: Registered protocol family 24
**[    4.113940] iwlwifi 0000:00:09.0: failed to load module iwlmvm (error -2), is dynamic loading enabled?**
[    4.117011] iwlwifi 0000:00:09.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164
[    4.121443] iwlwifi 0000:00:09.0: L1 Enabled - LTR Disabled
[    4.123209] iwlwifi 0000:00:09.0: L1 Enabled - LTR Disabled
[    4.240761] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
16.11.20171171Base systemBuild FailureVery LowHighBuildbot fails for TP-LINK CPE210/220TrunkUnconfirmed Task Description

Since a few days, no Snapshot Images are build for (at least) the TP-LINK CPE210/220.

Error:

os-image partition too big (more than 1507328 bytes)
06.11.20171153Base systemFeature RequestVery LowHighConsider security monitoring featuresTrunkUnconfirmed Task Description

I see it as email notification about security events.

Examples of security events:

  • Attempts to bruteforce SSH password.
  • Appear unknown MAC’s in network.
  • Deauthentication attacks on Wi-Fi.

Monitoring is very important part of security.

06.11.20171152Base systemBug ReportVery LowHighWDR3600: Wifi randomly turns off and get disabledlede-17.01Unconfirmed Task Description

Running LEDE 17.01.4

I’m not sure how do I reproduce this problem, it just happen randomly at random time.

This never happened back when I used OpenWRT, were there some regression somewhere?

So with LEDE, my router’s wifi randomly disconnect and disable itself. I have read the logs (provided below) yet I can’t see anything suspicious. I only see these:

Mon Nov  6 13:54:45 2017 daemon.notice procd: /etc/init.d/network: 'radio0' is disabled
Mon Nov  6 13:54:45 2017 daemon.notice procd: /etc/init.d/network: 'radio1' is disabled
Mon Nov  6 13:54:45 2017 daemon.notice procd: /etc/init.d/network: 'radio0' is disabled
Mon Nov  6 13:54:45 2017 daemon.notice procd: /etc/init.d/network: 'radio1' is disabled

This was around the time people in my home messaged me that they cannot find the access point from their devices

It bugs me because I usually go to the office in the afternoon and people in my house complains to me that Wifi stops working without anything being done to the router, I have not set up VPN access to my home network so I cannot do anything until I go home in the evening.

05.11.20171148Base systemBug ReportVery LowHighAR7 images for Fritz!Box 7170 build but do not bootTrunkUnconfirmed Task Description

Hi there,
I’m trying to get the latest LEDE with Kernel 4.9 up and running with an old Fritz!Box 7170 (ar7/EVA).
The images build fine but they are not booting at all.

Is someone able to help? I have tried to collect the “internet knowledge” about this device in this github.
I also found some very old OpenWRT patches (1)(2) for whom I don’t know if they were ever integrated in master.
I’m not a developer myself, so I don’t even know how to integrate patches to try them out.

I also created a forum thread if anyone has some more tips or ideas.

30.10.20171128Base systemBug ReportVery LowHighMake is segfaulting with SDK lede-sdk-17.01.4-ar71xx-ge...lede-17.01Unconfirmed Task Description

On an ubuntu 16.04 docker container with all the host tools installed via “apt-get install build-essential subversion libncurses5-dev zlib1g-dev gawk gcc-multilib flex git-core gettext libssl-dev unzip”, I installed this SDK:

lede-sdk-17.01.4-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64.tar.xz

When I untar it and go into:

$ cd lede-sdk-17.01.4-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64
$ make
Segmentation fault (core dumped)
                                /mnt/ar71xx/lede-sdk-17.01.4-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64/include/toplevel.mk:127: recipe for target 'menuconfig' failed
                                                    make[2]: *** [menuconfig] Error 139
                                                                                       make[2]: Leaving directory '/mnt/ar71xx/lede-sdk-17.01.4-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64'
                                                                         /mnt/ar71xx/lede-sdk-17.01.4-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64/include/toplevel.mk:94: recipe for target '.config' failed
                                                                                         make[1]: *** [.config] Error 2
                                                                                                                       /mnt/ar71xx/lede-sdk-17.01.4-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64/include/toplevel.mk:191: recipe for target 'world' failed
             make: *** [world] Error 2

Can you reproduce it?

30.10.20171126Base systemBug ReportVery LowHighTP-LINK 1043v2 wifiTrunkUnconfirmed Task Description

Hi,

I’ve noticed that HT40 mode doesn’t work with TP-LINK 1043 v2 with latest 17.01.4, it doesn’t matter what is chosen 20 or 40, always works with 20MHz and speed is also the same.

Regards

26.10.20171118PackagesBug ReportVery LowHighbad argument #1 to 'tonumber' (string expected, got nil...lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Any device without iptables

- Software versions of LEDE release, packages, etc.

17.01.04

- Steps to reproduce

 

Build a firmware with luci and without iptables, flash it and then go to the router’s status page:
http://dir-615/cgi-bin/luci/?status=1

You will get:

/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute firstchild dispatcher target for entry '/admin'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/admin/status'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute template dispatcher target for entry '/admin/status/overview'.
The called action terminated with an exception:
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'admin_status/index'.
A runtime error occured: [string "/usr/lib/lua/luci/view/admin_status/index.h..."]:34: bad argument #1 to 'tonumber' (string expected, got nil)
stack traceback:
	[C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

From IRC:

(11:03:42 AM) jow: Shred00: but anyhow, try something along the lines of `local conn_count = tonumber(s.readfile(”/proc/sys/net/netfilter/nf_conntrack_count”) or ““) or 0`
(11:05:05 AM) Shred00: jow: yeah, that fixes it.
(11:05:17 AM) jow: Shred00: can you tell me the version of Lua installed on your system?
(11:05:38 AM) Shred00: lua - 5.1.5-1
(11:05:42 AM) jow: Shred00: and provide the output of lua -e ‘print(tonumber(nil))` ?
(11:06:02 AM) Shred00: # lua -e ‘print(tonumber(nil))’ (11:06:02 AM) Shred00: nil
(11:06:20 AM) jow: I don’t get it
(11:07:06 AM) jow: well anyhow, will add the fix to the repo later
(11:07:15 AM) jow: defensive programmis is never wrong
(11:07:18 AM) jow: *programming

24.10.20171111Base systemBug ReportVery LowHighI have fresh install on WR740N and I discovered ip6tabl...lede-17.01Waiting on reporter Task Description

Supply the following if possible:
- Device problem occurs on — is TP-link WR740N
- Software versions of LEDE release, packages, etc. — base image no additional packages
- Steps to reproduce:

 

I have fresh install on WR740N and I discovered ip6tables setup is empty (”ip6tables –list -nv” shows everything is ACCEPTed), while ink-local fe80::... address is active on wan interface and web-interface listens on it since

$ netstat -apn
...
tcp 0 0 :::80 :::* LISTEN 754/uhttpd
...

23.10.20171102KernelBug ReportVery LowHighKernel crash on mt7621 at mm/slub.cTrunkUnconfirmed Task Description

I have recurrent crashes when using my wg3526 based on mt76 for long time. The wifi 2.4 ghz is activated (mt7603 driver), but 5ghz is not.

<4>[19202.879743] ------------[ cut here ]------------
<4>[19202.884402] WARNING: CPU: 3 PID: 0 at mm/slub.c:3843 ksize+0xe0/0xf8
<4>[19202.890789] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi 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 iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[19202.961498]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage 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 ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]<4>[19203.032447] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W       4.9.54 #0
<4>[19203.039549] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[19203.047897]         8fc5499c 804ebea7 80482c5c 00000003 00000000 80553824 02080020 8fd3705c
<4>[19203.056241]         804e95fc 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc21ce0
<4>[19203.064589]         00000003 800a9fd0 02080020 8fd3705c 0000329a 00000007 8f21db00 00c21ce0
<4>[19203.072937]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[19203.081299]         ...
<4>[19203.083744] Call Trace:
<4>[19203.086218] [<8000f814>] show_stack+0x54/0x88
<4>[19203.090590] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[19203.094939] [<8002bdc4>] __warn+0xe4/0x118
<4>[19203.099026] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[19203.104081] [<800e882c>] ksize+0xe0/0xf8
<4>[19203.107999] [<802d90d0>] pskb_expand_head+0x98/0x23c
<4>[19203.112958] [<8032aa28>] ip_forward+0x374/0x45c
<4>[19203.117474] [<803294c8>] ip_rcv+0x2b8/0x320
<4>[19203.121653] [<802e98d0>] __netif_receive_skb_core+0x718/0x970
<4>[19203.127384] [<802eb7bc>] process_backlog+0x9c/0x160
<4>[19203.132248] [<802eb55c>] net_rx_action+0x138/0x2fc
<4>[19203.137033] [<8002f924>] __do_softirq+0x294/0x2e0
<4>[19203.141726] [<8002fc18>] irq_exit+0x7c/0x98
<4>[19203.145913] [<8020e3d0>] plat_irq_dispatch+0xb4/0xdc
<4>[19203.150866] [<8000a968>] except_vec_vi_end+0xb8/0xc4
<4>[19203.155842] [<80064fc4>] cpu_startup_entry+0x104/0x170
<4>[19203.161091] ---[ end trace 09207f98d12feebb ]---
<4>[19203.165803] Kernel bug detected[#1]:
<1>[19203.165897] CPU 3 Unable to handle kernel paging request at virtual address 00004000, epc == 800eb628, ra == 800eb5ac
<4>[19203.179938] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.54 #0
<4>[19203.187042] task: 804ebfa0 task.stack: 804dc000
<4>[19203.191547] $ 0   : 00000000 80550000 81026b40 00000001
<4>[19203.196767] $ 4   : 00000000 81026b53 000f0000 811da600
<4>[19203.201984] $ 8   : 804f0000 80584864 8fc0df54 8fc0df54
<4>[19203.207198] $12   : 11000000 ffffffff 00000000 0000002d
<4>[19203.212415] $16   : 8eaaa600 8ffa1308 8ffa1000 0000007d
<4>[19203.217631] $20   : 000000ca 0000003f 8ffa1308 00000018
<4>[19203.222846] $24   : 00000000 8000c30c                  
<4>[19203.228063] $28   : 804dc000 8fc0de3c ffffffff 802d5e00
<4>[19203.233278] Hi    : 00000003
<4>[19203.236139] Lo    : 00000000
<4>[19203.239036] epc   : 800e9b90 kfree+0x78/0x1a4
<4>[19203.243394] ra    : 802d5e00 __kfree_skb+0x14/0xa4
<4>[19203.248157] Status: 11008403      KERNEL EXL IE 
<4>[19203.252333] Cause : 50800034 (ExcCode 0d)
<4>[19203.256319] PrId  : 0001992f (MIPS 1004Kc)
<4>[19203.260389] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi 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 iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[19203.330928]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage 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 ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]Process swapper/0 (pid: 0, threadinfo=804dc000, task=804ebfa0, tls=00000000)
<4>[19203.408441] Stack : 000000ca 0000003f 8ffa1308 00000018 8ef712d8 802b0400 0003000f 802b2240
<4>[19203.416786]         8e245c60 8eaa10c0 00000000 aef74b40 00000001 8ffa14b8 000000c9 802b2658
<4>[19203.425131]         803f7afc 8149e440 802e6138 00000001 0000012b 80510000 804df9c0 00000001
<4>[19203.433476]         8fdc7900 00000001 80580000 0000000f 00030000 9bfe8000 01000000 00000010
<4>[19203.441822]         30000000 8009483c 0e245ca0 01000000 0f2d4480 00000004 00000040 804df9c0
<4>[19203.450167]         ...
<4>[19203.452603] Call Trace:
<4>[19203.455038] [<800e9b90>] kfree+0x78/0x1a4
<4>[19203.459038] [<802d5e00>] __kfree_skb+0x14/0xa4
<4>[19203.463475] [<802b0400>] fe_txd_unmap+0xd4/0xec
<4>[19203.467986] [<802b2658>] fe_poll+0x134/0x700
<4>[19203.472243] [<802eb55c>] net_rx_action+0x138/0x2fc
<4>[19203.477022] [<8002f924>] __do_softirq+0x294/0x2e0
<4>[19203.481705] [<8002fc18>] irq_exit+0x7c/0x98
<4>[19203.485882] [<8020e3d0>] plat_irq_dispatch+0xb4/0xdc
<4>[19203.490831] [<8000a968>] except_vec_vi_end+0xb8/0xc4
<4>[19203.495777] [<8000c324>] r4k_wait_irqoff+0x18/0x20
<4>[19203.500572] [<80064fc4>] cpu_startup_entry+0x104/0x170
<4>[19203.505712] [<80513be4>] start_kernel+0x47c/0x49c
<4>[19203.510392] Code: 30630001  24030001  38630001 <00030336> 8c430000  7c630380  10600003  00000000  10000002 
<4>[19203.520132] 
<4>[19203.521619] Oops[#2]:
<4>[19203.521836] ---[ end trace 09207f99d12feebb ]---

===================================
Time: 1508726234.629265
<0>[19203.526701] Kernel panic - not syncing: Fatal exception in interrupt
<4>[82713.077406] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[82713.085754]         804ec2bc 804ebea7 80482c5c 00000000 00000000 80553824 00000054 8f295a00
<4>[82713.094099]         00000000 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc0dd90
<4>[82713.102444]         00000003 800a9fd0 00000054 8f295a00 0000f7f3 00000007 00000000 00c0dd90
<4>[82713.110789]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[82713.119130]         ...
<4>[82713.121567] Call Trace:
<4>[82713.124029] [<8000f814>] show_stack+0x54/0x88
<4>[82713.128386] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[82713.132727] [<8002bdc4>] __warn+0xe4/0x118
<4>[82713.136803] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[82713.141876] [<8f28c124>] mt7603_mac_fill_rx+0x2b0/0x3a8 [mt7603e]
<4>[82713.147957] [<8f28ae30>] mt7603_queue_rx_skb+0x9c/0xe4 [mt7603e]
<4>[82713.153958] [<8f284d6c>] mt76_dma_attach+0xa9c/0xc94 [mt76]
<4>[82713.159601] ---[ end trace 30529a2ab5a2f517 ]---
<4>[82713.164302] ------------[ cut here ]------------
<4>[82713.169064] WARNING: CPU: 0 PID: 0 at backports-2017-10-06/net/mac80211/rx.c:4321 ieee80211_rx_napi+0xa8/0x964 [mac80211]
<4>[82713.180018] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi 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 iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[82713.250675]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage 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 ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]<4>[82713.321600] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.54 #0
<4>[82713.328698] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[82713.337045]         804ec2bc 804ebea7 80482c5c 00000000 00000000 80553824 00000001 8f295a00
<4>[82713.345391]         00000000 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc0dd38
<4>[82713.353736]         00000003 800a9fd0 00000001 8f295a00 0000f997 00000007 00000008 00c0dd38
<4>[82713.362081]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[82713.370424]         ...
<4>[82713.372859] Call Trace:
<4>[82713.375308] [<8000f814>] show_stack+0x54/0x88
<4>[82713.379658] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[82713.383995] [<8002bdc4>] __warn+0xe4/0x118
<4>[82713.388071] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[82713.393195] [<8f325b94>] ieee80211_rx_napi+0xa8/0x964 [mac80211]
<4>[82713.399231] [<8f2858b4>] mt76_rx_complete+0x88/0x118 [mt76]
<4>[82713.404794] [<8f284e7c>] mt76_dma_attach+0xbac/0xc94 [mt76]
<4>[82713.410438] ---[ end trace 30529a2bb5a2f517 ]---
<4>[82715.996390] ------------[ cut here ]------------
<4>[82716.001062] WARNING: CPU: 3 PID: 0 at mm/slub.c:3843 ksize+0xe0/0xf8
<4>[82716.007380] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi 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 iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[82716.078197]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage 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 ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]<4>[82716.149239] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W       4.9.54 #0
<4>[82716.156343] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[82716.164705]         8fc5499c 804ebea7 80482c5c 00000003 00000000 80553824 8f3a4000 8edd5c80
<4>[82716.173065]         00000000 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc21940
<4>[82716.181427]         00000003 800a9fd0 8f3a4000 8edd5c80 0000fb43 00000007 8e826084 00c21940
<4>[82716.189786]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[82716.198143]         ...
<4>[82716.200587] Call Trace:
<4>[82716.203059] [<8000f814>] show_stack+0x54/0x88
<4>[82716.207424] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[82716.211774] [<8002bdc4>] __warn+0xe4/0x118
<4>[82716.215861] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[82716.220915] [<800e882c>] ksize+0xe0/0xf8
<4>[82716.224832] [<802d90d0>] pskb_expand_head+0x98/0x23c
<4>[82716.229996] [<8f329150>] ieee80211_probereq_get+0xb48/0x190c [mac80211]
<4>[82716.236678] [<80064264>] __wake_up_common+0x64/0xb4
<4>[82716.241619] ---[ end trace 30529a2cb5a2f517 ]---
<4>[82716.246369] Kernel bug detected[#1]:
<1>[82716.246495] CPU 3 Unable to handle kernel paging request at virtual address 00004000, epc == 800eb628, ra == 800eb5ac
<4>[82716.260496] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.54 #0
<4>[82716.267598] task: 804ebfa0 task.stack: 804dc000
<4>[82716.272101] $ 0   : 00000000 80550000 81026960 00000001
<4>[82716.277321] $ 4   : 00000000 81026973 000f0000 811cb400
<4>[82716.282538] $ 8   : 804f0000 801eb464 8fc0df54 8fc0df54
<4>[82716.287752] $12   : 11000000 00000000 00000000 00000005
<4>[82716.292968] $16   : 8d488000 8f295540 8ff23064 8f295b7c
<4>[82716.298183] $20   : 00000002 8f295b78 00000000 00000009
<4>[82716.303399] $24   : 00000000 8000c30c                  
<4>[82716.308613] $28   : 804dc000 8fc0de9c 802044f7 802d5e00
<4>[82716.313831] Hi    : 00000004
<4>[82716.316692] Lo    : 00000000
<4>[82716.319581] epc   : 800e9b90 kfree+0x78/0x1a4
<4>[82716.323940] ra    : 802d5e00 __kfree_skb+0x14/0xa4
<4>[82716.328701] Status: 11008403      KERNEL EXL IE 
<4>[82716.332884] Cause : 50800034 (ExcCode 0d)
<4>[82716.336872] PrId  : 0001992f (MIPS 1004Kc)
<4>[82716.340942] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi 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 iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[82716.411537]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage 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 ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]Process swapper/0 (pid: 0, threadinfo=804dc000, task=804ebfa0, tls=00000000)
<4>[82716.489176] Stack : 00000002 8f2955b0 8f295540 8ff23064 8f2955b0 8f2849f0 9bfe8000 8006d534
<4>[82716.497539]         8fc35480 00000001 00000000 00000000 00000000 00000000 00000070 804f0000
<4>[82716.505899]         00010000 8d488000 8df26790 00000001 8f295540 00000001 ffffffff 00000002
<4>[82716.514260]         00000000 804de040 00000100 0000000a 00000018 8f28ab70 80580000 80580000
<4>[82716.522625]         00000004 8006c99c 8f296188 8054121c 804e95fc 8003020c 00000006 8020f290
<4>[82716.530989]         ...
<4>[82716.533431] Call Trace:
<4>[82716.535883] [<800e9b90>] kfree+0x78/0x1a4
<4>[82716.539897] [<802d5e00>] __kfree_skb+0x14/0xa4
<4>[82716.544372] [<8f2849f0>] mt76_dma_attach+0x720/0xc94 [mt76]
<4>[82716.549930] Code: 30630001  24030001  38630001 <00030336> 8c430000  7c630380  10600003  00000000  10000002 
<4>[82716.559695] 
<4>[82716.561183] Oops[#2]:
<4>[82716.561433] ---[ end trace 30529a2db5a2f517 ]---

===================================
Time: 1508284734.35088
20.10.20171087KernelBug ReportVery LowHighLEDE snaphost: sunxi cortex-a7, BanaPi target: USB not ...TrunkUnconfirmed Task Description

Hi all
With snapshot r5117-fbde9ac, at least on a bananapi (cortex-a7) the USB ports are down, apparently there is some problem with VBUS (maybe DT problem?)
Here the dmesg after boot

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.57 (buildbot@builds) (gcc version 5.5.0 (LEDE GCC 5.5.0 r5092-0d5c1d7) ) #0 SMP PREEMPT Wed Oct 18 21:26:15 2017
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=30c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: LeMaker Banana Pi
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 261738
[    0.000000] free_area_init_node: node 0, pgdat c0689140, node_mem_map ef7fa000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65130 pages, LIFO batch:15
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 14 pages/cpu @ef7c2000 s25036 r8192 d24116 u57344
[    0.000000] pcpu-alloc: s25036 r8192 d24116 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260202
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1030724K/1046952K available (4564K kernel code, 254K rwdata, 1384K rodata, 304K init, 282K bss, 16228K reserved, 0K cma-reserved, 260520K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc047d4b0   (4566 kB)
[    0.000000]       .init : 0xc05fe000 - 0xc064a000   ( 304 kB)
[    0.000000]       .data : 0xc064a000 - 0xc0689a40   ( 255 kB)
[    0.000000]        .bss : 0xc068b000 - 0xc06d1874   ( 283 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000528] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000769] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000939] Console: colour dummy device 80x30
[    0.000973] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000988] pid_max: default: 32768 minimum: 301
[    0.001112] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001123] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001736] CPU: Testing write buffer coherency: ok
[    0.002074] /cpus/cpu@0 missing clock-frequency property
[    0.002095] /cpus/cpu@1 missing clock-frequency property
[    0.002108] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002131] Setting up static identity map for 0x400082c0 - 0x40008318
[    0.170429] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.170531] Brought up 2 CPUs
[    0.170553] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.170561] CPU: All CPU(s) started in HYP mode.
[    0.170567] CPU: Virtualization extensions available.
[    0.181241] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.181967] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.181997] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.182161] pinctrl core: initialized pinctrl subsystem
[    0.183759] NET: Registered protocol family 16
[    0.184099] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.186420] No ATAGs?
[    0.252339] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[    0.252404] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[    0.252440] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[    0.253608] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[    0.254616] SCSI subsystem initialized
[    0.254990] libata version 3.00 loaded.
[    0.255707] usbcore: registered new interface driver usbfs
[    0.255854] usbcore: registered new interface driver hub
[    0.256010] usbcore: registered new device driver usb
[    0.256383] Linux video capture interface: v2.00
[    0.256631] pps_core: LinuxPPS API ver. 1 registered
[    0.256641] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.256729] PTP clock support registered
[    0.257496] Advanced Linux Sound Architecture Driver Initialized.
[    0.258937] clocksource: Switched to clocksource arch_sys_counter
[    0.260189] simple-framebuffer 7fe79000.framebuffer: framebuffer at 0x7fe79000, 0x178e00 bytes, mapped to 0xf0900000
[    0.260208] simple-framebuffer 7fe79000.framebuffer: format=x8r8g8b8, mode=656x536x32, linelength=2880
[    0.267397] Console: switching to colour frame buffer device 82x33
[    0.273147] simple-framebuffer 7fe79000.framebuffer: fb0: simplefb registered!
[    0.285894] NET: Registered protocol family 2
[    0.286811] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.286911] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.287040] TCP: Hash tables configured (established 8192 bind 8192)
[    0.287131] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.287195] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.287430] NET: Registered protocol family 1
[    0.287817] kvm [1]: 8-bit VMID
[    0.287830] kvm [1]: IDMAP page: 40009000
[    0.287838] kvm [1]: HYP VA range: c0000000:ffffffff
[    0.288171] kvm [1]: Hyp mode initialized successfully
[    0.288246] kvm [1]: vgic-v2@1c84000
[    0.288431] kvm [1]: vgic interrupt IRQ16
[    0.288462] kvm [1]: virtual timer IRQ20
[    0.290814] No memory allocated for crashlog
[    0.291097] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.301800] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.314490] bounce: pool size: 64 pages
[    0.314510] io scheduler noop registered
[    0.314518] io scheduler deadline registered
[    0.314823] io scheduler cfq registered (default)
[    0.315575] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[    0.320516] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.422164] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.428293] console [ttyS0] disabled
[    0.448607] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.110648] console [ttyS0] enabled
[    1.138088] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.170870] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.229167] loop: module loaded
[    1.234708] libphy: Fixed MDIO Bus: probed
[    1.239475] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    1.245231] sun7i-dwmac 1c50000.ethernet: no reset control found
[    1.252200] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.258730] ehci-platform: EHCI generic platform driver
[    1.264410] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.270651] ohci-platform: OHCI generic platform driver
[    1.276342] usbcore: registered new interface driver usb-storage
[    1.282746] mousedev: PS/2 mouse device common for all mice
[    1.289486] i2c /dev entries driver
[    1.295415] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.305385] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.389162] sunxi-mmc 1c0f000.mmc: base:0xf08db000 irq:28
[    1.395627] sun4i-ss 1c15000.crypto-engine: no reset control found
[    1.403543] sun4i-ss 1c15000.crypto-engine: Die ID 0
[    1.414955] NET: Registered protocol family 10
[    1.424080] NET: Registered protocol family 17
[    1.428624] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.441620] can: controller area network core (rev 20120528 abi 9)
[    1.448031] NET: Registered protocol family 29
[    1.452516] 8021q: 802.1Q VLAN Support v1.8
[    1.456824] Registering SWP/SWPB emulation handler
[    1.471934] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    1.477695] sun7i-dwmac 1c50000.ethernet: no reset control found
[    1.491416] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.502100] mmc0: new high speed SDHC card at address b368
[    1.518287] mmcblk0: mmc0:b368       3.75 GiB
[    1.523991]  mmcblk0: p1 p2
[    1.599006] sun7i-dwmac 1c50000.ethernet: Ring mode enabled
[    1.604587] sun7i-dwmac 1c50000.ethernet: DMA HW capability register supported
[    1.611833] sun7i-dwmac 1c50000.ethernet: Normal descriptors
[    1.625337] libphy: stmmac: probed
[    1.628759] sun7i-dwmac 1c50000.ethernet (unnamed net_device) (uninitialized): PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[    1.640432] sun7i-dwmac 1c50000.ethernet (unnamed net_device) (uninitialized): PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[    1.654246] hctosys: unable to open rtc device (rtc0)
[    1.660155] vcc3v0: disabling
[    1.663134] vcc5v0: disabling
[    1.666099] usb0-vbus: disabling
[    1.669415] usb1-vbus: disabling
[    1.672648] usb2-vbus: disabling
[    1.675876] ALSA device list:
[    1.678840]   No soundcards found.
[    1.684092] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.693047] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.705706] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.713316] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.720717] Freeing unused kernel memory: 304K
[    1.725156] This architecture does not have kernel memory protection.
[    1.808884] init: Console is alive
[    1.812591] init: - watchdog -
[    1.991859] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.109062] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    2.116602] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1
[    2.122530] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    2.131547] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc
[    2.140601] scsi host0: ahci-sunxi
[    2.144486] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 33
[    2.480406] ata1: SATA link down (SStatus 0 SControl 300)
[    2.497140] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.514855] init: - preinit -
[    2.661278] random: jshn: uninitialized urandom read (4 bytes read)
[    2.692999] random: jshn: uninitialized urandom read (4 bytes read)
[    2.715326] random: jshn: uninitialized urandom read (4 bytes read)
[    2.738512] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=-1)
[    2.850208] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled
[    2.857528] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available
[    2.865213] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW
[    2.873355] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.973285] mount_root: mounting /dev/root
[    5.980967] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.013747] random: fast init done
[    6.249292] random: crng init done
[    6.398432] urandom-seed: Seeding with /etc/urandom.seed
[    6.439739] procd: - early -
[    6.442722] procd: - watchdog -
[    7.304303] procd: - watchdog -
[    7.307745] procd: - ubus -
[    7.362615] procd: - init -
[    7.508699] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.518215] tun: Universal TUN/TAP device driver, 1.6
[    7.523343] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    7.536218] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    7.547403] nat46: module (version 683fbd2b765506332a1af141545652bf58f03166) loaded.
[    7.559700] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    7.579497] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    7.608815] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[    7.615784] sunxi-rtc 1c20d00.rtc: RTC enabled
[    7.634093] Loading modules backported from Linux version wt-2017-10-06-0-ga7a22fbbd1f0
[    7.642374] Backport generated by backports.git v4.14-rc2-1-6-gedfb595c
[    7.651300] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.683086] xt_time: kernel timezone is -0000
[    7.721723] PPP generic driver version 2.4.2
[    7.727180] NET: Registered protocol family 24
[    7.738129] usbcore: registered new interface driver rtl8xxxu
[    7.766983] usbcore: registered new interface driver rt2800usb
[    7.777447] usbcore: registered new interface driver ath9k_htc
[    7.783580] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.097688] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=-1)
[   10.110360] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled
[   10.117709] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available
[   10.125620] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW
[   10.132954] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.148402] br-lan: port 1(eth0.2) entered blocking state
[   10.153968] br-lan: port 1(eth0.2) entered disabled state
[   10.160321] device eth0.2 entered promiscuous mode
[   10.165148] device eth0 entered promiscuous mode
[   10.174920] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   10.235364] IPv6: ADDRCONF(NETDEV_UP): eth0.3: link is not ready
[   10.498273] IPv6: ADDRCONF(NETDEV_UP): tayga-nat64: link is not ready
[   10.566999] IPv6: ADDRCONF(NETDEV_CHANGE): tayga-nat64: link becomes ready
[   14.329769] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   14.337986] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.345064] br-lan: port 1(eth0.2) entered blocking state
[   14.350507] br-lan: port 1(eth0.2) entered forwarding state
[   14.356467] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.3: link becomes ready
[   14.363451] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

 


19.10.20171084Base systemBug ReportVery LowHighAll ethernet ports assigned to WAN on EnGenius ENS202EX...TrunkUnconfirmed Task Description

On the EnGenius ENS202EXT after flashing the image to install LEDE I had all ethernet ports by default assigned to WAN, making me unable to connect to the router, I had to go in through serial and enable WiFi/move ports over to the LAN bridge. Using Snapshot r5108-48dcd26.

19.10.20171076PackagesBug ReportVery LowHighBugs about QCA9886AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on archer-c58-v1
- Software versions of LEDE release is the latest master version, and other versions have same bug.

  I noticed the memory is leaking after connected serveral devices with QCA9886,

that will cause system crash in the end. Before leaking, WIFI can work fine, but when memory is leaking, WIFI can not work anymore.

  My OS is latest lede(mac80211 version is backports-2017-10-06), 

and the board can work with QSDK.

  If you need more detail information, please let me know.
 


16.10.20171068Base systemBug ReportVery LowHighrt2x00 config 6352 problemsTrunkUnconfirmed Task Description

- Xiaomi Miwifi Mini
- LEDE Reboot SNAPSHOT r4862-54f028d
- Use device in client mode or trigger a scan for WAPs will start printing these messages to logs:

similar might be happening all over the driver causing instabilities or performance drops.
some bbps/rf regs might not needed to be read at all.

[  514.012066] ieee80211 phy1: rt2800_config_txpower_rt6352: Warning - ignoring EEPROM HT40 power delta: 4
[  514.019551] ieee80211 phy1: rt2800_config_alc: Info - bbp30 10 read 40
[  514.024754] ieee80211 phy1: rt2800_config_alc: Info - bbp30 10 write 40
[  515.070287] ieee80211 phy1: rt2800_config_txpower_rt6352: Warning - ignoring EEPROM HT40 power delta: 4
[  515.077745] ieee80211 phy1: rt2800_config_alc: Info - bbp30 10 read 40
[  515.082943] ieee80211 phy1: rt2800_config_alc: Info - bbp30 10 write 40
[  516.128821] ieee80211 phy1: rt2800_config_txpower_rt6352: Warning - ignoring EEPROM HT40 power delta: 4
[  516.136320] ieee80211 phy1: rt2800_config_alc: Info - bbp30 10 read 40
[  516.141518] ieee80211 phy1: rt2800_config_alc: Info - bbp30 10 write 40
[  517.189541] ieee80211 phy1: rt2800_config_txpower_rt6352: Warning - ignoring EEPROM HT40 power delta: 4
[  517.196994] ieee80211 phy1: rt2800_config_alc: Info - bbp30 10 read 40
[  517.202184] ieee80211 phy1: rt2800_config_alc: Info - bbp30 10 write 40
[  518.248127] ieee80211 phy1: rt2800_config_txpower_rt6352: Warning - ignoring EEPROM HT40 power delta: 4
[  518.255576] ieee80211 phy1: rt2800_config_alc: Info - bbp30 10 read 40
[  518.260766] ieee80211 phy1: rt2800_config_alc: Info - bbp30 10 write 40
[  519.306440] ieee80211 phy1: rt2800_config_txpower_rt6352: Warning - ignoring EEPROM HT40 power delta: 4
[  519.313888] ieee80211 phy1: rt2800_config_alc: Info - bbp30 10 read 40
[  519.319077] ieee80211 phy1: rt2800_config_alc: Info - bbp30 10 write 40
13.10.20171059Base systemBug ReportVery LowHighHigh CPU loadlede-17.01Unconfirmed Task Description

Greetings to all,

For some reason, both LEDE and OpenWRT are frying the CPU of my tp-link tl-wr740n v4.27. I was wondering does anyone else experience similar issue and could this be a bug?

//imgur.com/a/5m3YF

- Device problem occurs on: TP-LINK TL-WR740N v4
- LEDE Reboot 17.01.3 r3533-d0bf257c46 / LuCI lede-17.01 branch (git-17.232.21093-079f65a)
- Steps to reproduce: Just flashed and waited for an hour.

 


12.10.20171058KernelBug ReportVery LowHighpci resource allocationTrunkUnconfirmed Task Description

r4862-54f028d

io range not defined as with mtk driver, and unknown resource (???) being allocated

LEDE:
[ 0.343281] pci_bus 0000:00: root bus resource [mem 0×20000000-0x2fffffff]
[ 0.348732] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 0.353363] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.358726] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]

Pandorabox:
[ 1.170000] pci_bus 0000:00: root bus resource [mem 0×20000000-0x2fffffff]
[ 1.180000] pci_bus 0000:00: root bus resource [io 0×10160000-0x1016ffff]

22.09.20171014KernelBug ReportVery LowHighMany kernel warning with ieee80211_probereq_getlede-17.01Unconfirmed Task Description

Happening on ZBT-WE1326.
Both trunk and lede-17.01 are affected.
Not knowing how to reproduce the problem, just connect/disconnect the device with wireless again and again.

[ 5465.187660] ————[ cut here ]———— [ 5465.187851] WARNING: CPU: 0 PID: 2299 at compat-wireless-2017-01-31/net/mac80211/tx.c:946 ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]()
[ 5465.187861] Modules linked in: pppoe ppp_async shortcut_fe_cm pppox ppp_generic nf_nat_pptp nf_conntrack_pptp iptable_nat ipt_MASQUERADE xt_u32 xt_time xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota2 xt_quota xt_psd xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_lscan xt_limit xt_length2 xt_length xt_ipv4options xt_iprange xt_ipp2p xt_iface xt_hl xt_helper xt_hashlimit xt_geoip xt_fuzzy xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_cluster xt_addrtype xt_TPROXY xt_TEE xt_TCPMSS xt_SYSRQ xt_REDIRECT xt_NFQUEUE xt_NFLOG xt_NETMAP xt_LUA xt_LOGMARK xt_LOG xt_LED xt_IPMARK xt_HL xt_DSCP xt_DNETMAP xt_DHCPMAC xt_CLASSIFY xt_DELUDE xt_TARPIT ipt_REJECT xt_tcpudp xt_CHAOS xt_ACCOUNT ts_fsm ts_bm slhc shortcut_fe_ipv6 shortcut_fe nfnetlink_queue nfnetlink_log 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_ftp nf_nat_amanda nf_log_ipv4 nf_dup_ipv6 nf_dup_ipv4 nf_defrag_ipv4 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_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda iptable_mangle iptable_filter ipt_ah ipt_ECN ipt_CLUSTERIP ip_tables crc_ccitt compat_xtables br_netfilter sg mt76x2e mt7603e mt76 mac80211 cfg80211 compat 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_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos tun vfat fat nls_utf8 nls_iso8859_1 nls_cp936 nls_cp437 zram lz4_decompress lz4_compress zsmalloc sha1_generic mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic
[ 5465.188476] CPU: 0 PID: 2299 Comm: kworker/u8:0 Not tainted 4.4.86 #0
[ 5465.188525] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[ 5465.188534] Stack : 00000002 00000000 804bdadc 8f199f80 80550000 00000009 8ef5a99c 8ef9e4e0
[ 5465.188534] 8f46bc64 8f46bc60 8fa061c0 8005d998 000008fb 805b96dc 8f46bc64 00000000
[ 5465.188534] 804df664 8f46bb1c 804bdadc 8005a734 00000002 00000000 804c30ec 8f46bb34
[ 5465.188534] 8f46bb1c 8005a734 804bdadc 80048b8c 8f46bc64 00000000 00000447 00006600
[ 5465.188534] 00000000 00000000 00000000 00000000 00000000 00000000 30796870 00000000
[ 5465.188534] ...
[ 5465.188654] Call Trace:
[ 5465.188670] [<800186e4>] show_stack+0x70/0x8c
[ 5465.188710] [<801f333c>] dump_stack+0x94/0xcc
[ 5465.188734] [<8002fe60>] warn_slowpath_common+0x94/0xdc
[ 5465.188748] [<8002ff2c>] warn_slowpath_null+0x18/0x24
[ 5465.188793] [<8ef282e0>] ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]
[ 5465.188826]
[ 5465.188836] —[ end trace fef47880028bdeda ]— [ 5465.188852] ————[ cut here ]———— [ 5465.188892] WARNING: CPU: 0 PID: 2299 at compat-wireless-2017-01-31/net/mac80211/tx.c:946 ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]()
[ 5465.188900] Modules linked in: pppoe ppp_async shortcut_fe_cm pppox ppp_generic nf_nat_pptp nf_conntrack_pptp iptable_nat ipt_MASQUERADE xt_u32 xt_time xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota2 xt_quota xt_psd xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_lscan xt_limit xt_length2 xt_length xt_ipv4options xt_iprange xt_ipp2p xt_iface xt_hl xt_helper xt_hashlimit xt_geoip xt_fuzzy xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_cluster xt_addrtype xt_TPROXY xt_TEE xt_TCPMSS xt_SYSRQ xt_REDIRECT xt_NFQUEUE xt_NFLOG xt_NETMAP xt_LUA xt_LOGMARK xt_LOG xt_LED xt_IPMARK xt_HL xt_DSCP xt_DNETMAP xt_DHCPMAC xt_CLASSIFY xt_DELUDE xt_TARPIT ipt_REJECT xt_tcpudp xt_CHAOS xt_ACCOUNT ts_fsm ts_bm slhc shortcut_fe_ipv6 shortcut_fe nfnetlink_queue nfnetlink_log 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_ftp nf_nat_amanda nf_log_ipv4 nf_dup_ipv6 nf_dup_ipv4 nf_defrag_ipv4 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_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda iptable_mangle iptable_filter ipt_ah ipt_ECN ipt_CLUSTERIP ip_tables crc_ccitt compat_xtables br_netfilter sg mt76x2e mt7603e mt76 mac80211 cfg80211 compat 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_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos tun vfat fat nls_utf8 nls_iso8859_1 nls_cp936 nls_cp437 zram lz4_decompress lz4_compress zsmalloc sha1_generic mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic
[ 5465.189452] CPU: 0 PID: 2299 Comm: kworker/u8:0 Tainted: G W 4.4.86 #0
[ 5465.189496] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[ 5465.189504] Stack : 00000002 00000000 804bdadc 8f199f80 80550000 00000009 8ef5a99c 8ef9e4e0
[ 5465.189504] 8f46bc64 8f46bc60 8fa04f00 8005d998 000008fb 805b96dc 8f46bc64 00000000
[ 5465.189504] 804df664 8f46bb1c 804bdadc 8005a734 00000002 00000000 804c30ec 8f46bb34
[ 5465.189504] 8f46bb1c 8005a734 804bdadc 80048b8c 00000657 00000000 0000065b 00007430
[ 5465.189504] 00000000 00000000 00000000 00000000 00000000 00000000 30796870 00000000
[ 5465.189504] ...
[ 5465.189622] Call Trace:
[ 5465.189633] [<800186e4>] show_stack+0x70/0x8c
[ 5465.189651] [<801f333c>] dump_stack+0x94/0xcc
[ 5465.189665] [<8002fe60>] warn_slowpath_common+0x94/0xdc
[ 5465.189678] [<8002ff2c>] warn_slowpath_null+0x18/0x24
[ 5465.189722] [<8ef282e0>] ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]
[ 5465.189754]
[ 5465.189763] —[ end trace fef47880028bdedb ]— [ 5657.680148] ————[ cut here ]———— [ 5657.680337] WARNING: CPU: 2 PID: 2297 at compat-wireless-2017-01-31/net/mac80211/tx.c:946 ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]()
[ 5657.680348] Modules linked in: pppoe ppp_async shortcut_fe_cm pppox ppp_generic nf_nat_pptp nf_conntrack_pptp iptable_nat ipt_MASQUERADE xt_u32 xt_time xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota2 xt_quota xt_psd xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_lscan xt_limit xt_length2 xt_length xt_ipv4options xt_iprange xt_ipp2p xt_iface xt_hl xt_helper xt_hashlimit xt_geoip xt_fuzzy xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_cluster xt_addrtype xt_TPROXY xt_TEE xt_TCPMSS xt_SYSRQ xt_REDIRECT xt_NFQUEUE xt_NFLOG xt_NETMAP xt_LUA xt_LOGMARK xt_LOG xt_LED xt_IPMARK xt_HL xt_DSCP xt_DNETMAP xt_DHCPMAC xt_CLASSIFY xt_DELUDE xt_TARPIT ipt_REJECT xt_tcpudp xt_CHAOS xt_ACCOUNT ts_fsm ts_bm slhc shortcut_fe_ipv6 shortcut_fe nfnetlink_queue nfnetlink_log 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_ftp nf_nat_amanda nf_log_ipv4 nf_dup_ipv6 nf_dup_ipv4 nf_defrag_ipv4 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_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda iptable_mangle iptable_filter ipt_ah ipt_ECN ipt_CLUSTERIP ip_tables crc_ccitt compat_xtables br_netfilter sg mt76x2e mt7603e mt76 mac80211 cfg80211 compat 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_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos tun vfat fat nls_utf8 nls_iso8859_1 nls_cp936 nls_cp437 zram lz4_decompress lz4_compress zsmalloc sha1_generic mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic
[ 5657.680963] CPU: 2 PID: 2297 Comm: kworker/u8:1 Tainted: G W 4.4.86 #0
[ 5657.681011] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[ 5657.681020] Stack : 00000002 00000000 804bdadc 8f08ce00 80550000 00000009 8ef5a99c 8efa2c08
[ 5657.681020] 8efd7c64 8efd7c60 8fa06880 8005d998 000008f9 805b96dc 8efd7c64 00000000
[ 5657.681020] 804df664 8efd7b1c 804bdadc 8005a734 00000002 00000000 804c30ec 8efd7b34
[ 5657.681020] 8efd7b1c 8005a734 804bdadc 80048b8c 0000086b 00000000 0000086f 00008260
[ 5657.681020] 00000000 00000000 00000000 00000000 00000000 00000000 30796870 00000000
[ 5657.681020] ...
[ 5657.681140] Call Trace:
[ 5657.681157] [<800186e4>] show_stack+0x70/0x8c
[ 5657.681196] [<801f333c>] dump_stack+0x94/0xcc
[ 5657.681221] [<8002fe60>] warn_slowpath_common+0x94/0xdc
[ 5657.681235] [<8002ff2c>] warn_slowpath_null+0x18/0x24
[ 5657.681279] [<8ef282e0>] ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]
[ 5657.681312]
[ 5657.681323] —[ end trace fef47880028bdedc ]— [ 5657.681338] ————[ cut here ]———— [ 5657.681379] WARNING: CPU: 2 PID: 2297 at compat-wireless-2017-01-31/net/mac80211/tx.c:946 ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]()
[ 5657.681387] Modules linked in: pppoe ppp_async shortcut_fe_cm pppox ppp_generic nf_nat_pptp nf_conntrack_pptp iptable_nat ipt_MASQUERADE xt_u32 xt_time xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota2 xt_quota xt_psd xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_lscan xt_limit xt_length2 xt_length xt_ipv4options xt_iprange xt_ipp2p xt_iface xt_hl xt_helper xt_hashlimit xt_geoip xt_fuzzy xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_cluster xt_addrtype xt_TPROXY xt_TEE xt_TCPMSS xt_SYSRQ xt_REDIRECT xt_NFQUEUE xt_NFLOG xt_NETMAP xt_LUA xt_LOGMARK xt_LOG xt_LED xt_IPMARK xt_HL xt_DSCP xt_DNETMAP xt_DHCPMAC xt_CLASSIFY xt_DELUDE xt_TARPIT ipt_REJECT xt_tcpudp xt_CHAOS xt_ACCOUNT ts_fsm ts_bm slhc shortcut_fe_ipv6 shortcut_fe nfnetlink_queue nfnetlink_log 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_ftp nf_nat_amanda nf_log_ipv4 nf_dup_ipv6 nf_dup_ipv4 nf_defrag_ipv4 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_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda iptable_mangle iptable_filter ipt_ah ipt_ECN ipt_CLUSTERIP ip_tables crc_ccitt compat_xtables br_netfilter sg mt76x2e mt7603e mt76 mac80211 cfg80211 compat 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_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos tun vfat fat nls_utf8 nls_iso8859_1 nls_cp936 nls_cp437 zram lz4_decompress lz4_compress zsmalloc sha1_generic mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic
[ 5657.681939] CPU: 2 PID: 2297 Comm: kworker/u8:1 Tainted: G W 4.4.86 #0
[ 5657.681983] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[ 5657.681991] Stack : 00000002 00000000 804bdadc 8f08ce00 80550000 00000009 8ef5a99c 8efa2c08
[ 5657.681991] 8efd7c64 8efd7c60 8fa06580 8005d998 000008f9 805b96dc 8efd7c64 00000000
[ 5657.681991] 804df664 8efd7b1c 804bdadc 8005a734 00000002 00000000 804c30ec 8efd7b34
[ 5657.681991] 8efd7b1c 8005a734 804bdadc 80048b8c 00000a7f 00000000 00000a83 00009090
[ 5657.681991] 00000000 00000000 00000000 00000000 00000000 00000000 30796870 00000000
[ 5657.681991] ...
[ 5657.682109] Call Trace:
[ 5657.682120] [<800186e4>] show_stack+0x70/0x8c
[ 5657.682137] [<801f333c>] dump_stack+0x94/0xcc
[ 5657.682152] [<8002fe60>] warn_slowpath_common+0x94/0xdc
[ 5657.682165] [<8002ff2c>] warn_slowpath_null+0x18/0x24
[ 5657.682208] [<8ef282e0>] ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]
[ 5657.682240]
[ 5657.682249] —[ end trace fef47880028bdedd ]—

Might be a duplicate of FS#961.

21.09.20171013Base systemBug ReportVery LowHighsporadic reboot lede 17.01.2TrunkUnconfirmed Task Description

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

 


Running LEDE Reboot 17.01.2, r3435-65eec8bd5f on TP Link WDR4300. I have 2 routers, one as internet gateway and one as AP/repeater. My primary device connected to cable model will sporadically reboot at some times and loss of internet connectivity while server reboots. I”m not able to reproduce at this point. I’ve noticed this a number of times with a number of reboots compared to my 2nd box.

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

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

// LE \ ||_|_/|_| lede-project.org
\ \ DE /
\ LE \ / ———————————————————– \ DE \ / Reboot (17.01.2, r3435-65eec8bd5f)
\
__\/ ———————————————————–

root@lede-gateway:~# opkg list-installed
base-files - 173-r3435-65eec8bd5f
bind-client - 9.10.4-P5-1
bind-libs - 9.10.4-P5-1
block-mount - 2016-12-04-84b530a7-2
busybox - 1.25.1-4
ddns-scripts - 2.7.6-13
ddns-scripts_no-ip_com - 2.7.6-13
dnsmasq - 2.77-1
dropbear - 2017.75-1
e2fsprogs - 1.43.3-2
f2fsck - 1.8.0-1
fdisk - 2.29.2-1
firewall - 2017-05-27-a4d98aea-1
fstools - 2016-12-04-84b530a7-2
fwtool - 1
hostapd-common - 2016-12-19-ad02e79d-3
ip6tables - 1.4.21-2
iptables - 1.4.21-2
iptables-mod-conntrack-extra - 1.4.21-2
iptables-mod-ipopt - 1.4.21-2
iw - 4.9-1
iwinfo - 2016-09-21-fd9e17be-1
jshn - 2017-02-24-96305a3c-1
jsonfilter - 2016-07-02-dea067ad-1
kernel - 4.4.71-1-840c23c3f9dc6160d8c7bd302c6f494d
kmod-ath - 4.4.71+2017-01-31-2
kmod-ath9k - 4.4.71+2017-01-31-2
kmod-ath9k-common - 4.4.71+2017-01-31-2
kmod-cfg80211 - 4.4.71+2017-01-31-2
kmod-crypto-crc32c - 4.4.71-1
kmod-crypto-hash - 4.4.71-1
kmod-fs-ext4 - 4.4.71-1
kmod-fs-f2fs - 4.4.71-1
kmod-gpio-button-hotplug - 4.4.71-2
kmod-ifb - 4.4.71-1
kmod-ip6tables - 4.4.71-1
kmod-ipt-conntrack - 4.4.71-1
kmod-ipt-conntrack-extra - 4.4.71-1
kmod-ipt-core - 4.4.71-1
kmod-ipt-ipopt - 4.4.71-1
kmod-ipt-nat - 4.4.71-1
kmod-lib-crc-ccitt - 4.4.71-1
kmod-lib-crc16 - 4.4.71-1
kmod-mac80211 - 4.4.71+2017-01-31-2
kmod-nf-conntrack - 4.4.71-1
kmod-nf-conntrack6 - 4.4.71-1
kmod-nf-ipt - 4.4.71-1
kmod-nf-ipt6 - 4.4.71-1
kmod-nf-nat - 4.4.71-1
kmod-nls-base - 4.4.71-1
kmod-ppp - 4.4.71-1
kmod-pppoe - 4.4.71-1
kmod-pppox - 4.4.71-1
kmod-sched-cake - 4.4.71+2017-01-28-9789742c-1
kmod-sched-connmark - 4.4.71-1
kmod-sched-core - 4.4.71-1
kmod-scsi-core - 4.4.71-1
kmod-slhc - 4.4.71-1
kmod-usb-core - 4.4.71-1
kmod-usb-ledtrig-usbport - 4.4.71-1
kmod-usb-ohci - 4.4.71-1
kmod-usb-storage - 4.4.71-1
kmod-usb-uhci - 4.4.71-1
kmod-usb2 - 4.4.71-1
lede-keyring - 2017-01-20-a50b7529-1
libblkid - 2.29.2-1
libblobmsg-json - 2017-02-24-96305a3c-1
libc - 1.1.16-1
libext2fs - 1.43.3-2
libf2fs - 1.8.0-1
libfdisk - 2.29.2-1
libgcc - 5.4.0-1
libip4tc - 1.4.21-2
libip6tc - 1.4.21-2
libiwinfo - 2016-09-21-fd9e17be-1
libiwinfo-lua - 2016-09-21-fd9e17be-1
libjson-c - 0.12.1-1
libjson-script - 2017-02-24-96305a3c-1
liblua - 5.1.5-1
libmbedtls - 2.5.1-1
libnl-tiny - 0.1-5
libopenssl - 1.0.2k-1
libpthread - 1.1.16-1
librt - 1.1.16-1
libsmartcols - 2.29.2-1
libubox - 2017-02-24-96305a3c-1
libubus - 2017-02-18-34c6e818-1
libubus-lua - 2017-02-18-34c6e818-1
libuci - 2016-07-04-e1bf4356-1
libuci-lua - 2016-07-04-e1bf4356-1
libuclient - 2016-12-09-52d955fd-1
libustream-mbedtls - 2016-07-02-ec80adaa-2
libuuid - 2.29.2-1
libxtables - 1.4.21-2
logd - 2017-03-10-16f7e161-1
lua - 5.1.5-1
luci - git-17.152.82987-7f6fc16-1
luci-app-firewall - git-17.152.82987-7f6fc16-1
luci-app-qos - git-17.219.28675-9ee26ac-1
luci-app-sqm - 1.1.3-1
luci-app-upnp - git-17.219.28675-9ee26ac-1
luci-base - git-17.152.82987-7f6fc16-1
luci-lib-ip - git-17.152.82987-7f6fc16-1
luci-lib-jsonc - git-17.152.82987-7f6fc16-1
luci-lib-nixio - git-17.152.82987-7f6fc16-1
luci-mod-admin-full - git-17.152.82987-7f6fc16-1
luci-proto-ipv6 - git-17.152.82987-7f6fc16-1
luci-proto-ppp - git-17.152.82987-7f6fc16-1
luci-ssl - git-17.219.28675-9ee26ac-1
luci-theme-bootstrap - git-17.152.82987-7f6fc16-1
miniupnpd - 2.0.20170421-2
mkf2fs - 1.8.0-1
mtd - 21
netifd - 2017-01-25-650758b1-1
odhcp6c - 2017-01-30-c13b6a05-1
odhcpd - 2017-04-28-9268ca65-1
opkg - 2017-03-23-1d0263bb-1
ppp - 2.4.7-11
ppp-mod-pppoe - 2.4.7-11
procd - 2017-02-15-5f912410-1
px5g-mbedtls - 4
qos-scripts - 1.3.0-1
rpcd - 2016-12-03-0577cfc1-1
sqm-scripts - 1.1.3-1
sudo - 1.8.14p3-1
swconfig - 11
tc - 4.4.0-9
uboot-envtools - 2015.10-1
ubox - 2017-03-10-16f7e161-1
ubus - 2017-02-18-34c6e818-1
ubusd - 2017-02-18-34c6e818-1
uci - 2016-07-04-e1bf4356-1
uclient-fetch - 2016-12-09-52d955fd-1
uhttpd - 2016-10-25-1628fa4b-1
uhttpd-mod-ubus - 2016-10-25-1628fa4b-1
usign - 2015-07-04-ef641914-1
wireless-tools - 29-5
wpa-cli - 2016-12-19-ad02e79d-3
wpad - 2016-12-19-ad02e79d-3
zlib - 1.2.11-1

12.09.20171007Base systemBuild FailureVery LowHighbuild failure on musl. missing <sys/sysmacros.h>lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
lantiq w8970
- Software versions of LEDE release, packages, etc.
17.01 branch
- Steps to reproduce
1) try to build image
2) fails to build e2fsprogs and more.

I have this problem on other packages that require this include <sys/sysmacros.h>. package builds if I manually add the include.

I’m using musl, the source should include sysmacros.h : https://github.com/davidlazar/musl/blob/master/include/sys/types.h macro _GNU_SOURCE is not defined an so sys/sysmacros.h is not included and packages don’t build. should it be?

look at the log for build errors.

Showing tasks 1 - 50 of 396 Page 1 of 81 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing