OpenWrt/LEDE Project

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

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

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

OpenedIDCategoryTask TypePrioritySeveritySummaryReported InStatus
27.08.2017985Base systemBug ReportVery LowLowDIR-320 B1 dont save it's settings after power offTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on DIR-320 B1 (NRU)
- Software versions of LEDE release, packages, etc. 17.01.2
- Steps to reproduce

 Just Install LEDE 17.01.2 configure it. And get electrical plug off. Plug in and device settings are default.
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

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!

23.08.2017975Base systemBug ReportVery LowLowARV752DPW u-boot partition to small for recent u-bootAllUnconfirmed Task Description

Applies to 17.01.2 and trunk.

/target/linux/lantiq/dts/ARV752DPW.dts defines a uboot partition of 64k and places the firmware partition at 0×00020000.
There is no recent u-boot that would fit into 64k. The u-boot images in the LEDE repo are 192k.
The kernel_address should be 0×00040000 instead.

Sorry, I do not have the resources right now to download the source and create a proper patch. But the attached diff should give you an idea:

13.08.2017958Base systemBug ReportVery LowLowArcher C2600 - high latency over 5GHz wireless & no int...TrunkUnconfirmed Task Description

QCA9980 should have intermediate software queues. Intermediate software queues don’t seem to be working. The reqular mq qdisc is in use for the 5GHz wireless.

A previous build had high latency on the 5 GHz wireless interface. The latency was spiking to 20-50ms with a single client.

 FS#957  is connected to this bug. The router might be unstable because of the other bug.

LEDE commit: df3295f50e54909090846de12f7deb3ff8de6557

 


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.

03.08.2017950Base systemBug ReportVery LowLowcjdns LEDE support for arm_cortex-a15_neon-vfpv4TrunkUnconfirmed Task Description

Something went wrong with compliation?

Target: ipq806xSubtarget: genericPackage architecture: arm_cortex-a15_neon-vfpv4
Linux kokos 4.4.74 #0 SMP Fri Jul 14 21:36:50 2017 armv7l GNU/Linux

dmesg

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.74 (cezary@eko.one.pl) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 SMP Fri Jul 14 21:36:50 2017
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TP-Link Archer C2600

cli

root@kokos:~# opkg install cjdns luci-app-cjdns
Installing cjdns (0.17-3) to root...
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/routing/cjdns_0.17-3_arm_cortex-a15_neon-vfpv4.ipk
Installing luci-app-cjdns (1.3-5) to root...
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/routing/luci-app-cjdns_1.3-5_arm_cortex-a15_neon-vfpv4.ipk
Configuring cjdns.
Segmentation fault
Segmentation fault
dkjson: no valid JSON value (reached the end) (try cjdroute --cleanconf)
Segmentation fault
Segmentation fault
dkjson: no valid JSON value (reached the end) (try cjdroute --cleanconf)
Segmentation fault
Segmentation fault
dkjson: no valid JSON value (reached the end) (try cjdroute --cleanconf)
Configuring luci-app-cjdns.
root@kokos:~# cjdroute --cleanconf
Segmentation fault

root@kokos:~# gdb cjdroute
GNU gdb (GDB) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-openwrt-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cjdroute...(no debugging symbols found)...done.
(gdb)

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.

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 https://git.netfilter.org/iptables/commit/?id=999eaa241212d3952ddff39a99d0d55a74e3639e

25.07.2017931Base systemBug ReportVery LowHighOnboard Bluetooth not working on Raspberry Pi 3 BAllAssigned 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.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?

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

17.07.2017911OtherFeature RequestVery LowLowProblem with login into private git reposAllNew 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 ....


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

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


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 :)

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


28.06.2017873Base systemBug ReportVery LowMediumproblems of mt7628 wifi driver on miwifi nanoAllUnconfirmed 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.

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/


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

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";

};

 


18.06.2017853Base systemBug ReportVery LowLowChange dnsmasq domain and local options to listsTrunkAssigned Task Description

On LEDE 17.01 ‘domain’ and ‘local’ options in dnsmasq configuration doesn’t correctly support lists values as per dnsmasq capabilities.

