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

21.08.2017972Base systemBug ReportVery LowMediumUbiquiti EdgeRouter X (ER-X) port connection interrupti...lede-17.01Unconfirmed Task Description

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

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

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

Port connection interruption log:

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

Kernel crash log:

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


20.08.2017971ToolchainBug ReportVery LowMediummkhash on freebsdlede-17.01Unconfirmed Task Description

Path for build mkhash on freebsd.

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

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

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

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

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

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

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

iperf result:
142 Mbps with EA4500 sirq around 58%

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

iperf result
~220 Mbps

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

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

01.08.2017943Base systemBug ReportVery LowLowiptables 1.6.1 fails to acquire a lock because /run/ do...TrunkNew Task Description

Just flashed a device with the current snapshot of LEDE (https://downloads.lede-project.org/snapshots/targets/ar71xx/generic/; r4657-bb4d500). And then I’ve wanted to use locking with iptables but noticed that the lock was just not working:

root@LEDE:/# strace iptables -w -L
...
open("/run/xtables.lock", O_RDONLY|O_CREAT|O_LARGEFILE, 0600) = -1 ENOENT (No such file or directory)
socket(AF_INET, SOCK_RAW, IPPROTO_RAW)  = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getsockopt(3, SOL_IP, IPT_SO_GET_INFO, "filter\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., [84]) = 0
...

The lock was basically ignored and the socket was opened without the lock opened. The package is missing following things:

* change https://git.netfilter.org/iptables/commit/?id=836846f0d747e1be8e37d2d43b215a68b30ea1a9 * change https://git.netfilter.org/iptables/commit/?id=b91af533f4da15854893ba5cc082e1df6bcf9a97 * change https://git.netfilter.org/iptables/commit/?id=80d8bfaac9e2430d710084a10ec78e68bd61e6ec * iptables Makefile change to add following configure option: –xt-lock-name=/var/lock/xtables.lock

It is not save to use multiple (writing) iptables processes without locking. It is therefore a rather big problem that it is broken at the moment

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

 


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

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

I have no issue with 2.4ghz wireless.

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

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

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports VHT-IBSS.
24.07.2017927Base systemBug ReportVery LowCriticalSQUASHFS error: xz decompression failedlede-17.01Assigned Task Description

Ubiquiti AirGateway and Bullet M2
LEDE 17.01.2
Lighttpd
PHP7

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

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

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

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

root@BlueWave:~# free

           total       used       free     shared    buffers     cached

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

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


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.2017902Base systemBug ReportVery LowHighUnable to restore stock ROM in TP-Link CPE210 HW 1.1 af...lede-17.01Unconfirmed Task Description

Hello

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

03.07.2017883Base systemBug ReportVery LowLowER-X-SFP link-state enabled on SFP port eth5 (led = lit...TrunkUnconfirmed Task Description

Unable to use SFP port (eth5 / swconfig port 5).
Valid SFP module inserted, fiber uplink connected: eth5 led=lit, afaik: link-state enabled/up.
However, swconfig shows port 5 link:down.

Driver (mt7530) issue?

 


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

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

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

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

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

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


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


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


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

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

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

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

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

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.2017861Base systemBug ReportVery LowLowath9k doesn't respect setting country and stuck at max ...lede-17.01Unconfirmed Task Description

Device: TP-Link WR741ND v4
OS: LEDE 17.01.2, also tried compile trunk with ATH_USER_REGD=y

I tried set country via

iw reg set TW

and via /etc/config/wireless and reboot router - no matter, ath9k ignore this settings.

root@lede:~# iw reg get
global
country TW: DFS-FCC
        (2400 - 2483 @ 40), (N/A, 30), (N/A)
        (5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
        (5250 - 5350 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
        (5470 - 5725 @ 160), (N/A, 23), (0 ms), DFS
        (5725 - 5850 @ 80), (N/A, 30), (N/A)

phy#0
country US: DFS-FCC
        (2402 - 2472 @ 40), (N/A, 30), (N/A)
        (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
        (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
        (5735 - 5835 @ 80), (N/A, 30), (N/A)
        (57240 - 63720 @ 2160), (N/A, 40), (N/A)

Look, phy#0 always “country US” and max TX 18 dBm

root@lede:~# iw dev
phy#0
        Interface wlan0
                ifindex 8
                wdev 0x3
                addr 10:fe:ed:xx:xx:xx
                ssid LEDE
                type AP
                channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz
                txpower 18.00 dBm


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

};

 


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

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

 


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

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

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

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

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

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

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

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

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

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

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

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

- Device problem occurs on

TP-Link TL-WDR3600 v1

- Software versions of LEDE release, packages, etc.

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

- Steps to reproduce

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

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

13.06.2017844Base systemBug ReportVery LowHighWMM Mode bug with Wifi 2,4Ghz Archer C7 1750 V2 with L...lede-17.01Unconfirmed Task Description

Hi,

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

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

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

I specify that with OpenWrt 15.05.1 WMM Mode worked perfectly.

11.06.2017839Base systemBug ReportVery LowLowArcher C7 v2 reset button not workingTrunkUnconfirmed Task Description

Archer C7 v2 reset button doesn’t work.

With /etc/hotplug.d/button/buttons

#!/bin/sh
logger the button was $BUTTON and the action was $ACTION

and then reading logread the message that shows up is:

Mon Jun 12 01:41:15 2017 user.notice root: the button was wps and the action was pressed
Mon Jun 12 01:41:15 2017 user.notice root: the button was wps and the action was released

The reset button in the device is labeled as WPS/Reset, so I suppose that’s why in LEDE is labeled to wps instead of reset, but that makes the button to have no purpose.

I think I saw some time ago a change in the name of the buttons in many devices.

The factory behavior is if the button is pressed less than 5 seconds WPS is enabled, and more that 5 seconds reset is done.

Perhaps could be better to name the button reset and let it works as a default reset button in lede, less than 5 sec reset, 5 sec or more factory reset.

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
09.06.2017833Base systemBug ReportVery LowMediumpppoe memory problemlede-17.01Unconfirmed Task Description

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

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

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

Tested on Linksys WRT1200AC, kernel 4.4.69 and 4.4.70
LEDE 17.01

Is there a way to investigate the problem more closely?

Many Thanks

Edy

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.

 


Showing tasks 601 - 650 of 775 Page 13 of 16<<First - 11 - 12 - 13 - 14 - 15 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing