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 TypePrioritySeveritySummary  descReported InStatus
10.06.2017836KernelBug ReportVery LowMediumZBT-WG3526 low wifi (2.4GHz) speedTrunkUnconfirmed Task Description

Hello.
Device ZBT-WG3526 (16Mb)
Software
Trunk LEDE Reboot SNAPSHOT r4362-5e4bb47 / LuCI Master (git-17.158.76358-75c8eba) (June 9, 2017)
Pakages

kmod-mt76-core - 4.4.71+2017-05-30-ef5b045d-1
kmod-mt7603 - 4.4.71+2017-05-30-ef5b045d-1
kmod-mt76x2 - 4.4.71+2017-05-30-ef5b045d-1

Steps to reproduce

  1. Choose a free channel, I have this channel 13

- Settings in the firmware, channel 13, band 40 MHz, type n.
- The distance between the laptop and the router is 1 meter.

Maximum connection speed 72 MB

On the factory old core (~ 3.3 ver), the connection speed was 150 mbps

18.02.2017532Base systemBug ReportVery LowMediumXiaomi mi nano (miwifi nano) unstable as WiFi Repeaterlede-17.01Unconfirmed Task Description

I run version 17.01.0-rc2 on my Xiaomi mi nano (https://lede-project.org/toh/hwdata/xiaomi/xiaomi_miwifi_nano)

I want to use it as wireless repeater with extra SSID (i think someone call it WISP client).

The miwifi is connected to my home wifi. And my device is connected to the SSID provided by the miwifi nano (no LAN connection).

If i do a speed test or download a large file to test the connection speed, the speed drops to a very low rate after some seconds. On the serial console i can see a call trace at this moment. After this, i have to reboot the miwifi nano to get a working WAN connection.

I will attach the serial console output. Hope that helps.

Tested with LAN connected was stable and fast.

drombo

15.07.2017908KernelBug ReportMediumLowx86: Xen support broken in 17.01.2 and laterlede-17.01Researching Task Description

Testing the x86/generic image with Xen 4.5:

  • 17.01.0: works
  • 17.01.1: works
  • 17.01.2: fails to boot
  • latest lede-17.01 r3466-f6907dcc79: fails to boot
  • latest trunk r4553-a89c36b: works

When the kernel fails to boot, xl prints this:

xc: error: elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images (Not '' and ''): Invalid kernel
libxl: error: libxl_dom.c:414:libxl__build_pv: xc_dom_parse_image failed: No such file or directory
libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build domain: -3

It means that the kernel image has no Xen support (or there is an issue with the support).

Given the changes between 17.01.1 and 17.01.2, I think the patch adding PAE support may be responsible.

This was first reported in FS#787.

14.08.2017960Base systemBug ReportVery LowLowx86: squashfs: overlay too small (108KB)TrunkUnconfirmed Task Description

Downloaded:

wget -O lede-17.01.2-x86-generic-combined-squashfs.img https://downloads.lede-project.org/releases/17.01.2/targets/x86/generic/lede-17.01.2-x86-generic-combined-squashfs.img


started:

kvm -snapshot lede-x86-generic-combined-squashfs.img -nographic
</code

Result: device stuck during initialization of /etc/config


I've looked at the df  output and noticed that the rootfs_data partition was too small to save anything on it:

<code>
root@(none):/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.0M      2.0M         0 100% /rom
tmpfs                    57.1M     32.0K     57.1M   0% /tmp
/dev/loop0              109.0K      8.0K     94.0K   8% /overlay
overlayfs:/overlay      109.0K      8.0K     94.0K   8% /
/dev/sda1                15.7M      3.8M     11.6M  25% /boot
/dev/sda1                15.7M      3.8M     11.6M  25% /boot
tmpfs                   512.0K         0    512.0K   0% /dev

This is odd because the partition (sda2) is >200 MB in size and the squashfs is only ~2MB. Here is the configuration of loop0:

<pre>
root@(none):/# grep /sys/block/loop0/loop/*
/sys/block/loop0/loop/autoclear:0
/sys/block/loop0/loop/backing_file:/sda2
/sys/block/loop0/loop/dio:0
/sys/block/loop0/loop/offset:1966080
/sys/block/loop0/loop/partscan:0
/sys/block/loop0/loop/sizelimit:0
root@(none):/# grep
/sys/block/loop0/*
/sys/block/loop0/alignment_offset:0
/sys/block/loop0/badblocks:
/sys/block/loop0/capability:250
/sys/block/loop0/dev:7:0
/sys/block/loop0/discard_alignment:0
/sys/block/loop0/ext_range:256
/sys/block/loop0/inflight: 0 0
/sys/block/loop0/range:1
/sys/block/loop0/removable:0
/sys/block/loop0/ro:0
/sys/block/loop0/size:8350976
/sys/block/loop0/stat: 13 0 26 0 1 0 2 0 0 0 0
/sys/block/loop0/uevent:MAJOR=7
/sys/block/loop0/uevent:MINOR=0
/sys/block/loop0/uevent:DEVNAME=loop0
/sys/block/loop0/uevent:DEVTYPE=disk
root@(none):/# grep ‘’ /sys/block/sda/sda2/*
/sys/block/sda/sda2/alignment_offset:0
/sys/block/sda/sda2/dev:8:2
/sys/block/sda/sda2/discard_alignment:0
/sys/block/sda/sda2/inflight: 0 0
/sys/block/sda/sda2/partition:2
/sys/block/sda/sda2/ro:0
/sys/block/sda/sda2/size:8354816
/sys/block/sda/sda2/start:33792
/sys/block/sda/sda2/stat: 42 1451 3044 10 5 3 16 0 0 10 10
/sys/block/sda/sda2/uevent:MAJOR=8
/sys/block/sda/sda2/uevent:MINOR=2
/sys/block/sda/sda2/uevent:DEVNAME=sda2
/sys/block/sda/sda2/uevent:DEVTYPE=partition
/sys/block/sda/sda2/uevent:PARTN=2
</pre>

24.08.2016115Base systemBug ReportVery LowMediumWWAN-connections using 3g with HUAWEI ME909u-521 unstab...TrunkUnconfirmed Task Description

Actually, I am trying to stabilize wwan (3g actually; LTE later on) using pppd with my HUAWEI ME909u-521,
because either my MT7620-based router locks up during boot already; or after short period of real usage.
During night, when router is almost idle, just some watchdog date sent via wwan, no problem.

First trace of a possible problem was this msg in logread:
daemon.notice netifd: wwan (1676): Error setting WWAN mode!

Wich is expected, as in /lib/netifd/proto/3g.sh:

...

                      elif echo "$cardinfo" | grep -qi huawei; then
                              case "$service" in
                                      umts_only) CODE="14,2";;
                                      gprs_only) CODE="13,1";;
                                      *) CODE="2,2";;
                              esac
                              export MODE="AT^SYSCFG=${CODE},3FFFFFFF,2,4"    #####Will not work !!!!! Switching USB-Stick to 3g-preferred ?

...
...

                      [ -n "$MODE" ] && gcom -d "$device" -s /etc/gcom/setmode.gcom

Will not work, because the ME909u-521 rejects AT^SYSCFG . However, AT^SYSCFGEX will work, but having different syntax.
MODE=”AT^SYSCFG=${CODE},3FFFFFFF,2,4” will be effective for simpler modems.

/etc/gcom/setmode.gcom returns exit 1; but this error is not checked in 3g.sh

Not shure, whether this is the reason for my problems; however, reason of concern, as high speed modems
are more and more common.
Willing to participate in testing/debugging.

For details regarding my modem, consult
HUAWEI ME909u-521 LTE LGA Module AT Command Interface Specification
http://www.paoli.cz/out/media/HUAWEI_ME909u-521_LTE_LGA_Module_AT_Command_Interface_Specification-V100R001_02.pdf

19.07.2017915Base systemBug ReportVery LowLowWRT54GS v1.1 Power LED flashes & leds-gpio fails to loa...AllUnconfirmed Task Description

The leds-gpio module fails to load on WRT54GS v1.1 with this error message in the console:
“leds-gpio: probe of leds-gpio failed with error -16” This applies both to OpenWRT 15.05.1 and LEDE 17.01.2 as well as the latest Snapshot.

The nvram variable “boardtype” is 0×0708 on this device.
In leds.c this gets mapped to “bcm47xx_leds_linksys_wrt54g_generic” http://elixir.free-electrons.com/linux/latest/source/arch/mips/bcm47xx/leds.c#L677

With the following layout:

BCM47XX_GPIO_LED(0, "unk", "dmz", 1, LEDS_GPIO_DEFSTATE_OFF),
BCM47XX_GPIO_LED(1, "unk", "power", 0, LEDS_GPIO_DEFSTATE_ON),
BCM47XX_GPIO_LED(5, "white", "wps", 1, LEDS_GPIO_DEFSTATE_OFF),
BCM47XX_GPIO_LED(7, "orange", "wps", 1, LEDS_GPIO_DEFSTATE_OFF),

But this layout is invalid because this board does not have the “SecureEasySetup” WPS button.
GPIO5 is used by the reset button, that is why leds-gpio fails with error -16 (Device or resource busy).

As a quick test I changed the “boardtype” to 0×0101, leds-gpio can then load successfully and the power LED no longer flashes.
That layout is however not correct for the WRT54GS, the actual layout is:

Name	GPIO	Polarity
WLAN	0	Active low
POWER	1	Active high
DMZ	7	Active low

The problem in the source is that “boardtype” 0×0708 is not a unique identifier.
That actually matches several WRT54G v2 > v3.1 devices, and apparently also WRT54GS up to revision 2.1 that has the WPS button.
See the following old bug report for a list: https://lists.openwrt.org/pipermail/openwrt-devel/2014-June/025868.html

So the proper fix would be to introduce the variable “boardflags” as well into the code:
http://elixir.free-electrons.com/linux/latest/source/arch/mips/bcm47xx/board.c#L297

It is also worth noting that the reason the Power LED flickers is due to it’s hardware implementation.
The LED can only be on or flashing, the flashing is done by an oscillator on the board itself.
Ref: https://bugs.lede-project.org/index.php?do=details&task_id=793

04.05.2017761Base systemBug ReportVery LowMediumWRT54G image is too big for device.lede-17.01Unconfirmed Task Description

Device: WRT54G v2
Lede version/build: lede-17.01.1-brcm47xx-legacy-linksys-wrt54g-squashfs.bin

The image provided is 4001824 bytes, whereas device flash is 3866624 bytes.
Cannot upload firmware to device.

Source old wiki: https://wiki.openwrt.org/toh/linksys/wrt54g

28.04.2017740Base systemBug ReportVery LowMediumWRT54 Router Power LED continually flasheslede-17.01Unconfirmed Task Description
  • LEDE 17.01.1
  • WRT54G v3 and WRT54GS
  • after installing, power LED continually flashes
  • no noticeable difference in LED between failsafe/actual moment of soft reboot//when router is up
  • I had to failsafe the WRT54G multiple times due to other initial config errors (attempting to bridge wlan0 to LAN, which was possible in another OS), I could only identify failsafe by Pinging it then SSHing quickly
  • The method I described to identify failsafe is not mentioned in documentation
02.11.2016263KernelBug ReportVery LowMediumWRT3200ACM WAN connection failure in under 24 hoursTrunkWaiting on reporter Task Description

Symptom

WAN connectivity is lost until the device is rebooted; failure aligns with stack trace (attached). I’ve observed three failures of this same type, and all have occurred at around 18 hours of device up time. Work-around (yet to be tested) is to schedule a periodic device reboot every 12 hours.

Device problem occurs on

  • Linksys WRT3200ACM (version 1)
  • LEDE configuration is near-stock, with the only modifications being PPPoE configuration and WiFi setup/enable. Issue does not appear to be similar to FS#227 (PPPoE).

Software versions of LEDE release, packages, etc.

Release:

  [0.000000] Linux version 4.4.28 (buildbot@builds) (gcc version 5.4.0 (LEDE GCC 5.4.0 r2062) ) #0 SMP Mon Oct 31 16:13:37 2016
  [0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
  [0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  [0.000000] Machine model: Linksys WRT3200ACM

Packages:

  Default packages + luci-ssl

Possibly helpful info (80211 related output in log):

  <<Marvell 802.11ac Wireless Network Driver version 10.3.2.0-20161011>>
  pci 0000:00:01.0: enabling device (0140 -> 0142)
  ieee80211 phy0: priv->iobase0 = e0e00000
  ieee80211 phy0: priv->iobase1 = e1080000
  ieee80211 phy0: priv->pcmd_buf = de248000  priv->pphys_cmd_buf = 1e248000
  ieee80211 phy0: fw download start
  ieee80211 phy0: FwSize = 207660 downloaded Size = 207660 curr_iteration 65522
  ieee80211 phy0: fw download complete
  ieee80211 phy0: pcmd = de248000
  ieee80211 phy0: firmware version: 0x7080004
  ieee80211 phy0: firmware region code: 10
  ieee80211 phy0: 2G disabled, 5G enabled
  ieee80211 phy0: 4 TX antennas, 4 RX antennas
  pci 0000:00:02.0: enabling device (0140 -> 0142)
  ieee80211 phy1: priv->iobase0 = e1200000
  ieee80211 phy1: priv->iobase1 = e1480000
  ieee80211 phy1: priv->pcmd_buf = dda20000  priv->pphys_cmd_buf = 1da20000
  ieee80211 phy1: fw download start
  ieee80211 phy1: FwSize = 207660 downloaded Size = 207660 curr_iteration 65527
  ieee80211 phy1: fw download complete
  ieee80211 phy1: pcmd = dda20000
  ieee80211 phy1: firmware version: 0x7080004
  ieee80211 phy1: firmware region code: 10
  ieee80211 phy1: 2G enabled, 5G disabled
  ieee80211 phy1: 4 TX antennas, 4 RX antennas

Steps to reproduce

Device was idle before the stack trace, but logs show some DHCP-related activity within 1 minute prior to the fault.

Stack Trace

Wed Nov  2 17:10:41 2016 kern.err kernel: [74541.045379] ieee80211 phy1: create ba result error 1
Wed Nov  2 17:10:41 2016 kern.err kernel: [74541.059396] ieee80211 phy1: ampdu operation error code: -22
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.085673] ------------[ cut here ]------------
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.090364] WARNING: CPU: 0 PID: 5305 at compat-wireless-2016-10-08/net/mac80211/agg-tx.c:398 ___ieee80211_stop_tx_ba_session+0x1e8/0x1f8 [mac80211]()
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.103914] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_fWed Nov  2 17:10:42 2016 kern.warn kernel: [74542.162765] CPU: 0 PID: 5305 Comm: kworker/u4:2 Not tainted 4.4.28 #0
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.169230] Hardware name: Marvell Armada 380/385 (Device Tree)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.175192] Workqueue: phy1 ieee80211_iface_work [mac80211]
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.180804] [<c0027d80>] (unwind_backtrace) from [<c0024500>] (show_stack+0x10/0x14)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.188584] [<c0024500>] (show_stack) from [<c021779c>] (dump_stack+0x8c/0xa0)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.195838] [<c021779c>] (dump_stack) from [<c0034e5c>] (warn_slowpath_common+0x94/0xb0)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.203962] [<c0034e5c>] (warn_slowpath_common) from [<c0034f14>] (warn_slowpath_null+0x1c/0x24)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.212799] [<c0034f14>] (warn_slowpath_null) from [<bf0849fc>] (___ieee80211_stop_tx_ba_session+0x1e8/0x1f8 [mac80211])
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.223749] [<bf0849fc>] (___ieee80211_stop_tx_ba_session [mac80211]) from [<bf084df0>] (__ieee80211_stop_tx_ba_session+0x2c/0x40 [mac80211])
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.236527] [<bf084df0>] (__ieee80211_stop_tx_ba_session [mac80211]) from [<bf089174>] (ieee80211_iface_work+0x1c0/0x610 [mac80211])
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.248510] [<bf089174>] (ieee80211_iface_work [mac80211]) from [<c00494a4>] (process_one_work+0x228/0x3bc)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.258292] [<c00494a4>] (process_one_work) from [<c0049948>] (worker_thread+0x310/0x504)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.266505] [<c0049948>] (worker_thread) from [<c004e65c>] (kthread+0xf0/0xf8)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.273758] [<c004e65c>] (kthread) from [<c0009d38>] (ret_from_fork+0x14/0x3c)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.281021] ---[ end trace 09d229b863156d80 ]---
19.04.2017717Base systemBug ReportVery LowHighWRT3200ACM USB 3.0 ProblemAllUnconfirmed Task Description

I can´t get my Seagate Expansion Portable 1TB STEA1000400 USB3.0 drive to be be recognized on the USB 3.0 port of the router after a reboot or cold start on WRT3200 but if i remove and hotplug the drive, it is automatically detected and can be mounted.
It happens with images from Openwrt 15.05.1, LEDE 17.01.1 and many snapshots from both projects that i have installed. I have no problem with another usb2.0 drive from Samsung that is installed in another USB2.0 port.

After Cold START or REBOOT

 root@LEDE:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.20 (ag33e33@ubuntu) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3963-7ae58be) ) #0 SMP Wed Apr 12 16:12:18 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Linksys WRT3200ACM
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0646900, node_mem_map dfbf9000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 13 pages/cpu @dfbce000 s22732 r8192 d22324 u53248
[    0.000000] pcpu-alloc: s22732 r8192 d22324 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock6 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,128K(u_env),256K(s_env),256K@8064K(devinfo),1920K@8320K(sysdiag),80m@10m(kernel),74m@16m(rootfs),80m@90m(alt_kernel),74m@96m(alt_rootfs),160m@10m(ubifs),-@170m(syscfg)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512848K/524288K available (4545K kernel code, 180K rwdata, 1244K rodata, 280K init, 310K bss, 11440K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
                   lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc0478918   (4547 kB)
                     .init : 0xc05d4000 - 0xc061a000   ( 280 kB)
                     .data : 0xc061a000 - 0xc0647200   ( 181 kB)
                      .bss : 0xc0647200 - 0xc0694a00   ( 310 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 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] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Selected CPU frequency (16) unsupported
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000002] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.000008] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000114] Calibrating local timer... 933.22MHz.
[    0.060032] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.060037] pid_max: default: 32768 minimum: 301
[    0.060076] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060079] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060274] CPU: Testing write buffer coherency: ok
[    0.060365] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060376] Setting up static identity map for 0x8280 - 0x82d8
[    0.060434] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.060494] mvebu-pmsu: Initializing Power Management Service Unit
[    0.060904] Booting CPU 1
[    0.061041] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.061070] Brought up 2 CPUs
[    0.061075] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.061078] CPU: All CPU(s) started in SVC mode.
[    0.062739] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.062790] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.062796] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.062831] pinctrl core: initialized pinctrl subsystem
[    0.063142] NET: Registered protocol family 16
[    0.063575] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.090041] cpuidle: using governor ladder
[    0.090171] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.090177] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.120467] reg-fixed-voltage xhci0-vbus: could not find pctldev for node /soc/internal-regs/pinctrl@18000/xhci0-vbus-pins, deferring probe
[    0.120607] SCSI subsystem initialized
[    0.120687] libata version 3.00 loaded.
[    0.120790] usbcore: registered new interface driver usbfs
[    0.120815] usbcore: registered new interface driver hub
[    0.120835] usbcore: registered new device driver usb
[    0.121329] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.121647] NET: Registered protocol family 2
[    0.121869] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.121890] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.121920] TCP: Hash tables configured (established 4096 bind 4096)
[    0.121941] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.121952] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.122009] NET: Registered protocol family 1
[    0.122021] PCI: CLS 0 bytes, default 64
[    0.122803] Crashlog allocated RAM at address 0x3f00000
[    0.122877] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.124945] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.124953] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.125699] io scheduler noop registered
[    0.125703] io scheduler deadline registered (default)
[    0.126071] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.126671] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    0.126679] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.126683] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.126687] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.126701] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400
[    0.126784] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400
[    0.126859] PCI: bus0: Fast back to back transfers disabled
[    0.126864] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.126870] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.126918] pci 0000:01:00.0: [11ab:2b40] type 00 class 0x020000
[    0.126933] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x401fffff 64bit pref]
[    0.126943] pci 0000:01:00.0: reg 0x18: [mem 0x40200000-0x402fffff 64bit pref]
[    0.127002] pci 0000:01:00.0: supports D1 D2
[    0.127005] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.127068] PCI: bus1: Fast back to back transfers disabled
[    0.127073] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.127132] pci 0000:02:00.0: [11ab:2b40] type 00 class 0x020000
[    0.127151] pci 0000:02:00.0: reg 0x10: [mem 0x42000000-0x421fffff 64bit pref]
[    0.127162] pci 0000:02:00.0: reg 0x18: [mem 0x42200000-0x422fffff 64bit pref]
[    0.127244] pci 0000:02:00.0: supports D1 D2
[    0.127246] pci 0000:02:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.127310] PCI: bus2: Fast back to back transfers disabled
[    0.127315] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    0.127384] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe02fffff]
[    0.127390] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0400000-0xe06fffff]
[    0.127396] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe01fffff 64bit pref]
[    0.127405] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
[    0.127413] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.127418] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe02fffff]
[    0.127425] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0400000-0xe05fffff 64bit pref]
[    0.127434] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0600000-0xe06fffff 64bit pref]
[    0.127443] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.127448] pci 0000:00:02.0:   bridge window [mem 0xe0400000-0xe06fffff]
[    0.127646] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.181754] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.181840] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.241717] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.241857] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.242621] console [ttyS0] disabled
[    0.262683] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 21, base_baud = 12500000) is a 16550A
[    0.983287] console [ttyS0] enabled
[    0.988691] loop: module loaded
[    0.992090] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.001176] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.010274] scsi host0: ahci-mvebu
[    1.013847] scsi host1: ahci-mvebu
[    1.017348] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    1.025306] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[    1.033594] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.041369] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda
[    1.047747] nand: AMD/Spansion S34ML02G2
[    1.051690] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    1.059379] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.066556] Bad block table found at page 131008, version 0x01
[    1.072752] Bad block table found at page 130944, version 0x01
[    1.078863] 11 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.085074] Creating 11 MTD partitions on "pxa3xx_nand-0":
[    1.090582] 0x000000000000-0x000000200000 : "u-boot"
[    1.095830] 0x000000200000-0x000000220000 : "u_env"
[    1.100951] 0x000000220000-0x000000260000 : "s_env"
[    1.106089] 0x0000007e0000-0x000000820000 : "devinfo"
[    1.111433] 0x000000820000-0x000000a00000 : "sysdiag"
[    1.116797] 0x000000a00000-0x000005a00000 : "kernel1"
[    1.122301] 0x000001000000-0x000005a00000 : "ubi"
[    1.127404] 0x000005a00000-0x00000aa00000 : "kernel2"
[    1.132905] 0x000006000000-0x00000aa00000 : "rootfs2"
[    1.138362] 0x00000aa00000-0x000010000000 : "syscfg"
[    1.143774] 0x000000260000-0x000000820000 : "unused_area"
[    1.149701] libphy: Fixed MDIO Bus: probed
[    1.154064] libphy: orion_mdio_bus: probed
[    1.158297] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.166962] mvneta f1070000.ethernet eth0: Using hardware mac address 60:38:e0:b9:ea:c0
[    1.175959] mvneta f1034000.ethernet eth1: Using random mac address a2:8d:5e:6d:ee:98
[    1.183881] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.190435] ehci-pci: EHCI PCI platform driver
[    1.194928] ehci-platform: EHCI generic platform driver
[    1.200245] ehci-orion: EHCI orion driver
[    1.204336] orion-ehci f1058000.usb: EHCI Host Controller
[    1.209765] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.217412] orion-ehci f1058000.usb: irq 37, io mem 0xf1058000
[    1.251329] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.257480] hub 1-0:1.0: USB hub found
[    1.261254] hub 1-0:1.0: 1 port detected
[    1.265551] usbcore: registered new interface driver usb-storage
[    1.271723] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.279341] i2c /dev entries driver
[    1.294252] orion_wdt: Initial timeout 171 sec
[    1.298933] sdhci: Secure Digital Host Controller Interface driver
[    1.305146] sdhci: Copyright(c) Pierre Ossman
[    1.362546] ata1: SATA link down (SStatus 0 SControl 300)
[    1.367991] ata2: SATA link down (SStatus 0 SControl 300)
[    1.371354] mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using ADMA
[    1.371428] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.377154] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.377556] NET: Registered protocol family 10
[    1.391590] NET: Registered protocol family 17
[    1.391604] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.391605] 8021q: 802.1Q VLAN Support v1.8
[    1.391661] Registering SWP/SWPB emulation handler
[    1.392791] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.392803] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[    1.392861] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.392881] xhci-hcd f10f8000.usb3: irq 44, io mem 0xf10f8000
[    1.393134] hub 2-0:1.0: USB hub found
[    1.393160] hub 2-0:1.0: 1 port detected
[    1.393247] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.393253] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.393292] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.393478] hub 3-0:1.0: USB hub found
[    1.393501] hub 3-0:1.0: 1 port detected
[    1.393820] UBI: auto-attach mtd6
[    1.393824] ubi0: attaching mtd6
[    1.397930] random: fast init done
[    1.401551] mmc0: new high speed SDIO card at address 0001
[    1.593092] ubi0: scanning is finished
[    1.601334] ubi0: attached mtd6 (name "ubi", size 74 MiB)
[    1.606756] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.613664] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.620479] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.627475] ubi0: good PEBs: 592, bad PEBs: 0, corrupted PEBs: 0
[    1.633508] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    1.640759] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1419003487
[    1.649932] ubi0: available PEBs: 0, total reserved PEBs: 592, PEBs reserved for bad PEB handling: 40
[    1.659197] ubi0: background thread "ubi_bgt0d" started, PID 668
[    1.659208] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    1.659643] block ubiblock0_0: created from ubi0:0(rootfs)
[    1.659645] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    1.659829] mvsw61xx 10.mvsw61xx: Found MV88E6352 at f1072004.mdio-mi:10
[    1.659832] mvsw61xx 10.mvsw61xx: Using direct addressing
[    1.671972] armada38x-rtc f10a3800.rtc: setting system clock to 2101-11-05 12:45:50 UTC (4160637950)
[    1.705850] Waiting 1 sec before mounting root device...
[    1.852932] usb-storage 1-1:1.0: USB Mass Storage device detected
[    1.859142] scsi host2: usb-storage 1-1:1.0
[    2.722974] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.730260] Freeing unused kernel memory: 280K (c05d4000 - c061a000)
[    2.736655] This architecture does not have kernel memory protection.
[    2.855724] init: Console is alive
[    2.859203] init: - watchdog -
[    2.924338] scsi 2:0:0:0: Direct-Access     Samsung  S2 Portable           PQ: 0 ANSI: 2 CCS
[    3.111498] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.151660] sd 2:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    3.159777] sd 2:0:0:0: [sda] Write Protect is off
[    3.164597] sd 2:0:0:0: [sda] Mode Sense: 28 00 00 00
[    3.165152] sd 2:0:0:0: [sda] No Caching mode page found
[    3.170490] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    3.179038]  sda: sda1
[    3.183653] sd 2:0:0:0: [sda] Attached SCSI disk
[    3.188738] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.195221] ohci-platform: OHCI generic platform driver
[    3.200902] uhci_hcd: USB Universal Host Controller Interface driver
[    3.207556] ohci-pci: OHCI PCI platform driver
[    3.212156] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.228593] init: - preinit -
[    3.422394] mvneta f1070000.ethernet tmp0: renamed from eth0
[    3.462586] mvneta f1034000.ethernet eth0: renamed from eth1
[    3.512510] mvneta f1070000.ethernet eth1: renamed from tmp0
[    3.833291] mvneta f1034000.ethernet eth0: configuring for fixed link mode
[    3.840562] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    3.846607] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    3.854578] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.909798] mount_root: loading kmods from internal overlay
[    5.921475] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    5.929503] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    6.328768] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 806
[    6.357145] UBIFS (ubi0:1): recovery needed
[    6.403932] random: crng init done
[    6.431762] UBIFS (ubi0:1): recovery completed
[    6.436249] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    6.444117] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.454076] UBIFS (ubi0:1): FS size: 61329408 bytes (58 MiB, 483 LEBs), journal size 3047424 bytes (2 MiB, 24 LEBs)
[    6.464556] UBIFS (ubi0:1): reserved for root: 2896739 bytes (2828 KiB)
[    6.471198] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID DEE50754-EFFE-4990-A7A6-C97266C9BEF0, small LPT model
[    6.483473] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    6.493882] block: extroot: not configured
[    6.531369] UBIFS (ubi0:1): un-mount UBI device 0
[    6.536097] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[    6.544028] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 809
[    6.591527] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    6.599392] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.609356] UBIFS (ubi0:1): FS size: 61329408 bytes (58 MiB, 483 LEBs), journal size 3047424 bytes (2 MiB, 24 LEBs)
[    6.619838] UBIFS (ubi0:1): reserved for root: 2896739 bytes (2828 KiB)
[    6.626483] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID DEE50754-EFFE-4990-A7A6-C97266C9BEF0, small LPT model
[    6.641627] mount_root: loading kmods from internal overlay
[    6.652909] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    6.670201] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    7.078279] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    7.086484] block: extroot: not configured
[    7.132013] mount_root: switching to ubifs overlay
[    7.176201] ubi1: attaching mtd9
[    7.407547] ubi1: scanning is finished
[    7.415742] ubi1: attached mtd9 (name "syscfg", size 86 MiB)
[    7.421435] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    7.428338] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    7.435155] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[    7.442148] ubi1: good PEBs: 680, bad PEBs: 8, corrupted PEBs: 0
[    7.448177] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[    7.455430] ubi1: max/mean erase counter: 6/4, WL threshold: 4096, image sequence number: 1148089792
[    7.464603] ubi1: available PEBs: 0, total reserved PEBs: 680, PEBs reserved for bad PEB handling: 32
[    7.473869] ubi1: background thread "ubi_bgt1d" started, PID 824
[    7.485213] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 828
[    7.537764] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "syscfg"
[    7.545202] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    7.555161] UBIFS (ubi1:0): FS size: 80375808 bytes (76 MiB, 633 LEBs), journal size 4063232 bytes (3 MiB, 32 LEBs)
[    7.565642] UBIFS (ubi1:0): reserved for root: 3796347 bytes (3707 KiB)
[    7.572287] UBIFS (ubi1:0): media format: w4/r0 (latest is w4/r0), UUID A5EAB2F8-92D3-4D0B-A69A-9F6CA9A608B3, small LPT model
[    7.585463] urandom-seed: Seeding with /etc/urandom.seed
[    7.684142] procd: - early -
[    7.687055] procd: - watchdog -
[    8.315049] procd: - ubus -
[    8.371904] procd: - init -
[    8.546612] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.557859] tun: Universal TUN/TAP device driver, 1.6
[    8.562965] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    8.571391] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    8.580401] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    8.587876] cryptodev: driver 1.8 loaded.
[    8.592340] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[    8.600387] Backport generated by backports.git backports-20160324-13-g24da7d3c
[    8.615059] <<Marvell 802.11ac Wireless Network Driver version 10.3.2.0-20170110>>
[    8.622702] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    8.628443] ieee80211 phy0: priv->iobase0 = e0f80000
[    8.628454] ieee80211 phy0: priv->iobase1 = e1200000
[    8.628463] ieee80211 phy0: priv->pcmd_buf = ddf08000  priv->pphys_cmd_buf = 1df08000
[    8.636458] ieee80211 phy0: fw download start
[    8.699990] ieee80211 phy0: FwSize = 207660 downloaded Size = 207660 curr_iteration 65522
[   12.431324] ieee80211 phy0: fw download complete
[   12.431783] ieee80211 phy0: pcmd = ddf08000
[   12.449817] ieee80211 phy0: firmware version: 0x7080004
[   12.809338] ieee80211 phy0: firmware region code: 10
[   12.851995] ieee80211 phy0: 2G disabled, 5G enabled
[   12.856895] ieee80211 phy0: 4 TX antennas, 4 RX antennas
[   12.862298] pci 0000:00:02.0: enabling device (0140 -> 0142)
[   12.868032] ieee80211 phy1: priv->iobase0 = e1380000
[   12.868043] ieee80211 phy1: priv->iobase1 = e1600000
[   12.868052] ieee80211 phy1: priv->pcmd_buf = dddf0000  priv->pphys_cmd_buf = 1ddf0000
[   12.874418] ieee80211 phy1: fw download start
[   12.939175] ieee80211 phy1: FwSize = 207660 downloaded Size = 207660 curr_iteration 65527
[   14.327325] ieee80211 phy1: fw download complete
[   14.327812] ieee80211 phy1: pcmd = dddf0000
[   14.345344] ieee80211 phy1: firmware version: 0x7080004
[   14.706323] ieee80211 phy1: firmware region code: 10
[   14.750021] ieee80211 phy1: 2G enabled, 5G disabled
[   14.754934] ieee80211 phy1: 4 TX antennas, 4 RX antennas
[   14.762803] u32 classifier
[   14.765522]     input device check on
[   14.769196]     Actions configured
[   14.773037] Mirror/redirect action on
[   14.778285] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   14.790080] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.799009] mwifiex: rx work enabled, cpus 2
[   14.846998] usbcore: registered new interface driver ums-alauda
[   14.853672] usbcore: registered new interface driver ums-cypress
[   14.860218] usbcore: registered new interface driver ums-datafab
[   14.866723] usbcore: registered new interface driver ums-freecom
[   14.873187] usbcore: registered new interface driver ums-isd200
[   14.879542] usbcore: registered new interface driver ums-jumpshot
[   14.886112] usbcore: registered new interface driver ums-karma
[   14.892282] usbcore: registered new interface driver ums-sddr09
[   14.898499] usbcore: registered new interface driver ums-sddr55
[   14.904752] usbcore: registered new interface driver ums-usbat
[   14.917781] xt_time: kernel timezone is -0000
[   14.925132] PPP generic driver version 2.4.2
[   14.929843] NET: Registered protocol family 24
[   14.935112] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.469997] mwifiex_sdio mmc0:0001:1: info: FW download over, size 391772 bytes
[   15.831665] mwifiex_sdio mmc0:0001:1: WLAN FW is active
[   15.864262] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
[   15.871261] mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during       initialization
[   15.890625] mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (15.68.7.p5)
[   15.898674] mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (15.68.7.p5)
[   16.052347] mvneta f1034000.ethernet eth0: configuring for fixed link mode
[   16.059309] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   16.065375] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   16.073372] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.081683] br-lan: port 1(eth0.1) entered blocking state
[   16.087106] br-lan: port 1(eth0.1) entered disabled state
[   16.092675] device eth0.1 entered promiscuous mode
[   16.097485] device eth0 entered promiscuous mode
[   16.103227] br-lan: port 1(eth0.1) entered blocking state
[   16.108650] br-lan: port 1(eth0.1) entered forwarding state
[   16.122758] mvneta f1070000.ethernet eth1: configuring for fixed link mode
[   16.130044] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   16.136169] mvneta f1070000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   16.144170] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   16.342477] pppoe-wan: renamed from ppp0
[   16.900336] ieee80211 phy1: change: 0xffffffff
[   17.006509] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   17.137396] ieee80211 phy0: change: 0xffffffff
[   17.271596] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   17.277594] br-lan: port 2(wlan1) entered blocking state
[   17.282955] br-lan: port 2(wlan1) entered disabled state
[   17.288408] device wlan1 entered promiscuous mode
[   17.293166] br-lan: port 2(wlan1) entered blocking state
[   17.298502] br-lan: port 2(wlan1) entered forwarding state
[   17.304255] br-lan: port 2(wlan1) entered disabled state
[   17.309734] br-lan: port 3(wlan0) entered blocking state
[   17.315091] br-lan: port 3(wlan0) entered disabled state
[   17.320543] device wlan0 entered promiscuous mode
[   17.327109] ieee80211 phy0: change: 0x100
[   17.344423] ieee80211 phy0: change: 0x40
[   17.380440] ieee80211 phy1: change: 0x100
[   17.392530] ieee80211 phy1: change: 0x42
[   17.593821] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   17.600257] br-lan: port 2(wlan1) entered blocking state
[   17.605603] br-lan: port 2(wlan1) entered forwarding state
[   17.611269] ieee80211 phy0: change: 0x40
[   17.671185] ieee80211 phy1: change: 0x20
[   17.861365] ieee80211 phy0: change: 0x40
[   17.993370] ieee80211 phy0: change: 0x100
[   18.060535] ieee80211 phy0: change: 0x100
[   18.073629] ieee80211 phy0: change: 0x42
[   18.341340] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   18.347812] br-lan: port 3(wlan0) entered blocking state
[   18.353170] br-lan: port 3(wlan0) entered forwarding state
 root@LEDE:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04e8:1f05 Samsung Electronics Co., Ltd S2 Portable [JMicron] (500GB)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

After i remove the cable and hotplug i get this additional lines in DMESG:

 #
[  527.103849] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[  527.134880] usb-storage 3-1:1.0: USB Mass Storage device detected
[  527.141155] scsi host3: usb-storage 3-1:1.0
[  528.154087] scsi 3:0:0:0: Direct-Access     Seagate  Expansion        1805 PQ: 0 ANSI: 6
[  529.455313] sd 3:0:0:0: [sdb] 1953525167 512-byte logical blocks: (1.00 TB/932 GiB)
[  529.463210] sd 3:0:0:0: [sdb] Write Protect is off
[  529.468032] sd 3:0:0:0: [sdb] Mode Sense: 33 00 00 08
[  529.473381] sd 3:0:0:0: [sdb] No Caching mode page found
[  529.478724] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[  529.499962]  sdb: sdb1 sdb2
[  529.503903] sd 3:0:0:0: [sdb] Attached SCSI disk
[  612.132851] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts:
root@LEDE:~# lsusb
Bus 003 Device 002: ID 0bc2:231b Seagate RSS LLC
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04e8:1f05 Samsung Electronics Co., Ltd S2 Portable [JMicron] (500GB)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 


05.07.2017888KernelBug ReportVery LowMediumWRT1900ACv1 random reboots since kernel 4.9TrunkUnconfirmed Task Description

- Device problem occurs only on WRT1900AC v1, others in the series are unaffected.
- Problem occurs on LEDE Snapshot since the introduction of kernel 4.9. Can be worked around by building with kernel 4.4.
- Steps to reproduce = Flash LEDE Snapshot (with/without keeping configs) via sysupgrade or factory image (tested all combinations).
- Frequency = sometimes during boot, sometimes after several days (in my experience, more often if in use).
- Logs = No crash log created (ideas on how to catch it are welcome).
- Discussion of the issue = https://forum.lede-project.org/t/wrt1900acv1-reboots-kernel-4-9/

 


27.02.2017564Base systemBug ReportVery LowLowWRT1900ACV1 Mamba No crashlog createdTrunkUnconfirmed Task Description

WRT1900ACV1 4.9.13
LEDE Reboot SNAPSHOT r3607+2-d49ddcd / LuCI Master (git-17.058.53452-829344d)
The +2 above is due to blogic’s blockd trial. (so far fine)
This has been showing up in system log since I have been on 4.9.

Mon Feb 27 10:00:03 2017 kern.warn kernel: [ 0.064607] Crashlog allocated RAM at address 0x3f00000
Mon Feb 27 10:00:03 2017 kern.err kernel: [ 1.276797] cpu cpu1: opp_list_debug_create_link: Failed to create link
Mon Feb 27 10:00:03 2017 kern.err kernel: [ 1.283441] cpu cpu1: _add_opp_dev: Failed to register opp debugfs (-12)

Crash/reboot is very rare. There is nothing showing in the external log all normal then reboot.

 


19.04.2017721FlysprayBug ReportVery LowHighwrong token error when submitting bug reportAllWaiting on reporter Task Description

I wrote a whole bug report about broken port forwarding on the Flyspray page https://bugs.lede-project.org/index.php?do=newtask&project=2. Flyspray ate my report when I pressed “Add this task”, and it showed me a page that was blank except for the words “wrong token”. It would be better if this feedback were a lot less cryptic. It would be better if my bug report didn’t have to be written again. I’ll try one more time, and I won’t write it this time on the webpage itself. I’ll just paste it there.

13.10.2016224Base systemBug ReportVery LowLowwrong source IP when logging to remote IPv6 syslog serv...TrunkAssigned Task Description

Hello,

I’m trying to send log to remote IPv6 syslog server (x:y:z:12::1), but packets received by syslog server are invalid. Instead of public IPv6 address, syslog udp packets are sent with ::1 source IP and therefore ignored by destination server. Logging over IPv4 works ok.

tcpdump log from destination syslog server:
23:34:16.988433 IP6 ::1.38044 > x:y:z:12::1.514: SYSLOG daemon.notice, length: 65

Configuration:

/etc/config/system:

 option log_ip 'x:y:z:12::1'

Device is in the same range as syslog server (x:y:z:12::119/64) and has native IPv6 connectivity. Other services (dropbear, ntp client, snmpd, luci) are running fine over IPv6.

Device is TP-Link WDR3600, running lede reboot-1818-gb81fc29.

18.06.2017855Base systemBug ReportVery LowMediumWrong MAC address (00:00:00:00:00:01) on Arcadyan AR751...lede-17.01Unconfirmed Task Description
root@LEDE:~# ifconfig | grep HW
br-lan    Link encap:Ethernet  HWaddr 00:00:00:00:00:01  
eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:01  
eth0.1    Link encap:Ethernet  HWaddr 00:00:00:00:00:01  
eth0.2    Link encap:Ethernet  HWaddr 00:00:00:00:00:01  
wlan0     Link encap:Ethernet  HWaddr 00:00:00:00:00:02

I know MAC addresses can be overriden in config, but is it possible to automatically detect the original addresses?

13.03.2017624PackagesBug ReportVery LowLowWrong default WAN interface on SQM & BCP38 packageslede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Archer C7v2
- Software versions of LEDE release, packages, etc.: 17.01 final
- Steps to reproduce: just install default packages

By default, SQM and BCP38 packages configure rules on eth1, but on C7 this is LAN interface and not WAN. Both must be changed to apply default configuration to eth0.
This behaviour cames from OpenWRT.

 


28.12.2016362Base systemBug ReportVery LowMediumWR1043ND v4 Slow WAN -> LAN Whilst Synced @100MbpsTrunkWaiting on reporter Task Description

Recently, builds for this device have started to be made, but there’s a very peculiar issue I’ve found. Any client that is synced to 100 Mbps (and not 1 Gbps, in my case due to incapacity of the cable used) gets their speed seemingly throttled to 20-30 Mbps. My connection is a 100 Mbps connection, and I get full 95 Mbps (Hardware NAT disabled) on the stock firmware, and I also get this speed on LEDE only if I use a 1 Gbps link.

Speedtest on the stock firmware with the 100 Mbps link: http://www.speedtest.net/result/5904234776.png Speedtest on the latest LEDE with the 100 Mbps link: http://www.speedtest.net/result/5915271748.png 1 Gbps links get full speed, as expected.

If I perform a transfer from LAN to LAN, I get full speed on the 100 Mbps link. The resulting speed graph is not a hard-cap, but seemingly some kind of throttle/flow control being applied. I cannot change any settings with ethtool as it throws ‘not supported’ errors.

Only happens WAN > LAN connections.
Nothing of interest in the logs, unless I can somehow get a more verbose log of the connection status.

17.06.2017851KernelBug ReportVery LowLowWNR2200 USB Port don't functioned andin the Bugfixed D...AllUnconfirmed Task Description

The USB Port don’t became the right power from the right GPIO.

- Netgear WNR2200
- LEDE 17.01.2 (stable, unstable, trunk)
- Flash an image with the unmodified driver target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000.c

Hello,

it’s an known and partially solved bug in OpenWRT but not solved in the LEDE sources. Now the sources from OpenWRT source solve the problem with the Power but some leds (wlan especially) don’t functioned and the original from LEDE source trigger the right GPIOs for the LEDs and this functioned well, but the usb port don’t became power and extroot don’t functioned.

Now i have used this source from http://git.openwrt.org/?p=openwrt.git;a=commit;h=95f36ebcd774a8e93ad2a1331f45d1a9da4fe8ff and recompiled LEDE from scratch and how i wrote wlan-led as an example don’t functioned but the usb port became power and block info make the usb stick viewable.

Thx.

06.04.2017682Base systemBug ReportVery LowLowWNR2000v3 bootloop after installing 17.01.0lede-17.01Unconfirmed Task Description

My Netgear WNR2000v3 goes into a bootloop after installing 17.01.0 but is fine with the Trunk snapshot from 6 April 2017.
When it starts up, it gives me 4 pings, then it stops responding until it wakes back up. When it stops responding,m the network interface acts like it is disconnected (no link), then it comes back up just before it responds to pings again.
I had time tonight to plug a serial console into it and record what it does when you install 17.01.0
These were installed with TFTP from the recovery (hold reset for ~30 seconds when powering up, then tftp the image to 192.168.1.1)
Attached are two bootlogs:

  1. Bootlog of the upgrade to 17.01 from recovery mode using the lede-17.01.0-r3205-59508e3-ar71xx-generic-wnr2000v3-squashfs-factory-NA.img image (goes into a bootloop after the install): WNR2000V3To17.01UpgradeBootlog.txt
  2. Bootlog of the upgrade to the 6 April 2017 nightly (r3922-9613d97) using the lede-ar71xx-generic-wnr2000v3-squashfs-factory-NA.img image (works as expected): WNR2000V3To6April17SnapshotUpgradeBootlog.txt

I saw the same thing installing lede-17.01.0-r3205-59508e3-ar71xx-generic-wnr2000v3-squashfs-factory-NA.img from the factory web interface (Netgear wnr2000v3-V1.1.2.14) but I didnt save a bootlog of that

Let me know if more info is needed.

Aaron Z


06.07.2017890Base systemBug ReportVery LowLowWNDR3400v1 brcmsmac fails to attach phy0 & phy1, error ...TrunkUnconfirmed Task Description

On my Netgear WNDR3400v1, WiFi doesn’t work with the brcmsmac driver, it should.

Here is the error in dmesg upon loading the brcmsmac driver:

[   13.922244] brcmsmac bcma0:1: mfg 4bf core 812 rev 17 class 0 irq 3
[   13.928938] ieee80211 phy0: wl0: brcms_b_attach: Unsupported Broadcom board type (0xb4cf) or revision level (0x0)
[   13.939483] ieee80211 phy0: wl0: brcms_b_attach: failed with err 15
[   13.945869] ieee80211 phy0: wl0: brcms_c_attach: failed with err 15
[   13.952317] ieee80211 phy0: brcmsmac: attach() failed with code 15
[   13.958605] brcmsmac: brcms_bcma_probe: brcms_attach failed!
[   13.964536] brcmsmac bcma1:1: mfg 4bf core 812 rev 23 class 0 irq 6
[   13.971222] bcma: bus1: Switched to core: 0x812
[   13.971613] ieee80211 phy1: wl0: brcms_b_attach: Unsupported Broadcom board type (0xb4cf) or revision level (0x0)
[   13.982136] ieee80211 phy1: wl0: brcms_b_attach: failed with err 15
[   13.988517] ieee80211 phy1: wl0: brcms_c_attach: failed with err 15
[   13.994965] ieee80211 phy1: brcmsmac: attach() failed with code 15
[   14.001311] brcmsmac: brcms_bcma_probe: brcms_attach failed!

It seems it is reading the revision level incorrectly, and refusing to load.

nvram show displays:

boardnum=01
boardtype=0xb4cf
boardrev=0x1100

System Information:

Reboot (SNAPSHOT, r4529-05d6e92)

root@lede:~# cat /etc/openwrt_release 
DISTRIB_ID='LEDE'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r4529-05d6e92'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='brcm47xx/mips74k'
DISTRIB_ARCH='mipsel_74kc'
DISTRIB_DESCRIPTION='LEDE Reboot SNAPSHOT r4529-05d6e92'
DISTRIB_TAINTS='no-all'

root@lede:~# uname -a
Linux lede 4.4.74 #0 Sun Jul 2 21:10:06 2017 mips GNU/Linux

   
[ logread ]
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    0.000000] Linux version 4.4.74 (buildbot@builds) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4456-d98cafc) ) #0 Sun Jul 2 21:10:06 2017
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcm47xx: Using bcma bus
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Found chip with id 0x4716, rev 0x01 and package 0x0A
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Determined physical RAM map:
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000]  memory: 04000000 @ 00000000 (usable)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Zone ranges:
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000]   HighMem  empty
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Movable zone start for each node
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Early memory node ranges
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000] On node 0 totalpages: 16384
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 803a64c0, node_mem_map 81000000
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000]   Normal zone: 128 pages used for memmap
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
Wed Jul  5 22:22:41 2017 kern.warn kernel: [    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Wed Jul  5 22:22:41 2017 kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0 
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    0.000000] Kernel command line:  noinitrd console=ttyS0,115200
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Writing ErrCtl register=00000000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Readback ErrCtl register=00000000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Memory: 60556K/65536K available (3002K kernel code, 134K rwdata, 696K rodata, 188K init, 294K bss, 4980K reserved, 0K cma-reserved, 0K highmem)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] NR_IRQS:128
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x00, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x04, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0E, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x07, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev 0x00, class 0x0)
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000] bcma: bus0: Found rev 5 PMU (capabilities 0x11242C05)
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000] bcma: bus0: Found serial flash
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Early bus registered
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] MIPS: machine is Unknown Board
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcm47xx: Setting up vectored interrupts
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 8438235966 ns
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000015] sched_clock: 32 bits at 226MHz, resolution 4ns, wraps every 9481163773ns
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000088] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.070063] pid_max: default: 32768 minimum: 301
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.070318] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.070345] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.074642] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.074715] futex hash table entries: 256 (order: -1, 3072 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.076193] NET: Registered protocol family 16
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.099321] clocksource: Switched to clocksource MIPS
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.101966] NET: Registered protocol family 2
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.103621] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.103678] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.103719] TCP: Hash tables configured (established 1024 bind 1024)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.103896] UDP hash table entries: 256 (order: 0, 4096 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.103944] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.104461] NET: Registered protocol family 1
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.104612] PCI: CLS 0 bytes, default 32
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.113504] bcma: bus0: Using SPROM revision 0 provided by platform.
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.113545] bcma: bus0: PMU resource config unknown or not needed for device 0x4716
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115561] bcma: bus0: Workarounds unknown or not needed for device 0x4716
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115580] bcma: bus0: Initializing MIPS core...
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115601] bcma: bus0: Moved i2s interrupt to oob line 7 instead of 8
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115628] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115651] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115674] bcma: bus0: set_irq: core 0x0819, irq 5 => 5
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115697] bcma: bus0: set_irq: core 0x0820, irq 6 => 6
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115718] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115741] bcma: bus0: set_irq: core 0x0834, irq 0 => 2
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115756] bcma: bus0: IRQ reconfiguration done
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115772] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I 
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115825] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I 
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115869] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I 
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115913] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115957] bcma: core 0x0819, irq : 2(S)  3  4  5* 6  D  I 
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.116001] bcma: core 0x0820, irq : 2(S)  3  4  5  6* D  I 
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.116045] bcma: core 0x082e, irq : 2(S)  3  4  5  6  D* I 
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.116088] bcma: core 0x080e, irq : 2(S)  3  4  5  6  D  I*
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.116130] bcma: core 0x0834, irq : 2(S)* 3  4  5  6  D  I 
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.116176] bcma: bus0: PCIEcore in host mode found
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304669] PCI host bridge to bus 0000:00
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304727] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0bffffff]
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304756] pci_bus 0000:00: root bus resource [io  0x0100-0x07ff]
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304785] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304814] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.304903] pci 0000:00:00.0: [14e4:4716] type 00 class 0x060000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304948] bcma: PCI: Fixing up bridge 0000:00:00.0
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304969] bcma: PCI: Fixing up device 0000:00:00.0
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305033] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305073] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305187] pci 0000:00:00.0: supports D1 D2
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305595] pci 0000:00:00.1: [14e4:0000] type 00 class 0x060000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.305645] bcma: PCI: Fixing up bridge 0000:00:00.1
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.305666] bcma: PCI: Fixing up device 0000:00:00.1
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305731] pci 0000:00:00.1: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305770] pci 0000:00:00.1: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305878] pci 0000:00:00.1: supports D1 D2
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.306355] pci 0000:00:01.0: [14e4:a8d8] type 00 class 0x028000
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.306490] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.306593] bcma: PCI: Fixing up addresses 0000:00:01.0
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.306642] pci 0000:00:01.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.306809] pci 0000:00:01.0: supports D1 D2
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.307254] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.308856] bcma: bus0: Bus registered
Wed Jul  5 22:22:41 2017 kern.warn kernel: [    0.310393] Crashlog allocated RAM at address 0x3f00000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.344150] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.344205] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.349655] io scheduler noop registered
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.349707] io scheduler deadline registered (default)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.350248] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.355394] console [ttyS0] disabled
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.375653] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.872455] console [ttyS0] enabled
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    0.989922] 7 bcm47xxpart partitions found on MTD device bcm47xxsflash
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    0.996576] Creating 7 MTD partitions on "bcm47xxsflash":
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.002140] 0x000000000000-0x000000040000 : "boot"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.011599] 0x000000040000-0x0000007e0000 : "firmware"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.020126] 0x0000007e0000-0x0000007f0000 : "board_data"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.028709] 0x0000007f0000-0x000000800000 : "nvram"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.036956] 0x00000004001c-0x000000040920 : "loader"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.045355] 0x000000040920-0x00000017dc00 : "linux"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.053621] 0x00000017dc00-0x0000007e0000 : "rootfs"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.061906] mtd: device 6 (rootfs) set to be root filesystem
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.067729] 1 squashfs-split partitions found on MTD device rootfs
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.074136] 0x000000360000-0x0000007e0000 : "rootfs_data"
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.086521] libphy: Fixed MDIO Bus: probed
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.091101] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.100515] libphy: bcma_mdio mii bus: probed
Wed Jul  5 22:22:41 2017 kern.warn kernel: [    1.104979] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.264041] b53_common: found switch: BCM5325, rev 0
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.270621] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.276982] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
Wed Jul  5 22:22:41 2017 kern.warn kernel: [    1.285141] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.291021] bcma: PCI: Fixing up device 0000:00:01.0
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.296150] bcma: bus1: Found chip with id 43224, rev 0x01 and package 0x08
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.303351] bcma: bus1: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.312133] bcma: bus1: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.321015] bcma: bus1: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    1.329246] bcma: bus1: Found rev 6 PMU (capabilities 0x108C2606)
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    1.330088] bcma: bus1: Using SPROM revision 0 provided by platform.
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    1.330132] bcma: bus1: PMU resource config unknown or not needed for device 0xA8D8
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.340850] bcma: bus1: Bus registered
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.346903] NET: Registered protocol family 10
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.357396] NET: Registered protocol family 17
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.362216] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.375148] 8021q: 802.1Q VLAN Support v1.8
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.393155] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.401759] Freeing unused kernel memory: 188K (803c1000 - 803f0000)
Wed Jul  5 22:22:41 2017 user.info kernel: [    3.050931] init: Console is alive
Wed Jul  5 22:22:41 2017 user.info kernel: [    3.054861] init: - watchdog -
Wed Jul  5 22:22:41 2017 user.info kernel: [    4.254646] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.402007] usbcore: registered new interface driver usbfs
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.407764] usbcore: registered new interface driver hub
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.413517] usbcore: registered new device driver usb
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.427524] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.437246] ehci-platform: EHCI generic platform driver
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.442860] ehci-platform ehci-platform.0: EHCI Host Controller
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.449006] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.457485] ehci-platform ehci-platform.0: irq 5, io mem 0x18004000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.479401] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.487835] hub 1-0:1.0: USB hub found
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.492481] hub 1-0:1.0: 2 ports detected
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.502125] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.510967] ohci-platform: OHCI generic platform driver
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.516448] ohci-platform ohci-platform.0: Generic Platform OHCI controller
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.523735] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 2
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.532182] ohci-platform ohci-platform.0: irq 5, io mem 0x18009000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.595330] hub 2-0:1.0: USB hub found
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.600124] hub 2-0:1.0: 2 ports detected
Wed Jul  5 22:22:41 2017 user.info kernel: [    4.608697] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Wed Jul  5 22:22:41 2017 user.info kernel: [    4.626861] init: - preinit -
Wed Jul  5 22:22:41 2017 kern.info kernel: [    5.011347] usb 1-1: new high-speed USB device number 2 using ehci-platform
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    5.263503] random: procd: uninitialized urandom read (4 bytes read, 9 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    6.414938] random: jshn: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    6.608349] random: jshn: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    6.731613] random: jshn: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    7.012119] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Wed Jul  5 22:22:41 2017 kern.info kernel: [    7.018248] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
Wed Jul  5 22:22:41 2017 kern.info kernel: [    8.569470] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Wed Jul  5 22:22:41 2017 kern.info kernel: [    8.576495] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   10.681655] jffs2: notice: (375) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Wed Jul  5 22:22:41 2017 user.info kernel: [   10.705445] mount_root: switching to jffs2 overlay
Wed Jul  5 22:22:41 2017 user.warn kernel: [   10.759409] urandom-seed: Seeding with /etc/urandom.seed
Wed Jul  5 22:22:41 2017 user.info kernel: [   10.971431] procd: - early -
Wed Jul  5 22:22:41 2017 user.info kernel: [   10.974613] procd: - watchdog -
Wed Jul  5 22:22:41 2017 user.info kernel: [   11.730144] procd: - watchdog -
Wed Jul  5 22:22:41 2017 user.info kernel: [   11.734119] procd: - ubus -
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   11.756070] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   11.789743] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   11.799846] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   11.809088] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   11.819720] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   11.828937] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
Wed Jul  5 22:22:41 2017 user.info kernel: [   11.840154] procd: - init -
Wed Jul  5 22:22:41 2017 user.info kernel: [   13.039395] kmodloader: loading kernel modules from /etc/modules.d/*
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.065020] tun: Universal TUN/TAP device driver, 1.6
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.070278] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.085691] ip6_tables: (C) 2000-2006 Netfilter Core Team
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.145711] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.153955] Backport generated by backports.git backports-20160324-13-g24da7d3c
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.171588] ip_tables: (C) 2000-2006 Netfilter Core Team
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.193691] nf_conntrack version 0.5.0 (949 buckets, 3796 max)
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.317055] xt_time: kernel timezone is -0000
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.325369] usbcore: registered new interface driver cdc_ether
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.427171] PPP generic driver version 2.4.2
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.436494] NET: Registered protocol family 24
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.450675] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-ehci-platform.0-1, RNDIS device, 02:5b:53:31:37:31
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.461807] usbcore: registered new interface driver rndis_host
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.922244] brcmsmac bcma0:1: mfg 4bf core 812 rev 17 class 0 irq 3
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.928938] ieee80211 phy0: wl0: brcms_b_attach: Unsupported Broadcom board type (0xb4cf) or revision level (0x0)
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.939483] ieee80211 phy0: wl0: brcms_b_attach: failed with err 15
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.945869] ieee80211 phy0: wl0: brcms_c_attach: failed with err 15
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.952317] ieee80211 phy0: brcmsmac: attach() failed with code 15
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.958605] brcmsmac: brcms_bcma_probe: brcms_attach failed!
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.964536] brcmsmac bcma1:1: mfg 4bf core 812 rev 23 class 0 irq 6
Wed Jul  5 22:22:41 2017 kern.debug kernel: [   13.971222] bcma: bus1: Switched to core: 0x812
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.971613] ieee80211 phy1: wl0: brcms_b_attach: Unsupported Broadcom board type (0xb4cf) or revision level (0x0)
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.982136] ieee80211 phy1: wl0: brcms_b_attach: failed with err 15
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.988517] ieee80211 phy1: wl0: brcms_c_attach: failed with err 15
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.994965] ieee80211 phy1: brcmsmac: attach() failed with code 15
Wed Jul  5 22:22:41 2017 kern.err kernel: [   14.001311] brcmsmac: brcms_bcma_probe: brcms_attach failed!
Wed Jul  5 22:22:41 2017 user.info kernel: [   14.026333] kmodloader: done loading kernel modules from /etc/modules.d/*
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: tunnel
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: Network device
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: bridge
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: veth
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: macvlan
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: 8021ad
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: 8021q
Wed Jul  5 22:22:47 2017 authpriv.info dropbear[750]: Not backgrounding
Wed Jul  5 22:22:50 2017 kern.info kernel: [   24.261412] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Wed Jul  5 22:22:50 2017 kern.info kernel: [   24.286504] device eth0.1 entered promiscuous mode
Wed Jul  5 22:22:50 2017 kern.info kernel: [   24.291519] device eth0 entered promiscuous mode
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'lan' is enabled
Wed Jul  5 22:22:50 2017 kern.info kernel: [   24.312573] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'lan' is setting up now
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'lan' is now up
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'loopback' is enabled
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'loopback' is setting up now
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'loopback' is now up
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'usb' is enabled
Wed Jul  5 22:22:50 2017 kern.info kernel: [   24.442951] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'wan' is enabled
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'wan6' is enabled
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Network device 'lo' link is up
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'loopback' has link connectivity 
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Network device 'usb0' link is up
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'usb' has link connectivity 
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'usb' is setting up now
Wed Jul  5 22:22:50 2017 daemon.notice netifd: usb (844): udhcpc: started, v1.26.2
Wed Jul  5 22:22:51 2017 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Wed Jul  5 22:22:51 2017 daemon.notice netifd: usb (844): udhcpc: sending discover
Wed Jul  5 22:22:51 2017 daemon.notice netifd: Network device 'eth0' link is up
Wed Jul  5 22:22:51 2017 kern.info kernel: [   25.639559] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Wed Jul  5 22:22:51 2017 kern.info kernel: [   25.699543] br-lan: port 1(eth0.1) entered forwarding state
Wed Jul  5 22:22:51 2017 kern.info kernel: [   25.705336] br-lan: port 1(eth0.1) entered forwarding state
Wed Jul  5 22:22:51 2017 kern.info kernel: [   25.711336] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
Wed Jul  5 22:22:51 2017 daemon.notice netifd: VLAN 'eth0.1' link is up
Wed Jul  5 22:22:51 2017 daemon.notice netifd: VLAN 'eth0.2' link is up
Wed Jul  5 22:22:51 2017 daemon.notice netifd: Interface 'wan' has link connectivity 
Wed Jul  5 22:22:51 2017 daemon.notice netifd: Interface 'wan' is setting up now
Wed Jul  5 22:22:51 2017 daemon.notice netifd: Interface 'wan6' has link connectivity 
Wed Jul  5 22:22:51 2017 daemon.notice netifd: bridge 'br-lan' link is up
Wed Jul  5 22:22:51 2017 daemon.notice netifd: Interface 'lan' has link connectivity 
Wed Jul  5 22:22:51 2017 kern.info kernel: [   25.764246] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Wed Jul  5 22:22:51 2017 daemon.notice netifd: wan (877): udhcpc: started, v1.26.2
Wed Jul  5 22:22:52 2017 daemon.notice netifd: wan (877): udhcpc: sending discover
Wed Jul  5 22:22:52 2017 daemon.warn odhcpd[706]: DHCPV6 CONFIRM IA_NA from 000437e7143d006c0d83f363f544b6c68c5f on br-lan: not on-link 
Wed Jul  5 22:22:53 2017 kern.info kernel: [   27.699340] br-lan: port 1(eth0.1) entered forwarding state
Wed Jul  5 22:22:54 2017 daemon.err ntpdate[781]: name server cannot be used: Try again (-3)
Wed Jul  5 22:22:54 2017 daemon.notice netifd: usb (844): udhcpc: sending discover
Wed Jul  5 22:22:54 2017 authpriv.info dropbear[909]: Child connection from 192.168.65.102:53976
Wed Jul  5 22:22:55 2017 daemon.notice netifd: wan (877): udhcpc: sending discover
Wed Jul  5 22:22:57 2017 daemon.notice netifd: usb (844): udhcpc: sending discover
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: started, version 2.77 cachesize 150
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: DNS service limited to local subnets
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq-dhcp[947]: DHCP, IP range 192.168.65.100 -- 192.168.65.249, lease time 12h
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain test
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain onion
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain localhost
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain local
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain invalid
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain example.net
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain example.org
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain example.com
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using 3 more local addresses
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: reading /tmp/resolv.conf.auto
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain test
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain onion
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain localhost
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain local
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain invalid
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain example.net
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain example.org
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain example.com
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using nameserver 8.8.8.8#53
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using nameserver 8.8.4.4#53
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using 3 more local addresses
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: read /etc/hosts - 4 addresses
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: read /tmp/hosts/odhcpd - 0 addresses
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: read /tmp/hosts/dhcp.cfg02411c - 3 addresses
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq-dhcp[947]: read /etc/ethers - 0 addresses
Wed Jul  5 22:22:58 2017 daemon.notice netifd: wan (877): udhcpc: sending discover
Wed Jul  5 22:22:59 2017 daemon.err ntpdate[906]: name server cannot be used: Try again (-3)
Wed Jul  5 22:23:03 2017 daemon.info dnsmasq-dhcp[947]: DHCPDISCOVER(br-lan) 192.168.65.102 3c:97:0e:73:9c:4f 
Wed Jul  5 22:23:03 2017 daemon.info dnsmasq-dhcp[947]: DHCPOFFER(br-lan) 192.168.65.101 3c:97:0e:73:9c:4f 
Wed Jul  5 22:23:03 2017 daemon.info dnsmasq-dhcp[947]: DHCPREQUEST(br-lan) 192.168.65.101 3c:97:0e:73:9c:4f 
Wed Jul  5 22:23:03 2017 daemon.info dnsmasq-dhcp[947]: DHCPACK(br-lan) 192.168.65.101 3c:97:0e:73:9c:4f jessica-mate
Wed Jul  5 22:23:04 2017 daemon.err ntpdate[950]: name server cannot be used: Try again (-3)

[ dmesg ]
[    0.000000] Linux version 4.4.74 (buildbot@builds) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4456-d98cafc) ) #0 Sun Jul 2 21:10:06 2017
[    0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[    0.000000] bcm47xx: Using bcma bus
[    0.000000] bcma: bus0: Found chip with id 0x4716, rev 0x01 and package 0x0A
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 803a64c0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] 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: 16256
[    0.000000] Kernel command line:  noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 60556K/65536K available (3002K kernel code, 134K rwdata, 696K rodata, 188K init, 294K bss, 4980K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0)
[    0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0)
[    0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x04, class 0x0)
[    0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0E, class 0x0)
[    0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x07, class 0x0)
[    0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Found rev 5 PMU (capabilities 0x11242C05)
[    0.000000] bcma: bus0: Found serial flash
[    0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128)
[    0.000000] bcma: bus0: Early bus registered
[    0.000000] MIPS: machine is Unknown Board
[    0.000000] bcm47xx: Setting up vectored interrupts
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 8438235966 ns
[    0.000015] sched_clock: 32 bits at 226MHz, resolution 4ns, wraps every 9481163773ns
[    0.000088] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[    0.070063] pid_max: default: 32768 minimum: 301
[    0.070318] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070345] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.074642] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.074715] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.076193] NET: Registered protocol family 16
[    0.099321] clocksource: Switched to clocksource MIPS
[    0.101966] NET: Registered protocol family 2
[    0.103621] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.103678] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.103719] TCP: Hash tables configured (established 1024 bind 1024)
[    0.103896] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.103944] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.104461] NET: Registered protocol family 1
[    0.104612] PCI: CLS 0 bytes, default 32
[    0.113504] bcma: bus0: Using SPROM revision 0 provided by platform.
[    0.113545] bcma: bus0: PMU resource config unknown or not needed for device 0x4716
[    0.115561] bcma: bus0: Workarounds unknown or not needed for device 0x4716
[    0.115580] bcma: bus0: Initializing MIPS core...
[    0.115601] bcma: bus0: Moved i2s interrupt to oob line 7 instead of 8
[    0.115628] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
[    0.115651] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
[    0.115674] bcma: bus0: set_irq: core 0x0819, irq 5 => 5
[    0.115697] bcma: bus0: set_irq: core 0x0820, irq 6 => 6
[    0.115718] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
[    0.115741] bcma: bus0: set_irq: core 0x0834, irq 0 => 2
[    0.115756] bcma: bus0: IRQ reconfiguration done
[    0.115772] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I 
[    0.115825] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I 
[    0.115869] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I 
[    0.115913] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
[    0.115957] bcma: core 0x0819, irq : 2(S)  3  4  5* 6  D  I 
[    0.116001] bcma: core 0x0820, irq : 2(S)  3  4  5  6* D  I 
[    0.116045] bcma: core 0x082e, irq : 2(S)  3  4  5  6  D* I 
[    0.116088] bcma: core 0x080e, irq : 2(S)  3  4  5  6  D  I*
[    0.116130] bcma: core 0x0834, irq : 2(S)* 3  4  5  6  D  I 
[    0.116176] bcma: bus0: PCIEcore in host mode found
[    0.304669] PCI host bridge to bus 0000:00
[    0.304727] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0bffffff]
[    0.304756] pci_bus 0000:00: root bus resource [io  0x0100-0x07ff]
[    0.304785] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304814] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.304903] pci 0000:00:00.0: [14e4:4716] type 00 class 0x060000
[    0.304948] bcma: PCI: Fixing up bridge 0000:00:00.0
[    0.304969] bcma: PCI: Fixing up device 0000:00:00.0
[    0.305033] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.305073] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
[    0.305187] pci 0000:00:00.0: supports D1 D2
[    0.305595] pci 0000:00:00.1: [14e4:0000] type 00 class 0x060000
[    0.305645] bcma: PCI: Fixing up bridge 0000:00:00.1
[    0.305666] bcma: PCI: Fixing up device 0000:00:00.1
[    0.305731] pci 0000:00:00.1: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.305770] pci 0000:00:00.1: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
[    0.305878] pci 0000:00:00.1: supports D1 D2
[    0.306355] pci 0000:00:01.0: [14e4:a8d8] type 00 class 0x028000
[    0.306490] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.306593] bcma: PCI: Fixing up addresses 0000:00:01.0
[    0.306642] pci 0000:00:01.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit]
[    0.306809] pci 0000:00:01.0: supports D1 D2
[    0.307254] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.308856] bcma: bus0: Bus registered
[    0.310393] Crashlog allocated RAM at address 0x3f00000
[    0.344150] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.344205] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.349655] io scheduler noop registered
[    0.349707] io scheduler deadline registered (default)
[    0.350248] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.355394] console [ttyS0] disabled
[    0.375653] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[    0.872455] console [ttyS0] enabled
[    0.989922] 7 bcm47xxpart partitions found on MTD device bcm47xxsflash
[    0.996576] Creating 7 MTD partitions on "bcm47xxsflash":
[    1.002140] 0x000000000000-0x000000040000 : "boot"
[    1.011599] 0x000000040000-0x0000007e0000 : "firmware"
[    1.020126] 0x0000007e0000-0x0000007f0000 : "board_data"
[    1.028709] 0x0000007f0000-0x000000800000 : "nvram"
[    1.036956] 0x00000004001c-0x000000040920 : "loader"
[    1.045355] 0x000000040920-0x00000017dc00 : "linux"
[    1.053621] 0x00000017dc00-0x0000007e0000 : "rootfs"
[    1.061906] mtd: device 6 (rootfs) set to be root filesystem
[    1.067729] 1 squashfs-split partitions found on MTD device rootfs
[    1.074136] 0x000000360000-0x0000007e0000 : "rootfs_data"
[    1.086521] libphy: Fixed MDIO Bus: probed
[    1.091101] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[    1.100515] libphy: bcma_mdio mii bus: probed
[    1.104979] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[    1.264041] b53_common: found switch: BCM5325, rev 0
[    1.270621] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[    1.276982] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[    1.285141] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    1.291021] bcma: PCI: Fixing up device 0000:00:01.0
[    1.296150] bcma: bus1: Found chip with id 43224, rev 0x01 and package 0x08
[    1.303351] bcma: bus1: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    1.312133] bcma: bus1: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    1.321015] bcma: bus1: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    1.329246] bcma: bus1: Found rev 6 PMU (capabilities 0x108C2606)
[    1.330088] bcma: bus1: Using SPROM revision 0 provided by platform.
[    1.330132] bcma: bus1: PMU resource config unknown or not needed for device 0xA8D8
[    1.340850] bcma: bus1: Bus registered
[    1.346903] NET: Registered protocol family 10
[    1.357396] NET: Registered protocol family 17
[    1.362216] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.375148] 8021q: 802.1Q VLAN Support v1.8
[    1.393155] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[    1.401759] Freeing unused kernel memory: 188K (803c1000 - 803f0000)
[    3.050931] init: Console is alive
[    3.054861] init: - watchdog -
[    4.254646] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.402007] usbcore: registered new interface driver usbfs
[    4.407764] usbcore: registered new interface driver hub
[    4.413517] usbcore: registered new device driver usb
[    4.427524] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.437246] ehci-platform: EHCI generic platform driver
[    4.442860] ehci-platform ehci-platform.0: EHCI Host Controller
[    4.449006] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    4.457485] ehci-platform ehci-platform.0: irq 5, io mem 0x18004000
[    4.479401] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    4.487835] hub 1-0:1.0: USB hub found
[    4.492481] hub 1-0:1.0: 2 ports detected
[    4.502125] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.510967] ohci-platform: OHCI generic platform driver
[    4.516448] ohci-platform ohci-platform.0: Generic Platform OHCI controller
[    4.523735] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 2
[    4.532182] ohci-platform ohci-platform.0: irq 5, io mem 0x18009000
[    4.595330] hub 2-0:1.0: USB hub found
[    4.600124] hub 2-0:1.0: 2 ports detected
[    4.608697] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.626861] init: - preinit -
[    5.011347] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    5.263503] random: procd: uninitialized urandom read (4 bytes read, 9 bits of entropy available)
[    6.414938] random: jshn: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
[    6.608349] random: jshn: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
[    6.731613] random: jshn: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
[    7.012119] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.018248] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[    8.569470] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.576495] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   10.681655] jffs2: notice: (375) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.705445] mount_root: switching to jffs2 overlay
[   10.759409] urandom-seed: Seeding with /etc/urandom.seed
[   10.971431] procd: - early -
[   10.974613] procd: - watchdog -
[   11.730144] procd: - watchdog -
[   11.734119] procd: - ubus -
[   11.756070] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[   11.789743] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[   11.799846] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[   11.809088] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[   11.819720] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[   11.828937] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[   11.840154] procd: - init -
[   13.039395] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.065020] tun: Universal TUN/TAP device driver, 1.6
[   13.070278] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   13.085691] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.145711] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   13.153955] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   13.171588] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.193691] nf_conntrack version 0.5.0 (949 buckets, 3796 max)
[   13.317055] xt_time: kernel timezone is -0000
[   13.325369] usbcore: registered new interface driver cdc_ether
[   13.427171] PPP generic driver version 2.4.2
[   13.436494] NET: Registered protocol family 24
[   13.450675] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-ehci-platform.0-1, RNDIS device, 02:5b:53:31:37:31
[   13.461807] usbcore: registered new interface driver rndis_host
[   13.922244] brcmsmac bcma0:1: mfg 4bf core 812 rev 17 class 0 irq 3
[   13.928938] ieee80211 phy0: wl0: brcms_b_attach: Unsupported Broadcom board type (0xb4cf) or revision level (0x0)
[   13.939483] ieee80211 phy0: wl0: brcms_b_attach: failed with err 15
[   13.945869] ieee80211 phy0: wl0: brcms_c_attach: failed with err 15
[   13.952317] ieee80211 phy0: brcmsmac: attach() failed with code 15
[   13.958605] brcmsmac: brcms_bcma_probe: brcms_attach failed!
[   13.964536] brcmsmac bcma1:1: mfg 4bf core 812 rev 23 class 0 irq 6
[   13.971222] bcma: bus1: Switched to core: 0x812
[   13.971613] ieee80211 phy1: wl0: brcms_b_attach: Unsupported Broadcom board type (0xb4cf) or revision level (0x0)
[   13.982136] ieee80211 phy1: wl0: brcms_b_attach: failed with err 15
[   13.988517] ieee80211 phy1: wl0: brcms_c_attach: failed with err 15
[   13.994965] ieee80211 phy1: brcmsmac: attach() failed with code 15
[   14.001311] brcmsmac: brcms_bcma_probe: brcms_attach failed!
[   14.026333] kmodloader: done loading kernel modules from /etc/modules.d/*
[   24.261412] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   24.286504] device eth0.1 entered promiscuous mode
[   24.291519] device eth0 entered promiscuous mode
[   24.312573] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   24.442951] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   25.639559] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   25.699543] br-lan: port 1(eth0.1) entered forwarding state
[   25.705336] br-lan: port 1(eth0.1) entered forwarding state
[   25.711336] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   25.764246] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   27.699340] br-lan: port 1(eth0.1) entered forwarding state
[   61.049212] random: nonblocking pool is initialized

00:01.0 Network controller: Broadcom Limited BCM43224/5 Wireless Network Adapter (rev 01)
	Subsystem: Broadcom Limited BCM43224/5 Wireless Network Adapter
	Flags: bus master, fast devsel, latency 0, IRQ 6
	Memory at 08000000 (64-bit, non-prefetchable) [size=16385]
	Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
	Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
	Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
	Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
	Expansion ROM at <unassigned> [disabled] [size=2]
	Capabilities: [40] Power Management version 3
	Capabilities: [58] Vendor Specific Information: Len=78 <?>
	Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [d0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [13c] Virtual Channel
	Capabilities: [160] Device Serial Number 00-00-00-ff-ff-00-00-00
	Capabilities: [16c] Power Budgeting <?>
	Kernel driver in use: bcma-pci-bridge


04.09.2016146Base systemFeature RequestVery LowLowwndr 3700v4 and 4300v1 couldn't effectively use 128 nan...TrunkUnconfirmed Task Description

Github issue #265 reported by: https://github.com/Cutepally

see https://dev.openwrt.org/ticket/22320
otherwise lede working fine on wndr3700v4
all ive noticed is /overlay isn't that big

Hostname lede
Model NETGEAR WNDR3700v4
Firmware Version LEDE Reboot r1309 / LuCI Master (git-16.217.35130-6a11f71)
Kernel Version 4.4.15

this was brought up on an arokh build on OpenWRT but i think he used a patch for it
see https://forum.openwrt.org/viewtopic.php?pid=310362#p310362
and https://forum.openwrt.org/viewtopic.php?pid=310473#p310473
finally https://forum.openwrt.org/viewtopic.php?pid=311402#p311402

the netgear wndr 3700v4 have 128 nand flash space,the current Flash Layout, use OEM’s firmware MTD partition as Openwrt firmware mtd partition, but the MTD partition only have 25MiB, and
at tail of the nand flash there have a 96MiB reserved MTD partition, the are also a reserved MTD partition in Openwrt.
Whether it is possible use the reserved MTD partition as openwrt firmware MTD partition。
Or the are no way boot from an differ MTD partiton, IF not hack the bootloader;
root@lede:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.3M      2.3M         0 100% /rom
tmpfs                    61.0M      1.5M     59.5M   2% /tmp
/dev/ubi0_1              14.2M      9.7M      3.7M  72% /overlay
overlayfs:/overlay       14.2M      9.7M      3.7M  72% /
tmpfs                   512.0K         0    512.0K   0% /dev

root@lede:~# fdisk -l
Disk /dev/mtdblock0: 256 KiB, 262144 bytes, 512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mtdblock1: 256 KiB, 262144 bytes, 512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mtdblock2: 256 KiB, 262144 bytes, 512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mtdblock3: 512 KiB, 524288 bytes, 1024 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mtdblock4: 2 MiB, 2097152 bytes, 4096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mtdblock5: 512 KiB, 524288 bytes, 1024 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mtdblock6: 3 MiB, 3145728 bytes, 6144 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mtdblock7: 2 MiB, 2097152 bytes, 4096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mtdblock8: 23 MiB, 24117248 bytes, 47104 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mtdblock9: 25 MiB, 26214400 bytes, 51200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mtdblock10: 256 KiB, 262144 bytes, 512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mtdblock11: 96 MiB, 100663296 bytes, 196608 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/ubiblock0_0: 2.1 MiB, 2158592 bytes, 4216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
13.06.2017844Base systemBug ReportVery LowHighWMM Mode bug with Wifi 2,4Ghz Archer C7 1750 V2 with L...lede-17.01Unconfirmed Task Description

Hi,

I meet a bug with certain ring roads(peripherals) (Xbox 360 and Epson SX425) using the WiFi 2,4Ghz of my TP(PRACTICAL CLASS) Link Archer C7 1750 under LEDE 17.01.2 (noticed also with LEDE 17.01.1) with activated WMM mode.

When WMM mode is active ring roads(peripherals) Xbox 360 and Epson SX425 does not receive an IP address while quite my other PC works carefree in WiFi 2,4Ghz.

By deactivating WMM mode and by restarting the router(route planner) everything works perfectly.

I specify that with OpenWrt 15.05.1 WMM Mode worked perfectly.

08.04.2017692Base systemBug ReportMediumMediumWLAN AP not working on RasPi (bcm2710 target)TrunkAssigned Task Description

When flashing the brcm2708 / bcm2710 target the WiFi interface gets stuck in “client mode” and the AP will not be able to be brought up.

Some screenshots and a load of discussion here:
https://forum.lede-project.org/t/ap-mode-radio0-in-raspi-3-always-acts-as-a-client-shows-as-wlan0-in-luci/2885

Two more days of tinkering, wifi-up’ing and -down’ing did not bring me further.
I flashed another Pi3 (to exclude a hardware defect) with the same result.

I tried latest snapshot and stable images.
I am happy to help debug – tell me what you need me to do.

Greetings,
–Thomas

15.06.2017848Base systemBug ReportVery LowLowWiFi LED won't turn off on TP-Link TL-WDR3600 v1lede-17.01Unconfirmed Task Description

- Device problem occurs on

TP-Link TL-WDR3600 v1

- Software versions of LEDE release, packages, etc.

LEDE Reboot 17.01.2 r3435-65eec8bd5f / LuCI lede-17.01 branch (git-17.152.82987-7f6fc16)

- Steps to reproduce

Switch LED “trigger” to “none” on “ath9k-phy0”, LED will continue to blink.
Strangely it will work fine for “ath9k-phy1”.

05.02.2017469Base systemBug ReportVery LowLowWifi firmware file is not available on ZyXEL P-2812HNU-...lede-17.01Unconfirmed Task Description

Kernel log:

[   11.336056] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   11.340485] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   11.350276] rt2800pci 0000:00:0e.0: Direct firmware load for RT3062.eeprom failed with error -2
[   11.358782] rt2800pci 0000:00:0e.0: Falling back to user helper
[   11.479331] firmware RT3062.eeprom: firmware_loading_store: map pages failed
[   11.485217] ieee80211 phy0: rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM.
[   11.493519] rt2800pci: probe of 0000:00:0e.0 failed with error -11

Firmware files:

root@lede:/lib/firmware# ls /lib/firmware/
lantiq-vrx200-a-to-b.bspatch                 rt2860.bin                                   xcpe_581816_580B11.LICENSE                   xcpe_581816_580B11_to_579906_574402.bspatch
lantiq-vrx200-a.bin                          rt3290.bin                                   xcpe_581816_580B11.bin

After adding a RT3062.eeprom the wifi port is available.

 


20.03.2017644Base systemBug ReportVery LowHighWiFi fails with AP & Meshpoint interfacesTrunkUnconfirmed Task Description

Since this commit:

  r3307-649e766"mac80211: update to wireless-testing 2017-01-31" dated 2 Fed 2017

wifi does not correctly support concurrent AP and Meshpoint interfaces.

Immediately prior to the commit (r3306-91fce81), the problem is not in evidence.

  

In failure, the ‘iw dev’ command shows details of both interfaces, but he “channel” line is missing from the command output for the Meshpoint interface and the Meshpoint interface is not actually working.

The firmware operates correctly with two AP interfaces defined, or with two Meshpoint interfaces defined.

Also the “top” command shows a high level of CPU utilisation, typically 50% for [kworker/u2:2]

- Device problem occurs on:

  Various. Tested here on AR9331 based Dragino-2 / VT MeshPotato-2  device

- Software versions of LEDE release, packages, etc.

  Working
  DISTRIB_DESCRIPTION='LEDE Reboot SNAPSHOT r3306-91fce81' 
  Not Working
  DISTRIB_DESCRIPTION='LEDE Reboot SNAPSHOT r3307-649e766' 

- Steps to reproduce

 Check out the required version of LEDE
 Remove .config
 Run 'make menuconfig' and select a suitable device
 Set up a suitable file in ./files/etc/config/wireless to set up AP and Meshpoint interface
 Run make
 Flash the sysupgrade file on to the device
 Run  'iw  dev' and check to see if both interface are working properly.
 In failure, the Meshpoint interface will not show a "channel" line in 'iw dev output.

Sample test results


Working


DISTRIB_DESCRIPTION=’LEDE Reboot SNAPSHOT r3306-91fce81’
DISTRIB_REVISION=’r3306-91fce81’ Dragino

root@MP2-20:~# iw dev
phy#0

Interface wlan0
	ifindex 7
	wdev 0x3
	addr 02:03:7f:11:22:33
	ssid MyTestAP
	type AP
	channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
	txpower 16.00 dBm
Interface wlan0-1
	ifindex 6
	wdev 0x2
	addr 00:03:7f:11:22:33
	type mesh point
	channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
	txpower 16.00 dBm

Mem: 19992K used, 40440K free, 148K shrd, 2168K buff, 6232K cached
CPU: 5% usr 3% sys 0% nic 89% idle 0% io 0% irq 0% sirq
Load average: 0.38 0.39 0.17 1/41 1811

PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND

1200 1 root S 1648 3% 1% /usr/sbin/hostapd -s -P /var/run/wifi
1784 1695 root R 1180 2% 1% top -d 2

950     1 root     S     1672   3%   0% /sbin/netifd

Not Working


DISTRIB_DESCRIPTION=’LEDE Reboot SNAPSHOT r3307-649e766’
DISTRIB_REVISION=’r3307-649e766’ Dragino


root@MP2-20:~# iw dev
phy#0

Interface wlan0
	ifindex 7
	wdev 0x3
	addr 02:03:7f:11:22:33
	ssid MyTestAP
	type AP
	channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
	txpower 16.00 dBm
Interface wlan0-1
	ifindex 6
	wdev 0x2
	addr 00:03:7f:11:22:33
	type mesh point
	txpower 16.00 dBm

Mem: 19624K used, 40808K free, 56K shrd, 2128K buff, 5604K cached
CPU: 0% usr 50% sys 0% nic 47% idle 0% io 0% irq 0% sirq
Load average: 2.24 1.75 0.83 7/40 2271

PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND

2162 2 root RW 0 0% 50% [kworker/u2:2]

578     1 root     R     1228   2%   1% /sbin/logd -S 64

2163 2130 root R 1184 2% 1% top -d2

Example wireless config file


config wifi-device ‘radio0’

option type 'mac80211'
option phy 'phy0'
option htmode 'HT20'
option channel '1'
option disabled '0'
option coverage '5'

config wifi-iface ‘ap_0’

option device 'radio0'
option ifname 'wlan0'
option network 'lan'
option mode 'ap'
option ssid 'MyTestAP'
option encryption 'psk2'
option key 'mypassword'
option hidden '0'
option disabled '0'
option isolate '0'

config wifi-iface ‘ah_0’

option device 'radio0'
option ifname 'wlan0-1'
option mode 'mesh'
option mesh_id 'mytestmesh'
option network 'mesh_0'
option encryption 'none'
option disabled '0'
option mesh_fwding '0'

11.02.2017499Base systemBug ReportVery LowLowWiFi client mode leaves router inaccessible if upstream...TrunkUnconfirmed Task Description

This bug was originally reported to the OpenWrt team and there is a discussion of it in their mailing list. Luiz Angelo Daros de Luca suggested reporting here (and switching to LEDE, which I will do).

I have a TP-Link TL-MR3020 v1.9 with Chaos Calmer 15.05.01. I’m using it to provide a WiFi access point to my phone/tablet while I travel, and it’s acting as a WiFi client for the various hostels I visit.

If you configure it as a wifi client with a wwan interface using the LuCI scan/join wizard, and then you configure a wifi access point on the same radio, the router works as expected and when you connect to the router’s AP, you get Internet via the client connection.

However, if you move out of range of the network the router is a client of, or if it goes down, when you power off the OpenWrt router and power back on, the access point won’t come up.

The AP will only come up if the client network you configured is also working; so you have no way to connect to the router over wifi, and no way to reconfigure the router, if that client network is down or out of range.

This is a particular problem for a travel router because it will often move it out of range of the original upstream network, and you may only have a wifi-capable device with which to reconfigure it.

The Ethernet port on the router does remain active, so I can tell it does actually boot. It’s just the radio that doesn’t come up. I managed to get back in range of a network once, and the router worked as expected.

It doesn’t matter whether the AP or client connection are configured first or second on the radio interface, and, unticking “bring up on boot” for the wwan interface has no effect on the behaviour.

Steps to reproduce: Connect the router to a wifi network as a client using the Join wizard. Add a wifi master-mode access point on the same radio interface. Verify you can access the Internet by joining the router’s new master AP. Reboot the router with the original network it was a client of turned off. Notice the router’s AP you configured never comes up.

Expected behaviour: The master access point of the router should always come up, regardless of the availability of the client network.

The OpenWRT team will not fix it, but had some explanation as to why it is happening. IMO, it’s still a very frustrating bug and most users would expect the behaviour I did.

27.05.2017814Base systemBug ReportVery LowLowWhen LEDE is compiled with GCC 7 on at least ar71xx and...TrunkAssigned Task Description

When using the GCC 7.x compiler, I have found that Dropbear in LEDE images for ar71xx (Ubiquiti Unifi) and brcm47xx (generic) (built with the default configuration, other than changing the compiler to GCC 7.x) won’t accept incoming SSH connections. Instead, as soon as a connection is received, it spins the CPU indefinitely and the connecting SSH client hangs. Nothing relevant is printed in the logs. This behavior does not occur on x86_64; there Dropbear works fine.

I realize I haven’t provided much information here, but I don’t really know how to collect anything else on embedded platforms like this. One of the devices on which I have reproduced this does have a serial adapter though, so I can use that to get any additional information that might be helpful.

21.03.2017649Base systemBug ReportVery LowLowWDS not working on ath9k-htc TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Any device with an wifi USB adapter with the chipset AR9271 (TPLink WN722N in my case).
- Software versions of LEDE release, packages, etc: Latest trunk LEDE versions.
- Steps to reproduce

 

Configure the USB AR9271 adapter as WDS AP, try to associate any other router as WDS Client (in my case the WDS Client is a TPLink WR741ND router, also compiled with latest trunk).
They both associate correctly, but there is no connection between them.

Here is a hostapd log on the WDS AP:

Mon Mar 20 14:05:00 2017 daemon.notice hostapd: wlan1: interface state ENABLED->DISABLED
Mon Mar 20 14:05:00 2017 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 94:0c:6d:b0:f4:ac
Mon Mar 20 14:05:00 2017 daemon.notice hostapd: wlan1: AP-DISABLED
Mon Mar 20 14:05:00 2017 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Mon Mar 20 14:05:00 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Mon Mar 20 14:05:01 2017 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Mon Mar 20 14:05:02 2017 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Mon Mar 20 14:05:02 2017 daemon.err hostapd: Using interface wlan1 with hwaddr e8:de:27:a4:58:21 and ssid "EB1DJ"
Mon Mar 20 14:05:02 2017 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->ENABLED
Mon Mar 20 14:05:02 2017 daemon.notice hostapd: wlan1: AP-ENABLED
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: authentication OK (open system)
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac MLME: MLME-AUTHENTICATE.indication(94:0c:6d:b0:f4:ac, OPEN_SYSTEM)
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac MLME: MLME-DELETEKEYS.request(94:0c:6d:b0:f4:ac)
Mon Mar 20 14:05:03 2017 daemon.info hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: authenticated
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: association OK (aid 1)
Mon Mar 20 14:05:03 2017 daemon.info hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: associated (aid 1)
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac MLME: MLME-ASSOCIATE.indication(94:0c:6d:b0:f4:ac)
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac MLME: MLME-DELETEKEYS.request(94:0c:6d:b0:f4:ac)
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: binding station to interface 'wlan1'
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: event 1 notification
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: start authentication
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.1X: unauthorizing port
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: sending 1/4 msg of 4-Way Handshake
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: EAPOL-Key timeout
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: sending 1/4 msg of 4-Way Handshake
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: received EAPOL-Key frame (2/4 Pairwise)
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: sending 3/4 msg of 4-Way Handshake
Mon Mar 20 14:05:03 2017 daemon.err hostapd: nl80211: EAPOL TX: No message of desired type
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: ignore retransmitted EAPOL-Key 2/4 Pairwise - SNonce did not change
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: EAPOL-Key timeout
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: sending 3/4 msg of 4-Way Handshake
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: received EAPOL-Key frame (4/4 Pairwise)
Mon Mar 20 14:05:03 2017 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 94:0c:6d:b0:f4:ac
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.1X: authorizing port
Mon Mar 20 14:05:03 2017 daemon.info hostapd: wlan1: STA 94:0c:6d:b0:f4:ac RADIUS: starting accounting session 7797AE68AEE646F3
Mon Mar 20 14:05:03 2017 daemon.info hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: pairwise key handshake completed (RSN)
Tue Mar 21 09:58:59 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: authentication OK (open system)
Tue Mar 21 09:58:59 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: event 0 notification
Tue Mar 21 09:58:59 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac MLME: MLME-AUTHENTICATE.indication(94:0c:6d:b0:f4:ac, OPEN_SYSTEM)
Tue Mar 21 09:58:59 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac MLME: MLME-DELETEKEYS.request(94:0c:6d:b0:f4:ac)
Tue Mar 21 09:58:59 2017 daemon.info hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: authenticated
Tue Mar 21 09:58:59 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: association OK (aid 1)
Tue Mar 21 09:58:59 2017 daemon.info hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: associated (aid 1)

I think the error Mon Mar 20 14:05:03 2017 daemon.err hostapd: nl80211: EAPOL TX: No message of desired type has something to do with WDS not working?.

If there is any other info, tests etc you require feel free to ask.

08.03.2017608Base systemBug ReportVery LowHighwds AP/STA disconnecting every 10 minutesTrunkUnconfirmed Task Description

Devices:
AP WDS: Netgear r7800
STA WDS: TP-LINK Archer c7 v2

Problem exists on:

  1. with both latest trunk and 17.01
  2. with both ath10k and ath10k-ct
  3. with STP enabled or not on both sides
  4. with STP enabled or not on only one side
  5. with both WPA2 tkip and aes
  6. with 2.4Ghz and 5Ghz bands

Steps to reproduce

  1. Configure AP WDS
  2. Configure STA WDS
  3. Wait exactly 10 minutes and you’ll see this in the log:

AP:

daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 IEEE 802.11: authenticated
daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 IEEE 802.11: associated (aid 1)
daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 RADIUS: starting accounting session F72C76B14648E205
daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 WPA: pairwise key handshake completed (RSN)

STA:

daemon.notice netifd: Network device 'wlan1' link is down
kern.info kernel: [  387.179978] wlan1: deauthenticated from de:ef:09:f2:99:75 (Reason: 2=PREV_AUTH_NOT_VALID)
kern.info kernel: [  387.188344] br-lan: port 3(wlan1) entered disabled state
kern.info kernel: [  388.139233] wlan1: authenticate with de:ef:09:f2:99:75
kern.info kernel: [  388.170697] wlan1: send auth to de:ef:09:f2:99:75 (try 1/3)
kern.info kernel: [  388.195249] wlan1: authenticated
Wkern.info kernel: [  388.225092] wlan1: associate with de:ef:09:f2:99:75 (try 1/3)
kern.info kernel: [  388.235224] wlan1: RX AssocResp from de:ef:09:f2:99:75 (capab=0x431 status=0 aid=1)
kern.info kernel: [  388.243356] wlan1: associated
daemon.notice netifd: Network device 'wlan1' link is up

I think this has to do with wpa_supplicant in some way, maybe it doesn’t receive the correct packets and force disconnect the client?

Now, this only happens in WDS bridge mode. I’m currently using relayd in order to overcome this issue and it works like a charm.
I want to solve this problem since relayd uses much more cpu power (indeed this is a true routing procotol after all) and total troughput is halved right now.


10.03.2017615KernelBug ReportMediumHighWDS AP: kernel panic under high traffic loadTrunkNew Task Description

I built a WDS bridge with two TL-WR841 v8, running LEDE r3670-154b3a6 from the buildbot snapshots.

When sending a high amount of traffic through the bridge (bidirectional iperf from one computer to another through the bridge), the WDS AP crashes repeatedly (roughly every hour, sometimes it takes a bit longer).

This is possibly related to other WDS issues  FS#447  and FS#608.

AP wireless config:

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'LEDE'
	option encryption 'psk-mixed'
	option key 'XXX'
	option wds '1'

STA wireless config:

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'sta'
	option ssid 'LEDE'
	option encryption 'psk2'
	option key 'XXX'
	option wds '1'

The network configuration is unchanged on both devices (except changing the LAN IP).

Some kernel crashes I obtained with /sys/kernel/debug/crashlog after a crash:


[ 2581.160504] Trap instruction in kernel code[#1]:
[ 2581.165297] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.52 #0
[ 2581.171239] task: 8042ef58 ti: 80428000 task.ti: 80428000
[ 2581.176814] $ 0   : 00000000 804a0000 00000000 fffffffe
[ 2581.182253] $ 4   : 00afc0cc 009f844e 0000007f a0e7c980
[ 2581.187691] $ 8   : 009f849c 00000052 0000004a 01000000
[ 2581.193129] $12   : 80000000 8000004e 00000000 00000002
[ 2581.198559] $16   : 81b27000 80df7000 81a15000 81942f00
[ 2581.203989] $20   : 00000000 00000000 8042a4e0 80d18400
[ 2581.209428] $24   : 00000000 8007d2d4
[ 2581.214866] $28   : 80428000 81809a58 8042a4e0 80272104
[ 2581.220305] Hi    : 00000019
[ 2581.223280] Lo    : 00000000
[ 2581.226272] epc   : 80272128 __dev_queue_xmit+0x2d8/0x4c4
[ 2581.231852] ra    : 80272104 __dev_queue_xmit+0x2b4/0x4c4
[ 2581.237428] Status: 1100f403 KERNEL EXL IE
[ 2581.241785] Cause : 00800034 (ExcCode 0d)
[ 2581.245924] PrId  : 0001974c (MIPS 74Kc)
[ 2581.249972] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT
ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT 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 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter
ip6_tables x_tables gpio_button_hotplug
[ 2581.309535] Process swapper (pid: 0, threadinfo=80428000, task=8042ef58, tls=00000000)
[ 2581.317710] Stack : 80ecf420 8187992c 81809b2c 81879900 81b27068 00000001 80430000 fffffff4
[ 2581.317710]    80ece09c 80ed7000 0000004a 80ed7000 80d18400 80ed7000 00000000 8035b5a4
[ 2581.317710]    00000000 80df7000 00000000 80905e00 80f81000 80430000 80df7000 80271cd0
[ 2581.317710]    80428000 00440002 00000020 0000000e 00000003 80df7000 8042a4e0 00000000
[ 2581.317710]    80d18400 80271718 80430000 803fc6cc 8190af00 80ece090 80430000 80df7000
[ 2581.317710]    ...
[ 2581.354706] Call Trace:
[ 2581.357239] [] __dev_queue_xmit+0x2d8/0x4c4
[ 2581.362495] [] vlan_dev_hard_start_xmit+0x98/0x128
[ 2581.368341] [] dev_hard_start_xmit+0x2a8/0x354
[ 2581.373834] [] __dev_queue_xmit+0x3c0/0x4c4
[ 2581.379068] [] br_dev_queue_push_xmit+0x16c/0x1a0
[ 2581.384828] [] br_forward_finish+0x3c/0xb0
[ 2581.389963] [] __br_forward+0xa8/0x114
[ 2581.394741] [] br_handle_frame_finish+0x4f4/0x550
[ 2581.400500] [] br_handle_frame+0x380/0x418
[ 2581.405662] [] __netif_receive_skb_core+0x42c/0x898
[ 2581.411768] [] ieee80211_attach_ack_skb+0x103c/0x19e8 [mac80211]
[ 2581.418913]
[ 2581.420454]
[ 2581.420454] Code: 02002025  10000014  00008825  00431024  ae020074  1000000f  00008825  8e020000
[ 2581.430831] ---[ end trace 8251bd1741f30e24 ]---
[ 2581.437731] Kernel panic - not syncing: Fatal exception in interrupt

Another one which is a bit different:

[  420.687915] Reserved instruction in kernel code[#1]:
[  420.693066] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.52 #0
[  420.699008] task: 8042ef58 ti: 80428000 task.ti: 80428000
[  420.704583] $ 0   : 00000000 804a0000 00000002 00000002
[  420.710022] $ 4   : 81809e34 00000003 00000000 a0fb5980
[  420.715460] $ 8   : 0179f4bc 000005f2 000005ea 01000000
[  420.720898] $12   : 80000000 800005ee 00000000 772a02c0
[  420.726328] $16   : 81809e34 00000000 80f82420 8179eed2
[  420.731758] $20   : 80d54b40 00000000 80f82000 81809ddc
[  420.737197] $24   : 00000000 8007d2d4                  
[  420.742635] $28   : 80428000 81809d28 00000000 80da2a4c
[  420.748066] Hi    : 00000008
[  420.751041] Lo    : 00000023
[  420.754198] epc   : 80da2a4c ieee80211_sta_uapsd_trigger+0xff4/0x2d7c [mac80211]
[  420.761875] ra    : 80da2a4c ieee80211_sta_uapsd_trigger+0xff4/0x2d7c [mac80211]
[  420.769508] Status: 1100f403	KERNEL EXL IE 
[  420.773864] Cause : 80800028 (ExcCode 0a)
[  420.778004] PrId  : 0001974c (MIPS 74Kc)
[  420.782050] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT 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 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
[  420.841606] Process swapper (pid: 0, threadinfo=80428000, task=8042ef58, tls=00000000)
[  420.849779] Stack : 8086da00 8034a074 00000141 81809e14 00000042 81a18c20 00000003 81a18800
[  420.849779] 	  804c0000 00000000 0000002f 00000080 803c9c94 80dd6e74 80de0000 80dd6e40
[  420.849779] 	  80df9780 80440000 80f81420 8034a304 00000032 81b90010 00000001 00000008
[  420.849779] 	  80fc1380 81809e34 80fa9cc0 000008c9 8086f460 00000008 8086f460 00000000
[  420.849779] 	  00000001 80da5abc 815d1746 80df9780 00000000 8034bc5c 00000003 81a18800
[  420.849779] 	  ...
[  420.886779] Call Trace:
[  420.889373] [<80da2a4c>] ieee80211_sta_uapsd_trigger+0xff4/0x2d7c [mac80211]
[  420.896693] 
[  420.898234] 
[  420.898234] Code: 00402825  0c3687a9  02002025 <1000fe1b> 8ee20000  0c36817d  02402025  0441ff8b  24420012 
[  420.908615] ---[ end trace 2fd42b1e71175ff5 ]---
[  420.915438] Kernel panic - not syncing: Fatal exception in interrupt
09.03.2017612Base systemBug ReportVery LowHighWAN to LAN leakage on MT7620 devicesTrunkUnconfirmed Task Description

I am currently testing two MT7620 devices - the ZBT WE826 and the Sanlinking D240. During the first seconds of the boot, I see that packets leak between the WAN and LAN ports. Typically, this results in clients receiving a DHCP reply from my upstream router, rendering the clients without connectivity when the switch is properly initialized. I have also tested with the default firmware and do not see this behavior. Also, if I stop the devices in the bootloader, then packets do not leak until I resume boot again.

In order to try to solve this bug, I have tried to port some (at least to me) missing steps from the bootloader switch code and to the mt7620 switch driver in LEDE. This did not have an effect, at least not on the packet leak. A work-around I have found is to update u-boot and remove the input delay, so that the device will boot immediately. However, this is quite cumbersome to install and not very reliable. I suspect my luck with this work-around is more due to the timing of the DHCP clients in Ubuntu and Windows 10.

Does anyone have any idea as to what could be wrong and where to start looking?

Thanks in advance for any help.

 


14.10.2016227Base systemBug ReportMediumHighVLAN support mismatch between preinit and default netwo...TrunkResearching Task Description

PPPoE is broken on WRT1900ACS

Upgraded from Lede r578 to latest Lede r1814 and PPPOE doesn’t work anymore altough the pppd version and PPPoE version are the same:
- Linksys WRT1900ACS
- LEDE reboot r1814

pppd debug log:

Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Timeout waiting for PADO packets
Unable to complete PPPoE Discovery
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]

While on the same hardware running LEDE r578, the PPPoE module works as expected:

Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Recv PPPOE Discovery V1T1 PADO session 0×0 length 40
dst c2:56:27:ca:d7:d4 src a0:f3:e4:34:d8:21
[service-name] [AC-name acc-aln1.hac] [AC-cookie 75 58 37 a5 ba 3c e4 a5 2a 61 bb 23 92 5c 1b dc]
Send PPPOE Discovery V1T1 PADR session 0×0 length 24
dst a0:f3:e4:34:d8:21 src c2:56:27:ca:d7:d4
[service-name] [AC-cookie 75 58 37 a5 ba 3c e4 a5 2a 61 bb 23 92 5c 1b dc]
Recv PPPOE Discovery V1T1 PADS session 0x30b length 4
dst c2:56:27:ca:d7:d4 src a0:f3:e4:34:d8:21
[service-name]
PADS: Service-Name: ‘’ PPP session is 779
Connected to a0:f3:e4:34:d8:21 via interface eth0
using channel 2
Using interface pppoe-wan
Connect: pppoe-wan ←→ eth0
sent [LCP ConfReq id=0×1 <mru 1492> <magic 0xc6952556>]
rcvd [LCP ConfReq id=0×66 <mru 1492> <auth chap MD5> <magic 0x4cc73648>]
sent [LCP ConfAck id=0×66 <mru 1492> <auth chap MD5> <magic 0x4cc73648>]
rcvd [LCP ConfAck id=0×1 <mru 1492> <magic 0xc6952556>]
sent [LCP EchoReq id=0×0 magic=0xc6952556]
rcvd [CHAP Challenge id=0×1 <7131a44524d1de8f1cd1061cac6d8c071d8bfe7351bc4ea7bd08f56684428475f229ba177a192696ebab32>, name = “acc-aln1.hac”]
sent [CHAP Response id=0×1 <4bb1a418b298790b128ad4d7ef3109ad>, name = “bthomehub@btbroadband.com”]
rcvd [LCP EchoRep id=0×0 magic=0x4cc73648]
rcvd [CHAP Success id=0×1 “CHAP authentication success”]
CHAP authentication succeeded: CHAP authentication success
CHAP authentication succeeded
peer from calling number A0:F3:E4:34:D8:21 authorized
sent [IPCP ConfReq id=0×1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPV6CP ConfReq id=0×1 <addr fe80::c595:37d1:3987:1929>]
rcvd [IPV6CP ConfReq id=0x7b <addr fe80::0221:05ff:feb4:8824>]
sent [IPV6CP ConfAck id=0x7b <addr fe80::0221:05ff:feb4:8824>]
rcvd [IPCP ConfReq id=0×38 <addr 172.16.12.12>]
sent [IPCP ConfAck id=0×38 <addr 172.16.12.12>]
rcvd [IPCP ConfNak id=0×1 <addr 81.146.2.155> <ms-dns1 81.139.57.100> <ms-dns2 81.139.56.100>]
sent [IPCP ConfReq id=0×2 <addr 81.146.2.155> <ms-dns1 81.139.57.100> <ms-dns2 81.139.56.100>]
rcvd [IPV6CP ConfAck id=0×1 <addr fe80::c595:37d1:3987:1929>]
local LL address fe80::c595:37d1:3987:1929
remote LL address fe80::0221:05ff:feb4:8824
Script /lib/netifd/ppp-up started (pid 2646)
rcvd [IPCP ConfAck id=0×2 <addr 81.146.2.155> <ms-dns1 81.139.57.100> <ms-dns2 81.139.56.100>]
local IP address 81.146.2.155
remote IP address 172.16.12.12
primary DNS address 81.139.57.100
secondary DNS address 81.139.56.100
ppp.log
secondary DNS address 81.139.56.100
Script /lib/netifd/ppp-up started (pid 2653)
Script /lib/netifd/ppp-up finished (pid 2646), status = 0×9 Script /lib/netifd/ppp-up finished (pid 2653), status = 0×9

09.02.2017487KernelBug ReportVery LowMediumVGV7510KW22 / o2 Box 6431 / RT3062F: Very poor Wi-Fi pe...AllNew Task Description

Actual Wi-Fi performance is abnormally poor and unusually variable, no matter the settings (mode, channels, encryption).

These tests were carried out in quick succession while the LuCI web interface showed a signal strength of -46 - -50 dBm:

[localhost ~]$ iperf3 -c 192.168.1.1
Connecting to host 192.168.1.1, port 5201
[  4] local 192.168.1.171 port 42922 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  1.36 MBytes  11.4 Mbits/sec    0   14.1 KBytes       
[  4]   1.00-2.00   sec   964 KBytes  7.90 Mbits/sec    5   11.3 KBytes       
[  4]   2.00-3.00   sec   816 KBytes  6.68 Mbits/sec    4   4.24 KBytes       
[  4]   3.00-4.00   sec   979 KBytes  8.02 Mbits/sec    5   9.90 KBytes       
[  4]   4.00-5.00   sec  1.38 MBytes  11.6 Mbits/sec    0   11.3 KBytes       
[  4]   5.00-6.00   sec  1.24 MBytes  10.4 Mbits/sec    1   9.90 KBytes       
[  4]   6.00-7.00   sec   943 KBytes  7.72 Mbits/sec    2   7.07 KBytes       
[  4]   7.00-8.00   sec  1024 KBytes  8.39 Mbits/sec    7   8.48 KBytes       
[  4]   8.00-9.00   sec  1.11 MBytes  9.29 Mbits/sec    1   9.90 KBytes       
[  4]   9.00-10.00  sec  1.41 MBytes  11.8 Mbits/sec    0   11.3 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  11.1 MBytes  9.32 Mbits/sec   25             sender
[  4]   0.00-10.00  sec  11.1 MBytes  9.30 Mbits/sec                  receiver

iperf Done.
[localhost ~]$ iperf3 -c 192.168.1.1
Connecting to host 192.168.1.1, port 5201
[  4] local 192.168.1.171 port 42954 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   187 KBytes  1.53 Mbits/sec    3   9.90 KBytes       
[  4]   1.00-2.00   sec   638 KBytes  5.22 Mbits/sec    0   11.3 KBytes       
[  4]   2.00-3.00   sec   561 KBytes  4.60 Mbits/sec    0   14.1 KBytes       
[  4]   3.00-4.00   sec   417 KBytes  3.42 Mbits/sec    0   14.1 KBytes       
[  4]   4.00-5.00   sec   307 KBytes  2.51 Mbits/sec    4   8.48 KBytes       
[  4]   5.00-6.00   sec   370 KBytes  3.04 Mbits/sec    2   8.48 KBytes       
[  4]   6.00-7.00   sec   365 KBytes  2.99 Mbits/sec    1   8.48 KBytes       
[  4]   7.00-8.00   sec   281 KBytes  2.30 Mbits/sec    2   1.41 KBytes       
[  4]   8.00-9.00   sec   204 KBytes  1.67 Mbits/sec    8   8.48 KBytes       
[  4]   9.00-10.00  sec   344 KBytes  2.81 Mbits/sec    2   8.48 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  3.59 MBytes  3.01 Mbits/sec   22             sender
[  4]   0.00-10.00  sec  3.56 MBytes  2.99 Mbits/sec                  receiver

iperf Done.
[localhost ~]$ iperf3 -c 192.168.1.1
Connecting to host 192.168.1.1, port 5201
[  4] local 192.168.1.171 port 42960 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   259 KBytes  2.12 Mbits/sec    2   9.90 KBytes       
[  4]   1.00-2.00   sec   923 KBytes  7.57 Mbits/sec    2   11.3 KBytes       
[  4]   2.00-3.00   sec  1.08 MBytes  9.06 Mbits/sec    0   11.3 KBytes       
[  4]   3.00-4.00   sec  1.34 MBytes  11.2 Mbits/sec    2   9.90 KBytes       
[  4]   4.00-5.00   sec   652 KBytes  5.34 Mbits/sec    8   4.24 KBytes       
[  4]   5.00-6.00   sec  1.31 MBytes  11.0 Mbits/sec    1   11.3 KBytes       
[  4]   6.00-7.00   sec  1.37 MBytes  11.5 Mbits/sec    0   15.6 KBytes       
[  4]   7.00-8.00   sec  1.24 MBytes  10.4 Mbits/sec    1   12.7 KBytes       
[  4]   8.00-9.00   sec   683 KBytes  5.59 Mbits/sec    8   9.90 KBytes       
[  4]   9.00-10.00  sec  1.16 MBytes  9.72 Mbits/sec    2   7.07 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  9.96 MBytes  8.35 Mbits/sec   26             sender
[  4]   0.00-10.00  sec  9.93 MBytes  8.33 Mbits/sec                  receiver

iperf Done.

Confirmed with 17.01.0-rc1, 17.01.0-rc2, SNAPSHOT r3350-aab344d (all NOR images) and different client machines.

On a side note, ethernet performance is also diminished:

[localhost ~]$ iperf3 -c 192.168.1.1
Connecting to host 192.168.1.1, port 5201
[  4] local 192.168.1.161 port 57264 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  9.70 MBytes  81.3 Mbits/sec    0    215 KBytes       
[  4]   1.00-2.00   sec  8.96 MBytes  75.2 Mbits/sec    0    215 KBytes       
[  4]   2.00-3.00   sec  9.37 MBytes  78.6 Mbits/sec    4    156 KBytes       
[  4]   3.00-4.00   sec  10.3 MBytes  86.6 Mbits/sec    6    106 KBytes       
[  4]   4.00-5.00   sec  10.4 MBytes  87.0 Mbits/sec    0    161 KBytes       
[  4]   5.00-6.00   sec  8.88 MBytes  74.5 Mbits/sec    2    156 KBytes       
[  4]   6.00-7.00   sec  9.01 MBytes  75.6 Mbits/sec    2    143 KBytes       
[  4]   7.00-8.00   sec  9.47 MBytes  79.5 Mbits/sec    8    140 KBytes       
[  4]   8.00-9.00   sec  10.3 MBytes  86.6 Mbits/sec    6    141 KBytes       
[  4]   9.00-10.00  sec  10.4 MBytes  87.3 Mbits/sec    4    144 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  96.8 MBytes  81.2 Mbits/sec   32             sender
[  4]   0.00-10.00  sec  96.5 MBytes  80.9 Mbits/sec                  receiver

iperf Done.
03.06.2017825DocumentationBug ReportVery LowLowUser guide does not mention "config hostrecord" section...TrunkUnconfirmed Task Description

The dhcp configuration file is documented in the user guide at:
https://lede-project.org/docs/user-guide/dhcp_configuration and
https://lede-project.org/docs/user-guide/dns_configuration but neither page mentions the “config hostrecord” section type of the dhcp configuration file. This section type was first proposed here:
https://lists.openwrt.org/pipermail/openwrt-devel/2013-June/020358.html and it was added to openwrt here:
https://dev.openwrt.org/changeset/36943 and it’s in the lede source here:
https://github.com/lede-project/source/blob/master/package/network/services/dnsmasq/files/dnsmasq.init#L658

31.01.2017446Base systemBug ReportVery LowLowusbport trigger: The default configuration for all fami...TrunkUnconfirmed Task Description

Recently LuCI has get ability to configure LED’s with the usbport trigger https://github.com/openwrt/luci/issues/971. There are issues when reading the old usbdev trigger. There is no need to stay with usbdev at all so if it’s possible it should be converted to use usbport.

05.09.2016160Base systemBug ReportVery LowLowusb-serial (pl2303) failures on mt7621 dlink dir860l-b1TrunkUnconfirmed Task Description
git describe
reboot-1497-ga810e77

with diffconfig:

CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7621=y
CONFIG_TARGET_ramips_mt7621_DEVICE_dir-860l-b1=y
CONFIG_DEVEL=y
CONFIG_BUILD_LOG=y
CONFIG_PACKAGE_ip=y
CONFIG_PACKAGE_kmod-usb-core=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb-ohci-pci=y
CONFIG_PACKAGE_kmod-usb-serial=y
CONFIG_PACKAGE_kmod-usb-serial-ftdi=y
CONFIG_PACKAGE_kmod-usb-serial-pl2303=y
CONFIG_PACKAGE_kmod-usb2=y
CONFIG_PACKAGE_kmod-usb2-pci=y
CONFIG_PACKAGE_kmod-usb3=y
CONFIG_PACKAGE_screen=y

screen starts, but doesn’t work. The usb-relevant dmesg’s are:

[    4.550000] usbcore: registered new interface driver usbfs
[    4.560000] usbcore: registered new interface driver hub
[    4.570000] usbcore: registered new device driver usb
[    4.580000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.620000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.670000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    4.720000] hub 1-0:1.0: USB hub found
[    4.740000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    4.760000] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.770000] hub 2-0:1.0: USB hub found
[    5.260000] usb 1-1: new full-speed USB device number 2 using xhci-mtk
[    5.410000] usb 1-1: no of_node; not parsing pinctrl DT
[   10.150000] usbcore: registered new interface driver usbserial
[   10.160000] usbcore: registered new interface driver usbserial_generic
[   10.180000] usbserial: USB Serial support registered for generic
[   10.220000] usbcore: registered new interface driver ftdi_sio
[   10.240000] usbserial: USB Serial support registered for FTDI USB Serial Device
[   10.260000] usbcore: registered new interface driver pl2303
[   10.270000] usbserial: USB Serial support registered for pl2303
[   10.290000] pl2303 ttyUSB0: no of_node; not parsing pinctrl DT
[   10.290000] usb 1-1: pl2303 converter now attached to ttyUSB0
[  871.510000] pl2303 ttyUSB0: pl2303_get_line_request - failed: -145
[  871.620000] pl2303 ttyUSB0: pl2303_set_line_request - failed: -145
[  871.840000] pl2303 ttyUSB0: pl2303_set_control_lines - failed: -145

Screen also throws an error (which gets blanked out, but is captured by the serial console):

# screen /dev/ttyUSB0 115200
/dev/null/utmp: Not a directory
19.02.2017534Base systemBug ReportVery LowHighUSB xHCI deadlock on bootlede-17.01Assigned Task Description

Supply the following if possible:
- Device problem occurs on
VirtualBox x86_64 Version 5.0.32 r112930
- Software versions of LEDE release, packages, etc.
17.01.00rc2
- Steps to reproduce
Create the disk image
Switch from EHCI (the default in a new VM) to xHCI.
Boot the machine
The machine will deadlock soon after initializing the USB ports


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.
20.04.2017726KernelBug ReportVery LowHighUSB not working on TL-WDR4900 v1.xAllUnconfirmed Task Description

USB ports are empty but hub is deteched periodically. Usb ports work abnormal when some devices are inserted.
This bug exists inprevious versions ( in openwrt too).

cat /etc/banner

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

// LE \ ||_|_/|_| lede-project.org
\ \ DE /
\ LE \ / ———————————————————– \ DE \ / Reboot (17.01.1, r3316-7eb58cf109)
\
__\/ ———————————————————–

root@openwrt:~# dmesg | grep -i usb

[ 0.029483] usbcore: registered new interface driver usbfs
[ 0.029537] usbcore: registered new interface driver hub
[ 0.029580] usbcore: registered new device driver usb
[ 2.075954] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.104850] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
[ 2.138024] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
[ 2.144048] hub 1-0:1.0: USB hub found
[ 2.535450] usb 1-1: new high-speed USB device number 2 using fsl-ehci
[ 2.728493] hub 1-1:1.0: USB hub found
[ 3.511480] usb 1-1: USB disconnect, device number 2
[ 3.814034] usb 1-1: new high-speed USB device number 3 using fsl-ehci
[ 3.952117] hub 1-1:1.0: USB hub found
[ 4.484403] usb 1-1: USB disconnect, device number 3
[ 4.730021] usb 1-1: new high-speed USB device number 4 using fsl-ehci
[ 4.868111] hub 1-1:1.0: USB hub found
[ 5.265649] usb 1-1: USB disconnect, device number 4
[ 5.510021] usb 1-1: new high-speed USB device number 5 using fsl-ehci
[ 6.098025] usb 1-1: device not accepting address 5, error -71
[ 6.398018] usb 1-1: new high-speed USB device number 7 using fsl-ehci
[ 6.536098] hub 1-1:1.0: USB hub found
[ 6.844167] usb 1-1: USB disconnect, device number 7
[ 7.110026] usb 1-1: new high-speed USB device number 8 using fsl-ehci
[ 7.706027] usb 1-1: device not accepting address 8, error -71
[ 8.010025] usb 1-1: new high-speed USB device number 10 using fsl-ehci
[ 8.156084] hub 1-1:1.0: USB hub found
[ 8.417000] usb 1-1: USB disconnect, device number 10
..........................
Thu Apr 20 10:41:22 2017 kern.info kernel: [ 961.300660] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:41:47 2017 kern.info kernel: [ 986.577885] usb 1-1: USB disconnect, device number 124
Thu Apr 20 10:41:47 2017 kern.info kernel: [ 986.821924] usb 1-1: new high-speed USB device number 125 using fsl-ehci
Thu Apr 20 10:41:48 2017 kern.info kernel: [ 986.960029] hub 1-1:1.0: USB hub found
Thu Apr 20 10:41:48 2017 kern.info kernel: [ 986.964202] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:41:53 2017 kern.info kernel: [ 991.933221] usb 1-1: USB disconnect, device number 125
Thu Apr 20 10:41:53 2017 kern.info kernel: [ 992.177825] usb 1-1: new high-speed USB device number 126 using fsl-ehci
Thu Apr 20 10:41:53 2017 kern.info kernel: [ 992.315980] hub 1-1:1.0: USB hub found
Thu Apr 20 10:41:53 2017 kern.info kernel: [ 992.320159] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:42:02 2017 kern.info kernel: [ 1001.763764] usb 1-1: USB disconnect, device number 126
Thu Apr 20 10:42:03 2017 kern.info kernel: [ 1002.009660] usb 1-1: new high-speed USB device number 127 using fsl-ehci
Thu Apr 20 10:42:03 2017 kern.info kernel: [ 1002.159774] hub 1-1:1.0: USB hub found
Thu Apr 20 10:42:03 2017 kern.info kernel: [ 1002.163953] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:42:07 2017 kern.info kernel: [ 1006.033730] usb 1-1: USB disconnect, device number 127
Thu Apr 20 10:42:07 2017 kern.info kernel: [ 1006.281597] usb 1-1: new high-speed USB device number 2 using fsl-ehci
Thu Apr 20 10:42:07 2017 kern.info kernel: [ 1006.419736] hub 1-1:1.0: USB hub found
Thu Apr 20 10:42:07 2017 kern.info kernel: [ 1006.423795] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:42:10 2017 kern.info kernel: [ 1009.824073] usb 1-1: USB disconnect, device number 2
Thu Apr 20 10:42:11 2017 kern.info kernel: [ 1010.076110] usb 1-1: new high-speed USB device number 3 using fsl-ehci
Thu Apr 20 10:42:11 2017 kern.info kernel: [ 1010.215709] hub 1-1:1.0: USB hub found
Thu Apr 20 10:42:11 2017 kern.info kernel: [ 1010.220010] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:42:12 2017 kern.info kernel: [ 1011.588932] usb 1-1: USB disconnect, device number 3
Thu Apr 20 10:42:12 2017 kern.info kernel: [ 1011.833503] usb 1-1: new high-speed USB device number 4 using fsl-ehci

cat /sys/kernel/debug/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 4.04
S: Manufacturer=Linux 4.4.61 ehci_hcd
S: Product=Freescale On-Chip EHCI Host Controller
S: SerialNumber=fsl-ehci.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 45 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0608 Rev=85.36
S: Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms

lsusb -v

Bus 001 Device 048: ID 05e3:0608 Genesys Logic, Inc. Hub
Device Descriptor:

bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         1 Single TT
bMaxPacketSize0        64
idVendor           0x05e3 Genesys Logic, Inc.
idProduct          0x0608 Hub
bcdDevice           85.36
iManufacturer           0 
iProduct                1 USB2.0 Hub
iSerial                 0 
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0 
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower              100mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0 Full speed (or root) hub
    iInterface              0 
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0001  1x 1 bytes
      bInterval              12

Hub Descriptor:

bLength               9
bDescriptorType      41
nNbrPorts             4
wHubCharacteristic 0x00e9
  Per-port power switching
  Per-port overcurrent protection
  TT think time 32 FS bits
  Port indicators
bPwrOn2PwrGood       50 * 2 milli seconds
bHubContrCurrent    100 milli Ampere
DeviceRemovable    0x00
PortPwrCtrlMask    0xff

Hub Port Status:

 Port 1: 0000.0100 power
 Port 2: 0000.0100 power
 Port 3: 0000.0100 power
 Port 4: 0000.0100 power

Device Qualifier (for other device speed):

bLength                10
bDescriptorType         6
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         0 Full speed (or root) hub
bMaxPacketSize0        64
bNumConfigurations      1

Device Status: 0x0001

Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:

bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         1 Single TT
bMaxPacketSize0        64
idVendor           0x1d6b Linux Foundation
idProduct          0x0002 2.0 root hub
bcdDevice            4.04
iManufacturer           3 Linux 4.4.61 ehci_hcd
iProduct                2 Freescale On-Chip EHCI Host Controller
iSerial                 1 fsl-ehci.0
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0 
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower                0mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0 Full speed (or root) hub
    iInterface              0 
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0004  1x 4 bytes
      bInterval              12

Hub Descriptor:

bLength               9
bDescriptorType      41
nNbrPorts             1
wHubCharacteristic 0x0009
  Per-port power switching
  Per-port overcurrent protection
  TT think time 8 FS bits
bPwrOn2PwrGood       10 * 2 milli seconds
bHubContrCurrent      0 milli Ampere
DeviceRemovable    0x00
PortPwrCtrlMask    0xff

Hub Port Status:

 Port 1: 0000.0503 highspeed power enable connect

Device Status: 0x0001

Self Powered
20.04.2017727Base systemBug ReportVery LowLowUSB not working on TL-WDR4900 v1.xTrunkUnconfirmed Task Description

USB ports are empty but hub is deteched periodically.

dmesg | grep -i usb
[ 0.029483] usbcore: registered new interface driver usbfs
[ 0.029537] usbcore: registered new interface driver hub
[ 0.029580] usbcore: registered new device driver usb
[ 2.075954] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 2.104850] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
[ 2.138024] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
[ 2.144048] hub 1-0:1.0: USB hub found
[ 2.535450] usb 1-1: new high-speed USB device number 2 using fsl-ehci
[ 2.728493] hub 1-1:1.0: USB hub found
[ 3.511480] usb 1-1: USB disconnect, device number 2
[ 3.814034] usb 1-1: new high-speed USB device number 3 using fsl-ehci
[ 3.952117] hub 1-1:1.0: USB hub found
[ 4.484403] usb 1-1: USB disconnect, device number 3
[ 4.730021] usb 1-1: new high-speed USB device number 4 using fsl-ehci
[ 4.868111] hub 1-1:1.0: USB hub found
[ 5.265649] usb 1-1: USB disconnect, device number 4
[ 5.510021] usb 1-1: new high-speed USB device number 5 using fsl-ehci
[ 6.098025] usb 1-1: device not accepting address 5, error -71
[ 6.398018] usb 1-1: new high-speed USB device number 7 using fsl-ehci

[ 986.577885] usb 1-1: USB disconnect, device number 124
[ 986.821924] usb 1-1: new high-speed USB device number 125 using fsl-ehci
[ 986.960029] hub 1-1:1.0: USB hub found
[ 991.933221] usb 1-1: USB disconnect, device number 125
[ 992.177825] usb 1-1: new high-speed USB device number 126 using fsl-ehci
[ 992.315980] hub 1-1:1.0: USB hub found
[ 1001.763764] usb 1-1: USB disconnect, device number 126
[ 1002.009660] usb 1-1: new high-speed USB device number 127 using fsl-ehci
[ 1002.159774] hub 1-1:1.0: USB hub found
[ 1006.033730] usb 1-1: USB disconnect, device number 127
[ 1006.281597] usb 1-1: new high-speed USB device number 2 using fsl-ehci
[ 1006.419736] hub 1-1:1.0: USB hub found
[ 1009.824073] usb 1-1: USB disconnect, device number 2
[ 1010.076110] usb 1-1: new high-speed USB device number 3 using fsl-ehci

cat /sys/kernel/debug/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 4.04
S: Manufacturer=Linux 4.4.61 ehci_hcd
S: Product=Freescale On-Chip EHCI Host Controller
S: SerialNumber=fsl-ehci.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 88 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0608 Rev=85.36
S: Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms

lsusb -v

Bus 001 Device 090: ID 05e3:0608 Genesys Logic, Inc. Hub
Device Descriptor:

bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         1 Single TT
bMaxPacketSize0        64
idVendor           0x05e3 Genesys Logic, Inc.
idProduct          0x0608 Hub
bcdDevice           85.36
iManufacturer           0 
iProduct                1 USB2.0 Hub
iSerial                 0 
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0 
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower              100mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0 Full speed (or root) hub
    iInterface              0 
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0001  1x 1 bytes
      bInterval              12

Hub Descriptor:

bLength               9
bDescriptorType      41
nNbrPorts             4
wHubCharacteristic 0x00e9
  Per-port power switching
  Per-port overcurrent protection
  TT think time 32 FS bits
  Port indicators
bPwrOn2PwrGood       50 * 2 milli seconds
bHubContrCurrent    100 milli Ampere
DeviceRemovable    0x00
PortPwrCtrlMask    0xff

Hub Port Status:

 Port 1: 0000.0100 power
 Port 2: 0000.0100 power
 Port 3: 0000.0100 power
 Port 4: 0000.0100 power

Device Qualifier (for other device speed):

bLength                10
bDescriptorType         6
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         0 Full speed (or root) hub
bMaxPacketSize0        64
bNumConfigurations      1

Device Status: 0×0001

Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:

bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         1 Single TT
bMaxPacketSize0        64
idVendor           0x1d6b Linux Foundation
idProduct          0x0002 2.0 root hub
bcdDevice            4.04
iManufacturer           3 Linux 4.4.61 ehci_hcd
iProduct                2 Freescale On-Chip EHCI Host Controller
iSerial                 1 fsl-ehci.0
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0 
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower                0mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0 Full speed (or root) hub
    iInterface              0 
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0004  1x 4 bytes
      bInterval              12

Hub Descriptor:

bLength               9
bDescriptorType      41
nNbrPorts             1
wHubCharacteristic 0x0009
  Per-port power switching
  Per-port overcurrent protection
  TT think time 8 FS bits
bPwrOn2PwrGood       10 * 2 milli seconds
bHubContrCurrent      0 milli Ampere
DeviceRemovable    0x00
PortPwrCtrlMask    0xff

Hub Port Status:

 Port 1: 0000.0503 highspeed power enable connect

Device Status: 0×0001

Self Powered


12.07.2017901Base systemBug ReportVery LowLowUSB not working on MikroTik hAP ac TrunkUnconfirmed Task Description

Only affecting hAP ac / RB962UiGS-5HacT2HnT

Tested with LEDE trunk in April, no relevant commits to device since.

GPIO to control USB power works, and USB controller appears in dmesg on boot. Upon connecting any device, it is not recognised and there are no kernel messages. Same devices work (albeit via internal hub) on Archer C7 v2 using same SoC.

Bug independently verified by another user, not a hardware defect with a single unit.

I am aware of the irony that I contributed the support for this device, and reported USB as working. I was only looking for the controller to be recognised and neglected to test with an actual USB device until after this was merged. My bad. Logging as a bug so that anyone who finds it not working can at least see a record and know to direct their blame towards me :)

28.03.2017661Base systemBug ReportVery LowHighUSB hostless modem is not detected during boot - HooToo...lede-17.01Unconfirmed Task Description

After flashing my HooToo HT-TM02 with LEDE 17.01 I noticed that my hostless modem
ZTE MF823 is not detected when attached during boot. lsusb or cat /sys/kernel/debug/usb/devices
just shows nothing. Also dmesg is logging nothing regarding the device during boot.
If the modem is hotplugged, everything works fine. Same behaviour in OpenWRT Chaos Chalmer.

Tried unloading and reloading all usb related modules with no success. No detection at all.
Only unplugging and replugging helps. If the modem is detected after replugging, a
router reboot will detect it properly. A reboot without a forced detection via replugging leads to
no detection. Powering the router down, also results in no detection after rebooting.

If attached to a “non powered” USB-Hub it gets detected during boot, so no power issue here.

And the modem works perfekt after boot on a WD MyNet 600 with LEDE 17.01. So i think it’s a
platform related issue handling the usb modules.

Hope there is enough info for someone to find the bug.

THX.

21.02.2017545Base systemBug ReportVery LowLowUSB does not work ARV4518PWR01Alede-17.01Unconfirmed Task Description

Hello, I tried to install 17.01.0-rc2, r3131 on Arcadyan ARV4518PWR01A but USB is not working.

 


04.02.2017463Base systemBug ReportVery LowLowup/down on a usbnet interfaces fails to reassign ULA ad...TrunkUnconfirmed Task Description

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

Install the usbnet package, enable a usb0 device in /etc/config/network

(in my case this is a c.h.i.p, but most hackerboards except the pi do usbnet)

config interface ‘usb0’

      option ifname 'usb0'            
      option proto 'static'                 
      option ipaddr '172.26.97.200'
      option netmask '255.255.255.255'
      option ip6assign '64'           
      option ip6class 'local' 

So long as the chip beats the router to booting, this gives it an ipv4 and ipv6 ULA out of the pool.

Reboot the device on the other side. The kernel deregisters and registers the usbnet driver, and netifd assigns the ipv4 address again.

However the ip6 subnet that was assigned from the ula does not come back. Haven’t tried it with a public address.

ifup/ifdown does not work and the ifstatus usb0 does not show any ipv6 addresses assigned.

29.08.2017991Base systemBug ReportVery LowLowuntagged vlan do not work on mt7620lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device Asus RT-N14U
- Software LEDE Reboot 17.01.2 r3435-65eec8bd5f
- Steps to reproduce:
when I add an untagged port with an id different from 2 or 1 it does not work, does not ping the interface
but the router pings if the port is a tagged, but does not ping the device that is connected to the untagged port
Everything works if the VLAN ID 2, but does not work with any other value

 


18.06.2017854Base systemBug ReportVery LowVery LowUnstable Internet caused by frequent PPPoE reconnect, n...lede-17.01Unconfirmed Task Description
daemon.info pppd[7738]: No response to 5 echo-requests
daemon.notice pppd[7738]: Serial link appears to be disconnected.
daemon.info pppd[7738]: Connect time 1.0 minutes.
daemon.info pppd[7738]: Sent 28006 bytes, received 46170 bytes.
daemon.notice pppd[7738]: Connection terminated.
daemon.info pppd[7738]: Connect time 1.0 minutes.
daemon.info pppd[7738]: Sent 28006 bytes, received 46170 bytes.
daemon.info pppd[7738]: Sent PADT
daemon.info pppd[7738]: Exit.

network.wan.keepalive is not set, and on luci “LCP echo failure threshold” shows a grey 0 and the description below it says “Presume peer to be dead after given amount of LCP echo failures, use 0 to ignore failures”, but this description is not consistent with the behaviour.

After running the commands below, the grey 0 becomes darker, but the problem persists.

root@LEDE:~# uci set network.wan.keepalive=0
root@LEDE:~# /etc/init.d/network restart

The value of network.wan.keepalive when set using luci has two numbers separated by a space (which appears to be in the format of ‘[threshold] [interval]’), but it should be a number according to the wiki https://lede-project.org/docs/user-guide/wan_interface_protocols?s[]=pppoe#protocol_pppoe_ppp_over_ethernet

I then tried the following commands, and there’re no reconnects after one hour.

root@LEDE:~# uci set network.wan.keepalive='0 1'
root@LEDE:~# /etc/init.d/network restart

Is it better to have a default of 0 (default=undefined network.wan.keepalive) instead of seemingly 5 which would also be consistent with luci?

01.03.2017573KernelBug ReportVery LowMediumUnloading rt2800soc crashes rt3052 based devicesTrunkUnconfirmed Task Description

On LEDE trunk rt3052 based devices (and all other devices using rt2800 wireless chipset) crash whenever you try to unload rt2800soc. This happens because patch 604-rt2x00-load-eeprom-on-SoC-from-a-mtd-device-defines-.patch interferes with 602-rt2x00-introduce-rt2x00eeprom.patch. In 602 the struct rt2x00_dev is extended by the member eeprom_file. In its initialisation function rt2x00lib_request_eeprom_file eeprom_file is either initialized with a firmware struct from request_firmware or keeps being NULL if an error occurs. Patch 604 hooks into rt2x00lib_request_eeprom_file by the function rt2800lib_read_eeprom_mtd. rt2800lib_read_eeprom_mtd fills eeprom_file with a statically declared struct firmware if loading from the mtd partition succeeds. Now, when we come to uninitialization patch 602s rt2x00lib_free_eeprom_file is called. This function assumes that eeprom_file was dynamically allocated and calls release_firmware(eeprom_file) even if patch 604 allocated it statically. This leads to release_firmware kfree-ing eeprom_file although it was never kmalloced, resulting in a kernelpanic.

24.07.2017928Base systemBug ReportVery LowLowUnable to turn on Archer C7 v2 5GHz wirelesslede-17.01Unconfirmed Task Description

I try to configure 5ghz wireless on my archer c7 v2, unfortunately it seems unable to use the 5ghz.

I have no issue with 2.4ghz wireless.

root@router:~# dmesg | grep ath10k
[   11.241081] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   11.464017] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[   11.474900] ath10k_pci 0000:01:00.0: Falling back to user helper
[   11.692369] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   11.701731] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[   11.712258] ath10k_pci 0000:01:00.0: Falling back to user helper
[   23.047311] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   23.056705] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   23.069779] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00016 api 5 features no-p2p,raw-mode,mfp crc32 0c5668f8
[   23.080566] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   23.091168] ath10k_pci 0000:01:00.0: Falling back to user helper
[   23.182327] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   23.204043] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   24.391201] ath10k_pci 0000:01:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
root@router:~# iw list
Wiphy phy1
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports AP-side u-APSD.
	Device supports T-DLS.
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * outside context of a BSS
	Band 1:
		Capabilities: 0x11ef
			RX LDPC
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		Frequencies:
			* 2412 MHz [1] (25.0 dBm)
			* 2417 MHz [2] (25.0 dBm)
			* 2422 MHz [3] (25.0 dBm)
			* 2427 MHz [4] (25.0 dBm)
			* 2432 MHz [5] (25.0 dBm)
			* 2437 MHz [6] (25.0 dBm)
			* 2442 MHz [7] (25.0 dBm)
			* 2447 MHz [8] (25.0 dBm)
			* 2452 MHz [9] (25.0 dBm)
			* 2457 MHz [10] (25.0 dBm)
			* 2462 MHz [11] (25.0 dBm)
			* 2467 MHz [12] (disabled)
			* 2472 MHz [13] (disabled)
			* 2484 MHz [14] (disabled)
	valid interface combinations:
		 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
		   total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
Wiphy phy0
	max # scan SSIDs: 16
	max scan IEs length: 199 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports AP-side u-APSD.
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
	Band 2:
		Capabilities: 0x19ef
			RX LDPC
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		VHT Capabilities (0x338001b2):
			Max MPDU length: 11454
			Supported Channel Width: neither 160 nor 80+80
			RX LDPC
			short GI (80 MHz)
			TX STBC
			RX antenna pattern consistency
			TX antenna pattern consistency
		VHT RX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT RX highest supported: 0 Mbps
		VHT TX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT TX highest supported: 0 Mbps
		Frequencies:
			* 5180 MHz [36] (23.0 dBm)
			* 5200 MHz [40] (23.0 dBm)
			* 5220 MHz [44] (23.0 dBm)
			* 5240 MHz [48] (23.0 dBm)
			* 5260 MHz [52] (23.0 dBm) (radar detection)
			* 5280 MHz [56] (23.0 dBm) (radar detection)
			* 5300 MHz [60] (23.0 dBm) (radar detection)
			* 5320 MHz [64] (23.0 dBm) (radar detection)
			* 5500 MHz [100] (23.0 dBm) (radar detection)
			* 5520 MHz [104] (23.0 dBm) (radar detection)
			* 5540 MHz [108] (23.0 dBm) (radar detection)
			* 5560 MHz [112] (23.0 dBm) (radar detection)
			* 5580 MHz [116] (23.0 dBm) (radar detection)
			* 5600 MHz [120] (23.0 dBm) (radar detection)
			* 5620 MHz [124] (23.0 dBm) (radar detection)
			* 5640 MHz [128] (23.0 dBm) (radar detection)
			* 5660 MHz [132] (23.0 dBm) (radar detection)
			* 5680 MHz [136] (23.0 dBm) (radar detection)
			* 5700 MHz [140] (23.0 dBm) (radar detection)
			* 5720 MHz [144] (23.0 dBm) (radar detection)
			* 5745 MHz [149] (30.0 dBm)
			* 5765 MHz [153] (30.0 dBm)
			* 5785 MHz [157] (30.0 dBm)
			* 5805 MHz [161] (30.0 dBm)
			* 5825 MHz [165] (30.0 dBm)
			* 5845 MHz [169] (disabled)
	valid interface combinations:
		 * #{ AP, mesh point } <= 8, #{ managed } <= 1,
		   total <= 8, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports VHT-IBSS.
12.07.2017902Base systemBug ReportVery LowHighUnable to restore stock ROM in TP-Link CPE210 HW 1.1 af...lede-17.01Unconfirmed Task Description

Hello

Has anybody tried to restore stock ROM in CPE210 hardware version 1.1. after flashing LEDE? I have reviewed TP-Link´s forum and it seems it is not possible. People has tried the Pharos OS TFTP recovery (http://forum.tp-link.com/showthread.php?81684-How-to-use-firmware-recovery-function-of-Pharos-CPE1) as well as from the OpenWRT/LEDE web GUI, and both fail.

Everybody labels flashing to OpenWRT or LEDE as “one-way” action because they suspect that OpenWRT/LEDE “changes something” in the flash, so it breaks a restore to stock ROM . Bellow I list them:

1) OpenWRT/LEDE misses partitions of the stockROM partitions. Bellow is the partition table with stock ROM:

U-Boot partition
partition fs-uboot base 0×00000 size 0×20000 partition partition-table base 0×20000 size 0×02000

Firmware partitions
fwup-ptn partition-table base 0×00800 size 0×00800 fwup-ptn os-image base 0×01000 size 0xcbf29
fwup-ptn soft-version base 0xccf29 size 0×00015 fwup-ptn support-list base 0xccf3e size 0x0063c
fwup-ptn file-system base 0xcd57a size 0x3e4001

2) OpenWRT/LEDE changes something in the environment of the SafeLoader, which breaks the standard recovery mode.

3) Log from an attempt to transfer recovery.bin (the recovery.bin file is firmware pharos-up-ver1-3-3-P9[20160705-rel52453].bin). Safeloader request a “vmlinuz” file from the TFTP ad, of course, it does not exists.

Connection received from 192.168.0.254 on port 4011 [16/03 07:27:19.543]
Read request for file <recovery.bin>. Mode octet [16/03 07:27:19.543]
OACK: <timeout=5,blksize=512,> [16/03 07:27:19.823]
Using local port 49447 [16/03 07:27:19.823]
<recovery.bin>: sent 9643 blks, 4936747 bytes in 2 s. 0 blk resent [16/03 07:27:21.708]
Connection received from 192.168.0.254 on port 3164 [16/03 07:27:24.831]
Read request for file <vmlinuz>. Mode octet [16/03 07:27:24.831]
File <vmlinuz> : error 2 in system call CreateFile Das System kann die angegebene Datei nicht finden. [16/03 07:27:24.831]

I think it is important to check and solve it, because this behavior avoids warranty.

28.02.2017569Base systemBug ReportVery LowHighUnable to conenct with wpa2-eaplede-17.01Waiting on reporter Task Description

Device: TP-Link Archer C7 V2
LEDE: 17.01.0, r3205-59508e3

Sometimes it is impossible to connect to an AP. It just looks like that he pairwise key handshake fails. This is what i see in the log:

Feb 28 20:13:41 10.0.0.3 hostapd: wlan1: STA 00:13:ef:60:0a:3a IEEE 802.11: authenticated
Feb 28 20:13:41 10.0.0.3 hostapd: wlan1: STA 00:13:ef:60:0a:3a IEEE 802.11: associated (aid 1)
Feb 28 20:13:41 10.0.0.3 hostapd: wlan1: CTRL-EVENT-EAP-STARTED 00:13:ef:60:0a:3a
Feb 28 20:13:41 10.0.0.3 hostapd: wlan1: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1

My config for wpa2-eap is pretty simple:

config wifi-iface ‘default_radio1’

      option device 'radio1'
      option mode 'ap'
      option ssid 'SSID'
      option encryption 'wpa2'
      option auth_server '10.0.0.1'
      option auth_port '1812'
      option auth_secret 'foobar'
      option nasid 'ap02g'
      option network 'lan'
      option wpa_group_rekey '2000'
08.05.2017767ToolchainBug ReportVery LowMediumuml: Imagebuilder does not honor default packages for u...TrunkUnconfirmed Task Description

Stock LEDE - r4099-4c3953b

Plain UML images are fine and work. If you want to build images with the imagebuilder the default package list is not honored and modules are missing - like kmod-80211-hwsim and all related packages.

The squashfs image also does not work:

[    0.270000] squashfs: SQUASHFS error: Filesystem uses "zlib" compression. This is not supported

profiles.mk in Imagebuilder dir seems wonky:

$ cat .profiles.mk
PROFILE_NAMES = Default
Default_NAME:=Default
Default_PACKAGES:=

.targetinfo looks okay, but I don’t know:

Source-Makefile: target/linux/uml/Makefile
Target: uml
Target-Board: uml
Target-Name: User Mode Linux
Target-Arch: x86_64
Target-Arch-Packages: x86_64
Target-Features: audio ext4 source-only squashfs
Target-Depends:
Target-Optimization: -Os -pipe
CPU-Type:
Linux-Version: 4.4.61
Linux-Release: 1
Linux-Kernel-Arch: um
Target-Description:

@@
Default-Packages: base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd dnsmasq iptables ip6tables ppp ppp-mod-pppoe firewall odhcpd odhcp6c wpad-mini kmod-mac80211-hwsim mkf2fs e2fsprogs iwinfo
27.08.2017983Base systemBug ReportLowLowuml: build failure: module mwifiex_sdio.ko is missinglede-17.01New Task Description

While test-building all architectures on latest lede-17.01 (https://git.lede-project.org/dc8392f6a) with CONFIG_ALL_KMODS=y, I bumped on this build failure for uml:

if [ -f /home/bjonglez/lede-17.01/staging_dir/target-x86_64_musl-1.1.16/pkginfo/mac80211.default.install.clean ]; then rm -f /home/bjonglez/lede-17.01/staging_dir/target-x86_64_musl-1.1.16/pkginfo/mac80211.default.install /home/bjonglez/lede-17.01/staging_dir/target-x86_64_musl-1.1.16/pkginfo/mac80211.default.install.clean; fi
mkdir -p /home/bjonglez/lede-17.01/bin/targets/uml/generic/packages /home/bjonglez/lede-17.01/build_dir/target-x86_64_musl-1.1.16/linux-uml/compat-wireless-2017-01-31/ipkg-x86_64/kmod-mwifiex-sdio/CONTROL /home/bjonglez/lede-17.01/staging_dir/target-x86_64_musl-1.1.16/pkginfo
ERROR: module '/home/bjonglez/lede-17.01/build_dir/target-x86_64_musl-1.1.16/linux-uml/compat-wireless-2017-01-31/drivers/net/wireless/marvell/mwifiex/mwifiex_sdio.ko'
is missing.
Makefile:1814: recipe for target '/home/bjonglez/lede-17.01/bin/targets/uml/generic/packages/kmod-mwifiex-sdio_4.4.83+2017-01-31-2_x86_64.ipk' failed
make[3]: *** [/home/bjonglez/lede-17.01/bin/targets/uml/generic/packages/kmod-mwifiex-sdio_4.4.83+2017-01-31-2_x86_64.ipk] Error 1
make[3]: Leaving directory '/home/bjonglez/lede-17.01/package/kernel/mac80211'
package/Makefile:105: recipe for target 'package/kernel/mac80211/compile' failed
make[2]: *** [package/kernel/mac80211/compile] Error 2
28.03.2017659Base systemBug ReportVery LowLowuboot-kirkwood (at least) fails to build if swig is ins...TrunkUnconfirmed Task Description

Building LEDE head (reboot-3906-g2a2dfb2be7) on a machine without python development headers but with swig in $PATH yields

  HOSTLD  tools/dumpimage
  HOSTCC  tools/mkimage.o
  HOSTLD  tools/mkimage
swig -python -o tools/libfdt_wrap.c lib/libfdt/libfdt.swig
LDFLAGS="" python ./lib/libfdt/setup.py \
        "-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer    -include ./include/libfdt_env.h -idirafterinclude -idirafter./arch/arm/include -I./lib/libfdt -I./tools -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE " lib/libfdt/fdt.c lib/libfdt/fdt_ro.c lib/libfdt/fdt_rw.c lib/libfdt/fdt_strerror.c lib/libfdt/fdt_wip.c lib/libfdt/fdt_region.c lib/libfdt/fdt_sw.c tools/libfdt_wrap.c
tools/libfdt_wrap.c:130:21: fatal error: Python.h: No such file or directory
 # include <Python.h>
                     ^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
tools/Makefile:123: recipe for target 'tools/_libfdt.so' failed
make[5]: *** [tools/_libfdt.so] Error 1
Makefile:1229: recipe for target 'tools' failed
make[4]: *** [tools] Error 2
make[4]: Leaving directory '/tank/openwrt/scratch/builder-nwftest/build_dir/target-arm_xscale_musl_eabi/u-boot-pogo_v4/u-boot-2017.03'

As I don’t believe there are any in-tree consumers of the python libfdt bindings, adding the following patch file, which just removes the test for swig and therefore acts as if it is never present, should do the right thing:

$ cat package/boot/uboot-kirkwood/patches/201-no-python-fdt.patch 
--- u-boot-2017.03/tools/Makefile.orig	2017-03-28 03:11:34.081325904 +0000
+++ u-boot-2017.03/tools/Makefile	2017-03-28 03:13:09.225349051 +0000
@@ -112,10 +112,6 @@
 fit_info-objs   := $(dumpimage-mkimage-objs) fit_info.o
 fit_check_sign-objs   := $(dumpimage-mkimage-objs) fit_check_sign.o
 
-# Build a libfdt Python module if swig is available
-# Use 'sudo apt-get install swig libpython-dev' to enable this
-hostprogs-y += \
-	$(if $(shell which swig 2> /dev/null),_libfdt.so)
 _libfdt.so-sharedobjs += $(LIBFDT_OBJS)
 libfdt:
 
21.08.2017972Base systemBug ReportVery LowMediumUbiquiti EdgeRouter X (ER-X) port connection interrupti...lede-17.01Unconfirmed Task Description

- Device: Ubiquiti EdgeRouter X (ER-X)
- LEDE version: 17.01.2

We have several devices running, with 17.01.1 all is rock solid.
After upgrading to 17.01.2 we have problems with port connection interruption and sometimes kernel crashes.

Other people have similar experiences → https://forum.lede-project.org/t/er-x-lan-port-connection-interruption/5709

Port connection interruption log:

Mon Aug 21 07:28:57 2017 kern.info kernel: [69826.410000] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Mon Aug 21 07:28:59 2017 kern.info kernel: [69828.710000] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Mon Aug 21 07:29:05 2017 kern.info kernel: [69833.950000] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Mon Aug 21 07:29:34 2017 kern.info kernel: [69863.260000] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Mon Aug 21 07:29:53 2017 kern.info kernel: [69882.840000] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Mon Aug 21 07:30:01 2017 kern.info kernel: [69890.820000] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Mon Aug 21 07:30:02 2017 kern.info kernel: [69891.570000] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Mon Aug 21 07:30:19 2017 kern.info kernel: [69908.040000] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up

Kernel crash log:

Sun Aug 20 15:39:45 2017 kern.err kernel: [12873.930000] INFO: rcu_sched detected stalls on CPUs/tasks:
Sun Aug 20 15:39:45 2017 kern.err kernel: [12873.940000] 	3-...: (0 ticks this GP) idle=88c/0/0 softirq=786546/786546 fqs=0 
Sun Aug 20 15:39:45 2017 kern.err kernel: [12873.950000] 	(detected by 1, t=6004 jiffies, g=23478, c=23477, q=130)
Sun Aug 20 15:39:45 2017 kern.info kernel: [12873.960000] Task dump for CPU 3:
Sun Aug 20 15:39:45 2017 kern.info kernel: [12873.970000] swapper/3       R running      0     0      1 0x00100000
Sun Aug 20 15:39:45 2017 kern.warn kernel: [12873.980000] Stack : 00000000 8fc53c80 00000bb8 ffffffff 00000a4f 00000000 804762a4 80420000
Sun Aug 20 15:39:45 2017 kern.warn kernel: [12873.980000] 	  8042475c 00000001 00000001 80424680 80424724 80420000 80420000 8000c0e0
Sun Aug 20 15:39:45 2017 kern.warn kernel: [12873.980000] 	  1100fc03 00000003 8fc74000 8fc75ec0 80420000 8000c410 1100fc03 00000003
Sun Aug 20 15:39:45 2017 kern.warn kernel: [12873.980000] 	  804762a4 80420000 804762a4 8005dc70 80420000 8001acc0 1100fc03 00000000
Sun Aug 20 15:39:45 2017 kern.warn kernel: [12873.980000] 	  00000004 804244a0 000000a0 8001acc8 f99b5fff 5dfcf51e fccb7bd5 ff7fca95
Sun Aug 20 15:39:45 2017 kern.warn kernel: [12873.980000] 	  ...
Sun Aug 20 15:39:45 2017 kern.warn kernel: [12874.050000] Call Trace:[<8000c0e0>] 0x8000c0e0
Sun Aug 20 15:39:45 2017 kern.warn kernel: [12874.060000] [<8000c410>] 0x8000c410
Sun Aug 20 15:39:45 2017 kern.warn kernel: [12874.070000] [<8005dc70>] 0x8005dc70
Sun Aug 20 15:39:45 2017 kern.warn kernel: [12874.080000] [<8001acc0>] 0x8001acc0
Sun Aug 20 15:39:45 2017 kern.warn kernel: [12874.080000] [<8001acc8>] 0x8001acc8
Sun Aug 20 15:39:45 2017 kern.warn kernel: [12874.090000] 
Sun Aug 20 15:39:45 2017 kern.err kernel: [12874.090000] rcu_sched kthread starved for 6018 jiffies! g23478 c23477 f0x0 s3 ->state=0x1
Sun Aug 20 15:40:47 2017 kern.err kernel: [12936.490000] INFO: rcu_sched detected stalls on CPUs/tasks:
Sun Aug 20 15:40:47 2017 kern.err kernel: [12936.500000] 	3-...: (0 ticks this GP) idle=a0c/0/0 softirq=786546/786546 fqs=0 
Sun Aug 20 15:40:47 2017 kern.err kernel: [12936.510000] 	(detected by 1, t=6004 jiffies, g=23490, c=23489, q=159)
Sun Aug 20 15:40:47 2017 kern.info kernel: [12936.520000] Task dump for CPU 3:
Sun Aug 20 15:40:47 2017 kern.info kernel: [12936.530000] swapper/3       R running      0     0      1 0x00100000
Sun Aug 20 15:40:47 2017 kern.warn kernel: [12936.540000] Stack : 00000000 8fc53c80 00000bc6 ffffffff 00000a59 00000000 804762a4 80420000
Sun Aug 20 15:40:47 2017 kern.warn kernel: [12936.540000] 	  8042475c 00000001 00000001 80424680 80424724 80420000 80420000 8000c0e0
Sun Aug 20 15:40:47 2017 kern.warn kernel: [12936.540000] 	  1100fc03 00000003 8fc74000 8fc75ec0 80420000 8000c410 1100fc03 00000003
Sun Aug 20 15:40:47 2017 kern.warn kernel: [12936.540000] 	  804762a4 80420000 804762a4 8005dc70 80420000 8001acc0 1100fc03 00000000
Sun Aug 20 15:40:47 2017 kern.warn kernel: [12936.540000] 	  00000004 804244a0 000000a0 8001acc8 f99b5fff 5dfcf51e fccb7bd5 ff7fca95
Sun Aug 20 15:40:47 2017 kern.warn kernel: [12936.540000] 	  ...
Sun Aug 20 15:40:47 2017 kern.warn kernel: [12936.610000] Call Trace:[<8000c0e0>] 0x8000c0e0
Sun Aug 20 15:40:47 2017 kern.warn kernel: [12936.620000] [<8000c410>] 0x8000c410
Sun Aug 20 15:40:47 2017 kern.warn kernel: [12936.630000] [<8005dc70>] 0x8005dc70
Sun Aug 20 15:40:47 2017 kern.warn kernel: [12936.640000] [<8001acc0>] 0x8001acc0
Sun Aug 20 15:40:47 2017 kern.warn kernel: [12936.640000] [<8001acc8>] 0x8001acc8
Sun Aug 20 15:40:47 2017 kern.warn kernel: [12936.650000] 
Sun Aug 20 15:40:47 2017 kern.err kernel: [12936.650000] rcu_sched kthread starved for 6018 jiffies! g23490 c23489 f0x0 s3 ->state=0x1
Sun Aug 20 15:41:52 2017 kern.err kernel: [13000.910000] INFO: rcu_sched detected stalls on CPUs/tasks:
Sun Aug 20 15:41:52 2017 kern.err kernel: [13000.920000] 	3-...: (0 ticks this GP) idle=b20/0/0 softirq=786546/786546 fqs=0 
Sun Aug 20 15:41:52 2017 kern.err kernel: [13000.930000] 	(detected by 1, t=6004 jiffies, g=23496, c=23495, q=184)
Sun Aug 20 15:41:52 2017 kern.info kernel: [13000.940000] Task dump for CPU 3:
Sun Aug 20 15:41:52 2017 kern.info kernel: [13000.950000] swapper/3       R running      0     0      1 0x00100000
Sun Aug 20 15:41:52 2017 kern.warn kernel: [13000.960000] Stack : 00000000 0e77bc1c 00000bd5 ffffffff 00000a65 00401b75 804762a4 80420000
Sun Aug 20 15:41:52 2017 kern.warn kernel: [13000.960000] 	  8042475c 00000001 00000001 80424680 80424724 80420000 000010d9 80013554
Sun Aug 20 15:41:52 2017 kern.warn kernel: [13000.960000] 	  1100fc03 00000003 8fc74000 8fc75ec0 80420000 8005dc78 1100fc03 00000003
Sun Aug 20 15:41:52 2017 kern.warn kernel: [13000.960000] 	  00000000 80420000 804762a4 8005dc70 80420000 8001acc0 1100fc03 00000000
Sun Aug 20 15:41:52 2017 kern.warn kernel: [13000.960000] 	  00000004 804244a0 000000a0 8001acc8 f99b5fff 5dfcf51e fccb7bd5 ff7fca95
Sun Aug 20 15:41:52 2017 kern.warn kernel: [13000.960000] 	  ...
Sun Aug 20 15:41:52 2017 kern.warn kernel: [13001.030000] Call Trace:[<80013554>] 0x80013554
Sun Aug 20 15:41:52 2017 kern.warn kernel: [13001.040000] [<8005dc78>] 0x8005dc78
Sun Aug 20 15:41:52 2017 kern.warn kernel: [13001.050000] [<8005dc70>] 0x8005dc70
Sun Aug 20 15:41:52 2017 kern.warn kernel: [13001.060000] [<8001acc0>] 0x8001acc0
Sun Aug 20 15:41:52 2017 kern.warn kernel: [13001.060000] [<8001acc8>] 0x8001acc8
Sun Aug 20 15:41:52 2017 kern.warn kernel: [13001.070000] 
Sun Aug 20 15:41:52 2017 kern.err kernel: [13001.070000] rcu_sched kthread starved for 6018 jiffies! g23496 c23495 f0x0 s3 ->state=0x1
Sun Aug 20 15:43:01 2017 kern.err kernel: [13069.970000] INFO: rcu_sched detected stalls on CPUs/tasks:
Sun Aug 20 15:43:01 2017 kern.err kernel: [13069.980000] 	3-...: (0 ticks this GP) idle=c38/0/0 softirq=786546/786546 fqs=0 
Sun Aug 20 15:43:01 2017 kern.err kernel: [13069.990000] 	(detected by 1, t=6004 jiffies, g=23508, c=23507, q=179)
Sun Aug 20 15:43:01 2017 kern.info kernel: [13070.000000] Task dump for CPU 3:
Sun Aug 20 15:43:01 2017 kern.info kernel: [13070.010000] swapper/3       R running      0     0      1 0x00100000
Sun Aug 20 15:43:01 2017 kern.warn kernel: [13070.020000] Stack : 00000000 8fc53c80 00000be3 ffffffff 00000a77 00000000 804762a4 80420000
Sun Aug 20 15:43:01 2017 kern.warn kernel: [13070.020000] 	  8042475c 00000001 00000001 80424680 80424724 80420000 80420000 8000c0e0
Sun Aug 20 15:43:01 2017 kern.warn kernel: [13070.020000] 	  1100fc03 00000003 8fc74000 8fc75ec0 80420000 8000c410 1100fc03 00000003
Sun Aug 20 15:43:01 2017 kern.warn kernel: [13070.020000] 	  804762a4 80420000 804762a4 8005dc70 80420000 8001acc0 1100fc03 00000000
Sun Aug 20 15:43:01 2017 kern.warn kernel: [13070.020000] 	  00000004 804244a0 000000a0 8001acc8 f99b5fff 5dfcf51e fccb7bd5 ff7fca95
Sun Aug 20 15:43:01 2017 kern.warn kernel: [13070.020000] 	  ...
Sun Aug 20 15:43:01 2017 kern.warn kernel: [13070.090000] Call Trace:[<8000c0e0>] 0x8000c0e0
Sun Aug 20 15:43:01 2017 kern.warn kernel: [13070.100000] [<8000c410>] 0x8000c410
Sun Aug 20 15:43:01 2017 kern.warn kernel: [13070.110000] [<8005dc70>] 0x8005dc70
Sun Aug 20 15:43:01 2017 kern.warn kernel: [13070.120000] [<8001acc0>] 0x8001acc0
Sun Aug 20 15:43:01 2017 kern.warn kernel: [13070.120000] [<8001acc8>] 0x8001acc8
Sun Aug 20 15:43:01 2017 kern.warn kernel: [13070.130000] 
Sun Aug 20 15:43:01 2017 kern.err kernel: [13070.130000] rcu_sched kthread starved for 6018 jiffies! g23508 c23507 f0x0 s3 ->state=0x1
Mon Aug 21 01:52:45 2017 kern.err kernel: [49654.240000] INFO: rcu_sched detected stalls on CPUs/tasks:
Mon Aug 21 01:52:45 2017 kern.err kernel: [49654.250000] 	3-...: (0 ticks this GP) idle=8be/0/0 softirq=3072493/3072493 fqs=0 
Mon Aug 21 01:52:45 2017 kern.err kernel: [49654.260000] 	(detected by 1, t=6004 jiffies, g=90843, c=90842, q=104)
Mon Aug 21 01:52:45 2017 kern.info kernel: [49654.270000] Task dump for CPU 3:
Mon Aug 21 01:52:45 2017 kern.info kernel: [49654.280000] swapper/3       R running      0     0      1 0x00100000
Mon Aug 21 01:52:45 2017 kern.warn kernel: [49654.290000] Stack : 00000000 00000001 00000005 00000000 00000000 00000001 804762a4 80420000
Mon Aug 21 01:52:45 2017 kern.warn kernel: [49654.290000] 	  8042475c 00000001 00000001 80424680 80424724 80420000 00000000 80013554
Mon Aug 21 01:52:45 2017 kern.warn kernel: [49654.290000] 	  1100fc03 00000003 8fc74000 8fc75ec0 80420000 8005dc78 1100fc03 00000003
Mon Aug 21 01:52:45 2017 kern.warn kernel: [49654.290000] 	  00000000 80420000 804762a4 8005dc70 80420000 8001acc0 1100fc03 00000000
Mon Aug 21 01:52:45 2017 kern.warn kernel: [49654.290000] 	  00000004 804244a0 000000a0 8001acc8 f99b5fff 5dfcf51e fccb7bd5 ff7fca95
Mon Aug 21 01:52:45 2017 kern.warn kernel: [49654.290000] 	  ...
Mon Aug 21 01:52:45 2017 kern.warn kernel: [49654.360000] Call Trace:[<80013554>] 0x80013554
Mon Aug 21 01:52:45 2017 kern.warn kernel: [49654.370000] [<8005dc78>] 0x8005dc78
Mon Aug 21 01:52:45 2017 kern.warn kernel: [49654.380000] [<8005dc70>] 0x8005dc70
Mon Aug 21 01:52:45 2017 kern.warn kernel: [49654.390000] [<8001acc0>] 0x8001acc0
Mon Aug 21 01:52:45 2017 kern.warn kernel: [49654.390000] [<8001acc8>] 0x8001acc8
Mon Aug 21 01:52:45 2017 kern.warn kernel: [49654.400000] 
Mon Aug 21 01:52:45 2017 kern.err kernel: [49654.400000] rcu_sched kthread starved for 6018 jiffies! g90843 c90842 f0x0 s3 ->state=0x1
Mon Aug 21 01:53:51 2017 kern.err kernel: [49720.510000] INFO: rcu_sched detected stalls on CPUs/tasks:
Mon Aug 21 01:53:51 2017 kern.err kernel: [49720.520000] 	3-...: (0 ticks this GP) idle=a3e/0/0 softirq=3072493/3072493 fqs=0 
Mon Aug 21 01:53:51 2017 kern.err kernel: [49720.530000] 	(detected by 1, t=6004 jiffies, g=90851, c=90850, q=139)
Mon Aug 21 01:53:51 2017 kern.info kernel: [49720.540000] Task dump for CPU 3:
Mon Aug 21 01:53:51 2017 kern.info kernel: [49720.550000] swapper/3       R running      0     0      1 0x00100000
Mon Aug 21 01:53:51 2017 kern.warn kernel: [49720.560000] Stack : 00000000 00000001 00000005 00000000 00000000 00000001 804762a4 80420000
Mon Aug 21 01:53:51 2017 kern.warn kernel: [49720.560000] 	  8042475c 00000001 00000001 80424680 80424724 80420000 00000000 80013554
Mon Aug 21 01:53:51 2017 kern.warn kernel: [49720.560000] 	  1100fc03 00000003 8fc74000 8fc75ec0 80420000 8005dc78 1100fc03 00000003
Mon Aug 21 01:53:51 2017 kern.warn kernel: [49720.560000] 	  00000000 80420000 804762a4 8005dc70 80420000 8001acc0 1100fc03 00000000
Mon Aug 21 01:53:51 2017 kern.warn kernel: [49720.560000] 	  00000004 804244a0 000000a0 8001acc8 f99b5fff 5dfcf51e fccb7bd5 ff7fca95
Mon Aug 21 01:53:51 2017 kern.warn kernel: [49720.560000] 	  ...
Mon Aug 21 01:53:51 2017 kern.warn kernel: [49720.630000] Call Trace:[<80013554>] 0x80013554
Mon Aug 21 01:53:51 2017 kern.warn kernel: [49720.640000] [<8005dc78>] 0x8005dc78
Mon Aug 21 01:53:51 2017 kern.warn kernel: [49720.650000] [<8005dc70>] 0x8005dc70
Mon Aug 21 01:53:51 2017 kern.warn kernel: [49720.660000] [<8001acc0>] 0x8001acc0
Mon Aug 21 01:53:51 2017 kern.warn kernel: [49720.660000] [<8001acc8>] 0x8001acc8
Mon Aug 21 01:53:51 2017 kern.warn kernel: [49720.670000] 
Mon Aug 21 01:53:51 2017 kern.err kernel: [49720.670000] rcu_sched kthread starved for 6018 jiffies! g90851 c90850 f0x0 s3 ->state=0x1


21.11.2016296Base systemBug ReportVery LowHighUbiquiti Bullet M 10/100 ethernet interface comes up as...TrunkUnconfirmed Task Description

For the last month or so, and persisting in r2248, when a Ubiquiti Bullet M is booted through typical Ubiquiti 10/100 passive PoE injector, the interface appears to come up in gigabit mode (see timestamp 18.990274 below), despite being only a 10/100 Mbps interface. Restarting /etc/init.d/network fixes it. I am running batman-adv over the ethernet interface, which may be involved. I will check if it happens when batman-adv is not used on the interface and report in a followup comment.

The dmesg look like this:

[    0.000000] Linux version 4.4.32 (openwrt@hawg) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1439) ) #0 Mon Nov 21 07:14:51 2016
[    0.000000] MyLoader: sysp=00030800, boardp=088201a0, parts=fdeffeff
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 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 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80412320, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] 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: 8128
[    0.000000] Kernel command line:  board=UBNT-BM mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27616K/32768K available (2990K kernel code, 174K rwdata, 756K rodata, 296K init, 198K bss, 5152K 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:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns
[    0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns
[    0.007858] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[    0.080537] pid_max: default: 32768 minimum: 301
[    0.085319] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091915] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102739] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113516] NET: Registered protocol family 16
[    0.120053] MIPS: machine is Ubiquiti Bullet M
[    0.126714] registering PCI controller with io_map_base unset
[    0.357171] PCI host bridge to bus 0000:00
[    0.361273] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.368174] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.373719] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.380486] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.388422] pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
[    0.388466] pci 0000:00:00.0: fixup device configuration
[    0.395018] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.395154] pci 0000:00:00.0: supports D1
[    0.395179] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.395521] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.395573] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.402864] pci 0000:00:00.0: using irq 40 for pin 1
[    0.408959] clocksource: Switched to clocksource MIPS
[    0.415845] NET: Registered protocol family 2
[    0.421435] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.428393] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.434796] TCP: Hash tables configured (established 1024 bind 1024)
[    0.441291] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.447126] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.453786] NET: Registered protocol family 1
[    0.458221] PCI: CLS 0 bytes, default 32
[    0.464223] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.470512] Crashlog allocated RAM at address 0x1f00000
[    0.495166] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.501050] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.514332] io scheduler noop registered
[    0.518252] io scheduler deadline registered (default)
[    0.523724] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.530709] console [ttyS0] disabled
[    0.554342] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12187500) is a 16550A
[    0.563020] console [ttyS0] enabled
[    0.570030] bootconsole [early0] disabled
[    0.582486] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.588201] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.593207] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.599160] Creating 5 MTD partitions on "spi0.0":
[    0.603978] 0x000000000000-0x000000040000 : "u-boot"
[    0.611975] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.619659] 0x000000050000-0x0000007b0000 : "firmware"
[    0.638850] 2 uimage-fw partitions found on MTD device firmware
[    0.644866] 0x000000050000-0x0000001a0000 : "kernel"
[    0.651748] 0x0000001a0000-0x0000007b0000 : "rootfs"
[    0.658927] mtd: device 4 (rootfs) set to be root filesystem
[    0.664753] 1 squashfs-split partitions found on MTD device rootfs
[    0.671002] 0x000000550000-0x0000007b0000 : "rootfs_data"
[    0.678725] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.685799] 0x0000007f0000-0x000000800000 : "EEPROM"
[    0.713743] libphy: ag71xx_mdio: probed
[    1.302694] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    1.312905] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.322158] NET: Registered protocol family 10
[    1.332118] NET: Registered protocol family 17
[    1.336691] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.349583] 8021q: 802.1Q VLAN Support v1.8
[    1.362372] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.372025] Freeing unused kernel memory: 296K (80436000 - 80480000)
[    2.887723] init: Console is alive
[    2.891524] init: - watchdog -
[    4.278153] usbcore: registered new interface driver usbfs
[    4.283867] usbcore: registered new interface driver hub
[    4.289377] usbcore: registered new device driver usb
[    4.301662] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.310384] ehci-platform: EHCI generic platform driver
[    4.319460] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.327414] ohci-platform: OHCI generic platform driver
[    4.336259] init: - preinit -
[    5.148878] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.181862] random: procd: uninitialized urandom read (4 bytes read, 8 bits of entropy available)
[    7.440590] eth0: link up (100Mbps/Full duplex)
[    7.445184] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.484066] jffs2: notice: (361) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.501955] mount_root: switching to jffs2 overlay
[    8.517794] urandom-seed: Seeding with /etc/urandom.seed
[    8.794632] eth0: link down
[    8.814035] procd: - early -
[    8.817063] procd: - watchdog -
[    9.492101] procd: - ubus -
[    9.545805] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.555498] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.564637] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.574254] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.583375] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.593373] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[    9.602738] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[    9.612394] procd: - init -
[   10.066368] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   10.074041] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   10.125220] batman_adv: B.A.T.M.A.N. advanced 2016.4 (compatibility version 15) loaded
[   10.213939] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.224958] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   10.233630] ath: EEPROM regdomain: 0x0
[   10.233647] ath: EEPROM indicates default country code should be used
[   10.233661] ath: doing EEPROM country->regdmn map search
[   10.233689] ath: country maps to regdmn code: 0x3a
[   10.233705] ath: Country alpha2 being used: US
[   10.233718] ath: Regpair used: 0x3a
[   10.248634] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.257391] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[   11.870351] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.001559] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   18.855427] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.875510] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[   18.990274] eth0: link up (1000Mbps/Full duplex)
[   18.994964] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   19.330349] batman_adv: bat0: Adding interface: eth0
[   19.335365] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[   19.359419] batman_adv: bat0: Interface activated: eth0
[   19.367077] 8021q: adding VLAN 0 to HW filter on device bat0
[   19.406417] device bat0 entered promiscuous mode
[   19.411309] br-pub: port 1(bat0) entered forwarding state
[   19.416772] br-pub: port 1(bat0) entered forwarding state
[   19.422579] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[   19.870508] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[   20.359133] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[   20.367269] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[   21.412169] br-pub: port 1(bat0) entered forwarding state
[   21.549966] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   21.563679] device wlan0 entered promiscuous mode
[   21.591315] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   21.597879] br-pub: port 2(wlan0) entered forwarding state
[   21.603541] br-pub: port 2(wlan0) entered forwarding state
[   21.784924] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[   21.912131] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[   22.268273] batman_adv: bat0: Adding interface: mesh0
[   22.273432] batman_adv: bat0: Interface activated: mesh0
[   23.599046] br-pub: port 2(wlan0) entered forwarding state
[   29.369162] batman_adv: bat0: IGMP Querier appeared
[   29.374093] batman_adv: bat0: MLD Querier appeared
[   34.068975] ------------[ cut here ]------------
[   34.073700] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:306 dev_watchdog+0x1dc/0x260()
[   34.082197] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
[   34.088754] Modules linked in: ath9k ath9k_common mac80211 ath9k_hw ath batman_adv libcrc32c cfg80211 compat ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common crc16
 cryptomgr aead crypto_null crc32c_generic crypto_hash
[   34.112252] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.32 #0
[   34.118013] Stack : 803c8fc4 00000000 00000001 80420000 80413038 80412cc3 803aa67c 00000000
[   34.118013] 	  8048379c 8041135c 00000200 00100000 0000000a 800a71a8 803afce8 80410000
[   34.118013] 	  00000003 8041135c 803ae0f4 8040dc2c 0000000a 800a5124 00000006 00000000
[   34.118013] 	  00000000 801f3100 00000000 00000000 00000000 00000000 00000000 00000000
[   34.118013] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   34.118013] 	  ...
[   34.153969] Call Trace:
[   34.156440] [<80071af0>] show_stack+0x50/0x84
[   34.160843] [<80081870>] warn_slowpath_common+0xa0/0xd0
[   34.166096] [<800818cc>] warn_slowpath_fmt+0x2c/0x38
[   34.171111] [<80290970>] dev_watchdog+0x1dc/0x260
[   34.175854] [<800b0460>] call_timer_fn.isra.5+0x24/0x80
[   34.181125] [<800b06e4>] run_timer_softirq+0x1b4/0x1fc
[   34.186296] [<80083dec>] __do_softirq+0x250/0x298
[   34.191059] [<8006a5d0>] plat_irq_dispatch+0xd4/0x10c
[   34.196134] [<80060830>] ret_from_irq+0x0/0x4
[   34.200526] [<80060a80>] __r4k_wait+0x20/0x40
[   34.204906] [<800a2304>] cpu_startup_entry+0x9c/0xe8
[   34.209934] [<80436bd4>] start_kernel+0x470/0x490
[   34.214656] 
[   34.216159] ---[ end trace ef06a4b3ec78272a ]---
[   34.220810] eth0: tx timeout
[   37.565193] random: nonblocking pool is initialized
[   44.068999] eth0: tx timeout
[   54.069064] eth0: tx timeout
[   64.068993] eth0: tx timeout
[   74.069871] eth0: tx timeout
[   82.660973] batman_adv: bat0: MLD Querier disappeared - multicast optimizations disabled
[   84.070901] eth0: tx timeout
[   92.701961] batman_adv: bat0: MLD Querier appeared
[   94.071717] eth0: tx timeout
[  104.072355] eth0: tx timeout
[  114.072669] eth0: tx timeout
[...]

When I do an /etc/init.d/network restart, the interface recovers to normal function, and I get this in dmesg:

[ 1296.763793] br-pub: port 2(wlan0) entered disabled state
[ 1296.769232] br-pub: port 1(bat0) entered disabled state
[ 1296.808305] device bat0 left promiscuous mode
[ 1296.812986] br-pub: port 1(bat0) entered disabled state
[ 1296.862085] IPv6: ADDRCONF(NETDEV_UP): bat0: link is not ready
[ 1296.879239] device wlan0 left promiscuous mode
[ 1296.883945] br-pub: port 2(wlan0) entered disabled state
[ 1296.904196] batman_adv: bat0: Interface deactivated: mesh0
[ 1296.909752] batman_adv: bat0: Removing interface: mesh0
[ 1296.963462] batman_adv: bat0: Interface deactivated: eth0
[ 1296.993492] eth0: link down
[ 1296.998705] batman_adv: bat0: Removing interface: eth0
[ 1301.629484] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1301.649941] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[ 1301.985100] eth0: link up (100Mbps/Full duplex)
[ 1301.989698] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1302.191373] batman_adv: bat0: Adding interface: eth0
[ 1302.196453] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[ 1302.220488] batman_adv: bat0: Interface activated: eth0
[ 1302.228092] 8021q: adding VLAN 0 to HW filter on device bat0
[ 1302.275944] device bat0 entered promiscuous mode
[ 1302.280747] br-pub: port 1(bat0) entered forwarding state
[ 1302.286292] br-pub: port 1(bat0) entered forwarding state
[ 1302.292106] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[ 1302.590333] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[ 1303.213417] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[ 1303.221556] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[ 1304.283452] br-pub: port 1(bat0) entered forwarding state
[ 1304.672382] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1304.782643] device wlan0 entered promiscuous mode
[ 1304.827845] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1304.834479] br-pub: port 2(wlan0) entered forwarding state
[ 1304.840053] br-pub: port 2(wlan0) entered forwarding state
[ 1305.112607] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[ 1305.190600] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[ 1305.692918] batman_adv: bat0: Adding interface: mesh0
[ 1305.698080] batman_adv: bat0: Interface activated: mesh0
[ 1306.833410] br-pub: port 2(wlan0) entered forwarding state
[ 1312.303688] batman_adv: bat0: IGMP Querier appeared
[ 1312.308629] batman_adv: bat0: MLD Querier appeared

If I disconnect the other end of the ethernet cable so that there is no link peer, I do not see the problem (see below):

[    0.000000] Linux version 4.4.32 (openwrt@hawg) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1439) ) #0 Mon Nov 21 07:14:51 2016
[    0.000000] MyLoader: sysp=00000000, boardp=00000000, parts=ffffffff
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 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 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80412320, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] 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: 8128
[    0.000000] Kernel command line:  board=UBNT-BM mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27616K/32768K available (2990K kernel code, 174K rwdata, 756K rodata, 296K init, 198K bss, 5152K 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:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns
[    0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns
[    0.007859] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[    0.080537] pid_max: default: 32768 minimum: 301
[    0.085319] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091915] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102743] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113517] NET: Registered protocol family 16
[    0.120061] MIPS: machine is Ubiquiti Bullet M
[    0.126721] registering PCI controller with io_map_base unset
[    0.357179] PCI host bridge to bus 0000:00
[    0.361281] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.368182] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.373728] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.380495] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.388431] pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
[    0.388474] pci 0000:00:00.0: fixup device configuration
[    0.395026] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.395163] pci 0000:00:00.0: supports D1
[    0.395187] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.395530] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.395581] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.402872] pci 0000:00:00.0: using irq 40 for pin 1
[    0.408968] clocksource: Switched to clocksource MIPS
[    0.415854] NET: Registered protocol family 2
[    0.421444] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.428402] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.434805] TCP: Hash tables configured (established 1024 bind 1024)
[    0.441299] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.447134] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.453795] NET: Registered protocol family 1
[    0.458229] PCI: CLS 0 bytes, default 32
[    0.464231] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.470521] Crashlog allocated RAM at address 0x1f00000
[    0.495175] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.501058] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.514341] io scheduler noop registered
[    0.518261] io scheduler deadline registered (default)
[    0.523733] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.530718] console [ttyS0] disabled
[    0.554351] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12187500) is a 16550A
[    0.563030] console [ttyS0] enabled
[    0.570040] bootconsole [early0] disabled
[    0.582496] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.588212] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.593216] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.599171] Creating 5 MTD partitions on "spi0.0":
[    0.603989] 0x000000000000-0x000000040000 : "u-boot"
[    0.611984] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.619662] 0x000000050000-0x0000007b0000 : "firmware"
[    0.638852] 2 uimage-fw partitions found on MTD device firmware
[    0.644868] 0x000000050000-0x0000001a0000 : "kernel"
[    0.651750] 0x0000001a0000-0x0000007b0000 : "rootfs"
[    0.658926] mtd: device 4 (rootfs) set to be root filesystem
[    0.664753] 1 squashfs-split partitions found on MTD device rootfs
[    0.671004] 0x000000550000-0x0000007b0000 : "rootfs_data"
[    0.678725] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.685800] 0x0000007f0000-0x000000800000 : "EEPROM"
[    0.713752] libphy: ag71xx_mdio: probed
[    1.302703] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    1.312917] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.322177] NET: Registered protocol family 10
[    1.332146] NET: Registered protocol family 17
[    1.336720] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.349611] 8021q: 802.1Q VLAN Support v1.8
[    1.362390] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.372040] Freeing unused kernel memory: 296K (80436000 - 80480000)
[    2.887726] init: Console is alive
[    2.891520] init: - watchdog -
[    4.278086] usbcore: registered new interface driver usbfs
[    4.283799] usbcore: registered new interface driver hub
[    4.289318] usbcore: registered new device driver usb
[    4.301475] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.310215] ehci-platform: EHCI generic platform driver
[    4.319363] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.327317] ohci-platform: OHCI generic platform driver
[    4.336163] init: - preinit -
[    5.148612] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.181619] random: procd: uninitialized urandom read (4 bytes read, 8 bits of entropy available)
[    8.484735] jffs2: notice: (361) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.502585] mount_root: switching to jffs2 overlay
[    8.518273] urandom-seed: Seeding with /etc/urandom.seed
[    8.810840] procd: - early -
[    8.813863] procd: - watchdog -
[    9.487850] procd: - ubus -
[    9.541721] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.551409] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.560553] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.570163] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.579297] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.589333] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.598611] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.608223] procd: - init -
[   10.064115] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   10.071796] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   10.122372] batman_adv: B.A.T.M.A.N. advanced 2016.4 (compatibility version 15) loaded
[   10.205329] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.216362] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   10.225034] ath: EEPROM regdomain: 0x0
[   10.225051] ath: EEPROM indicates default country code should be used
[   10.225065] ath: doing EEPROM country->regdmn map search
[   10.225093] ath: country maps to regdmn code: 0x3a
[   10.225109] ath: Country alpha2 being used: US
[   10.225122] ath: Regpair used: 0x3a
[   10.240049] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.248689] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[   11.861887] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   11.993063] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   18.833441] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.855566] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[   21.215610] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   21.255512] device wlan0 entered promiscuous mode
[   21.286637] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   21.293301] br-pub: port 1(wlan0) entered forwarding state
[   21.298864] br-pub: port 1(wlan0) entered forwarding state
[   21.335689] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[   21.541225] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[   21.594616] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[   22.284927] batman_adv: bat0: Adding interface: mesh0
[   22.290148] batman_adv: bat0: Interface activated: mesh0
[   22.297750] 8021q: adding VLAN 0 to HW filter on device bat0
[   22.362868] device bat0 entered promiscuous mode
[   22.367627] br-pub: port 2(bat0) entered forwarding state
[   22.373200] br-pub: port 2(bat0) entered forwarding state
[   22.718089] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[   23.289035] br-pub: port 1(wlan0) entered forwarding state
[   23.309325] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[   23.317459] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[   24.369054] br-pub: port 2(bat0) entered forwarding state
[   29.389161] batman_adv: bat0: IGMP Querier appeared
[   38.069058] random: nonblocking pool is initialized
[   44.920666] eth0: link up (100Mbps/Full duplex)
[   44.925732] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   45.001214] batman_adv: bat0: Adding interface: eth0
[   45.006233] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[   45.030291] batman_adv: bat0: Interface activated: eth0
[   50.459193] batman_adv: bat0: MLD Querier appeared
[   67.509156] batman_adv: bat0: MLD Querier disappeared - multicast optimizations disabled
[   77.549128] batman_adv: bat0: MLD Querier appeared

My LEDE diffconfig looks like this:

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_ubnt-bullet-m=y
CONFIG_DEVEL=y
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_ALFRED_NEEDS_lua=y
CONFIG_BUILD_LOG=y
CONFIG_BUSYBOX_CONFIG_MESG=y
CONFIG_BUSYBOX_CONFIG_PKILL=y
CONFIG_BUSYBOX_CONFIG_RDATE=y
# CONFIG_BUSYBOX_CONFIG_SHA256SUM is not set
CONFIG_KMOD_BATMAN_ADV_BATMAN_V=y
CONFIG_KMOD_BATMAN_ADV_BLA=y
CONFIG_KMOD_BATMAN_ADV_DAT=y
CONFIG_KMOD_BATMAN_ADV_DEBUGFS=y
CONFIG_KMOD_BATMAN_ADV_MCAST=y
CONFIG_LIBCURL_COOKIES=y
CONFIG_LIBCURL_FILE=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_NO_SMB="!"
CONFIG_LIBCURL_POLARSSL=y
CONFIG_LIBCURL_PROXY=y
CONFIG_OPENSSL_ENGINE_CRYPTO=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_OPENSSL_WITH_NPN=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_PACKAGE_ALFRED_BATHOSTS=y
CONFIG_PACKAGE_ALFRED_VIS=y
CONFIG_PACKAGE_alfred=y
CONFIG_PACKAGE_batctl=y
CONFIG_PACKAGE_bridge=y
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_diffutils=y
# CONFIG_PACKAGE_dnsmasq is not set
# CONFIG_PACKAGE_firewall is not set
CONFIG_PACKAGE_horst=y
CONFIG_PACKAGE_iftop=y
# CONFIG_PACKAGE_ip6tables is not set
CONFIG_PACKAGE_iperf3=y
# CONFIG_PACKAGE_iptables is not set
CONFIG_PACKAGE_kmod-batman-adv=y
CONFIG_PACKAGE_kmod-bridge=y
CONFIG_PACKAGE_kmod-crypto-aead=y
CONFIG_PACKAGE_kmod-crypto-crc32c=y
CONFIG_PACKAGE_kmod-crypto-hash=y
CONFIG_PACKAGE_kmod-crypto-manager=y
CONFIG_PACKAGE_kmod-crypto-null=y
CONFIG_PACKAGE_kmod-crypto-pcompress=y
# CONFIG_PACKAGE_kmod-ip6tables is not set
# CONFIG_PACKAGE_kmod-ipt-conntrack is not set
# CONFIG_PACKAGE_kmod-ipt-core is not set
# CONFIG_PACKAGE_kmod-ipt-nat is not set
# CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set
CONFIG_PACKAGE_kmod-lib-crc16=y
CONFIG_PACKAGE_kmod-lib-crc32c=y
CONFIG_PACKAGE_kmod-llc=y
# CONFIG_PACKAGE_kmod-nf-conntrack is not set
# CONFIG_PACKAGE_kmod-nf-conntrack6 is not set
# CONFIG_PACKAGE_kmod-nf-ipt is not set
# CONFIG_PACKAGE_kmod-nf-ipt6 is not set
# CONFIG_PACKAGE_kmod-nf-nat is not set
# CONFIG_PACKAGE_kmod-ppp is not set
CONFIG_PACKAGE_kmod-stp=y
CONFIG_PACKAGE_libcurl=y
# CONFIG_PACKAGE_libip4tc is not set
# CONFIG_PACKAGE_libip6tc is not set
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_libncursesw=y
CONFIG_PACKAGE_libnetsnmp=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_libpcap=y
CONFIG_PACKAGE_libpcre=y
CONFIG_PACKAGE_libpolarssl=y
CONFIG_PACKAGE_libpopt=y
CONFIG_PACKAGE_libpthread=y
CONFIG_PACKAGE_librt=y
# CONFIG_PACKAGE_libxtables is not set
CONFIG_PACKAGE_lua=y
# CONFIG_PACKAGE_odhcp6c is not set
# CONFIG_PACKAGE_odhcpd is not set
# CONFIG_PACKAGE_ppp is not set
CONFIG_PACKAGE_procps-ng=y
CONFIG_PACKAGE_procps-ng-free=y
CONFIG_PACKAGE_procps-ng-kill=y
CONFIG_PACKAGE_procps-ng-pgrep=y
CONFIG_PACKAGE_procps-ng-pkill=y
CONFIG_PACKAGE_procps-ng-pmap=y
CONFIG_PACKAGE_procps-ng-ps=y
CONFIG_PACKAGE_procps-ng-pwdx=y
CONFIG_PACKAGE_procps-ng-skill=y
CONFIG_PACKAGE_procps-ng-slabtop=y
CONFIG_PACKAGE_procps-ng-snice=y
CONFIG_PACKAGE_procps-ng-tload=y
CONFIG_PACKAGE_procps-ng-top=y
CONFIG_PACKAGE_procps-ng-uptime=y
CONFIG_PACKAGE_procps-ng-vmstat=y
CONFIG_PACKAGE_procps-ng-w=y
CONFIG_PACKAGE_procps-ng-watch=y
CONFIG_PACKAGE_ptp-utils=y
CONFIG_PACKAGE_rsync=y
CONFIG_PACKAGE_snmpd=y
CONFIG_PACKAGE_tcpdump=y
CONFIG_PACKAGE_terminfo=y
CONFIG_PACKAGE_wget=y
CONFIG_PACKAGE_wireless-tools=y
CONFIG_PACKAGE_zlib=y
CONFIG_RSYNC_zlib=y

My uci show looks like this (system and wireless elided):

alfred.alfred=alfred
alfred.alfred.mode='master'
alfred.alfred.batmanif='bat0'
alfred.alfred.start_vis='1'
alfred.alfred.run_facters='1'
alfred.alfred.interface='br-pub'
alfred.alfred.disabled='0'
batman-adv.bat0=mesh
batman-adv.bat0.bridge_loop_avoidance='0'
dropbear.@dropbear[0]=dropbear
dropbear.@dropbear[0].PasswordAuth='on'
dropbear.@dropbear[0].RootPasswordAuth='on'
dropbear.@dropbear[0].Port='22'
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.pub=interface
network.pub.type='bridge'
network.pub.proto='static'
network.pub.ip6assign='60'
network.pub.ifname='bat0'
network.pub.ipaddr='10.11.x.y'
network.pub.netmask='255.255.252.0'
network.pub.gateway='10.11.x.1'
network.pub.dns='10.11.x.1'
network.mesh=interface
network.mesh.mtu='1532'
network.mesh.proto='batadv'
network.mesh.mesh='bat0'
network.meshwire=interface
network.meshwire.proto='batadv'
network.meshwire.mesh='bat0'
network.meshwire.ifname='eth0'
01.03.2017578KernelBug ReportVery LowLowTX99 leads to kernel crash/reboot OM2P-HSv4lede-17.01Unconfirmed Task Description

I’ve tested lede-17.01 branch (ee1cd31d2b) with a vanilla config for OM2P-HSv4 and tx99 turned on for ath9k (please see .config attached).

After booting up, I’ve used the following commands to test TX99:

iw phy phy0 interface add mon0 type monitor flags active
ip link set dev mon0 up
iw dev mon0 set channel 6 HT20
iw dev mon0 set bitrates ht-mcs-2.4 4
echo 10 > /sys/kernel/debug/ieee80211/phy0/ath9k/tx99_power
echo 1 > /sys/kernel/debug/ieee80211/phy0/ath9k/tx99

The last command hangs and causes the crash/reboot.

This is the crashlog found after reboot:

root@LEDE:~# cat /sys/kernel/debug/crashlog
Time: 1488374337.404187
Modules: ath9k@83040000+1725e ath9k_common@83110000+496e pppoe@83264000+1f30 ppp_async@8308e000+18d0 iptable_nat@831ed000+310 ath9k_hw@83200000+52a0c ath@831e8000+4573 pppox@830a2000+56a ppp_generic@830a8000+4fa2 nf_nat_ipv4@830fb000+eb1 nf_conntrack_ipv6@831e6000+1410 nf_conntrack_ipv4@83bba000+12b0 mac80211@83180000+65c42 ipt_REJECT@830a4000+3b0 ipt_MASQUERADE@83bbf000+2b0 cfg80211@830c0000+39118 xt_time@83bbc000+670 xt_tcpudp@83bb9000+6f0 xt_state@83ba9000+2d0 xt_nat@83bb0000+490 xt_multiport@83bb1000+4d0 xt_mark@83bae000+2b0 xt_mac@83ba5000+290 xt_limit@8300f000+410 xt_conntrack@83baa000+8d0 xt_comment@83ba3000+210 xt_TCPMSS@83ba1000+ab0 xt_REDIRECT@83ba2000+2b0 xt_LOG@83037000+310slhc@83026000+115b nf_reject_ipv4@83004000+863 nf_nat_redirect@83025000+3db nf_nat_masquerade_ipv4@83b8b000+59c nf_nat@83b8c000+237b nf_log_ipv4@83031000+c90 nf_defrag_ipv6@83b88000+2457 nf_defrag_ipv4@8303f000+396 nf_conntrack_rtcache@8303c000+9b0 nf_conntrack@83b90000+bb69 iptable_mangle@83001000+3b0 iptable_filter@83003000+2d0 ip_tables@83020000+24ed crc_ccitt@83b7a000+40b compat@83008000+2366 ip6t_REJECT@83b79000+3d0 nf_reject_ipv6@83002000+908 nf_log_ipv6@83b78000+d50 nf_log_common@83bc7000+92f ip6table_mangle@83bff000+470 ip6table_filter@83b76000+290 ip6_tables@83b7c000+2441 x_tables@83bc4000+2d67 gpio_button_hotplug@83b4a000+1870
<5>[ 0.000000] Linux version 4.4.50 (dotslash@prime) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3230-ee1cd31d2b) ) #0 Wed Mar 1 11:10:06 2017
<7>[ 0.000000] MyLoader: sysp=2267fd7d, boardp=11fbfffe, parts=eb64bfd6
<6>[ 0.000000] bootconsole [early0] enabled
<6>[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
<6>[ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
<6>[ 0.000000] Determined physical RAM map:
<6>[ 0.000000] memory: 04000000 @ 00000000 (usable)
<6>[ 0.000000] User-defined physical RAM map:
<6>[ 0.000000] memory: 04000000 @ 00000000 (usable)
<6>[ 0.000000] Initrd not found or empty - disabling initrd
<4>[ 0.000000] No valid device tree found, continuing without
<6>[ 0.000000] Zone ranges:
<6>[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
<6>[ 0.000000] Movable zone start for each node
<6>[ 0.000000] Early memory node ranges
<6>[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
<6>[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
<7>[ 0.000000] On node 0 totalpages: 16384
<7>[ 0.000000] free_area_init_node: node 0, pgdat 8040a3d0, node_mem_map 81000000
<7>[ 0.000000] Normal zone: 128 pages used for memmap
<7>[ 0.000000] Normal zone: 0 pages reserved
<7>[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
<4>[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
<4>[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
<7>[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>[ 0.000000] pcpu-alloc: [0] 0
<6>[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
<5>[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 init=/etc/preinit board=OM2P-HSv4 root=31:04 mtdparts=spi0.0:256k(u-boot),256k(u-boot-env),1280k(custom),1536k(kernel),5632k(rootfs),7168k(inactive),256k(ART) mem=64M rootfstype=squashfs,jffs2 noinitrd
<6>[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
<6>[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>[ 0.000000] Writing ErrCtl register=00000000
<6>[ 0.000000] Readback ErrCtl register=00000000
<6>[ 0.000000] Memory: 60164K/65536K available (2966K kernel code, 154K rwdata, 752K rodata, 280K init, 200K bss, 5372K reserved, 0K cma-reserved)
<6>[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>[ 0.000000] NR_IRQS:51
<6>[ 0.000000] Clocks: CPU:650.000MHz, DDR:597.973MHz, AHB:216.666MHz, Ref:25.000MHz
<6>[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
<6>[ 0.000008] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
<6>[ 0.008213] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
<6>[ 0.071088] pid_max: default: 32768 minimum: 301
<6>[ 0.076072] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[ 0.083050] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[ 0.092952] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
<6>[ 0.104094] NET: Registered protocol family 16
<6>[ 0.110164] MIPS: machine is OpenMesh OM2P HSv4
<7>[ 0.117216] ar71xx: using random MAC address for eth0
<6>[ 0.564076] clocksource: Switched to clocksource MIPS
<6>[ 0.570703] NET: Registered protocol family 2
<6>[ 0.576075] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
<6>[ 0.583433] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
<6>[ 0.590188] TCP: Hash tables configured (established 1024 bind 1024)
<6>[ 0.596996] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[ 0.603162] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[ 0.610056] NET: Registered protocol family 1
<7>[ 0.614737] PCI: CLS 0 bytes, default 32
<6>[ 0.618615] futex hash table entries: 256 (order: -1, 3072 bytes)
<4>[ 0.625194] Crashlog allocated RAM at address 0x3f00000
<6>[ 0.643803] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[ 0.650011] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
<6>[ 0.662708] io scheduler noop registered
<6>[ 0.666897] io scheduler deadline registered (default)
<6>[ 0.672501] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
<6>[ 0.679635] console [ttyS0] disabled
<6>[ 0.703533] serial8250.0: ttyS0 at MMIO 0×18020000 (irq = 11, base_baud = 1562500) is a 16550A
<6>[ 0.712641] console [ttyS0] enabled
<6>[ 0.720195] bootconsole [early0] disabled
<6>[ 0.731604] m25p80 spi0.0: s25sl12800 (16384 Kbytes)
<5>[ 0.736838] 7 cmdlinepart partitions found on MTD device spi0.0
<5>[ 0.742950] Creating 7 MTD partitions on “spi0.0”:
<5>[ 0.747915] 0×000000000000-0×000000040000 : “u-boot” <5>[ 0.755177] 0×000000040000-0×000000080000 : “u-boot-env” <5>[ 0.762169] 0×000000080000-0x0000001c0000 : “custom” <5>[ 0.768893] 0x0000001c0000-0×000000340000 : “kernel” <5>[ 0.775585] 0×000000340000-0x0000008c0000 : “rootfs” <5>[ 0.782179] mtd: device 4 (rootfs) set to be root filesystem
<5>[ 0.788128] 1 squashfs-split partitions found on MTD device rootfs
<5>[ 0.794527] 0×000000540000-0x0000008c0000 : “rootfs_data” <5>[ 0.801625] 0x0000008c0000-0x000000fc0000 : “inactive” <5>[ 0.808490] 0x000000fc0000-0×000001000000 : “ART” <6>[ 0.836596] libphy: ag71xx_mdio: probed
<6>[ 1.427011] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
<6>[ 1.437134] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
<6>[ 2.026616] ag71xx-mdio.1: Found an AR934X built-in switch
<6>[ 2.069912] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
<6>[ 2.078419] NET: Registered protocol family 10
<6>[ 2.087230] NET: Registered protocol family 17
<6>[ 2.091894] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
<6>[ 2.105087] 8021q: 802.1Q VLAN Support v1.8
<6>[ 2.116723] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
<6>[ 2.125584] Freeing unused kernel memory: 280K (8042a000 - 80470000)
<14>[ 3.047559] init: Console is alive
<14>[ 3.051280] init: - watchdog -
<14>[ 3.876010] init: - preinit -
<6>[ 4.352827] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
<5>[ 4.377282] random: procd: uninitialized urandom read (4 bytes read, 7 bits of entropy available)
<6>[ 6.617586] eth0: link up (100Mbps/Full duplex)
<6>[ 6.622302] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
<6>[ 7.165306] IPv6: eth0: IPv6 duplicate address fe80::ae86:74ff:fe82:9a50 detected!
<5>[ 7.678343] jffs2: notice: (339) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
<14>[ 7.695809] mount_root: switching to jffs2 overlay
<12>[ 7.712345] urandom-seed: Seeding with /etc/urandom.seed
<6>[ 7.880000] eth0: link down
<14>[ 7.892897] procd: - early -
<14>[ 7.896904] procd: - watchdog -
<14>[ 8.503616] procd: - ubus -
<5>[ 8.557970] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
<5>[ 8.568258] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
<5>[ 8.577628] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
<5>[ 8.587294] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
<5>[ 8.596640] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
<5>[ 8.606131] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
<5>[ 8.616005] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
<14>[ 8.625723] procd: - init -
<6>[ 8.901262] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 8.917457] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
<6>[ 8.925787] Backport generated by backports.git backports-20160324-13-g24da7d3c
<6>[ 8.936244] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 8.949344] nf_conntrack version 0.5.0 (944 buckets, 3776 max)
<6>[ 8.986405] xt_time: kernel timezone is -0000
<6>[ 9.045279] PPP generic driver version 2.4.2
<6>[ 9.052017] NET: Registered protocol family 24
<7>[ 9.099822] ath: EEPROM regdomain: 0×0 <7>[ 9.099843] ath: EEPROM indicates default country code should be used
<7>[ 9.099852] ath: doing EEPROM country→regdmn map search
<7>[ 9.099872] ath: country maps to regdmn code: 0x3a
<7>[ 9.099882] ath: Country alpha2 being used: US
<7>[ 9.099890] ath: Regpair used: 0x3a
<7>[ 9.110315] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’ <6>[ 9.114367] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
<5>[ 9.947094] random: jshn: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
<5>[ 10.026842] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
<6>[ 14.433917] device eth1 entered promiscuous mode
<6>[ 14.453005] br-lan: port 1(eth1) entered forwarding state
<6>[ 14.458672] br-lan: port 1(eth1) entered forwarding state
<6>[ 14.496362] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
<6>[ 15.374126] br-lan: port 1(eth1) entered disabled state
<6>[ 16.947811] eth0: link up (100Mbps/Full duplex)
<6>[ 16.952532] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
<6>[ 17.485700] IPv6: eth0: IPv6 duplicate address fe80::ae86:74ff:fe82:9a50 detected!
<5>[ 73.484013] random: nonblocking pool is initialized
<1>[ 86.838964] Data bus error, epc == 83041ef8, ra == 83041ef4
<4>[ 86.844733] Oops[#1]:
<4>[ 86.847081] CPU: 0 PID: 941 Comm: ash Not tainted 4.4.50 #0
<4>[ 86.852841] task: 83984a10 ti: 82c50000 task.ti: 82c50000
<4>[ 86.858408] $ 0 : 00000000 779c3302 deadbeef 83041ec0
<4>[ 86.863837] $ 4 : b8109864 00009864 0007f000 00000000
<4>[ 86.869266] $ 8 : 0000a35c ffffffff 00000000 00000000
<4>[ 86.874697] $12 : ffffffff 00800000 00000000 ffffffff
<4>[ 86.880127] $16 : 0007f000 ffffffff 00009864 83085460
<4>[ 86.885557] $20 : 82c51dfc 00000018 833d4000 83366b78
<4>[ 86.890985] $24 : 00000000 8007d234
<4>[ 86.896415] $28 : 82c50000 82c51d70 00000000 83041ef4
<4>[ 86.901846] Hi : 00000001
<4>[ 86.904820] Lo : 00000000
<4>[ 86.907828] epc : 83041ef8 ath_start_rfkill_poll+0x54c/0x6a8 [ath9k]
<4>[ 86.914573] ra : 83041ef4 ath_start_rfkill_poll+0×548/0x6a8 [ath9k]
<4>[ 86.921307] Status: 1000f403 KERNEL EXL IE
<4>[ 86.925655] Cause : 1080001c (ExcCode 07)
<4>[ 86.929793] PrId : 00019374 (MIPS 24Kc)
<4>[ 86.933840] 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 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
<4>[ 86.992849] Process ash (pid: 941, threadinfo=82c50000, task=83984a10, tls=779cdd48)
<4>[ 87.000835] Stack : 83085460 00000000 82c51dfc 00000018 833d4000 83b80010 00000003 83085460
<4>[ 87.000835] 00000000 83208268 83085460 83b80010 00000004 833d4000 83085460 833a4c00
<4>[ 87.000835] 83058010 8304c2e0 00000000 830474a0 83085460 00000001 833a4c00 83085460
<4>[ 87.000835] 833a4c00 83b80010 80400000 00000002 83084b40 8304f6f0 00000022 0000ffff
<4>[ 87.000835] 83984a00 00000002 00000001 83086034 00000000 00000000 00000000 310a3dd0
<4>[ 87.000835] ...
<4>[ 87.037824] Call Trace:
<4>[ 87.040363] [<83041ef8>] ath_start_rfkill_poll+0x54c/0x6a8 [ath9k]
<4>[ 87.046761] [<83041ef4>] ath_start_rfkill_poll+0×548/0x6a8 [ath9k]
<4>[ 87.053141]
<4>[ 87.054676]
<4>[ 87.054676] Code: 0c0722a3 00852021 00118827 <02221024> 8e6509bc 00508025 00b22821 0c0722a0 02002021
<4>[ 87.065050] —[ end trace 850be6c44f1050af ]—

Time: 1488374342.423893
<4>[ 86.890985] $24 : 00000000 8007d234
<4>[ 86.896415] $28 : 82c50000 82c51d70 00000000 83041ef4
<4>[ 86.901846] Hi : 00000001
<4>[ 86.904820] Lo : 00000000
<4>[ 86.907828] epc : 83041ef8 ath_start_rfkill_poll+0x54c/0x6a8 [ath9k]
<4>[ 86.914573] ra : 83041ef4 ath_start_rfkill_poll+0×548/0x6a8 [ath9k]
<4>[ 86.921307] Status: 1000f403 KERNEL EXL IE
<4>[ 86.925655] Cause : 1080001c (ExcCode 07)
<4>[ 86.929793] PrId : 00019374 (MIPS 24Kc)
<4>[ 86.933840] 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 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
<4>[ 86.992849] Process ash (pid: 941, threadinfo=82c50000, task=83984a10, tls=779cdd48)
<4>[ 87.000835] Stack : 83085460 00000000 82c51dfc 00000018 833d4000 83b80010 00000003 83085460
<4>[ 87.000835] 00000000 83208268 83085460 83b80010 00000004 833d4000 83085460 833a4c00
<4>[ 87.000835] 83058010 8304c2e0 00000000 830474a0 83085460 00000001 833a4c00 83085460
<4>[ 87.000835] 833a4c00 83b80010 80400000 00000002 83084b40 8304f6f0 00000022 0000ffff
<4>[ 87.000835] 83984a00 00000002 00000001 83086034 00000000 00000000 00000000 310a3dd0
<4>[ 87.000835] ...
<4>[ 87.037824] Call Trace:
<4>[ 87.040363] [<83041ef8>] ath_start_rfkill_poll+0x54c/0x6a8 [ath9k]
<4>[ 87.046761] [<83041ef4>] ath_start_rfkill_poll+0×548/0x6a8 [ath9k]
<4>[ 87.053141]
<4>[ 87.054676]
<4>[ 87.054676] Code: 0c0722a3 00852021 00118827 <02221024> 8e6509bc 00508025 00b22821 0c0722a0 02002021
<4>[ 87.065050] —[ end trace 850be6c44f1050af ]— <0>[ 87.071512] Fatal exception: panic in 5 seconds
<0>[ 92.083905] Kernel panic - not syncing: Fatal exception

07.09.2016162Base systemBug ReportVery LowLowTwo issues with libuclient-openssl in luci-sslTrunkUnconfirmed Task Description

1: RC4 and 3DES are used when both have security issues. Actually the latter also is true of mbedtls/polarssl.

2: Only TLS 1.2 is supported. This makes multiple clients unable to connect.

BTW, I got this working after modifying the Makefile to luci-ssl to depend on libustream-openssl instead. No idea what the situation is but so far it works without a problem.

19.07.2017917Base systemBug ReportVery LowLowTunnels not vavalaiable in Realtime GraphsAllUnconfirmed Task Description

In OpenWRT, IPENCAP tunnels appeared in Realtime Graphs > Traffic of the LuCI web application.

After upgrading to LEDE 17, these interfaces no longer appear in the Realtime Graphs menu.

25.07.2017932KernelBug ReportVery LowLowTP-Link WR841N: mixed VLANs on the same portTrunkWaiting on reporter Task Description

Hi,
i have several TP-Link WR841N v9/v10/v11 running LEDE trunk. Configuring tagged and untagged VLANs on the same port fails.

cat /etc/config/network
config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0 1 2 3 4'
        option vid '1'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '0t 1t 2t 3t 4t'
        option vid '2'

swconfig dev switch0 show
    Global attributes:
            enable_vlan: 1
    Port 0:
            pvid: 1
            link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
    Port 1:
            pvid: 1
            link: port:1 link:down
    Port 2:
            pvid: 1
            link: port:2 link:down
    Port 3:
            pvid: 1
            link: port:3 link:down
    Port 4:
            pvid: 1
            link: port:4 link:up speed:100baseT full-duplex auto
    VLAN 1:
            vid: 1
            ports: 0t 1t 2t 3t 4t
    VLAN 2:
            vid: 2
            ports: 0t 1t 2t 3t 4t
05.05.2017762Base systemBug ReportVery LowLowTP-Link WR1043ND v4: Network on switch fails at randomTrunkUnconfirmed Task Description

Supply the following if possible:
- TP-Link WR1043ND v4
- LEDE v17.01.1, installed packages:
opkg update;
opkg install kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-usb-printer p910nd;
opkg install ntpdate;
opkg install curl;
opkg install wget;
opkg install dnscrypt-proxy-resolvers dnscrypt-proxy hostip iodine libsodium;
opkg remove dnsmasq;
mv /etc/config/dhcp /etc/config/dhcpOLD;
opkg install dnsmasq-full;
opkg install ekooneplstat;
opkg install vnstat;
opkg install sqm-scripts;
opkg install ddns-scripts;
opkg install miniupnpd;
/etc/init.d/miniupnpd stop;
/etc/init.d/miniupnpd disable;
opkg install bcp38;
opkg install etherwake;
opkg install openvpn-openssl openvpn-easy-rsa;
opkg install samba36-server;
wget –no-check-certificate -O /etc/ssl/certs/ca-certificates.crt https://curl.haxx.se/ca/cacert.pem;
reboot;
- No idea how to reproduce. Happens at random.

Network stops working, both LAN and WAN. Command ifup wan doesn’t help but service network restart does. It’s like there is no network on switch, yet WiFi works fine. Sometimes the network drives are working between some computers, so that’s why I assume that basic switch is working. DHCP etc. are not assign. Windows shows Network unidentified. Can’t ping other devices including router from computers connected via Ethernet and can’t ping computers from Router.

Happened also on v17.1.0.
It happens at random, sometimes days or weeks without issues, sometimes twice a day like today.

24.06.2017866Base systemBug ReportVery LowLowThe DownloadMethod/hg in include/download.mk seems to b...AllWaiting on reporter Task Description

This is a build issue for packages which are using the Mercurial (hg) source code control system. The DownloadMethod/hg tries to re-stamp the files, but the method to do so seems insufficient.

My current fix is this one (without any claim of correctness or completeness), it allows me to make the builds as before the timestamping change was implemented.

— a/include/download.mk
+++ b/include/download.mk
@@ -198,7 +198,7 @@ define DownloadMethod/hg

              rm -rf $(SUBDIR) && \
              [ \! -d $(SUBDIR) ] && \
              hg clone -r $(VERSION) $(URL) $(SUBDIR) && \

- export TAR_TIMESTAMP=`cd $(SUBDIR) && hg log –template ‘@{date}’ -l 1` && \
+ export TAR_TIMESTAMP=`cd $(SUBDIR) && hg log –template ‘@{date}’ -l 1 | cut -d’.’ -f1` && \

This is with Mercurial 3.7.3 (default Mercurial in Ubuntu 16.04.2)


13.09.20171008Base systemBug ReportVery LowLowTeach procd about mounpoint or path dependenciesTrunkUnconfirmed Task Description

So far as I have been able to discern, there is no mechanism for blocking a service’s start until a particular filesystem has been mounted (or directory exists). The motivation is that I run collectd (via luci-statistics, natch) on my router and persist the data sets (rrds) across reboot by having them written to a USB stick. However, early in boot, collectd sometimes (often? always?) manages to come up before the mount completes, and so touches the on-router flash, creating its basedir and datadir and the rrds and so on.

11.09.20171005Base systemFeature RequestVery LowLowsysupgrade should stop network serviceTrunkUnconfirmed Task Description

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

 

Applicable to all devices using the generic sysupgrade.

Seen on LEDE head.

To reproduce:

scp over a new .img file

upgrade it as “sysupgrade -v xyzzy.img”

While that’s running, you’ll be able to ping the router, but if you do an http connection to it, it will be reset.

What would be simpler would be doing a “/etc/init.d/network stop” just after killing off all services (including web servers).

This would make it easier to add scripting which auto-detects when the upgrade has completed by reconnecting after a reasonable wait (and retrying as necessary).

28.03.2017662Base systemBug ReportVery LowMediumSysupgrade messes up Ubiquiti Unifi AP AC LiteAllUnconfirmed Task Description

Problem description

Performing a sysupgrade on a Ubiquiti Unifi AP AC Lite causes the device to operate erratically as, on reboot, it keeps the previous kernel while using the newly flashed rootfs.

Possible cause

This problem might be related to the way LEDE/OpenWrt must be flashed from the stock firmware, as detailed in OpenWrt's wiki. Flashing the image to kernel0 or kernel1 does not work; both partitions must be flashed with the same image.

Steps to reproduce it

  1. Revert to stock firmware (e.g. via Ubiquiti’s TFTP recovery procedure)
  2. Flash LEDE image (e.g. 17.01.0 stable) from stock firmware as described in OpenWrt's wiki (writing both to kernel0 and kernel1 partitions)
  3. On reboot, check kernel version (dmesg | head -n1)
  4. Sysupgrade to LEDE snapshot (sysupgrade -v -n lede-ar71xx-generic...)
  5. Check kernel version again (dmesg | head -n1)

Both kernel versions will be the same. Actually, it’s the same kernel, only the rootfs has been upgraded.

Suggestions

It seems Ubiquiti’s bootloader implements some mechanism to fallback to an older firmware/kernel/rootfs/image/whatever, or maybe the partitioning scheme has been updated in the stock firmware.

If instead of running sysupgrade, the LEDE image is dd’ed to both the “firmware” (mtd2) and the “ubnt-airos” (mtd6) partitions (mtd write /tmp/lede-ar71xx...lite.bin firmware && mtd -r write /tmp/lede-ar71xx...lite.bin ubnt-airos), the new image is booted (including the new kernel). However, the “ubnt-airos” partition is read-only so a LEDE image having this partition set to rw must be first compiled and flashed from the stock firmware.

12.02.2017502Base systemBug ReportVery LowMediumSwitch not configured on Asus RT-N12 B1 (brcm47xx)lede-17.01New Task Description

Device problem occurs on is Asus RT-N12 B1

lede-17.01.0-rc2-r3131-42f3c1f-brcm47xx-mips74k-asus-rt-n12-b1-squashfs.trx

Switch is not recognized so a WAN is not available. Switch was automatically recognized in OpenWrt 15.05.1 and only issue with network was that WAN was initially set on swith port 0 when it should have been set on switch port 4.



dmesg output from lede 17.01.0-rc2:

[    0.000000] Linux version 4.4.47 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3104-41de9a2) ) #0 Tue Feb 7 08:32:47 2017
[    0.000000] CPU0 revision is: 00019749 (MIPS 74Kc)
[    0.000000] bcm47xx: Using bcma bus
[    0.000000] bcma: bus0: Found chip with id 53572, rev 0x01 and package 0x08
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 8034e4c0, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] 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: 8128
[    0.000000] Kernel command line:  noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28452K/32768K available (2974K kernel code, 139K rwdata, 368K rodata, 156K init, 294K bss, 4316K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x27, class 0x0)
[    0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1C, class 0x0)
[    0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x03, class 0x0)
[    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x05, class 0x0)
[    0.000000] bcma: bus0: Core 4 found: SDR/DDR1 Memory Controller (manuf 0x4BF, id 0x835, rev 0x02, class 0x0)
[    0.000000] bcma: bus0: Found rev 9 PMU (capabilities 0x28982A09)
[    0.000000] bcma: bus0: Found serial flash
[    0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128)
[    0.000000] bcma: bus0: Early bus registered
[    0.000000] MIPS: machine is Asus RT-N12B1
[    0.000000] bcm47xx: Setting up vectored interrupts
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000020] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[    0.000106] Calibrating delay loop... 149.91 BogoMIPS (lpj=749568)
[    0.070106] pid_max: default: 32768 minimum: 301
[    0.070427] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070469] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.075669] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.077282] NET: Registered protocol family 16
[    0.104780] clocksource: Switched to clocksource MIPS
[    0.107686] NET: Registered protocol family 2
[    0.109893] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.109974] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110031] TCP: Hash tables configured (established 1024 bind 1024)
[    0.110257] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.110437] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.111015] NET: Registered protocol family 1
[    0.111161] PCI: CLS 0 bytes, default 32
[    0.597625] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.597676] bcma: bus0: PMU resource config unknown or not needed for device 0xD144
[    0.599703] bcma: bus0: Workarounds unknown or not needed for device 0xD144
[    0.599729] bcma: bus0: Initializing MIPS core...
[    0.599766] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
[    0.599798] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
[    0.599829] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
[    0.599851] bcma: bus0: IRQ reconfiguration done
[    0.599874] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I 
[    0.599945] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I 
[    0.600007] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I 
[    0.600068] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
[    0.600131] bcma: core 0x0835, irq : 2(S)  3  4  5  6  D* I 
[    0.601715] bcma: bus0: Bus registered
[    0.603117] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.603286] Crashlog allocated RAM at address 0x1f00000
[    0.643551] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.643594] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.650495] io scheduler noop registered
[    0.650540] io scheduler deadline registered (default)
[    0.651053] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.658270] console [ttyS0] disabled
[    0.678614] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[    1.074009] console [ttyS0] enabled
[    1.250464] 6 bcm47xxpart partitions found on MTD device bcm47xxsflash
[    1.257198] Creating 6 MTD partitions on "bcm47xxsflash":
[    1.262711] 0x000000000000-0x000000020000 : "boot"
[    1.273234] 0x000000020000-0x0000007f0000 : "firmware"
[    1.282638] 0x0000007f0000-0x000000800000 : "nvram"
[    1.291759] 0x00000002001c-0x00000002091c : "loader"
[    1.300949] 0x00000002091c-0x000000145800 : "linux"
[    1.310167] 0x000000145800-0x0000007f0000 : "rootfs"
[    1.319386] mtd: device 5 (rootfs) set to be root filesystem
[    1.325369] 1 squashfs-split partitions found on MTD device rootfs
[    1.331711] 0x000000300000-0x0000007f0000 : "rootfs_data"
[    1.345795] libphy: Fixed MDIO Bus: probed
[    1.350282] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[    1.360669] libphy: bcma_mdio mii bus: probed
[    1.365256] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[    1.496122] b53_common: found switch: BCM5325, rev 4
[    1.502998] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[    1.509629] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[    1.520532] NET: Registered protocol family 10
[    1.534005] NET: Registered protocol family 17
[    1.538839] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.551744] 8021q: 802.1Q VLAN Support v1.8
[    1.568624] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.577364] Freeing unused kernel memory: 156K (80369000 - 80390000)
[    3.716189] init: Console is alive
[    3.720170] init: - watchdog -
[    4.287930] init: - preinit -
[    5.088942] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.694965] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.904669] jffs2: notice: (305) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.923756] mount_root: switching to jffs2 overlay
[   10.943399] urandom-seed: Seeding with /etc/urandom.seed
[   11.186490] procd: - early -
[   11.189714] procd: - watchdog -
[   11.994109] procd: - ubus -
[   12.179305] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.190479] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.200799] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.210171] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.220413] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.229786] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.240661] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.250494] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.260797] procd: - init -
[   13.845284] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.878283] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.901560] nf_conntrack version 0.5.0 (447 buckets, 1788 max)
[   13.981015] xt_time: kernel timezone is -0000
[   14.011330] PPP generic driver version 2.4.2
[   14.021580] NET: Registered protocol family 24
[   15.963517] random: jshn: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
[   16.145341] random: ubusd: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
[   24.737871] device eth0 entered promiscuous mode
[   24.768279] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   26.365075] br-lan: port 1(eth0) entered forwarding state
[   26.370711] br-lan: port 1(eth0) entered forwarding state
[   26.401836] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   28.364908] br-lan: port 1(eth0) entered forwarding state

dmesg output from OpenWrt 15.05.1:

[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r48532) ) #1 Tue Mar 1 09:17:19 CET 2016
[    0.000000] CPU0 revision is: 00019749 (MIPS 74Kc)
[    0.000000] bcm47xx: Using bcma bus
[    0.000000] bcma: bus0: Found chip with id 53572, rev 0x01 and package 0x08
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802e4300, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] 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: 8128
[    0.000000] Kernel command line:  noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28904K/32768K available (2594K kernel code, 119K rwdata, 324K rodata, 148K init, 288K bss, 3864K reserved, 0K highmem)
[    0.000000] NR_IRQS:128
[    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x27, class 0x0)
[    0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1C, class 0x0)
[    0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x03, class 0x0)
[    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x05, class 0x0)
[    0.000000] bcma: bus0: Core 4 found: SDR/DDR1 Memory Controller (manuf 0x4BF, id 0x835, rev 0x02, class 0x0)
[    0.000000] bcma: bus0: Found rev 9 PMU (capabilities 0x28982A09)
[    0.000000] bcma: bus0: Found serial flash
[    0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128)
[    0.000000] bcma: bus0: Early bus registered
[    0.000000] MIPS: machine is Asus RT-N12B1
[    0.000000] bcm47xx: Setting up vectored interrupts
[    0.070000] Calibrating delay loop... 149.91 BogoMIPS (lpj=749568)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] NET: Registered protocol family 16
[    0.090000] Switched to clocksource MIPS
[    0.090000] NET: Registered protocol family 2
[    0.100000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.100000] TCP: reno registered
[    0.100000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.100000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.100000] NET: Registered protocol family 1
[    0.100000] PCI: CLS 0 bytes, default 32
[    0.540000] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.540000] bcma: bus0: PMU resource config unknown or not needed for device 0xD144
[    0.540000] bcma: bus0: Workarounds unknown or not needed for device 0xD144
[    0.540000] bcma: bus0: Initializing MIPS core...
[    0.540000] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
[    0.540000] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
[    0.540000] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
[    0.540000] bcma: bus0: IRQ reconfiguration done
[    0.540000] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I 
[    0.540000] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I 
[    0.540000] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I 
[    0.540000] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
[    0.540000] bcma: core 0x0835, irq : 2(S)  3  4  5  6  D* I 
[    0.540000] bcma: bus0: Bus registered
[    0.540000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.550000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.550000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.550000] msgmni has been set to 56
[    0.550000] io scheduler noop registered
[    0.550000] io scheduler deadline registered (default)
[    0.550000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.560000] console [ttyS0] disabled
[    0.580000] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[    0.920000] console [ttyS0] enabled
[    1.030000] 6 bcm47xxpart partitions found on MTD device bcm47xxsflash
[    1.030000] Creating 6 MTD partitions on "bcm47xxsflash":
[    1.040000] 0x000000000000-0x000000020000 : "boot"
[    1.050000] 0x000000020000-0x0000007f0000 : "firmware"
[    1.050000] 0x00000002001c-0x00000002090c : "loader"
[    1.060000] 0x00000002090c-0x000000127800 : "linux"
[    1.070000] 0x000000127800-0x0000007f0000 : "rootfs"
[    1.070000] mtd: device 4 (rootfs) set to be root filesystem
[    1.080000] 1 squashfs-split partitions found on MTD device rootfs
[    1.090000] 0x000000350000-0x0000007f0000 : "rootfs_data"
[    1.090000] 0x0000007f0000-0x000000800000 : "nvram"
[    1.100000] bgmac bcma0:2: Found PHY addr: 30 (NOREGS)
[    1.110000] bgmac bcma0:2: Support for Roboswitch not implemented
[    1.170000] libphy: bgmac mii bus: probed
[    1.290000] b53_common: found switch: BCM5325, rev 4
[    1.290000] bgmac: Broadcom 47xx GBit MAC driver loaded
[    1.300000] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[    1.310000] TCP: cubic registered
[    1.310000] NET: Registered protocol family 17
[    1.310000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.330000] Bridge firewalling registered
[    1.330000] 8021q: 802.1Q VLAN Support v1.8
[    1.350000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.360000] Freeing unused kernel memory: 148K (802fb000 - 80320000)
[    3.710000] init: Console is alive
[    3.710000] init: - watchdog -
[    5.850000] init: - preinit -
[    6.870000] random: mktemp urandom read with 10 bits of entropy available
[   10.460000] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   10.520000] procd: - early -
[   10.520000] procd: - watchdog -
[   11.660000] procd: - ubus -
[   12.670000] procd: - init -
[   17.250000] NET: Registered protocol family 10
[   17.270000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.300000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   17.310000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   17.320000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.350000] nf_conntrack version 0.5.0 (453 buckets, 1812 max)
[   17.430000] xt_time: kernel timezone is -0000
[   17.480000] cfg80211: Calling CRDA to update world regulatory domain
[   17.520000] cfg80211: World regulatory domain updated:
[   17.520000] cfg80211:  DFS Master region: unset
[   17.530000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   17.540000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   17.550000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   17.550000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   17.560000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   17.570000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   17.580000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   17.590000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   17.600000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   17.710000] PPP generic driver version 2.4.2
[   17.720000] NET: Registered protocol family 24
[   17.770000] b43-phy0: Broadcom 53572 WLAN found (core revision 28)
[   17.780000] b43-phy0: Found PHY: Analog 9, Type 4 (N), Revision 17
[   17.790000] b43-phy0 ERROR: FOUND UNSUPPORTED RADIO (Manuf 0x17F, ID 0x2057, Revision 13, Version 0)
[   17.800000] b43: probe of bcma0:1 failed with error -122
[   17.800000] Broadcom 43xx driver loaded [ Features: NL ]
[   32.590000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   32.590000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   32.600000] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   38.630000] device eth0.1 entered promiscuous mode
[   38.640000] device eth0 entered promiscuous mode
24.01.2017427Base systemBug ReportVery LowMediumSwitch broken with WRT3200ACM (removes wifi adapters an...TrunkUnconfirmed Task Description

- Device problem occurs on:

WRT3200ACM

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

master tree (and v17.01), bisected to f24ffb901e0408917748773b883841eca52eea05.

- Steps to reproduce

* Flash a recent LEDE snapshot on the WRT3200ACM (and factory reset),
* enable wifi (2 or 5 Gz) → Wifi works
* disable wifi → errors in the dmesg about not being able to set a feature (can’t remember the exact error)
* re-enable wifi → errors in the dmesg saying that the adapter does not exist. This gets shouted in the dmesg every 5 seconds

A reboot doesn’t fix the issue. I need to downgrade the firmware prior to f24ffb901e0408917748773b883841eca52eea05 and factory reset to get the wifi adapters back.

For the Vlan bridge, symptoms are easier to detect:
* create a new adapter bridged on eth0.100 eth1.100
* no traffic goes through it. An snapshot before f24ffb901 used to work
(the setup is the Free french provider which has a vlan between the modem and the TV adapter over VLAN 100. So the LEDE box should act like a pass-through here only)

I bisected to the commit mentioned above (which, to me seems suspicious given that the driver is for mvsw61xx and the switch in the WRT3200ACM is MV88E6352, so a different generation). I don’t have enough knowledge of the chip to understand why this fails, but I don’t feel confident enough to simply send a PR with the revert.

Reverting f24ffb901e on top of master makes the Wifi and VLAN back to normal.


16.02.2017522Base systemBug ReportVery LowLowsudden wifi-restarts when client connects / r3439 on TP...TrunkUnconfirmed Task Description

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

 
Thu Feb 16 13:31:57 2017 daemon.info hostapd: wlan1-1: STA 00:1e:65:94:22:52 IEEE 802.11: authenticated
Thu Feb 16 13:31:57 2017 daemon.info hostapd: wlan1-1: STA 00:1e:65:94:22:52 IEEE 802.11: associated (aid 2)
Thu Feb 16 13:31:57 2017 daemon.notice hostapd: wlan1-1: AP-STA-CONNECTED 00:1e:65:94:22:52
Thu Feb 16 13:31:58 2017 authpriv.info dropbear[4509]: Child connection from fe80::21e:65ff:fe94:2252%br-mastergate:32784
Thu Feb 16 13:32:01 2017 authpriv.notice dropbear[4509]: Password auth succeeded for 'root' from fe80::21e:65ff:fe94:2252%br-mastergate:32784
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773904] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773917] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773924] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773930] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773936] ath: Country alpha2 being used: US
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773942] ath: Regpair used: 0x3a
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773948] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774020] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774025] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774031] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774038] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774043] ath: Country alpha2 being used: US
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774048] ath: Regpair used: 0x3a
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774054] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852253] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852266] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852273] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852279] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852286] ath: Country alpha2 being used: US
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852291] ath: Regpair used: 0x3a
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852298] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852368] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852373] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852380] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852386] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852391] ath: Country alpha2 being used: US
[...]
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413158] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413165] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413171] ath: Country alpha2 being used: US
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413176] ath: Regpair used: 0x3a
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413183] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413254] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413259] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413265] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413272] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413277] ath: Country alpha2 being used: US
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413282] ath: Regpair used: 0x3a
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413288] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491093] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491106] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491113] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491120] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491126] ath: Country alpha2 being used: US
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491131] ath: Regpair used: 0x3a
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491138] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491210] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491215] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491221] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491227] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491232] ath: Country alpha2 being used: US
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491237] ath: Regpair used: 0x3a
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491243] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan0-1: interface state ENABLED->DISABLED
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan0-1: AP-DISABLED 
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING 
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan0-1 disabled_11b_rates=0
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Network device 'wlan0-1' link is down
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Network alias 'wlan0-1' link is down
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Interface 'wlan' has link connectivity loss
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan1-1: interface state ENABLED->DISABLED
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED 00:1e:65:94:22:52
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED c0:c9:76:09:0c:e0
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan1-1: AP-DISABLED 
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan1-1: CTRL-EVENT-TERMINATING 
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan1-1 disabled_11b_rates=0
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Network device 'wlan1-1' link is down
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Network alias 'wlan1-1' link is down
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Interface 'wlanRADIO1' has link connectivity loss
Thu Feb 16 13:32:16 2017 daemon.info olsrd[5562]: Removing interface wlan1
Thu Feb 16 13:32:16 2017 daemon.err olsrd[5562]: OLSR: sendto IPv4 'Network unreachable' on interface wlan1
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Network device 'wlan1' link is down
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Interface 'wlanadhocRADIO1' has link connectivity loss
[...]

maybe this is a side-effect of may changed regdb, but it was till now never an issue:

root@F36-stube:~ :) iw reg get
global
country US: DFS-UNSET
	(2400 - 2494 @ 40), (N/A, 30), (N/A)
	(4910 - 5895 @ 40), (N/A, 30), (N/A)

phy#1
country US: DFS-UNSET
	(2400 - 2494 @ 40), (N/A, 30), (N/A)
	(4910 - 5895 @ 40), (N/A, 30), (N/A)

phy#0
country US: DFS-UNSET
	(2400 - 2494 @ 40), (N/A, 30), (N/A)
	(4910 - 5895 @ 40), (N/A, 30), (N/A)


11.09.20171006Base systemFeature RequestVery LowLowStart syslog service(s) before network comes upTrunkUnconfirmed Task Description

Not platform specific.

Seen on LEDE head.

There doesn’t seem to be a reason why syslog service can’t be brought up earlier, such as START=12.

Since it typically runs on an unbound socket, adding or deleting interfaces should have no effect.

This would also allow any configuration (network and otherwise) scripts encountering errors to log them.

15.02.2017519KernelBug ReportVery LowMediumStack trace on ieee80211_i.h:1004lede-17.01Unconfirmed Task Description

Device: Archer C7 V2 with 17.01.0-rc2, r3131-42f3c1f.

I just ran ‘wifi’ from the console and saw severall stack traces on ieee80211_i.h:1004

 
Feb 15 17:48:45 10.0.0.3 kernel: [164189.216127] br-ocm: topology change detected, sending tcn bpdu
Feb 15 17:48:45 10.0.0.3 kernel: [164189.222158] br-ocm: port 2(wlan0) entered forwarding state
Feb 15 17:48:45 10.0.0.3 kernel: [164189.228201] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Feb 15 17:48:45 10.0.0.3 kernel: [164189.235725] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Feb 15 17:48:45 10.0.0.3 hostapd: send_auth_reply: send failed
Feb 15 17:48:46 10.0.0.3 kernel: [164189.291069] ------------[ cut here ]------------
Feb 15 17:48:46 10.0.0.3 kernel: [164189.295879] WARNING: CPU: 0 PID: 10121 at compat-wireless-2016-10-08/net/mac80211/ieee80211_i.h:1004 0x8759ea7c [mac80211@87580000+0x5f500]()
Feb 15 17:48:46 10.0.0.3 kernel: [164189.308890] Modules linked in: pppoe ppp_async iptable_nat ath9k pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE ath9k_common xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc 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
Feb 15 17:48:46 10.0.0.3 kernel: [164189.383057]          ...
Feb 15 17:48:46 10.0.0.3 kernel: [164189.375549] CPU: 0 PID: 10121 Comm: hostapd Tainted: G        W       4.4.47 #0
Feb 15 17:48:46 10.0.0.3 kernel: [164189.383057] Stack : 803864d4 00000000 00000001 803e0000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.383057]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.383057]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.383057]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.383057]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.419514] Call Trace:[<80071a50>] 0x80071a50
Feb 15 17:48:46 10.0.0.3 kernel: [164189.424120] [<80071a50>] 0x80071a50
Feb 15 17:48:46 10.0.0.3 kernel: [164189.427755] [<800817d8>] 0x800817d8
Feb 15 17:48:46 10.0.0.3 kernel: [164189.431399] [<8759ea7c>] 0x8759ea7c [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.437500] [<80081890>] 0x80081890
Feb 15 17:48:46 10.0.0.3 kernel: [164189.441143] [<8759ea7c>] 0x8759ea7c [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.447260] [<87586b64>] 0x87586b64 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.453369] [<875870d0>] 0x875870d0 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.459473] [<8025d324>] 0x8025d324
Feb 15 17:48:46 10.0.0.3 kernel: [164189.463113] [<87587184>] 0x87587184 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.469221] [<875849b4>] 0x875849b4 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.475308] [<80102008>] 0x80102008
Feb 15 17:48:46 10.0.0.3 kernel: [164189.478954] [<87587234>] 0x87587234 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.485054] [<8750c2e4>] 0x8750c2e4 [cfg80211@87500000+0x36220]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.491154] [<8029a124>] 0x8029a124
Feb 15 17:48:46 10.0.0.3 kernel: [164189.494800] [<80299ea8>] 0x80299ea8
Feb 15 17:48:46 10.0.0.3 kernel: [164189.498436] [<802992e8>] 0x802992e8
Feb 15 17:48:46 10.0.0.3 kernel: [164189.502060] [<800a1a94>] 0x800a1a94
Feb 15 17:48:46 10.0.0.3 kernel: [164189.505690] [<80299e90>] 0x80299e90
Feb 15 17:48:46 10.0.0.3 kernel: [164189.509324] [<80298b4c>] 0x80298b4c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.512945] [<8025c820>] 0x8025c820
Feb 15 17:48:46 10.0.0.3 kernel: [164189.516581] [<8013c000>] 0x8013c000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.520206] [<802990b4>] 0x802990b4
Feb 15 17:48:46 10.0.0.3 kernel: [164189.523831] [<801b6260>] 0x801b6260
Feb 15 17:48:46 10.0.0.3 kernel: [164189.527478] [<80252ad4>] 0x80252ad4
Feb 15 17:48:46 10.0.0.3 kernel: [164189.531104] [<80253eec>] 0x80253eec
Feb 15 17:48:46 10.0.0.3 kernel: [164189.534732] [<80252ad4>] 0x80252ad4
Feb 15 17:48:46 10.0.0.3 kernel: [164189.538369] [<801f8300>] 0x801f8300
Feb 15 17:48:46 10.0.0.3 kernel: [164189.541995] [<8011328c>] 0x8011328c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.545629] [<8009eff0>] 0x8009eff0
Feb 15 17:48:46 10.0.0.3 kernel: [164189.549269] [<80254e18>] 0x80254e18
Feb 15 17:48:46 10.0.0.3 kernel: [164189.552898] [<80066c10>] 0x80066c10
Feb 15 17:48:46 10.0.0.3 kernel: [164189.556535] [<80062c2c>] 0x80062c2c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.560161]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.561759] ---[ end trace 09e93eac26043f54 ]---
Feb 15 17:48:46 10.0.0.3 kernel: [164189.590354] ------------[ cut here ]------------
Feb 15 17:48:46 10.0.0.3 kernel: [164189.595205] WARNING: CPU: 0 PID: 10121 at compat-wireless-2016-10-08/net/mac80211/ieee80211_i.h:1004 0x87584e44 [mac80211@87580000+0x5f500]()
Feb 15 17:48:46 10.0.0.3 kernel: [164189.608230] Modules linked in: pppoe ppp_async iptable_nat ath9k pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE ath9k_common xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc 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
Feb 15 17:48:46 10.0.0.3 kernel: [164189.674864] CPU: 0 PID: 10121 Comm: hostapd Tainted: G        W       4.4.47 #0
Feb 15 17:48:46 10.0.0.3 kernel: [164189.682384] Stack : 803864d4 00000000 00000001 803e0000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.682384]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.682384]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.682384]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.682384]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.682384]          ...
Feb 15 17:48:46 10.0.0.3 kernel: [164189.718837] Call Trace:[<80071a50>] 0x80071a50
Feb 15 17:48:46 10.0.0.3 kernel: [164189.723442] [<80071a50>] 0x80071a50
Feb 15 17:48:46 10.0.0.3 kernel: [164189.727078] [<800817d8>] 0x800817d8
Feb 15 17:48:46 10.0.0.3 kernel: [164189.730716] [<87584e44>] 0x87584e44 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.736834] [<80081890>] 0x80081890
Feb 15 17:48:46 10.0.0.3 kernel: [164189.740460] [<80177ce0>] 0x80177ce0
Feb 15 17:48:46 10.0.0.3 kernel: [164189.744100] [<87584e44>] 0x87584e44 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.750221] [<8759e840>] 0x8759e840 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.756330] [<875d1a8c>] 0x875d1a8c [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.762436] [<8751a54c>] 0x8751a54c [cfg80211@87500000+0x36220]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.768548] [<8029a124>] 0x8029a124
Feb 15 17:48:46 10.0.0.3 kernel: [164189.772176] [<802989ac>] 0x802989ac
Feb 15 17:48:46 10.0.0.3 kernel: [164189.775817] [<80299ea8>] 0x80299ea8
Feb 15 17:48:46 10.0.0.3 kernel: [164189.779456] [<802992e8>] 0x802992e8
Feb 15 17:48:46 10.0.0.3 kernel: [164189.783079] [<800a1a94>] 0x800a1a94
Feb 15 17:48:46 10.0.0.3 kernel: [164189.786715] [<80299e90>] 0x80299e90
Feb 15 17:48:46 10.0.0.3 kernel: [164189.790340] [<8025d324>] 0x8025d324
Feb 15 17:48:46 10.0.0.3 kernel: [164189.793968] [<80298b4c>] 0x80298b4c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.797600] [<8025c820>] 0x8025c820
Feb 15 17:48:46 10.0.0.3 kernel: [164189.801227] [<802990b4>] 0x802990b4
Feb 15 17:48:46 10.0.0.3 kernel: [164189.804851] [<801b6260>] 0x801b6260
Feb 15 17:48:46 10.0.0.3 kernel: [164189.808485] [<8026100c>] 0x8026100c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.812118] [<80252ad4>] 0x80252ad4
Feb 15 17:48:46 10.0.0.3 kernel: [164189.815748] [<80253eec>] 0x80253eec
Feb 15 17:48:46 10.0.0.3 kernel: [164189.819382] [<802970a0>] 0x802970a0
Feb 15 17:48:46 10.0.0.3 kernel: [164189.823007] [<80253320>] 0x80253320
Feb 15 17:48:46 10.0.0.3 kernel: [164189.826644] [<80254b2c>] 0x80254b2c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.830275] [<80254e18>] 0x80254e18
Feb 15 17:48:46 10.0.0.3 kernel: [164189.833899] [<800b23b0>] 0x800b23b0
Feb 15 17:48:46 10.0.0.3 kernel: [164189.837537] [<80062c2c>] 0x80062c2c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.841163]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.842761] ---[ end trace 09e93eac26043f55 ]---


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


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

06.09.20171000KernelFeature RequestVery LowLowSonicWALL SONICPOINT-Ni APL21-083 supportTrunkUnconfirmed Task Description

WikiDevi link: https://wikidevi.com/wiki/SonicWALL_SONICPOINT-Ni_(APL21-083)

This device has an Atheros AR913X SoC and one radio. The radio is the one built into this SoC.

This device has 1 memory technology device. It is a 16 megabyte (128Mbit) parallel NOR flash chip connected in the same manner as the Buffalo WZR-HP-G300NH. Each eraseblock is 0×10000 in size. The first four eraseblocks are U-Boot and should be read-only. The next two eraseblocks are the U-Boot environment variables. The next 64 eraseblocks is a recovery Linux initramfs that is labelled “sm” and should be read-only. The next 128 eraseblocks belong to the firmware. The next 42 eraseblocks are used by the factory firmware to store the settings. The next 12 eraseblocks contain metadata about the board and is called “sysinfo” and should be read-only. The last eraseblock contains the calibration data for the 1 radio in the device and should be read-only.

This device has 128MB RAM.

The MAC address of the device is stored as regular binary data (*not* ASCII) at offset 0xfc0050 in flash. The radio calibration data is stored at offset 0xff1000 in flash.

The ethernet PHY (not switch) is connected via RGMII at 1000Mbps full duplex. It is a Marvell 88E1116.

The device has three LEDs and one button. The amber LED at GPIO #9 active low is the diag LED. The amber LED at GPIO #7 active low is the WLAN link LED. The green LED at GPIO #8 active low is the WLAN activity LED. The button at GPIO #11 active low is the reset button.

GPIO #17 controls whether the three LEDs are visible or not. It must be low for any of these LEDs to illuminate. This GPIO is high by default, so the kernel must bring it low at boot or the LEDs won’t work.

The bootloader does not understand uImages that are compressed with LZMA. It does understand gzip and none, however. This means the uImage must be a none compressed kernel with lzma-loader to load the LZMA-compressed kernel. The bootloader does not have working Ethernet, so software (such as an initramfs image) must be loaded using YMODEM over the serial port. By default, the bootloader has a bootwait of ‘0’ when booting normally, making entry into the bootloader prompt difficult. When you hold the reset button at power-on, an alternate static environment is loaded with a bootwait of ‘5’. This is intended for loading the alternate recovery Linux image from flash, but you can leverage this as a way to get to the bootloader prompt.

The serial port is accessible via an external console port. However, it conforms to SonicWALL’s console port standard, not Cisco, so you will need a suitable cable or adapter to use it. The parameters are 115200bps, 8 data bits, no parity, 1 stop bit.

I do not have a representative sample of the vendor’s factory upgrade image and have not figured out the factory upgrade process or format.

07.02.2017479Base systemBug ReportVery LowLowSoftethervpn results in ReAlloc error after vpnbridge i...TrunkUnconfirmed Task Description

On a mostly vanilla Atmel at91sam9g20-ek with 32MB of RAM, we are seeing a couple of errors using the current package software version + patches.

Overall, it may be the cross compilation process, overlay or something else entirely.

1. If the vpnbridge is already started, a NAND-WAIT stacktrace results if the binary is executed to instantiate a second instance.

root@lede:/usr/libexec/softethervpn# /usr/bin/env LANG=en_US.UTF-8 vpncmd
[  241.880000] 
[  241.880000] =================================
[  241.880000] [ INFO: inconsistent lock state ]
[  241.880000] 4.4.36 #0 Not tainted
[  241.880000] ---------------------------------
[  241.880000] inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-W} usage.
[  241.880000] kswapd0/155 [HC0[0]:SC0[0]:HE1:SE1] takes:
[  241.880000]  (&f->sem){+.+.?.}, at: [<c012949c>] jffs2_do_clear_inode+0x28/0x114
[  241.880000] {RECLAIM_FS-ON-W} state was registered at:
[  241.880000]   [<c005047c>] lockdep_trace_alloc+0xf8/0x118
[  241.880000]   [<c00b5610>] kmem_cache_alloc+0x28/0x144
[  241.880000]   [<c01261d8>] jffs2_alloc_inode_cache+0x1c/0x28
[  241.880000]   [<c01293a4>] jffs2_do_read_inode+0x13c/0x20c
[  241.880000]   [<c012fe58>] jffs2_iget+0x74/0x324
[  241.880000]   [<c0130830>] jffs2_do_fill_super+0x190/0x274
[  241.880000]   [<c0130e98>] jffs2_fill_super+0xf4/0x144
[  241.880000]   [<c01d1528>] mount_mtd_aux+0x80/0x10c
[  241.880000]   [<c01d1630>] mount_mtd_nr+0x7c/0x94
[  241.880000]   [<c01d17f8>] mount_mtd+0x1b0/0x210
[  241.880000]   [<c01309d4>] jffs2_mount+0x1c/0x28
[  241.880000]   [<c00bbbe4>] mount_fs+0x1c/0xac
[  241.880000]   [<c00d6418>] vfs_kern_mount+0x5c/0x12c
[  241.880000]   [<c00d9e68>] do_mount+0xa04/0xbc8
[  241.880000]   [<c00da270>] SyS_mount+0x7c/0xa8
[  241.880000]   [<c0009660>] ret_fast_syscall+0x0/0x1c
[  241.880000] irq event stamp: 45867
[  241.880000] hardirqs last  enabled at (45867): [<c001508c>] _raw_spin_unlock_irq+0x2c/0x6c
[  241.880000] hardirqs last disabled at (45866): [<c0014e88>] _raw_spin_lock_irq+0x28/0x70
[  241.880000] softirqs last  enabled at (45450): [<c0024088>] __do_softirq+0x208/0x2a4
[  241.880000] softirqs last disabled at (45431): [<c0024488>] irq_exit+0xa4/0xec
[  241.880000] 
[  241.880000] other info that might help us debug this:
[  241.880000]  Possible unsafe locking scenario:
[  241.880000] 
[  241.880000]        CPU0
[  241.880000]        ----
[  241.880000]   lock(&f->sem);
[  241.880000]   <Interrupt>
[  241.880000]     lock(&f->sem);
[  241.880000] 
[  241.880000]  *** DEADLOCK ***
[  241.880000] 
[  241.880000] 2 locks held by kswapd0/155:
[  241.880000]  #0:  (shrinker_rwsem){++++..}, at: [<c0090034>] shrink_slab.part.1.constprop.7+0x30/0x230
[  241.880000]  #1:  (&type->s_umount_key#32){.+.+..}, at: [<c00bb3ec>] trylock_super+0x1c/0x60
[  241.880000] 
[  241.880000] stack backtrace:
[  241.880000] CPU: 0 PID: 155 Comm: kswapd0 Not tainted 4.4.36 #0
[  241.880000] Hardware name: Atmel AT91SAM9
[  241.880000] Backtrace: 
[  241.880000] [<c0019798>] (dump_backtrace) from [<c0019994>] (show_stack+0x18/0x1c)
[  241.880000]  r7:0000000a r6:c38af4c0 r5:c38af0c0 r4:c068f314
[  241.880000] [<c001997c>] (show_stack) from [<c016fdd8>] (dump_stack+0x20/0x28)
[  241.880000] [<c016fdb8>] (dump_stack) from [<c004d144>] (print_usage_bug.part.11+0x228/0x290)
[  241.880000] [<c004cf1c>] (print_usage_bug.part.11) from [<c004d5b0>] (mark_lock+0x404/0x63c)
[  241.880000]  r8:c004c558 r7:c38af0c0 r6:c38af4c0 r5:00000008 r4:0000000a
[  241.880000] [<c004d1ac>] (mark_lock) from [<c004e638>] (__lock_acquire+0x97c/0x198c)
[  241.880000]  r10:c38af0c0 r9:c0667044 r8:c38af4c0 r7:00000001 r6:00000002 r5:c3675704
[  241.880000]  r4:0000025d r3:00000004
[  241.880000] [<c004dcbc>] (__lock_acquire) from [<c004fdcc>] (lock_acquire+0x7c/0x9c)
[  241.880000]  r10:00000042 r9:c334c4c4 r8:c38af0c0 r7:c0ccdd8c r6:00000001 r5:60000013
[  241.880000]  r4:00000000
[  241.880000] [<c004fd50>] (lock_acquire) from [<c0011580>] (mutex_lock_nested+0x50/0x39c)
[  241.880000]  r6:c334d000 r5:c334d000 r4:c36756d0
[  241.880000] [<c0011530>] (mutex_lock_nested) from [<c012949c>] (jffs2_do_clear_inode+0x28/0x114)
[  241.880000]  r10:00000042 r9:c334c4c4 r8:c334c000 r7:00000058 r6:c334d000 r5:c334d000
[  241.880000]  r4:c36756d0
[  241.880000] [<c0129474>] (jffs2_do_clear_inode) from [<c012fde0>] (jffs2_evict_inode+0x34/0x38)
[  241.880000]  r7:00000058 r6:c044ba88 r5:c334d000 r4:c3675730
[  241.880000] [<c012fdac>] (jffs2_evict_inode) from [<c00d1a7c>] (evict+0xac/0x164)
[  241.880000]  r5:c367580c r4:c3675730
[  241.880000] [<c00d19d0>] (evict) from [<c00d1b6c>] (dispose_list+0x38/0x44)
[  241.880000]  r7:00000058 r6:00000063 r5:00000006 r4:c392dd58
[  241.880000] [<c00d1b34>] (dispose_list) from [<c00d2e1c>] (prune_icache_sb+0x4c/0x5c)
[  241.880000]  r5:00000006 r4:c392dd58
[  241.880000] [<c00d2dd0>] (prune_icache_sb) from [<c00bb570>] (super_cache_scan+0x140/0x184)
[  241.880000]  r5:00000000 r4:c392ddd8
[  241.880000] [<c00bb430>] (super_cache_scan) from [<c00901b0>] (shrink_slab.part.1.constprop.7+0x1ac/0x230)
[  241.880000]  r10:00000601 r9:00000000 r8:00000000 r7:00000400 r6:00000062 r5:c334c4c4
[  241.880000]  r4:000000a5
[  241.880000] [<c0090004>] (shrink_slab.part.1.constprop.7) from [<c0092318>] (shrink_zone+0x5f0/0x640)
[  241.880000]  r10:00000004 r9:00000117 r8:c04da918 r7:00000000 r6:00000000 r5:c392ded4
[  241.880000]  r4:c04da6fc
[  241.880000] [<c0091d28>] (shrink_zone) from [<c0092c8c>] (kswapd+0x4ac/0x668)
[  241.880000]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c04da6fc
[  241.880000]  r4:c04da6fc
[  241.880000] [<c00927e0>] (kswapd) from [<c003d1b4>] (kthread+0xe4/0xfc)
[  241.880000]  r10:00000000 r9:00000000 r8:00000000 r7:c00927e0 r6:c04da6fc r5:00000000
[  241.880000]  r4:c3950780
[  241.880000] [<c003d0d0>] (kthread) from [<c00096ec>] (ret_from_fork+0x14/0x28)
[  241.880000]  r7:00000000 r6:00000000 r5:c003d0d0 r4:c3950780

2. If the vpnbridge is instantiated only once, and the vpn client is to be executed, a realloc error occurs:

 /usr/bin/env LANG=en_US.UTF-8 ./vpnclient 
Fatal Error: InternalReAlloc: error: realloc() failed.


Aborted

This is on 4.4.36 LEDE trunk with a FS that looks like:

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 7.4M      7.4M         0 100% /rom
tmpfs                    25.3M      2.7M     22.6M  11% /tmp
tmpfs                    25.3M     44.0K     25.2M   0% /tmp/root
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock2           50.0M      2.2M     47.8M   4% /overlay
overlayfs:/overlay       50.0M      2.2M     47.8M   4% /

Any assistance would be helpful.


25.06.2017868WebsiteBug ReportVery LowLowSnapshot directory contains stray/obsolete directoriesTrunkUnconfirmed Task Description

Please remove obsolete directories in the snapshot directory (packages)

aarch64_armv8-a/
arm_cortex-a53_neon-vfpv4/
arm_cortex-a7/
i386_geode/
powerpc_440/


14.02.2017510Base systemBug ReportVery LowLowslow sysupgradeAllUnconfirmed Task Description

Hi

image flashing seems to be taking too long

 

- Xiaomi Mini
- 17.01-rc1, 17.01-rc2, trunk r3377-368cc8e
- flash 17.01-rc2 then sysupgrade to 17.01-rc1 and finally sysupgrade to r3377

the device has not been reachable for almost 5 minutes (no dhcp and wifi, did not try static ip).

root@LEDE:~# dmesg
[    0.000000] Linux version 4.4.47 (buildbot@builds) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3377-368cc8e) ) #0 Sun Feb 12 13:53:29 2017
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Xiaomi MiWiFi Mini
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 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] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 803b04b0, 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, PIPT, no 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: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    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=0007fee0
[    0.000000] Readback ErrCtl register=0007fee0
[    0.000000] Memory: 125540K/131072K available (3020K kernel code, 144K rwdata, 720K rodata, 204K init, 208K bss, 5532K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 580MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[    0.000000] systick: enable autosleep mode
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.007937] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.070540] pid_max: default: 32768 minimum: 301
[    0.075375] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.082041] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.095990] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.106165] pinctrl core: initialized pinctrl subsystem
[    0.112730] NET: Registered protocol family 16
[    0.376330] PCI host bridge /pcie@10140000 ranges:
[    0.381161]  MEM 0x0000000020000000..0x000000002fffffff
[    0.386455]   IO 0x0000000010160000..0x000000001016ffff
[    0.405381] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.411024] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.417535] rt2880_gpio 10000638.gpio: registering 16 gpios
[    0.423151] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[    0.429636] rt2880_gpio 10000660.gpio: registering 32 gpios
[    0.435253] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[    0.442467] PCI host bridge to bus 0000:00
[    0.446580] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    0.453607] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    0.459586] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.466501] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.474591] pci 0000:00:00.0: [1814:0801] type 01 class 0x060400
[    0.474639] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    0.474662] pci 0000:00:00.0: reg 0x14: [mem 0x20200000-0x2020ffff]
[    0.474736] pci 0000:00:00.0: supports D1
[    0.474755] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.475232] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    0.475305] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    0.475368] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.475467] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.475721] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.475750] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.475804] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    0.482519] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    0.489558] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[    0.496475] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
[    0.503811] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[    0.510740] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit]
[    0.518170] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
[    0.525516] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.530555] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x200fffff]
[    0.537471] pci 0000:00:00.0:   bridge window [mem 0x20100000-0x201fffff pref]
[    0.544825] pci 0000:00:00.0: card - bus=0x0, slot = 0x0 irq=0
[    0.550759] pci 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[    0.557727] clocksource: Switched to clocksource systick
[    0.564626] NET: Registered protocol family 2
[    0.570064] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.577106] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.583623] TCP: Hash tables configured (established 1024 bind 1024)
[    0.590136] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.596026] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.602725] NET: Registered protocol family 1
[    0.607205] PCI: CLS 80 bytes, default 32
[    0.612041] rt-timer 10000100.timer: maximum frequency is 1220Hz
[    0.619165] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.625425] Crashlog allocated RAM at address 0x3f00000
[    0.647176] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.653125] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.665858] io scheduler noop registered
[    0.669850] io scheduler deadline registered (default)
[    0.675275] ralink-usb-phy usbphy: invalid resource
[    0.680940] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.691108] console [ttyS0] disabled
[    0.694715] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[    0.704847] console [ttyS0] enabled
[    0.711874] bootconsole [early0] disabled
[    0.727010] spi spi0.0: force spi mode3
[    0.731557] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.736411] 7 ofpart partitions found on MTD device spi0.0
[    0.742049] Creating 7 MTD partitions on "spi0.0":
[    0.746943] 0x000000000000-0x000000030000 : "u-boot"
[    0.753854] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.761188] 0x000000040000-0x000000050000 : "factory"
[    0.768206] 0x000000050000-0x000000fd0000 : "firmware"
[    2.081066] 2 uimage-fw partitions found on MTD device firmware
[    2.087131] 0x000000050000-0x00000018fa05 : "kernel"
[    2.093835] 0x00000018fa05-0x000000fd0000 : "rootfs"
[    2.100779] mtd: device 5 (rootfs) set to be root filesystem
[    2.106705] 1 squashfs-split partitions found on MTD device rootfs
[    2.113096] 0x00000038d000-0x000000fd0000 : "rootfs_data"
[    2.120489] 0x000000fd0000-0x000000fe0000 : "crash"
[    2.127322] 0x000000fe0000-0x000000ff0000 : "reserved"
[    2.134485] 0x000000ff0000-0x000001000000 : "Bdata"
[    2.144580] gsw: setting port4 to ephy mode
[    2.148946] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex)
[    2.158477] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[    2.165342] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    2.174387] rt2880_wdt 10000120.watchdog: Initialized
[    2.181168] NET: Registered protocol family 10
[    2.190388] NET: Registered protocol family 17
[    2.195021] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.207965] 8021q: 802.1Q VLAN Support v1.8
[    2.230354] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    2.238734] Freeing unused kernel memory: 204K (803cd000 - 80400000)
[    4.647687] init: Console is alive
[    4.651530] init: - watchdog -
[    6.329239] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.421363] usbcore: registered new interface driver usbfs
[    6.427072] usbcore: registered new interface driver hub
[    6.432679] usbcore: registered new device driver usb
[    6.443661] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.452010] ehci-platform: EHCI generic platform driver
[    6.467726] phy phy-usbphy.0: remote usb device wakeup disabled
[    6.473774] phy phy-usbphy.0: UTMI 16bit 30MHz
[    6.478349] ehci-platform 101c0000.ehci: EHCI Host Controller
[    6.484245] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    6.492460] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    6.505433] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    6.512963] hub 1-0:1.0: USB hub found
[    6.517238] hub 1-0:1.0: 1 port detected
[    6.524350] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.532228] ohci-platform: OHCI generic platform driver
[    6.537914] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    6.544874] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    6.553089] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    6.583712] hub 2-0:1.0: USB hub found
[    6.587905] hub 2-0:1.0: 1 port detected
[    6.595449] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.604106] init: - preinit -
[    6.956411] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    7.270746] random: procd: uninitialized urandom read (4 bytes read, 12 bits of entropy available)
[    7.640080] 8021q: adding VLAN 0 to HW filter on device eth0
[    8.529656] jffs2_scan_eraseblock(): End of filesystem marker found at 0x2000
[    8.538130] jffs2_build_filesystem(): unlocking the mtd device... done.
[    8.544910] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   78.660250] random: nonblocking pool is initialized
[  311.401301] done.
[  311.403323] jffs2: notice: (374) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  311.421054] mount_root: overlay filesystem has not been fully initialized yet
[  311.442837] mount_root: switching to jffs2 overlay
[  311.834234] urandom-seed: Seed file not found (/etc/urandom.seed)
[  311.954212] procd: - early -
[  311.957267] procd: - watchdog -
[  312.330881] procd: - ubus -
[  312.358304] procd: - init -
[  312.624374] kmodloader: loading kernel modules from /etc/modules.d/*
[  312.637526] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  312.654500] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[  312.662749] Backport generated by backports.git backports-20160324-13-g24da7d3c
[  312.721454] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[  312.734552] mt76x2e 0000:01:00.0: ROM patch already applied
[  312.741870] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[  312.747548] mt76x2e 0000:01:00.0: Build: 1
[  312.751731] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[  312.765329] mt76x2e 0000:01:00.0: Firmware running!
[  312.771221] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  312.798568] ip_tables: (C) 2000-2006 Netfilter Core Team
[  312.824101] nf_conntrack version 0.5.0 (1964 buckets, 7856 max)
[  313.046235] xt_time: kernel timezone is -0000
[  313.061761] PPP generic driver version 2.4.2
[  313.069130] NET: Registered protocol family 24
[  313.091611] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[  313.099084] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 5390, rev 0500 detected
[  313.107017] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
[  313.114718] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[  313.127635] kmodloader: done loading kernel modules from /etc/modules.d/*
[  320.473979] 8021q: adding VLAN 0 to HW filter on device eth0
[  320.498870] device eth0 entered promiscuous mode
[  320.505015] device eth0.1 entered promiscuous mode
[  320.516566] br-lan: port 1(eth0.1) entered forwarding state
[  320.522301] br-lan: port 1(eth0.1) entered forwarding state
[  322.515382] br-lan: port 1(eth0.1) entered forwarding state
[  324.129601] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[  324.149913] device wlan1 entered promiscuous mode
[  324.154799] br-lan: port 2(wlan1) entered forwarding state
[  324.160512] br-lan: port 2(wlan1) entered forwarding state
[  324.421359] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[  325.099733] br-lan: port 2(wlan1) entered forwarding state
06.07.2017891KernelBug ReportVery LowHighSlow download speed over Ethernet (wpj344, QCA8334)TrunkUnconfirmed Task Description

Version: Reboot (SNAPSHOT, r4512+1-f3ae0f8), master/trunk
Device: wpj344 (Switch QCA8334)
Problem: Slow download speed over Ethernet, upload works fine.
Steps to reproduce: Use iperf tool to perform network throughput test.

root@LEDE:~# iperf3 -s
-----------------------------------------------------------                                
Server listening on 5201                     
-----------------------------------------------------------                                
Accepted connection from 192.168.1.200, port 51144                                         
[  5] local 192.168.1.1 port 5201 connected to 192.168.1.200 port 51146                    
[ ID] Interval           Transfer     Bandwidth                                            
[  5]   0.00-1.00   sec   294 KBytes  2.41 Mbits/sec                                       
[  5]   1.00-2.00   sec   390 KBytes  3.20 Mbits/sec                                       
[  5]   2.00-3.00   sec   192 KBytes  1.58 Mbits/sec                                       
[  5]   3.00-4.00   sec   291 KBytes  2.39 Mbits/sec                                       
[  5]   4.00-5.00   sec  99.0 KBytes   810 Kbits/sec                                       
[  5]   5.00-6.00   sec  79.2 KBytes   649 Kbits/sec                                       
[  5]   6.00-7.00   sec   281 KBytes  2.31 Mbits/sec                                       
[  5]   7.00-8.00   sec   165 KBytes  1.36 Mbits/sec                                       
[  5]   8.00-9.00   sec   262 KBytes  2.14 Mbits/sec                                       
[  5]   9.00-10.00  sec   117 KBytes   961 Kbits/sec                                       
[  5]  10.00-10.01  sec  0.00 Bytes  0.00 bits/sec                                         
- - - - - - - - - - - - - - - - - - - - - - - - -                                          
[ ID] Interval           Transfer     Bandwidth                                            
[  5]   0.00-10.01  sec  0.00 Bytes  0.00 bits/sec                  sender                 
[  5]   0.00-10.01  sec  2.12 MBytes  1.78 Mbits/sec                  receiver

Using exactly the same node and the same setup and reverting:

commit 967b6be118e3217e8d6a28df9c615d3255e7b1ae     
Author: Vittorio Gambaletta <openwrt@vittgam.net>   
Date:   Sun Mar 26 10:08:20 2017 +0200              

    ar8327: Add workarounds for AR8337 switch.

The new results are:

root@LEDE:~# iperf3 -s    
-----------------------------------------------------------                                             
Server listening on 5201  
-----------------------------------------------------------                                             
Accepted connection from 192.168.1.200, port 50800  
[  5] local 192.168.1.1 port 5201 connected to 192.168.1.200 port 50802                                 
[ ID] Interval           Transfer     Bandwidth     
[  5]   0.00-1.00   sec  27.5 MBytes   230 Mbits/sec                                                    
[  5]   1.00-2.01   sec  24.1 MBytes   201 Mbits/sec                                                    
[  5]   2.01-3.00   sec  23.5 MBytes   198 Mbits/sec                                                    
[  5]   3.00-4.01   sec  24.1 MBytes   201 Mbits/sec                                                    
[  5]   4.01-5.00   sec  27.4 MBytes   231 Mbits/sec                                                    
[  5]   5.00-6.00   sec  25.1 MBytes   210 Mbits/sec                                                    
[  5]   6.00-7.00   sec  28.3 MBytes   238 Mbits/sec                                                    
[  5]   7.00-8.00   sec  30.2 MBytes   253 Mbits/sec                                                    
[  5]   8.00-9.00   sec  21.6 MBytes   181 Mbits/sec                                                    
[  5]   9.00-10.00  sec  28.6 MBytes   241 Mbits/sec                                                    
[  5]  10.00-10.01  sec   181 KBytes   128 Mbits/sec                                                    
- - - - - - - - - - - - - - - - - - - - - - - - -   
[ ID] Interval           Transfer     Bandwidth     
[  5]   0.00-10.01  sec  0.00 Bytes  0.00 bits/sec                  sender                              
[  5]   0.00-10.01  sec   261 MBytes   218 Mbits/sec             receiver   


13.08.2017959Base systemBug ReportVery LowLowsh: more: not foundAllUnconfirmed Task Description

Any version
https://github.com/openwrt-routing/packages/issues/299#issuecomment-322051246

vtysh needs more but it can’t find it, is there a way to enable busybox more as a dependency ?
strange thing is that more is working in shell but not in vtysh,if I manually add more in menuconfig of busybox all is working

root@ap-gz:~# vtysh
Hello, this is FRRouting (version 3.0-rc1).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

sh: more: not found
ap-gz# show ipv6 ospf6 route 
sh: more: not found
19.09.20171011Base systemBug ReportVery LowLowSD card errorTrunkUnconfirmed Task Description

When mounting the SD card, errors occur.
Found only one similar request: FS#307 Log:

Tue Sep 19 18:01:48 2017 kern.err kernel: [ 774.876691] msdc-1 -> msdc pio find abort <- msdc_pio_abort() : L<1191> PID<mmcqd/0><0x1ac>
Tue Sep 19 18:01:48 2017 kern.err kernel: [ 774.885076] msdc-1 -> write pio data->error<-5> <- msdc_pio_write() : L<1303> PID<mmcqd/0><0x1ac>
Tue Sep 19 18:01:48 2017 kern.err kernel: [ 774.893999] msdc-1 -> cmd<13> resp<0xd00> <- msdc_check_busy() : L<2067> PID<mmcqd/0><0x1ac>
Tue Sep 19 18:01:48 2017 kern.err kernel: [ 774.902562] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDLY<-1> MSDC_DAT_RDDLY0<0x10000010> <- msdc_tune_bwrite() : L<1998> PID<mmcqd/0><0x1ac>
Tue Sep 19 18:01:48 2017 kern.err kernel: [ 774.915371] msdc-1 -> TUNE_READ: result<0x1> cmd_error<-145> data_error<0> <- msdc_tune_bwrite() : L<2007> PID<mmcqd/0><0x1ac>
Tue Sep 19 18:01:48 2017 kern.err kernel: [ 774.928451] mmcblk0: timed out sending r/w cmd command, card status 0x400d00
Tue Sep 19 18:01:48 2017 kern.err kernel: [ 774.935571] mmcblk0: command error, retrying timeout
Tue Sep 19 18:01:48 2017 kern.crit kernel: [ 774.942446] EXT4-fs error (device mmcblk0p2): ext4_journal_check_start:56: Detected aborted journal
Tue Sep 19 18:01:48 2017 kern.crit kernel: [ 774.951491] EXT4-fs (mmcblk0p2): Remounting filesystem read-only

Please, help.

16.07.2017909Base systemBug ReportVery LowLowrunas wrapper executes programs using wrong interpreterTrunkRequires testing Task Description

I happen to run a system having no easily accessible binary interpreter (that is, there is no `/lib64`).

Some time ago a wrapper for binaries was introduced. The issue with this wrapper is that instead of using bundled `ld-linux-x86-64.so.2`, it executes the program by calling `execve`, which will try to use the system interpreter (and fail, in my case). In other words, all the bundled dynamic loader business is now out of work; the same result could be achieved by executing the binary directly.

This works:

[staging_dir/host]$ ./lib/ld-linux-x86-64.so.2 --library-path ./lib/ ./bin/.uuidgen.bin
fb85483b-e891-4dbd-badb-43361fc954f3

This does not:

[staging_dir/host]$ ./lib/ld-linux-x86-64.so.2 --library-path ./lib/ ./lib/runas ./bin/.uuidgen.bin uuidgen
[staging_dir/host]$ echo $?
255
[staging_dir/host]$ strace ./lib/ld-linux-x86-64.so.2 --library-path ./lib/ ./lib/runas ./bin/.uuidgen.bin uuidgen
execve("./lib/ld-linux-x86-64.so.2", ["./lib/ld-linux-x86-64.so.2", "--library-path", "./lib/", "./lib/runas", "./bin/.uuidgen.bin", "uuidgen"], 0x7ffe055921b8 /* 69 vars */) = 0
brk(NULL)                               = 0x55c6f060e000
open("./lib/runas", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\2\0>\0\1\0\0\0\240\4@\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=7048, ...}) = 0
getcwd("/home/kirelagin/openwrt/lede-imagebuilder-17.01.2-ar71xx-generic.Linux-x86_64/staging_dir/host", 128) = 95
mmap(0x400000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x400000
mmap(0x600000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x600000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f157c858000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("./lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("./lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("./lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("./lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\34\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1738176, ...}) = 0
getcwd("/home/kirelagin/openwrt/lede-imagebuilder-17.01.2-ar71xx-generic.Linux-x86_64/staging_dir/host", 128) = 95
mmap(NULL, 3844640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f157c4ad000
mprotect(0x7f157c64e000, 2097152, PROT_NONE) = 0
mmap(0x7f157c84e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a1000) = 0x7f157c84e000
mmap(0x7f157c854000, 14880, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f157c854000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f157c4ac000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f157c4ab000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f157c4aa000
arch_prctl(ARCH_SET_FS, 0x7f157c4ab700) = 0
mprotect(0x7f157c84e000, 16384, PROT_READ) = 0
mprotect(0x55c6f00e8000, 4096, PROT_READ) = 0
execve("./bin/.uuidgen.bin", ["uuidgen"], 0x7ffd9e14e360 /* 69 vars */) = -1 ENOENT (No such file or directory)
exit_group(-1)                          = ?
+++ exited with 255 +++
10.08.2017953KernelBug ReportVery LowCriticalRT8187/RT3070 crashing/bootloop when plug (kmod-RT2800-...lede-17.01Unconfirmed Task Description

17.01.2 - brcm63xx - HG556A VER.B
- HG556A VER.B (with Atheros chipset) and Ralink 3070 device
- After flash the 17.01.2 and install kmod-RT2800-usb driver, and then plug the Ralink 3070 device, it crashes and reboots. Then it never boots again if you do not unplug the device (bootloop)
- I have downgraded to 17.01.0 in order to fix the problem. Here it works fine
- Other usb devices works OK.

13.05.2017782Base systemFeature RequestVery LowLowRFE : please add package for CANbus device driver "gs_u...TrunkUnconfirmed Task Description

It would be nice to add the CANbus driver : kernel/drivers/net/can/usb/gs_usb

FYI / motivation : there are few new inexpensive USB to CANbus devices that use this driver, such as :

CANable : https://www.tindie.com/products/protofusion/canable-usb-to-can-bus-adapter/ (w/ alt firmware)

candleLight : https://cangaroo.org/candle/light/ , https://github.com/HubertD/candleLight

Schneider : http://schneidersoft.net/resource/gs_usb_1_1_manual.pdf

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.

03.12.2016320Base systemFeature RequestVery LowLowrelayd feature requestTrunkUnconfirmed Task Description

I found a couple of bugs with relayd based bridge configuration and I would like to suggest a feature request. Will fill one entry per issue:

On today’s trunk

3- in a configuration where the network attached to the wireless radio is configured via DHCP, the listening interface is not set up automatically. DD-WRT and Gargoyle do this automatically ( they overwrite the config/network file with the gateway parameter and reload relayd.

 


01.02.2017449Base systemBug ReportVery LowLowrelayd can cause dropped packets if client has /proc/sy...TrunkUnconfirmed Task Description

DEVICE: N/A (can be reproduced on any system running relayd)
LEDE version: N/A (can be reproduced on a VM running debian with relayd installed)

Steps to reproduce:

* Run relayd on a system (aka router)with two interfaces.
* Run a stock Ubuntu-16.04 system (aka client) connected to the managed interface.
* Run another system (aka server) on the other interface of relayd system.
* Have server ping client and watch connectivity drop out periodically.
* Have client ping server and watch connectivity drop out periodically.

Our fix for the problem need two changes:

* Add arptables rules to system to handle kernel level arp requests properly via mangling the source address in the arp requests
* Modify relayd to send the correct src addr in the arp requests that it generates.

Our changes to relayd are here:

* https://github.com/troth/relayd/commit/c8d895ee71be59262f01c3fdf50f307ebf1593e7

From commit message for my fix:

    Add option to set arp src addr for managed interfaces.
    
    Relayd will send arp requests out a managed interface like this:
    
        Who has 192.168.1.40, tell 192.168.2.1
    
    In most cases, this works, but some clients will not send a reply (on
    linux, client will not reply if /proc/sys/net/ipv4/conf/*/rp_filter is
    set to 1, which happens to be the default on ubuntu-16.04).
    
    Add '-s' option to tell relayd to use the specified addr as the arp src
    addr for managed interfaces. The arp requests would then look like:
    
        Who has 192.168.1.40, tell 192.168.1.100
    
    for which the client properly sends a reply.
    
    The symptoms of the problem manifest as dropped packets due to the
    kernel marking the arp entry for the client as FAILED due to lack of
    responses to the arp requests. Eventually (10-30 seconds later), the arp
    table is updated and connectivity is restored.
14.03.2017629Base systemBug ReportVery LowLowRealtek r8169 kernel errorlede-17.01Unconfirmed Task Description

My device is a homebuild router:
- MB: Gigabyte GA-970A-UD3P
- CPU: Unlocked AMD x3 405e
- Ram: 4 GB A-Data
- MB NIC: Realtek
- NIC: Intel PRO/1000

Installed the official Lede 17.01.0 x86/x64 ext4 build
Haven’t installed any other packages

I have configured the network as follows:
attached network file
where eth4 is the Realtek NIC

The result is in error.txt

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

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

The kernel keeps logging the following errors:

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

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

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

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

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

15.08.2017962KernelBug ReportVery LowMediumRaspberry Pi (B+): kernel: hw csum failure (is back)lede-17.01Unconfirmed Task Description

Hello team,

it seems that kernel errors “hw csum failure” are somehow back?
I’m running LEDE 17.01.2 on Raspberry Pi B+:

# cat /etc/os-release
NAME="LEDE"
VERSION="17.01.2, Reboot"
ID="lede"
ID_LIKE="lede openwrt"
PRETTY_NAME="LEDE Reboot 17.01.2"
VERSION_ID="17.01.2"
HOME_URL="http://lede-project.org/"
BUG_URL="http://bugs.lede-project.org/"
SUPPORT_URL="http://forum.lede-project.org/"
BUILD_ID="r3435-65eec8bd5f"
LEDE_BOARD="brcm2708/bcm2708"
LEDE_ARCH="arm_arm1176jzf-s_vfp"
LEDE_TAINTS="no-all"
LEDE_DEVICE_MANUFACTURER="LEDE"
LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/"
LEDE_DEVICE_PRODUCT="Generic"
LEDE_DEVICE_REVISION="v0"
LEDE_RELEASE="LEDE Reboot 17.01.2 r3435-65eec8bd5f"
# cat /proc/cpuinfo
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 697.95
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2708
Revision        : 0000
Serial          : 00000000fd17e85b

And I’m getting tons of:

Tue Aug 15 22:44:39 2017 kern.err kernel: [  442.662181] eth0.2: hw csum failure
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.669788] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.71 #0
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.679616] Hardware name: BCM2708
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.687047] Function entered at [<c001e2d4>] from [<c001bca4>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.696911] Function entered at [<c001bca4>] from [<c02b71dc>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.706767] Function entered at [<c02b71dc>] from [<c031ee4c>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.716618] Function entered at [<c031ee4c>] from [<c02f3658>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.726511] Function entered at [<c02f3658>] from [<c02f3b04>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.736384] Function entered at [<c02f3b04>] from [<c02f3da8>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.746236] Function entered at [<c02f3da8>] from [<c02be920>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.755971] Function entered at [<c02be920>] from [<bf088460>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.765780] Function entered at [<bf088460>] from [<c0027714>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.775480] Function entered at [<c0027714>] from [<c0027968>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.785147] Function entered at [<c0027968>] from [<c0027d60>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.794803] Function entered at [<c0027d60>] from [<c004d668>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.804518] Function entered at [<c004d668>] from [<c0009390>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.814197] Function entered at [<c0009390>] from [<c000a894>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.823872] Exception stack(0xc048bf58 to 0xc048bfa0)
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.832746] bf40:                                                       00000001 00000000
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.844812] bf60: 00000000 00000000 c048a000 c048c074 00000000 00000000 c04912e0 c048c07c
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.856946] bf80: 00000001 c049207b 00000000 c048bfa8 c0018f34 c0018f38 60000013 ffffffff
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.869129] Function entered at [<c000a894>] from [<c0018f38>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.878909] Function entered at [<c0018f38>] from [<c00465c0>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.888748] Function entered at [<c00465c0>] from [<c0464b70>]

It’s running kernel 4.4.71:

# uname -m -r -s -p -v -i -o
Linux 4.4.71 #0 Thu Jun 8 10:18:56 2017 armv6l unknown unknown GNU/Linux

I have found this commit, which seems it should be fixed by 4.4.8, but it’s not?
https://git.lede-project.org/?p=source.git;a=commitdiff;h=3faf65e92857aa5466791da3ec623c23af1f8130

Thank a lot!
Martin

05.09.2017999Base systemBug ReportVery LowMediumRaspberry pi : package "kmod-usb-net" postinst script r...TrunkUnconfirmed Task Description

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

Raspberry pi model B,
LEDE 17.01.2, r3435-65eec8bd5f

root@LEDE:~# opkg install kmod-usb-net
Installing kmod-usb-net (4.4.71-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.2/targets/brcm2708/bcm2708/packages/kmod-usb-net_4.4.71-1_arm_arm1176jzf-s_vfp.ipk Configuring kmod-usb-net.
failed to find a module named usbnet Collected errors:
* pkg_run_script: package “kmod-usb-net” postinst script returned status 255.
* opkg_configure: kmod-usb-net.postinst returned 255.
root@LEDE:~# uname -a
Linux LEDE 4.4.71 #0 Thu Jun 8 10:18:56 2017 armv6l GNU/Linux


06.03.2017600Base systemBug ReportVery LowLowRandom disconnection on 17.01TrunkUnconfirmed Task Description

Problem:

I upgrade my router from some years old dd-wrt to LEDE. “It works” and both the throughput and latency are vastly superior. However, it disconnect every couple hours for 2 minutes. Both my phone and my thinkpad are affected, so it is not a suddent regression in the client side. The old firmware showed no such interruption and could run a single connection TCP for months. At first, all packets stop being received and all sent timeout. After a while NetworkManager drop the (dead) Wifi conenction. Restarting networkmanager doesn’t restore the connection, only time does. The encryption and channel are the same as before.

Info:

Hostname	LEDE
Model	D-Link DIR-615 rev. I1
Firmware Version	LEDE Reboot 17.01.0 r3205-59508e3 / LuCI lede-17.01 branch (git-17.051.53299-a100738)
Kernel Version	4.4.50

SSHed into the rounter show nothing interesting in dmesg or the logs.

dmesg (client side)

[1750975.095083] wlp3s0: authenticate with c8:d3:a3:57:c1:0d
[1750975.097291] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 1/3)
[1750975.182387] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 2/3)
[1750975.340969] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 3/3)
[1750975.433683] wlp3s0: authentication with c8:d3:a3:57:c1:0d timed out
[1750986.745947] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1750986.783926] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1750986.784247] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1750986.973972] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1750986.974238] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1750986.988274] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1751024.037294] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1751024.037564] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1751024.232261] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1751024.232531] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1751024.246198] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1751035.933932] wlp3s0: authenticate with c8:d3:a3:57:c1:0d
[1751035.936358] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 1/3)
[1751035.941892] wlp3s0: authenticated
[1751035.942083] wlp3s0: associate with c8:d3:a3:57:c1:0d (try 1/3)
[1751035.946355] wlp3s0: RX AssocResp from c8:d3:a3:57:c1:0d (capab=0x431 status=0 aid=1)
[1751035.947757] wlp3s0: associated
[1751035.947784] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
[1753524.568775] iwlwifi 0000:03:00.0: invalid BA notification: Q 16, tid 0, flow 65535
[1754028.350307] wlp3s0: deauthenticating from c8:d3:a3:57:c1:0d by local choice (Reason: 3=DEAUTH_LEAVING)
[1754029.418400] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[1754029.423879] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754029.435347] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754029.435766] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754029.643875] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754029.644146] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754029.658379] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754029.708225] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754033.134519] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754033.134793] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754033.338532] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754033.338803] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754033.352845] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754058.434794] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754058.447119] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754058.447392] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754058.645058] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754058.645328] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754058.659098] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754062.836641] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754062.836915] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754063.041653] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754063.041914] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754063.055581] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754063.070786] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754066.513509] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754066.513776] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754066.712341] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754066.712663] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754066.727003] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754082.615329] wlp3s0: authenticate with c8:d3:a3:57:c1:0d
[1754082.617891] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 1/3)
[1754082.711318] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 2/3)
[1754082.800197] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 3/3)
[1754082.890379] wlp3s0: authentication with c8:d3:a3:57:c1:0d timed out
[1754092.431334] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754092.442752] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754092.443037] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754092.642763] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754092.643027] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754092.657436] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754096.103393] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754096.103667] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754096.305383] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754096.305650] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754096.320213] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754099.851495] wlp3s0: authenticate with c8:d3:a3:57:c1:0d
[1754099.853971] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 1/3)
[1754100.000973] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 2/3)
[1754100.100010] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 3/3)
[1754100.234954] wlp3s0: authentication with c8:d3:a3:57:c1:0d timed out
[1754104.050494] wlp3s0: authenticate with c8:d3:a3:57:c1:0d
[1754104.052754] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 1/3)
[1754104.126844] wlp3s0: authenticated
[1754104.127569] wlp3s0: associate with c8:d3:a3:57:c1:0d (try 1/3)
[1754104.135916] wlp3s0: RX AssocResp from c8:d3:a3:57:c1:0d (capab=0x431 status=0 aid=1)
[1754104.138461] wlp3s0: associated
[1754104.138810] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready

What should I do to further debug this? I can build new images if necessary.

13.01.2017385Base systemBug ReportVery LowLowrampis / JFFS2-problem / Xiaomi Miwifi mini / r2919 / w...TrunkUnconfirmed Task Description

after flashing r2919 i can see strange message with dmesg:

root@lede:~  dmesg | grep -i jffs
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.638380] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    9.908794] jffs2: Node at 0x00000044 with length 0x00001044 would run over the end of the erase block
[    9.918337] jffs2: Perhaps the file system was created with the wrong erase size?
[    9.926009] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000048: 0x1044 instead
[    9.935697] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000004c: 0x586d instead
[    9.945403] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000050: 0x0002 instead
[    9.955094] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000054: 0x0002 instead
[    9.964797] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000058: 0x81a4 instead
[    9.974488] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000060: 0xd8a2 instead
[    9.984190] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000064: 0x9ad1 instead
[    9.993881] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000068: 0x9ad2 instead
[   10.003587] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000006c: 0x9ad2 instead
[   10.013278] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000074: 0x1000 instead
[   10.022959] jffs2: Further such events for this erase block will not be printed
[   11.479386] jffs2: notice: (377) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   11.496420] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   11.525523] jffs2: Node at 0x00000044 with length 0x00001044 would run over the end of the erase block
[   11.535100] jffs2: Perhaps the file system was created with the wrong erase size?
[   11.542896] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000048: 0x1044 instead
[   11.552600] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000004c: 0x586d instead
[   11.562304] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000050: 0x0002 instead
[   11.571994] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000054: 0x0002 instead
[   11.581696] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000058: 0x81a4 instead
[   11.591387] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000060: 0xd8a2 instead
[   11.601089] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000064: 0x9ad1 instead
[   11.610780] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000068: 0x9ad2 instead
[   11.620481] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000006c: 0x9ad2 instead
[   11.630173] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000074: 0x1000 instead
[   11.639854] jffs2: Further such events for this erase block will not be printed
[   13.095966] jffs2: notice: (374) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   14.064922] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   14.086950] mount_root: switching to jffs2 overlay
root@lede:~  

beside that, it seems that the device is working:

root@lede:~  df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.5M      3.5M         0 100% /rom
tmpfs                    61.5M      1.1M     60.4M   2% /tmp
/dev/mtdblock6           10.8M    796.0K     10.0M   7% /overlay
overlayfs:/overlay       10.8M    796.0K     10.0M   7% /
tmpfs                   512.0K         0    512.0K   0% /dev
tmpfs                     2.0M         0      2.0M   0% /coredumps
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.

 


19.03.2017641KernelBug ReportVery LowLowQuectel ECXX and Raw IP on 4.4 kernelTrunkUnconfirmed Task Description

Hi,

have a ZBT-WE826 with a 3/4g modem inside, shipped by ZBT.
modem is a Quectel EC25-E.

lsusb: Bus 001 Device 004: ID 2c7c:0125

if i tell qmi_wwan to register the device using: echo “2c7c 0125” >/sys/bus/usb/drivers/qmi_wwan/new_id
device is detected and shows up in dmesg: qmi_wwan 1-1.2:1.4 wwan0: register ‘qmi_wwan’ at usb-101c0000.ehci-1.2, WWAN/QMI device, XXXXXXXXXXXXX, and /dev/cdc-wdm0 is created

when i try to talk to the device using uqmi, i don’t get any response!
uqmi -d /dev/cdc-wdm0 –get-imei (command hangs)

it has to do with the DTR, found a patch for the device on this forum:
https://forum.turris.cz/t/lte-modem-typu-ec25-e-minipcie/2816/24

is it possible to patch the trunk, so this device get supported?

also, if i use option usb serial driver i can connect using pppd
same here, i have to tell option1 driver to detect the deivce.
echo “2c7c 0125” >/sys/bus/usb-serial/drivers/option1/new_id

tested on current trunk and 17.01.0

09.06.2017834Base systemBug ReportVery LowLowQoS uses ip6tables even on filter rules targeted to IPv...TrunkUnconfirmed Task Description

LEDE SNAPSHOT r4357-acc5ab6 / LuCI branch (git-17.152.82962-a9e8376)

I specified 2 QoS rules to put all traffic from/to a certain LAN host in the Bulk class. The LAN is IPv4, but the generated script contained commands for ip6tablesbesides the appropriate commands for iptables.

$ /etc/init.d/qos restart
ip6tables v1.6.1: host/network `192.168.1.161' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
ip6tables v1.6.1: host/network `192.168.1.161' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.

Here’s a part of the output from

/usr/lib/qos/generate.sh all
+ ip6tables -w -t mangle -A qos_Default_ct -m mark --mark 0/0x0f -d 192.168.1.161 -m comment --comment TMP-delete -j MARK --set-mark 68/0xff
ip6tables v1.6.1: host/network `192.168.1.161' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
+ ip6tables -w -t mangle -A qos_Default_ct -m mark --mark 0/0x0f -s 192.168.1.161 -m comment --comment TMP-delete -j MARK --set-mark 68/0xff
ip6tables v1.6.1: host/network `192.168.1.161' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.

(...)
+ iptables -w -t mangle -A qos_Default_ct -m mark --mark 0/0x0f -d 192.168.1.161 -m comment --comment TMP-delete -j MARK --set-mark 68/0xff
+ iptables -w -t mangle -A qos_Default_ct -m mark --mark 0/0x0f -s 192.168.1.161 -m comment --comment TMP-delete -j MARK --set-mark 68/0xff
17.02.2017527PackagesBug ReportVery LowMediumQMI modem Olivetti Techcenter (0b3c:c00a) freezes on uq...lede-17.01Unconfirmed Task Description

Hello,

I used to use modem Olivetti Techcenter (0b3c:c00a) on OpenWRT CC.1 without problems.
However, testing on LEDE 17.01.0-rc2, I’m unable to connect.

I traced the problem to ‘uqmi -s -d “$device” –sync’ at https://github.com/lede-project/source/blob/master/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh#L101.

My config is simple as:

config interface 'wwan'
        option ifname 'wwan0'
        option proto 'qmi'
        option device '/dev/cdc-wdm0'
        option apn 'gprs.oi.com.br'
        option auth 'none'

Using strace, it always stops at this point:

...
open("/dev/cdc-wdm0", O_RDWR|O_EXCL|O_NOCTTY|O_NONBLOCK|O_LARGEFILE) = 6
fcntl64(6, F_GETFL)                     = 0x2082 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)
fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
epoll_ctl(3, EPOLL_CTL_ADD, 6, {EPOLLIN|EPOLLRDHUP|EPOLLET, {u32=4305304, u64=18491139879337984}}) = 0
write(6, "\1\v\0\0\0\0\0\1'\0\0\0", 12) = 12
rt_sigaction(SIGINT, NULL, {sa_handler=0x401071, sa_mask=[RT_66 RT_67 RT_68 RT_69 RT_70 RT_71], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0}, 16) = 0
rt_sigaction(SIGTERM, NULL, {sa_handler=0x401071, sa_mask=[RT_66 RT_67 RT_68 RT_69 RT_70 RT_71], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0}, 16) = 0
rt_sigaction(SIGCHLD, NULL, {sa_handler=SIG_DFL, sa_mask=[RT_66 RT_67 RT_68 RT_69 RT_70 RT_71], sa_flags=0}, 16) = 0
rt_sigaction(SIGCHLD, {sa_handler=0x77d85541, sa_mask=[RT_68 RT_69 RT_73 RT_74 RT_75 RT_76 RT_78 RT_80 RT_82 RT_84 RT_85 RT_87 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=SA_RESTORER, sa_restorer=0}, NULL, 16) = 0
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[RT_65 RT_68 RT_70], sa_flags=0}, 16) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[RT_68 RT_69 RT_73 RT_74 RT_75 RT_76 RT_78 RT_80 RT_82 RT_84 RT_85 RT_87 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=SA_RESTORER, sa_restorer=0}, NULL, 16) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=7909, tv_nsec=543507701}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=7909, tv_nsec=544052152}) = 0
epoll_pwait(3, 

If I comment the “uqmi –sync” call, it simply works. “–sync” is a new action for uqmi since OpenWRT CC.1

My System is:



LEDE 17.01.0-rc2, r3131-42f3c1f
uqmi 2016-12-19-8ceeab69-1
machine: TP-LINK TL-WDR3600/4300/4310 (ar71xx) with QMI modem Olivetti Techcenter (0b3c:c00a)

19.06.2017857Base systemBug ReportVery LowHighPSG1218 v17.01.2 cannot connect to host with wifi clien...lede-17.01Unconfirmed Task Description

PSG1218 v17.01.2 cannot connect to host with wifi client mode,but v17.01.1 works

 


06.02.2017475KernelBug ReportVery LowMediumPSG1208 LEDAllUnconfirmed Task Description

Mon Feb 6 22:38:18 2017 kern.err kernel: [10214.442640] rt2880-pinmux pinctrl: pin 39 is not set to gpio mux
Mon Feb 6 22:38:18 2017 kern.err kernel: [10214.454723] rt2880-pinmux pinctrl: request() failed for pin 39
Mon Feb 6 22:38:18 2017 kern.err kernel: [10214.466369] rt2880-pinmux pinctrl: pin-39 (pio:39) status -22
Mon Feb 6 22:38:29 2017 kern.err kernel: [10218.295289] rt2880-pinmux pinctrl: pin 39 is not set to gpio mux
Mon Feb 6 22:38:29 2017 kern.err kernel: [10218.307342] rt2880-pinmux pinctrl: request() failed for pin 39
Mon Feb 6 22:38:29 2017 kern.err kernel: [10218.318994] rt2880-pinmux pinctrl: pin-39 (pio:39) status -22
Mon Feb 6 22:38:39 2017 kern.err kernel: [10221.792414] rt2880-pinmux pinctrl: pin 39 is not set to gpio mux
Mon Feb 6 22:38:39 2017 kern.err kernel: [10221.804466] rt2880-pinmux pinctrl: request() failed for pin 39
Mon Feb 6 22:38:39 2017 kern.err kernel: [10221.816116] rt2880-pinmux pinctrl: pin-39 (pio:39) status -22
Mon Feb 6 22:39:03 2017 kern.err kernel: [10229.884578] rt2880-pinmux pinctrl: pin 39 is not set to gpio mux
Mon Feb 6 22:39:03 2017 kern.err kernel: [10229.896642] rt2880-pinmux pinctrl: request() failed for pin 39
Mon Feb 6 22:39:03 2017 kern.err kernel: [10229.908283] rt2880-pinmux pinctrl: pin-39 (pio:39) status -22
Mon Feb 6 22:39:10 2017 kern.warn kernel: [10232.226049] export_store: invalid GPIO 40
Mon Feb 6 22:39:21 2017 kern.warn kernel: [10235.827719] export_store: invalid GPIO 41
Mon Feb 6 22:39:26 2017 kern.warn kernel: [10237.735140] export_store: invalid GPIO 42
Mon Feb 6 22:39:32 2017 kern.warn kernel: [10239.839502] export_store: invalid GPIO 43
Mon Feb 6 22:39:38 2017 kern.warn kernel: [10241.622103] export_store: invalid GPIO 44

 


12.10.2016222Base systemFeature RequestVery LowLowproviding pre-built images for extroot for devices with...TrunkUnconfirmed Task Description

Currently, the only way to be able to make extroot (use an external drive as overlay) for 4MiB devices is to build an image with the Image Builder as they can’t fit the packages needed in the jffs.

For most linux users this isn’t a major issue as the Image Builder runs on Linux and with a couple commands you build all, but it’s still time-consuming.

For everyone else this is an issue, as they need to get a linux system, learn how to use the Image Builder, and so on.

I’m asking if it is possible to make pre-built images with the right packages to allow extroot on 4 MiB devices.

The packages I thing we need in these pre-built images are all is needed by the device to be able to format and check its own drive, because again most users don’t have access to a linux system to format a drive with ext4 or whatever.

It seems e2fsprogs is too big to fit with the other packages required, currently only f2fs filesystem tools are split and can be used in 4MiB devices for extroot.

These are the packages that currently should allow building an extrootable image that fits on 4MiB storage:

blkid block-mount kmod-fs-f2fs kmod-usb-storage kmod-usb-uhci kmod-usb-ohci mkf2fs f2fsck

(of course no luci is included).

10.06.2017837Base systemFeature RequestMediumLowPROVIDES handling for non-virtual packagesTrunkAssigned Task Description

The build system should allow adding PROVIDES for existing package names, to facilitate replacing core packages. At the moment, adding such PROVIDES will not lead to the desired dependencies.

Example: ip-tiny and ip-full both provide ip, the generated Kconfig for +ip depends looks like this:

select PACKAGE_ip-tiny if !PACKAGE_ip-full

This would not work if ip-full was just called ip (applying the following patch to show the issue):

diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile
index 364c1b22a1..d7933ede54 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -39,11 +39,10 @@ $(call Package/iproute2/Default)
  ALTERNATIVES:=200:/sbin/ip:/sbin/ip-tiny
 endef
 
-define Package/ip-full
+define Package/ip
 $(call Package/iproute2/Default)
  TITLE:=Routing control utility (Full)
  VARIANT:=full
- PROVIDES:=ip
  ALTERNATIVES:=300:/sbin/ip:/sbin/ip-full
 endef
 
@@ -120,7 +119,7 @@ define Package/ip-tiny/install
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/sbin/ip-tiny
 endef
 
-define Package/ip-full/install
+define Package/ip/install
 	$(INSTALL_DIR) $(1)/sbin
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/sbin/ip-full
 endef
@@ -158,7 +157,7 @@ define Package/devlink/install
 endef
 
 $(eval $(call BuildPackage,ip-tiny))
-$(eval $(call BuildPackage,ip-full))
+$(eval $(call BuildPackage,ip))
 $(eval $(call BuildPackage,tc))
 $(eval $(call BuildPackage,genl))
 $(eval $(call BuildPackage,ip-bridge))

The Kconfig looks like this now:

select PACKAGE_ip

instead of the expected

select PACKAGE_ip if !PACKAGE_ip-tiny

I expect this can be solved by separating the “vdepends” list from the package list, making each package provide itself, and always resolving DEPENDS through vdepends.

09.03.2017609Base systemFeature RequestMediumLowprocd: implement runlevel 1TrunkNew Task Description

Sysupgrade currently kills processes with SIGKILL if they don’t shut down within 3 seconds after the SIGTERM signal. Some processes (e.g. domoticz) can take longer than 3 seconds to properly shut down. As this can potentially corrupt the sqlite database, it should be avoided.

While talking about this on IRC, it was suggested we should implement an “init 1” equivalent in procd. Adding this ticket as a reminder.

30.06.2017878Base systemBug ReportVery LowLowprocd-ujail dnsmasq cmd-line missing the -n argumentlede-17.01Unconfirmed Task Description

When procd restarts jailed dnsmasq (e.g. due to interface up/down events), the ujail dnsmasq command-line is missing the -n argument

root@OpenWrt:~# uname -a
Linux OpenWrt 4.4.74 #0 Thu Jun 29 08:02:14 2017 mips GNU/Linux
root@OpenWrt:~# 

root@OpenWrt:~# cat /etc/openwrt_*
DISTRIB_ID='LEDE'
DISTRIB_RELEASE='17.01-SNAPSHOT'
DISTRIB_REVISION='r3452-cca765f'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='ar71xx/generic'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='LEDE Reboot 17.01-SNAPSHOT r3452-cca765f'
DISTRIB_TAINTS=''
r3452-cca765f
root@OpenWrt:~# 

After reboot:
 2290 root      2228 S    {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -w /tmp/dhcp.leases -r /tmp/dnsm

After some time (dnsmasq restarting due to interface up/down events):
 6862 root      2228 S    /sbin/ujail -n  -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -w /tmp/dhcp.leases -r /tmp/dnsmasq.d -r /tmp/hos


root@OpenWrt:/tmp# ps
  PID USER       VSZ STAT COMMAND
    1 root      1552 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    5 root         0 SW<  [kworker/0:0H]
    6 root         0 SW   [kworker/u2:0]
    7 root         0 SW<  [netns]
    8 root         0 SW   [kworker/u2:1]
   34 root         0 SW<  [writeback]
   71 root         0 SW<  [crypto]
   73 root         0 SW<  [bioset]
   75 root         0 SW<  [kblockd]
  101 root         0 SW   [kworker/0:1]
  108 root         0 SW   [kswapd0]
  161 root         0 SW   [fsnotify_mark]
  170 root         0 SW   [spi0]
  187 root         0 SW<  [bioset]
  192 root         0 SW<  [bioset]
  197 root         0 SW<  [bioset]
  202 root         0 SW<  [bioset]
  207 root         0 SW<  [bioset]
  212 root         0 SW<  [bioset]
  307 root         0 SW<  [ipv6_addrconf]
  314 root         0 SW<  [deferwq]
  316 root         0 SW<  [kworker/0:1H]
  406 root         0 SWN  [jffs2_gcd_mtd3]
  465 root      1192 S    /sbin/ubusd
  478 root       908 S    /sbin/askfirst /bin/ash --login
  741 root         0 SW<  [cfg80211]
 1007 root      1240 S    /sbin/logd -S 64
 1078 root      1720 S    /sbin/netifd
 1117 root      1412 S    /usr/sbin/odhcpd
 1151 root      1104 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
 1868 root      1208 S    udhcpc -p /var/run/udhcpc-eth0.3.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.3 -C -O 121
 1870 root      1208 S    udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.2 -C -O 121
 2290 root      2228 S    {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -w /tmp/dhcp.leases -r /tmp/dnsm
 2296 dnsmasq   1448 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg02411c -k -x /var/run/dnsmasq/dnsmasq.cfg02411c.pid
 2446 root      1172 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
 2863 root      1780 S    /usr/lib/ipsec/starter --daemon charon
 2865 root      6296 S    /usr/lib/ipsec/charon --use-syslog
 2984 root      1212 S <  /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 1.gr.pool.ntp.org -p 0.europe.pool.ntp.org -p 2.europe.pool.ntp.org
 3462 root      1212 S    -ash
 3710 root         0 SW   [kworker/u2:2]
 3731 root         0 SW   [kworker/0:2]
 3795 root      1660 S    /usr/sbin/wpa_supplicant -B -P /var/run/wpa_supplicant-wlan0-bak.pid -D nl80211 -i wlan0-bak -c /var/run/wpa_supplicant-wlan0-bak.conf -C /var/run/wpa_supplicant
 3813 root      1208 S    udhcpc -p /var/run/udhcpc-wlan0-bak.pid -s /lib/netifd/dhcp.script -f -t 0 -i wlan0-bak -C -O 121
 3818 root      1208 R    ps
root@OpenWrt:/tmp#


root@OpenWrt:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1552 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    5 root         0 SW<  [kworker/0:0H]
    7 root         0 SW<  [netns]
   34 root         0 SW<  [writeback]
   71 root         0 SW<  [crypto]
   73 root         0 SW<  [bioset]
   75 root         0 SW<  [kblockd]
  101 root         0 SW   [kworker/0:1]
  108 root         0 SW   [kswapd0]
  161 root         0 SW   [fsnotify_mark]
  170 root         0 SW   [spi0]
  187 root         0 SW<  [bioset]
  192 root         0 SW<  [bioset]
  197 root         0 SW<  [bioset]
  202 root         0 SW<  [bioset]
  207 root         0 SW<  [bioset]
  212 root         0 SW<  [bioset]
  307 root         0 SW<  [ipv6_addrconf]
  314 root         0 SW<  [deferwq]
  316 root         0 SW<  [kworker/0:1H]
  406 root         0 SWN  [jffs2_gcd_mtd3]
  465 root      1200 S    /sbin/ubusd
  478 root       908 S    /sbin/askfirst /bin/ash --login
  741 root         0 SW<  [cfg80211]
 1007 root      1240 S    /sbin/logd -S 64
 1078 root      1720 S    /sbin/netifd
 1117 root      1412 S    /usr/sbin/odhcpd
 1151 root      1104 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
 1868 root      1208 S    udhcpc -p /var/run/udhcpc-eth0.3.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.3 -C -O 121
 1870 root      1208 S    udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.2 -C -O 121
 2863 root      1780 S    /usr/lib/ipsec/starter --daemon charon
 2865 root      6296 S    /usr/lib/ipsec/charon --use-syslog
 2984 root      1212 S <  /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 1.gr.pool.ntp.org -p 0.europe.pool.ntp.org -p 2.europe.pool.ntp.org
 5899 root         0 SW   [kworker/u2:1]
 6440 root      1172 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
 6441 root      1212 S    -ash
 6527 root         0 SW   [kworker/u2:0]
 6529 root         0 SW   [kworker/0:0]
 6593 root      1640 S    /usr/sbin/wpa_supplicant -B -P /var/run/wpa_supplicant-wlan0-bak.pid -D nl80211 -i wlan0-bak -c /var/run/wpa_supplicant-wlan0-bak.conf -C /var/run/wpa_supplicant
 6611 root      1208 S    udhcpc -p /var/run/udhcpc-wlan0-bak.pid -s /lib/netifd/dhcp.script -f -t 0 -i wlan0-bak -C -O 121
 6862 root      2228 S    /sbin/ujail -n  -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -w /tmp/dhcp.leases -r /tmp/dnsmasq.d -r /tmp/hos
 6863 dnsmasq   1448 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg02411c -k -x /var/run/dnsmasq/dnsmasq.cfg02411c.pid
 7132 root         0 SW   [kworker/u2:2]
 7134 root      1208 R    ps
root@OpenWrt:~# 
root@OpenWrt:~# uptime
 19:30:37 up 21:41,  load average: 0.00, 0.03, 0.07
root@OpenWrt:~#


28.08.2017988Base systemBug ReportVery LowHighProcd does not respect a user's groups when using param...TrunkUnconfirmed Task Description

Hi folks!

I’m referring to git revision 4b3ffecf2b.
Using this, procd does *not* respect a user’s groups (/etc/group) when starting a service.
In my case, I want a particular service running as a particular user (procd_set_param user foo). The user is a member of several groups, and they are needed when running that service.
However, the service runs as user foo, but he is not a member of the other groups as described in /etc/group. I verified it by using a wrapper script which wrote the output of ‘id’ to a file.

Steps to reproduce:
1. Create a user foo having primary group foo and is a member of group bar.
2. Write a short bash script which write the output of ‘id’ to a file.
3. Create a service that starts the aforementioned script.
4. Have a look at the output. It should say something like this: uid=XXX(foo) gid=xxx(foo).

I expect it to be: uid=XXX(foo) gid=XXX(foo) groups=XXX(bar).

Cheers,
Alex


28.06.2017873Base systemBug ReportVery LowMediumproblems of mt7628 wifi driver on miwifi nanoAllRequires testing Task Description

I started using lede on my miwifi nano since the release of version 17.01.1. All function works well except its wireless function.

What makes it a problem is its stability. After a random period of time(ranging from a quarter of an hour to half of a day), it suddenly disconnected. If you try to reconnect, my device shows something like “setting the network address”(varing from devices to devices). After reboot, I found something like “deauthenticated due to inactivity (timer DEAUTH/REMOVE)”. Unfortunately, I haven’t found a way to reproduce the problem till now.

I thought there might be bugs on its wireless driver because on another firmware(http://downloads.pandorabox.com.cn/pandorabox/Xiaomi-Mini-R1CL/firmware/PandoraBox-ralink-mt7628-xiaomi-r1cl-squashfs-sysupgrade-r1752-20151201.bin) which is a variant of Openwrt, it works well.

There are many other problems like the inability to set channel to auto and the txpower option is of no use. But for my daily use, they may not so important compared to the connectivity problem.

Sorry for my bad English and thank you for fixing it.

17.07.2017911OtherBug ReportVery LowLowProblem with login into private git reposAllWaiting on reporter Task Description

I am not able to use packages from my private git repos which needs login. The system during the build process don’t ask me for login as before.

Here is the verbose log output:

make[3]: Leaving directory `/home/flowtester/caes/platform/package/base-files'
make[3]: Entering directory `/home/flowtester/caes/platform/package-bumblebee/packages/libdevereader'
mkdir -p /home/flowtester/caes/platform/dl
SHELL= flock /home/flowtester/caes/platform/tmp/.libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860.tar.gz.flock -c '          echo "Checking out files from the git repository..."; mkdir -p /home/flowtester/caes/platform/tmp/dl && cd /home/flowtester/caes/platform/tmp/dl && rm -rf libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 && [ \! -d libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 ] && git clone  https://redmine.develict.com/git/devereader libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 && (cd libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 && git checkout daa94e0fad44a000892570665e6c792fd9cad860 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 && git log -1 --format='\''@%ct'\''` && rm -rf libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860/.git &&  tar --numeric-owner --owner=0 --group=0 --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 |     gzip -nc > /home/flowtester/caes/platform/tmp/dl/libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860.tar.gz && mv /home/flowtester/caes/platform/tmp/dl/libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860.tar.gz /home/flowtester/caes/platform/dl/ && rm -rf libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860;     '
Checking out files from the git repository...
Cloning into 'libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860'...
fatal: Authentication failed for 'https://redmine.develict.com/git/devereader/'
make[3]: *** [/home/flowtester/caes/platform/dl/libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860.tar.gz] Error 128
make[3]: Leaving directory `/home/flowtester/caes/platform/package-bumblebee/packages/libdevereader'
make[2]: *** [package/feeds/bumblebee/libdevereader/compile] Error 2
make[2]: Leaving directory `/home/flowtester/caes/platform'
make[1]: *** [/home/flowtester/caes/platform/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/flowtester/caes/platform'
make: *** [world] Error 2

If I try it manually from cli everythings works but not during the prepare process ....


17.01.2017394Base systemBug ReportVery LowLowPPPoE/802.1Q issues on Linksys WRT1900ACSTrunkUnconfirmed Task Description

Device: Linksys WRT1900ACS
LEDE commit: b9a408c2b49ccfa0e906bda00ef77f4002e401fd

diffconfig:
CONFIG_TARGET_mvebu=y
CONFIG_TARGET_mvebu_DEVICE_linksys-wrt1900acs=y
CONFIG_TARGET_BOARD=”mvebu” CONFIG_LIBSODIUM_MINIMAL=y
CONFIG_PACKAGE_dnscrypt-proxy=y
CONFIG_PACKAGE_dnscrypt-proxy-resolvers=y
CONFIG_PACKAGE_libsodium=y

I have an ISP that requires PPPoE on vlan 201 with 802.1Q tags (CenturyLink fiber). On OpenWRT 15.05.1 and on earlier versions of LEDE (not sure about an exact revision, but maybe October/November timeframe) I could simply define my wan interface in /etc/config/network like this and it just worked:

```
config interface ‘wan’

  option ifname 'eth0.201'
  option proto 'pppoe'
  option username 'user@provider'
  option password 'password'

```

I can’t find any way to make this work on recent versions of LEDE. I’ve tried new builds at least every few weeks, but none have worked for the past few months. I’ve tried configuring the switch_vlan section by adding a ‘t’ after the appropriate switch port to enable tagging, I’ve tried defining a new interface and then using that as the wan ifname, and I’ve tried the command line `ip link` and `ppp` invocations that work on every other linux system I’ve tried, but I can’t find anything that works on recent versions of LEDE.

On other linux systems I can do roughly the following and it works:

```
ip link add link eth0 name eth0.201 type vlan id 201
ip link set eth0.201 up
pppd call centurylink
```

where /etc/ppp/peers/centurylink and /etc/ppp/chap-secrets looks like this:
```
> cat /etc/ppp/peers/centurylink
plugin rp-pppoe.so

eth0.201
name “user@provider” usepeerdns
persist
defaultroute
hide-password
noauth

cat /etc/ppp/chap-secrets
#USERNAME PROVIDER PASSWORD IPADDRESS
user@provider * password
```

I’ve tried using tcpdump to capture what’s happening and on other systems (Ubuntu 16.10, Debian Jessie, pfsense) I see an 802.1Q tag, but I don’t see that on LEDE. That might be expected though because it seems totally possible that the switch itself is doing the 802.1Q stuff and tcpdump doesn’t see the actual packets sent over the wire. I have no idea if that’s the case, though. I guess I could also try this on OpenWRT as well, but I haven’t taken the time to do that yet.

The only other difference I’ve seen is that by default LEDE doesn’t send a Host-Uniq tag, but even if I set the host_uniq uci config it doesn’t fix things. Regardless of what I do I see logs that look like this:

```
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ is now down
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ is disabled
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ has link connectivity loss
Tue Jan 17 01:55:26 2017 kern.info kernel: [23415.581135] mvneta f1034000.ethernet eth0: configuring for fixed link mode
Tue Jan 17 01:55:26 2017 kern.info kernel: [23415.588150] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Tue Jan 17 01:55:26 2017 kern.info kernel: [23415.594095] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ is enabled
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Network device ‘eth0’ link is up
Tue Jan 17 01:55:26 2017 daemon.notice netifd: VLAN ‘eth0.201’ link is up
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ has link connectivity
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ is setting up now
Tue Jan 17 01:55:26 2017 kern.info kernel: [23415.602431] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Tue Jan 17 01:55:26 2017 daemon.info pppd[2263]: Plugin rp-pppoe.so loaded.
Tue Jan 17 01:55:26 2017 daemon.info pppd[2263]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Tue Jan 17 01:55:26 2017 daemon.notice pppd[2263]: pppd 2.4.7 started by root, uid 0
...
Tue Jan 17 01:55:41 2017 daemon.warn pppd[2263]: Timeout waiting for PADO packets
Tue Jan 17 01:55:41 2017 daemon.err pppd[2263]: Unable to complete PPPoE Discovery
Tue Jan 17 01:55:41 2017 daemon.info pppd[2263]: Exit.
```

A sample /etc/config/network looks like this:
```
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 'fd25:2a59:2a7b::/48'

config interface ‘lan’

      option type 'bridge'
      option ifname 'eth1'
      option proto 'static'
      option ipaddr '192.168.2.1'
      option netmask '255.255.255.0'
      option ip6assign '60'

config interface ‘wan’

  option ifname 'eth0.201'
  option proto 'pppoe'
  option username 'user@provider'
  option password 'password'

config switch

      option name 'switch0'
      option reset '1'
      option enable_vlan '1'

config switch_vlan

      option device 'switch0'
      option vlan '1'
      option ports '0 1 2 3 6'

config switch_vlan

      option device 'switch0'
      option vlan '2'
      option ports '4 5'

config interface ‘guest’

      option _orig_ifname 'wlan1'
      option _orig_bridge 'false'
      option proto 'static'
      option ipaddr '192.168.3.1'
      option netmask '255.255.255.0'

```

Interestingly, OpenWRT has exactly the same version of ppp and rp-pppoe (2.4.7 and 3.8p, respectively) so it seems like there’s something else in play and my guess is it’s related to vlan tagging, but I don’t seem to have the same issue as FS#227 which mentions both PPPoE and vlan config, but it is quite difficult to follow the discussion there so maybe I’m missing something.

09.06.2017833Base systemBug ReportVery LowMediumpppoe memory problemlede-17.01Unconfirmed Task Description

I have observed a problem with pppoe connection. PPP runs well, but if the connection is interrupted by synchronization etc. then the free memory is less.

If I pull the plug and wait, then the system rapidly loses free memory and then crashes by approximately 25 MB of free RAM.

echo 3> /proc/sys/vm/drop_caches does not help in this case.

Tested on Linksys WRT1200AC, kernel 4.4.69 and 4.4.70
LEDE 17.01

Is there a way to investigate the problem more closely?

Many Thanks

Edy

15.05.2017786Base systemFeature RequestVery LowMediumPlease, add support to ecdsa key typelede-17.01Researching Task Description

At the moment dropbear tool is compiled without the ecdsa key type support.
ECDSA (https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm) is considere better than RSA as it requires fewer key bits to gain same security.

28.08.2017987KernelBug ReportVery LowHighPhicomm psg1208 5G wlan bugsAllUnconfirmed Task Description

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

 

Route:phicomm-psg1208
firewave version:lede17.01 or Trunk

Hello,thanks for you give.I have to report a bug about the 76×2‘s driver.When I connect with the 5G-WALN.My online game is easily to dropped or Sometimes can’t conecet to the Game Server.IF I connet with the 2.4G-WALN that will not dropped and My game could be played normally.I have tested the padavan that 2.5G/5G is working normally.

14.07.2017906PackagesBug ReportMediumLowperf doesn't build on x86TrunkNew Task Description

LEDE master 683e73735ebe64ffdbc55aa0037815e4ae282332 x86/64

make[1]: Entering directory '/home/stijn/Development/LEDE/source'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/devel/perf'
rm -rf /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl
rm -f /home/stijn/Development/LEDE/source/bin/targets/x86/64/packages/perf_4.4.74-2_x86_64.ipk
rm -f /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/stamp/.perf_installed
rm -f /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/packages/perf.list /home/stijn/Development/LEDE/source/staging_dir/host/packages/perf.list
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/devel/perf'
make[1]: Leaving directory '/home/stijn/Development/LEDE/source'
make[1]: Entering directory '/home/stijn/Development/LEDE/source'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/toolchain'
echo "libc" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libgcc" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libstdcpp" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libpthread" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "librt" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/toolchain'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/zlib'
echo "zlib" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/zlib.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/zlib'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/gettext'
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/gettext'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/libiconv'
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/libiconv'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/devel/binutils'
echo "libbfd" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/binutils.default.install
echo "libopcodes" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/binutils.default.install
echo "objdump" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/binutils.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/devel/binutils'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/utils/bzip2'
echo "libbz2" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/bzip2.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/utils/bzip2'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/argp-standalone'
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/argp-standalone'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/elfutils'
echo "libdw" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/elfutils.default.install
echo "libelf1" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/elfutils.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/elfutils'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/devel/perf'
touch /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.prepared_b5b87dd2e8f7ab9635c0cd3762fb0d45_6664517399ebbbc92a37c5bb081b5c53_check
cp -fpR /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/* /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/
touch /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.prepared_b5b87dd2e8f7ab9635c0cd3762fb0d45_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/stamp/.perf_installed
(cd /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/./; if [ -x ./configure ]; then find /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/ -name config.guess | xargs -r chmod u+w; find /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/ -name config.guess | xargs -r -n1 cp --remove-destination /home/stijn/Development/LEDE/source/scripts/config.guess; find /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/ -name config.sub | xargs -r chmod u+w; find /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/ -name config.sub | xargs -r -n1 cp --remove-destination /home/stijn/Development/LEDE/source/scripts/config.sub; AR="x86_64-openwrt-linux-musl-gcc-ar" AS="x86_64-openwrt-linux-musl-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl:perf-target-x86_64_musl -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro" LD=x86_64-openwrt-linux-musl-ld NM="x86_64-openwrt-linux-musl-gcc-nm" CC="x86_64-openwrt-linux-musl-gcc" GCC="x86_64-openwrt-linux-musl-gcc" CXX="x86_64-openwrt-linux-musl-g++" RANLIB="x86_64-openwrt-linux-musl-gcc-ranlib" STRIP=x86_64-openwrt-linux-musl-strip OBJCOPY=x86_64-openwrt-linux-musl-objcopy OBJDUMP=x86_64-openwrt-linux-musl-objdump SIZE=x86_64-openwrt-linux-musl-size CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl:perf-target-x86_64_musl -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl:perf-target-x86_64_musl -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro " CPPFLAGS="-I/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/usr/include -I/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/include -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/usr/include -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/fortify -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include " LDFLAGS="-L/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/usr/lib -L/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/lib -L/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/usr/lib -L/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/lib -znow -zrelro "   ./configure --target=x86_64-openwrt-linux --host=x86_64-openwrt-linux --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls  ; fi; )
rm -f /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.configured_*
touch /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.configured_68b329da9893e34099c7d8ad5cb9c940
rm -f /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.built
touch /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.built_check
ARCH="x86" NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_LZMA=1 NO_BACKTRACE=1 NO_LIBNUMA=1 NO_GTK2=1 NO_LIBAUDIT=1 NO_LIBCRYPTO=1 NO_LIBUNWIND=1 CROSS_COMPILE="x86_64-openwrt-linux-musl-" CC="x86_64-openwrt-linux-musl-gcc" LD="x86_64-openwrt-linux-musl-ld" CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl:perf-target-x86_64_musl -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -I/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/usr/include -I/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/include -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/usr/include -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/fortify -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include" LDFLAGS="-L/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/usr/lib -L/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/lib -L/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/usr/lib -L/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/lib -znow -zrelro" V='' WERROR=0 prefix=/usr make  -C /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl -f Makefile.perf --no-print-directory

Auto-detecting system features:
...                         dwarf: [ on  ]
...            dwarf_getlocations: [ on  ]
...                         glibc: [ OFF ]
...                          gtk2: [ OFF ]
...                      libaudit: [ OFF ]
...                        libbfd: [ on  ]
...                        libelf: [ on  ]
...                       libnuma: [ OFF ]
...        numa_num_possible_cpus: [ OFF ]
...                       libperl: [ OFF ]
...                     libpython: [ on  ]
...                      libslang: [ OFF ]
...                     libcrypto: [ on  ]
...                     libunwind: [ OFF ]
...            libdw-dwarf-unwind: [ on  ]
...                          zlib: [ on  ]
...                          lzma: [ OFF ]
...                     get_cpuid: [ on  ]
...                           bpf: [ on  ]

Makefile.config:360: No sys/sdt.h found, no SDT events are defined, please install systemtap-sdt-devel or systemtap-sdt-dev
Makefile.config:569: Python support disabled by user
  PERF_VERSION = 4.9.34
  GEN      common-cmds.h
Warning: x86_64's syscall_64.tbl differs from kernel
  CC       util/alias.o
In file included from util/alias.c:2:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/../ui/ui.h:4,
                 from util/cache.h:6,
                 from util/alias.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/annotate.o
  CC       util/block-range.o
In file included from util/symbol.h:16:0,
                 from util/block-range.h:4,
                 from util/block-range.c:1:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/block-range.h:4,
                 from util/block-range.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/build-id.o
  CC       util/config.o
  CC       util/ctype.o
  CC       util/db-export.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/db-export.c:18:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/evsel.h:10,
                 from util/db-export.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/env.o
In file included from util/env.c:3:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/debug.h:7,
                 from util/cpumap.h:9,
                 from util/env.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/event.o
In file included from util/symbol.h:16:0,
                 from util/callchain.h:9,
                 from util/hist.h:6,
                 from util/event.c:6:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/event.c:4:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/evlist.o
  CC       util/evsel.o
In file included from util/symbol.h:16:0,
                 from util/callchain.h:9,
                 from util/evsel.c:19:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/callchain.h:7,
                 from util/evsel.c:19:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/evsel_fprintf.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evsel_fprintf.c:4:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/evsel.h:10,
                 from util/evsel_fprintf.c:4:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/find_bit.o
  CC       util/kallsyms.o
  CC       util/levenshtein.o
  CC       util/llvm-utils.o
In file included from util/llvm-utils.c:13:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/llvm-utils.c:10:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  BISON    util/parse-events-bison.c
  FLEX     util/parse-events-flex.c
  CC       util/parse-events.o
  CC       util/perf_regs.o
  CC       util/path.o
In file included from util/path.c:14:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/../ui/ui.h:4,
                 from util/cache.h:6,
                 from util/path.c:13:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/rbtree.o
  CC       util/libstring.o
  CC       util/bitmap.o
  CC       util/hweight.o
  CC       util/quote.o
  CC       util/strbuf.o
In file included from util/strbuf.c:2:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/strbuf.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/string.o
  CC       util/strlist.o
  CC       util/strfilter.o
  CC       util/top.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/top.c:11:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/debug.h:7,
                 from util/cpumap.h:9,
                 from util/top.c:9:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/usage.o
  CC       util/dso.o
In file included from util/symbol.h:16:0,
                 from util/dso.c:4:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/dso.c:4:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/symbol.o
In file included from util/symbol.h:16:0,
                 from util/annotate.h:7,
                 from util/symbol.c:12:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/annotate.h:7,
                 from util/symbol.c:12:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/symbol_fprintf.o
In file included from util/symbol.h:16:0,
                 from util/symbol_fprintf.c:5:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/symbol_fprintf.c:5:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/color.o
  CC       util/header.o
  CC       util/callchain.o
In file included from util/symbol.h:16:0,
                 from util/callchain.h:9,
                 from util/hist.h:6,
                 from util/callchain.c:20:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/hist.h:5,
                 from util/callchain.c:20:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/values.o
  CC       util/debug.o
In file included from util/debug.c:15:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/../ui/ui.h:4,
                 from util/cache.h:6,
                 from util/debug.c:11:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/machine.o
In file included from util/symbol.h:16:0,
                 from util/callchain.h:9,
                 from util/machine.c:1:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/callchain.h:7,
                 from util/machine.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/map.o
In file included from util/symbol.h:16:0,
                 from util/map.c:1:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/map.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/pstack.o
  CC       util/session.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/session.c:9:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/evlist.h:9,
                 from util/session.c:9:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/ordered-events.o
In file included from util/symbol.h:16:0,
                 from util/session.h:8,
                 from util/ordered-events.c:5:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/session.h:5,
                 from util/ordered-events.c:5:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/comm.o
  CC       util/thread.o
In file included from util/symbol.h:16:0,
                 from util/session.h:8,
                 from util/thread.c:5:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/session.h:5,
                 from util/thread.c:5:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/thread_map.o
  CC       util/trace-event-parse.o
  CC       util/parse-events-flex.o
  CC       util/parse-events-bison.o
  BISON    util/pmu-bison.c
  FLEX     util/pmu-flex.c
  CC       util/pmu.o
  CC       util/pmu-flex.o
  CC       util/pmu-bison.o
  CC       util/trace-event-read.o
In file included from util/trace-event-read.c:36:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/trace-event-read.c:30:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/trace-event-info.o
  CC       util/trace-event-scripting.o
  CC       util/trace-event.o
In file included from util/trace-event.c:16:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/machine.h:6,
                 from util/trace-event.c:15:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/svghelper.o
  CC       util/sort.o
  CC       util/hist.o
  CC       util/util.o
  CC       util/xyarray.o
  CC       util/cpumap.o
  CC       util/cgroup.o
  CC       util/target.o
  CC       util/rblist.o
  CC       util/intlist.o
  CC       util/vdso.o
  CC       util/counts.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/counts.c:2:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/evsel.h:10,
                 from util/counts.c:2:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/stat.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/stat.c:3:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/evlist.h:9,
                 from util/stat.c:3:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/stat-shadow.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/stat-shadow.c:2:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/evsel.h:10,
                 from util/stat-shadow.c:2:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/record.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/record.c:1:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/evlist.h:9,
                 from util/record.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/srcline.o
In file included from util/srcline.c:8:0:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/dso.h:9,
                 from util/srcline.c:7:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/data.o
  CC       util/tsc.o
  CC       util/cloexec.o
In file included from util/cloexec.c:2:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from util/cloexec.c:1:0:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/call-path.o
  CC       util/thread-stack.o
In file included from util/symbol.h:16:0,
                 from util/thread.h:9,
                 from util/thread-stack.c:18:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/thread.h:9,
                 from util/thread-stack.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/auxtrace.o
  CC       util/intel-pt-decoder/intel-pt-pkt-decoder.o
  GEN      util/intel-pt-decoder/inat-tables.c
  CC       util/intel-pt-decoder/intel-pt-insn-decoder.o
  CC       util/intel-pt-decoder/intel-pt-log.o
  CC       util/intel-pt-decoder/intel-pt-decoder.o
In file included from util/intel-pt-decoder/intel-pt-decoder.c:27:0:
util/intel-pt-decoder/../util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/intel-pt-decoder/../../ui/ui.h:4,
                 from util/intel-pt-decoder/../cache.h:6,
                 from util/intel-pt-decoder/intel-pt-decoder.c:26:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  LD       util/intel-pt-decoder/libperf-in.o
  LD       util/scripting-engines/libperf-in.o
  CC       util/intel-pt.o
In file included from util/symbol.h:16:0,
                 from util/session.h:8,
                 from util/intel-pt.c:23:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/session.h:5,
                 from util/intel-pt.c:23:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/intel-bts.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/intel-bts.c:25:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/debug.h:7,
                 from util/cpumap.h:9,
                 from util/intel-bts.c:23:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/parse-branch-options.o
  CC       util/parse-regs-options.o
  CC       util/term.o
  CC       util/help-unknown-cmd.o
In file included from util/../builtin.h:4:0,
                 from util/help-unknown-cmd.c:5:
util/../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/../ui/ui.h:4,
                 from util/cache.h:6,
                 from util/help-unknown-cmd.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/mem-events.o
In file included from util/symbol.h:16:0,
                 from util/mem-events.c:11:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/mem-events.c:10:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/vsprintf.o
  CC       util/drv_configs.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/drv_configs.h:20,
                 from util/drv_configs.c:16:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/evlist.h:9,
                 from util/drv_configs.h:20,
                 from util/drv_configs.c:16:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/bpf-loader.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/bpf-loader.h:13,
                 from util/bpf-loader.c:15:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/bpf-loader.c:14:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/bpf-prologue.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/bpf-loader.h:13,
                 from util/bpf-prologue.c:12:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/bpf-prologue.c:11:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/symbol-elf.o
In file included from util/symbol.h:16:0,
                 from util/symbol-elf.c:8:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/symbol-elf.c:8:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/probe-file.o
  CC       util/probe-event.o
  CC       util/probe-finder.o
In file included from util/probe-finder.c:39:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/probe-finder.c:35:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/dwarf-aux.o
  CC       util/dwarf-regs.o
  CC       util/unwind-libdw.o
In file included from util/symbol.h:16:0,
                 from util/unwind.h:6,
                 from util/unwind-libdw.c:7:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/unwind-libdw.c:6:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/zlib.o
  CC       util/demangle-java.o
  CC       util/demangle-rust.o
  CC       util/jitdump.o
util/jitdump.c: In function 'jit_process':
util/jitdump.c:622:3: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
   fprintf(stderr, "injected: %s (%d)\n", path, ret);
   ^
util/jitdump.c:584:6: note: 'ret' was declared here
  int ret;
      ^
  CC       util/genelf.o
  CC       util/genelf_debug.o
  LD       util/libperf-in.o
  CC       arch/common.o
In file included from arch/common.c:4:0:
arch/../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/debug.h:7,
                 from arch/../util/cpumap.h:9,
                 from arch/../util/env.h:5,
                 from arch/common.h:4,
                 from arch/common.c:3:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       arch/x86/util/header.o
  CC       arch/x86/util/tsc.o
  CC       arch/x86/util/pmu.o
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:16:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/pmu.h:7,
                 from arch/x86/util/pmu.c:7:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:7,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/pmu.h:7,
                 from arch/x86/util/pmu.c:7:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       arch/x86/util/kvm-stat.o
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:16:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/kvm-stat.h:5,
                 from arch/x86/util/kvm-stat.c:1:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:7,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/kvm-stat.h:5,
                 from arch/x86/util/kvm-stat.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       arch/x86/util/perf_regs.o
  CC       arch/x86/util/group.o
  CC       arch/x86/util/dwarf-regs.o
  CC       arch/x86/util/unwind-libdw.o
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:16:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/thread.h:9,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/unwind-libdw.h:6,
                 from arch/x86/util/unwind-libdw.c:2:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/unwind-libdw.h:5,
                 from arch/x86/util/unwind-libdw.c:2:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       arch/x86/util/auxtrace.o
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:12:0,
                 from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/asm/byteorder.h:4,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/include/uapi/linux/perf_event.h:19,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/header.h:4,
                 from arch/x86/util/auxtrace.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:160:8: error: unknown type name '__always_inline'
 static __always_inline __u16 __swab16p(const __u16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:160:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__swab16p'
 static __always_inline __u16 __swab16p(const __u16 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:173:8: error: unknown type name '__always_inline'
 static __always_inline __u32 __swab32p(const __u32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:173:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__swab32p'
 static __always_inline __u32 __swab32p(const __u32 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:186:8: error: unknown type name '__always_inline'
 static __always_inline __u64 __swab64p(const __u64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:186:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__swab64p'
 static __always_inline __u64 __swab64p(const __u64 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:241:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static __always_inline void __swab32s(__u32 *p)
                        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:254:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static __always_inline void __swab64s(__u64 *p)
                        ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/asm/byteorder.h:4:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/include/uapi/linux/perf_event.h:19,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/header.h:4,
                 from arch/x86/util/auxtrace.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:43:8: error: unknown type name '__always_inline'
 static __always_inline __le64 __cpu_to_le64p(const __u64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:43:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_le64p'
 static __always_inline __le64 __cpu_to_le64p(const __u64 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:47:8: error: unknown type name '__always_inline'
 static __always_inline __u64 __le64_to_cpup(const __le64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:47:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le64_to_cpup'
 static __always_inline __u64 __le64_to_cpup(const __le64 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:51:8: error: unknown type name '__always_inline'
 static __always_inline __le32 __cpu_to_le32p(const __u32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:51:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_le32p'
 static __always_inline __le32 __cpu_to_le32p(const __u32 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:55:8: error: unknown type name '__always_inline'
 static __always_inline __u32 __le32_to_cpup(const __le32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:55:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le32_to_cpup'
 static __always_inline __u32 __le32_to_cpup(const __le32 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:59:8: error: unknown type name '__always_inline'
 static __always_inline __le16 __cpu_to_le16p(const __u16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:59:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_le16p'
 static __always_inline __le16 __cpu_to_le16p(const __u16 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:63:8: error: unknown type name '__always_inline'
 static __always_inline __u16 __le16_to_cpup(const __le16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:63:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le16_to_cpup'
 static __always_inline __u16 __le16_to_cpup(const __le16 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:67:8: error: unknown type name '__always_inline'
 static __always_inline __be64 __cpu_to_be64p(const __u64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:67:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_be64p'
 static __always_inline __be64 __cpu_to_be64p(const __u64 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:71:8: error: unknown type name '__always_inline'
 static __always_inline __u64 __be64_to_cpup(const __be64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:71:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be64_to_cpup'
 static __always_inline __u64 __be64_to_cpup(const __be64 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:75:8: error: unknown type name '__always_inline'
 static __always_inline __be32 __cpu_to_be32p(const __u32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:75:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_be32p'
 static __always_inline __be32 __cpu_to_be32p(const __u32 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:79:8: error: unknown type name '__always_inline'
 static __always_inline __u32 __be32_to_cpup(const __be32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:79:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be32_to_cpup'
 static __always_inline __u32 __be32_to_cpup(const __be32 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:83:8: error: unknown type name '__always_inline'
 static __always_inline __be16 __cpu_to_be16p(const __u16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:83:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_be16p'
 static __always_inline __be16 __cpu_to_be16p(const __u16 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:87:8: error: unknown type name '__always_inline'
 static __always_inline __u16 __be16_to_cpup(const __be16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:87:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be16_to_cpup'
 static __always_inline __u16 __be16_to_cpup(const __be16 *p)
                              ^
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:16:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/pmu.h:7,
                 from arch/x86/util/auxtrace.c:20:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/header.h:9,
                 from arch/x86/util/auxtrace.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
mv: cannot stat 'arch/x86/util/.auxtrace.o.tmp': No such file or directory
make[7]: *** [/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/build/Makefile.build:92: arch/x86/util/auxtrace.o] Error 1
make[6]: *** [/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/build/Makefile.build:134: util] Error 2
make[5]: *** [/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/build/Makefile.build:134: x86] Error 2
make[4]: *** [/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/build/Makefile.build:134: arch] Error 2
make[3]: *** [Makefile.perf:559: libperf-in.o] Error 2
make[2]: *** [Makefile:85: /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.built] Error 2
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/devel/perf'
make[1]: *** [package/Makefile:111: package/devel/perf/compile] Error 2
make[1]: Leaving directory '/home/stijn/Development/LEDE/source'
make: *** [/home/stijn/Development/LEDE/source/include/toplevel.mk:209: package/perf/compile] Error 2
15.02.2017517Base systemBug ReportVery LowVery LowPCEngines Alix Ethernet right hand led lit on boot for ...lede-17.01Unconfirmed Task Description

PCEngines Alix, Ethernet right hand led is on once booted, on all ports, with no cable connected.
LEDE Reboot 17.01.0-rc2
Image used: lede-17.01.0-rc2-r3131-42f3c1f-x86-geode-combined-squashfs.img

On booting the right hand LED is on for all ethernet ports with no cable connected. On connecting a cable the left hand light comes on as expected and the right hand stays on. Both leds then flash with traffic as expected.

Operation is not effected.

13.07.2017903Base systemBug ReportVery LowLowPB44 board vsc7385 don't workTrunkUnconfirmed Task Description

use the lede head code ,make the PB44 code, the PB44 borad can work ,but the lan deivice not good. From the log Just fond the vsc7358 switch not work


03.09.2017998PackagesBug ReportLowLowpackages: "make packages/X/check" should print warnings...TrunkNew Task Description

Currently, when running “make check” on a single package, it does not print any warning. V=s is needed to see the warnings. The build system should print the warnings in all cases, because that’s what the user asks for!

To reproduce:

$ make package/nlbwmon/check 
 make[1] package/nlbwmon/check
 make[2] -C feeds/packages/net/nlbwmon check
$ make package/nlbwmon/check V=s
make[1]: Entering directory '/tmp/lede'
make[2]: Entering directory '/tmp/lede/feeds/packages/net/nlbwmon'
WARNING: nlbwmon-2017-08-02-32fc0925.tar.xz is missing, please run make download before re-running this check
make[2]: Leaving directory '/tmp/lede/feeds/packages/net/nlbwmon'
make[1]: Leaving directory '/tmp/lede'

The main target make check (without specifying any package) works fine, because it seems to run in verbose mode by default:

$ make check
make[3]: Entering directory '/tmp/lede/tools/gmp'
make[3]: Leaving directory '/tmp/lede/tools/gmp'
...
make[3]: Entering directory '/tmp/lede/package/network/utils/iwinfo'
WARNING: PKG_MIRROR_HASH is missing, set to 7bd294f50f8ec8c0497c5fbe5527f3ae098814cdfeecf4ccf78a2a8937611664
make[3]: Leaving directory '/tmp/lede/package/network/utils/iwinfo'
...

I tried to fix the issue myself but this is way above my understanding of make.

10.04.2017699Base systemBug ReportVery LowLowpackages install conflictTrunkAssigned Task Description

Supply the following if possible:
- Xiaomi Mini
- snapshot from 9.4.2017./happened few weeks ago too
- try to build image will fail in the end of the process

 

because of procps-ng free, pgrep, top, uptime which conflict with busybox version of the same apps

28.08.2017990Base systemBug ReportVery LowLowopenvpn-openssl does not build without deprecated OpenS...TrunkUnconfirmed Task Description

With LEDE HEAD (4b3ffecf2bbbfb8df618314e5bec52659b648fac) and no CONFIG_OPENSSL_WITH_DEPRECATED, I get

ccache_cc -DHAVE_CONFIG_H -I. -I../.. -I../../include  -I../../include -I../../src/compat -I/tank/openwrt/scratch/builder-usbnetgw/staging_dir/target-mips_24kc_musl/usr/include -I/tank/openwrt/scratch/builder-usbnetgw/staging_dir/target-mips_24kc_musl/include -I/tank/openwrt/scratch/builder-usbnetgw/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/usr/include -I/tank/openwrt/scratch/builder-usbnetgw/staging_dir/toolchain-
mips_24kc_gcc-5.4.0_musl/include/fortify -I/tank/openwrt/scratch/builder-usbnetgw/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include   -I/tank/openwrt/scratch/builder-usbnetgw/staging_dir/target-mips_24kc_musl/usr/include   -I/tank/openwrt/scratch/builder-usbnetgw/staging_dir/target-mips_24kc_musl/usr/include -DPLUGIN_LIBDIR=\"/usr/lib/openvpn/plugins\"  -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller
-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/tank/openwrt/scratch/builder-usbnetgw/build_dir/target-mips_24kc_musl/openvpn-openssl/openvpn-2.4.3:openvpn-2.4.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections  -std=c99 -MT crypto_openssl.o -MD -MP
-MF .deps/crypto_openssl.Tpo -c -o crypto_openssl.o crypto_openssl.c
In file included from syshead.h:182:0,
                 from crypto_openssl.c:35:
/tank/openwrt/scratch/builder-usbnetgw/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  ^
In file included from crypto_openssl.c:44:0:
openssl_compat.h: In function 'RSA_set_flags':
openssl_compat.h:326:12: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}'
         rsa->flags = flags;
            ^
openssl_compat.h: In function 'RSA_get0_key':
openssl_compat.h:346:23: error: dereferencing pointer to incomplete type 'RSA {aka const struct rsa_st}'
         *n = rsa ? rsa->n : NULL;
                       ^
openssl_compat.h: In function 'RSA_set0_key':
openssl_compat.h:380:9: warning: implicit declaration of function 'BN_free' [-Wimplicit-function-declaration]
         BN_free(rsa->n);
         ^
openssl_compat.h: In function 'RSA_bits':
openssl_compat.h:410:16: warning: implicit declaration of function 'BN_num_bits' [-Wimplicit-function-declaration]
     return n ? BN_num_bits(n) : 0;
                ^
openssl_compat.h: In function 'DSA_get0_pqg':
openssl_compat.h:429:23: error: dereferencing pointer to incomplete type 'DSA {aka const struct dsa_st}'
         *p = dsa ? dsa->p : NULL;
                       ^
In file included from crypto_openssl.c:40:0:
openssl_compat.h: In function 'RSA_meth_new':
openssl_compat.h:470:31: error: invalid application of 'sizeof' to incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
     ALLOC_OBJ_CLEAR(rsa_meth, RSA_METHOD);
                               ^
buffer.h:1014:61: note: in definition of macro 'ALLOC_OBJ'
         check_malloc_return((dptr) = (type *) malloc(sizeof(type))); \
                                                             ^
openssl_compat.h:470:5: note: in expansion of macro 'ALLOC_OBJ_CLEAR'
     ALLOC_OBJ_CLEAR(rsa_meth, RSA_METHOD);
     ^
openssl_compat.h:470:31: error: invalid application of 'sizeof' to incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
     ALLOC_OBJ_CLEAR(rsa_meth, RSA_METHOD);
                               ^
buffer.h:1020:34: note: in definition of macro 'ALLOC_OBJ_CLEAR'
         memset((dptr), 0, sizeof(type)); \
                                  ^
In file included from crypto_openssl.c:44:0:
openssl_compat.h:471:13: error: dereferencing pointer to incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
     rsa_meth->name = string_alloc(name, NULL);
             ^
Makefile:672: recipe for target 'crypto_openssl.o' failed
make[7]: *** [crypto_openssl.o] Error 1

This looks to be due to incomplete backports of openssl1.1 changes into 1.0.2l (or earlier 1.0 releases, I’m not sure). In particular, many of these pieces of code are guarded by #ifdef HAVE_... tests which are currently evaluating to false. For example,
HAVE_DSA_GET0_PQG is unset because

<code>
configure:16116: checking for DSA_get0_pqg
configure:16116: ccache_cc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/tank/openwrt/scratch/builder-usbnetgw/build_dir/target-mips_24kc_musl/openvpn-openssl/openvpn-2.4.3:openvpn-2.4.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -std=c99 -I/tank/openwrt/scratch/builder-usbnetgw/staging_dir/target-mips_24kc_musl/usr/include -I/tank/openwrt/scratch/builder-usbnetgw/staging_dir/target-mips_24kc_musl/usr/include -I/tank/openwrt/scratch/builder-usbnetgw/staging_dir/target-mips_24kc_musl/include -I/tank/openwrt/scratch/builder-usbnetgw/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/usr/include -I/tank/openwrt/scratch/builder-usbnetgw/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/fortify -I/tank/openwrt/scratch/builder-usbnetgw/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include -L/tank/openwrt/scratch/builder-usbnetgw/staging_dir/target-mips_24kc_musl/usr/lib -L/tank/openwrt/scratch/builder-usbnetgw/staging_dir/target-mips_24kc_musl/lib -L/tank/openwrt/scratch/builder-usbnetgw/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/usr/lib -L/tank/openwrt/scratch/builder-usbnetgw/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/lib -znow -zrelro -Wl,–gc-sections conftest.c -L/tank/openwrt/scratch/builder-usbnetgw/staging_dir/target-mips_24kc_musl/usr/lib -lcrypto -lssl >&5
/tmp/cczFWI5b.o: In function `main’:
conftest.c:(.text.startup.main+0×2): undefined reference to `DSA_get0_pqg’ <code>

03.03.2017588Base systemBug ReportMediumLowopenvpn-mbedtls crash on mpc85xx with signal 4 (SIGILL)lede-17.01Waiting on reporter Task Description

device: tp-link wdr4900
affected version: lede 17.01 / openvpn-mbedtls - 2.4.0-3

openvpn config:

dev tun-monitoring
remote somehost 1194

ca /etc/openvpn/monitoring-vpn/ca.crt
cert /etc/openvpn/monitoring-vpn/xyz.crt
key /etc/openvpn/monitoring-vpn/xyz.key
tls-auth /etc/openvpn/monitoring-vpn/ta.key 1
remote-cert-tls server

keepalive 10 120
cipher AES-256-CBC
comp-lzo yes

persist-key
persist-tun


20.06.2017859PackagesBug ReportVery LowMediumOpenVPN is beeing killed with "service openvpn stop" du...lede-17.01Assigned Task Description

TP-LINK TL-MR-3220 v.2.x with LEDE 17.01.2 onboard, installed OpenVPN.

Connection opens successfully, however, on stopping with “service openvpn stop”, logread shows:

Tue Jun 20 08:36:35 2017 daemon.info procd: Instance openvpn::instance1 pid 4084 not stopped on SIGTERM, sending SIGKILL instead
Tue Jun 20 08:36:35 2017 daemon.notice netifd: Network device ‘tun0’ link is down
Tue Jun 20 08:36:35 2017 daemon.notice netifd: Interface ‘vyprvpn’ has link connectivity loss

This causes OpenVPN scripts to abort.

If stopping openvpn with “killall -TERM openvpn”, then it gets enough time to end in a nice way and all scripts are OK.

25.07.2017931Base systemBug ReportVery LowHighOnboard Bluetooth not working on Raspberry Pi 3 BAllUnconfirmed Task Description

I have tried LEDE 17.01.1 and 17.01.2 and i can’t get bluetooth running on raspberry pi 3.

It will not flash the firmware for the bluetooth controller on rpi3, when device is brought up:

root@LEDE:~# /usr/bin/hciattach /dev/ttyAMA0 bcm43xx 921600 noflow -
bcm43xx_init
Patch not found for BCM43430A1, continue anyway
Set Controller UART speed to 921600 bit/s
Device setup complete

Instead of patch not found it should produce:
Flash firmware /lib/firmware/brcm/BCM43430A1.hcd

I could not find this firmware via opkg, so i used a file from OpenELEC at
https://github.com/OpenELEC/misc-firmware/tree/master/firmware/brcm

This however won’t load and bluetooth is not initialized correctly and unusable:

root@LEDE:~# /usr/bin/hciattach /dev/ttyAMA0 bcm43xx 921600 noflow -
bcm43xx_init
Flash firmware /lib/firmware/brcm/BCM43430A1.hcd
Initialization timed out

 


23.04.2017731Base systemBug ReportVery LowMediumOffline build not possible after "make download"lede-17.01Unconfirmed Task Description

I tried to do an offline build of almost the default configuration for x86_64 of 17.01.1. So I did “make download” (with that configuration) on a machine connected to the internet and then tried to build from there offline, but “make” tried to download files, that “make download” did not and failed.

The first few files were the following, then I gave up:

ncurses-6.0.tar.gz
lzo-2.09.tar.gz
usign-2015-07-04-ef641914.tar.xz
mbedtls-2.4.2-gpl.tgz
ustream-ssl-2016-07-02-ec80adaa.tar.xz
openssl-1.0.2k.tar.gz

18.01.2017401PackagesFeature RequestVery LowLowodhcpd: lease trigger script receives no argumentsTrunkUnconfirmed Task Description

when odhcpd calls the “lease trigger” script it does not pass any arguments to the script. The reason for the trigger and the host involved in the trigger are not shared. There is no discretion for RENEW, REBIND, CONFIRM, or RELEASE. Scripts which wish to load DNS with limited data, need to store their own copy of DHCP lease file and do differences. Otherwise a raw translate and dump of a large DHCP network could cause a lot of congestion as DHCP clients come on line. Reseting a network can cause an “in rush” flow like air conditioning loads on a power grid during a summer power outage.
This is exacerbated if the DNS is served on a separate device over the network, such as nsd and nsd-control (bind or unbound also). It would be good to at least pass the command and parameters common to a odhcpd lease file line.

18.01.2017400PackagesBug ReportVery LowLowodhcpd: lease file persistence per RFC2131 S-2.1 and S-...TrunkUnconfirmed Task Description

RFC2131 DHCPv4 expects that the DHCP leases and other configuration results are in persistent storage. For small embedded routers during a machine reboot, it has been accepted that read-write memory is RAM (not flash) and persistence may not be entirely upheld. That being said, odhcpd has no means to maintain the lease information even through an application only restart (example ifup event). The lease file odhcpd writes is not used to seed odhcpd, if it is restarted. (1) an interface reconnect that causes odhcpd to restart destroys the lease record, even if the network resumes as previously configured. (2) even if odhcpd lease file is directed to persistent storage (USB drive) it is not used to resume leases.

18.01.2017403PackagesFeature RequestVery LowLowodhcpd: expand the capability of DHCPv6 HOSTID assignem...TrunkUnconfirmed Task Description

It would be nice to assign the HOSTID range or bit width as an option. odhcpd just assigns ::0100~::0FFF without any options. It would be nice to be able to use all 64 bits. With this, also it would be nice to add a random seed and seed time as options. This way the DUID hash-to-HOSTID could be rotated. In this way, SLAAC privacy addresses could be replicated with STATEFUL DHCP control and well known hostnames. This would support high-accountability networks like Universities and other large organizations.

It would be a counter to Google’s lack of “interest” in supporting DHCPv6. This would provide DHCPv6 privacy addresses.
Android Bug: https://code.google.com/p/android/issues/detail?id=32621

18.01.2017406Base systemFeature RequestVery LowLowodhcpd: enable IPv6 unicast relayTrunkUnconfirmed Task Description

We want to use Prefix Delegation in a large layer3 mesh network. Currently odhcpd only supports DHCPv6-Relay by forwarding the incoming request to the master interface with multicast all-routers-destination address.

In a mesh network we do not have master/uplink interfaces. But we have the IP of the DHCP server which is X hops away and the routing protocol knows which way to send the packet.

Is it possible to add dhcp relay via unicast? An additional config parameter for the IP of the DHCP server is then also needed.

17.01.2017398PackagesFeature RequestVery LowLowodhcpd: add UCI option to insert DHCP fill for missing ...TrunkUnconfirmed Task Description

This is a request for a common DHCP function found in other software. It would be nice for an odhcpd general option to enable it to fill in unnamed leases. DHCPv4 use the MAC as in unknown-010203040506 and DHCPv6 use the last 64 bits of the DUID as in unknown-0102030405060708. This can be used to figure out which device has failed to send its host name. This is a common problem with DHCPv6. This is a common problem for smart TV or cameras. Consider logs from a device other than the DHCP serving router. Consider where IT may not want to static assign 100’s of host names for display devices over a large work site or campus. Security logs and DHCP logs on a distributed network can then be reconciled a-synchronously, off line, or only when an investigation is required.

15.01.2017389Base systemBug ReportVery LowLowodhcpd relay mode is blocked by firewall by defaultTrunkUnconfirmed Task Description

odhcpd currently won’t work when put in relay mode if followed the manual naively. Turns out this is because firewall blocks incoming traffic to DHCPv6 server (port 547) from external DHCPv6 servers (port 547) from WAN zone by default. It may be a good idea to allow this out of the box, though I’m unsure if there are any security complications from this – I’m a newcomer to IPv6. Replies come with the source global IPv6 address of DHCPv6 server to the global IPv6 address of the router, so it’s difficult to make a more constrained rule without hardcoding them or at least the prefix.

Example rule which fixes relay mode:

config rule
	option enabled '1'
	option target 'ACCEPT'
	option src 'wan'
	option proto 'udp'
	option dest_port '547'
	option name 'Allow DHCPv6 Relay'
	option family 'ipv6'
	option src_port '547'

LEDE revision: 3e7b894ac08b56343e6e449a38fdb2be7b02a127

03.03.2017587Base systemBug ReportMediumLowno wwan with qmi based modem quectel ec20AllNew Task Description

uqmi hangs on certain commands resulting in a half-connected wwan connection.

device: apu1d
modem: quectel ec20 / qualcom based
affected versions: lede 17.01, trunk

good uqmi version: 2016-08-23-eb1dec7d0dc283a7f61aa574a443a0ab61f8793f
bad uqmi version: 2016-12-19-8ceeab69-1

 1553 root      3288 S    {qmi.sh} /bin/sh ./qmi.sh qmi setup lte {"ifname":"wwan0","proto":"qmi","apn":"internet","
 1620 root      9024 S    uqmi -s -d /dev/cdc-wdm0 --wda-set-data-format 802.3
 1817 root      3072 S    grep qmi
config interface 'lte'
	option ifname 'wwan0'
	option proto 'qmi'
	option apn 'internet'
	option device '/dev/cdc-wdm0'
	option dhcp '1'
11.02.2017496KernelBug ReportVery LowMediumNo USB on Buffalo WZR-HP-AG300Hlede-17.01Unconfirmed Task Description

Hi,
I have just tried installing lede-17.01.0-rc2-r3131-42f3c1f-ar71xx-generic-wzr-hp-ag300h-squashfs-sysupgrade.bin on my Buffalo WZR-HP-AG300H.

I would like to use it with my iPhone or USB WWAN device, but it does not detect either of them. When I plug the iPhone in, it doesn’t even start to charge.

I downgraded to openwrt-15.05.1-ar71xx-generic-wzr-hp-ag300h-squashfs-sysupgrade.bin and both the devices show up in dmesg and the iPhone starts charging.

Thanks,
Wayne

13.07.201650Base systemBug ReportVery LowLowNo image or non-verbose output created if image is too ...TrunkUnconfirmed Task Description

The target/install target does not produce the *squashfs-factory.bin and *squashfs-sysupgrade.bin binaries if the images are too big to fit the selected flash size.
However, make doesn't say a word to the user but simply does not produce the files. The user has to either check the mtime of the files if they were created earlier or use

make target/install V=s

to derive what's wrong.
According to jow on IRC this is just an artifact of no way to bypass silent mode. That might be the common explanation but it is still a bug from my POV.

27.02.2017559Base systemFeature RequestVery LowLowNo Ethernet statistics on ag71xxTrunkUnconfirmed Task Description

On WNDR3700v2:

  # ethtool -i eth1 | head -n 2
  driver: ag71xx
  version: 0.5.35
  # ethtool -S eth1
  no stats available

The only statistics available are the ones provided by `ifconfig`, but I’m not sure whether that is accurate — I’m not seeing any drops even under load.

Note that statistics are available on the switch (through `swconfig show`), it’s only the SoC’s interface that’s impacted.

(While I’m at it, the driver is incomplete in other ways — there’s no support for Pause frames or for scatter-gather, although a quick read of the datasheet indicates that it should be possible to implement these features. I’m not sure that’s important, though.)

13.03.2017625PackagesBug ReportVery LowMediumno default route written using proto=wwanlede-17.01Unconfirmed Task Description

LEDE_RELEASE=”LEDE Reboot 17.01-SNAPSHOT r6469+17-c114383”

Configure steps as follows:

Run ubus listen in backround
ubus -t 9999 listen &

uci del network.wwan
uci set network.wwan=interface
uci set network.wwan.proto=wwan
uci set network.wwan.defaultroute=’0’ uci set network.wwan.pincode= uci set network.wwan.apn= uci commit && /etc/init.d/network restart
...
{ “ubus.object.add”: {”id”:107055350,”path”:”network.interface.wwan_4”} }
{ “network.interface”: {”action”:”ifup”,”interface”:”wwan_4”} }
...

As you see default route should not be written immediately. You see default route in inactive section in ubus. So now lets set the default route for this interface

uci set network.wwan.defaultroute=’1’ uci commit && /etc/init.d/network reload

You see no ubus message as well no change of default route. Now lets use QMI proto directly

uci del network.wwan
uci set network.wwan=interface
uci set network.wwan.proto=qmi
uci set network.wwan.device=/dev/cdc-wdm0
uci set network.wwan.defaultroute=’0’ uci set network.wwan.pincode= uci set network.wwan.apn= uci commit && /etc/init.d/network restart
...
{ “ubus.object.add”: {”id”:107055350,”path”:”network.interface.wwan_4”} }
{ “network.interface”: {”action”:”ifup”,”interface”:”wwan_4”} }
...

So now lets set the default route for this interface and you see ubus messages comming up as well default route is set

uci set network.wwan.defaultroute=’1’ uci commit && /etc/init.d/network reload
{ “network.interface”: {”action”:”ifdown”,”interface”:”wwan”} }
{ “network.interface”: {”action”:”ifdown”,”interface”:”wwan_4”} }
root@RED50:/lib# { “ubus.object.remove”: {”id”:399408035,”path”:”network.interface.wwan_4”} }
{ “network.interface”: {”action”:”ifup”,”interface”:”wan2”} }
{ “network.interface”: {”action”:”ifup”,”interface”:”wwan”} }
{ “ubus.object.add”: {”id”:828745890,”path”:”network.interface.wwan_4”} }
{ “network.interface”: {”action”:”ifup”,”interface”:”wwan_4”} }


15.05.2017787Base systemBug ReportVery LowLowno console in Xen-DomU guestsAllUnconfirmed Task Description

after upgrading my Xen-domU-guest to v17.01.1 I found the console is not working anymore. I can only get the kernellog-output.

My old working system was based on git-c71e13a. I checked V17.01-rc1 which is also broken. Further bisecting gave git-b36e24f39e63 (x86: remove the xen_domu subtarget) causing this.

So it looks like some kernel-options are missing, after this merge of sub-targets. I did not find in the kernel-config the relevant.

my domU-config is as follows:

memory = 64
name = “lede-test” on_crash = “destroy” vif = [ “mac=02:00:0a:ff:00:01, bridge=br-lan” ]

bootloader = ‘/usr/lib/xen-4.4/bin/pygrub’ disk = [”/mnt/xen-images/openwrt/lede-x86-generic-combined-ext4.img,raw,xvda,w”]

Any Ideas?

25.05.2017803PackagesBug ReportVery LowMediumNL80211_STA_INFO_INACTIVE_TIME incorrect value for IB...TrunkUnconfirmed Task Description

- ar71xx affected
- latest LEDE trunk affected and may be older versions
- Steps to reproduce

Buid current LEDE trunk with a10k-ct driver and CT firmware for QCA988x.
Flash devices with firmware.
Create IBSS interface for 2 or more ath10k devices and connect them.

 

iwinfo shows negative value for last activity. Value is rising. TX traffic can’t pass through interface.
All incoming packets come with “unknown” bitrate.

root@LEDE:~# iwinfo mesh5_0 assoclist
84:16:F9:B1:A0:3E -39 dBm / -103 dBm (SNR 64) -230820 ms ago

      RX: unknown                                      794 Pkts.
      TX: 6.0 MBit/s                                     0 Pkts.

root@LEDE:~# iwinfo mesh5_0 assoclist
84:16:F9:B1:A0:3E -39 dBm / -103 dBm (SNR 64) -127810 ms ago

      RX: unknown                                     2828 Pkts.
      TX: 6.0 MBit/s  
                                 0 Pkts.

root@LEDE:~# iwinfo mesh5_0 assoclist
84:16:F9:B1:A0:3E -40 dBm / -103 dBm (SNR 63) -117860 ms ago

      RX: unknown                                     3022 Pkts.
      TX: 6.0 MBit/s                                     0 Pkts.

According to iw output this value is close to th “unsigned long” value limit
root@LEDE:~# iw mesh5_0 station dump
Station 18:a6:f7:3e:b4:de (on mesh5_0)

      inactive time:  4294805756 ms
      rx bytes:       152352
      rx packets:     2208
      tx bytes:       0
      tx packets:     0
      tx retries:     0
      tx failed:      0
      rx drop misc:   0
      signal:         -39 dBm
      signal avg:     -37 dBm
      tx bitrate:     6.0 MBit/s
      authorized:     yes
      authenticated:  yes
      associated:     yes
      preamble:       long
      WMM/WME:        yes
      MFP:            no
      TDLS peer:      no
      DTIM period:    0
      beacon interval:100
      short slot time:yes
      connected time: 113 seconds

root@LEDE:~# iw mesh5_0 station dump
Station 18:a6:f7:3e:b4:de (on mesh5_0)

      inactive time:  4294878176 ms
      rx bytes:       250056
      rx packets:     3624
      tx bytes:       0
      tx packets:     0
      tx retries:     0
      tx failed:      0
      rx drop misc:   0
      signal:         -40 dBm
      signal avg:     -39 dBm
      tx bitrate:     6.0 MBit/s
      authorized:     yes
      authenticated:  yes
      associated:     yes
      preamble:       long
      WMM/WME:        yes
      MFP:            no
      TDLS peer:      no
      DTIM period:    0
      beacon interval:100
      short slot time:yes
      connected time: 185 seconds

After some time (3-5 minutes) the value overflows and starting from zero with normal values.

root@LEDE:~# iwinfo mesh5_0 assoclist
84:16:F9:B1:A0:3E -38 dBm / -103 dBm (SNR 65) 80 ms ago

      RX: unknown                                     5732 Pkts.
      TX: 6.0 MBit/s                                     0 Pkts.

root@LEDE:~# iw mesh5_0 station dump
Station 18:a6:f7:3e:b4:de (on mesh5_0)

      inactive time:  50 ms
      rx bytes:       399372
      rx packets:     5788
      tx bytes:       0
      tx packets:     0
      tx retries:     0
      tx failed:      0
      rx drop misc:   0
      signal:         -41 dBm
      signal avg:     -39 dBm
      tx bitrate:     6.0 MBit/s
      authorized:     yes
      authenticated:  yes
      associated:     yes
      preamble:       long
      WMM/WME:        yes
      MFP:            no
      TDLS peer:      no
      DTIM period:    0
      beacon interval:100
      short slot time:yes
      connected time: 296 seconds
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?

26.02.2017557Base systemBug ReportVery LowMediumNexx wt3020 wifi rx sensitivity low with LEDE 17.01lede-17.01Unconfirmed Task Description

The rx sensitivity reported by a Nexx wt3020 is ~ 20dB lower than a comparable tp-link device located sided by side with the Nexx wt3020.
There have been reports of a similar problem with OpenWRT versions.

There is a ticket open with openwrt with a similar reported issue https://dev.openwrt.org/ticket/20369 as well as on the openwrt forum https://forum.openwrt.org/viewtopic.php?id=69042

lede trunk (and openwrt trunk) as of 24/2/17 also display similar poor rx sensitivity.

 


05.07.2017886Base systemBug ReportVery LowHighNewifi D1 ethernat ports freeze after boot with cable p...lede-17.01Unconfirmed Task Description

Newifi D1 is a router device with MT7621 inside, more detailed information can be found at WikiDevi.

I have LEDE 17.01.2 running on the device, but experienced a bug with ethernat port. The bug is easy to reproduce: just powner on or reboot the device with RJ45 cable plugin. You will find that the LED blinks when booting, but freezes after boot. The frozen status of LED is on(wan port), off(lan port), on(lan port) in my situation which have both 3 ports connected.

But every thing works fine if I power on/reboot the device first, then plugin the RJ45 cable.

I could not connect to the device via the ethernat when it is frozen, but can login via wireless network provided by the device. I have checked the network status with ifconfig, the RX counter of eth0, eth0.1 and eth0.2 shows 0 when TX counter seems OK if I ping someone. I checked the switch as well by command: swconfig dev mt7530 show , every thing shows 0 on each port, excepted for port 6. No error message on dmesg.

Some one mentioned it is switch chip driver bug: https://dev.openwrt.org/ticket/20890?cversion=0&cnum_hist=1 . But no further information can be find by google any more.

24.08.2017978Base systemBug ReportVery LowLownetifd: support smaller ipv6 segments than /64TrunkUnconfirmed Task Description

netifd makes the assumption that ipv6 segments will never be any smaller than a /64; it quite often computes things like (1 « (64 - prefix→length)) which obviously won’t work out very well when prefix→length > 64. (Incidentally, it looks like it’s never been tested with prefixes larger than a /32, too, since things like “int32_t current = 0, asize = (1 « (64 - assign→length)) - 1;” will also not work out very well when assign→length ⇐ 32.)

The Linux network stack itself is more than happy to operate with these smaller segments, and odhcpd happily hands out leases. I know SLAAC won’t work on these segments, but that’s no reason to keep netifd from believing in them, IMHO. As it stands, I have several interfaces configured that the ubus-centric tools refuse to believe are set up!

17.04.2017713Base systemBug ReportVery LowLownetifd: substantially more IFUP events are being create...TrunkResearching Task Description

I have noticed that some services reloaded with a procd “interface.*” raw trigger are reloading on a much more frequent cadence (few minutes or so). LEDE 17.01 does not do this. LEDE Trunk does. I can not find an obvious cause in procd. Though procd should not stop-start for reload without a command line change or explicit file under watch. Perhaps netifd commit a03216660797173fbe67866f75564e3fec9c1e8d is generating unusual numbers of IFUP.

procd_add_raw_trigger “interface.*” 2000 /etc/init.d/[script] reload

16.08.201694Base systemBug ReportVery LowMediumnetifd: PPPoE MTU problemTrunkNew Task Description

When you set the MTU of a ppp interface with proto=pppoe and ifname=nas0 via the mtu option,
the configured mtu will not be set on the ppp interface (what you want), but on the
underlying interface named by ifname (what you normally don’t want to change).

This leeds to log messages like this:


pppd[5641]: Interface nas0 has MTU of 1448 – should be at least 1500.


and MTUs other than what you really want.

example:


desired PPPoE MTU: 1448
actual nas0 MTU: 1448
actual PPPoE MTU: 1440

This issue seems to be related to the commit 7ac29b75319fd69a8a7c0aeea7804d381ec07d3d of netifd.

Regards,
Martin

19.04.2017718Base systemBug ReportVery LowLownetifd fails to set rps for WDSTrunkUnconfirmed Task Description

netifd sets the packet steering for all interfaces it controls to better spread the load over multiple cores. But it fails to set it for wds interfaces like wlan0.sta1. As result, the performance in WDS setups is limited by a single core of a multi-core device.

To reproduce: enable an AP in /etc/config/wireless. Enable the wds option for the AP interface. Connect a client to the AP and check /sys/devices/*/net/wlan*.sta1/queues/rx-*/rps_cpus. All BITS for all available CPUs should be enabled (when it would work). It stays currently at 0.

02.04.2017672Base systemBug ReportVery LowLowNetgear WNR2000v3 - Looses always settings after power ...TrunkUnconfirmed Task Description

Device: Netgear WNR2000v3

Problem there since: 15.05.1. It was not there on 15.05 or previous releases.

Problem still there on 17.01 stable ( https://downloads.lede-project.org/releases/17.01.0/targets/ar71xx/generic/lede-17.01.0-r3205-59508e3-ar71xx-generic-wnr2000v3-squashfs-sysupgrade.bin )

The most simple way to make a example of this issue: Install 15.05.1 stable or 17.01 stable and open 192.168.1.1. It tells you that there is no password set. Go to settings, set a password. Open browser again. It asks you now for the password. Power off the device. Wait 2-3 seconds. Power it on. Password is now lost and device have again factory settings.

This makes lede on this device somehow useless. Would be great if someone could fix this problem.

Forum talk about this issue: https://forum.lede-project.org/t/netgear-wnr2000v3-not-saving-settings-after-reboot-with-rc2/1736/11

Bugreport about this issue on openwrt: https://dev.openwrt.org/ticket/22172

02.09.2016133Base systemBug ReportVery LowLowNetgear r8000 cannot use 802.1x encryptionTrunkUnconfirmed Task Description

Github issue #305 reported by https://github.com/Halry

My android phone can’t connect to it.(tested on nexus 6p and samsung s7 edge)
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 IEEE 802.1X: Sending EAP Packet (identifier 247)
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 WPA: sending 1/4 msg of 4-Way Handshake
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 WPA: received EAPOL-Key frame (2/4 Pairwise)
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 WPA: sending 3/4 msg of 4-Way Handshake
Sun Aug 28 16:28:46 2016 daemon.info hostapd: wlan2: STA 94:fe:22:11:22:33 IEEE 802.11: disassociated
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 WPA: event 2 notification
Sun Aug 28 16:29:00 2016 daemon.info hostapd: wlan1: STA 94:fe:22:11:22:33 IEEE 802.11: associated
Sun Aug 28 16:29:00 2016 daemon.info hostapd: wlan1: STA 94:fe:22:11:22:33 IEEE 802.11: disassociated
Sun Aug 28 16:29:11 2016 daemon.info hostapd: wlan1: STA 94:fe:22:11:22:33 IEEE 802.11: associated
Sun Aug 28 16:29:11 2016 daemon.info hostapd: wlan1: STA 94:fe:22:11:22:33 IEEE 802.11: disassociated

However,Windows can connect to it.

Here are some my nexus 6p’s dmesg:
CFG80211-ERROR wl_cfg80211_disconnect:Reason 17

01.03.2017580Base systemBug ReportVery LowLowNetgear R7800 does not receive multicast messages on LA...TrunkUnconfirmed Task Description

Netgear R7800 running lede-17.01.

Multicast packets are not received on LAN (wired) interfaces but work fine on WiFi interfaces. I think the problem is at device/driver level.

The problem was first noticed using Avahi, which did not see announcements on LAN interfaces. However it can be easily reproduced with a simple IP Multicast sender/receiver like https://github.com/GrahamCobb/Multicast-Client-Server-Example

To reproduce:

Run the “client” on the R7800 using:

client 232.0.1.1 4545 100

Run the “server” on another system using:

server 232.0.1.1 4545 100 1000

If the server is connected to the client using a WiFi interface, the messages are received. If it using a LAN, they are not.

The messages are received if the LAN interface is set in promiscuous mode (ifconfig ... promisc) or all multicast mode (ifconfig ... allmulti). They stop again immediately if the mode is turned off.

I believe this is the same problem as reported in https://forum.lede-project.org/t/ipv6-works-only-with-wan-in-promiscuous-mode/490/9 – in that thread it is mentioned that the AC2600 (which uses the same driver) has the same problem.

As the problem goes away in promiscuous or all multicast modes, I am guessing that the device is just not sending the multicast packets to the driver. This could be a hardware bug, a bug in the multicast filter setup code in dwmac1000_core.c or the devicetree incorrectly reporting device characteristics such as the number of multicast filter bins.

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 ]—

 


27.08.2017984Base systemBug ReportLowLowmxs: build failure: u-boot 2016.01 fails to build with ...lede-17.01New Task Description

While test-building all architectures on latest lede-17.01 (https://git.lede-project.org/dc8392f6a) with CONFIG_ALL_KMODS=y, I bumped on this build failure for mxs:

make[3]: Entering directory '/home/bjonglez/lede-17.01/package/boot/uboot-mxs'     
make -C /home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01 CROSS_COMPILE=arm-openwrt-linux-muslgnueabi- u-boot.sb
make[4]: Entering directory '/home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01'
  CHK     include/config/uboot.release
  CHK     include/generated/version_autogenerated.h
  CHK     include/generated/timestamp_autogenerated.h
  CHK     include/generated/generic-asm-offsets.h
  CHK     include/generated/asm-offsets.h
  HOSTCC  tools/mxsimage.o
tools/mxsimage.c:147:19: error: field 'cipher_ctx' has incomplete type
  EVP_CIPHER_CTX   cipher_ctx;
                   ^~~~~~~~~~
tools/mxsimage.c:148:15: error: field 'md_ctx' has incomplete type
  EVP_MD_CTX   md_ctx;
               ^~~~~~
tools/mxsimage.c: In function 'sb_postfill_image_header':
tools/mxsimage.c:1325:13: error: storage size of 'md_ctx' isn't known
  EVP_MD_CTX md_ctx;
             ^~~~~~
tools/mxsimage.c:1325:13: warning: unused variable 'md_ctx' [-Wunused-variable]
tools/mxsimage.c: In function 'sb_verify_image_header':
tools/mxsimage.c:1624:13: error: storage size of 'md_ctx' isn't known
  EVP_MD_CTX md_ctx;
             ^~~~~~
tools/mxsimage.c:1624:13: warning: unused variable 'md_ctx' [-Wunused-variable]
scripts/Makefile.host:108: recipe for target 'tools/mxsimage.o' failed
make[5]: *** [tools/mxsimage.o] Error 1
Makefile:1211: recipe for target 'tools' failed
make[4]: *** [tools] Error 2
make[4]: Leaving directory '/home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01'
Makefile:93: recipe for target '/home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01/.built' failed
make[3]: *** [/home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01/.built] Error 2
make[3]: Leaving directory '/home/bjonglez/lede-17.01/package/boot/uboot-mxs'
package/Makefile:105: recipe for target 'package/boot/uboot-mxs/compile' failed
make[2]: *** [package/boot/uboot-mxs/compile] Error 2

It looks like an API issue with host OpenSSL 1.1, similar to  FS#182 

19.08.2017970Base systemBug ReportVery LowLowmwl8k wireless driver sta mode maxed out sirq at low th...lede-17.01Unconfirmed Task Description

router: linksys ea4500v1
lede version: 17.01.2 (https://downloads.lede-project.org/releases/17.01.2/targets/kirkwood/generic/lede-17.01.2-kirkwood-linksys-viper-squashfs-factory.bin)

Observation:
1)
wireless client: EA4500 using STA mode on 5ghz radio
wireless AP: linksys wrt1900acv1 using AP mode on 5ghz radio
setup: iperf client ←-lan–> EA4500 ←-5ghz radio–> wrt1900acv1 ←-lan–> iperf server

iperf result:
38 Mbps with EA4500 sirq maxing out at 99%

2)
wireless client: EA4500 using STA mode on 2.4ghz radio
wireless AP: asus rtn12d1 using AP mode on 2.4ghz radio
setup: iperf client ←-lan–> EA4500 ←-2.4ghz radio–> rtn12d1 ←-lan–> iperf server

iperf result:
38 Mbps with EA4500 sirq maxing out at 99%

3)
wireless client: samsung galaxy note 5
wireless AP: EA4500 in AP mode on 5ghz radio
setup: iperf client ←-5ghz radio–> EA4500 ←-lan–> iperf server

iperf result:
142 Mbps with EA4500 sirq around 58%

4)
wireless client: samsung galaxy note 5
wireless AP: linksyswrt1900acv1
setup iperf client ←-5ghz radio–>linksyswrt1900acv1 ←-lan–> iperf server

iperf result
~220 Mbps

So the low throughput seems to be a problem specifically with EA4500 (mwl8k driver) using STA mode.

28.02.2017567KernelBug ReportVery LowLowmvebu: WRT1200AC wireless has latency fluctuations and,...AllUnconfirmed Task Description

Supply the following if possible:

- Device problem occurs on
Linksys WRT1200AC v1

- Software versions of LEDE release, packages, etc.

  • LEDE 17.01 final release (from downloads.lede-project.org)
  • LEDE 17.01 custom compiled/build
  • LEDE trunk (from downloads.lede-project.org)

- Steps to reproduce

> uci delete wireless.@wifi-device[0].disabled

   > uci set wireless.@wifi-iface[0].ssid=LEDE_5
   > uci delete wireless.@wifi-device[1].disabled
   > uci set wireless.@wifi-iface[1].ssid=LEDE_2
   > uci commit wireless
   > wifi up
 * Install FPing
   > opkg update
   > opkg install fping
  • Connect device using wireless LEDE_2
  • Get device ip from /tmp/dhcp.leases
  • Ping it

> root@LEDE:/# fping -p25 -b1472 -c100 -q 192.168.1.123

   > 192.168.1.123 : xmt/rcv/%loss = 100/100/0%, min/avg/max = 6.55/62.3/512
  • Connect device using wireless LEDE_5
  • Get device ip from /tmp/dhcp.leases
  • Ping it

> root@LEDE:/# fping -p25 -b1472 -c100 -q 192.168.1.123

   > 192.168.1.123 : xmt/rcv/%loss = 100/100/0%, min/avg/max = 2.64/39.5/157
25.06.2017867Base systemFeature RequestVery LowLowmvebu: Should be split different arches, current (Armad...TrunkUnconfirmed Task Description

The older SoCs such as Armada XP and 370 only supports vfpv3-d16 while 385 and newer does complete vfpv3 and neon. This hampers performance of newer SoCs quite a bit and makes little sense not to split these since we already build vfpv3+neon binaries. While neon-vfpv4 exists, neon-vfpv3 doesn’t and for some reason it’s just called neon in GCC (which translates to arm_cortex-a9_neon in LEDE for this SoC family). Source: https://lists.linaro.org/pipermail/linaro-toolchain/2016-July/005826.html

27.10.2016253Base systemBug ReportVery LowHighMulticast over wireless ceases to work properly after a...AllNew Task Description

I am having a problem on a UBNT UAP-LR where, if many clients stay connected the router for a long time, multicast packets will stop being reliably sent to the wireless clients. I can reproduce this with LEDE r1953, but it goes back at least as far as OpenWRT 15.05.1 with kernel 3.18. I can not, however, reproduce it on another network with the same WAP but with only one or two wireless clients.

This originally manifested as IPv6 ceasing to work since the (multicasted) RA packets were not reaching the wireless clients. I used tcpdump on the WAP and determined that the RAs were arriving through the wired interface and leaving through the wireless interface as they should, but tcpdump on the client indicates that a vast majority of the RAs are never received. (Please note that the IPv6 issue is not reproducible with the router running OpenWRT/LEDE and odhcpd, since odhcpd unicasts RAs sent as a response to an RS instead of multicasting them, while it is reproducible when the router is running radvd, for example as pfSense does.)

19.05.2017796KernelBug ReportVery LowLowMulti-SSID does not work on MT7603 (ZBT-3526) at 2.4 G...AllRequires testing Task Description

Device: ZBT-3526
Packages used for wireless:
kmod-cfg80211 4.4.61+2017-01-31-1
kmod-mac80211 4.4.61+2017-01-31-1
kmod-mt76 4.4.61+2017-03-17-712..f-2
kmod-mt76-core 4.4.61+2017-03-17-712..f-2
kmod-mt7603 4.4.61+2017-03-17-712..f-2
kmod-mt76x2 4.4.61+2017-03-17-712..f-2

Throughput is very poor if I perform an iPerf test on the second 2.4 GHz SSID.

Server (WG3526) iperf -s


Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)


[ 4] local 10.3.231.1 port 5001 connected with 10.3.231.108 port 60952
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-20.9 sec 256 KBytes 100 Kbits/sec

Client (laptop) iperf -c 10.3.231.1 -i 2 -w 128KB


Client connecting to 10.3.231.1, TCP port 5001
TCP window size: 256 KByte (WARNING: requested 128 KByte)


[ 3] local 10.3.231.108 port 60952 connected with 10.3.231.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 128 KBytes 524 Kbits/sec
[ 3] 2.0- 4.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 4.0- 6.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 6.0- 8.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 8.0-10.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 10.0-12.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 0.0-20.9 sec 256 KBytes 101 Kbits/sec

My /etc/config/wireless file is

config wifi-device ‘radio0’

option type 'mac80211'
option hwmode '11g'
option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
option htmode 'HT20'
option disabled '0'
option country 'IT'
option channel '13'
option txpower '20'

config wifi-device ‘radio1’

      option type 'mac80211'
      option channel '36'
      option hwmode '11a'
      option path 'pci0000:00/0000:00:01.0/0000:02:00.0'
      option htmode 'VHT80'
      option disabled '0'

config wifi-iface

      option device 'radio0'
      option mode 'ap'
      option ssid 'Private-bgn'
      option network 'lan'
      option encryption 'psk2'
      option key 'testtest'

config wifi-iface

      option device 'radio1'
      option mode 'ap'
      option ssid 'Private'
      option network 'lan'
      option encryption 'psk2'
      option key 'testtest'

config wifi-iface

option device 'radio0'
option network 'lan'
option mode 'ap'
option encryption 'none'
option isolate '1'
option ssid 'Public-bgn'

config wifi-iface

option device 'radio1'
option network 'lan'
option mode 'ap'
option encryption 'none'
option isolate '1'
option ssid 'Public'
03.05.2017752Base systemBug ReportVery LowMediummtk7688 radio in client mode throwing kernel stack trac...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

AsiaRF AWM688, based on the mtk7688 SoC, similar to the LinkIt 7688

- Software versions of LEDE release, packages, etc.

current HEAD (21c2e93e67bc44c1b72dbbe2dc9f9451d44f81a0)

- Steps to reproduce

Put your wifi interface into station mode, with something like this:

uci set wireless.@wifi-iface[0].mode=sta
uci set wireless.@wifi-iface[0].network=wan
uci set wireless.@wifi-iface[0].ssid="<yournetworkssid>"
uci set wireless.@wifi-iface[0].encryption=<yournetworkencryption>
uci set wireless.@wifi-iface[0].key=<yournetworkkey>
uci set network.wan.ifname=''
uci commit wireless
uci commit network
/etc/init.d/network restart

The stack traces look like this:

[  381.712245] ------------[ cut here ]------------
[  381.721603] WARNING: CPU: 0 PID: 0 at compat-wireless-2017-01-31/net/mac80211/tx.c:4230 ieee80211_csa_is_complete+0x4d4/0x668 [mac80211]()
[  381.746243] Modules linked in: pppoe ppp_async snd_usb_audio pppox ppp_generic pl2303 nf_conntrack_ipv6 mmc_spi iptable_nat ipt_REJECT ipt_MASQUERADE ftdi_sio cp210x ch341 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 usbserial usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda spidev snd_usbmidi_lib slhc pwm_mediatek of_mmc_spi 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 crc7 crc_itu_t crc_ccitt snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 i2c_mt7621 snd_soc_core ralink_gdma virt_dma mt76x2e mt7603e i2c_dev mt76 mac80211 cfg80211 compat ledtrig_oneshot ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat nls_utf8 nls_iso8859_1 nls_cp437 regmap_spi regmap_mmio regmap_i2c i2c_core regmap_core lzo_decompress lzo_compress mmc_block usb_storage mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[  381.997790] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.4.61 #0
[  382.011576] Stack : 8035bff4 00000000 00000001 803a0000 803a10dc 803a0d63 8033d94c 00000000
          803f3438 8380de90 00000000 82d2b630 00000001 8004ae6c 80342e54 803a0000
          00000003 8380de90 80341258 8380dd74 00000001 80048dd8 83012b40 00000000
          8039fe50 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          ...
[  382.082022] Call Trace:
[  382.086872] [<8001486c>] show_stack+0x50/0x84
[  382.095501] [<8002544c>] warn_slowpath_common+0xa0/0xd0
[  382.105857] [<80025504>] warn_slowpath_null+0x18/0x24
[  382.115987] [<832aa34c>] ieee80211_csa_is_complete+0x4d4/0x668 [mac80211]
[  382.129537] 
[  382.132479] ---[ end trace cedc8f2cca6a57da ]---
[  448.821439] ------------[ cut here ]------------
[  448.830796] WARNING: CPU: 0 PID: 0 at compat-wireless-2017-01-31/net/mac80211/tx.c:4230 ieee80211_csa_is_complete+0x4d4/0x668 [mac80211]()
[  448.855431] Modules linked in: pppoe ppp_async snd_usb_audio pppox ppp_generic pl2303 nf_conntrack_ipv6 mmc_spi iptable_nat ipt_REJECT ipt_MASQUERADE ftdi_sio cp210x ch341 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 usbserial usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ms_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda spidev snd_usbmidi_lib slhc pwm_mediatek of_mmc_spi 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 crc7 crc_itu_t crc_ccitt snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 i2c_mt7621 snd_soc_core ralink_gdma virt_dma mt76x2e mt7603e i2c_dev mt76 mac80211 cfg80211 compat ledtrig_oneshot ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat nls_utf8 nls_iso8859_1 nls_cp437 regmap_spi regmap_mmio regmap_i2c i2c_core regmap_core lzo_decompress lzo_compress mmc_block usb_storage mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[  449.106963] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.4.61 #0
[  449.120752] Stack : 8035bff4 00000000 00000001 803a0000 803a10dc 803a0d63 8033d94c 00000000
          803f3438 8380de90 00000000 82d2b630 00000001 8004ae6c 80342e54 803a0000
          00000003 8380de90 80341258 8380dd74 00000001 80048dd8 831a7852 00000000
          8039fe50 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          ...
[  449.191202] Call Trace:
[  449.196044] [<8001486c>] show_stack+0x50/0x84
[  449.204680] [<8002544c>] warn_slowpath_common+0xa0/0xd0
[  449.215034] [<80025504>] warn_slowpath_null+0x18/0x24
[  449.225170] [<832aa34c>] ieee80211_csa_is_complete+0x4d4/0x668 [mac80211]
[  449.238722] 
[  449.241679] ---[ end trace cedc8f2cca6a57db ]---

The line number is a bit off, but it looks like maybe ieee80211_csa_is_complete is complaining because vif→type == station mode isn’t handled. I don’t know what “csa” means here.

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

Hi,

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

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

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

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

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

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

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

Regards,
hitech95

06.05.2017764KernelBug ReportVery LowMediumMT7621: Any traffic shaping results in crashes/stack tr...AllRequires testing Task Description

There has been a large number of reports of bugs with MT7621 devices in combination with SQM. Debugging is difficult, because it often results in a hardcrash which leaves no log files. I believe I have some interesting details that might make it easier to debug.

Device: DIR-860L rev B1, but according to reports all MT7621 devices are affected.
LEDE Version: LEDE Reboot SNAPSHOT r4094-961c0ea
Steps to reproduce: Run a dslreports.com speedtest with a large number of upload and download streams (32/32) with either SQM or QOS enabled on your WAN interface.

Observations:

  • It happens both with SQM-scripts _and_ QOS. So I don’t believe it is an issue with the SQM package specifically. These two packages have in common that they both shape traffic.
  • It seems to be load dependent. 100/100 and 200/200 mbit egress/ingress limits crash less often than 300/300 or higher limits
  • It happens with all qdiscs: Cake + piece of cake, fq_codel + simple, fq_codel + simplest

Crash log:

There is usually no crash log because the router hardlocks and then reboots. But I got very lucky once and managed to get a log of the event:

[  710.140000] INFO: rcu_sched detected stalls on CPUs/tasks:
[  710.150000] 	1-...: (257 GPs behind) idle=dfc/0/0 softirq=48167/48179 fqs=1 
[  710.160000] 	(detected by 2, t=6004 jiffies, g=13114, c=13113, q=1063)
[  710.170000] Task dump for CPU 1:
[  710.180000] swapper/1       R running      0     0      1 0x00100000
[  710.190000] Stack : 00000000 5b6c286a 000000a3 ffffffff 00000090 773742c0 804df2a4 80490000
[  710.190000] 	  8048c75c 00000001 00000001 8048c540 8048c724 80490000 00000000 800135e4
[  710.190000] 	  00000000 00000001 87c70000 87c71ec0 80490000 8005ec74 1100fc03 00000001
[  710.190000] 	  00000000 80490000 804df2a4 8005ec6c 80490000 8001b1a8 1100fc03 00000000
[  710.190000] 	  00000004 8048c4a0 000000a0 8001b1b0 8c94e220 00008018 dc124877 a0020044
[  710.190000] 	  ...
[  710.260000] Call Trace:
[  710.270000] [<8000be98>] __schedule+0x574/0x758
[  710.280000] [<800135e4>] r4k_wait_irqoff+0x0/0x20
[  710.290000] 
[  710.290000] rcu_sched kthread starved for 6016 jiffies! g13114 c13113 f0x0 s3 ->state=0x1
[  782.470000] INFO: rcu_sched detected stalls on CPUs/tasks:
[  782.470000] 	1-...: (0 ticks this GP) idle=12c/0/0 softirq=48179/48179 fqs=0 
[  782.470000] 	(detected by 0, t=6002 jiffies, g=13324, c=13323, q=1260)
[  782.470000] Task dump for CPU 1:
[  782.470000] swapper/1       R running      0     0      1 0x00100000
[  782.470000] Stack : 00000000 00000001 0000000a 00000000 00000000 00000001 804df2a4 80490000
[  782.470000] 	  8048c75c 00000001 00000001 8048c540 8048c724 80490000 00000000 800135e4
[  782.470000] 	  00000000 00000001 87c70000 87c71ec0 80490000 8005ec74 1100fc03 00000001
[  782.470000] 	  00000000 80490000 804df2a4 8005ec6c 80490000 8001b1a8 1100fc03 00000000
[  782.470000] 	  00000004 8048c4a0 000000a0 8001b1b0 8c94e220 00008018 dc124877 a0020044
[  782.470000] 	  ...
[  782.470000] Call Trace:
[  782.470000] [<8000be98>] __schedule+0x574/0x758
[  782.470000] [<800135e4>] r4k_wait_irqoff+0x0/0x20
[  782.470000] 
[  782.470000] rcu_sched kthread starved for 6002 jiffies! g13324 c13323 f0x0 s3 ->state=0x1
[  860.040000] INFO: rcu_sched detected stalls on CPUs/tasks:
[  860.050000] 	1-...: (0 ticks this GP) idle=5a8/0/0 softirq=48179/48179 fqs=0 
[  860.060000] 	(detected by 3, t=6004 jiffies, g=13501, c=13500, q=2389)
[  860.070000] Task dump for CPU 1:
[  860.080000] swapper/1       R running      0     0      1 0x00100000
[  860.090000] Stack : 00000000 00002cd1 00000000 777882c0 00000000 00000000 804df2a4 80490000
[  860.090000] 	  8048c75c 00000001 00000001 8048c540 8048c724 80490000 00000000 800135e4
[  860.090000] 	  00000000 00000001 87c70000 87c71ec0 80490000 8005ec74 1100fc03 00000001
[  860.090000] 	  00000000 80490000 804df2a4 8005ec6c 80490000 8001b1a8 1100fc03 00000000
[  860.090000] 	  00000004 8048c4a0 000000a0 8001b1b0 8c94e220 00008018 dc124877 a0020044
[  860.090000] 	  ...
[  860.160000] Call Trace:
[  860.170000] [<8000be98>] __schedule+0x574/0x758
[  860.180000] [<800135e4>] r4k_wait_irqoff+0x0/0x20
[  860.190000] 
[  860.190000] rcu_sched kthread starved for 6017 jiffies! g13501 c13500 f0x0 s3 ->state=0x1

I hope it contains useful information for tracking down this bug. If there is anything else I can supply or test in order to help the debugging process, please let me know.

03.08.2017949KernelBug ReportVery LowLowmt7620/1/8 ethernet link states inconsistentTrunkUnconfirmed Task Description

On the MT7620, initial state of eth0 is always UNKNOWN with carrier up. If booted with no cable, attaching and detaching will flip to state DOWN and no carrier, and if booted with a cable attached, detaching does the same. I’d swear to seeing it get stuck in UNKNOWN, but I’m having trouble reproducing that.

On the MT7621 and MT7628 devices, link state is always UNKNOWN and carrier up - no response to cable attach and detach is seen no matter the initial cable state.

Test devices are a GLi MT300N (MT7620N), TP-Link RE350 (MT7621A), and UniElec 7628N-01 (MT7628NN, this is not in-tree, it’s a small module I’m toying with).

This causes issues with, for example, netdev LED triggers.

08.07.2017898Base systemBug ReportVery LowLowmt7620 does not support 802.11wlede-17.01Unconfirmed Task Description

LEDE Reboot 17.01.2 r3435-65eec8bd5f on Netgear WN3000RPv3 (ramips/mt7620)

Image built with wpad-full

Setting 802.11w to anything other than disabled results in hostapd failing to initialize the interface:

Sat Jul 8 19:54:29 2017 kern.info kernel: [ 110.273913] device wlan0 left promiscuous mode
Sat Jul 8 19:54:29 2017 kern.info kernel: [ 110.282943] br-lan: port 2(wlan0) entered disabled state
Sat Jul 8 19:54:30 2017 daemon.notice hostapd: wlan0: interface state ENABLED→DISABLED
Sat Jul 8 19:54:30 2017 daemon.notice hostapd: wlan0: AP-DISABLED
Sat Jul 8 19:54:30 2017 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sat Jul 8 19:54:30 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sat Jul 8 19:54:30 2017 daemon.notice hostapd: nl80211: Failed to remove interface wlan0 from bridge br-lan: Invalid argument
Sat Jul 8 19:54:31 2017 daemon.notice netifd: radio0 (1076): command failed: Not supported (-122)
Sat Jul 8 19:54:31 2017 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sat Jul 8 19:54:32 2017 kern.info kernel: [ 112.823292] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Jul 8 19:54:32 2017 kern.info kernel: [ 112.873796] device wlan0 entered promiscuous mode
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: wlan0: interface state UNINITIALIZED→COUNTRY_UPDATE
Sat Jul 8 19:54:32 2017 daemon.err hostapd: Using interface wlan0 with hwaddr aa:bb:cc:dd:ee:ff and ssid “myssid” Sat Jul 8 19:54:32 2017 kern.info kernel: [ 113.436915] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sat Jul 8 19:54:32 2017 kern.info kernel: [ 113.449757] br-lan: port 2(wlan0) entered forwarding state
Sat Jul 8 19:54:32 2017 kern.info kernel: [ 113.460761] br-lan: port 2(wlan0) entered forwarding state
Sat Jul 8 19:54:32 2017 daemon.err hostapd: Interface initialization failed
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE→DISABLED
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: wlan0: AP-DISABLED
Sat Jul 8 19:54:32 2017 daemon.err hostapd: wlan0: Unable to setup interface.
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: wlan0: interface state DISABLED→DISABLED
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: wlan0: AP-DISABLED
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sat Jul 8 19:54:32 2017 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn’t started
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sat Jul 8 19:54:32 2017 kern.info kernel: [ 113.478814] device wlan0 left promiscuous mode
Sat Jul 8 19:54:32 2017 kern.info kernel: [ 113.487820] br-lan: port 2(wlan0) entered disabled state
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0x771caa90 user_data=0 handler=0x420d69
Sat Jul 8 19:54:33 2017 daemon.notice netifd: radio0 (1076): Device setup failed: HOSTAPD_START_FAILED

HTH

25.07.2017929KernelBug ReportVery LowHighmt7620 abysmal wifi performanceAllResearching Task Description

HT40 wifi throughput went from ~80 Mbps(LEDE 17.01.0) to ~3Mpbs (since LEDE 17.01.2 to trunk, 17.01.1 wouldn’t build).
HT20 decreased from ~40 to ~10 Mbps.

device is archer C20i (mt7620a) on 2.4 GHz band, 5 Ghz is unsupported (mt7610E).

Log errors:

[    9.197616] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[    9.205560] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[  304.206295] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  304.278242] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  306.059378] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 2
07.07.2017896Base systemBug ReportVery LowHighmt7620 - dropping frames (WiFi)TrunkUnconfirmed Task Description

Device: Nexx WT3020 (MT7620)
LEDE release: LEDE Reboot 17.01-SNAPSHOT r3435-65eec8b

Latest LEDE on Nexx WT3020 with MT7620 is getting syslog spammed with:

ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2

It usually occurs with high-bandwidth usage of WiFi client (Android i.e.) and results with need to reboot router (or WiFi won’t even work for devices - it’s seen but unable to connect).

# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11g'
        option path 'platform/10180000.wmac'
        option country 'PL'
        option disabled '0'
        option htmode 'HT40'
        option distance '3'
        option txpower '20'
        option channel '6'

config wifi-iface
        option device 'radio0'
        option mode 'ap'
        option ssid 'xxx'
        option network 'lan'
        option encryption 'psk2+ccmp'
        option key 'xxx'

Also it’s connected with the issue of android devices loosing connectivity/dropping wifi even 1 meter next to router:

Fri Jul  7 00:32:11 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Fri Jul  7 00:32:11 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 2)
Fri Jul  7 00:32:11 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx
Fri Jul  7 00:32:11 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Fri Jul  7 00:32:51 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disconnected due to excessive missing ACKs
Fri Jul  7 00:32:51 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Fri Jul  7 00:32:55 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Fri Jul  7 00:32:55 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 2)
Fri Jul  7 00:32:55 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx
Fri Jul  7 00:32:55 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
16.05.2017788Base systemBug ReportVery LowMediumMQMaker WiTi 5ghz interface does not workAllUnconfirmed Task Description

Supply the following if possible:
- MQMaker WiTi
- All released LEDE versions
- enable the 5ghz interface. LEDE reports that it’s up and running but it isn’t.

I tried 3 builds.

LEDE trunk - fail
LEDE 17.01.0 - fail
OpenWRT trunk - works.

Something broke in the mt76 driver between OpenWRT trunk and LEDE final.

AFAIK it’s after the bug fix to packet injection.

 


04.05.2017760Base systemBug ReportVery LowLowMQmaker WiTi / mt76x2e / 2.4 GHz / no minstrel sampling...TrunkNew Task Description

very bad performance for all neighbours on r3900

# cat /sys/kernel/debug/ieee80211/phy1/netdev:wlan1/stations/a0:f3:c1:ce:56:80/rc_stats
              best   ____________rate__________    ________statistics________    _____last____    ______sum-of________
mode guard #  rate  [name   idx airtime  max_tp]  [avg(tp) avg(prob) sd(prob)]  [retry|suc|att]  [#success | #attempts]
CCK    LP  1          1.0M  120   10548     0.0       0.0       0.0      0.0       0     0 0             0   0
CCK    LP  1          2.0M  121    5476     0.0       0.0       0.0      0.0       0     0 0             0   0
CCK    LP  1          5.5M  122    2411     2.4       0.0       0.0      0.0       0     0 0             0   0
CCK    LP  1         11.0M  123    1535     4.8       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1  ABCDP  MCS0     0    1477     4.8       0.0       0.0      0.0       1     0 0             0   0
HT20  LGI  1         MCS1     1     739     9.7       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1         MCS2     2     493    14.6       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1         MCS3     3     369    17.0       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1         MCS4     4     246    24.4       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1         MCS5     5     185    29.2       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1         MCS6     6     164    31.7       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1         MCS7     7     148    34.1       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS8    10     739     9.7       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS9    11     369    17.0       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS10   12     246    24.4       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS11   13     185    29.2       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS12   14     123    36.6       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS13   15      93    43.9       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS14   16      82    46.3       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS15   17      74    48.8       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS0    30    1329     4.8       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS1    31     665     9.7       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS2    32     443    14.6       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS3    33     332    19.5       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS4    34     222    26.8       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS5    35     166    31.7       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS6    36     148    34.1       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS7    37     133    36.6       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS8    40     665     9.7       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS9    41     332    19.5       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS10   42     222    26.8       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS11   43     166    31.7       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS12   44     111    39.0       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS13   45      83    46.3       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS14   46      74    48.8       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS15   47      67    51.2       0.0       0.0      0.0       0     0 0             0   0

Total packet count::    ideal 7625      lookaround 407
Average # of aggregated frames per A-MPDU: 1.0

root@witi7:~ :) arping -I wlan1 10.63.102.195
ARPING to 10.63.102.195 from 10.63.140.195 via wlan1
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 491.552ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 600.276ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 747.811ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 748.426ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 511.603ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 403.993ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 601.602ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 371.090ms

root@witi7:~ :) ping -c1 10.63.102.195
PING 10.63.102.195 (10.63.102.195): 56 data bytes
64 bytes from 10.63.102.195: seq=0 ttl=64 time=2414.528 ms

--- 10.63.102.195 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 2414.528/2414.528/2414.528 ms

root@witi7:~ :) iw dev wlan1 station get a0:f3:c1:ce:56:80
Station a0:f3:c1:ce:56:80 (on wlan1)
        inactive time:  150 ms
        rx bytes:       32573998
        rx packets:     63413
        tx bytes:       1038834
        tx packets:     8318
        tx retries:     133088
        tx failed:      8318
        rx drop misc:   30946
        signal:         -60 [-67, -60] dBm
        signal avg:     -59 [-67, -59] dBm
        tx bitrate:     6.5 MBit/s MCS 0
        rx bitrate:     6.5 MBit/s MCS 0
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       long
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    0
        beacon interval:250
        connected time: 8652 seconds

# uci show wireless (2.4ghz)
wireless.radio1=wifi-device
wireless.radio1.type='mac80211'
wireless.radio1.country='US'
wireless.radio1.frag='off'
wireless.radio1.path='pci0000:00/0000:00:01.0/0000:02:00.0'
wireless.radio1.chanbw='20'
wireless.radio1.channel='5'
wireless.radio1.distance='100'
wireless.radio1.beacon_int='250'
wireless.radio1.hwmode='11n'
wireless.radio1.htmode='HT20'
wireless.radio1.txpower='23'

wireless.@wifi-iface[2]=wifi-iface
wireless.@wifi-iface[2].device='radio1'
wireless.@wifi-iface[2].network='wlanadhocRADIO1'
wireless.@wifi-iface[2].mode='adhoc'
wireless.@wifi-iface[2].mcast_rate='6000'
wireless.@wifi-iface[2].macaddr='8c:bc:c0:43:c9:09'
wireless.@wifi-iface[2].bssid='02:ca:ff:ee:ba:be'
wireless.@wifi-iface[2].ssid='ffintern.2GHz'

wireless.@wifi-iface[3]=wifi-iface
wireless.@wifi-iface[3].device='radio1'
wireless.@wifi-iface[3].network='wlanRADIO1'
wireless.@wifi-iface[3].encryption='none'
wireless.@wifi-iface[3].mode='ap'
wireless.@wifi-iface[3].macaddr='8e:bc:c0:43:c9:0a'
wireless.@wifi-iface[3].max_inactivity='10'
wireless.@wifi-iface[3].ssid='weimar.freifunk.net'
wireless.@wifi-iface[3].disassoc_low_ack='1'

15.03.2017632Base systemBug ReportVery LowLowMP_CONFIG_INT settings not applied to meshpoint interfa...TrunkUnconfirmed Task Description

Supply the following if possible:
- Tested with OM5P-AC (on ath10k)
- Using LEDE reboot-3637-gc8f7031ba7 with wpad-mesh

The 5GHz device was configured using following entry in /etc/config/wireless

config wifi-iface 'mesh2'         
        option device 'radio1'  
        option ifname 'mesh-5'  
        option network 'lan'    
        option mode 'mesh'      
        option mesh_id 'mymesh' 
        option disabled '0'
        option mcast_rate '54000'
        option macaddr 'ae:86:74:00:00:01'
        option mesh_ttl 1
        option mesh_fwding 0
        option ieee80211w 1
        option encryption 'psk2+aes'
        option key 'reallysecretkey'

It is expected that mesh_ttl is 1 and mesh_fwding is 0. But the reality is quite different:

<pre>
root@lede:/# iw dev mesh-5 get mesh_param mesh_fwding
1
root@lede:/# iw dev mesh-5 get mesh_param mesh_ttl
31
</pre>

28.07.2017935KernelBug ReportVery LowMediumModules should have default parameters as part of packa...TrunkUnconfirmed Task Description

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

 

I’m using the kmod-e1000e package, and I notice that it installs the file:

/etc/modules.d/e1000e

which contains:

e1000e

none of the module parameters are set. It turns out that the InterruptRateThrottling parameter can make a significant difference depending on whether your device is a client, server, or router.

In the case of LEDE/OpenWRT, one is obviously a router, and the optimal settings are not the default.

The kernel parameter:

InterruptThrottleRate=”1,1,1,1,1,1,1,1”

should be added, as this gives the best results. Quoting Documentation/networking/e1000e.txt:

For situations where low latency is vital such as cluster or
grid computing, the algorithm can reduce latency even more when
InterruptThrottleRate is set to mode 1. In this mode, which operates
the same as mode 3, the InterruptThrottleRate will be increased stepwise to
70000 for traffic in class “Lowest latency”.

The macro AutoProbe (and also AutoLoad) and the underlying shell scripting for probe_module() and add_module() in include/kernel.mk don’t support specifying parameters.

This should be fixed.

20.03.2017646Base systemBug ReportVery LowLowMMC/SD - mount/read/write not possible -> kernel errorsTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
- Software versions of LEDE release: Powered by LuCI Master (git-17.078.53745-180f2d6) / LEDE Reboot SNAPSHOT r3792-0685f2a

reproduce:

MMC card found on boot:
root@router:~# logread|grep -i mmc
Mon Mar 20 12:54:57 2017 kern.info kernel: [ 6.680000] mmc0: new high speed SDHC card at address 0001
Mon Mar 20 12:54:57 2017 kern.info kernel: [ 6.690000] mmcblk0: mmc0:0001 00000 29.8 GiB

but if i try to mount/read/write to it ... still not possible and kernel errors ....

root@router:~# fdisk -l

Disk /dev/mmcblk0: 29.8 GiB, 32010928128 bytes, 62521344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

root@router:~# fdisk /dev/mmcblk0

Welcome to fdisk (util-linux 2.28).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xf924301d.

Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-62521343, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-62521343, default 62521343):

Created a new partition 1 of type 'Linux' and of size 29.8 GiB.

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

##################
logcat ....
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.680000] msdc-1 -> cmd<13> resp<0xe00> <- msdc_check                                                                                                       _busy() : L<2065> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.690000] msdc-1 -> cmd<13> resp<0x900> <- msdc_check                                                                                                       _busy() : L<2065> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.700000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<-1> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.710000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<27> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.730000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<27> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.740000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<28> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.750000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<28> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.770000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<29> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.780000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<29> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.790000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<30> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.810000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<30> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.820000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<31> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.830000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<31> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.840000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<0> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.860000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<0> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.870000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<1> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.880000] msdc-1 -> TUNE_BWRITE<PASS> DSPL<0> DATWRDL                                                                                                       Y<1> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  394.160000] msdc-1 -> TUNE_BREAD<PASS> dcrc<0x0> DATRDD                                                                                                       LY0/1<0x1e101010><0x0> dsmpl<0x1> <- msdc_tune_bread() : L<1871> PID<mmcqd/0><0x1a1>

20.08.2017971ToolchainBug ReportVery LowMediummkhash on freebsdlede-17.01Unconfirmed Task Description

Path for build mkhash on freebsd.

12.04.2017706Base systemBug ReportVery LowLowminor: iw / wrong output on weak stations for "inactive...TrunkUnconfirmed Task Description

seen with r3900 on a weak longshot with Ubiquiti Bullet M5.
after some time, “inactive time:” is sane again.

root@box:~ iw dev wlan0 station dump
Station ca:00:36:00:01:08 (on wlan0)
	inactive time:	4294964856 ms
	rx bytes:	12688
	rx packets:	132
	tx bytes:	0
	tx packets:	0
	tx retries:	0
	tx failed:	0
	rx drop misc:	0
	signal:  	-90 [-90] dBm
	signal avg:	-90 [-90] dBm
	tx bitrate:	6.0 MBit/s
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	0
	beacon interval:50
	short slot time:yes
	connected time:	249 seconds
Station 00:27:22:ca:09:f0 (on wlan0)
	inactive time:	4294964856 ms
	rx bytes:	109844
	rx packets:	394
	tx bytes:	0
	tx packets:	0
	tx retries:	0
	tx failed:	0
	rx drop misc:	0
	signal:  	-90 [-90] dBm
	signal avg:	-88 [-88] dBm
	tx bitrate:	6.0 MBit/s
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	0
	beacon interval:50
	short slot time:yes
	connected time:	248 seconds

root@box:~ uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.country='US'
wireless.radio0.channel='40'
wireless.radio0.path='pci0000:00/0000:00:00.0'
wireless.radio0.hwmode='11na'
wireless.radio0.ht_capab='SHORT-GI-40' 'TX-STBC' 'RX-STBC1' 'DSSS_CCK-40'
wireless.radio0.htmode='HT20'
wireless.radio0.chanbw='20'
wireless.radio0.txpower='20'
wireless.radio0.beacon_int='50'
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device='radio0'
wireless.@wifi-iface[0].network='wlan'
wireless.@wifi-iface[0].mode='adhoc'
wireless.@wifi-iface[0].bssid='02:ca:ff:ee:00:40'
wireless.@wifi-iface[0].macaddr='dc:9f:db:0c:c9:4a'
wireless.@wifi-iface[0].ssid='ffintern.5GHz'
02.04.2017671KernelBug ReportVery LowMediumMaybe something wrong with iptableslede-17.01Unconfirmed Task Description

- Device problem occurs on any reboot
- LEDE 17.01 on Archer C50 (CPU: MT7620A, 2G: MT7620A, 5G: MT7612EN)
- Packages installed:

  + kmod-nf-nathelper
  + kmod-nf-nathelper-extra
  + kmod-nfnetlink-log
  + kmod-nfnetlink-queue
  + iptables-mod-conntrack-extra
  + iptables-mod-nat-extra

[ 2523.002022] ————[ cut here ]———— [ 2523.006780] WARNING: CPU: 0 PID: 0 at net/core/skbuff.c:4194 0x801f1598()
[ 2523.013760] Modules linked in: pppoe ppp_async iptable_nat wireguard rt2800soc rt2800pci rt2800mmio rt2800lib qmi_wwan pppox ppp_generic nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda 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_hashlimit xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbnet ts_kmp ts_fsm ts_bm slhc rt2x00soc rt2x00pci rt2x00mmio rt2x00lib 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_nat_h323 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_itu_t crc_ccitt cdc_wdm sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport mt7603e mt76x2e 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 ifb ip6_udp_tunnel udp_tunnel ipip tunnel4 ip_tunnel tun zram lzo_decompress lzo_compress lz4_decompress lz4_compress zsmalloc eeprom_93cx6 mii usb_storage ehci_platform ehci_hcd sd_mod scsi_mod f2fs usbcore nls_base usb_common leds_gpio gpio_button_hotplug
[ 2523.192336] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.50 #0
[ 2523.198196] Stack : 8031387c 00000000 00000001 80360000 00000000 00000000 00000000 00000000
[ 2523.198196] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2523.198196] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2523.198196] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2523.198196] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2523.198196] ...
[ 2523.234571] Call Trace:[<80014488>] 0×80014488 [ 2523.239162] [<80014488>] 0×80014488 [ 2523.242734] [<80024f98>] 0x80024f98
[ 2523.246311] [<801f1598>] 0x801f1598
[ 2523.249906] [<80025050>] 0×80025050 [ 2523.253507] [<801f1598>] 0x801f1598
[ 2523.257103] [<8024ae00>] 0x8024ae00
[ 2523.260713] [<82e707f4>] 0x82e707f4 [nf_conntrack@82e70000+0xc860]
[ 2523.267044] [<8024b3e8>] 0x8024b3e8
[ 2523.270646] [<8024fbf8>] 0x8024fbf8
[ 2523.274259] [<82e88448>] 0x82e88448 [ip_tables@82e88000+0×2410]
[ 2523.280324] [<80257968>] 0×80257968 [ 2523.283937] [<8025a094>] 0x8025a094
[ 2523.287506] [<8249436c>] 0x8249436c [nf_conntrack_ipv4@82494000+0x14e0]
[ 2523.294331] [<80231348>] 0×80231348 [ 2523.297918] [<802377c4>] 0x802377c4
[ 2523.301534] [<80237d7c>] 0x80237d7c
[ 2523.305137] [<80237668>] 0×80237668 [ 2523.308720] [<80238048>] 0×80238048 [ 2523.312359] [<8023788c>] 0x8023788c
[ 2523.315943] [<80200484>] 0×80200484 [ 2523.319524] [<82dace30>] 0x82dace30 [mac80211@82d80000+0x5ece0]
[ 2523.325577] [<80203954>] 0×80203954 [ 2523.329198] [<802dd2e8>] 0x802dd2e8
[ 2523.332793] [<801f229c>] 0x801f229c
[ 2523.336366] [<80079b30>] 0x80079b30
[ 2523.339992] [<802dd824>] 0x802dd824
[ 2523.343592] [<801f4028>] 0x801f4028
[ 2523.347200] [<802ddc24>] 0x802ddc24
[ 2523.350772] [<8025ea5c>] 0x8025ea5c
[ 2523.354371] [<8025edd4>] 0x8025edd4
[ 2523.357955] [<8026e6ec>] 0x8026e6ec
[ 2523.361545] [<802dd8a8>] 0x802dd8a8
[ 2523.365110] [<80200200>] 0×80200200 [ 2523.368752] [<80201bc8>] 0x80201bc8
[ 2523.372405] [<82d9fd68>] 0x82d9fd68 [mac80211@82d80000+0x5ece0]
[ 2523.378535] [<82da2b50>] 0x82da2b50 [mac80211@82d80000+0x5ece0]
[ 2523.384752] [<82da4d2c>] 0x82da4d2c [mac80211@82d80000+0x5ece0]
[ 2523.390930] [<82da5530>] 0x82da5530 [mac80211@82d80000+0x5ece0]
[ 2523.397107] [<82ce58ec>] 0x82ce58ec [mt76@82ce4000+0x3c00]
[ 2523.402820] [<82ce50e8>] 0x82ce50e8 [mt76@82ce4000+0x3c00]
[ 2523.408470] [<80201408>] 0×80201408 [ 2523.412112] [<80027518>] 0×80027518 [ 2523.415672] [<8004f0bc>] 0x8004f0bc
[ 2523.419231] [<8004b5d4>] 0x8004b5d4
[ 2523.422803] [<802f0000>] 0x802f0000
[ 2523.426363] [<800047f4>] 0x800047f4
[ 2523.429917]
[ 2523.431447] —[ end trace f575bdc1078df966 ]—

 


04.02.2017461Base systemBug ReportVery LowMediumMass Cascade of DHCP ULA Prefix Assignments with DHCP-P...AllUnconfirmed Task Description

Here is one that gets a bit ugly. Lets say we chain a bunch of LEDE based routers together. Lets also enable a nice numbering system in IP4 and IP6. Lets enable DHCP-PD through the network, because our ISP was generous with a /56. The IP4 is only static and is easy to control, see table below. Its tedious, but easy. The problem is in parallel the IP6 addresses compound in the ULA region. Each router DHCP-PD the ULA above it, and gets its own ULA from Global settings in Network UCI. There seems no easy way to control this mass cascade of ULA, and get good fail over.

Ideal Requirements:
(1) If router above is unavailable, then next tier router uses ULA (network global UCI) to begin assigning addresses to clients and subnets.
(2) If router above is available, then next tier router expires its self-generated ULA and subnets, and gets ULA from delegation above to then re-delegate to subnets.
(*) Bonus: make some parts optional

IP4 WAN Name Serves Subnet
(NAT) Router-1 172.16.0.1/24
172.16.0.2 Router-2A 172.17.0.1/24
172.17.0.2 Router-3A 172.24.0.1/24
172.17.0.3 Router-3B 172.25.0.1/24
172.16.0.3 Router-2B 172.18.0.1/24

IP6 Roots Name Serves Subnet Delegates Subnet
2001:db8/56 Router-1 2001:db8::1/64 2001:db8:0:10/60
fd00:ac10/48 fd00:ac10::1/64 2001:db8:0:20/60

                                                fd00:ac10:0:10/60
                                                fd00:ac10:0:20/60

2001:db8:0:10/60 Router-2A 2001:db8:0:10::1/64 2001:db8:0:14/62
fd00:ac10:0:10/60 fd00:ac10:0:10::1/64 2001:db8:0:18/62
fd00:ac11/48 fd00:ac11::1/64 fd00:ac10:0:14/62

                                                fd00:ac10:0:18/62
                                                fd00:ac11:0:14/62
                                                fd00:ac11:0:18/62

* please, i don’t want to type more. see how the ULA prefixes just keep multiplying.
** ‘172.16’ = ‘ac10’

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.

19.04.2017719ToolchainBug ReportVery LowMediummake menuconfig display problemTrunkUnconfirmed Task Description

I have Ubuntu 16.04 (64bit) with requirements for buildroot installed.

After clone I ran make defconfig.

But make menuconfig looks unusable. No cursor, scrolling not updates GUI, menus seems broken too.

I tried terminator, gnome-terminal and xterm but behavior is same everywhere.

25.02.2017555KernelBug ReportLowLowmac80211/ath9k warning: Rate marked as an HT rate but p...lede-17.01New Task Description

I have been using LEDE 17.01 on a WR841N v8, with a simple 2.4 GHz AP (’mixed-psk’ security).

Recently I have seen this kernel warning in the logs: it might be nothing or it might be something important, who knows.

Feb 23 17:23:59 AP4 kernel: [62871.843902] ------------[ cut here ]------------
Feb 23 17:23:59 AP4 kernel: [62871.848752] WARNING: CPU: 0 PID: 0 at compat-wireless-2016-10-08/net/mac80211/rx.c:4180 0x80e2529c [mac80211@80e00000+0x5f500]()
Feb 23 17:23:59 AP4 kernel: [62871.860717] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 113 (0x71)
Feb 23 17:23:59 AP4 kernel: [62871.870518] 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 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 ipta
Feb 23 17:23:59 AP4 kernel: [62871.930136] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.50 #0
Feb 23 17:23:59 AP4 kernel: [62871.936073] Stack : 80386534 00000000 00000001 803e0000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  ...
Feb 23 17:23:59 AP4 kernel: [62871.973122] Call Trace:[<80071a50>] 0x80071a50
Feb 23 17:23:59 AP4 kernel: [62871.977762] [<80071a50>] 0x80071a50
Feb 23 17:23:59 AP4 kernel: [62871.981372] [<800817e8>] 0x800817e8
Feb 23 17:23:59 AP4 kernel: [62871.984987] [<80e2529c>] 0x80e2529c [mac80211@80e00000+0x5f500]
Feb 23 17:23:59 AP4 kernel: [62871.991120] [<80081844>] 0x80081844
Feb 23 17:23:59 AP4 kernel: [62871.994729] [<802a385c>] 0x802a385c
Feb 23 17:23:59 AP4 kernel: [62871.998352] [<80e2529c>] 0x80e2529c [mac80211@80e00000+0x5f500]
Feb 23 17:23:59 AP4 kernel: [62872.004468] [<8025fea8>] 0x8025fea8
Feb 23 17:23:59 AP4 kernel: [62872.008086] [<8026008c>] 0x8026008c
Feb 23 17:23:59 AP4 kernel: [62872.011694] [<80d08388>] 0x80d08388 [ath9k_common@80d08000+0x47e0]
Feb 23 17:23:59 AP4 kernel: [62872.018112] [<81ba77dc>] 0x81ba77dc [ath9k@81ba0000+0x16650]
Feb 23 17:23:59 AP4 kernel: [62872.023975] [<81ba77bc>] 0x81ba77bc [ath9k@81ba0000+0x16650]
Feb 23 17:23:59 AP4 kernel: [62872.029854] [<81ba4a44>] 0x81ba4a44 [ath9k@81ba0000+0x16650]
Feb 23 17:23:59 AP4 kernel: [62872.035704] [<800843a8>] 0x800843a8
Feb 23 17:23:59 AP4 kernel: [62872.039327] [<80083d64>] 0x80083d64
Feb 23 17:23:59 AP4 kernel: [62872.042937] [<800a7e08>] 0x800a7e08
Feb 23 17:23:59 AP4 kernel: [62872.046547] [<8006a950>] 0x8006a950
Feb 23 17:23:59 AP4 kernel: [62872.050169] [<80060bf4>] 0x80060bf4
Feb 23 17:23:59 AP4 kernel: [62872.053769] 
Feb 23 17:23:59 AP4 kernel: [62872.055314] ---[ end trace 90699e3e72694b86 ]---
Feb 23 17:24:02 AP4 kernel: [62875.131392] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00024300


17.01.2017395Base systemBug ReportMediumLowmac80211.sh: detect_mac80211 should check available cha...TrunkNew Task Description

This problem was reported by few Netgear R8000 users and I managed to reproduce it. It’s related to the following code:

		vht_cap=$(iw phy "$dev" info | grep -c 'VHT Capabilities')
		cap_5ghz=$(iw phy "$dev" info | grep -c "Band 2")
		[ "$vht_cap" -gt 0 -a "$cap_5ghz" -gt 0 ] && {
			mode_band="a";
			channel="36"
			htmode="VHT80"
		}

Default htmode

The first problem is that even if hardware supports VHT80 it may be not available for every/any current channel. If channel 36 doesn’t support VHT80, for better user experience, it shouldn’t be set in /etc/config/wireless by default. Example:

root@lede:/# iw phy phy2 info
Wiphy phy2
        max # scan SSIDs: 10
        max scan IEs length: 2048 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports roaming.
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * P2P-client
                 * P2P-GO
                 * P2P-device
        Band 2:
                Capabilities: 0x1062
                        HT20/HT40
                        Static SM Power Save
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 16 usec (0x07)
                HT TX/RX MCS rate indexes supported: 0-23
                VHT Capabilities (0x0c025820):
                        Max MPDU length: 3895
                        Supported Channel Width: neither 160 nor 80+80
                        short GI (80 MHz)
                        SU Beamformer
                        SU Beamformee
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                Frequencies:
                        * 5170 MHz [34] (disabled)
                        * 5180 MHz [36] (20.0 dBm)
                        * 5190 MHz [38] (disabled)
                        * 5200 MHz [40] (20.0 dBm)
                        * 5210 MHz [42] (disabled)
                        * 5220 MHz [44] (20.0 dBm)
                        * 5230 MHz [46] (disabled)
                        * 5240 MHz [48] (20.0 dBm)
                        * 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
                        * 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
                        * 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
                        * 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
                        * 5500 MHz [100] (20.0 dBm) (no IR, radar detection)
                        * 5520 MHz [104] (20.0 dBm) (no IR, radar detection)
                        * 5540 MHz [108] (20.0 dBm) (no IR, radar detection)
                        * 5560 MHz [112] (20.0 dBm) (no IR, radar detection)
                        * 5580 MHz [116] (20.0 dBm) (no IR, radar detection)
                        * 5600 MHz [120] (20.0 dBm) (no IR, radar detection)
                        * 5620 MHz [124] (20.0 dBm) (no IR, radar detection)
                        * 5640 MHz [128] (20.0 dBm) (no IR, radar detection)
                        * 5660 MHz [132] (20.0 dBm) (no IR, radar detection)
                        * 5680 MHz [136] (20.0 dBm) (no IR, radar detection)
                        * 5700 MHz [140] (20.0 dBm) (no IR, radar detection)
                        * 5720 MHz [144] (disabled)
                        * 5745 MHz [149] (disabled)
                        * 5765 MHz [153] (disabled)
                        * 5785 MHz [157] (disabled)
                        * 5805 MHz [161] (disabled)
                        * 5825 MHz [165] (disabled)
        valid interface combinations:
                 * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
                   total <= 3, #channels <= 1
                 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
                   total <= 4, #channels <= 1
                 * #{ AP } <= 4,
                   total <= 4, #channels <= 1, STA/AP BI must match
root@lede:/# iw phy phy2 channels
Band 2:
        * 5170 MHz [34] (disabled)
        * 5180 MHz [36] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40+
        * 5190 MHz [38] (disabled)
        * 5200 MHz [40] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40-
        * 5210 MHz [42] (disabled)
        * 5220 MHz [44] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40+
        * 5230 MHz [46] (disabled)
        * 5240 MHz [48] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40-
        * 5260 MHz [52] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5280 MHz [56] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5300 MHz [60] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5320 MHz [64] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5500 MHz [100] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5520 MHz [104] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5540 MHz [108] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5560 MHz [112] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5580 MHz [116] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5600 MHz [120] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5620 MHz [124] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5640 MHz [128] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5660 MHz [132] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5680 MHz [136] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5700 MHz [140] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5720 MHz [144] (disabled)
        * 5745 MHz [149] (disabled)
        * 5765 MHz [153] (disabled)
        * 5785 MHz [157] (disabled)
        * 5805 MHz [161] (disabled)
        * 5825 MHz [165] (disabled)

as you can see, VHT80 isn’t support on any currently available channel due to regulatory limits.

Default channel

Picking channel 36 blindly is a bad idea as it may not be available. In case of phy0/radio0 on Netgear R8000 only available channels are 149+ due to hardware/board design (see ARM: BCM5301X: Set 5 GHz wireless frequency limits on Netgear R8000).

root@lede:/# iw phy phy0 info
Wiphy phy0
        max # scan SSIDs: 10
        max scan IEs length: 2048 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports roaming.
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * P2P-client
                 * P2P-GO
                 * P2P-device
        Band 2:
                Capabilities: 0x1062
                        HT20/HT40
                        Static SM Power Save
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 16 usec (0x07)
                HT TX/RX MCS rate indexes supported: 0-23
                VHT Capabilities (0x0c025820):
                        Max MPDU length: 3895
                        Supported Channel Width: neither 160 nor 80+80
                        short GI (80 MHz)
                        SU Beamformer
                        SU Beamformee
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                Frequencies:
                        * 5170 MHz [34] (disabled)
                        * 5180 MHz [36] (disabled)
                        * 5190 MHz [38] (disabled)
                        * 5200 MHz [40] (disabled)
                        * 5210 MHz [42] (disabled)
                        * 5220 MHz [44] (disabled)
                        * 5230 MHz [46] (disabled)
                        * 5240 MHz [48] (disabled)
                        * 5260 MHz [52] (disabled)
                        * 5280 MHz [56] (disabled)
                        * 5300 MHz [60] (disabled)
                        * 5320 MHz [64] (disabled)
                        * 5500 MHz [100] (disabled)
                        * 5520 MHz [104] (disabled)
                        * 5540 MHz [108] (disabled)
                        * 5560 MHz [112] (disabled)
                        * 5580 MHz [116] (disabled)
                        * 5600 MHz [120] (disabled)
                        * 5620 MHz [124] (disabled)
                        * 5640 MHz [128] (disabled)
                        * 5660 MHz [132] (disabled)
                        * 5680 MHz [136] (disabled)
                        * 5700 MHz [140] (disabled)
                        * 5720 MHz [144] (disabled)
                        * 5745 MHz [149] (20.0 dBm)
                        * 5765 MHz [153] (20.0 dBm)
                        * 5785 MHz [157] (20.0 dBm)
                        * 5805 MHz [161] (20.0 dBm)
                        * 5825 MHz [165] (20.0 dBm)
        valid interface combinations:
                 * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
                   total <= 3, #channels <= 1
                 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
                   total <= 4, #channels <= 1
                 * #{ AP } <= 4,
                   total <= 4, #channels <= 1, STA/AP BI must match
root@lede:/# iw phy phy0 channels
Band 2:
        * 5170 MHz [34] (disabled)
        * 5180 MHz [36] (disabled)
        * 5190 MHz [38] (disabled)
        * 5200 MHz [40] (disabled)
        * 5210 MHz [42] (disabled)
        * 5220 MHz [44] (disabled)
        * 5230 MHz [46] (disabled)
        * 5240 MHz [48] (disabled)
        * 5260 MHz [52] (disabled)
        * 5280 MHz [56] (disabled)
        * 5300 MHz [60] (disabled)
        * 5320 MHz [64] (disabled)
        * 5500 MHz [100] (disabled)
        * 5520 MHz [104] (disabled)
        * 5540 MHz [108] (disabled)
        * 5560 MHz [112] (disabled)
        * 5580 MHz [116] (disabled)
        * 5600 MHz [120] (disabled)
        * 5620 MHz [124] (disabled)
        * 5640 MHz [128] (disabled)
        * 5660 MHz [132] (disabled)
        * 5680 MHz [136] (disabled)
        * 5700 MHz [140] (disabled)
        * 5720 MHz [144] (disabled)
        * 5745 MHz [149] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40+ VHT80
        * 5765 MHz [153] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40- VHT80
        * 5785 MHz [157] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40+ VHT80
        * 5805 MHz [161] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40- VHT80
        * 5825 MHz [165] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz
07.11.2016273KernelBug ReportVery LowMediummac80211 IBSS: Error print on IBSS joinTrunkUnconfirmed Task Description

Hardware:
- Gateworks iMX6
- Radio MiktroTik R11e-5HnD

LEDE version used:
578f7b9c597b0ea9bcf0726cc681713c0672edfe

Repro rate:
1%

After some time in a IBSS setup, following below appeared
When it does, the connection still works but it still doesnt look fine and could lead to worse.. :

If more info is required, please let me know.
The board showing this error is still running in this state.

[ 743.735572] device wlan0 entered promiscuous mode
[ 748.945565] device wlan0 left promiscuous mode
[ 1102.652670] ————[ cut here ]———— [ 1102.652763] WARNING: CPU: 0 PID: 4070 at compat-wireless-2016-10-08/net/mac80211/sta_info.c:451 sta_info_insert_rcu+0×78/0×594 [mac80211]()
[ 1102.652772] Modules linked in: mbt_netlink mbt ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath sierra pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE ftdi_sio ebtable_nat ebtable_filter ebtable_broute cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_DNETMAP xt_CT xt_CLASSIFY usbserial ts_kmp ts_fsm ts_bm slhc sky2 nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack_ftp iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables flexcan ebtables ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_ip ebt_dnat ebt_arpreply ebt_arp ebt_among ebt_802_3 crc_ccitt compat_xtables compat can_raw can_dev can br_netfilter at24 em_cmp sch_teql em_nbyte sch_tbf sch_dsmark sch_pie sch_codel sch_gred sch_htb cls_basic act_ipt sch_prio em_text em_meta act_police sch_red sch_sfq sch_fq act_connmark nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress gsc hwmon snd_soc_imx_sgtl5000 snd_soc_sgtl5000 snd_soc_fsl_ssi imx_pcm_dma snd_soc_imx_audmux snd_soc_core ledtrig_heartbeat 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 gw16083 igb i2c_algo_bit ifb dummy tun snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore leds_gpio phy_mxs_usb ci_hdrc_imx usbmisc_imx ci_hdrc udc_core uhci_hcd ehci_platform ehci_hcd usbcore usb_common pps_gpio
[ 1102.653485] CPU: 0 PID: 4070 Comm: kworker/u4:0 Not tainted 4.4.30 #0
[ 1102.653495] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[ 1102.653564] Workqueue: phy0 ieee80211_iface_work [mac80211]
[ 1102.653574] Backtrace:
[ 1102.653600] [<800239fc>] (dump_backtrace) from [<80023bf4>] (show_stack+0×18/0x1c)
[ 1102.653609] r7:000001c3 r6:7f4a94e2 r5:60000013 r4:00000000
[ 1102.653640] [<80023bdc>] (show_stack) from [<801f08cc>] (dump_stack+0×84/0xa4)
[ 1102.653664] [<801f0848>] (dump_stack) from [<800323cc>] (warn_slowpath_common+0x8c/0xb8)
[ 1102.653671] r5:00000009 r4:00000000
[ 1102.653695] [<80032340>] (warn_slowpath_common) from [<8003249c>] (warn_slowpath_null+0×24/0x2c)
[ 1102.653703] r8:9ec3ea08 r7:9ec3e950 r6:9ec3e480 r5:9e4ee000 r4:9ebbcfb4
[ 1102.653780] [<80032478>] (warn_slowpath_null) from [<7f468524>] (sta_info_insert_rcu+0×78/0×594 [mac80211])
[ 1102.653867] [<7f4684ac>] (sta_info_insert_rcu [mac80211]) from [<7f473724>] (ieee80211_sta_join_ibss+0×614/0×1060 [mac80211])
[ 1102.653875] r10:00000088 r9:9f7f0400 r8:9ec3ea08 r7:9ec3e950 r6:9ec3e480 r5:9ec3ea04
[ 1102.653898] r4:9e4ee000
[ 1102.653978] [<7f4735a0>] (
ieee80211_sta_join_ibss [mac80211]) from [<7f4748b4>] (ieee80211_ibss_work+0x7c/0×430 [mac80211])
[ 1102.653986] r6:9e4ee000 r5:9ec3ea04 r4:9ec3e480
[ 1102.654072] [<7f474838>] (ieee80211_ibss_work [mac80211]) from [<7f475624>] (ieee80211_iface_work+0x33c/0×598 [mac80211])
[ 1102.654080] r10:00000088 r9:9f7f0400 r8:9ec3e884 r7:9ebbcb60 r6:00000000 r5:9ec3e480
[ 1102.654103] r4:9f5a2e80
[ 1102.654158] [<7f4752e8>] (ieee80211_iface_work [mac80211]) from [<80045550>] (process_one_work+0x1e0/0×318)
[ 1102.654165] r10:00000088 r9:9f7f0400 r8:00000000 r7:9f5a2e98 r6:9ec3e884 r5:9f40bc00
[ 1102.654187] r4:9f5a2e80
[ 1102.654208] [<80045370>] (process_one_work) from [<800462e8>] (worker_thread+0x2e0/0×430)
[ 1102.654215] r10:00000088 r9:00000000 r8:9f40bc14 r7:9f5a2e98 r6:9f40bc00 r5:9f40bc00
[ 1102.654238] r4:9f5a2e80
[ 1102.654262] [<80046008>] (worker_thread) from [<8004a500>] (kthread+0xe0/0xf4)
[ 1102.654269] r10:00000000 r9:00000000 r8:00000000 r7:80046008 r6:9f5a2e80 r5:00000000
[ 1102.654290] r4:9e641b00 r3:9ef65400
[ 1102.654316] [<8004a420>] (kthread) from [<80009c78>] (ret_from_fork+0×14/0x3c)
[ 1102.654323] r7:00000000 r6:00000000 r5:8004a420 r4:9e641b00
[ 1102.654342] —[ end trace 2a69f6e20e6ebe6c ]— [ node-11 ]

12.12.2016331Base systemBug ReportVery LowLowmac80211 / warning / ieee80211_ibss_leave / r2449TrunkUnconfirmed Task Description

spotted on TP-Link 4900 v1 with LEDE r2449 (selfcompiled):

[ 2860.974569] ------------[ cut here ]------------
[ 2860.979191] WARNING: at compat-wireless-2016-10-08/net/mac80211/ibss.c:1082
[ 2860.986142] Modules linked in: ath9k ath9k_common iptable_nat ath9k_hw ath snd_usb_audio nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda snd_usbmidi_lib 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 macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables compat em_nbyte sch_dsmark sch_pie sch_codel sch_gred sch_htb em_cmp cls_basic act_ipt sch_red sch_prio em_meta act_police em_text sch_tbf sch_sfq sch_fq act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ipip tunnel4 ip_tunnel tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd soundcore nls_utf8 zram lz4_decompress lz4_compress lzo_compress lzo_decompress zsmalloc usb_storage gpio_keys leds_gpio ehci_fsl ehci_platform ehci_hcd scsi_mod fsl_mph_dr_of mbcache button_hotplug input_core usbcore nls_base usb_common crc16 crc32c_generic crypto_hash [last unloaded: sd_mod]
[ 2861.124825] CPU: 0 PID: 8624 Comm: kworker/u2:0 Not tainted 4.4.36 #0
[ 2861.131337] Workqueue: phy1 ieee80211_ibss_leave [mac80211]
[ 2861.136903] task: c783b840 ti: c68a4000 task.ti: c68a4000
[ 2861.142292] NIP: c99ab128 LR: c99ab354 CTR: 00000000
[ 2861.147247] REGS: c68a5b10 TRAP: 0700   Not tainted  (4.4.36)
[ 2861.152982] MSR: 00029000 <CE,EE,ME>  CR: 28072422  XER: 20000000
[ 2861.159082]
[ 2861.159082] GPR00: c99ab004 c68a5bc0 c783b840 00000000 c68a5bf4 00000000 00000001 00000000
[ 2861.159082] GPR08: c724b114 00000001 c99f97f6 00000000 000000ff 00000000 c003c474 c790bfe0
[ 2861.159082] GPR16: c6f0f070 00000fff 00000fff c70b2138 c6ae5800 c6e30b40 00000000 00000087
[ 2861.159082] GPR24: 00000000 c68a5c68 c724b114 00000000 c6e30b40 c6e7a3d8 c6f25420 c6f0f070
[ 2861.188805] NIP [c99ab128] ieee80211_get_vht_mask_from_cap+0x1964/0x1c64 [mac80211]
[ 2861.196468] LR [c99ab354] ieee80211_get_vht_mask_from_cap+0x1b90/0x1c64 [mac80211]
[ 2861.204025] Call Trace:
[ 2861.206481] [c68a5bc0] [c99ab004] ieee80211_get_vht_mask_from_cap+0x1840/0x1c64 [mac80211] (unreliable)
[ 2861.215884] [c68a5c60] [c99ab414] ieee80211_get_vht_mask_from_cap+0x1c50/0x1c64 [mac80211]
[ 2861.224156] [c68a5d30] [c99ab9d0] ieee80211_ibss_rx_queued_mgmt+0x264/0x370 [mac80211]
[ 2861.232081] [c68a5e20] [c99acc44] ieee80211_ibss_leave+0x768/0x1770 [mac80211]
[ 2861.239307] [c68a5e80] [c00379f8] process_one_work+0x208/0x380
[ 2861.245135] [c68a5ea0] [c0037de0] worker_thread+0x270/0x48c
[ 2861.250704] [c68a5ef0] [c003c53c] kthread+0xc8/0xcc
[ 2861.255580] [c68a5f40] [c000cb3c] ret_from_kernel_thread+0x5c/0x64
[ 2861.261752] --- interrupt: 0 at   (null)
[ 2861.261752]     LR =   (null)
[ 2861.268618] Instruction dump:
[ 2861.271578] 38810034 387e0510 7f984800 419e024c 4bf410ed 2f830000 40be0030 3d40c9a0
[ 2861.279336] 394a97f6 3b600001 892a0003 69290001 <0f090000> 2f890000 41be01d0 39200001
[ 2861.287267] ---[ end trace a37b58c3292c2cbf ]---

15.08.2017961KernelBug ReportVery LowLowmac80211 / warning / ieee80211_ibss_leave / 17.01lede-17.01Unconfirmed Task Description

spotted on COMFAST CF-E316N v2 with LEDE 17.01 r3131-42f3c1f(selfcompiled):
reproduce:No idea how to reproduce. Happens at random.8 hour
[26218.476892] ————[ cut here ]———— [26218.481825] WARNING: CPU: 0 PID: 12921 at compat-wireless-2016-10-08/net/mac80211/tx.c:979 ieee80211_probereq_get+0×368/0×1628 [mac80211]()
[26218.494548] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_nat_ipv4 nf_conntrack_pptp nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_u32 xt_time xt_statistic xt_state xt_recent xt_quota xt_physdev xt_owner xt_nat xt_multiport xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_nat nf_log_ipv4 nf_log_common nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat br_netfilter act_skbedit act_mirred em_u32 cls_tcindex cls_route sch_tbf sch_hfsc sch_ingress ip_gre gre ip_tunnel sha1_generic ecb gpio_button_hotplug cryptomgr aead crypto_null crypto_hash
[26218.601080] CPU: 0 PID: 12921 Comm: kworker/u2:2 Tainted: G W 4.4.47 #1
[26218.609046] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[26218.614698] Stack : 837a9000 0000001a 835bcb40 800a6798 83e0519c 803c8603 80366a2c 00003279

        80390920 83c41a8c 803c0000 800a4718 835bcb40 800a6798 8036bf18 803c0000
        00000003 83c41a8c 803c0000 80094780 835bcb40 83c41ac4 00000000 801ea7b4
        803c77b0 801ea700 83613adc 83f3a100 83f3a200 70687930 00000000 00000000
        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
        ...

[26218.651077] Call Trace:
[26218.653631] [<800a6798>] vprintk_default+0×24/0×30 [26218.658527] [<800a4718>] printk+0x2c/0×38 [26218.662612] [<800a6798>] vprintk_default+0×24/0×30 [26218.667505] [<80094780>] print_worker_info+0×148/0×174 [26218.672770] [<801ea7b4>] serial8250_console_putchar+0×0/0×44 [26218.678526] [<801ea700>] wait_for_xmitr+0×18/0xcc
[26218.683415] [<83613adc>] ieee80211_ibss_leave+0×338/0x196c [mac80211]
[26218.690027] [<80080f58>] warn_slowpath_common+0xa0/0xd0
[26218.695336] [<8019d39c>] dump_stack+0×14/0×28 [26218.699771] [<800711ec>] show_stack+0×50/0×84 [26218.704192] [<80080f58>] warn_slowpath_common+0xa0/0xd0
[26218.709600] [<83627f30>] ieee80211_probereq_get+0×368/0×1628 [mac80211]
[26218.716364] [<80081010>] warn_slowpath_null+0×18/0×24 [26218.721645] [<83627f30>] ieee80211_probereq_get+0×368/0×1628 [mac80211]
[26218.728557] [<8362ac48>] ieee80211_tx_dequeue+0x7a4/0x96c [mac80211]
[26218.735059] [<800a1640>] wake_bit_function+0×0/0×58 [26218.740191] [<834eaac8>] ath_assign_seq+0×374/0×600 [ath9k]
[26218.745982] [<83617e54>] ieee80211_get_tx_rates+0×208/0x63c [mac80211]
[26218.752723] [<834eabb0>] ath_assign_seq+0x45c/0×600 [ath9k]
[26218.758440] [<834eabb0>] ath_assign_seq+0x45c/0×600 [ath9k]
[26218.764155] [<834e91cc>] ath_stoprecv+0xe2c/0x11c0 [ath9k]
[26218.769810] [<834eb760>] ath_txq_schedule+0x7a4/0×818 [ath9k]
[26218.775759] [<834eb86c>] ath9k_wake_tx_queue+0×98/0xc0 [ath9k]
[26218.781822] [<836307e4>] ieee80211_wake_queue_by_reason+0×20/0×44 [mac80211]
[26218.789120] [<8360e43c>] ieee80211_send_bar+0x4fc/0×514 [mac80211]
[26218.795435] [<8009e994>] check_preempt_wakeup+0xe0/0×178 [26218.800962] [<8360f4dc>] ieee80211_process_addba_resp+0×190/0x2cc [mac80211]
[26218.808253] [<83613cfc>] ieee80211_ibss_leave+0×558/0x196c [mac80211]
[26218.814874] [<8009ef44>] pick_next_task_fair+0xe8/0x16c
[26218.820199] [<8009adec>] deactivate_task+0×60/0x8c
[26218.825118] [<800926b4>] process_one_work+0x1f8/0x32c
[26218.830311] [<800934b8>] worker_thread+0x2b0/0×400 [26218.835173] [<80093208>] worker_thread+0×0/0×400 [26218.839876] [<80093208>] worker_thread+0×0/0×400 [26218.844564] [<8009784c>] kthread+0xd8/0xec
[26218.848769] [<80097774>] kthread+0×0/0xec
[26218.852852] [<80060878>] ret_from_kernel_thread+0×14/0x1c
[26218.858334]
[26218.859864] —[ end trace a183d244c0d1ad7d ]—

 


12.12.2016335KernelBug ReportVery LowLowmac80211 : Warning prints in RX_NAPITrunkUnconfirmed Task Description

Hardware:
- Multiple cns3xxx Gateworks Laguna boards in IBSS config
- 4x UBNT SR-71 per device (802.11n 2×2)
- LEDE r2114

No idea how to repro it properly ...

During a check of a device in the field, I noticed lots of these warnings:

[38467.750000] WARNING: CPU: 0 PID: 0 at compat-wireless-2016-10-08/net/mac80211/rx.c:4180 ieee80211_rx_napi+0xe4/0×934 [mac80211]()
[38467.760000] Rate marked as an HT rate but passed status→rate_idx is not an MCS index [0-76]: 126 (0x7e)

Full log:

http://pastebin.com/raw/rzF0XKyy

17.02.2017528KernelBug ReportVery LowLowmac80211 -- Lose connectivity to wireless and networklede-17.01Unconfirmed Task Description

Supply the following if possible:

- Device problem occurs on
Linksys WRT3200ACM

- Software versions of LEDE release, packages, etc.
LEDE Reboot 17.01.0-rc2 r3131-42f3c1f / LuCI e306ee6c93c1ef600012f47e40dd75020d4ab555 branch (git-17.033.24085-e306ee6)

- Steps to reproduce
Let it run...

-UpTime
16h 25m 44s

–Kernel Log

ieee80211 phy0: create ba result error 1
[47506.602405] ieee80211 phy0: ampdu operation error code: -22
[47507.239732] ————[ cut here ]———— [47507.244406] WARNING: CPU: 0 PID: 6157 at compat-wireless-2016-10-08/net/mac80211/agg-tx.c:398 0xbf0a9a18 [mac80211@bf09c000+0x5b514]()
[47507.256560] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda ipt_REJECT ipt_MASQUERADE 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 ts_kmp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt mwlwifi mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables uhci_hcd ohci_platform ohci_hcd sd_mod exfat gpio_button_hotplug
[47507.342771] CPU: 0 PID: 6157 Comm: kworker/u4:0 Not tainted 4.4.47 #0
[47507.349237] Hardware name: Marvell Armada 380/385 (Device Tree)
[47507.355184] Workqueue: phy0 0xbf0adfcc [mac80211@bf09c000+0x5b514]
[47507.361399] Function entered at [<c0027d2c>] from [<c0024450>]
[47507.367253] Function entered at [<c0024450>] from [<c0217d44>]
[47507.373108] Function entered at [<c0217d44>] from [<c0034e14>]
[47507.378963] Function entered at [<c0034e14>] from [<c0034ecc>]
[47507.384817] Function entered at [<c0034ecc>] from [<bf0a9a18>]
[47507.390676] Function entered at [<bf0a9a18>] from [<bf0a9e0c>]
[47507.396531] Function entered at [<bf0a9e0c>] from [<bf0ae18c>]
[47507.402387] Function entered at [<bf0ae18c>] from [<c004948c>]
[47507.408241] Function entered at [<c004948c>] from [<c0049930>]
[47507.414095] Function entered at [<c0049930>] from [<c004e644>]
[47507.419950] Function entered at [<c004e644>] from [<c0009d38>]
[47507.425811] —[ end trace edc512a72d599128 ]— [50422.078420] ————[ cut here ]———— [50422.083083] WARNING: CPU: 0 PID: 1587 at compat-wireless-2016-10-08/net/mac80211/agg-tx.c:347 0xbf0a9964 [mac80211@bf09c000+0x5b514]()
[50422.095238] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda ipt_REJECT ipt_MASQUERADE 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 ts_kmp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt mwlwifi mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables uhci_hcd ohci_platform ohci_hcd sd_mod exfat gpio_button_hotplug
[50422.181434] CPU: 0 PID: 1587 Comm: hostapd Tainted: G W 4.4.47 #0
[50422.188684] Hardware name: Marvell Armada 380/385 (Device Tree)
[50422.194629] Function entered at [<c0027d2c>] from [<c0024450>]
[50422.200483] Function entered at [<c0024450>] from [<c0217d44>]
[50422.206338] Function entered at [<c0217d44>] from [<c0034e14>]
[50422.212192] Function entered at [<c0034e14>] from [<c0034ecc>]
[50422.218046] Function entered at [<c0034ecc>] from [<bf0a9964>]
[50422.223904] Function entered at [<bf0a9964>] from [<bf0a9e0c>]
[50422.229758] Function entered at [<bf0a9e0c>] from [<bf0a8a8c>]
[50422.235613] Function entered at [<bf0a8a8c>] from [<bf09f8f4>]
[50422.241468] Function entered at [<bf09f8f4>] from [<bf0a2ae8>]
[50422.247323] Function entered at [<bf0a2ae8>] from [<bf0a2b74>]
[50422.253178] Function entered at [<bf0a2b74>] from [<bf070b60>]
[50422.259036] Function entered at [<bf070b60>] from [<c03d1df0>]
[50422.264891] Function entered at [<c03d1df0>] from [<c03d1110>]
[50422.270745] Function entered at [<c03d1110>] from [<c03d1b08>]
[50422.276599] Function entered at [<c03d1b08>] from [<c03d0ae0>]
[50422.282453] Function entered at [<c03d0ae0>] from [<c03d0f20>]
[50422.288307] Function entered at [<c03d0f20>] from [<c038e11c>]
[50422.294162] Function entered at [<c038e11c>] from [<c038e768>]
[50422.300016] Function entered at [<c038e768>] from [<c038f560>]
[50422.305870] Function entered at [<c038f560>] from [<c0009c80>]
[50422.311731] —[ end trace edc512a72d599129 ]—

07.03.2017605Base systemBug ReportVery LowLowLuCI wireless associated stations doesn't show noise db...TrunkUnconfirmed Task Description

With an Archer C7 v2 the list shows up the noise level in the associated stations doesn’t show up, instead it shows 0dBm and the bar icon shows empty bars. The noise level is display correctly inside the wifi configuration under the device options.

This only happens at least with the channel 112, I have tried all the channels below from 36-104 (44 and 108 jumps to 48 and 112 respectively because other nearly stations).

Can’t try the 4 channels above because radars and the next 4 above because in my country doesn’t exist channel 144.

I will try to test with less width than 80 MHz.

I set it to low because it seems that it only affect to the associated stations tables visualization and the wifi network works as it should.

03.08.2017948PackagesBug ReportVery LowHighlua: on 64bit targets integer number truncation may occ...AllUnconfirmed Task Description

On 64bit target implementations (eg x86_64) and with LNUM on int32
mode (default), assignation of an integer number greater than
UINT_MAX (ie 4294967295), but lesser or equal than UINT_MAX +
0x7FFFFFFF + 1 (ie 6442450943) to a variable does result in
truncation of the final value stored in memory.

E.g.:

   > n=4294967296; print(n)
   0
   > n=6442450943; print(n)
   2147483647

Cause:
LNUM does perform a C-Style cast in the intermediate function wrapper
used to check for the fitness of numbers. This cast is not only unnecessary
but also brings on undefined behaviour on 64bit target implementations
where INT’s and LONG’s are of size 32 and 64bit respectively.

Fix:
Removal of the unnecessary cast in wrapper does bring back the ‘overflow detection’.

Regards, Víctor Calvís.

23.07.2017925Base systemBug ReportVery LowLowLinksys WRT3200ACM dnscrypt start but the disappear at ...TrunkUnconfirmed Task Description

I’m using dnscrypt in an Archer C7 and it’s working. I have configured it also in a WRT3200ACM but when the router starts it’s started but then it disappears without any error message.

If I enter into ssh and execute /etc/init.d/dnscrypt-proxy restart or start it then works right.

In logread at boot appears:

Sun Jul 16 02:15:11 2017 user.info : dnscrypt-proxy + DNS Security Extensions are supported
Sun Jul 16 02:15:11 2017 user.info : dnscrypt-proxy + Namecoin domains can be resolved
Sun Jul 16 02:15:11 2017 user.info : dnscrypt-proxy + Provider supposedly doesn't keep logs
Sun Jul 16 02:15:11 2017 daemon.notice dnscrypt-proxy[1224]: dnscrypt-proxy Starting dnscrypt-proxy 1.9.4
Sun Jul 16 02:15:11 2017 daemon.info dnscrypt-proxy[1224]: dnscrypt-proxy Generating a new session key pair
Sun Jul 16 02:15:11 2017 kern.info kernel: [ 14.200566] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
Sun Jul 16 02:15:11 2017 kern.info kernel: [ 14.207718] mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during initialization
Sun Jul 16 02:15:11 2017 daemon.info dnscrypt-proxy[1224]: dnscrypt-proxy Done

And no more messages about dnscrypt are shown, but also dnscrypt doesn’t shown in ssh with ps, until the mentioned manual start is done.

Perhaps there is a problem with dnscrypt if it starts before there is an active internet connection?

10.04.2017697Base systemBug ReportVery LowHighLEDE tl-wdr3320-v2 No 2.4GHzlede-17.01Waiting on reporter Task Description

ar9344+ar9287

this:
https://downloads.lede-project.org/releases/17.01.0/targets/ar71xx/generic/lede-17.01.0-r3205-59508e3-ar71xx-generic-tl-wdr3320-v2-squashfs-sysupgrade.bin
No 2.4GHz

15.06.2017849Base systemBug ReportVery LowLowLEDE commit 61cfc8075b615c231cf6349b3708d0a7e073613e br...TrunkUnconfirmed Task Description

I have been experimenting with mesh networking using batman-adv V on a number of devices (WDR-3600, WR-740, DIR-505 and DIR-810l) on LEDE 17.01.1 with great success but recently did an upgrade compiling to the master branch of LEDE (r4018-4b195a6) with batman-adv 2017.0 and D-Link DIR-810l loosed all connectivity, although other Atheros platforms had no problems whatsoever.

I have traced the problem to commit id 61cfc80, reverting to the previous commit (3d71d1d) resolved the issues.

The problem is not batman-adv related, what happens is that although adhoc interfaces apparently connect normally on the affected device, they are only able to hear other nodes but not to transmit, none of the other devices receive any packets from DIR-810L. I have not tested using “normal” interfaces like access point or station, only adhoc, but I can confirm that reverting the commit to the previous one with the same configuration resolved the issue of no wireless adhoc connectivity.

Other symptoms are:

Warnings on log messages regarding the driver support for the power amplifier (they don’t show up on the previous commit)
Mon Jun 12 16:09:10 2017 kern.warn kernel: [ 25.122709] ieee80211 phy0: rt2800_config_channel: Warning - Using incomplete support for external PA
Mon Jun 12 16:09:10 2017 kern.info kernel: [ 25.203270] IPv6: ADDRCONF: adhoc0: link is not ready
Mon Jun 12 16:09:10 2017 kern.info kernel: [ 25.316852] adhoc0: Created IBSS using preconfigured BSSID 02:ca:fe:ca:00:12
Mon Jun 12 16:09:10 2017 kern.info kernel: [ 25.330980] adhoc0: Creating new IBSS network, BSSID 02:ca:fe:ca:00:12
Mon Jun 12 16:09:10 2017 kern.warn kernel: [ 25.346636] ieee80211 phy0: rt2800_config_channel: Warning - Using incomplete support for external PA

Incomplete station info (lack of RX expected throughput and low TX throughput for the high signal level)
root@node-1:~# iwinfo adhoc0 assoclist
EC:08:6B:EC:3F:A4 -20 dBm / unknown (SNR -20) 170 ms ago
RX: unknown 8830 Pkts.
TX: 6.5 MBit/s, MCS 0, 20MHz 601 Pkts.

And chipset detection apparently wrong (bellow a comparison log taken from trunk and 17.01.1
On master branch: ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
On 17.01.1: ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0500 detected

06.07.2017893KernelBug ReportVery LowLowLEDE 17.01.2 rpi-3 kmod-usb-net package issueslede-17.01Unconfirmed Task Description

the kernel for rpi-3 uses CONFIG_USB_USBNET=y, therefore kmod-usb-net is a stub package which does effectively not contain usbnet.ko.

unfortunately, kmod-usb-net.postinst-pkg still tries to insert the module (insert_modules usbnet), which never works.

also, /etc/modules.d/usb-net still contains “usbnet”.

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'
 


17.02.2017526ToolchainBug ReportVery LowLowLEDE 17.01-rc2 SDK requires a too new libstdc++ version...lede-17.01Unconfirmed Task Description

The LEDE 17.01-rc2 SDK wants the symbol GLIBCXX_3.4.20 in libstdc++6, but Ubuntu 14.04 x86_64 only has GLIBCXX_3.4.19.

compiler@host:~$ dpkg -l libstdc++6
ii libstdc++6:amd64 4.8.4-2ubuntu1~14.04.3 amd64 GNU Standard C++ Library v3

compiler@host:~/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64$ make -j1 V=s
[...]
(cd /home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/libubox-2016-11-29-77a62937; CFLAGS=”-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/libubox-2016-11-29-77a62937:libubox-2016-11-29-77a62937 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr/include " CXXFLAGS=”-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/libubox-2016-11-29-77a62937:libubox-2016-11-29-77a62937 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr/include " LDFLAGS=”-L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -znow -zrelro " cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_VERSION=1 -DCMAKE_SYSTEM_PROCESSOR=mips -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE=”-DNDEBUG” -DCMAKE_CXX_FLAGS_RELEASE=”-DNDEBUG” -DCMAKE_C_COMPILER=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/host/bin/ccache” -DCMAKE_C_COMPILER_ARG1=”mips-openwrt-linux-musl-gcc” -DCMAKE_CXX_COMPILER=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/host/bin/ccache” -DCMAKE_CXX_COMPILER_ARG1=”mips-openwrt-linux-musl-g++” -DCMAKE_ASM_COMPILER=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/host/bin/ccache” -DCMAKE_ASM_COMPILER_ARG1=”mips-openwrt-linux-musl-gcc” -DCMAKE_EXE_LINKER_FLAGS:STRING=”-L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -znow -zrelro” -DCMAKE_MODULE_LINKER_FLAGS:STRING=”-L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -znow -zrelro -Wl,-Bsymbolic-functions” -DCMAKE_SHARED_LINKER_FLAGS:STRING=”-L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -znow -zrelro -Wl,-Bsymbolic-functions” -DCMAKE_AR=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/bin/mips-openwrt-linux-musl-gcc-ar” -DCMAKE_NM=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/bin/mips-openwrt-linux-musl-gcc-nm” -DCMAKE_RANLIB=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/bin/mips-openwrt-linux-musl-gcc-ranlib” -DCMAKE_FIND_ROOT_PATH=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr;/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16” -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_STRIP=: -DCMAKE_INSTALL_PREFIX=/usr -DDL_LIBRARY=/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16 -DCMAKE_PREFIX_PATH=/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16 -DCMAKE_SKIP_RPATH=TRUE -DLUAPATH=/usr/lib/lua /home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/libubox-2016-11-29-77a62937 )
/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/host/bin/cmake: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by /home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/host/bin/cmake)
make[3]: * [/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/libubox-2016-11-29-77a62937/.configured_yynnyy] Error 1
make[3]: Leaving directory `/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/feeds/base/package/libs/libubox’ make[2]:
* [package/feeds/base/libubox/compile] Error 2
make[2]: Leaving directory `/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64’ make[1]: * [/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64’ make:
* [world] Error 2

Further diagnostics:

compiler@host:~/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64$ for a in staging_dir/host/bin/.*bin; do ldd $a |grep “not found”; done
staging_dir/host/bin/.ccmake.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by staging_dir/host/bin/.ccmake.bin)
staging_dir/host/bin/.ccmake.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8’ not found (required by staging_dir/host/bin/.ccmake.bin)
staging_dir/host/bin/.cmake.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by staging_dir/host/bin/.cmake.bin)
staging_dir/host/bin/.cpack.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by staging_dir/host/bin/.cpack.bin)
staging_dir/host/bin/.cpack.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8’ not found (required by staging_dir/host/bin/.cpack.bin)
staging_dir/host/bin/.ctest.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by staging_dir/host/bin/.ctest.bin)
staging_dir/host/bin/.gengetopt.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by staging_dir/host/bin/.gengetopt.bin)
staging_dir/host/bin/.mklibs-readelf.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by staging_dir/host/bin/.mklibs-readelf.bin)

21.02.2017543KernelBug ReportVery LowLowLED trigger netdev on a bridge is not interface sensiti...lede-17.01Unconfirmed Task Description

I have a bridge “br-wan” with “eth1” and “eth0.2” interfaces.

In Chaos I could set the led trigger to either of these interfaces separately. I could display either of the interfaces separately.

In 17.01 no matter what I choose “br-wan”, “eth0.2”, or “eth1” the led shows the full traffic through the bridge.

If this is made on purpose, could you point me to the code change please.

20.08.2016105Base systemBug ReportMediumMediumlantiq: high latency on adsl lines using pppo[ae]TrunkAssigned Task Description

based on the thread
[LEDE-DEV] [OpenWrt-Devel] latency on PPPoA ADSL Annex A on using Lantiq

http://lists.infradead.org/pipermail/lede-dev/2016-August/002138.html

When using ssh onto the box via adsl, there is a high latency.
The last 3.18 version of lede works. Known good:

  • 161179f40bd7899516518f3844fea28c6dd86efc r47130

Known broken versions:

  • 2795592d913ba8ba57ba537d40714407ea463426 r47131
  • 2a0e1b7f8d59f795abb29d20007822f0da232c43 r47958

mkresin also has a patch for lantiq+4.0, which also has a high latency.
blogic mentioned linux commit 7424ce65065852bdf7a040bf2490da4a8fc4b464 [atm] switch vcc_sendmsg() to copy_from_iter() could be the issue.

Also an interesting side-effect. setup a uhttpd on the device and serve a file to the internet is very slow (using 4mb file random data). it only uploads 5kb/s

31.05.2017818Base systemBug ReportVery LowLowl/tmp/hosts/dhcp.cfg does not map IPv6 ULA addressesTrunkUnconfirmed Task Description

Latest trunk is being used.

localhost is mapped to 127.0.0.1 and [::1]. But LEDE is mapped to 192.168.1.1 by default. The IPv6 ULA address is not.

20.03.2017645PackagesBug ReportVery LowLowkmod package postinst script returned status 255TrunkUnconfirmed Task Description

on instalaltion of current runk i got error on installation of: package “kmod-lib-zlib-inflate” postinst script returned status 255

Supply the following if possible:
- Device problem occurs on
- Software versions of LEDE release: Powered by LuCI Master (git-17.078.53745-180f2d6) / LEDE Reboot SNAPSHOT r3792-0685f2a
- reproduce: try to install package: “kmod-lib-zlib-inflate”
then you will get: errors on config ..

root@router:~# opkg install kmod-lib-zlib-inflate -V4

opkg_conf_parse_file: Loading conf file /etc/opkg.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/customfeeds.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/distfeeds.conf.
opkg_install_cmd: kmod-lib-zlib-inflate
opkg_prepare_url_for_install: applying abpkg flag to kmod-lib-zlib-inflate
pkg_hash_load_feeds:
pkg_parse_line: propagating abpkg flag to pkg kmod-lib-zlib-inflate
...
...
pkg_vec_insert_merge: Adding new pkg=fdisk version=2.28 arch=mipsel_24kc.
pkg_vec_insert_merge: Adding new pkg=picocom version=1.7 arch=mipsel_24kc.
pkg_vec_insert_merge: Adding new pkg=iftop version=2017-02-06-35af3cf6 arch=mipsel_24kc.
pkg_info_preinstall_check: Updating file owner list.
opkg_install_by_name: Old versions from pkg_hash_fetch 4.4.53.
pkg_hash_fetch_best_installation_candidate: Best installation candidate for kmod-lib-zlib-inflate:
pkg_hash_fetch_best_installation_candidate: Adding kmod-lib-zlib-inflate to providers.
pkg_hash_fetch_best_installation_candidate: kmod-lib-zlib-inflate arch=mipsel_24kc arch_priority=10 version=4.4.53.
pkg_hash_fetch_best_installation_candidate: Candidate: kmod-lib-zlib-inflate 4.4.53.
opkg_install_by_name: Versions from pkg_hash_fetch: old 4.4.53  new 4.4.53
opkg_install_by_name: Comparing visible versions of pkg kmod-lib-zlib-inflate:
        4.4.53-1 is installed
        4.4.53-1 is available
        0 was comparison result
Package kmod-lib-zlib-inflate (4.4.53-1) installed in root is up to date.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
opkg_recurse_pkgs_in_order: pkg kmod-usb-storage.
opkg_recurse_pkgs_in_order: Descending on pkg kernel.
....
....
opkg_recurse_pkgs_in_order: Descending on pkg collectd.
opkg_recurse_pkgs_in_order: pkg collectd already visited, skipping.
opkg_recurse_pkgs_in_order: pkg kmod-ipt-nat already visited, skipping.
Configuring kmod-lib-zlib-inflate.
pkg_run_script: Running script //usr/lib/opkg/info/kmod-lib-zlib-inflate.postinst.
failed to find a module named zlib_inflate
Configuring kmod-lib-zlib-deflate.
pkg_run_script: Running script //usr/lib/opkg/info/kmod-lib-zlib-deflate.postinst.
failed to find a module named zlib_deflate
write_status_files_if_changed: Nothing to be done.
hash_table: pkg-hash, 12288 bytes
        n_buckets=1024, n_elements=1672, n_collisions=839
        max_bucket_len=6, n_used_buckets=833, ave_bucket_len=2.01
        n_hits=56688, n_misses=14283
hash_table: file-hash, 12288 bytes
        n_buckets=1024, n_elements=1370, n_collisions=604
        max_bucket_len=5, n_used_buckets=766, ave_bucket_len=1.79
        n_hits=0, n_misses=1370
hash_table: obs-file-hash, 768 bytes
        n_buckets=64, n_elements=0, n_collisions=0
        max_bucket_len=0, n_used_buckets=0, ave_bucket_len=0.00
        n_hits=0, n_misses=0
Collected errors:
 * pkg_run_script: package "kmod-lib-zlib-inflate" postinst script returned status 255.
 * opkg_configure: kmod-lib-zlib-inflate.postinst returned 255.
 * pkg_run_script: package "kmod-lib-zlib-deflate" postinst script returned status 255.
 * opkg_configure: kmod-lib-zlib-deflate.postinst returned 255.
root@router:~#


22.07.2017922KernelBug ReportVery LowLowkernel: 3g-4G: recursion detectedTrunkUnconfirmed Task Description

Hello,
since new trunk version i see errors in logs about 3g-4g connection ...

any idea what can be the problem ?

i guess it is something related to kernel 4.9
it was no on kernel 4.4.x....

how i do is:
installing 3g-4G packages ...

#3g/4g + luci (https://wiki.openwrt.org/doc/recipes/3gdongle)
opkg install chat #–force-reinstall
opkg install comgt #–force-reinstall
opkg install luci-proto-3g #–force-reinstall
opkg install kmod-usb-serial #–force-reinstall
opkg install kmod-usb-serial-option #–force-reinstall
opkg install kmod-usb-serial-wwan #–force-reinstall #(mostly added now in current release or trunk)
#3ginfo package
opkg install http://dl.eko.one.pl/chaos_calmer/ar71xx/packages/3ginfo-text_20170524_all.ipk #opkg install http://dl.eko.one.pl/chaos_calmer/ar71xx/packages/3ginfo__20170524_all.ipk –force-checksum –force-reinstall

then after starting the 3g-4G .. i get this: almost every 1-2 secs ...

Sat Jul 22 12:14:55 2017 kern.err kernel: [ 229.200000] 3g-4G: recursion detected
Sat Jul 22 12:14:56 2017 kern.err kernel: [ 230.210000] 3g-4G: recursion detected
....

any idea what can be related to this bug ?

 


04.09.2016153KernelBug ReportVery LowLowKERNEL_DYNAMIC_FTRACE=y on mips => panic TrunkUnconfirmed Task Description

Github issue #129 reported by: https://github.com/stsydow

If KERNEL_DYNAMIC_FTRACE is enabled on a MIPS system it will panic in late boot. (tested on ar71xx and malta)
The error message is not very helpful, maybe some one has an idea how to track it down:

[    5.579744] procd: - init -
Please press Enter to activate this console.
[    5.854903] CPU 0 Unable to handle kernel paging request at virtual address 00c03849, epc == 8026a400, ra == 8026a3e4
[    5.855392] Oops[#1]:
[    5.855602] CPU: 0 PID: 1611 Comm: kmodloader Not tainted 4.4.13 #20
[    5.855862] task: 8d86a0a0 ti: 8fa22000 task.ti: 8fa22000
[    5.856060] $ 0   : 00000000 8026a3e4 80130620 00000000
[    5.856380] $ 4   : 8dc48ab0 00000001 0000000e 81b97540
[    5.856607] $ 8   : 0024f000 00003edc 00000000 00000001
[    5.856795] $12   : 8d8410c0 00000025 00000000 6261745f
[    5.856984] $16   : 8dc48a80 81980000 00c03821 801305f4
[    5.857174] $20   : 8dc48ad9 80130620 0000001d 024000c0
[    5.857362] $24   : 00000000 8015655c                  
[    5.857569] $28   : 8fa22000 8fa23bd0 80194d48 8026a3e4
[    5.857766] Hi    : 00000018
[    5.857863] Lo    : 00000007
[    5.858008] epc   : 8026a400 proc_register+0x74/0x130
[    5.858167] ra    : 8026a3e4 proc_register+0x58/0x130
[    5.858317] Status: 1000b703 KERNEL EXL IE 
[    5.858529] Cause : 00800008 (ExcCode 02)
[    5.858655] BadVA : 00c03849
[    5.858764] PrId  : 00019300 (MIPS 24Kc)
[    5.858895] Modules linked in: ip6_tables(+) x_tables mii
[    5.859219] Process kmodloader (pid: 1611, threadinfo=8fa22000, task=8d86a0a0, tls=77528e48)
[    5.859477] Stack : 8da50000 8026a1a4 8f898000 81b94a40 81945a40 8014d8c4 00000001 8dc48a80
      8da4e540 00000000 8f9d6370 8da50000 8da50000 8026a724 00000000 80650000
      8da4e400 00000000 8f9d6370 80650000 8da4e400 8da4d134 00000000 8d86a0e8
      801305f4 00000000 00000000 5ce6d83d 81b94a40 61745f78 73656c62 6d616e5f
      8d007365 0000af3b 81b94a40 81b94a40 8dad46b0 00000000 8fa23d30 80650000
      ...
[    5.861631] Call Trace:
[    5.861728] [<8026a400>] proc_register+0x74/0x130
[    5.861954] [<8026a724>] proc_create_data+0xac/0xd8
[    5.862188] [<8da4d134>] xt_proto_init+0xa4/0x1d0 [x_tables]
[    5.862414] [<8042e640>] ops_init.constprop.9+0x10c/0x150
[    5.862593] [<8042e71c>] register_pernet_operations.isra.4+0x98/0xec
[    5.862796] [<8042e7a4>] register_pernet_subsys+0x34/0x58
[    5.862986] [<8f9d7030>] init_module+0x28/0xcc [ip6_tables]
[    5.863174] [<801006b4>] do_one_initcall+0x1f8/0x224
[    5.863341] [<801c5c8c>] do_init_module+0x84/0x1f8
[    5.863504] [<80197ca0>] load_module+0x1888/0x1d58
[    5.863680] [<80198290>] SyS_init_module+0x120/0x164
[    5.863846] [<80113908>] syscall_common+0x30/0x54
[    5.864046] 
[    5.864130] 
Code: 12400014  26040030  92060058 <92420028> 00c2182b  14600008  00000000  0046102b  14400009 
[    5.864794] ---[ end trace 6cd948b6ebb870af ]---

To test, try this config: config.zip

(default config for malta-mips + KERNEL_DYNAMIC_FTRACE)
and run

qemu-system-mipsel -kernel bin/targets/malta/le/lede-malta-le-vmlinux-initramfs.elf -nographic -m 256

Full boot log: crash-dyn-trace.log.txt

16.02.2017521Base systemBug ReportVery LowLowkernel warning in mac802 11 / ibss_leave / r3472TrunkUnconfirmed Task Description

it is a “TP-LINK TL-WR1043ND”.

[46258.340310] ------------[ cut here ]------------
[46258.345255] WARNING: CPU: 0 PID: 10086 at compat-wireless-2017-01-31/net/mac80211/ibss.c:1082 ieee80211_get_vht_mask_from_cap+0x1a50/0x1b90 [mac80211]()
[46258.359026] Modules linked in: ath9k ath9k_common ath9k_hw ath nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda 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 macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables compat em_nbyte sch_dsmark sch_pie sch_codel sch_gred em_cmp cls_basic act_ipt sch_red sch_prio em_meta act_police em_text sch_sfq sch_fq act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 zram lz4_decompress lz4_compress lzo_compress lzo_decompress zsmalloc usb_storage ohci_platform ohci_hcd ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc16 crc32c_generic crypto_hash [last unloaded: crc_ccitt]
[46258.487331] CPU: 0 PID: 10086 Comm: kworker/u2:0 Not tainted 4.4.47 #0
[46258.494018] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[46258.499637] Stack : 80e34b40 80e34b40 00000001 800a7590 818ee5bc 80410d63 803aa280 00002766
[46258.499637]    803d4ab4 809dfab4 80410000 800a550c 00000001 800a7590 803af978 80410000
[46258.499637]    00000003 809dfab4 80410000 80095528 00000001 809dfaec 00000000 801f3b30
[46258.499637]    00000001 801f3b00 80f13acc 80e12300 80e12200 70687930 00000000 00000000
[46258.499637]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[46258.499637]    ...
[46258.535670] Call Trace:
[46258.538143] [<80071e10>] show_stack+0x50/0x84
[46258.542555] [<80081b9c>] warn_slowpath_common+0xa0/0xd0
[46258.547819] [<80081c54>] warn_slowpath_null+0x18/0x24
[46258.553014] [<80f1268c>] ieee80211_get_vht_mask_from_cap+0x1a50/0x1b90 [mac80211]
[46258.560637]
[46258.562148] ---[ end trace eb9418c3bbf97ef5 ]---


uci config is:

wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.country='US'
wireless.radio0.channel='11'
wireless.radio0.frag='off'
wireless.radio0.noscan='1'
wireless.radio0.path='platform/ath9k'
wireless.radio0.hwmode='11ng'
wireless.radio0.ht_capab='SHORT-GI-40' 'DSSS_CCK-40'
wireless.radio0.htmode='HT20'
wireless.radio0.beacon_int='250'
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device='radio0'
wireless.@wifi-iface[0].network='wlan'
wireless.@wifi-iface[0].mode='adhoc'
wireless.@wifi-iface[0].bssid='02:ca:ff:ee:00:11'
wireless.@wifi-iface[0].ssid='bb'
wireless.@wifi-iface[0].mcast_rate='6000'
wireless.@wifi-iface[0].macaddr='64:70:02:5c:1b:3c'
02.09.2016137KernelBug ReportVery LowLowKernel panic with zram TrunkUnconfirmed Task Description

Github issue #296, reported by https://github.com/Ansuel

I have compiled my image with zram support and i have this bug related to the kernel. After that my router panic and reboot

[ 33.149266] Kernel bug detected[#1]:
[ 33.152913] CPU: 0 PID: 7 Comm: kworker/u2:1 Not tainted 4.4.19 #0
[ 33.159203] Workqueue: writeback wb_workfn (flush-254:0)
[ 33.164610] task: 87c31e30 ti: 87cbe000 task.ti: 87cbe000
[ 33.170078] $ 0 : 00000000 00000001 00000001 00000001
[ 33.175410] $ 4 : 87f7d400 87cbf990 00000000 00008000
[ 33.180743] $ 8 : 87f7d800 00080000 00000001 00000001
[ 33.186076] $12 : 00000120 8100ca20 00000000 00000100
[ 33.191409] $16 : 87929068 87cbfa88 87f7d800 00000000
[ 33.196741] $20 : 87f7d800 87f7d400 87f7d400 00000001
[ 33.202075] $24 : 00000000 8748c9a4

[ 33.207407] $28 : 87cbe000 87cbf938 00000001 874bcbfc
[ 33.212740] Hi : 00000000
[ 33.215662] Lo : 00000001
[ 33.218662] epc : 874bc1c0 ext4_set_bits+0x2980/0x3ad0 [ext4]
[ 33.224687] ra : 874bcbfc ext4_set_bits+0x33bc/0x3ad0 [ext4]
[ 33.230685] Status: 1100dc03 KERNEL EXL IE 
[ 33.234963] Cause : 00800034 (ExcCode 0d)
[ 33.239029] PrId : 0001974c (MIPS 74Kc)
[ 33.243003] 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_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT usblp ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda 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_netlink nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbdev 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 usb_storage ehci_pci ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common ext4 mbcache jbd2 crypto_hash crc16 zram zsmalloc lzo_decompress lzo_compress lz4_decompress lz4_compress
[ 33.362435] Process kworker/u2:1 (pid: 7, threadinfo=87cbe000, task=87c31e30, tls=00000000)
[ 33.370902] Stack : 00000000 81000000 810e9d40 874fed80 804f7b10 00000000 00000000 0000000a
[ 33.370902] 00000000 80099df8 87d8d680 87929068 87cbfa88 87cbfa78 00000000 874bcbfc
[ 33.370902] 810d8bc0 00000000 87929068 87f7d800 87cbfa78 874b8224 00000000 801228c8
[ 33.370902] 00000000 00000001 87cbf9a8 87cbf9ac 00000001 00000000 87929068 87cbfa88
[ 33.370902] 87cbfa78 00000000 87f7d800 00000000 87f7d400 00000001 00000000 874be4d4
[ 33.370902] ...
[ 33.407231] Call Trace:
[ 33.409739] [<874bc1c0>] ext4_set_bits+0x2980/0x3ad0 [ext4]
[ 33.415428] [<874bcbfc>] ext4_set_bits+0x33bc/0x3ad0 [ext4]
[ 33.421087] 
[ 33.422593] 
[ 33.422593] Code: 8e420020 0062102b 38420001 <00020336> 96020050 30420200 10400080 00000000 8e420080 
[ 33.432826] ---[ end trace 6f97ef034652357b ]---

Any idea about this?

13.06.20169KernelBug ReportVery LowMediumKernel panic with SQM scriptsTrunkUnconfirmed Task Description

When i select a script different than simplest.qos in the sqm list i get the log full of kernel panic message
If you need more information tell me.
To reproduce i have a wdr3600
just install the sqm package and select the script and watch the log
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.147796] ————[ cut here ]———— Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.147817] WARNING: CPU: 0 PID: 20621 at net/sched/sch_hfsc.c:1426 0x871e9e6c()
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.147825] 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_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCMon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148143] CPU: 0 PID: 20621 Comm: dropbear Tainted: G W 4.4.12 #1
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] Stack : 803dc584 00000000 00000001 80430000 8782a080 80426f63 803bdcb0 0000508d
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 80493790 873e9f90 873e9c68 0000000a 00000100 800a6854 803c32bc 80420000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 00000003 873e9f90 803c16c8 8500fad4 00000100 800a4820 00000000 00000000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] ...
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148240] Call Trace:
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148255] [<80071a94>] show_stack+0×50/0×84 Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148271] [<80081628>] warn_slowpath_common+0xa0/0xd0
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148286] [<800816dc>] warn_slowpath_null+0×18/0×24 Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148315] [<871e9e6c>] 0x871e9e6c
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148326]
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148335] —[ end trace ce6ca764afdc3e14 ]—

here the log i get a lot

25.04.2017737Base systemBug ReportVery LowHighKernel panic on Buffalo WZR600DHP when LAN plugged at b...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Buffalo WZR600DHP (multiple different devices)

- Software versions of LEDE release, packages, etc.

All recent versions tested, including “Reboot (SNAPSHOT, r3939+1-de5b8e5d2f)” ... currently building HEAD to try there

- Steps to reproduce

 
* Remove power (warm boots seem more likely to boot successfully)
* Plug a powered-on ethernet-connected device into one of the LAN ports (I used port 2)
* Apply power to the Buffalo, watch as the red diagnostic light goes on steadily, blinks fast, blinks slower, then goes off without the WLAN leds turning on normally, then repeat indefinitely.  Eventually, one of the reboots may succeed.

A panic looks like this:

[   20.142060] eth0: link up (1000Mbps/Full duplex)
[   20.148486] Unhandled kernel unaligned access[#1]:
[   20.153285] CPU: 0 PID: 960 Comm: basename Not tainted 4.4.59 #0
[   20.159280] task: 87cf1e30 ti: 86c9c000 task.ti: 86c9c000
[   20.164661] $ 0   : 00000000 00000001 00000000 00000001
[   20.169907] $ 4   : 871193ff 87311068 800f3538 87311068
[   20.175154] $ 8   : 87311068 80065058 7701b000 00002000
[   20.180402] $12   : 00000000 00003000 fffffffc 00000000
[   20.185649] $16   : 87119980 871193ff 87cf1e30 76f870d0
[   20.190896] $20   : 000a1f10 7701bf6f 7701cdcc 86c6d1e0
[   20.196143] $24   : 00000000 800f3538                  
[   20.201391] $28   : 86c9c000 86c9dda8 86c9ddf0 8010ba2c
[   20.206638] Hi    : 00000000
[   20.209505] Lo    : 00000008
[   20.212393] epc   : 80099ad8 commit_creds+0x3c/0x20c
[   20.217356] ra    : 8010ba2c install_exec_creds+0x18/0x38
[   20.222735] Status: 1000fc03 KERNEL EXL IE 
[   20.226936] Cause : 00800010 (ExcCode 04)
[   20.230935] BadVA : 871193ff
[   20.233802] PrId  : 00019374 (MIPS 24Kc)
[   20.237714] Modules linked in: ath9k ath9k_common ath9k_hw ath nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables compat br_netfilter ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   20.319746] Process basename (pid: 960, threadinfo=86c9c000, task=87cf1e30, tls=778c5d48)
[   20.327896] Stack : 86c8d634 7701bf6f 7701cdcc 86c6d1e0 86c9ddf0 800746d0 86c9ddf0 800f5f14
          86c6c400 87119a80 86c6c400 8010ba2c fffffff2 87119a80 86c6c400 76f870d0
          00000000 8014596c 00000000 800f6d60 00000000 800763c0 00002012 00000091
          55555554 80410000 0045a000 00000008 0045a535 0045a000 004497c0 00400000
          76f78000 00400000 86c6c500 87119f00 86c6c300 00000000 00000003 00000003
          ...
[   20.363640] Call Trace:
[   20.366082] [<80099ad8>] commit_creds+0x3c/0x20c
[   20.370700] [<8010ba2c>] install_exec_creds+0x18/0x38
[   20.375752] [<8014596c>] load_elf_binary+0xae0/0x112c
[   20.380794] [<8010bad8>] search_binary_handler+0x8c/0x1cc
[   20.386189] [<8010d09c>] do_execveat_common+0x400/0x5ac
[   20.391400] 
[   20.392880] 
Code: 8c820000  28420001  00020336 <c2220000> 24420001  e2220000  1040fffc  00000000  8e260014 
[   20.402936] ---[ end trace f860d77d4ae98434 ]---
[   20.409602] Fatal exception: panic in 5 seconds
[   20.414551] CPU 0 Unable to handle kernel paging request at virtual address 00000200, epc == 87fe0254, ra == 87fe1ce8
[   20.425372] Oops[#2]:
[   20.427647] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G      D         4.4.59 #0
[   20.434942] task: 87c2ca10 ti: 87c44000 task.ti: 87c44000
[   20.440323] $ 0   : 00000000 80480000 80000001 00000200
[   20.445570] $ 4   : 86c9e000 00000001 00000000 dcbc842b
[   20.450817] $ 8   : 86c9e058 86c9e058 00000000 00000000
[   20.456064] $12   : 00440002 ffffffff 00000000 ffffffff
[   20.461311] $16   : 86c9e000 000006ec 00000377 804275d8
[   20.466559] $20   : 000006ec 00000004 804275d8 00000000
[   20.471805] $24   : 00000000 87fe7890                  
[   20.477053] $28   : 87c44000 87c45b20 86c9e040 87fe1ce8
[   20.482300] Hi    : 00000377
[   20.485167] Lo    : 3456f000
[   20.488079] epc   : 87fe0254 nf_ct_untracked_status_or+0x78/0x98 [nf_conntrack]
[   20.495383] ra    : 87fe1ce8 __nf_conntrack_confirm+0xbc/0x364 [nf_conntrack]
[   20.502493] Status: 1000fc03 KERNEL EXL IE 
[   20.506694] Cause : 0080000c (ExcCode 03)
[   20.510693] BadVA : 00000200
[   20.513560] PrId  : 00019374 (MIPS 24Kc)
[   20.517472] Modules linked in: ath9k ath9k_common ath9k_hw ath nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables compat br_netfilter ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   20.599503] Process ksoftirqd/0 (pid: 3, threadinfo=87c44000, task=87c2ca10, tls=00000000)
[   20.607740] Stack : 00000002 87fd97c0 00000001 02000000 87c45b9c 87c45bd4 804279ec 87118cc0
          00000001 00000004 fffffffd 00000000 02080020 80294f60 00000300 71a45669
          00000000 00000000 87118cc0 87118cc0 87118cc0 87c45bd4 fffffffb 00000001
          00000003 80295004 804279e4 71a45669 87c45c04 87c45c3c 00000000 8741d284
          87118cc0 80420000 00000001 87118cc0 02080020 00000800 8720b05c 8029b5f0
          ...
[   20.643491] Call Trace:
[   20.645944] [<87fe0254>] nf_ct_untracked_status_or+0x78/0x98 [nf_conntrack]
[   20.652919] [<87fe1ce8>] __nf_conntrack_confirm+0xbc/0x364 [nf_conntrack]
[   20.659709] [<80294f60>] nf_iterate+0x7c/0xc8
[   20.664055] [<80295004>] nf_hook_slow+0x58/0xf8
[   20.668582] [<8029b5f0>] ip_local_deliver+0xb8/0xe8
[   20.673451] [<8029b8e8>] ip_rcv+0x2c8/0x334
[   20.677629] [<80268c5c>] __netif_receive_skb_core+0x614/0x6d0
[   20.683373] [<8032f74c>] br_pass_frame_up+0x94/0x10c
[   20.688328] [<8032ffd0>] br_handle_frame+0x2cc/0x418
[   20.693279] [<802689dc>] __netif_receive_skb_core+0x394/0x6d0
[   20.699028] [<8023703c>] ag71xx_poll+0x430/0x5c0
[   20.703637] [<80269ab4>] net_rx_action+0x10c/0x2c8
[   20.708420] [<80084134>] __do_softirq+0x250/0x298
[   20.713116] [<800841a4>] run_ksoftirqd+0x28/0x60
[   20.717725] [<8009abf8>] smpboot_thread_fn+0x158/0x188
[   20.722851] [<80098628>] kthread+0xd8/0xec
[   20.726936] [<80060878>] ret_from_kernel_thread+0x14/0x1c
[   20.732315] 
[   20.733795] 
Code: 00020336  8c820008  30450001 <ac620000> 14a00002  00000000  ac430004  24020200  ac82000c 
[   20.743784] ---[ end trace f860d77d4ae98435 ]---
[   20.749725] Kernel panic - not syncing: Fatal exception in interrupt
[   20.757339] Rebooting in 3 seconds..

Or another one:

[   20.121647] eth0: link up (1000Mbps/Full duplex)
[   20.131943] Unhandled kernel unaligned access[#1]:
[   20.136738] CPU: 0 PID: 937 Comm: snmpd Not tainted 4.4.59 #0
[   20.142474] task: 87d92840 ti: 86c7c000 task.ti: 86c7c000
[   20.147854] $ 0   : 00000000 7fe40058 8010de54 00000000
[   20.153101] $ 4   : 873b557f 86c7de7c 86c7de74 00000001
[   20.158348] $ 8   : 00000020 80065050 80107538 00000000
[   20.163595] $12   : 7fe40040 00000000 00000000 77d382c0
[   20.168842] $16   : 00000000 873b557f 86c7df08 00000080
[   20.174090] $20   : 00000080 77d2e000 86c831e0 77d32d8c
[   20.179336] $24   : 00000fa3 77c9d000                  
[   20.184584] $28   : 86c7c000 86c7de08 00000000 8010de9c
[   20.189832] Hi    : 00000004
[   20.192707] Lo    : 00000000
[   20.195596] epc   : 800685a8 mutex_lock+0x0/0x30
[   20.200203] ra    : 8010de9c pipe_read+0x48/0x284
[   20.204889] Status: 1000fc03 KERNEL EXL IE 
[   20.209090] Cause : 00800010 (ExcCode 04)
[   20.213089] BadVA : 873b557f
[   20.215957] PrId  : 00019374 (MIPS 24Kc)
[   20.219869] Modules linked in: ath9k ath9k_common ath9k_hw ath nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables compat br_netfilter ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   20.301899] Process snmpd (pid: 937, threadinfo=86c7c000, task=87d92840, tls=77d39d48)
[   20.309790] Stack : 8730d004 068b46ad 86c84e70 00000012 00000000 00000000 00000000 873b0780
          87cf2efc 86c7de7c 00000000 86c831e0 86c7df08 00000080 77d2e000 77d2e000
          77d31518 77d32d8c 00000000 8010647c 0045acd4 80076b6c 80410000 8008a31c
          00000080 00000000 77d31518 7fe4015c 00000080 00000000 00000000 00000080
          86c7de74 00000001 86c831e0 00000000 00000000 00000000 00000000 00000000
          ...
[   20.345535] Call Trace:
[   20.347973] [<800685a8>] mutex_lock+0x0/0x30
[   20.352235] [<8010de9c>] pipe_read+0x48/0x284
[   20.356586] [<8010647c>] __vfs_read+0xc4/0x104
[   20.361023] [<80106bfc>] vfs_read+0x84/0x130
[   20.365284] [<80107590>] SyS_read+0x58/0xc4
[   20.369462] [<80062c2c>] syscall_common+0x30/0x54
[   20.374153] 
[   20.375640] 
Code: 8fb00024  03e00008  27bd0040 <c0820000> 2443ffff  e0830000  1060fffc  00000000  2442ffff 
[   20.385691] ---[ end trace 7089734b36069ee3 ]---
[   20.392349] Fatal exception: panic in 5 seconds
[   20.400076] CPU 0 Unable to handle kernel paging request at virtual address 00000200, epc == 87ff0254, ra == 87ff1ce8
[   20.410891] Oops[#2]:
[   20.413160] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G      D         4.4.59 #0
[   20.420456] task: 87c2ca10 ti: 87c44000 task.ti: 87c44000
[   20.425836] $ 0   : 00000000 80480000 80000001 00000200
[   20.431083] $ 4   : 8730e000 00000001 00000000 409e9f5a
[   20.436331] $ 8   : 8730e058 8730e058 00000000 00000000
[   20.441578] $12   : 00440002 ffffffff 00000000 ffffffff
[   20.446825] $16   : 8730e000 000002e0 00000655 804275d8
[   20.452073] $20   : 000002e0 00000004 804275d8 00000000
[   20.457320] $24   : 00000000 87ff7890                  
[   20.462567] $28   : 87c44000 87c45b20 8730e040 87ff1ce8
[   20.467814] Hi    : 00000655
[   20.470680] Lo    : 17458800
[   20.473587] epc   : 87ff0254 nf_ct_untracked_status_or+0x78/0x98 [nf_conntrack]
[   20.480887] ra    : 87ff1ce8 __nf_conntrack_confirm+0xbc/0x364 [nf_conntrack]
[   20.487999] Status: 1000fc03 KERNEL EXL IE 
[   20.492199] Cause : 0080000c (ExcCode 03)
[   20.496199] BadVA : 00000200
[   20.499075] PrId  : 00019374 (MIPS 24Kc)
[   20.502986] Modules linked in: ath9k ath9k_common ath9k_hw ath nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables compat br_netfilter ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   20.585017] Process ksoftirqd/0 (pid: 3, threadinfo=87c44000, task=87c2ca10, tls=00000000)
[   20.593254] Stack : 00000002 874187c0 00000001 02000000 87c45b9c 87c45bd4 804279ec 87312180
          00000001 00000004 fffffffd 00000000 02080020 80294f60 00000300 d41771e8
          00000000 00000000 87312180 87312180 87312180 87c45bd4 fffffffb 00000001
          00000003 80295004 804279e4 d41771e8 87c45c04 87c45c3c 00000000 87413604
          87312180 80420000 00000001 87312180 02080020 00000800 8721105c 8029b5f0
          ...
[   20.629004] Call Trace:
[   20.631457] [<87ff0254>] nf_ct_untracked_status_or+0x78/0x98 [nf_conntrack]
[   20.638422] [<87ff1ce8>] __nf_conntrack_confirm+0xbc/0x364 [nf_conntrack]
[   20.645214] [<80294f60>] nf_iterate+0x7c/0xc8
[   20.649561] [<80295004>] nf_hook_slow+0x58/0xf8
[   20.654087] [<8029b5f0>] ip_local_deliver+0xb8/0xe8
[   20.658957] [<8029b8e8>] ip_rcv+0x2c8/0x334
[   20.663134] [<80268c5c>] __netif_receive_skb_core+0x614/0x6d0
[   20.668878] [<8032f74c>] br_pass_frame_up+0x94/0x10c
[   20.673833] [<8032ffd0>] br_handle_frame+0x2cc/0x418
[   20.678785] [<802689dc>] __netif_receive_skb_core+0x394/0x6d0
[   20.684534] [<8023703c>] ag71xx_poll+0x430/0x5c0
[   20.689142] [<80269ab4>] net_rx_action+0x10c/0x2c8
[   20.693926] [<80084134>] __do_softirq+0x250/0x298
[   20.698622] [<800841a4>] run_ksoftirqd+0x28/0x60
[   20.703231] [<8009abf8>] smpboot_thread_fn+0x158/0x188
[   20.708365] [<80098628>] kthread+0xd8/0xec
[   20.712450] [<80060878>] ret_from_kernel_thread+0x14/0x1c
[   20.717829] 
[   20.719309] 
Code: 00020336  8c820008  30450001 <ac620000> 14a00002  00000000  ac430004  24020200  ac82000c 
[   20.729304] ---[ end trace 7089734b36069ee4 ]---
[   20.735253] Kernel panic - not syncing: Fatal exception in interrupt
[   20.742878] Rebooting in 3 seconds..

I have more panics, available on request.

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

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

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

From the pi, I see something like:

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

or

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

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

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

or

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

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

02.07.2017880KernelBug ReportVery LowLowKernel dumped stack on Archer-C7-V2TrunkUnconfirmed Task Description

Linux version 4.4.71 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 Wed Jun 7 19:24:41 2017
Kernel command line: board=ARCHER-C7-V2 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd

I don’t know why it happened, just noticed in kernel log, and thought I should report it.

[1041527.892339] ————[ cut here ]———— [1041527.897249] WARNING: CPU: 0 PID: 3 at net/core/dev.c:4863 0x8026bdbc()
[1041527.904053] Modules linked in: pppoe ppp_async iptable_nat ath9k pppox ppp_generic nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda ipt_REJECT ipt_MASQUERADE ath9k_common 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 ts_kmp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt ath9k_hw sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ath10k_pci ath10k_core ath mac80211 cfg80211 compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[1041528.021564] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.4.71 #0
[1041528.027930] Stack : 80387554 00000000 00000001 803e0000 00000000 00000000 00000000 00000000
[1041528.027930] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1041528.027930] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1041528.027930] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1041528.027930] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1041528.027930] ...
[1041528.064490] Call Trace:[<80071a50>] 0x80071a50
[1041528.069226] [<80071a50>] 0x80071a50
[1041528.072942] [<80081804>] 0×80081804 [1041528.076674] [<8026bdbc>] 0x8026bdbc
[1041528.080404] [<800818bc>] 0x800818bc
[1041528.084134] [<8026bdbc>] 0x8026bdbc
[1041528.087860] [<8009f02c>] 0x8009f02c
[1041528.091589] [<80083d80>] 0x80083d80
[1041528.095323] [<8009e7c0>] 0x8009e7c0
[1041528.099044] [<80083df0>] 0x80083df0
[1041528.102756] [<8009a6fc>] 0x8009a6fc
[1041528.106485] [<8009a854>] 0x8009a854
[1041528.110207] [<8009a6fc>] 0x8009a6fc
[1041528.113922] [<80067120>] 0×80067120 [1041528.117657] [<8009a6fc>] 0x8009a6fc
[1041528.121373] [<80098284>] 0×80098284 [1041528.125111] [<800981ac>] 0x800981ac
[1041528.128841] [<80060878>] 0×80060878 [1041528.132561]
[1041528.134251] —[ end trace c9085c52127d153c ]—

28.01.2017441Base systemBug ReportVery LowLowKernel crash: eth0 (ag71xx): transmit queue 0 timed outTrunkUnconfirmed Task Description

Device: TL-WR1043ND v1
LEDE: snapshot r3189-12db207

During a simultaneous bidirectional iperf load test, after about 20 minutes, the kernel crashes. I reproduced this several times:

Server 1 ←–> 1043ND ←–> Laptop via wireless N

LEDE is using a default setup. Only changes:
* Setting wireless encryption to psk with password
* Setting a DNAT rule for server 1 to be able reach the iperf server on the Laptop

This bug was actually discovered while testing fixes for  FS#13  - Ath9k AP stays up for connected clients but doesn’t show in scan on new ones

Serial console ouput:

[ 1294.022551] ------------[ cut here ]------------
[ 1294.027247] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:306 dev_watchdog+0x1dc/0x260()
[ 1294.035754] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
[ 1294.042319] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nn
[ 1294.106287] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.45 #0
[ 1294.112066] Stack : 803e4844 00000000 00000001 80440000 8042f1dc 8042ee63 803c5e64 00000000
          804a378c 8042d4fc 00000200 00100000 0000000a 800a7618 803cb554 80430000
          00000003 8042d4fc 803c9960 81809e34 0000000a 800a5594 00000006 00000000
          00000000 801f5400 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          ...
[ 1294.148122] Call Trace:
[ 1294.150617] [<800a7618>] vprintk_default+0x24/0x30
[ 1294.155474] [<800a5594>] printk+0x2c/0x38
[ 1294.159515] [<801f5400>] wait_for_xmitr+0x84/0xcc
[ 1294.164289] [<80081c3c>] warn_slowpath_common+0xa0/0xd0
[ 1294.169564] [<801a72dc>] dump_stack+0x14/0x28
[ 1294.173975] [<80071eb0>] show_stack+0x50/0x84
[ 1294.178376] [<80081c3c>] warn_slowpath_common+0xa0/0xd0
[ 1294.183661] [<8028ef3c>] dev_watchdog+0x1dc/0x260
[ 1294.188408] [<80081c98>] warn_slowpath_fmt+0x2c/0x38
[ 1294.193450] [<8028ef3c>] dev_watchdog+0x1dc/0x260
[ 1294.198191] [<8028ed60>] dev_watchdog+0x0/0x260
[ 1294.202782] [<800b08d0>] call_timer_fn.isra.5+0x24/0x80
[ 1294.208051] [<800b0b54>] run_timer_softirq+0x1b4/0x1fc
[ 1294.213248] [<800a89f0>] handle_irq_event_percpu+0x154/0x188
[ 1294.218960] [<800841b8>] __do_softirq+0x250/0x298
[ 1294.223721] [<800abdac>] handle_percpu_irq+0x50/0x80
[ 1294.228746] [<8006a9e0>] plat_irq_dispatch+0xd4/0x10c
[ 1294.233848] [<80060bf4>] handle_int+0x134/0x140
[ 1294.238400] 
[ 1294.239904] ---[ end trace 17bad011a41ccba7 ]---
[ 1294.244567] eth0: tx timeout
[ 1299.022570] eth0: tx timeout
[ 1304.022581] eth0: tx timeout
[ 1309.022588] eth0: tx timeout

The eth0: tx timeout line is repeated every 5 seconds.


30.07.2017940KernelBug ReportVery LowHighkernel crash - f2fs -> fs/f2fs/segment.h:624TrunkUnconfirmed Task Description

today, i tried to install lede trunk ... ( zbt-wg3526-16M-squashfs-sysupgrade.bin 1981770aa6fc723379e978f85143767ef373b6d30ef6fee3ce18338a0bd19980 3840.2 KB Sat Jul 29 14:07:44 2017

but as i wanted to install the f2fs packages ...
via:
#f2fs - for flash mem USB stick
opkg install kmod-fs-f2fs libf2fs f2fs-tools f2fsck mkf2fs

(that error was not existing in trunk from 26.07.2017
it gives me an error:

Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.611023] ————[ cut here ]———— Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.615718] WARNING: CPU: 0 PID: 2927 at fs/f2fs/segment.h:624 build_segment_manager+0×680/0xe4c [f2fs]
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.625292] Modules linked in: f2fs crc32_generic ext4 jbd2 mbcache vfat fat nls_utf8 nls_iso8859_1 nls_cp437 crc32c_generic usb_storage pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.696496] xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.704830] CPU: 0 PID: 2927 Comm: mount Not tainted 4.9.40 #0
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.710638] Stack : 00000000 00000000 80547b2a 00000032 80402a24 00000000 00000000 80540000
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.718980] 8edb0edc 804e7ea7 8047ea2c 00000000 00000b6f 80543824 00000013 8e8f5280
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.727319] 8e8f5280 800699c0 00000001 80540000 804edfc4 804edfc8 80483614 8e947bfc
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.735660] 00000003 800a78c8 00000013 8e8f5280 8e8f5280 00000000 804f0000 00947bfc
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.744001] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.752338] ...
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.754773] Call Trace:
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.757236] [<8000f7b4>] show_stack+0×54/0×88 Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.761591] [<801db744>] dump_stack+0×84/0xc0
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.765928] [<8002a434>] __warn+0xe4/0×118 Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.770005] [<8002a4fc>] warn_slowpath_null+0x1c/0×30 Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.775082] [<8e92a954>] build_segment_manager+0×680/0xe4c [f2fs]
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.781169] [<8e90e33c>] f2fs_commit_super+0xb48/0x14bc [f2fs]
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.787111] —[ end trace 80bdd422a736c5ea ]—

hmm, without f2fs - it’s a showstopper for me :(


29.04.2017743ToolchainBug ReportVery LowLowkernel config string evaluationAllUnconfirmed Task Description

I’m trying to add this option to video.mk

      CONFIG_EXTRA_FIRMWARE="radeon/PALM_pfp.bin radeon/PALM_me.bin radeon/SUMO_rlc.bin radeon/SUMO_uvd.bin" \

but at compile time I’m asked to insert new CONFIG_EXTRA_FIRMWARE, looking into .config.old I see only CONFIG_EXTRA_FIRMWARE=”radeon/PALM_pfp.bin
the line doesn’t have " at the end, so it seems that the space breaks the evaluation of this entry
if I enter the line manually, all CONFIG options are present in the .config file, if not, the following config options are not added

08.03.2017607KernelBug ReportMediumLowKernel BUG: Bad page state in process ntpd-hotplugTrunkNew Task Description

While doing wireless benchmarks between two TP-Link WR841 running the latest LEDE, one of them (the AP) showed the stack trace below. It does not seem to impact the behaviour of the system, though: everything seems to work correctly after the stack trace.

The device is TL-WR841N v8, with a snapshot build r3670-154b3a6 (kernel is 4.4.52).

It occurred about one minute after I plugged the WAN port to the Internet, which explains why ntpd-hotplug appears in the log. There was still a heavy amount of wireless traffic (both when I plugged the WAN, and when the stack trace occurred).

Wed Mar  8 22:02:31 2017 kern.alert kernel: [ 1913.427453] BUG: Bad page state in process ntpd-hotplug  pfn:015fa
Wed Mar  8 22:02:31 2017 kern.emerg kernel: [ 1913.433936] page:8102bf40 count:-2130657536 mapcount:16711936 mapping:  (null) index:0xff00ff00
Wed Mar  8 22:02:31 2017 kern.emerg kernel: [ 1913.442939] flags: 0x0()
Wed Mar  8 22:02:31 2017 kern.alert kernel: [ 1913.445561] page dumped because: nonzero _count
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.450237] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT 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_coWed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.509878] CPU: 0 PID: 1501 Comm: ntpd-hotplug Not tainted 4.4.52 #0
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] Stack : 803e49f0 00000000 00000001 80440000 818f16a4 8042ee63 803c5ff4 000005dd
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  804a378c 803d0000 803d0000 803d0000 803d0000 800a7640 803cb6e4 80430000
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  00000003 803d0000 803c9af0 81809d74 803d0000 800a55bc 803d0000 803d0000
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  803d0000 801f5800 00000000 00000000 00000000 00000000 00000000 00000000
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  ...
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.553574] Call Trace:
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.556121] [<80071eb0>] show_stack+0x50/0x84
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.560630] [<800d57e4>] bad_page+0xec/0x11c
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.565069] [<800d59b0>] free_pages_prepare+0x19c/0x1f8
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.570474] [<800d6c74>] __free_pages_ok+0x2c/0x31c
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.575554] [<80261278>] __kfree_skb+0x28/0xb0
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.580155] [<8023871c>] ag71xx_tx_packets+0x154/0x2c8
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.585486] [<80239530>] ag71xx_poll+0x6c/0x5c0
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.590203] [<8026f748>] net_rx_action+0x10c/0x2c8
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.595183] [<800841c8>] __do_softirq+0x250/0x298
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.600066] [<8006a9e0>] plat_irq_dispatch+0xd4/0x10c
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.605297] 
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.606843] Disabling lock debugging due to kernel taint
19.03.2017643PackagesBug ReportVery LowLowiwinfo scan reports "Scanning not possible" using mt76 ...lede-17.01Unconfirmed Task Description

I’m unable to consistently scan for access points using iwinfo.
I’m running a MT7688 chip with the mt76 mac80211 driver on LED 17.01

The scan works very intermittently, but mostly returns “Scanning not possible”.

My wireless config looks like:

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '11'
	option hwmode '11g'
	option path 'platform/10300000.wmac'
	option htmode 'HT20'
	option disabled '0'

I’ve added some debugging code to iwinfo_nl80211.c to try and see where it’s failing. To run a scan I use the command:

iwinfo radio0 scan

iwinfo creates a temporary interface (tmp.radio0) and then calls nl80211_get_scanlist_nl, this returns a zero length iwinfo_scanlist_entry which causes “Scanning not possible” to be returned.
I’m happy to do some more debugging if I can be pointed in the right direction.

 


26.03.2017656Base systemBug ReportVery LowMediumIPv6 relay mode does not worklede-17.01Assigned Task Description

My ISP does not support DHCPv6, so I need to use IPv6 relay mode to enable my devices to obtain IPv6 addresses via SLAAC. I have configured relay mode as indicated in the documentation on a HooToo TM-02 for the time being. If I can get all this to work I will upgrade to a more capable device.

Running tcpdump on the WLAN interface I can see the router solicitation requests coming from my clients. When I run tcpdump on the WAN interface I don’t see any router solicitations and, therefore, no router advertisements coming back from my ISP modem. The router itself gets an address from the modem, but the relaying of requests from clients is not happening.

I have posted my config files below, but they are basically stock. Is this a problem with the DHCPv6 server or some kind of firewall problem preventing the requests from getting out?

/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 'fd20:0787:2c66::/48'

config interface 'lan'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option _orig_ifname 'eth0'
	option _orig_bridge 'false'
	option ip6assign '64'

config device 'lan_dev'
	option name 'eth0'
	option macaddr '00:1c:c2:13:6f:05'

config switch
	option name 'switch0'
	option reset '1'
	option enable_vlan '0'

config interface 'wan'
	option proto 'dhcp'
	option ifname 'eth0'

config interface 'wan6'
	option proto 'dhcpv6'
	option ifname 'eth0'
	option reqaddress 'try'
	option reqprefix 'auto'

/etc/config/dhcp:

config dnsmasq
	option domainneeded '1'
	option boguspriv '1'
	option filterwin2k '0'
	option localise_queries '1'
	option rebind_protection '1'
	option rebind_localhost '1'
	option local '/lan/'
	option domain 'lan'
	option expandhosts '1'
	option nonegcache '0'
	option authoritative '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 start '100'
	option limit '150'
	option leasetime '12h'
	option dhcpv6 'relay'
	option ra 'relay'
	option ndp 'relay'

config dhcp 'wan'
	option interface 'wan'
	option ignore '1'

config dhcp 'wan6'
	option dhcpv6 'relay'
	option ra 'relay'
	option ndp 'relay'
	option master '1'

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

/etc/config/firewall:

config defaults
	option syn_flood '1'
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'REJECT'

config zone
	option name 'lan'
	list network 'lan'
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'ACCEPT'

config zone
	option name 'wan'
	list network 'wan'
	list network 'wan6'
	option input 'REJECT'
	option output 'ACCEPT'
	option forward 'REJECT'
	option masq '1'
	option mtu_fix '1'

config forwarding
	option src 'lan'
	option dest 'wan'

config rule
	option name 'Allow-DHCP-Renew'
	option src 'wan'
	option proto 'udp'
	option dest_port '68'
	option target 'ACCEPT'
	option family 'ipv4'

config rule
	option name 'Allow-Ping'
	option src 'wan'
	option proto 'icmp'
	option icmp_type 'echo-request'
	option family 'ipv4'
	option target 'ACCEPT'

config rule
	option name 'Allow-IGMP'
	option src 'wan'
	option proto 'igmp'
	option family 'ipv4'
	option target 'ACCEPT'

config rule
	option name 'Allow-DHCPv6'
	option src 'wan'
	option proto 'udp'
	option src_ip 'fc00::/6'
	option dest_ip 'fc00::/6'
	option dest_port '546'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-MLD'
	option src 'wan'
	option proto 'icmp'
	option src_ip 'fe80::/10'
	list icmp_type '130/0'
	list icmp_type '131/0'
	list icmp_type '132/0'
	list icmp_type '143/0'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-ICMPv6-Input'
	option src 'wan'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	list icmp_type 'router-solicitation'
	list icmp_type 'neighbour-solicitation'
	list icmp_type 'router-advertisement'
	list icmp_type 'neighbour-advertisement'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-ICMPv6-Forward'
	option src 'wan'
	option dest '*'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'

config include
	option path '/etc/firewall.user'

config rule
	option src 'wan'
	option dest 'lan'
	option proto 'esp'
	option target 'ACCEPT'

config rule
	option src 'wan'
	option dest 'lan'
	option dest_port '500'
	option proto 'udp'
	option target 'ACCEPT'
13.04.2017711Base systemBug ReportVery LowLowiptables 600-shared-libext.patch broken and incompleteTrunkUnconfirmed Task Description

Building LEDE HEAD (but, I think, anything after 5e2d15b4a6fc979497b252c617c4b353d6c84fa2) fails with various and exciting errors if IPTABLES_NFTABLES is turned on.

For starters, 600-shared-libext.patch erroneously changes ${libext_ebt_objs} to ${libext_ebt__objs} and similarly for ${libext_arpt_objs}, resulting in missing .o files and a subsequent link failure. Fixing that, however, reveals that the xtables-compat-multi dependencies are still referring to .a files, not the .so-s that actually get built.

01.08.2017943Base systemBug ReportVery LowLowiptables 1.6.1 fails to acquire a lock because /run/ do...TrunkNew Task Description

Just flashed a device with the current snapshot of LEDE (https://downloads.lede-project.org/snapshots/targets/ar71xx/generic/; r4657-bb4d500). And then I’ve wanted to use locking with iptables but noticed that the lock was just not working:

root@LEDE:/# strace iptables -w -L
...
open("/run/xtables.lock", O_RDONLY|O_CREAT|O_LARGEFILE, 0600) = -1 ENOENT (No such file or directory)
socket(AF_INET, SOCK_RAW, IPPROTO_RAW)  = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getsockopt(3, SOL_IP, IPT_SO_GET_INFO, "filter\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., [84]) = 0
...

The lock was basically ignored and the socket was opened without the lock opened. The package is missing following things:

* change https://git.netfilter.org/iptables/commit/?id=836846f0d747e1be8e37d2d43b215a68b30ea1a9 * change https://git.netfilter.org/iptables/commit/?id=b91af533f4da15854893ba5cc082e1df6bcf9a97 * change https://git.netfilter.org/iptables/commit/?id=80d8bfaac9e2430d710084a10ec78e68bd61e6ec * iptables Makefile change to add following configure option: –xt-lock-name=/var/lock/xtables.lock

It is not save to use multiple (writing) iptables processes without locking. It is therefore a rather big problem that it is broken at the moment

02.11.2016262Base systemBug ReportVery LowLowipq806x: wlan LEDs not working on TP-Link Archer C2600AllNew Task Description

The LEDs on the Archer C2600 don’t work properly. The WLAN lights don’t work at all (I believe that they are controlled PCIE chips and not GPIO) and the LAN and WAN lights are always on regardless of a cable being connected.

JW


14.09.2016177Base systemBug ReportVery LowLowipq806x: USB3 ports fail if booted when USB3 flash driv...TrunkWaiting on reporter Task Description

I am seeing a strange problem on my new TRENDnet tew827dru, which is ipq8064 based. It has two USB3 ports.

I have noticed a problem with USB3 flash drives. If I boot the system with a USB3 flash drive in one of the USB ports, that port won’t allow any USB3 drive to work in it until the next reboot.

It seems to be a xhci driver issue.

This behavior is somewhat intermittent and varied. Occasionally my Silicon Power USB3 drive will work fine after boot, and the SanDisk USB3 drive almost always appears in “lsusb”, but the partitions can’t be seen, and it still doesn’t work right.

The USB3 flash drives works as-expected if I plug them in after boot is completed. The issue only appears if the drive was already in the USB port during boot time.

USB2 flash drives do not appear to be affected.

The USB3 hard drive I tested seems to be working normally.

USB flash drives tested:

  SanDisk Ultra Fit 16GB (USB3)
  Patriot Tab Series 32GB (USB3)
  Silicon Power 32GB (USB3)
  Kingston DTSE9 8GB (USB2)
  Patriot 8GB (USB2)

Below is an example boot log where I have a USB3 drive in each of the two ports. Neither works:

[ 6.275249] usbcore: registered new interface driver usbfs
[ 6.275322] usbcore: registered new interface driver hub
[ 6.279713] usbcore: registered new device driver usb
[ 6.320705] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 6.321204] ehci-platform: EHCI generic platform driver
[ 6.331613] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 6.332310] ohci-platform: OHCI generic platform driver
[ 6.841285] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.841329] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 6.845931] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0×100 quirks 0×00010010 [ 6.853327] xhci-hcd xhci-hcd.0.auto: irq 200, io mem 0×11000000 [ 6.862602] hub 1-0:1.0: USB hub found
[ 6.872028] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.875912] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 6.881170] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 6.889250] hub 2-0:1.0: USB hub found
[ 6.900865] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.904684] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 6.910066] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0×100 quirks 0×00010010 [ 6.917541] xhci-hcd xhci-hcd.1.auto: irq 201, io mem 0×10000000 [ 6.926734] hub 3-0:1.0: USB hub found
[ 6.936227] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.940023] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 6.945455] usb usb4: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 6.953458] hub 4-0:1.0: USB hub found
[ 6.965885] of_get_named_gpiod_flags: parsed ‘gpios’ property of node ‘/gpio-leds/usb[0]’ - status (0)
[ 6.967608] usbcore: registered new interface driver usb-storage
[ 7.182177] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 7.252035] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[ 7.382317] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 7.417343] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 7.428209] scsi host0: usb-storage 2-1:1.0
[ 7.442238] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 7.465865] usb-storage 4-1:1.0: USB Mass Storage device detected
[ 7.466672] scsi host1: usb-storage 4-1:1.0
[ 8.462818] scsi 1:0:0:0: Direct-Access USB DISK 3.0 PMAP PQ: 0 ANSI: 6
[ 17.195224] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command.
[ 17.195259] xhci-hcd xhci-hcd.0.auto: Assuming host is dying, halting host.
[ 17.227985] xhci-hcd xhci-hcd.0.auto: Host not halted after 16000 microseconds.
[ 17.228010] xhci-hcd xhci-hcd.0.auto: Non-responsive xHCI host is not halting.
[ 17.234094] xhci-hcd xhci-hcd.0.auto: Completing active URBs anyway.
[ 17.241418] xhci-hcd xhci-hcd.0.auto: HC died; cleaning up
[ 17.248041] usb usb1-port1: couldn’t allocate usb_device
[ 17.253296] usb 2-1: USB disconnect, device number 2
[ 17.263718] xhci-hcd xhci-hcd.1.auto: xHCI host not responding to stop endpoint command.
[ 17.263722] xhci-hcd xhci-hcd.1.auto: Assuming host is dying, halting host.
[ 17.289471] xhci-hcd xhci-hcd.1.auto: Host not halted after 16000 microseconds.
[ 17.289481] xhci-hcd xhci-hcd.1.auto: Non-responsive xHCI host is not halting.
[ 17.289491] xhci-hcd xhci-hcd.1.auto: Completing active URBs anyway.
[ 17.289534] xhci-hcd xhci-hcd.1.auto: HC died; cleaning up
[ 17.324608] usb usb3-port1: couldn’t allocate usb_device
[ 17.329821] usb 4-1: USB disconnect, device number 2

And here I am plugging both drives in after the system booted normally.

[ 6.193094] usbcore: registered new interface driver usbfs
[ 6.193173] usbcore: registered new interface driver hub
[ 6.197552] usbcore: registered new device driver usb
[ 6.238600] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 6.239108] ehci-platform: EHCI generic platform driver
[ 6.249525] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 6.250089] ohci-platform: OHCI generic platform driver
[ 6.761332] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.761378] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 6.765992] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0×100 quirks 0×00010010 [ 6.773385] xhci-hcd xhci-hcd.0.auto: irq 200, io mem 0×11000000 [ 6.782646] hub 1-0:1.0: USB hub found
[ 6.792070] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.795937] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 6.801200] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 6.809293] hub 2-0:1.0: USB hub found
[ 6.820906] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.824739] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 6.830118] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0×100 quirks 0×00010010 [ 6.837600] xhci-hcd xhci-hcd.1.auto: irq 201, io mem 0×10000000 [ 6.846784] hub 3-0:1.0: USB hub found
[ 6.856269] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.860070] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 6.865495] usb usb4: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 6.873508] hub 4-0:1.0: USB hub found
[ 6.885940] of_get_named_gpiod_flags: parsed ‘gpios’ property of node ‘/gpio-leds/usb[0]’ - status (0)
[ 27.122596] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 27.144608] usb-storage 4-1:1.0: USB Mass Storage device detected
[ 27.155356] scsi host0: usb-storage 4-1:1.0
[ 28.153237] scsi 0:0:0:0: Direct-Access USB DISK 3.0 PMAP PQ: 0 ANSI: 6
[ 30.753700] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 30.776011] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 30.776282] scsi host1: usb-storage 2-1:1.0

19.06.2017856Base systemBug ReportVery LowLowip6gw ignored for static IPv6 wan6lede-17.01Unconfirmed Task Description

NETGEAR WNDR3800 running LEDE 17.01.2

My service provider has recently enabled IPv6 dual stack. There are not yet auto-provisioning.

I was given the following information:
IPv6 range: 2400:4dc0:XXXX:YY00::1/56
IPv6 Default Gateway: 2400:4dc0::7
IPv6 DNS Server 1: 2001:df5:3c00:100::1:67
IPv6 DNS Server 2: 2001:df5:3c00:100::1:68

Following the “Static IPv6 Connection” docs at https://lede-project.org/docs/user-guide/basic-ipv6-configuration#static_ipv6_connection I configured the system with the following stanzas in /etc/config/network

Further discussion at https://forum.lede-project.org/t/lede-17-01-2-no-default-route-with-static-ipv6/4441

########################################################
config interface ‘lan’ option ifname ‘eth0.1’ option force_link ‘1’ option type ‘bridge’ option proto ‘static’ option ipaddr ‘192.168.1.1’ option netmask ‘255.255.255.0’ option ip6assign ‘64’ option ip6hint ‘4’

config interface ‘wan’ option ifname ‘eth1’ option proto ‘pppoe’ option keepalive ‘5 5’ option username ‘USERNAME’ option password ‘PASSWORD’

config interface ‘wan6’ option ifname ‘@wan’ option proto ‘static’ option ip6prefix ‘2400:4dc0:0:2000::/56’ option ip6gw ‘2400:4dc0::7’ option ip6assign ‘64’ option ip6hint ‘0’ option ip6ifaceid ‘::1’ option dns ‘2001:df5:3c00:100::1:67 2001:df5:3c00:100::1:68’ /etc/config/network

config interface ‘lan’ option ifname ‘eth0.1’ option force_link ‘1’ option type ‘bridge’ option proto ‘static’ option ipaddr ‘192.168.1.1’ option netmask ‘255.255.255.0’ option ip6assign ‘64’ option ip6hint ‘4’

config interface ‘wan’ option ifname ‘eth1’ option proto ‘pppoe’ option keepalive ‘5 5’ option username ‘USERNAME’ option password ‘PASSWORD’

config interface ‘wan6’ option ifname ‘@wan’ option proto ‘static’ option ip6prefix ‘2400:4dc0:0:2000::/56’ option ip6gw ‘2400:4dc0::7’ option ip6assign ‘64’ option ip6hint ‘0’ option ip6ifaceid ‘::1’ option dns ‘2001:df5:3c00:100::1:67 2001:df5:3c00:100::1:68’

########################################################

This did not work, as there was no default route configured. As expected, the pppoe-wan and lan interfaces were assigned IPv6 /64 subnets and clients received IPv6 addresses.

root@OpenWrt:/etc/config# ifstatus wan6
{

      "up": true,
      "pending": false,
      "available": true,
      "autostart": true,
      "dynamic": false,
      "uptime": 132806,
      "l3_device": "pppoe-wan",
      "proto": "static",
      "device": "pppoe-wan",
      "updated": [
              "prefixes"
      ],
      "metric": 0,
      "dns_metric": 0,
      "delegation": true,
      "ipv4-address": [
      ],
  "ipv6-address": [
  ],
  "ipv6-prefix": [
          {
                  "address": "2400:4dc0:0:YY00::",
                  "mask": 56,
                  "class": "wan6",
                  "assigned": {
                          "wan6": {
                                  "address": "2400:4dc0:0:YY00::",
                                  "mask": 64
                          },
                          "lan": {
                                  "address": "2400:4dc0:0:YY04::",
                                  "mask": 64
                          }
                  }
          }
  ],
  "ipv6-prefix-assignment": [
          {
                  "address": "2400:4dc0:0:YY00::",
                  "mask": 64,
                  "local-address": {
                          "address": "2400:4dc0:0:YY00::1",
                          "mask": 64
                  }
          }
  ],
  "route": [
  ],
  "dns-server": [
  ],
  "dns-search": [
  ],
  "inactive": {
          "ipv4-address": [
          ],
          "ipv6-address": [
          ],
          "route": [
          ],
          "dns-server": [
          ],
          "dns-search": [
          ]
  },
  "data": {
  }

}

Workaround *
Defining a default route in /etc/config/network with

config route6

      option interface wan6
      option target 2400:4dc0::7/128

config route6

      option interface wan6
      option gateway 2400:4dc0::7
      option target ::/0

works for me. It adds the following lines to ifstatus wan6

      "route": [
              {
                      "target": "2400:4dc0::7",
                      "mask": 128,
                      "nexthop": "::",
                      "source": "::\/0"
              },
              {
                      "target": "::",
                      "mask": 0,
                      "nexthop": "2400:4dc0::7",
                      "source": "::\/0"
              }
      ],

*

This is what I expected the ip6gw line to do.

20.06.2017858Base systemBug ReportVery LowMediumInstalling bind / named will cause resolving names fail...TrunkUnconfirmed Task Description

Device TP-LINK MR-3220 v2.1 and 2.3 and 2.4 tested, LEDE 17.01.1 version.

After installing bind-server, setting “option port ‘0’” for dnsmasq (to disable DNS configuration) and using provided named.conf file (below), resolution of domain names to IP addresses breaks down.

I was able to track down the problem. There is race condition in bringing interfaces up, starting nptd service and named service, resulting in:
* named service beeing unable to open sockets and/or
* ntpd service beeing unable to connect to ntp pool and set router time correctly and/or
* incorrect time setting causes dnssec of named to reject proper answers for dns resolving.

With no named installed, the dnsmasq itself often starts too early, but this is masked by it beeing reinitialized on lan interface up event.

This is a known openwrt problem, the workaround is described here: https://dev.openwrt.org/ticket/19427 and involves creating a “netwait” service. I have tested this workaround and confirmed it works, however it is not nice.

Here my named.conf:

This is the primary configuration file for the BIND DNS server named. acl locals {
localhost;
10.10.10/24;
}; options {
directory “/tmp”; forwarders {
8.8.8.8;
8.8.4.4;
}; recursion yes;
allow-query { locals; }; dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { none; };
listen-on { 127.0.0.1; 10.10.10.10; };
};
prime the server with knowledge of the root servers
zone “.” {

type hint;
file "/etc/bind/db.root";

};

be authoritative for the localhost forward and reverse zones, and for
broadcast zones as per RFC 1912

zone “localhost” {

type master;
file "/etc/bind/db.local";

};

zone “127.in-addr.arpa” {

type master;
file "/etc/bind/db.127";

};

zone “0.in-addr.arpa” {

type master;
file "/etc/bind/db.0";

};

zone “255.in-addr.arpa” {

type master;
file "/etc/bind/db.255";

};

 


03.03.2017591OtherFeature RequestVery LowLowInclude branch info in subject from 'lede-commits'AllUnconfirmed Task Description

Please include the branch being committed to as part of the subject. As it currently stands emails are received:

[source] ubox: update to the latest version
[source] bcm53xx: include Broadcom PHY driver in the kernel

However there’s no clue in the subject that the ubox commit is for ‘master’ (and of interest to me) whilst the ‘bcm53xx’ is a commit to ‘17.01’ (and of much less interest to me)

It’s driving me (even more) insane :-)

27.08.2017982Base systemBug ReportLowLowimx6: build failure: kmod-ath10k-ct is missing dependen...lede-17.01New Task Description

While test-building all architectures on latest lede-17.01 (https://git.lede-project.org/dc8392f6a) with CONFIG_ALL_KMODS=y, I bumped on this build failure for imx6:

find /home/bjonglez/lede-17.01/build_dir/target-arm_cortex-a9+neon_musl-1.1.16_eabi/linux-imx6/ath10k-ct-2017-01-26-d2bc84ff/ipkg-arm_cortex-a9_neon/kmod-ath10k-ct -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package kmod-ath10k-ct is missing dependencies for the following libraries:
hwmon.ko
Makefile:83: recipe for target '/home/bjonglez/lede-17.01/bin/targets/imx6/generic/packages/kmod-ath10k-ct_4.4.83+2017-01-26-d2bc84ff-1_arm_cortex-a9_neon.ipk' failed
make[3]: *** [/home/bjonglez/lede-17.01/bin/targets/imx6/generic/packages/kmod-ath10k-ct_4.4.83+2017-01-26-d2bc84ff-1_arm_cortex-a9_neon.ipk] Error 1
make[3]: Leaving directory '/home/bjonglez/lede-17.01/package/kernel/ath10k-ct'
package/Makefile:105: recipe for target 'package/kernel/ath10k-ct/compile' failed

It looks similar to  FS#226  that was fixed in https://git.lede-project.org/5f9598a but it seems that the fix was not enough for this target.

29.11.2016315Base systemFeature RequestVery LowMediumImprove sysupgrade (CLI) on dual-partition routersTrunkUnconfirmed Task Description

Some of the recent Linksys (maybe other) routers have two partitions: WRT1900, EA8500, etc.

Would be great if when running sysupgrade on those routers it did NOT kill all active processes and kept the router working while writing an image to the inactive partition.

Would also be great if there was an option to prevent automatic reboot after writing an image.

Ultimate goal is to have an upgrade process where current working state is uninterrupted and only when you reboot – you boot into new image.

02.09.2017997WebsiteFeature RequestVery LowLowImplement dark theme (or custom color controls)TrunkUnconfirmed Task Description

regarding website design:
grey text on white background / light blue text on white background

this is a problem in bright viewing environments & LCD panels with poor contrast ratio

Please consider a dark theme option (or custom color controls)


30.05.2017817Base systemBug ReportVery LowLowimagebuilder doesnt delete /usr/lib/opkg anymoreTrunkUnconfirmed Task Description

when using lime-sdk with lede-trunk there is no deletion of opkg-files anymore (when building firmware-images without opkg).
with lede-release that mistake wasnt existing yet.

i also tried lede-trunk-imagebuilder for x86-generic, there is the same bug.

maybe CONFIG_CLEAN_IPKG was changed?
here i found something similar https://git.lede-project.org/?p=source.git;a=commitdiff;h=04a508512790017c768acf887cf0ac52daaba234
(link from http://luci.subsignal.org/~jow/changes-since-branching.html )

my workaround atm is change the Makefile inside imagebuilder a bit.

 


03.03.2017590Base systemBug ReportVery LowLowImageBuilder ar71xx BIN_DIR issuelede-17.01Unconfirmed Task Description

Software versions of LEDE release: lede 17 branch

Steps to reproduce:

- compile ar71xx with image builder support from lede 17 branch
- use the imagebuilder like: make image BIN_DIR=/var/www/downoads

we started testing lede-17.01 for OpenWISP.org and we noticed a
strange issue with the image-generator.

We supply a command like:

make image PROFILE=”Default” BIN_DIR=”$BIN_DIR”

but the image building fails because something goes to look for binaries
in ./bin/targets/ar71xx/generic instead of
“$BIN_DIR/targets/ar71xx/generic”.

If we create manually the dir with:

mkdir ./bin/targets/ar71xx/generic

The image building procedure completes successfully.

Is this desired behaviour or not?

We had to insert a workaround in our automated LEDE compilation process.

25.08.2017980Base systemBug ReportVery LowLowImage Builder trx issue a "WARNING: maxlen exceeds defa...TrunkUnconfirmed Task Description

Hi all!

Downloaded Image Builder lede-imagebuilder-17.01.2-brcm47xx-legacy.Linux-x86_64 and when running it with the following command line:

make image PROFILE="linksys-wrt54gs" 

I get the following error message from “mjn3’s trx replacement - v0.81.1“, several time, every time an image is prepared

WARNING: maxlen exceeds default maximum!  Beware of overwriting nvram!

Here is the listing of the bin/targets/brcm47xx/legacy directory showing that no image exceed the 7,5 MB limit that seems to be hard coded in the trx.c utility source code.

-rw-rw-r-- 1 xubuntu xubuntu 3543040 Aug 25 15:30 lede-17.01.2-brcm47xx-legacy-asus-wl-300g-squashfs.trx
-rw-rw-r-- 1 xubuntu xubuntu 3543040 Aug 25 15:30 lede-17.01.2-brcm47xx-legacy-asus-wl-320gp-squashfs.trx
-rw-rw-r-- 1 xubuntu xubuntu 3543040 Aug 25 15:30 lede-17.01.2-brcm47xx-legacy-asus-wl-330ge-squashfs.trx
-rw-rw-r-- 1 xubuntu xubuntu 3543040 Aug 25 15:30 lede-17.01.2-brcm47xx-legacy-asus-wl-500gp-v1-squashfs.trx
-rw-rw-r-- 1 xubuntu xubuntu 3543040 Aug 25 15:31 lede-17.01.2-brcm47xx-legacy-asus-wl-500gp-v2-squashfs.trx
-rw-rw-r-- 1 xubuntu xubuntu 3543040 Aug 25 15:31 lede-17.01.2-brcm47xx-legacy-asus-wl-500w-squashfs.trx
-rw-rw-r-- 1 xubuntu xubuntu 3543040 Aug 25 15:31 lede-17.01.2-brcm47xx-legacy-asus-wl-520gu-squashfs.trx
-rw-rw-r-- 1 xubuntu xubuntu 3543040 Aug 25 15:31 lede-17.01.2-brcm47xx-legacy-asus-wl-550ge-squashfs.trx
-rw-rw-r-- 1 xubuntu xubuntu 3543040 Aug 25 15:31 lede-17.01.2-brcm47xx-legacy-asus-wl-hdd25-squashfs.trx
-rw-rw-r-- 1 xubuntu xubuntu    1869 Aug 25 15:34 lede-17.01.2-brcm47xx-legacy-device-linksys-wrt54gs.manifest
-rw-rw-r-- 1 xubuntu xubuntu 3543065 Aug 25 15:31 lede-17.01.2-brcm47xx-legacy-dlink-dwl-3150-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543052 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-edimax-ps1208-mfg-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 4001892 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-huawei-e970-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543072 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-linksys-wrt150n-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543072 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-linksys-wrt160n-v1-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543072 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-linksys-wrt300n-v1-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543040 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-linksys-wrt300n-v1-squashfs.trx
-rw-rw-r-- 1 xubuntu xubuntu 3543072 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-linksys-wrt54g3g-em-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543072 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-linksys-wrt54g3g-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543072 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-linksys-wrt54g3gv2-vf-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543040 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-linksys-wrt54g3gv2-vf-squashfs.noheader.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543072 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-linksys-wrt54g-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543072 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-linksys-wrt54gs-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543072 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-linksys-wrt54gs-v4-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543072 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-linksys-wrtsl54gs-squashfs.bin
-rw-r--r-- 1 xubuntu xubuntu 3543048 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-motorola-wa840g-squashfs.bin
-rw-r--r-- 1 xubuntu xubuntu 3543048 Aug 25 15:32 lede-17.01.2-brcm47xx-legacy-motorola-we800g-squashfs.bin
-rw-r--r-- 1 xubuntu xubuntu 3543048 Aug 25 15:33 lede-17.01.2-brcm47xx-legacy-motorola-wr850g-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543098 Aug 25 15:33 lede-17.01.2-brcm47xx-legacy-netgear-wgr614-v8-squashfs.chk
-rw-rw-r-- 1 xubuntu xubuntu 3674112 Aug 25 15:33 lede-17.01.2-brcm47xx-legacy-netgear-wgt634u-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu 3543098 Aug 25 15:34 lede-17.01.2-brcm47xx-legacy-netgear-wndr3300-v1-squashfs.chk
-rw-rw-r-- 1 xubuntu xubuntu 3543098 Aug 25 15:34 lede-17.01.2-brcm47xx-legacy-netgear-wnr834b-v2-squashfs.chk
-rw-rw-r-- 1 xubuntu xubuntu 4001792 Aug 25 15:34 lede-17.01.2-brcm47xx-legacy-standard-noloader-gz-squashfs.trx
-rw-rw-r-- 1 xubuntu xubuntu 3543040 Aug 25 15:34 lede-17.01.2-brcm47xx-legacy-standard-squashfs.trx
-rw-rw-r-- 1 xubuntu xubuntu 3543068 Aug 25 15:34 lede-17.01.2-brcm47xx-legacy-usrobotics-usr5461-squashfs.bin
-rw-rw-r-- 1 xubuntu xubuntu    4375 Aug 25 15:34 sha256sums

Thanx for your support.

Paolo

11.08.2017954Base systemBug ReportVery LowMediumIGMP queries redirected to CPU port when snooping enabl...AllUnconfirmed Task Description

The Netgear R7800 has a QCA8337N switch chip, and the CPU has two interfaces (eth0/port 0 and eth1/port 6) connected to the switch. The default in LEDE is that WAN is on port0/eth0, and LAN is on port6/eth1.

When using multicast, it is often desirable to enable IGMP snooping on the switch to avoid flooding the multicast stream to all ports. A multicast server will normally send IGMP general queries to the all hosts address 224.0.0.1 at a regular interval (every few minutes) to check if there are still clients that wants to receive the multicast.

However, when IGMP snooping is enabled on this device, these queries are all redirected to port 0 on the switch, which is a problem if the multicast server is within the LAN. In this scenario, the server sends queries, but these queries are not being broadcast to the clients within the LAN, instead they end up at port 0 (eth0) where they are not needed. The server will then receive no responses to the queries, and subsequently times out and stops the stream multicast.

I think I found a viable fix for this, which is to set bit 3 (IGMP_COPY_EN) of the GLOBAL_FW_CTRL0 register in the switch chip to 1. This causes the IGMP queries to be broadcast on all switch ports (provided they are members of the same VLAN), instead of being redirected only to port 0. In my testing, I have found no adverse effects from this change.

I have attached a patch for this change, to make testing easy:

Assuming that the LAN interface is br-lan, run tcpdump on the router and inject IGMP general queries from a computer in the LAN, for example using Ostinato. With IGMP snooping off, the query is seen on br-lan:

root@R7800:/# tcpdump -i br-lan igmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-lan, link-type EN10MB (Ethernet), capture size 262144 bytes
11:47:06.832511 IP 192.168.20.1 > all-systems.mcast.net: igmp query v2

If IGMP snooping is turned on (globally or for the port where the query is received), then the query no longer appears at br-lan,
but instead only on eth0. Applying the attached patch fixes this.

22.02.2017550Base systemBug ReportVery LowLowhostapd (wpad-mesh) fails to start interface at same ti...TrunkUnconfirmed Task Description

Test device: OM2P from 2011 with ath9k and ar71xx subtarget
Version: LEDE 17.01.0-rc1 branch commit reboot-3208-g349577adbf

Build the image with following .config

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_OM2P=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_OPENSSL_WITH_NPN=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_wpad-mesh=y
# CONFIG_PACKAGE_wpad-mini is not set

Then modify /etc/config/wireless to look like this:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '1'
        option hwmode '11g'
        option path 'pci0000:00/0000:00:00.0'
        option htmode 'HT20'
        option disabled '0'

config wifi-iface 'ap2'
        option device 'radio0'
        option ifname 'ap-2'
        option network 'lan'
        option mode 'ap'
        option ssid 'meshedAP'
        option macaddr 'ac:86:74:00:00:01'
        option encryption 'none'

config wifi-iface 'mesh2'
        option device 'radio0'
        option ifname 'mesh-2'
        option network 'lan'
        option mode 'mesh'
        option mesh_id 'mymesh'
        option disabled '0'
        option mcast_rate '54000'
        option macaddr 'ae:86:74:00:00:01'
        option mesh_ttl 1
        option mesh_fwding 0
        option encryption 'none'
        option ieee80211w 1
        option encryption 'psk2+aes'
        option key 'reallysecretkey'

The iw dev output looks then like this:

phy#0
        Interface ap-2
                ifindex 8
                wdev 0x3
                addr ac:86:74:00:00:01
                type AP
                txpower 20.00 dBm
        Interface mesh-2
                ifindex 7
                wdev 0x2
                addr ae:86:74:00:00:01
                type mesh point
                channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
                txpower 20.00 dBm

Setting encryption to "none" doesn't help. But it seems to work fine when the mesh interface is disabled in uci

phy#0
        Interface ap-2
                ifindex 11
                wdev 0x6
                addr ac:86:74:00:00:01
                ssid meshedAP
                type AP
                channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
                txpower 20.00 dBm

This could become a big problem for freifunk-gluon when 802.11s is used instead of IBSS in the site.conf. Their setup is using AP + mesh on the same PHY

05.03.2017599Base systemBug ReportVery LowMediumHame MPR-A2 switch has unknown topologyTrunkUnconfirmed Task Description

Vlan don’t work.


30.08.2017993KernelBug ReportVery LowMediumgre tunnel dropping all TX packetsAllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on RAMIPS-MT7620 Xiaomi MiWiFi Mini
- Software versions of LEDE release: Both 17.01.2 & Latest snapshot
- Steps to reproduce

1. Fresh install 17.01.2 or Latest snapshot 
2. opkg update && opkg install kmod-gre gre
3. Configure a GRE Interface in /etc/config/network
4. send some traffic through the gre tunnel
5. ip -s link    Shows all TX traffic are dropped. Incoming traffic are OK 
 


14.05.2017783PackagesBug ReportVery LowMediumgpsd doesn't work with "Garmin USB binary" (nor NMEA200...TrunkUnconfirmed Task Description

Supply the following if possible:

- Device problem occurs on

I tried it on GL-AR150, but it should reproduce on any device w/ USB

- Software versions of LEDE release, packages, etc.

LEDE 17.01.1
gpsd 3.16-1

- Steps to reproduce

If you have a device with “Garmin USB binary” (eg : eTrex), then

gpsd -n -N -G -D 4 /dev/ttyUSB0

... should show data once a second.

From my reading of the code, even without a Garmin device, “-D 4” debug level should show a message of “Probing Garmin USB binary driver...\n”

From my reading of the code, it looks a a build problem. 2 “defines” need to be made :

NON_NMEA0183_ENABLE

HAVE_LIBUSB

FYI, there is a similiar bug for “NMEA2000” : If you do “gpsd -h”, you should see “NMEA2000” on the list of “drivers”. I can file a separate bug for this if you want.

Thanks !

19.04.2017720Base systemBug ReportVery LowLowgpio-button-hotplug: missing debounce for IRQ GPIOsTrunkUnconfirmed Task Description

I’ve noticed that some (multiple random) hardware in the fields suffers from weird factory resets without somebody pressing the button (it is physical not possible that someone could reach the button). I’ve noticed that it only happens with hardware that supports GPIO IRQs and which uses gpio-button-hotplug.

Problem seems to be that:

* CPU registers a really short 1 on the GPIO line
* IRQ is triggered
* gpio-button-hotplug handles the IRQ and noticed that the GPIO line is 0
* gpio-button-hotplug thinks that this was a button release after a really long button press
* factory reset is triggered by /etc/rc.button/reset

It looks like this can be fixed by checking if the button was actually pressed before calculating the holding time and sending the userspace event.

But there is a possible second problem caused by the missing debounce. The (incorrect) 1 on the GPIO line could be there long enough that the interrupt handler registers a press then directly receives a button release. This would trigger a REBOOT (even when not wanted). This (maybe) can be fixed by using a 5ms timer until accepting a key press.

09.09.20171003ToolchainBug ReportVery LowLowFlex does not build with GCC 7.2TrunkUnconfirmed Task Description

Get segmentation fault when compiling flex. Seems to be connected to gcc version 7.2 and issue identified upstream "247 with whis fix Commit.

Tried to apply this fix with own patch, but that did not improve the situation.

LEDE version: r4798-5629904ea8
gcc version 7.2.0 (Ubuntu 7.2.0-4ubuntu1)

OpenWrt-libtool: link: gcc -O2 -I/network/lede/source/staging_dir/host/include -I/network/lede/source/staging_dir/host/usr/include -o stage1flex stage1flex-scan.o stage1flex-buf.o stage1flex-ccl.o stage1flex-dfa.o stage1flex-ecs.o stage1flex-filter.o stage1flex-gen.o stage1flex-main.o stage1flex-misc.o stage1flex-nfa.o stage1flex-options.o stage1flex-parse.o stage1flex-regex.o stage1flex-scanflags.o stage1flex-scanopt.o stage1flex-skel.o stage1flex-sym.o stage1flex-tables.o stage1flex-tables_shared.o stage1flex-tblcmp.o stage1flex-yylex.o  -L/network/lede/source/staging_dir/host/lib -L/network/lede/source/staging_dir/host/usr/lib -lm
./stage1flex   -o stage1scan.c ./scan.l
Makefile:1689: recipe for target 'stage1scan.c' failed
make[6]: *** [stage1scan.c] Segmentation fault (core dumped)
make[6]: Leaving directory '/network/lede/source/build_dir/host/flex-2.6.4/src'
Makefile:539: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory '/network/lede/source/build_dir/host/flex-2.6.4/src'
Makefile:525: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/network/lede/source/build_dir/host/flex-2.6.4'
Makefile:28: recipe for target '/network/lede/source/build_dir/host/flex-2.6.4/.built' failed
make[3]: *** [/network/lede/source/build_dir/host/flex-2.6.4/.built] Error 2


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.

23.06.2017864Base systemBug ReportVery LowLowFix for 11ac (5Ghz) on TP-Link Archer C59 (ver 1.0)TrunkUnconfirmed Task Description

Install ath10k-ct and ath10k-firmware-qca9888-ct

Remove board.bin , board-2.bin in /lib/firmware/ath10k/QCA9888/hw2.0

Extract board.bin (eeprom) and pre-caldata

dd if=/dev/mtd6 of=/lib/firmware/ath10k/QCA9888/hw2.0/board.bin bs=1 skip=20480 count=12064
dd if=/dev/mtd6 of=/lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin bs=1 skip=20480 count=12048

Done


05.02.2017468Base systemBug ReportVery LowLowFirstboot does not work on ZyXEL P-2812HNU-F1 (17.01.0-...lede-17.01Unconfirmed Task Description

After installing lede-17.01.0-rc1-r3042-ec095b5-lantiq-xrx200-P2812HNUF1-squashfs-sysupgrade.bin on top of Chaos-Calmer on my P-2812HNU-F1, it kept it’s old config, although I didn’t specify that

sysupgrade /tmp/lede.bin

After activating fail-safe I tried to use firstboot to drop the config, but it failed:

root@(none):~# firstboot
This will erase all settings and remove any installed packages. Are you sure? [N/y]
y
/dev/ubi0_1 is not mounted
/dev/ubi0_1 will be erased on next mount
writing /dev/ubi0_1 failed: Operation not permitted

After rebooting it had kept it’s config.

Worked around it with

root@(none):~# mount_root 
switching to ubifs overlay
root@(none):/rom/root# firstboot 
This will erase all settings and remove any installed packages. Are you sure? [N/y]
y
/dev/ubi0_1 is mounted as /overlay, only erasing files
28.02.2017568Base systemBug ReportVery LowVery LowFirst boot messages are not logged to filelede-17.01Unconfirmed Task Description

I’m saving logs to a file on an external partition that is mounted at boot. After rebooting with an empty log file, an inconsistency can be noticed between the output of logread and the content of the log file. The first message printed by logread is, as expected,

Mon Feb 27 20:33:15 2017 kern.info kernel: [    0.000000] Booting Linux on physical CPU 0x0

while the first message in the log file reads

Mon Feb 27 20:33:16 2017 user.notice : Added device handler type: tunnel

The first boot messages are missing from the log file. From this point on, logread and the log file are identical.
Of course this is a minor issue, but still one would expect logs to be 100% complete, regardless whether they are stored in memory or to file.

root@lede:~# cat /etc/config/system 
config system
        option hostname 'lede'
	option zonename 'Europe/Rome'
	option timezone 'CET-1CEST,M3.5.0,M10.5.0/3'
        option ttylogin '0'
        option urandom_seed '0'
        option log_remote '0'
        option log_type 'file'
        option log_file '/mnt/sda1/var/log/messages'
        option log_buffer_size '64'
        option log_size '1024'
        option conloglevel '8'
        option cronloglevel '0'
...

Start order of init scripts log and fstab has been changed to start logging as early as possible.

root@lede:~# ls -1 /etc/rc.d/S*
/etc/rc.d/S00sysfixtime
/etc/rc.d/S10boot
/etc/rc.d/S10fstab
/etc/rc.d/S10system
/etc/rc.d/S11log
/etc/rc.d/S11sysctl
...

Device: WRT1200AC
Software version: Reboot (17.01.0, r3205-59508e3)

12.02.2017500Base systemBug ReportVery LowLowfirewall3: missing targets with IPv6 NATlede-17.01Unconfirmed Task Description

When the kmod-ipt-nat6 package is installed, running /etc/init.d/firewall reload or /etc/init.d/firewall restart produces warnings that targets are missing:

 * Populating IPv6 nat table
   * Zone 'lan'
Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_lan_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_lan_rule'
   * Zone 'wan'
Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_wan_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_wan_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_rule'

I tested this on an Archer C7 v2 running LEDE 17.01.0rc2.

01.08.2017944PackagesBug ReportVery LowLowfirewall3 isn't holding iptables lockTrunkUnconfirmed Task Description

I was first thinking that my missing iptables rules are related to the bug FS#943. But it looks like firewall3 is not holding the iptables lock via the option “-w”. This is unsafe because multiple iptables process may try to change a table at the same time and thus overwrite the final results of another iptables process.

The -w functionality for iptables-restore can be found in