Steps to reproduce

#/etc/config/dhcp
[...]
config dnsmasq
        list domain 'example1.com,192.168.0.0/24'
        list domain 'example2.com,192.168.1.0/24'
        list local '/example1.com/'
        list local '/example2.com/'
[...]

$ uci commit dhcp
$ /etc/init.d/dnsmasq restart

Actual results

#/var/etc/dnsmasq.conf.cfg02411c
[...]
domain=example1.com,192.168.0.0/24 example2.com,192.168.1.0/24
local=/example1.com/ /example2.com/
[...]

Expected results

#/var/etc/dnsmasq.conf.cfg02411c
[...]
domain=example1.com,192.168.0.0/24
domain=example2.com,192.168.1.0/24
local=/example1.com/
local=/example2.com/
[...]

Workaround

Replace append_parm with config_list_foreach here resolve the issue.
I’m attaching a patch for the 17.01 dnsmasq init script but it will break old uci configuration that use ‘option’ instead of ‘list’.
Do you have any suggestion on how to migrate old configuration and set those parameters as lists in uci web interface?

17.06.2017850Base systemBug ReportVery LowLowComfast CF-CU715N crashes (rt5370)TrunkUnconfirmed Task Description

My TP Link WR1043v1 is running LEDE 17.01.2, I use a Comfast CF-CU715N for create a second link in different channel. But the Comfast CF-CU715N which is based in RT5730 (kmod-rt2800-usb).

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

Follow the trace
[ 3779.373114] ————[ cut here ]———— [ 3779.378077] WARNING: CPU: 0 PID: 3780 at compat-wireless-2017-01-31/net/mac80211/main.c:1218 0x80d812bc [mac80211@80d80000+0×60780]()
[ 3779.390203] Have pending ack frames!
[ 3779.393808] Modules linked in: tun rt2800usb rt2800lib rt2x00usb rt2x00lib crc_itu_t 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 iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[ 3779.462604] CPU: 0 PID: 3780 Comm: kworker/0:0 Not tainted 4.4.71 #0
[ 3779.469029] Workqueue: usb_hub_wq 0x81b84534 [usbcore@81b80000+0x1c1f0]
[ 3779.475697] Stack : 00000010 00000020 ff000000 800a71dc 00000000 00000000 00000000 00000000
[ 3779.475697] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3779.475697] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3779.475697] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3779.475697] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3779.475697] ...
[ 3779.511770] Call Trace:[<800a71dc>] 0x800a71dc
[ 3779.516275] [<80071a50>] 0x80071a50
[ 3779.519791] [<80071a50>] 0x80071a50
[ 3779.523320] [<80081804>] 0×80081804 [ 3779.526864] [<80d812bc>] 0x80d812bc [mac80211@80d80000+0×60780]
[ 3779.532852] [<80d81284>] 0x80d81284 [mac80211@80d80000+0×60780]
[ 3779.538814] [<80081860>] 0×80081860 [ 3779.542361] [<80d812bc>] 0x80d812bc [mac80211@80d80000+0×60780]
[ 3779.548319] [<801a5fac>] 0x801a5fac
[ 3779.551922] [<80d81254>] 0x80d81254 [mac80211@80d80000+0×60780]
[ 3779.557887] [<80ca8520>] 0x80ca8520 [rt2x00usb@80ca8000+0x1ce0]
[ 3779.563892] [<80ca9344>] 0x80ca9344 [rt2x00usb@80ca8000+0x1ce0]
[ 3779.569848] [<8009908c>] 0x8009908c
[ 3779.573405] [<81b8cdf8>] 0x81b8cdf8 [usbcore@81b80000+0x1c1f0]
[ 3779.579325] [<801ff960>] 0x801ff960
[ 3779.582861] [<801fe224>] 0x801fe224
[ 3779.586396] [<801ffa00>] 0x801ffa00
[ 3779.589942] [<801febb0>] 0x801febb0
[ 3779.593477] [<801fc1ec>] 0x801fc1ec
[ 3779.596999] [<801fc138>] 0x801fc138
[ 3779.600534] [<81b8b1e0>] 0x81b8b1e0 [usbcore@81b80000+0x1c1f0]
[ 3779.606449] [<81b8b894>] 0x81b8b894 [usbcore@81b80000+0x1c1f0]
[ 3779.612344] [<81b81858>] 0x81b81858 [usbcore@81b80000+0x1c1f0]
[ 3779.618244] [<81b83bd4>] 0x81b83bd4 [usbcore@81b80000+0x1c1f0]
[ 3779.624179] [<81b84a8c>] 0x81b84a8c [usbcore@81b80000+0x1c1f0]
[ 3779.630134] [<800930b8>] 0x800930b8
[ 3779.633685] [<80093ecc>] 0x80093ecc
[ 3779.637206] [<80093c1c>] 0x80093c1c
[ 3779.640735] [<80093c1c>] 0x80093c1c
[ 3779.644267] [<80098284>] 0×80098284 [ 3779.647790] [<800981ac>] 0x800981ac
[ 3779.651330] [<80060878>] 0×80060878 [ 3779.654856]
[ 3779.656362] —[ end trace 69bc4427c2b074d4 ]— [ 3799.640894] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 3799.940887] usb 1-1: reset high-speed USB device number 3 using ehci-platform
[ 3800.102090] ieee80211 phy2: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[ 3800.143725] ieee80211 phy2: rt2x00_set_rf: Info - RF chipset 5370 detected
[ 3800.161898] ieee80211 phy2: Selected rate control algorithm ‘minstrel_ht’ [ 3800.180473] ieee80211 phy2: rt2x00lib_request_firmware: Info - Loading firmware file ‘rt2870.bin’ [ 3800.237431] ieee80211 phy2: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36


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

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

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

02.06.2017824Base systemBug ReportVery LowLowbase-files should include an /etc/config directoryTrunkUnconfirmed Task Description

config_generate, and probably other parts, expect /etc/config to exist. It usually does because of the dropbear package, but if dropbear is disabled everything breaks.

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.

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.

 


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

 


20.05.2017797Base systemBug ReportVery LowLowAsus RT-N12 rev. D1: Wireless not detectedTrunkUnconfirmed Task Description

The wireless system is not detected in LEDE. It seems to work fine with DD-WRT: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=934736

Supply the following if possible:
- Device problem occurs on: ASUS RT-N12 D1
- Software versions of LEDE release, packages, etc.: Latest release
- Steps to reproduce: Install LEDE, open LuCi, see no wireless interfaces

 


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.

 


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 !

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

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.

09.05.2017772PackagesFeature RequestVery LowVery LowAllowing Snort to also block possibly using SnortSamTrunkUnconfirmed Task Description

I noticed that Snort is available from the packages. I wanted to inquire if it would be possible to intergrate dynamic blocking through software such as SnortSam (http://www.snortsam.net/).

pfSence implements a blocking feature with Snort, I’m curious if others may be likewise be interested in this feature being added in to a future release of LEDE.

Thanks

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
06.05.2017765Base systemBug ReportVery LowLowEthernet Carrier does NOT trigger Hotplug Event on TPL...TrunkUnconfirmed Task Description

Hi all,

Symptoms of the Problem: In our Freifunk Mesh we do operate several TPLink CPE510 as mesh routers in combination with a CPE210 as AP. The DHCP server of dnsmasq got not started on the ethernet interfaces and hence no clients get a lease.

Setup:

  • Hardware: The Mesh CPE510 & the AP CPE210 are in a daisy-chain setup: PoE power supply comes into the CPE510 via LAN, the WAN port is connected to the CPE210 LAN port. When the CPE510 boots up it triggers a script that sets the GPIO pins for PoE path-through on the CPE510’s WAN port to power-up the connected CPE210.
  • Software: latest LEDE trunk 4094

Current Workaround: Trigger “ifup lan” after 60sec timeout by /etc/rc.local in order to get the DHCP ranges applyed to the ethernet interfaces

Troubleshooting:

  • compare output of /etc/init.d/dnsmasq after booting and after manually triggering the “ifup lan” event:

after boot up, with no dhcp running

+ local stamp=/var/run/dnsmasq.cfg02411c.eth0.1.dhcp
+ local rv=0
+ [ -s /var/run/dnsmasq.cfg02411c.eth0.1.dhcp ]
+ devstatus eth0.1
+ jsonfilter -e @.carrier
+ return 1
+ return 0

after “ifup lan”, where dhcp is properly working

+ local stamp=/var/run/dnsmasq.cfg02411c.eth0.1.dhcp
+ local rv=0
+ [ -s /var/run/dnsmasq.cfg02411c.eth0.1.dhcp ]
+ jsonfilter -e @.carrier
+ devstatus eth0.1
+ udhcpc -n -q -s /bin/true -t 1 -i eth0.1
udhcpc: started, v1.26.2
udhcpc: sending discover

So while booting of the CPE510, there is not yet a ethernet carrier, hence no dhcp is started. But there seems to be the hotplug event missing once the attached CPE210 is booted up.

  • add debug output to the hotplug events leeds to:
hotplug: block

TYPE: block ACTION: add INTERFACE:  DEVICE:  
TYPE: block ACTION: add INTERFACE:  DEVICE:  
TYPE: block ACTION: add INTERFACE:  DEVICE:  
TYPE: block ACTION: add INTERFACE:  DEVICE:  
TYPE: block ACTION: add INTERFACE:  DEVICE:  
TYPE: net ACTION: add INTERFACE: tunl0 DEVICE:  
TYPE: net ACTION: add INTERFACE: ifb0 DEVICE:  
TYPE: net ACTION: add INTERFACE: ifb1 DEVICE:  
TYPE: ieee80211 ACTION: add INTERFACE:  DEVICE:  
TYPE: net ACTION: add INTERFACE: wlan0 DEVICE:  
TYPE: net ACTION: add INTERFACE: eth0.7 DEVICE:  
TYPE: iface ACTION: ifup INTERFACE: evergate DEVICE: roaming0 roaming0
TYPE: net ACTION: add INTERFACE: roaming0 DEVICE:  
TYPE: net ACTION: add INTERFACE: eth0.1 DEVICE:  
TYPE: net ACTION: remove INTERFACE: wlan0 DEVICE:  
TYPE: net ACTION: add INTERFACE: wlan0 DEVICE:  
TYPE: firewall ACTION: add INTERFACE: lan DEVICE: eth0.1 eth0.1
TYPE: firewall ACTION: add INTERFACE: evergate DEVICE: roaming0 roaming0
TYPE: firewall ACTION: add INTERFACE: mesh0 DEVICE: wlan0 wlan0
TYPE: iface ACTION: ifup INTERFACE: lan DEVICE: eth0.1 eth0.1
TYPE: firewall ACTION: remove INTERFACE: lan DEVICE: eth0.1 eth0.1
TYPE: firewall ACTION: remove INTERFACE: mesh0 DEVICE: wlan0 wlan0
TYPE: firewall ACTION: remove INTERFACE: evergate DEVICE: roaming0 roaming0
TYPE: firewall ACTION: add INTERFACE: lan DEVICE: eth0.1 eth0.1
TYPE: firewall ACTION: add INTERFACE: mesh0 DEVICE: wlan0 wlan0
TYPE: firewall ACTION: add INTERFACE: evergate DEVICE: roaming0 roaming0
TYPE: iface ACTION: ifup INTERFACE: loopback DEVICE: lo lo
TYPE: iface ACTION: ifup INTERFACE: mesh0 DEVICE: wlan0 wlan0
TYPE: firewall ACTION: remove INTERFACE: lan DEVICE: eth0.1 eth0.1
TYPE: firewall ACTION: remove INTERFACE: mesh0 DEVICE: wlan0 wlan0
TYPE: firewall ACTION: remove INTERFACE: evergate DEVICE: roaming0 roaming0
TYPE: firewall ACTION: add INTERFACE: lan DEVICE: eth0.1 eth0.1
TYPE: firewall ACTION: add INTERFACE: mesh0 DEVICE: wlan0 wlan0
TYPE: firewall ACTION: add INTERFACE: evergate DEVICE: roaming0 roaming0
CPE210 via gpio poe truned on

After the CPE210 got powered up via gpio & PoE pass-through, there is no further hotplug event triggered, as someone would expect.
So maybe swconfig for that device is not working properly ?

Any hints how to solve that problem ?

GReetings from Berlin
Bluse

/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 'fd1b:ca05:dc2e::/48'

config interface 'lan'
        option ifname 'eth0.1'
        option proto 'static'
        option ipaddr '10.14.4.1'
        option netmask '255.255.255.0'

config interface 'evergate'
        option ifname   'roaming0'
        option proto    'static'
        option ipaddr   '192.168.1.1'
        option netmask  '255.255.0.0'

config device 'roaming0'
        option ifname 'eth0.7'
        option name 'roaming0'
        option type 'macvlan'
        option macaddr 'AA:BB:CC:DD:EE:77'

config interface 'mesh0'
        option proto 'static'
        option ipaddr '10.14.10.4'
        option netmask '255.0.0.0'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

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

config switch_vlan
        option device 'switch0'
        option vlan '7'
        option vid '7'
        option ports '4t 0t'

/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 sequential_ip '1'
        option allservers '1'
        option noping '0'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.auto'
        option localservice '0'
        option cachesize '8192'
        option cachelocal '1'
        list server '8.8.8.8'
        list server '8.8.4.4'
        list server '208.67.222.222'
        option nonwildcard '0'

config dhcp 'lan'
        option interface 'lan'
        option start '10.14.4.100'
        option limit '100'
        option leasetime '1h'
        list dhcp_option '3,10.14.4.1'
        list dhcp_option '6,10.14.4.1'

config dhcp 'mesh'
        option interface 'mesh0'
        option ignore '1'

config dhcp 'evergate'
        option interface 'evergate'
        option start '192.168.14.100'
        option limit '100'
        option leasetime '1h'
        list dhcp_option '3,192.168.1.1'
        list dhcp_option '6,192.168.1.1'
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'

03.05.2017756Base systemBug ReportVery LowLow/boot filesystem isn't mounted by preinit on x86TrunkUnconfirmed Task Description

Problem occurs on x86 builds (both x86-32 and x86-64).

Is observed with HEAD (6138d842433).

Install a recent build. Boot. “ls /boot”

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.

30.04.2017747Base systemBug ReportVery LowLowdefault dns service doesn't provide qname minimizationTrunkUnconfirmed Task Description

Supply the following if possible:

- Device problem occurs on

All

- Software versions of LEDE release, packages, etc.

All

- Steps to reproduce

* Perform a DNS resolution

qname minimization reduces the amount of information to sent via each lookup, this is to my knowledge not supported by dnsmasq which is the default DNS resolver in LEDE. It would be nice if support was added to it, or if it was replaced by some other name server that tries to reduce the amount of information leaked to foreign servers.

The spec:
https://tools.ietf.org/html/draft-ietf-dnsop-qname-minimisation-09

Unbound plugs this leak, does it lack anything that LEDE uses?

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


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.

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 


17.04.2017714Base systemBug ReportVery LowHighARP/Broadcast does not reach other clients in the same ...AllUnconfirmed Task Description

I have the default bridge with ethernet and WLAN in it. When i try to send data from a client to another, both connected to the same WLAN SSID, it doesn’t work (Destination unreachable).
Wireshark shows that it sends endless ARP requests to Broadcast, but the other clients in that WLAN never get it (and therefore can’t answer). The broadcast gets still delivery to every client connected through Ethernet. If i create a second WLAN SSID (even on the same adapter) and and add it to the bridge, it gets also all broadcast packets from the other WLAN...
So if i put the 2 clients in different WLAN SSIDs or ethernet they get the broadcast from each other, but not when both are connected to the same.

The isolate option is not set in the wireless config.
Archer C5 v1 with latest LEDE snapshot (no difference to 17.01 stable or rc).

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

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'
Showing tasks 1051 - 1100 of 1161 Page 22 of 24<<First - 20 - 21 - 22 - 23 - 24 -

Available keyboard shortcuts

Tasklist

Task Details

Task Editing