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.

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

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

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

Device A (worse RX SNR):

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

Device B (better RX SNR)

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

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

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

Maybe related to FS#1246

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

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

WiFi EEPROM of the devices:

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

- Linksys WRT1200AC
- OpenWrt 18.06.2
- OpenVPN 2.4.5

The tun interface loses its IP address when a network restart (/etc/init.d/network restart) gets issued, if the tun adapter is if referenced in /etc/config/network.
You have to restart the OpenVPN service to reassign an IP address.
This happens on the server as well as on the client side and it can lock yourself out if you are connected via VPN.

https://forum.openwrt.org/t/openvpn-client-tun-adapter-loses-its-ip-address-on-network-restart/13825

08.03.20192172Base systemBug ReportVery LowLowath79: Archer C7 v1 CPU hangTrunkUnconfirmed Task Description

OpenWrt SNAPSHOT, r9548-9f818cb

boot ramdisk image, set password and configure wifi with following settings:

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/ahb/ahb:apb/18100000.wmac'
	option channel '5'
	option htmode 'HT40'
	option txpower '25'
	option country 'US'
	option legacy_rates '0'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option encryption 'psk2+ccmp'
	option key 'gsthrsrt6uhsthw6wu54ws'
	option ieee80211w '1'
	option wpa_disable_eapol_key_retries '1'
	option ssid 'OpenWrt2'

do some iperf traffic both ways (~130Mbps) for few minutes

executed command iw phy0 set distance auto, ran few short iperf tests after that

from luci unchecked Allow legacy 802.11b rates and hit apply

wifi doesn’t come up, CPU hangs, no additional messages on console except below posted and console don’t respond. device restarted automatically within a minute or so.

[ 1125.499211] device wlan0 left promiscuous mode
[ 1125.503804] br-lan: port 2(wlan0) entered disabled state
[ 1126.181396] br-lan: port 2(wlan0) entered blocking state
[ 1126.186789] br-lan: port 2(wlan0) entered disabled state
[ 1126.192445] device wlan0 entered promiscuous mode
[ 1126.197272] br-lan: port 2(wlan0) entered blocking state
[ 1126.202691] br-lan: port 2(wlan0) entered forwarding state
[ 1126.527341] br-lan: port 2(wlan0) entered disabled state
[ 1128.047343] ath: phy0: Unable to reset channel, reset status -5


07.03.20192171Base systemBug ReportVery LowLowStill stuck in boot loop after raspbian workaroundTrunkUnconfirmed Task Description

I’ve tried using the raspbian workaround:

  1. boot raspbian
  1. change region code
  1. reboot and check it
  1. reboot again with openwrt

But still it gets stuck in a boot loop at the same place.

Any suggestions please? Some users do not need wlan(2 I/f router) so would disabling(and how) allow openwrt to boot?

 


07.03.20192169Base systemBug ReportVery LowLowqca8337 switch does not support VLAN IDs > 128TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

c2600

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

openwrt 18.6.2 r7676-cddd7b4c77

- Steps to reproduce

attempt to configure a VLAN > 128

swconfig dev reports that it supports 128 VLANs with VLAN IDs in the range 0-4094
but with only 2 VLANs defined, you cannot set the vlan ID > 128

I do not find any option to enable larger VLAN IDs (enable4kvlans is not accepted)

06.03.20192168KernelBug ReportVery LowCriticalSwitch no longer work after restart on Linksys EA8500AllAssigned Task Description

Got error when I try to post with all followings, so I have to post the task first then supply those information below.

There is a problem with the EA8500, the switch will not work after soft reboot, the only way to get it work is power cycle it manually, tested on 18.06.2 and latest source code.

There is already a topic for this https://forum.openwrt.org/t/ea8500-reboot-fails-only-with-power-switch-on-off-successful/18234

I will copy what I replied to the topic to this issue.

have the same issue, looks like something not reset properly, or clock not initialize properly.

on successful boot it will show
[ ] libphy: GPIO Bitbanged MDIO: probed
[ ] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[ ] ar8327: qca,phy-rgmii-en is not specified

after soft reboot it will become
[ ] libphy: GPIO Bitbanged MDIO: probed
[ ] mdio_bus gpio-0: MDIO device at address 0 is missing.
[ ] mdio_bus gpio-0: MDIO device at address 4 is missing.

after reading code and google, found following information
the switch reset pin is connect to gpio63, tried manually reset by control gpio via /sys, dose see the port light off then on, reset dose work, but after restart network service still no switch.
then read boot log, there is error for initialize dma for ipq806x-gmac-dwmac 37200000.ethernet, then go to the actual code change it to print more information, found the dma reset bit will never clear.

I don’t think this is a switch related issue, it should be a soc driver issue, either mdio bus or eth driver, personally I think it is the clock for mdio bus.

Did another test, flashed the official FW in Openwrt, then auto reboot, the official FW cannot working properly for the same reason, cannot find the switch.
After power cycle official FW working properly, and I can soft restart by issue a reboot cmd in serial port, after reboot everything still works.
Therefore there must be something got disabled during Openwrt shutdown process that should not be disabled.

Success boot log (on cold boot / manual power cycle)
success_log.txt

Fail boot log (on restart / reboot)
fail_log.txt

Fail boot log (sysupgrade -v -n -F flashed official FW then auto reboot)
fail_boot_linksys_fw.txt

06.03.20192167Base systemBug ReportVery LowMediumIPv6-connectivity is broken for local system via 6in4-t...openwrt-18.06Unconfirmed Task Description

Issue description:
IPv6-connectivity is broken for local system via 6in4-tunnel.
Disabling source-routing is ignored.

System version:
OpenWrt 18.06.1

Steps to reproduce:

# uci show network.wan6
network.wan6=interface
network.wan6.proto='6in4'
network.wan6.tunlink='wan'
network.wan6.peeraddr='216.66.88.98'
network.wan6.ipaddr='139.162.227.238'
network.wan6.ip6addr='2001:470:1f1c:2a6::2/64'
network.wan6.ip6prefix='2001:470:1f1d:2a2::/64'
network.wan6.sourcerouting='0'
 
# ip -6 addr show 6in4-wan6
9: 6in4-wan6@eth0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1280 state UNKNOWN qlen 1000
    inet6 2001:470:1f1c:2a6::2/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::8ba2:e3ee/64 scope link 
       valid_lft forever preferred_lft forever
 
# ip -6 route show default table all
default from 2001:470:1f1c:2a6::/64 dev 6in4-wan6 proto static metric 1024 pref medium
default from 2001:470:1f1d:2a2::/64 dev 6in4-wan6 proto static metric 1024 pref medium
 
# ip -6 route show dev 6in4-wan6
default from 2001:470:1f1c:2a6::/64 proto static metric 1024 pref medium
default from 2001:470:1f1d:2a2::/64 proto static metric 1024 pref medium
2001:470:1f1c:2a6::/64 proto kernel metric 256 pref medium
fe80::/64 proto kernel metric 256 pref medium
 
# dig +short -q openwrt.org -t aaaa
2a03:b0c0:3:d0::1af1:1
 
# ping6 -c 3 openwrt.org
connect: Permission denied
 
# ip -6 route get 2a03:b0c0:3:d0::1af1:1
RTNETLINK answers: Permission denied
 
# ping6 -c 3 -I 2001:470:1f1c:2a6::2 openwrt.org
PING openwrt.org(wiki-01.infra.openwrt.org) from 2001:470:1f1c:2a6::2 : 56 data bytes
64 bytes from wiki-01.infra.openwrt.org: icmp_seq=1 ttl=59 time=20.2 ms
64 bytes from wiki-01.infra.openwrt.org: icmp_seq=2 ttl=59 time=35.3 ms
64 bytes from wiki-01.infra.openwrt.org: icmp_seq=3 ttl=59 time=20.0 ms
 
--- openwrt.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 20.006/25.190/35.340/7.177 ms
 
# ip -6 route get 2a03:b0c0:3:d0::1af1:1 from 2001:470:1f1c:2a6::2
2a03:b0c0:3:d0::1af1:1 from 2001:470:1f1c:2a6::2 dev 6in4-wan6 proto static src 2001:470:1f1c:2a6::2 metric 1024 pref medium
06.03.20192166Base systemBug ReportVery LowHighOpenwrt 18.06.2 build fails when ext4 is not chosen as ...openwrt-18.06Unconfirmed Task Description

upply the following if possible:
- Raspberry Pi Zero
- 18.06.2
- Go into menu, choose only ‘squashfs’ with defaults and bcm2708 as target. The ‘rootfs’ option disappears, and the build script fails with make world:

Output follows:

./gen_rpi_sdcard_img.sh /data/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/tmp/openwrt-brcm2708-bcm2708-rpi-squashfs-factory.img.gz /data/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/tmp/openwrt-brcm2708-bcm2708-rpi-squashfs-factory.img.gz.boot /data/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/root.squashfs 20
+ '[' 4 -eq 5 ']'
+ echo 'SYNTAX: ./gen_rpi_sdcard_img.sh <file> <bootfs image> <rootfs image> <bootfs size> <rootfs size>'
SYNTAX: ./gen_rpi_sdcard_img.sh <file> <bootfs image> <rootfs image> <bootfs size> <rootfs size>

Looks like the script isn’t passing proper paramaters unless I select ext4 image as well as squashfs image.

06.03.20192164Base systemBuild FailureVery LowLowWhen compiling with zero packages configured, the compi...TrunkUnconfirmed Task Description

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

 

git clone –depth 1 https://github.com/openwrt/openwrt.git openwrt-reproduce-package-cat-bug
cd openwrt-reproduce-package-cat-bug
cp $attached_file_.config .config
make V=sc

The build process hangs after these log lines:

find .tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost   -o ./Module.symvers    -S    -s -T -

make[5]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/linux-4.14.104’ touch /home/jonesmz/openwrt-reproduce-package-cat-bug/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/linux-4.14.104/.modules
make -C image compile TARGET_BUILD=
make[5]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/target/linux/ipq806x’ make[5]: warning: jobserver unavailable: using -j1. Add ‘+’ to parent make rule.
make[5]: Nothing to be done for ‘compile’.
make[5]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/target/linux/ipq806x/image’ make[4]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/target/linux/ipq806x’ make[3]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/target/linux’ time: target/linux/compile#2.58#0.96#1.99
make[2]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug’ export MAKEFLAGS= ;make -w -r diffconfig
make[2]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug’ make[2]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug’ make[3]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/package/libs/libjson-c’ make[3]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/package/libs/libjson-c’ time: package/libs/libjson-c/host-compile#0.16#0.08#0.22
make[3]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/package/libs/libubox’ make[3]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/package/libs/libubox’ time: package/libs/libubox/host-compile#0.68#0.36#0.98
make[3]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/package/system/opkg’ make[2]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug’ make[3]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/package/system/opkg’ time: package/system/opkg/host-compile#0.55#0.25#0.75
make[2]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug’ make[2]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug’ make[2]: warning: -jN forced in submake: disabling jobserver mode.
rm -rf /home/jonesmz/openwrt-reproduce-package-cat-bug/staging_dir/packages/ipq806x
mkdir -p /home/jonesmz/openwrt-reproduce-package-cat-bug/staging_dir/packages/ipq806x

And the following process tree

/bin/bash
- make -j25 V=sc

  1. /bin/sh -c _limit=`ulimit -n` ; .............
  2. make -w -r world
    1. make -j1 package/install
    2. bash -c cat 2>/dev/null
      1. cat

The attached .config file has a minimal configuration where as few packages as possible selected. In this case, I think I’ve managed to get it down to zero packages. I believe that what’s failing is this line:

./package/Makefile: $(call opkg_package_files,$(foreach pkg,$(shell cat $(PACKAGE_INSTALL_FILES) 2>/dev/null),$(pkg)$(call GetABISuffix,$(pkg))))

Where if this line is executed when $PACKAGE_INSTALL_FILES expands to nothing, then the “cat” program expects to read data from standard in, which will wait forever.

An easy workaround is to add /dev/null to the list of files to cat, such as

./package/Makefile: $(call opkg_package_files,$(foreach pkg,$(shell cat /dev/null $(PACKAGE_INSTALL_FILES) 2>/dev/null),$(pkg)$(call GetABISuffix,$(pkg))))

But you still end up with failures later, such as opkg being given an empty list of packages to install.

05.03.20192163Base systemBug ReportVery LowLowNew installation via OEM method on Linksys WRT1900AC v1...TrunkUnconfirmed Task Description

Trying to flash a new installation of either openWRT (openwrt-18.06.2-mvebu-cortexa9-linksys-wrt1900ac-squashfs-factory.img) or the Davidc variant (lede-mvebu-cortexa9-linksys-wrt1900ac-squashfs-factory.img)from OEM gui fails on Linksys WRT1900AC v1 with firmware version 1.1.10.187766.

To reproduce, attempt to flash either image using the Linksys gui. Go to the “Connectivity” tab. In the area labeled “Manual”, choose the image file, and click “Start”. According to the gui, the flash is successful and proceeds to restart. The power and ethernet indicators light up for a bit, then the internet flashes orange until the router reboots into the Linksys firmware.

From my research, silent failure like this indicates the flash didn’t actually succeed, but I don’t have a serial cable or much time to do further diagnosis at the moment.

05.03.20192162Base systemBug ReportVery LowHighLinksys 3200ACM stop to function, no connection out of ...openwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Linksys WRT 3200ACM
- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 18.06.2 r7676-cddd7b4c77 / LuCI openwrt-18.06 branch (git-19.020.41695-6f6641d)
+ IGMProxy (followed this tuturial https://oldwiki.archive.openwrt.org/doc/howto/udp_multicast)
- Steps to reproduce

 I have a large network with arround 200 Virtual Machines connected to the router, this router is great and looks like it can handle all of my VMs easly (my ISP router break after 80VMs) but out of nowhere sometimes the router stop to function, I cannot connect to it from LAN or WLAN. I am not sure if this is related with the VMs or if it is another issue

I had remote logs active, and the last time this ocurred I got this from the logs:
root# nc -u -4 -l 5555

<30>Mar  5 00:38:13 OpenWrt logread[6094]: Logread connected to 10.0.10.1:5555
<28>Mar  5 00:38:26 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab1119a3c79428a626de on br-lan: no binding
<29>Mar  5 00:41:05 OpenWrt netifd: wan (2068): udhcpc: sending renew to 10.141.0.1
<29>Mar  5 00:41:05 OpenWrt netifd: wan (2068): udhcpc: lease of 188.250.74.185 obtained, lease time 3600
<13>Mar  5 00:42:40 OpenWrt root: testLog “Blah1”
<28>Mar  5 00:43:43 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab114ef36bcb13e12a6c on br-lan: no binding
<28>Mar  5 00:43:46 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab11ec7b577aa4a2257e on br-lan: no binding
<28>Mar  5 00:47:21 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab11ee5cdb55e31e9275 on br-lan: no binding
<28>Mar  5 00:48:45 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab1119a3c79428a626de on br-lan: no binding
<30>Mar  5 00:49:14 OpenWrt dnsmasq-dhcp[2944]: DHCPREQUEST(br-lan) 10.0.0.202 00:50:56:96:e6:32
<30>Mar  5 00:49:14 OpenWrt dnsmasq-dhcp[2944]: DHCPACK(br-lan) 10.0.0.202 00:50:56:96:e6:32 zen
<28>Mar  5 00:53:21 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab114ef36bcb13e12a6c on br-lan: no binding
<28>Mar  5 00:53:26 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab11ec7b577aa4a2257e on br-lan: no binding
<28>Mar  5 00:58:16 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab11ee5cdb55e31e9275 on br-lan: no binding

Right after I reset the router power I did an logread and could get this:

Tue Mar  5 00:42:43 2019 user.info kernel: [    3.202957] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Tue Mar  5 00:42:43 2019 user.info kernel: [    3.234044] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Tue Mar  5 00:42:43 2019 user.info kernel: [    3.243296] init: - preinit -
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.395512] mvneta f1070000.ethernet tmp0: renamed from eth0
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    3.401750] random: procd: uninitialized urandom read (4 bytes read)
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.441356] mvneta f1034000.ethernet eth0: renamed from eth1
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.481320] mvneta f1070000.ethernet eth1: renamed from tmp0
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    3.699138] random: jshn: uninitialized urandom read (4 bytes read)
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    3.730488] random: jshn: uninitialized urandom read (4 bytes read)
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.892827] mvneta f1034000.ethernet eth0: configuring for fixed/sgmii link mode
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.900629] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.906643] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.914852] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    6.969318] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 821
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    6.989686] UBIFS (ubi0:1): recovery needed
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.049827] UBIFS (ubi0:1): recovery completed
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.054334] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.062207] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.072173] UBIFS (ubi0:1): FS size: 65138688 bytes (62 MiB, 513 LEBs), journal size 3301376 bytes (3 MiB, 26 LEBs)
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.082681] UBIFS (ubi0:1): reserved for root: 3076660 bytes (3004 KiB)
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.089325] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 0A2948E0-EE94-4D03-A2AA-5BDE63AE5BFC, small LPT model
Tue Mar  5 00:42:43 2019 user.info kernel: [    7.102478] mount_root: switching to ubifs overlay
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.148010] ubi1: attaching mtd9
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.236995] random: crng init done
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.240412] random: 3 urandom warning(s) missed due to ratelimiting
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.380723] ubi1: scanning is finished
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.388751] ubi1: attached mtd9 (name "syscfg", size 86 MiB)
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.394452] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.401361] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.408179] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.415174] ubi1: good PEBs: 680, bad PEBs: 8, corrupted PEBs: 0
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.421208] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.428462] ubi1: max/mean erase counter: 8/4, WL threshold: 4096, image sequence number: 876597111
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.437550] ubi1: available PEBs: 0, total reserved PEBs: 680, PEBs reserved for bad PEB handling: 32
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.446817] ubi1: background thread "ubi_bgt1d" started, PID 829
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.457387] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 835
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.477892] UBIFS (ubi1:0): recovery needed
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.535464] UBIFS (ubi1:0): recovery completed
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.539966] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "syscfg"
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.547410] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.557398] UBIFS (ubi1:0): FS size: 80375808 bytes (76 MiB, 633 LEBs), journal size 4063232 bytes (3 MiB, 32 LEBs)
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.567882] UBIFS (ubi1:0): reserved for root: 3796347 bytes (3707 KiB)
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.574529] UBIFS (ubi1:0): media format: w4/r0 (latest is w5/r0), UUID 61E88146-E8C2-4229-B3CE-3F574E1AD339, small LPT model
Tue Mar  5 00:42:43 2019 user.warn kernel: [    7.587144] urandom-seed: Seeding with /etc/urandom.seed
Tue Mar  5 00:42:43 2019 kern.info kernel: [    7.620917] mvneta f1034000.ethernet eth0: Link is Down
Tue Mar  5 00:42:43 2019 user.info kernel: [    7.692743] procd: - early -
Tue Mar  5 00:42:43 2019 user.info kernel: [    7.695657] procd: - watchdog -
Tue Mar  5 00:42:43 2019 user.info kernel: [    8.294006] procd: - watchdog -
Tue Mar  5 00:42:43 2019 user.info kernel: [    8.297241] procd: - ubus -
Tue Mar  5 00:42:43 2019 user.info kernel: [    8.350566] procd: - init -
Tue Mar  5 00:42:43 2019 user.info kernel: [    8.457200] kmodloader: loading kernel modules from /etc/modules.d/*
Tue Mar  5 00:42:43 2019 kern.info kernel: [    8.465564] ip6_tables: (C) 2000-2006 Netfilter Core Team
Tue Mar  5 00:42:43 2019 kern.info kernel: [    8.472404] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
Tue Mar  5 00:42:43 2019 kern.info kernel: [    8.480456] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
Tue Mar  5 00:42:43 2019 kern.info kernel: [    8.493859] <<Marvell Mac80211 Wireless PCIE Network Driver version 10.3.8.0-20181114>>
Tue Mar  5 00:42:43 2019 kern.info kernel: [    8.501934] pci 0000:00:01.0: enabling device (0140 -> 0142)
Tue Mar  5 00:42:43 2019 kern.debug kernel: [    8.507713] ieee80211 phy0: priv->pcmd_buf = de040000  priv->pphys_cmd_buf = 1e040000
Tue Mar  5 00:42:43 2019 kern.debug kernel: [    8.560127] ieee80211 phy0: fw download start
Tue Mar  5 00:42:43 2019 kern.debug kernel: [    8.560132] ieee80211 phy0: ddr init: download start
Tue Mar  5 00:42:43 2019 kern.debug kernel: [    8.560509] ieee80211 phy0: ddr init: download complete
Tue Mar  5 00:42:43 2019 kern.debug kernel: [    8.698421] ieee80211 phy0: FwSize = 450732 downloaded Size = 450732 curr_iteration 65521
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   11.560105] ieee80211 phy0: fw download complete
Tue Mar  5 00:42:43 2019 kern.info kernel: [   11.560137] ieee80211 phy0: device node: /soc/pcie/pcie@1,0
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   11.575295] ieee80211 phy0: pcmd = de040000
Tue Mar  5 00:42:43 2019 kern.info kernel: [   11.593337] ieee80211 phy0: firmware version: 0x9030206
Tue Mar  5 00:42:43 2019 kern.info kernel: [   11.900106] ieee80211 phy0: firmware region code: 30
Tue Mar  5 00:42:43 2019 kern.info kernel: [   11.938916] ieee80211 phy0: 2G disabled, 5G enabled
Tue Mar  5 00:42:43 2019 kern.info kernel: [   11.943846] ieee80211 phy0: 4 TX antennas, 4 RX antennas
Tue Mar  5 00:42:43 2019 kern.info kernel: [   11.949442] pci 0000:00:02.0: enabling device (0140 -> 0142)
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   11.955288] ieee80211 phy1: priv->pcmd_buf = d98c0000  priv->pphys_cmd_buf = 198c0000
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   11.963534] ieee80211 phy1: fw download start
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   11.963540] ieee80211 phy1: ddr init: download start
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   11.963922] ieee80211 phy1: ddr init: download complete
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   12.105401] ieee80211 phy1: FwSize = 450732 downloaded Size = 450732 curr_iteration 65527
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   13.296113] ieee80211 phy1: fw download complete
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.296154] ieee80211 phy1: device node: /soc/pcie/pcie@2,0
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   13.311376] ieee80211 phy1: pcmd = d98c0000
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.329129] ieee80211 phy1: firmware version: 0x9030206
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.636119] ieee80211 phy1: firmware region code: 30
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.668957] ieee80211 phy1: 2G enabled, 5G disabled
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.673887] ieee80211 phy1: 4 TX antennas, 4 RX antennas
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.681691] hidraw: raw HID events driver (C) Jiri Kosina
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.690270] Bluetooth: Core ver 2.22
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.693906] NET: Registered protocol family 31
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.698374] Bluetooth: HCI device and connection manager initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.704792] Bluetooth: HCI socket layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.709700] Bluetooth: L2CAP socket layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.714807] Bluetooth: SCO socket layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.720159] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.725501] Bluetooth: BNEP filters: protocol multicast
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.730788] Bluetooth: BNEP socket layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.736995] Bluetooth: vendor=0x2df, device=0x9136, class=255, fn=2
Tue Mar  5 00:42:43 2019 kern.info kernel: [   14.523809] Bluetooth: FW download over, size 695532 bytes
Tue Mar  5 00:42:43 2019 kern.err kernel: [   15.120137] sdio platform data not available
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.120809] usbcore: registered new interface driver btusb
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.131483] Bluetooth: HCI UART driver ver 2.3
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.135948] Bluetooth: HCI UART protocol H4 registered
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.141118] Bluetooth: HCI UART protocol BCSP registered
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.146452] Bluetooth: HCI UART protocol ATH3K registered
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.152373] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.158323] Bluetooth: HIDP socket layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.163866] ip_tables: (C) 2000-2006 Netfilter Core Team
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.174072] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.181224] mwifiex_sdio mmc0:0001:1: WLAN FW already running! Skip FW dnld
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.188222] mwifiex_sdio mmc0:0001:1: WLAN FW is active
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.197355] Bluetooth: RFCOMM TTY layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.202295] Bluetooth: RFCOMM socket layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.207470] Bluetooth: RFCOMM ver 1.11
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.213242] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.220270] mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during    initialization
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.231851] xt_time: kernel timezone is -0000
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.238144] PPP generic driver version 2.4.2
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.242945] NET: Registered protocol family 24
Tue Mar  5 00:42:43 2019 user.info kernel: [   15.248149] kmodloader: done loading kernel modules from /etc/modules.d/*
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.280879] mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (15.68.7.p71)
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.288929] mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (15.68.7.p71)
Tue Mar  5 00:42:43 2019 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Tue Mar  5 00:42:43 2019 daemon.info logread[1570]: failed to send log data to 10.0.10.1:5555 via udp
Tue Mar  5 00:42:43 2019 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: started, version 2.80 cachesize 150
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: DNS service limited to local subnets
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: 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 dumpfile
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain test
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain onion
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain localhost
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain local
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain invalid
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain bind
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain lan
Tue Mar  5 00:42:43 2019 daemon.warn dnsmasq[1668]: no servers found in /tmp/resolv.conf.auto, will retry
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: read /etc/hosts - 4 addresses
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Tue Mar  5 00:42:43 2019 authpriv.info dropbear[1695]: Not backgrounding
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: tunnel
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: Network device
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: bridge
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: veth
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: macvlan
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: 8021ad
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: 8021q
Tue Mar  5 00:42:43 2019 daemon.notice procd: /etc/init.d/network: 'radio2' is disabled
Tue Mar  5 00:42:43 2019 daemon.notice procd: /etc/init.d/network: 'radio2' is disabled
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/network reload dependency on /etc/config/dhcp
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/network reload dependency on /etc/config/radvd
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/wireless reload dependency on /etc/config/network
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/luci-splash
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/qos
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/miniupnpd
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/dhcp reload dependency on /etc/config/odhcpd
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up non-init /etc/config/fstab reload handler: /sbin/block mount
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/system reload trigger for non-procd /etc/init.d/led
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/system reload dependency on /etc/config/luci_statistics
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/system reload dependency on /etc/config/dhcp
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.425395] mvneta f1034000.ethernet eth0: configuring for fixed/sgmii link mode
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.432911] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.438808] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.446898] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.454694] br-lan: port 1(eth0.1) entered blocking state
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.460165] br-lan: port 1(eth0.1) entered disabled state
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.465718] device eth0.1 entered promiscuous mode
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.470541] device eth0 entered promiscuous mode
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.476222] br-lan: port 1(eth0.1) entered blocking state
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.481680] br-lan: port 1(eth0.1) entered forwarding state
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.487364] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'lan' is enabled
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'lan' is setting up now
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'lan' is now up
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'loopback' is enabled
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'loopback' is setting up now
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'loopback' is now up
Tue Mar  5 00:42:44 2019 daemon.notice procd: /etc/rc.d/S96led: setting up led WAN
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.499084] mvneta f1070000.ethernet eth1: configuring for fixed/rgmii-id link mode
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.507362] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.513433] mvneta f1070000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.523133] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'wan' is enabled
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'wan6' is enabled
Tue Mar  5 00:42:44 2019 daemon.notice netifd: bridge 'br-lan' link is up
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'lan' has link connectivity
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Network device 'eth0' link is up
Tue Mar  5 00:42:44 2019 daemon.notice netifd: VLAN 'eth0.1' link is up
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Network device 'lo' link is up
Tue Mar  5 00:42:44 2019 daemon.notice procd: /etc/rc.d/S96led: setting up led USB 1
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'loopback' has link connectivity
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Network device 'eth1' link is up
Tue Mar  5 00:42:44 2019 daemon.notice netifd: VLAN 'eth1.12' link is up
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'wan' has link connectivity
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'wan' is setting up now
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'wan6' has link connectivity
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'wan6' is setting up now
Tue Mar  5 00:42:44 2019 daemon.notice procd: /etc/rc.d/S96led: setting up led USB 2
Tue Mar  5 00:42:44 2019 daemon.notice procd: /etc/rc.d/S96led: setting up led USB 2 SS
Tue Mar  5 00:42:44 2019 daemon.notice netifd: wan (2080): udhcpc: started, v1.28.4
Tue Mar  5 00:42:44 2019 daemon.err odhcp6c[2074]: Failed to send RS (Address not available)
Tue Mar  5 00:42:44 2019 daemon.info logread[1570]: Logread connected to 10.0.10.1:5555
Tue Mar  5 00:42:44 2019 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Tue Mar  5 00:42:44 2019 daemon.notice netifd: wan (2080): udhcpc: sending discover
Tue Mar  5 00:42:44 2019 user.notice mac80211: Failed command: iw phy phy0 set antenna all all
Tue Mar  5 00:42:44 2019 user.notice mac80211: Failed command: iw phy phy1 set antenna all all
Tue Mar  5 00:42:44 2019 daemon.notice netifd: radio0 (2027): command failed: Not supported (-95)
Tue Mar  5 00:42:44 2019 daemon.notice netifd: radio1 (2028): command failed: Not supported (-95)
Tue Mar  5 00:42:44 2019 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Tue Mar  5 00:42:44 2019 user.notice mac80211: Failed command: iw phy phy1 set distance 0
Tue Mar  5 00:42:44 2019 daemon.err odhcp6c[2074]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Tue Mar  5 00:42:44 2019 daemon.info procd: - init complete -
Tue Mar  5 00:42:44 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Tue Mar  5 00:42:44 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Tue Mar  5 00:42:44 2019 kern.debug kernel: [   17.273258] ieee80211 phy0: change: 0xffffffff
Tue Mar  5 00:42:44 2019 kern.info kernel: [   17.379338] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Tue Mar  5 00:42:45 2019 kern.debug kernel: [   17.558204] ieee80211 phy1: change: 0xffffffff
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.647358] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.653379] br-lan: port 2(wlan0) entered blocking state
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.658719] br-lan: port 2(wlan0) entered disabled state
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.664173] device wlan0 entered promiscuous mode
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.668926] br-lan: port 2(wlan0) entered blocking state
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.674271] br-lan: port 2(wlan0) entered forwarding state
Tue Mar  5 00:42:45 2019 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.679901] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.686973] br-lan: port 2(wlan0) entered disabled state
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.693189] br-lan: port 3(wlan1) entered blocking state
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.698534] br-lan: port 3(wlan1) entered disabled state
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.704004] device wlan1 entered promiscuous mode
Tue Mar  5 00:42:45 2019 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Tue Mar  5 00:42:45 2019 daemon.notice netifd: wan (2080): udhcpc: sending select for 188.250.74.185
Tue Mar  5 00:42:45 2019 daemon.err odhcp6c[2074]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Tue Mar  5 00:42:45 2019 daemon.notice netifd: wan (2080): udhcpc: lease of 188.250.74.185 obtained, lease time 3600
Tue Mar  5 00:42:45 2019 daemon.notice netifd: Interface 'wan' is now up
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: reading /tmp/resolv.conf.auto
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain test
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain onion
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain localhost
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain local
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain invalid
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain bind
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain lan
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using nameserver 212.55.154.174#53
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using nameserver 212.55.154.190#53
Tue Mar  5 00:42:45 2019 user.notice firewall: Reloading firewall due to ifup of wan (eth1.12)
Tue Mar  5 00:42:45 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 00:42:46 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 00:42:46 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 00:42:48 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 09:00:06 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[1668]: exiting on receipt of SIGTERM
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: started, version 2.80 cachesize 150
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: DNS service limited to local subnets
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: 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 dumpfile
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq-dhcp[2970]: DHCP, IP range 10.0.0.100 -- 10.0.1.93, lease time 12h
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain test
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain onion
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain localhost
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain local
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain invalid
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain bind
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain lan
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: reading /tmp/resolv.conf.auto
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain test
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain onion
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain localhost
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain local
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain invalid
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain bind
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain lan
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using nameserver 212.55.154.174#53
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using nameserver 212.55.154.190#53
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: read /etc/hosts - 4 addresses
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: read /tmp/hosts/dhcp.cfg01411c - 1 addresses
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq-dhcp[2970]: read /etc/ethers - 0 addresses
Tue Mar  5 09:00:06 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 09:00:07 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 09:00:07 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 09:00:08 2019 daemon.notice netifd: Interface 'wan6' is now up
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: reading /tmp/resolv.conf.auto
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain test
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain onion
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain localhost
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain local
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain invalid
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain bind
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain lan
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using nameserver 212.55.154.174#53
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using nameserver 212.55.154.190#53
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using nameserver 2001:8a0:2106:5:212:55:154:174#53
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using nameserver 2001:8a0:2206:5:212:55:154:190#53
Tue Mar  5 09:00:08 2019 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1.12)
Tue Mar  5 09:00:08 2019 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   22.710474] ieee80211 phy0: change: 0x100
Tue Mar  5 09:00:08 2019 daemon.err hostapd: Using interface wlan1 with hwaddr 24:f5:a2:2d:dd:a9 and ssid "Smells Like Teen Spirit"
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   22.723547] ieee80211 phy0: change: 0x40
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   22.727756] ieee80211 phy1: change: 0x100
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   22.740123] ieee80211 phy1: change: 0x42
Tue Mar  5 09:00:08 2019 kern.info kernel: [   22.879165] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Tue Mar  5 09:00:08 2019 kern.info kernel: [   22.885619] br-lan: port 3(wlan1) entered blocking state
Tue Mar  5 09:00:08 2019 kern.info kernel: [   22.890967] br-lan: port 3(wlan1) entered forwarding state
Tue Mar  5 09:00:08 2019 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->ENABLED
Tue Mar  5 09:00:08 2019 daemon.notice hostapd: wlan1: AP-ENABLED
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   22.940119] ieee80211 phy0: change: 0x40
Tue Mar  5 09:00:08 2019 daemon.notice netifd: Network device 'wlan1' link is up
Tue Mar  5 09:00:08 2019 daemon.info hostapd: wlan1: STA 2c:3a:e8:4e:a0:47 IEEE 802.11: associated (aid 1)
Tue Mar  5 09:00:08 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 2c:3a:e8:4e:a0:47
Tue Mar  5 09:00:08 2019 daemon.info hostapd: wlan1: STA 00:06:66:93:9f:db IEEE 802.11: associated (aid 2)
Tue Mar  5 09:00:08 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 00:06:66:93:9f:db
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   23.160120] ieee80211 phy0: change: 0x40
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   23.260115] ieee80211 phy0: change: 0x100
Tue Mar  5 09:00:08 2019 daemon.err hostapd: Using interface wlan0 with hwaddr 24:f5:a2:2d:dd:aa and ssid "Smells Like Old"
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   23.273384] ieee80211 phy0: change: 0x100
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   23.286427] ieee80211 phy0: change: 0x42
Tue Mar  5 09:00:09 2019 kern.info kernel: [   23.457122] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Tue Mar  5 09:00:09 2019 kern.info kernel: [   23.463562] br-lan: port 2(wlan0) entered blocking state
Tue Mar  5 09:00:09 2019 kern.info kernel: [   23.468899] br-lan: port 2(wlan0) entered forwarding state
Tue Mar  5 09:00:09 2019 daemon.notice hostapd: wlan0: interface state HT_SCAN->ENABLED
Tue Mar  5 09:00:09 2019 daemon.notice hostapd: wlan0: AP-ENABLED
Tue Mar  5 09:00:09 2019 daemon.notice netifd: Network device 'wlan0' link is up
Tue Mar  5 09:00:09 2019 daemon.warn odhcpd[1792]: A default route is present but there is no public prefix on br-lan thus we don't announce a default route!
Tue Mar  5 09:00:09 2019 daemon.info hostapd: wlan1: STA 68:c6:3a:95:72:fe IEEE 802.11: associated (aid 3)
Tue Mar  5 09:00:09 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 68:c6:3a:95:72:fe
Tue Mar  5 09:00:11 2019 daemon.info dnsmasq-dhcp[2970]: DHCPDISCOVER(br-lan) 2c:3a:e8:4e:a0:47
Tue Mar  5 09:00:11 2019 daemon.info dnsmasq-dhcp[2970]: DHCPOFFER(br-lan) 10.0.0.189 2c:3a:e8:4e:a0:47
Tue Mar  5 09:00:11 2019 daemon.warn dnsmasq-dhcp[2970]: DHCP packet received on eth1 which has no address
Tue Mar  5 09:00:11 2019 daemon.info dnsmasq[2970]: read /etc/hosts - 4 addresses
Tue Mar  5 09:00:11 2019 daemon.info dnsmasq[2970]: read /tmp/hosts/odhcpd - 0 addresses
Tue Mar  5 09:00:11 2019 daemon.info dnsmasq[2970]: read /tmp/hosts/dhcp.cfg01411c - 1 addresses
Tue Mar  5 09:00:11 2019 daemon.info dnsmasq-dhcp[2970]: read /etc/ethers - 0 addresses
Tue Mar  5 09:00:12 2019 daemon.info hostapd: wlan1: STA 68:c6:3a:95:76:cc IEEE 802.11: associated (aid 4)
Tue Mar  5 09:00:12 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 68:c6:3a:95:76:cc
Tue Mar  5 09:00:14 2019 daemon.info hostapd: wlan1: STA 2c:3a:e8:4e:a0:47 IEEE 802.11: authenticated
Tue Mar  5 09:00:14 2019 daemon.info hostapd: wlan1: STA 00:06:66:93:9f:db IEEE 802.11: authenticated
Tue Mar  5 09:00:14 2019 daemon.info hostapd: wlan1: STA 68:c6:3a:95:72:fe IEEE 802.11: authenticated
Tue Mar  5 09:00:14 2019 daemon.info hostapd: wlan1: STA 68:c6:3a:95:76:cc IEEE 802.11: authenticated
Tue Mar  5 09:00:14 2019 daemon.info hostapd: wlan1: STA d8:63:75:18:1f:c0 IEEE 802.11: associated (aid 5)
Tue Mar  5 09:00:14 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED d8:63:75:18:1f:c0
Tue Mar  5 09:00:15 2019 daemon.info dnsmasq-dhcp[2970]: DHCPDISCOVER(br-lan) 00:06:66:93:9f:db
Tue Mar  5 09:00:15 2019 daemon.info dnsmasq-dhcp[2970]: DHCPOFFER(br-lan) 10.0.0.157 00:06:66:93:9f:db
Tue Mar  5 09:00:15 2019 daemon.warn dnsmasq-dhcp[2970]: DHCP packet received on eth1 which has no address
Tue Mar  5 09:00:17 2019 daemon.info hostapd: wlan1: STA 5c:cf:7f:66:c0:b7 IEEE 802.11: associated (aid 6)
Tue Mar  5 09:00:17 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 5c:cf:7f:66:c0:b7
Tue Mar  5 09:00:19 2019 daemon.info dnsmasq-dhcp[2970]: DHCPDISCOVER(br-lan) 68:c6:3a:95:72:fe
Tue Mar  5 09:00:19 2019 daemon.info dnsmasq-dhcp[2970]: DHCPOFFER(br-lan) 10.0.0.111 68:c6:3a:95:72:fe
Tue Mar  5 09:00:19 2019 daemon.warn dnsmasq-dhcp[2970]: DHCP packet received on eth1 which has no address
Tue Mar  5 09:00:19 2019 daemon.info dnsmasq-dhcp[2970]: DHCPDISCOVER(br-lan) 2c:3a:e8:4e:a0:47
Tue Mar  5 09:00:19 2019 daemon.info dnsmasq-dhcp[2970]: DHCPOFFER(br-lan) 10.0.0.189 2c:3a:e8:4e:a0:47
01.03.20192156KernelBug ReportVery LowMediumcacheinfo kernel error on TD-W8970 v1TrunkUnconfirmed Task Description

See this at every boot. Does no happen on previous versions. Can this be related to random crash + auto-reboots I’m experiencing with this devices?
I have a TD-W8970 v1 with OpenWrt SNAPSHOT r9458-c8153722a2.

Fri Mar  1 11:09:10 2019 kern.err kernel: [    0.691124] cacheinfo: Failed to find cpu0 device node
Fri Mar  1 11:09:10 2019 kern.warn kernel: [    0.694921] cacheinfo: Unable to detect cache hierarchy for CPU 0
01.03.20192155Base systemBug ReportVery LowMediumDHCPv6 Client not working on 18.06.2openwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

x86 generic ext4 combine / ar71xx generic

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

fresh install

- Steps to reproduce

create a new interface
choose dhcpv6 client(disable address, auto prefix length)

- Log

Fri Mar  1 07:05:29 2019 daemon.notice netifd: Interface 'LAN6' is setting up now
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): Usage: odhcp6c [options] <interface>
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900):
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): Feature options:
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-S <time>	Wait at least <time> sec for a DHCP-server (0)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-N <mode>	Mode for requesting addresses [try|force|none]
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-P <length>	Request IPv6-Prefix (0 = auto)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-F		Force IPv6-Prefix
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-V <class>	Set vendor-class option (base-16 encoded)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-u <user-class> Set user-class option string
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-x <opt>:<val>	Add option opt (with value val) in sent packets (cumulative)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 			Examples of IPv6 address, string and base-16 encoded options:
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 			-x dns:2001:2001::1,2001:2001::2 - option 23
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 			-x 15:office - option 15 (userclass)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 			-x 0x1f4:ABBA - option 500
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 			-x 202:'"file"' - option 202
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-c <clientid>	Override client-ID (base-16 encoded 16-bit type + value)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-i <iface-id>	Use a custom interface identifier for RA handling
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-r <options>	Options to be requested (comma-separated)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-R		Do not request any options except those specified with -r
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-s <script>	Status update script (/usr/sbin/odhcp6c-update)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-a		Don't send Accept Reconfigure option
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-f		Don't send Client FQDN option
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-k		Don't send a RELEASE when stopping
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-t <seconds>	Maximum timeout for DHCPv6-SOLICIT (120)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-m <seconds>	Minimum time between accepting RA updates (3)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-L		Ignore default lifetime for RDNSS records
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-U		Ignore Server Unicast option
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900):
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): Invocation options:
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-p <pidfile>	Set pidfile (/var/run/odhcp6c.pid)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-d		Daemonize
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-e		Write logmessages to stderr
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-v		Increase logging verbosity
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-h		Show this help
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900):
Fri Mar  1 07:05:29 2019 daemon.notice netifd: Interface 'LAN6' is now down


looks like some script error, got usage output in logread

28.02.20192154OtherBug ReportVery LowMediumath10k: not supported (-95) (DFS)openwrt-18.06Unconfirmed Task Description

Forum discussion: https://forum.openwrt.org/t/ath10k-issues-5ghz-interface-not-starting-18-06-2/32214/13

Supply the following if possible:
- Device problem occurs on

Netgear R7800-100PES

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

OpenWrt 18.06.2 r7676-cddd7b4c77
hostapd	2018-05-21-62566bc2-5
hostapd-common	2018-05-21-62566bc2-5
ath10k-firmware-qca9984	2018-05-12-952afa49-1
kmod-ath	4.14.95+2017-11-01-9
kmod-ath10k	4.14.95+2017-11-01-9

- Steps to reproduce

  - Flashed factory image: https://openwrt.org/toh/netgear/r7800
  - opkg update
  - opkg remove wpad-mini
  - opkg install hostapd
  - wifi down
  - applied config file from below
  - wifi up

/etc/config/wireless

root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option country 'AT'
        option type 'mac80211'
        option hwmode '11a'
        option path 'soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
        option disabled '0'
        option legacy_rates '0'
        option channel '100'
        option htmode 'VHT160'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option wpa_disable_eapol_key_retries '1'
        option ssid 'OpenWrt'
        option encryption 'psk2'
        option key 'XXX'

config wifi-device 'radio1'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0'
        option htmode 'HT20'
        option disabled '1'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'


full system log

https://pastebin.com/JrVw32t3

relevant system log

Thu Feb 28 22:32:40 2019 user.notice mac80211: Failed command: iw phy phy0 set antenna all all
Thu Feb 28 22:32:40 2019 daemon.notice netifd: radio0 (804): command failed: Not supported (-95)
Thu Feb 28 22:32:40 2019 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Thu Feb 28 22:32:40 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Thu Feb 28 22:33:23 2019 kern.info kernel: [   41.023462] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Thu Feb 28 22:33:23 2019 kern.info kernel: [   41.029465] br-lan: port 2(wlan0) entered blocking state
Thu Feb 28 22:33:23 2019 kern.info kernel: [   41.029497] br-lan: port 2(wlan0) entered disabled state
Thu Feb 28 22:33:23 2019 kern.info kernel: [   41.034197] device wlan0 entered promiscuous mode
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN
Thu Feb 28 22:33:23 2019 user.notice dnsmasq: found already running DHCP-server on interface 'br-lan' refusing to start, use 'option force 1' to override
Thu Feb 28 22:33:23 2019 daemon.info dnsmasq[530]: read /etc/hosts - 4 addresses
Thu Feb 28 22:33:23 2019 daemon.info dnsmasq[530]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: interface state HT_SCAN->DFS
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: DFS-CAC-START freq=5500 chan=100 sec_chan=1, width=2, seg0=114, seg1=0, cac_time=60s
Thu Feb 28 22:33:23 2019 daemon.err hostapd: DFS start_dfs_cac() failed, -1
Thu Feb 28 22:33:23 2019 daemon.err hostapd: Interface initialization failed
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: interface state DFS->DISABLED
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Thu Feb 28 22:33:23 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Thu Feb 28 22:33:23 2019 kern.info kernel: [   41.423511] device wlan0 left promiscuous mode
Thu Feb 28 22:33:23 2019 kern.info kernel: [   41.423650] br-lan: port 2(wlan0) entered disabled state
Thu Feb 28 22:33:23 2019 kern.warn kernel: [   41.474131] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 1
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: ELOOP: remaining socket: sock=21 eloop_data=0xb6ec9bf0 user_data=0 handler=0x3cef4
Thu Feb 28 22:33:23 2019 daemon.notice netifd: radio0 (804): cat: can't open '/var/run/wifi-phy0.pid': No such file or directory
Thu Feb 28 22:33:23 2019 daemon.notice netifd: radio0 (804): WARNING (wireless_add_process): executable path /usr/sbin/hostapd does not match process  path ()
Thu Feb 28 22:33:23 2019 daemon.notice netifd: radio0 (804): Command failed: Invalid argument

iw list

https://pastebin.com/NrYtQtqe

27.02.20192151KernelBug ReportVery LowMediumkmod-ipt-tproxy package doesn't have xt_socket.ko, just...openwrt-18.06Unconfirmed Task Description

branch: openwrt-18.06
commit: 9ee8c8daf43416b579b3bf99e389a4c8dac145cb
platform: mt7621
issue: kmod-ipt-tproxy package doesn’t have xt_socket.ko, just xt_TPROXY.ko.

The following is my result:

mt7621 default kernel version is 4.14.103, but xt_socket.ko depends on CONFIG_NF_SOCKET_IPV4 CONFIG_NF_SOCKET_IPV6.

diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk
index 3a989104d7..3398f7ff3a 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -554,6 +554,8 @@ define KernelPackage/ipt-tproxy
   TITLE:=Transparent proxying support
   DEPENDS+=+kmod-ipt-conntrack +IPV6:kmod-nf-conntrack6 +IPV6:kmod-ip6tables
   KCONFIG:= \
+       CONFIG_NF_SOCKET_IPV4 \
+       CONFIG_NF_SOCKET_IPV6 \
        CONFIG_NETFILTER_XT_MATCH_SOCKET \
        CONFIG_NETFILTER_XT_TARGET_TPROXY
   FILES:= \

But, I don’t know how to add CONFIG_NF_SOCKET_IPV4 or CONFIG_NF_SOCKET_IPV6 based on kernel version that built


27.02.20192150KernelBug ReportVery LowHighCrashlogs are empty/borken - TD-W8970 v1AllUnconfirmed Task Description

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

Crashlog allocated RAM at address 0x3f00000

with logread.
No log file is generated inside

/sys/kernel/debug

.
I compiled a custom image with

/dev/mem

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

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

25.02.20192145Base systemBug ReportVery LowCriticalNo IPv4 adresses offered on LAN of GL-AR150 if no LAN c...openwrt-18.06Unconfirmed Task Description

This is 100 % reproducible with a fresh and unchanged installation of OpenWRT 18.06.2 on a GL-Inet GL-AR150, and it gave me quite some headache until I found out what’s happening here:

If a LAN cable is plugged during the device’s boot process and one does a DHCP request when it’s ready, the router offers an IPv4 address (as expected) and one can access it on 192.168.1.1. This is also the case for a DHCP request via WLAN, as soon as one does enable it.

If however the device is powered up without a LAN cable being plugged, no IPv4 address will be offered, neither for a LAN nor for a WLAN connection. One can connect to the router via the IPv6 address to be found in /etc/resov.conf (on the client) though, but not via IPv4. This is also the case if a LAN cable is plugged after booting.

Looking at /var/etc/dnsmasq.conf.cfg01411c, it does contain the line

  dhcp-range=set:lan,192.168.1.100,192.168.1.249,255.255.255.0,12h

if a LAN cable has been plugged during bootup, and no such entry if none has been plugged.

This makes the device completely unusable for what I intend to use it ... as this happens with a completely unaltered, fresh installation, I suppose this is no misconfiguration but a bug?

25.02.20192144Base systemBug ReportVery LowLowMissing ipv4 network on gl-ar150 routeropenwrt-18.06Unconfirmed Task Description

The router gl-ar150 extern antenna have wifi wlan0, lan eth1 and wan eth0 when
it is booted with wan connected and not lan connected.
The ipv4 network is not available over the wifi. When the lan is connected during
boot there is no problem.

There have been similar problems before.
Bug [ FS#763 ](https://bugs.openwrt.org/index.php?do=details&task_id=763&status%5B0%5D=)

Connecting the lan after boot does not help. Stoping and starting the dnsmasq after
boot solves the problem.

I am using 18.06.2 and it is also in 18.06.1 I do not know when it started.

To me it looks like the etc/init.d/dnsmasq have run with variable $BOOT sat this
does not configure the dhcp so there will be no dhcp ipv4 range in dnsmesq.conf.cfg01411c

“dhcp-range=set:lan,192.168.8.100,192.168.8.249,255.255.255.0,12h”

and no ip addresses in dhcp.conf.cfg01411c

“192.168.8.1 GL-AR150
fdf8:514b:e97a::1 GL-AR150”

This result in no dhcp server on ipv4.

When lan is plug in the during boot the dnsmesq is retarted
dmseg: Mon Feb 25 10:07:21 2019 daemon.info dnsmasq[744]: exiting on receipt of SIGTERM
and the dhcp is configured.

It is my first time looking at a openwrt so I maybe wayoff,
I have time to dig deeper but without someone to anwser a few question
that seems like a lost cause.

Please let me know if you need more information.

Here is what I used to look through.

The network config:

config interface ‘loopback’

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

config globals ‘globals’

option ula_prefix 'fdf8:514b:e97a::/48'

config interface ‘lan’

option ifname 'eth1'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option hostname 'GL-AR150-881'
option ipaddr '192.168.8.1'

config interface ‘wan’

option ifname 'eth0'
option proto 'dhcp'
option hostname 'GL-AR150-881'

config interface ‘wan6’

option ifname 'eth0'
option proto 'dhcpv6'

The dhcp config is:

config dnsmasq

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

config dhcp ‘lan’

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

config dhcp ‘wan’

option interface 'wan'
option ignore '1'

config odhcpd ‘odhcpd’

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

It generated the files config files for dnsmasq and dns:

## Not Working generated files:

```
root@GL-AR150:~# cat /var/etc/dnsmasq.conf.cfg01411c
# auto-generated config file from /etc/config/dhcp
conf-file=/etc/dnsmasq.conf
dhcp-authoritative
domain-needed
localise-queries
read-ethers
enable-ubus
expand-hosts
bind-dynamic
local-service
domain=lan
server=/lan/
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.auto
stop-dns-rebind
rebind-localhost-ok
dhcp-broadcast=tag:needs-broadcast
addn-hosts=/tmp/hosts
conf-dir=/tmp/dnsmasq.d
user=dnsmasq
group=dnsmasq

dhcp-ignore-names=tag:dhcp_bogus_hostname
conf-file=/usr/share/dnsmasq/dhcpbogushostname.conf

bogus-priv
conf-file=/usr/share/dnsmasq/rfc6761.conf

root@GL-AR150:~# cat /tmp/hosts/dhcp.cfg01411c
# auto-generated config file from /etc/config/dhcp

root@GL-AR150:~# logread
Mon Feb 25 09:49:41 2019 daemon.info hostapd: wlan0: STA 00:18:de:6e:1c:66 IEEE 802.11: authenticated
Mon Feb 25 09:49:41 2019 daemon.info hostapd: wlan0: STA 00:18:de:6e:1c:66 IEEE 802.11: associated (aid 1)
Mon Feb 25 09:49:41 2019 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 00:18:de:6e:1c:66
Mon Feb 25 09:49:41 2019 daemon.info hostapd: wlan0: STA 00:18:de:6e:1c:66 WPA: pairwise key handshake completed (RSN)
Mon Feb 25 09:49:42 2019 daemon.info odhcpd[860]: Using a RA lifetime of 0 seconds on br-lan
Mon Feb 25 09:49:43 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 09:49:43 2019 daemon.warn odhcpd[860]: DHCPV6 CONFIRM IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: not on-link
Mon Feb 25 09:49:43 2019 daemon.info dnsmasq[744]: read /etc/hosts - 1 addresses
Mon Feb 25 09:49:43 2019 daemon.info dnsmasq[744]: read /tmp/hosts/odhcpd - 0 addresses
Mon Feb 25 09:49:43 2019 daemon.info dnsmasq[744]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Mon Feb 25 09:49:44 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 09:49:44 2019 daemon.warn odhcpd[860]: DHCPV6 SOLICIT IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: ok fdf8:514b:e97a::aa7/128
Mon Feb 25 09:49:45 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 09:49:45 2019 daemon.warn odhcpd[860]: DHCPV6 REQUEST IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: ok fdf8:514b:e97a::aa7/128
Mon Feb 25 09:49:45 2019 daemon.info dnsmasq[744]: read /etc/hosts - 1 addresses
Mon Feb 25 09:49:45 2019 daemon.info dnsmasq[744]: read /tmp/hosts/odhcpd - 1 addresses
Mon Feb 25 09:49:45 2019 daemon.info dnsmasq[744]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Mon Feb 25 09:50:23 2019 kern.notice kernel: [ 83.422055] random: crng init done
Mon Feb 25 09:50:56 2019 authpriv.info dropbear[1448]: Child connection from fdf8:514b:e97a::aa7:41489
Mon Feb 25 09:51:06 2019 authpriv.notice dropbear[1448]: Password auth succeeded for ‘root’ from fdf8:514b:e97a::aa7:41489

root@GL-AR150:~# dmesg
[ 0.000000] Linux version 4.9.152 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7549-217219e) ) #0 Mon Jan 28 08:54:32 2019
[ 0.000000] MyLoader: sysp=a1a4a4a4, boardp=e5e4b5a5, parts=85a124a5
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 8044a204, node_mem_map 81000020
[ 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] 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: board=GL-AR150 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro console=ttyATH0,115200 rootfstype=squashfs noinitrd
[ 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: 60028K/65536K available (3388K kernel code, 175K rwdata, 448K rodata, 268K init, 211K bss, 5508K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000014] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.007586] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.088757] pid_max: default: 32768 minimum: 301
[ 0.093347] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.099512] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.110351] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.118390] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.126123] NET: Registered protocol family 16
[ 0.131127] MIPS: machine is GL.iNet GL-AR150
[ 0.656270] Can’t analyze schedule() prologue at 803ab684
[ 0.678677] clocksource: Switched to clocksource MIPS
[ 0.683646] NET: Registered protocol family 2
[ 0.687874] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.693233] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.699289] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.705467] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.710955] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.717204] NET: Registered protocol family 1
[ 0.721121] PCI: CLS 0 bytes, default 32
[ 0.726262] Crashlog allocated RAM at address 0x3f00000
[ 0.731589] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.746787] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.751040] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.773573] io scheduler noop registered
[ 0.775940] io scheduler deadline registered (default)
[ 0.781508] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.791012] ar933x-uart: ttyATH0 at MMIO 0×18020000 (irq = 11, base_baud = 1562500) is a AR933X UART
[ 0.798858] console [ttyATH0] enabled
[ 0.805643] bootconsole [early0] disabled
[ 0.822053] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.836830] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.840146] 4 cmdlinepart partitions found on MTD device spi0.0
[ 0.845982] Creating 4 MTD partitions on “spi0.0”:
[ 0.850804] 0×000000000000-0×000000040000 : “u-boot” [ 0.858506] 0×000000040000-0×000000050000 : “u-boot-env” [ 0.865390] 0×000000050000-0x000000ff0000 : “firmware” [ 0.887313] 2 uimage-fw partitions found on MTD device firmware
[ 0.891855] 0×000000050000-0x0000001b0000 : “kernel” [ 0.898948] 0x0000001b0000-0x000000ff0000 : “rootfs” [ 0.904892] mtd: device 4 (rootfs) set to be root filesystem
[ 0.909224] 1 squashfs-split partitions found on MTD device rootfs
[ 0.915276] 0×000000400000-0x000000ff0000 : “rootfs_data” [ 0.923740] 0x000000ff0000-0×000001000000 : “art” [ 0.931475] libphy: Fixed MDIO Bus: probed
[ 0.954443] libphy: ag71xx_mdio: probed
[ 1.580395] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 1.589186] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.220160] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 2.262279] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.269488] NET: Registered protocol family 10
[ 2.277802] NET: Registered protocol family 17
[ 2.280958] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 2.293923] 8021q: 802.1Q VLAN Support v1.8
[ 2.300394] hctosys: unable to open rtc device (rtc0)
[ 2.310592] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.318255] Freeing unused kernel memory: 268K
[ 2.321298] This architecture does not have kernel memory protection.
[ 2.538693] random: fast init done
[ 3.185428] init: Console is alive
[ 3.187695] init: - watchdog -
[ 4.405403] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.494256] usbcore: registered new interface driver usbfs
[ 4.498406] usbcore: registered new interface driver hub
[ 4.503826] usbcore: registered new device driver usb
[ 4.516294] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 4.523662] ehci-platform: EHCI generic platform driver
[ 4.527554] ehci-platform ehci-platform: EHCI Host Controller
[ 4.533306] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 4.543246] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 4.568732] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 4.574818] hub 1-0:1.0: USB hub found
[ 4.577726] hub 1-0:1.0: 1 port detected
[ 4.582545] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.591909] init: - preinit -
[ 5.549495] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.610162] eth0: link up (100Mbps/Full duplex)
[ 7.613286] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.936801] jffs2: notice: (397) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 8.953615] mount_root: switching to jffs2 overlay
[ 8.997220] urandom-seed: Seeding with /etc/urandom.seed
[ 9.278860] eth0: link down
[ 9.298174] procd: - early -
[ 9.299856] procd: - watchdog -
[ 9.986373] procd: - watchdog -
[ 9.988456] procd: - ubus -
[ 10.132306] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.140757] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.146320] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.153493] procd: - init -
[ 10.809144] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.820985] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.841495] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[ 10.848047] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[ 10.859097] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.875467] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 10.950543] usbcore: registered new interface driver usbserial
[ 10.955075] usbcore: registered new interface driver usbserial_generic
[ 10.961678] usbserial: USB Serial support registered for generic
[ 10.994372] xt_time: kernel timezone is -0000
[ 11.070685] usbcore: registered new interface driver pl2303
[ 11.074937] usbserial: USB Serial support registered for pl2303
[ 11.086021] PPP generic driver version 2.4.2
[ 11.092573] NET: Registered protocol family 24
[ 11.151352] ath: EEPROM regdomain: 0×0 [ 11.151367] ath: EEPROM indicates default country code should be used
[ 11.151372] ath: doing EEPROM country→regdmn map search
[ 11.151392] ath: country maps to regdmn code: 0x3a
[ 11.151400] ath: Country alpha2 being used: US
[ 11.151406] ath: Regpair used: 0x3a
[ 11.163466] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’ [ 11.169719] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 11.213249] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 12.897104] urandom_read: 5 callbacks suppressed
[ 12.897117] random: jshn: uninitialized urandom read (4 bytes read)
[ 13.017028] random: ubusd: uninitialized urandom read (4 bytes read)
[ 26.704844] br-lan: port 1(eth1) entered blocking state
[ 26.708623] br-lan: port 1(eth1) entered disabled state
[ 26.714484] device eth1 entered promiscuous mode
[ 26.763278] br-lan: port 1(eth1) entered blocking state
[ 26.767063] br-lan: port 1(eth1) entered forwarding state
[ 26.772776] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 26.851480] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 27.688843] br-lan: port 1(eth1) entered disabled state
[ 28.970259] eth0: link up (100Mbps/Full duplex)
[ 28.973396] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 31.832881] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 31.854346] br-lan: port 2(wlan0) entered blocking state
[ 31.858211] br-lan: port 2(wlan0) entered disabled state
[ 31.864200] device wlan0 entered promiscuous mode
[ 33.149847] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 33.155015] br-lan: port 2(wlan0) entered blocking state
[ 33.160147] br-lan: port 2(wlan0) entered forwarding state
[ 33.182461] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 83.422055] random: crng init done

```

## Working generated files:

```
root@GL-AR150:~# cat /var/etc/dnsmasq.conf.cfg01411c
# auto-generated config file from /etc/config/dhcp
conf-file=/etc/dnsmasq.conf
dhcp-authoritative
domain-needed
localise-queries
read-ethers
enable-ubus
expand-hosts
bind-dynamic
local-service
domain=lan
server=/lan/
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.auto
stop-dns-rebind
rebind-localhost-ok
dhcp-broadcast=tag:needs-broadcast
addn-hosts=/tmp/hosts
conf-dir=/tmp/dnsmasq.d
user=dnsmasq
group=dnsmasq

dhcp-ignore-names=tag:dhcp_bogus_hostname
conf-file=/usr/share/dnsmasq/dhcpbogushostname.conf

bogus-priv
conf-file=/usr/share/dnsmasq/rfc6761.conf
dhcp-range=set:lan,192.168.8.100,192.168.8.249,255.255.255.0,12h
no-dhcp-interface=eth0

root@GL-AR150:~# cat /tmp/hosts/dhcp.cfg01411c
# auto-generated config file from /etc/config/dhcp
192.168.8.1 GL-AR150
fdf8:514b:e97a::1 GL-AR150

root@GL-AR150:~# logread
Mon Feb 25 10:07:21 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 10:07:21 2019 daemon.warn odhcpd[860]: DHCPV6 REQUEST IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: ok fdf8:514b:e97a::aa7/128
Mon Feb 25 10:07:21 2019 daemon.info dnsmasq[744]: read /etc/hosts - 1 addresses
Mon Feb 25 10:07:21 2019 daemon.info dnsmasq[744]: read /tmp/hosts/dhcp.cfg01411c.1130 - 0 addresses
Mon Feb 25 10:07:21 2019 daemon.info dnsmasq[744]: read /tmp/hosts/odhcpd - 1 addresses
Mon Feb 25 10:07:21 2019 daemon.info dnsmasq[744]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Mon Feb 25 10:07:21 2019 daemon.info dnsmasq[744]: exiting on receipt of SIGTERM
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: started, version 2.80 cachesize 150
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: DNS service limited to local subnets
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: 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 dumpfile
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq-dhcp[1407]: DHCP, IP range 192.168.8.100 – 192.168.8.249, lease time 12h
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain test
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain onion
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain localhost
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain local
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain invalid
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain bind
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain lan
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: reading /tmp/resolv.conf.auto
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain test
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain onion
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain localhost
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain local
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain invalid
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain bind
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain lan
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using nameserver 192.168.1.1#53
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: read /etc/hosts - 1 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: read /tmp/hosts/odhcpd - 1 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq-dhcp[1407]: read /etc/ethers - 0 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: read /etc/hosts - 1 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: read /tmp/hosts/odhcpd - 1 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq-dhcp[1407]: read /etc/ethers - 0 addresses
Mon Feb 25 10:07:24 2019 daemon.info hostapd: wlan0: STA 00:18:de:6e:1c:66 IEEE 802.11: authenticated
Mon Feb 25 10:07:24 2019 daemon.info hostapd: wlan0: STA 00:18:de:6e:1c:66 IEEE 802.11: associated (aid 1)
Mon Feb 25 10:07:24 2019 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 00:18:de:6e:1c:66
Mon Feb 25 10:07:24 2019 daemon.info hostapd: wlan0: STA 00:18:de:6e:1c:66 WPA: pairwise key handshake completed (RSN)
Mon Feb 25 10:07:25 2019 daemon.info odhcpd[860]: Using a RA lifetime of 0 seconds on br-lan
Mon Feb 25 10:07:26 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 10:07:26 2019 daemon.warn odhcpd[860]: DHCPV6 CONFIRM IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: not on-link
Mon Feb 25 10:07:26 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 10:07:26 2019 daemon.warn odhcpd[860]: DHCPV6 SOLICIT IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: ok fdf8:514b:e97a::367/128
Mon Feb 25 10:07:27 2019 daemon.info dnsmasq-dhcp[1407]: DHCPDISCOVER(br-lan) 192.168.8.172 00:18:de:6e:1c:66
Mon Feb 25 10:07:27 2019 daemon.info dnsmasq-dhcp[1407]: DHCPOFFER(br-lan) 192.168.8.172 00:18:de:6e:1c:66
Mon Feb 25 10:07:27 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 10:07:27 2019 daemon.warn odhcpd[860]: DHCPV6 REQUEST IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: ok fdf8:514b:e97a::367/128
Mon Feb 25 10:07:30 2019 authpriv.info dropbear[1454]: Child connection from fdf8:514b:e97a::aa7:43476
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: DHCPDISCOVER(br-lan) 192.168.8.208 00:16:36:9a:49:c5
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: DHCPOFFER(br-lan) 192.168.8.208 00:16:36:9a:49:c5
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq[1407]: read /etc/hosts - 1 addresses
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq[1407]: read /tmp/hosts/odhcpd - 2 addresses
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq[1407]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: read /etc/ethers - 0 addresses
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: DHCPREQUEST(br-lan) 192.168.8.172 00:18:de:6e:1c:66
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: DHCPACK(br-lan) 192.168.8.172 00:18:de:6e:1c:66 acer3043
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: DHCPREQUEST(br-lan) 192.168.8.172 00:18:de:6e:1c:66
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: DHCPACK(br-lan) 192.168.8.172 00:18:de:6e:1c:66 acer3043
Mon Feb 25 10:07:39 2019 authpriv.notice dropbear[1454]: Password auth succeeded for ‘root’ from fdf8:514b:e97a::aa7:43476
Mon Feb 25 10:08:05 2019 kern.notice kernel: [ 78.808586] random: crng init done
Mon Feb 25 10:08:06 2019 daemon.info dnsmasq-dhcp[1407]: DHCPDISCOVER(br-lan) 00:16:36:9a:49:c5
Mon Feb 25 10:08:06 2019 daemon.info dnsmasq-dhcp[1407]: DHCPOFFER(br-lan) 192.168.8.208 00:16:36:9a:49:c5
Mon Feb 25 10:08:06 2019 daemon.info dnsmasq-dhcp[1407]: DHCPREQUEST(br-lan) 192.168.8.208 00:16:36:9a:49:c5
Mon Feb 25 10:08:06 2019 daemon.info dnsmasq-dhcp[1407]: DHCPACK(br-lan) 192.168.8.208 00:16:36:9a:49:c5 acer3043

root@GL-AR150:~# dmesg
[ 0.000000] Linux version 4.9.152 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7549-217219e) ) #0 Mon Jan 28 08:54:32 2019
[ 0.000000] MyLoader: sysp=a1a4a4a4, boardp=e5e4b5a5, parts=85a124a5
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 8044a204, node_mem_map 81000020
[ 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] 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: board=GL-AR150 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro console=ttyATH0,115200 rootfstype=squashfs noinitrd
[ 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: 60028K/65536K available (3388K kernel code, 175K rwdata, 448K rodata, 268K init, 211K bss, 5508K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000014] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.007585] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.088756] pid_max: default: 32768 minimum: 301
[ 0.093346] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.099512] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.110350] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.118389] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.126124] NET: Registered protocol family 16
[ 0.131127] MIPS: machine is GL.iNet GL-AR150
[ 0.656269] Can’t analyze schedule() prologue at 803ab684
[ 0.678678] clocksource: Switched to clocksource MIPS
[ 0.683647] NET: Registered protocol family 2
[ 0.687874] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.693233] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.699288] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.705467] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.710954] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.717204] NET: Registered protocol family 1
[ 0.721120] PCI: CLS 0 bytes, default 32
[ 0.726263] Crashlog allocated RAM at address 0x3f00000
[ 0.731589] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.746786] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.751039] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.773570] io scheduler noop registered
[ 0.775940] io scheduler deadline registered (default)
[ 0.781508] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.791012] ar933x-uart: ttyATH0 at MMIO 0×18020000 (irq = 11, base_baud = 1562500) is a AR933X UART
[ 0.798858] console [ttyATH0] enabled
[ 0.805642] bootconsole [early0] disabled
[ 0.822054] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.836940] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.840259] 4 cmdlinepart partitions found on MTD device spi0.0
[ 0.846095] Creating 4 MTD partitions on “spi0.0”:
[ 0.850916] 0×000000000000-0×000000040000 : “u-boot” [ 0.858619] 0×000000040000-0×000000050000 : “u-boot-env” [ 0.865504] 0×000000050000-0x000000ff0000 : “firmware” [ 0.887436] 2 uimage-fw partitions found on MTD device firmware
[ 0.891977] 0×000000050000-0x0000001b0000 : “kernel” [ 0.899072] 0x0000001b0000-0x000000ff0000 : “rootfs” [ 0.905016] mtd: device 4 (rootfs) set to be root filesystem
[ 0.909346] 1 squashfs-split partitions found on MTD device rootfs
[ 0.915399] 0×000000400000-0x000000ff0000 : “rootfs_data” [ 0.923861] 0x000000ff0000-0×000001000000 : “art” [ 0.931592] libphy: Fixed MDIO Bus: probed
[ 0.954535] libphy: ag71xx_mdio: probed
[ 1.580396] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 1.589185] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.220161] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 2.262280] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.269486] NET: Registered protocol family 10
[ 2.277791] NET: Registered protocol family 17
[ 2.280949] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 2.293914] 8021q: 802.1Q VLAN Support v1.8
[ 2.300379] hctosys: unable to open rtc device (rtc0)
[ 2.310576] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.318237] Freeing unused kernel memory: 268K
[ 2.321280] This architecture does not have kernel memory protection.
[ 2.538694] random: fast init done
[ 3.185487] init: Console is alive
[ 3.187760] init: - watchdog -
[ 4.406216] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.495067] usbcore: registered new interface driver usbfs
[ 4.499330] usbcore: registered new interface driver hub
[ 4.504539] usbcore: registered new device driver usb
[ 4.517118] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 4.524476] ehci-platform: EHCI generic platform driver
[ 4.528370] ehci-platform ehci-platform: EHCI Host Controller
[ 4.534120] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 4.544062] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 4.578732] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 4.584875] hub 1-0:1.0: USB hub found
[ 4.587725] hub 1-0:1.0: 1 port detected
[ 4.592472] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.609129] init: - preinit -
[ 5.567562] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.691291] eth0: link up (100Mbps/Full duplex)
[ 7.694417] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.971058] jffs2: notice: (397) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 8.987808] mount_root: switching to jffs2 overlay
[ 9.031937] urandom-seed: Seeding with /etc/urandom.seed
[ 9.312744] eth0: link down
[ 9.332255] procd: - early -
[ 9.333820] procd: - watchdog -
[ 10.023062] procd: - watchdog -
[ 10.025158] procd: - ubus -
[ 10.168622] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.177067] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.182692] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.189760] procd: - init -
[ 10.846238] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.858294] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.878875] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[ 10.885425] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[ 10.896442] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.912859] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 10.988460] usbcore: registered new interface driver usbserial
[ 10.993104] usbcore: registered new interface driver usbserial_generic
[ 10.999542] usbserial: USB Serial support registered for generic
[ 11.032383] xt_time: kernel timezone is -0000
[ 11.109304] usbcore: registered new interface driver pl2303
[ 11.113558] usbserial: USB Serial support registered for pl2303
[ 11.124655] PPP generic driver version 2.4.2
[ 11.131248] NET: Registered protocol family 24
[ 11.190177] ath: EEPROM regdomain: 0×0 [ 11.190191] ath: EEPROM indicates default country code should be used
[ 11.190196] ath: doing EEPROM country→regdmn map search
[ 11.190217] ath: country maps to regdmn code: 0x3a
[ 11.190225] ath: Country alpha2 being used: US
[ 11.190230] ath: Regpair used: 0x3a
[ 11.202188] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’ [ 11.208321] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 11.251934] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 12.952349] urandom_read: 5 callbacks suppressed
[ 12.952361] random: jshn: uninitialized urandom read (4 bytes read)
[ 13.072732] random: ubusd: uninitialized urandom read (4 bytes read)
[ 26.754774] br-lan: port 1(eth1) entered blocking state
[ 26.758554] br-lan: port 1(eth1) entered disabled state
[ 26.764414] device eth1 entered promiscuous mode
[ 26.828954] br-lan: port 1(eth1) entered blocking state
[ 26.832741] br-lan: port 1(eth1) entered forwarding state
[ 26.838364] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 26.901696] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 27.854373] br-lan: port 1(eth1) entered disabled state
[ 28.389995] eth1: link up (1000Mbps/Full duplex)
[ 28.393227] br-lan: port 1(eth1) entered blocking state
[ 28.398386] br-lan: port 1(eth1) entered forwarding state
[ 28.498975] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 28.970283] eth0: link up (100Mbps/Full duplex)
[ 28.973401] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 32.072841] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 32.094353] br-lan: port 2(wlan0) entered blocking state
[ 32.098220] br-lan: port 2(wlan0) entered disabled state
[ 32.104221] device wlan0 entered promiscuous mode
[ 33.421666] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 33.426833] br-lan: port 2(wlan0) entered blocking state
[ 33.431962] br-lan: port 2(wlan0) entered forwarding state
[ 78.808586] random: crng init done
```

 


23.02.20192141Base systemBug ReportVery LowHighOn router Linksys EA6350v3, Luci shows missing port on ...TrunkUnconfirmed Task Description

Hi!

I am using OpenWRT development from Feb21 on my Linksys EA6350v3 router. So far, everything works fine, however I am trying to setup the WAN port with a VLAN, but if I access: Luci → Network → Switch it only displays the CPU port and the 4 LAN ports, the WAN port is not displayed, but if I access the router via SSH, then the port is there on swconfig:

root@wl:~# swconfig dev switch0 show
Global attributes:

enable_vlan: 1
enable_mirror_rx: 0
enable_mirror_tx: 0
mirror_monitor_port: 0
mirror_source_port: 0
linkdown: ???

Port 0:

mib: Port 0 MIB counters

RxBroad : 722
RxPause : 0
RxMulti : 2898
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 34565
Rx128Byte : 717134
Rx256Byte : 12692
Rx512Byte : 7510
Rx1024Byte : 7809
Rx1518Byte : 141976
RxMaxByte : 193165
RxTooLong : 0
RxGoodByte : 573563874
RxBadByte : 0
RxOverFlow : 0
Filtered : 4
TxBroad : 3813
TxPause : 0
TxMulti : 73600
TxUnderRun : 0
Tx64Byte : 62619
Tx128Byte : 115302
Tx256Byte : 15655
Tx512Byte : 41091
Tx1024Byte : 34454
Tx1518Byte : 2869708
TxMaxByte : 0
TxOverSize : 0
TxByte : 4378564661
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:0 link:up speed:1000baseT full-duplex txflow rxflow 

Port 1:

mib: Port 1 MIB counters

RxBroad : 10
RxPause : 0
RxMulti : 126
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 40
Rx128Byte : 534
Rx256Byte : 313
Rx512Byte : 38
Rx1024Byte : 18
Rx1518Byte : 15
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 141761
RxBadByte : 0
RxOverFlow : 0
Filtered : 13
TxBroad : 180
TxPause : 0
TxMulti : 367
TxUnderRun : 0
Tx64Byte : 335
Tx128Byte : 362
Tx256Byte : 279
Tx512Byte : 216
Tx1024Byte : 29
Tx1518Byte : 52
TxMaxByte : 0
TxOverSize : 0
TxByte : 274900
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:1 link:down

Port 2:

mib: Port 2 MIB counters

RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 4419
TxPause : 0
TxMulti : 76469
TxUnderRun : 0
Tx64Byte : 46240
Tx128Byte : 1084
Tx256Byte : 2641
Tx512Byte : 28047
Tx1024Byte : 2915
Tx1518Byte : 1
TxMaxByte : 0
TxOverSize : 0
TxByte : 18438433
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:2 link:up speed:100baseT full-duplex txflow rxflow auto

Port 3:

mib: Port 3 MIB counters

RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 4419
TxPause : 0
TxMulti : 76469
TxUnderRun : 0
Tx64Byte : 46240
Tx128Byte : 1084
Tx256Byte : 2641
Tx512Byte : 28047
Tx1024Byte : 2915
Tx1518Byte : 1
TxMaxByte : 0
TxOverSize : 0
TxByte : 18438433
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:3 link:up speed:1000baseT full-duplex auto

Port 4:

mib: Port 4 MIB counters

RxBroad : 3765
RxPause : 0
RxMulti : 73151
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 62113
Rx128Byte : 115122
Rx256Byte : 15386
Rx512Byte : 40931
Rx1024Byte : 34440
Rx1518Byte : 2869706
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 4378395323
RxBadByte : 0
RxOverFlow : 0
Filtered : 11
TxBroad : 379
TxPause : 0
TxMulti : 2755
TxUnderRun : 0
Tx64Byte : 34306
Tx128Byte : 717333
Tx256Byte : 12274
Tx512Byte : 7258
Tx1024Byte : 7735
Tx1518Byte : 335099
TxMaxByte : 0
TxOverSize : 0
TxByte : 569081244
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:4 link:up speed:1000baseT full-duplex txflow rxflow auto

Port 5:

mib: Port 5 MIB counters

RxBroad : 38
RxPause : 0
RxMulti : 323
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 526
Rx128Byte : 312
Rx256Byte : 54
Rx512Byte : 205
Rx1024Byte : 23
Rx1518Byte : 30
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 217499
RxBadByte : 0
RxOverFlow : 0
Filtered : 9
TxBroad : 348
TxPause : 0
TxMulti : 259
TxUnderRun : 0
Tx64Byte : 344
Tx128Byte : 406
Tx256Byte : 200
Tx512Byte : 199
Tx1024Byte : 20
Tx1518Byte : 13
TxMaxByte : 0
TxOverSize : 0
TxByte : 194389
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:5 link:down

VLAN 1:

vid: 1
ports: 0 1 2 3 4 5 

VLAN 2:

vid: 2
ports: 0t 5t 

root@wl:~#

So the firmware knows there is an additional port in the switch, it’s just Luci that does not display it.

For extra info, here’s the OpenWRT version I am running:

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

_______                     ________        __

| |.—–.—–.—–.| | | |.—-.| |_
| - || _ | -| || | | || _|| _|
|
_|| |_||||||| ||

        |__| W I R E L E S S   F R E E D O M

—————————————————– OpenWrt SNAPSHOT, r9414-2d13945


Thanks in advance for your help with this, very appreciated.


22.02.20192140KernelBug ReportVery LowCriticalKernel hang when replace older uboot with uboot 2019 fo...TrunkUnconfirmed Task Description

Below is the log:

U-Boot 2019.01-00079-g3420a6fc6e-dirty (Feb 19 2019 - 17:19:16 +0800)

Qualcomm Atheros QCA9561 ver 1 rev 0
Model: AP152 Reference Board
DRAM:  128 MiB
Loading Environment from SPI Flash... SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB, mapped at 9f000000
*** Warning - bad CRC, using default environment

In:    uart@18020000
Out:   uart@18020000
Err:   uart@18020000
Net:   
Warning: eth@0x19000000 (eth0) using random MAC address - 56:87:3c:61:9b:50
eth0: eth@0x19000000
Hit any key to stop autoboot:  0 
ap152 # bootm 0x1f060000
## Booting kernel from Legacy Image at 1f060000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.101
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1615030 Bytes = 1.5 MiB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
[    0.000000] Linux version 4.14.101 (xxx@xxx-PC) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r8997-488af51f81)) #0 Mon Feb 18 15:11:32 2019
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is ROSINSON WR818
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 123184K/131072K available (3777K kernel code, 150K rwdata, 912K rodata, 1232K init, 204K bss, 7888K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008841] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.075897] pid_max: default: 32768 minimum: 301
[    0.081292] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.088805] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100195] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.111385] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.118370] pinctrl core: initialized pinctrl subsystem
[    0.125117] NET: Registered protocol family 16
[    0.152720] clocksource: Switched to clocksource MIPS
[    0.159331] NET: Registered protocol family 2
[    0.164932] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.172894] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.180116] TCP: Hash tables configured (established 1024 bind 1024)
[    0.187461] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.194136] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.201461] NET: Registered protocol family 1
[    0.209168] Crashlog allocated RAM at address 0x3f00000
[    0.216385] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.227688] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.234346] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.253234] io scheduler noop registered
[    0.257682] io scheduler deadline registered (default)
[    0.263810] ar7200-usb-phy usb-phy: phy reset is missing
[    0.271331] pinctrl-single 1804002c.pinmux: 544 pins at pa b804002c size 68
[    0.280201] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.288040] console [ttyS0] disabled
[    0.292122] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 8, base_baud = 1562500) is a 16550A
[    0.301943] console [ttyS0] enabled
[    0.301943] console [ttyS0] enabled
[    0.309500] bootconsole [early0] disabled
[    0.309500] bootconsole [early0] disabled
[    0.332542] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.337492] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.344060] Creating 5 MTD partitions on "spi0.0":
[    0.349014] 0x000000000000-0x000000040000 : "u-boot"
[    0.354834] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.360944] 0x000000050000-0x000000060000 : "factory"
[    0.366831] 0x000000060000-0x000000fe0000 : "firmware"
[    0.374973] 2 uimage-fw partitions found on MTD device firmware
[    0.381090] Creating 2 MTD partitions on "firmware":
[    0.386258] 0x000000000000-0x000000190000 : "kernel"
[    0.392027] 0x000000190000-0x000000f80000 : "rootfs"
[    0.397783] mtd: device 5 (rootfs) set to be root filesystem
[    0.403703] 1 squashfs-split partitions found on MTD device rootfs
[    0.410095] 0x000000440000-0x000000f80000 : "rootfs_data"
[    0.416295] 0x000000ff0000-0x000001000000 : "art"
[    0.422691] libphy: Fixed MDIO Bus: probed
[    0.763078] libphy: ag71xx_mdio: probed
[    0.770036] switch0: Atheros AR8337 rev. 2 switch registered on mdio-bus.0
[    1.424526] ag71xx 19000000.eth: invalid MAC address, using random address
[    1.763882] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.775479] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII
[    1.783515] NET: Registered protocol family 10
[    1.791439] Segment Routing with IPv6
[    1.795358] NET: Registered protocol family 17
[    1.799984] 8021q: 802.1Q VLAN Support v1.8
[    1.810014] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.824049] Freeing unused kernel memory: 1232K
[    1.828729] This architecture does not have kernel memory protection.

By the way, for the ath79 target(linux-4.14) after I enable CONFIG_MIPS32R2_IRQ_VI options, it works fine.
But still hang in ar71xx(linux-4.9.158).

21.02.20192139Base systemBug ReportVery LowMedium broadcom-wl don't work on rt-n16openwrt-18.06Unconfirmed Task Description

wifi on lede 17.01.6, with the same config, works great
install openwrt 18.06
opkg remove kmod-b43 kmod-b43legacy kmod-mac80211 kmod-cfg80211 kmod-brcmsmac
opkg install kmod-brcm-wl nas wlc wl
wl -i wl0 chanspec -c 9 -b 2 -w 40 -s -1

config wifi-device ‘wl0’

      option type 'broadcom'
      option channel '9'
      option hwmode '11ng'
      option htmode 'HT40'
      option txpower '16'
      option txantenna '3'
      option rxantenna '3'

config wifi-iface

      option device 'wl0'
      option network 'lan'
      option mode 'ap'
      option ssid 'point'
      option encryption 'psk2'
      option key 'pass'
      option wmm '1'
      option disabled '0'

After, my laptop (windows) does not connect and the phone on the android
connects for 15-20 minutes, disconnects, manually connects from the third fourth attempt
and disconnects again after a while

ifconfig shows that the interface wl0-1 is automatically created with non-existent mac address E2:CB:4E:C0:18:14 (wl0 E0:CB:4E:C0:18:13)
Wi-Fi scanner shows two access points with the same name, channels, but different MAC addresses (E2:CB:4E:C0:18:14, E0:CB:4E:C0:18:13)

I compiled two firmware with
CONFIG_TARGET_brcm47xx=y
CONFIG_TARGET_brcm47xx_mips74k=y
CONFIG_TARGET_brcm47xx_mips74k_DEVICE_asus-rt-n16=y
and
CONFIG_TARGET_brcm47xx=y
CONFIG_TARGET_brcm47xx_mips74k=y
CONFIG_TARGET_brcm47xx_mips74k_Broadcom-mips74k-wl=y

but it did not help

 



21.02.20192138PackagesFeature RequestVery LowLowmwan3-luci: sort order of shown interfaces not like as ...TrunkUnconfirmed Task Description

on current trunk
it hurts, that the ORDER on the mwan3 graphs is different as ORDERED on configuration of mwan3.
is it possible to fix that ?
sorry, i don’T know how i could fix that by myself and to provide a fix for it.

root@router02.dreamteam:/root # opkg list-installed | grep mwan3
luci-app-mwan3 - git-19.043.27122-eda8f02-1
mwan3 - 2.7.10-1

cu Erwin

 


21.02.20192137Base systemBug ReportVery LowLowwifi isolate clients not working on several routersAllUnconfirmed Task Description

Routers and versions: wireless.isolate NOT working: TP Link WR841n v13
Version: OpenWrt SNAPSHOT, r9278-39273b8 (from roughly Feb 8)

wireless.isolate NOT working: TP Link TL-WDR3600 v1
Version: OpenWrt 18.06.02
Note: Only the 2GHz radio was enabled

Steps to reproduce: Reset router to default settings
Create wifi network
Restart the router
Connect two devices using wifi to the router
SSh from one device to the other =⇒ (This step incorrectly works!)

wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.isolate='1'
wireless.default_radio0.encryption='psk2+ccmp'
wireless.default_radio0.key='xxxxyyyyyyyy'
wireless.default_radio0.ssid='ssssssid'

Note that wireless.isolate DOES test as working on TP Link C7 v2. The ssh fails in the reproduction steps above.

19.02.20192135KernelBug ReportVery LowLowADB AV4202 (BCM43222) wifi gets broadcasted but clients...AllUnconfirmed Task Description

I’ve tried OpenWRT on an ADB AV4202N. Everything works fine except wifi. I know the used Broadcom chip (BCM43222) is problematic but there is a bit of hope.

After installation the wifi is disabled by default. When enabling it and setting the country code correct(AT in my case) the network actually gets found by other devices but they just don’t get accepted by the ap. If i set an encryption this is also correctly broadcasted and recognized by other devices but it’s impossible to connect. Also the following values are shown in OpenWRT’s webinterface which is a strong indicator that something isn’t working correct: “Signal: 0 dBm | Noise: 0 dBm Bitrate: 0.0 Mbit/s”.

device id:

root@OpenWrt:~# for i in /sys/bus/pci/devices/*; do [ -f $i/vendor ] && echo "$(cat $i/vendor):$(cat $i/device) $(cat $i/subsystem_vendor):$(cat $i/subsystem_device)"; done
0x14e4:0xa8d6 0x14e4:0xa8d6
0x14e4:0x6368 0x14e4:0x6368

dmesg:

root@OpenWrt:~# dmesg
[    0.000000] Linux version 4.14.101 (buildbot@6167ddb9a6c5) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r9393-d0b4596)) #0 SMP Sun Feb 17 18:30:34 2019
[    0.000000] Detected Broadcom 0x6368 CPU revision b2
[    0.000000] CPU frequency is 400 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-102.6
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0002a031 (Broadcom BMIPS4350)
[    0.000000] board: board name: 96368_Swiss_S1
[    0.000000] MIPS: machine is ADB P.DG AV4202N
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    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 80577690, node_mem_map 81007330
[    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] random: get_random_bytes called from start_kernel+0x80/0x4b4 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu @8108a000 s25984 r8192 d23168 u57344
[    0.000000] pcpu-alloc: s25984 r8192 d23168 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: rootfstype=squashfs,jffs2 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] Memory: 57676K/65536K available (4354K kernel code, 190K rwdata, 992K rodata, 1304K init, 211K bss, 7860K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 256
[    0.000000] genirq: irq_chip bcm6345-periph-intc did not update eff. affinity mask of irq 28
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000029] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008242] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[    0.046765] pid_max: default: 32768 minimum: 301
[    0.052101] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.058995] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072089] Hierarchical SRCU implementation.
[    0.079571] smp: Bringing up secondary CPUs ...
[    0.086729] SMP: Booting CPU1...
[    6.934360] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[    6.934375] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    6.934674] CPU1 revision is: 0002a031 (Broadcom BMIPS4350)
[    0.118454] Synchronize counters for CPU 1: 
[    0.139272] SMP: CPU1 is running
[    0.139326] done.
[    0.149437] smp: Brought up 1 node, 2 CPUs
[    0.171531] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.181656] futex hash table entries: 512 (order: 1, 8192 bytes)
[    0.188171] pinctrl core: initialized pinctrl subsystem
[    0.196658] NET: Registered protocol family 16
[    0.240012] registering PCI controller with io_map_base unset
[    0.246046] registering PCI controller with io_map_base unset
[    0.311758] PCI host bridge to bus 0000:00
[    0.316259] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.323379] pci_bus 0000:00: root bus resource [io  0x8000000-0x8007fff]
[    0.330417] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.337680] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.346180] pci 0000:00:01.0: [14e4:a8d6] type 00 class 0x028000
[    0.348386] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00003fff]
[    0.355870] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.356046] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30003fff]
[    0.364098] PCI host bridge to bus 0000:01
[    0.368541] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
[    0.375647] pci_bus 0000:01: root bus resource [io  0x8008000-0x800ffff]
[    0.382570] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[    0.389579] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.397943] pci 0000:01:1e.0: [14e4:6368] type 02 class 0x060700
[    0.398768] pci 0000:01:1e.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.407692] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[    0.407867] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 05
[    0.408066] pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
[    0.415246] pci 0000:01:1e.0: BAR 7: assigned [io  0x8008000-0x80080ff]
[    0.422091] pci 0000:01:1e.0: BAR 8: assigned [io  0x8008400-0x80084ff]
[    0.428924] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
[    0.434692] pci 0000:01:1e.0:   bridge window [io  0x8008000-0x80080ff]
[    0.441518] pci 0000:01:1e.0:   bridge window [io  0x8008400-0x80084ff]
[    0.448343] pci 0000:01:1e.0:   bridge window [mem 0x38000000-0x3fffffff]
[    0.462606] clocksource: Switched to clocksource MIPS
[    0.472337] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    0.507397] ssb: Found chip with id 0xA8D6, rev 0x00 and package 0x08
[    0.514624] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x1E, vendor 0x4243)
[    0.515162] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x10, vendor 0x4243)
[    0.515697] ssb: Core 2 found: PCI (cc 0x804, rev 0x0E, vendor 0x4243)
[    0.588530] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
[    0.596698] NET: Registered protocol family 2
[    0.604194] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.606157] random: fast init done
[    0.612165] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.621583] TCP: Hash tables configured (established 1024 bind 1024)
[    0.628855] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.635018] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.642367] NET: Registered protocol family 1
[    0.647049] PCI: CLS 0 bytes, default 16
[    0.650334] Crashlog allocated RAM at address 0x3f00000
[    0.663506] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.692760] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.698841] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.753705] io scheduler noop registered
[    0.758168] io scheduler deadline registered (default)
[    0.768990] bcm6368-pinctrl 10000080.pin-controller: registered at mmio b0000080
[    0.780487] 10000100.serial: ttyS0 at MMIO 0x10000100 (irq = 10, base_baud = 1562500) is a bcm63xx_uart
[    0.790617] console [ttyS0] enabled
[    0.798066] bootconsole [early0] disabled
[    0.809201] bcm63xx-rng bcm63xx-rng: registered RNG driver
[    0.822290] 18000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.832762] 18000000.nor: Found an alias at 0x1000000 for the chip at 0x0
[    0.832810] Amd/Fujitsu Extended Query Table at 0x0040
[    0.838153]   Amd/Fujitsu Extended Query version 1.3.
[    0.843377] number of CFI chips: 1
[    0.848379] Searching for RedBoot partition table in 18000000.nor at offset 0xfe0000
[    0.892656] No RedBoot partition table detected in 18000000.nor
[    0.898992] 3 fixed-partitions partitions found on MTD device 18000000.nor
[    0.906114] Creating 3 MTD partitions on "18000000.nor":
[    0.911623] 0x000000000000-0x000000020000 : "CFE"
[    0.922427] 0x000000020000-0x000000fe0000 : "linux"
[    0.933452] parser_imagetag: rootfs: CFE image tag found at 0x0 with version 6, board type 96368_Swiss_S1
[    0.943525] parser_imagetag: Partition 0 is kernel offset 100 and length 1c0970
[    0.951149] parser_imagetag: Partition 1 is rootfs offset 1c0a70 and length dff590
[    0.958961] parser_imagetag: Spare partition is offset 3e0004 and length bdfffc
[    0.966556] 2 bcm963xx-imagetag partitions found on MTD device linux
[    0.973131] Creating 2 MTD partitions on "linux":
[    0.978080] 0x000000000100-0x0000001c0a70 : "kernel"
[    0.988840] 0x0000001c0a70-0x000000fc0000 : "rootfs"
[    0.999352] mtd: device 3 (rootfs) set to be root filesystem
[    1.005321] 1 squashfs-split partitions found on MTD device rootfs
[    1.011731] 0x0000003e0000-0x000000fc0000 : "rootfs_data"
[    1.022907] 0x000000fe0000-0x000001000000 : "nvram"
[    1.039611] bcm63xx-spi 10000800.spi: at [mem 0x10000800-0x10000f0b flags 0x200] (irq 9, FIFOs size 542)
[    1.056412] libphy: Fixed MDIO Bus: probed
[    1.110601] b53_common: found switch: BCM63xx, rev 0
[    1.117669] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    1.141575] NET: Registered protocol family 10
[    1.151168] Segment Routing with IPv6
[    1.155277] NET: Registered protocol family 17
[    1.160044] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.173441] 8021q: 802.1Q VLAN Support v1.8
[    1.194502] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.222721] Freeing unused kernel memory: 1304K
[    1.227401] This architecture does not have kernel memory protection.
[    2.816654] init: Console is alive
[    2.820845] init: - watchdog -
[    5.378462] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.629748] usbcore: registered new interface driver usbfs
[    5.635909] usbcore: registered new interface driver hub
[    5.641949] usbcore: registered new device driver usb
[    5.666304] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.676645] ehci-platform: EHCI generic platform driver
[    5.790160] ehci-platform ehci-platform: EHCI Host Controller
[    5.796258] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    5.805004] ehci-platform ehci-platform: irq 15, io mem 0xb0001500
[    5.826142] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[    5.838275] hub 1-0:1.0: USB hub found
[    5.842423] hub 1-0:1.0: 2 ports detected
[    5.859914] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.869326] ohci-platform: OHCI generic platform driver
[    5.875339] ohci-platform ohci-platform: Generic Platform OHCI controller
[    5.882509] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[    5.891178] ohci-platform ohci-platform: irq 13, io mem 0xb0001600
[    5.961590] hub 2-0:1.0: USB hub found
[    5.965787] hub 2-0:1.0: 2 ports detected
[    5.975380] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.988304] init: - preinit -
[    8.655702] random: jshn: uninitialized urandom read (4 bytes read)
[    9.040266] random: jshn: uninitialized urandom read (4 bytes read)
[    9.468482] random: jshn: uninitialized urandom read (4 bytes read)
[    9.864733] urandom_read: 1 callbacks suppressed
[    9.864759] random: jshn: uninitialized urandom read (4 bytes read)
[   10.598898] random: procd: uninitialized urandom read (4 bytes read)
[   10.625650] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.632236] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port3, 100Mbps, full-duplex
[   10.632481] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full-duplex
[   10.648613] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[   10.655252] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   11.602155] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.565445] jffs2: notice: (432) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (0 unchecked, 4 orphan) and 45 of xref (6 dead, 39 orphan) found.
[   14.586507] mount_root: overlay filesystem has not been fully initialized yet
[   14.955513] mount_root: switching to jffs2 overlay
[   15.045541] overlayfs: upper fs does not support tmpfile.
[   15.061837] urandom-seed: Seed file not found (/etc/urandom.seed)
[   15.392035] procd: - early -
[   15.395412] procd: - watchdog -
[   16.324654] procd: - watchdog -
[   16.328865] procd: - ubus -
[   16.424722] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.608655] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.616496] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.625939] procd: - init -
[   17.831377] kmodloader: loading kernel modules from /etc/modules.d/*
[   18.031668] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.075416] Loading modules backported from Linux version v4.19.23-0-g67d52fae61c1
[   18.083356] Backport generated by backports.git v4.19.23-1-0-g480a925a
[   18.099683] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.141096] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   18.328363] xt_time: kernel timezone is -0000
[   18.539141] PPP generic driver version 2.4.2
[   18.551564] NET: Registered protocol family 24
[   18.608971] b43-phy0: Broadcom 43222 WLAN found (core revision 16)
[   18.658122] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
[   18.664442] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 6, Version 0
[   18.688057] Broadcom 43xx driver loaded [ Features: PNL ]
[   18.709707] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   18.736997] kmodloader: done loading kernel modules from /etc/modules.d/*
[   22.095461] random: crng init done
[   22.098992] random: 1 urandom warning(s) missed due to ratelimiting
[   50.966616] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port3, 100Mbps, full-duplex
[   50.974838] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full-duplex
[   51.009263] br-lan: port 1(eth0.1) entered blocking state
[   51.015136] br-lan: port 1(eth0.1) entered disabled state
[   51.022906] device eth0.1 entered promiscuous mode
[   51.028018] device eth0 entered promiscuous mode
[   51.047687] br-lan: port 1(eth0.1) entered blocking state
[   51.053541] br-lan: port 1(eth0.1) entered forwarding state
[   51.060622] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   51.955920] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 1005.490482] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[ 1005.676804] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1005.704384] br-lan: port 2(wlan0) entered blocking state
[ 1005.710061] br-lan: port 2(wlan0) entered disabled state
[ 1005.716666] device wlan0 entered promiscuous mode
[ 1005.750838] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1005.758685] br-lan: port 2(wlan0) entered blocking state
[ 1005.764276] br-lan: port 2(wlan0) entered forwarding state
[ 1194.941669] device wlan0 left promiscuous mode
[ 1194.947246] br-lan: port 2(wlan0) entered disabled state
[ 1195.732964] b43-phy0 ERROR: DMA RX reset timed out
[ 1196.013005] b43-phy0 ERROR: DMA TX reset timed out
[ 1196.042349] ssb: Timeout waiting for bitmask 01800000 on register 0F90 to clear.
[ 1198.385367] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[ 1198.592303] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1198.698993] br-lan: port 2(wlan0) entered blocking state
[ 1198.704833] br-lan: port 2(wlan0) entered disabled state
[ 1198.712445] device wlan0 entered promiscuous mode
[ 1198.818777] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1198.826665] br-lan: port 2(wlan0) entered blocking state
[ 1198.832441] br-lan: port 2(wlan0) entered forwarding state

iwinfo:

root@OpenWrt:~# iwinfo 
wlan0     ESSID: "OpenWrt32"
          Access Point: 02:10:18:01:00:02
          Mode: Master  Channel: 11 (2.462 GHz)
          Tx-Power: 20 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11bg
          Hardware: unknown [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: no  PHY name: phy0

iw phy0 info

root@OpenWrt:~# iw phy0 info
Wiphy phy0
	max # scan SSIDs: 4
	max scan IEs length: 2285 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)
	Available Antennas: TX 0x3 RX 0x3
	Configured Antennas: TX 0x3 RX 0x3
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
	Band 1:
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm)
			* 2472 MHz [13] (20.0 dBm)
			* 2484 MHz [14] (disabled)
	interface combinations are not supported
	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
	Supported extended features:
		* [ RRM ]: RRM
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211

lsmod

root@OpenWrt:~# lsmod
b43                   363971  0 
cfg80211              233424  2 b43,mac80211
compat                  6567  3 b43,mac80211,cfg80211
crc_ccitt               1051  1 ppp_async
ehci_hcd               42167  1 ehci_platform
ehci_platform           4288  0 
gpio_button_hotplug     6464  0 
ip_tables              11245  4 iptable_nat,iptable_mangle,iptable_filter
ip6_tables             10945 24 ip6table_mangle,ip6table_filter
ip6t_REJECT             1040  2 
ip6table_filter          704  1 
ip6table_mangle         1216  0 
ipt_MASQUERADE           736  1 
ipt_REJECT              1008  2 
iptable_filter           704  1 
iptable_mangle           960  0 
iptable_nat              768  1 
ledtrig_usbport         2800  0 
mac80211              462241  1 b43
nf_conntrack           70989 13 nf_conntrack_ipv6,ipt_MASQUERADE,xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_CT,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat,nf_flow_table,nf_conntrack_rtcache
nf_conntrack_ipv4       5168 10 
nf_conntrack_ipv6       5584  4 
nf_conntrack_rtcache    2752  0 
nf_defrag_ipv4          1174  1 nf_conntrack_ipv4
nf_defrag_ipv6          5022  1 nf_conntrack_ipv6
nf_flow_table          14031  2 xt_FLOWOFFLOAD,nf_flow_table_hw
nf_flow_table_hw        2240  1 
nf_log_common           2879  2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4             3424  0 
nf_log_ipv6             4112  0 
nf_nat                 15164  4 xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_nat_ipv4             4017  1 iptable_nat
nf_nat_masquerade_ipv4    1628  1 ipt_MASQUERADE
nf_nat_redirect         1515  1 xt_REDIRECT
nf_reject_ipv4          2275  1 ipt_REJECT
nf_reject_ipv6          2728  1 ip6t_REJECT
nls_base                5456  1 usbcore
ohci_hcd               30127  1 ohci_platform
ohci_platform           3808  0 
ppp_async               7120  0 
ppp_generic            23138  3 pppoe,ppp_async,pppox
pppoe                   8672  0 
pppox                   1402  1 pppoe
slhc                    5147  1 ppp_generic
usb_common              2551  1 usbcore
usbcore               138769  5 ledtrig_usbport,ohci_platform,ohci_hcd,ehci_platform,ehci_hcd
x_tables               14175 24 ipt_REJECT,ipt_MASQUERADE,xt_time,xt_tcpudp,xt_state,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_conntrack,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG,xt_FLOWOFFLOAD,xt_CT,iptable_mangle,iptable_filter,ip_tables,ip6t_REJECT,ip6table_mangle,ip6table_filter,ip6_tables
xt_CT                   2720  0 
xt_FLOWOFFLOAD          2896  0 
xt_LOG                   816  0 
xt_REDIRECT              752  0 
xt_TCPMSS               2800  0 
xt_comment               528107 
xt_conntrack            2400 12 
xt_limit                1344 20 
xt_mac                   672  0 
xt_mark                  720  0 
xt_multiport            1312  0 
xt_nat                  1584  0 
xt_state                 768  0 
xt_tcpudp               1808  8 
xt_time                 1824  0 

Although there is another wifi in reach “iw dev wlan0 scan” on the device returns nothing.

This problem applies to current release of OpenWRT (18.06.2) and also to current Snapshot (r9393-d0b4596). It most certainly also applies to lede-17.01 but i haven’t tested it there for now. I think i had lede installed on the device during 2018 and had the same problem but i’m not sure.

Please let me know in case you need more info. I’m also willing to test things in order to help improve the OpenWRT support for the AV4202N. As the network gets found maybe the problem can be solved just by of configuration or arguments to the module.

19.02.20192134Base systemBug ReportVery LowLowMake image wdr3600TrunkUnconfirmed Task Description

Error make image wdr3600
[mktplinkfw] rootfs offset aligned to 0×1617792 [mktplinkfw] *** error: images are too big by 49405 bytes
cp /home/user/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_tl-wdr3600-squashfs-factory.bin /home/user/openwrt/bin/targets/ath79/generic/openwrt-ath79-generic-tplink_tl-wdr3600-squashfs-factory.bin
cp: cannot stat ‘/home/user/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_tl-wdr3600-squashfs-factory.bin’: No such file or directory
Makefile:82: recipe for target ‘/home/user/openwrt/bin/targets/ath79/generic/openwrt-ath79-generic-tplink_tl-wdr3600-squashfs-factory.bin’ failed

 


19.02.20192133KernelBug ReportVery LowCriticallan rx performance on IPQ806X (R7800) AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on R7800
- Software versions of OpenWrt 18.06/Trunk

Firstly ,I found my ps4 download speed only 100mbps,so I’ve run iperf3
The lan rx work in problem ,tx works no problem.
One pair rx only 18mbps ten pair rx only 100mbps but tx can run in 1gbps.

So I change to offical 18.06.2 banch,rx is 400mbps ,tx is 1Gbps. Still in problem.
After I compile trunk banch ,it also WIP as 18.06 banch.

This problem also mentioned in FS#1598

18.02.20192132PackagesBug ReportVery LowMediumumdns: unicast response is always sent to udp port 5353openwrt-18.06Unconfirmed Task Description

According to RFC 6762 - Multicast DNS (https://tools.ietf.org/html/rfc6762), section 6. Responding tells:

The destination UDP port in all Multicast DNS responses MUST be 5353, and the destination address MUST be the mDNS IPv4 link-local multicast address 224.0.0.251 or its IPv6 equivalent FF02::FB, except when generating a reply to a query that explicitly requested a unicast response:
* via the unicast-response bit,
* by virtue of being a legacy query (Section 6.7), or
* by virtue of being a direct unicast query.

But current umdns implementation sets sender’s IP as dst IP for the response and always sets dst port 5353 ignoring actual sender’s port while sending the unicast response.

Also RFC 6762 tells that simple DNS resolver that uses One-Shot Multicast DNS Queries MUST NOT use source port 5353 (sections 5. Querying and 5.1. One-Shot Multicast DNS Queries):

These queries are typically done using a high-numbered ephemeral UDP source port, but regardless of whether they are sent from a dynamic port or from a fixed port, these queries MUST NOT be sent using UDP source port 5353, since using UDP source port 5353 signals the presence of a fully compliant Multicast DNS querier.

So simple DNS resolver can not receive the response from umdns if it requests the unicast response due to dst port 5353 that is always set by umdns for all responses.

17.02.20192130Base systemBug ReportVery LowMediumusbip fails to list USB devices due to libudev-fbsdTrunkUnconfirmed Task Description

The usbip package fails to list connected USB devices. “usbip list -l” simply gives an empty return.

This is not a kernel issue, it’s caused by libudev-fbsd. The dependencies for usbip are still pointing to libudev-fbsd. This lib contains just a stub for udev_device_get_sysattr_value, which leads to the errors mentioned by blasters and arrmo. Using libudev instead, everything’s working as expected.

This problem exists in 18.06 and trunk.

17.02.20192129PackagesBug ReportVery LowLowblock-mount shows incorrect UUID for NTFSopenwrt-18.06Unconfirmed Task Description

Issue description:
block-mount shows incorrect UUID for NTFS.

System version:
OpenWrt 18.06.1

Steps to reproduce:

# opkg update
...
 
# opkg install block-mount blkid losetup lsblk ntfs-3g-utils
...
 
# opkg list-installed block-mount
block-mount - 2018-04-16-e2436836-1
 
# dd if=/dev/zero of=ntfs.img bs=100M count=1
1+0 records in
1+0 records out
 
# mkfs.ntfs -F ntfs.img
...
 
# losetup /dev/loop1 /root/ntfs.img

# block info /dev/loop1
/dev/loop1: UUID="0000001800000030" TYPE="ntfs"
 
!># block detect | grep -C1 loop1
config 'mount'
	option	target	'/mnt/loop1'
	option	uuid	'0000001800000030'
 
# blkid /dev/loop1
/dev/loop1: UUID="4C40EAF864A1397B" TYPE="ntfs" PTTYPE="dos"
 
# lsblk -o name,uuid /dev/loop1
NAME  UUID
loop1 4C40EAF864A1397B
16.02.20192126Base systemBug ReportVery LowMediumDisable IPv6 link-local for VLAN-parent, bridge-slave, ...openwrt-18.06Unconfirmed Task Description

Disable IPv6 link-local for VLAN-parent, bridge-slave, L3-tunnel.

System version:
OpenWrt 18.06.1

Interfaces configured correctly:
lo, br-lan, eth0.1, eth0.2

Interfaces configured incorrectly:
* eth0 - VLAN-parent, should not have L3-address
* wlan0 - bridge-slave, should not have L3-address
* tun0 - L3-tunnel, IPv6 link-local breaks OpenVPN IPv6-connectivity for Windows-clients and is redundant for Linux-clients

16.02.20192125Base systemBug ReportVery LowMediumdropbear race condition with ipv6 networkingopenwrt-18.06Unconfirmed Task Description

I’m running OpenWRT on an x86 machine running OpenWRT 18.06.2.

Steps to reproduce:

Configure dropbear to only listen on an interface such as ‘lan’

 
  config dropbear
    option Interface 'lan'

After rebooting, often dropbear will be bound to 192.168.1.1, but not fd00:2233:4455:1::1 (router’s ipv6 address). Restarting dropbear fixes the problem and it binds correctly to the ipv4 and ipv6 lan address.

12.02.20192123KernelBug ReportVery LowCriticalmac80211: 802.11s TCP/IP Connectivity Fails After 2018-...TrunkWaiting on reporter Task Description

802.11s mesh appears to not transport TCP/IP even though the mesh
appears up, for commits on master after late September, 2018.

(Steps to replicate at the end of this message)

The output of `iw dev mesh0 station dump` yields similar results for
working and non-working builds, though it has been confirmed after
the posting to the openwrt-devel list (archive link attached) that
“mesh peer PS mode” never seems to be “ACTIVE”
on builds after “first failing commit” (identified below).

    mesh plink:    ESTAB
    mesh local PS mode:    ACTIVE
    mesh peer PS mode:    UNKNOWN
    mesh non-peer PS mode:    ACTIVE
    authorized:    yes
    authenticated:    yes
    associated:    yes

ping to the peer(s) prior to the first failing commit is successful and
the peer is reflected in the arp table. Full connectivity can be
established over the mesh to peers with UDP or TCP transport.

Both ping and arp fail to behave as expected on or after the first
failing commit.

The routing is the same for both builds.

Behavior seen on both Archer C7 v2 (QCA9880-BR4A v2)
and a GL.iNet AR750S (QCA9887), both on ath79 target (AR750S is WIP)

Confirmed that the newer (newest?) firmware (ver 10.2.4-1.0-00041)
works on the “old” build.

Lack of TCP/IP transport over the mesh confirmed both with 802.11s
integral routing, as well with 802.11s routing disabled and replaced
with batman-adv. Configuration using both 802.11s routing and
batman-adv on distinct meshes on the same radios has been running
successfully with four or five Archer C7 v2 units for both backhaul
over the 5 GHz mesh, as well as client access on 5 GHz. (Not tested
on 2.4 GHz on either the Archer C7 or the AR750S.)

git bisect was used to identify the “first failing commit”:

commit db90c243a0b9bd72fc691cd09e58a96ac2a452cf
Author: Hauke Mehrtens <redacted>
Date:   Sun Sep 23 18:02:35 2018 +0200

    mac80211: update to version based on 4.19-rc4

Note that the Candela Technologies drivers do not appear to support
mesh on either chipset.

Additional notes at
https://forum.openwrt.org/t/mac80211-802-11s-tcp-ip-connectivity-on-master-failing-after-2018-09/30629

Thanks to @slh and Koen for hopping on thing there!

To Replicate:

=⇒ Pick your target of choice

$ ./scripts/diffconfig.sh
CONFIG_TARGET_ath79=y
CONFIG_TARGET_ath79_generic=y
CONFIG_TARGET_ath79_generic_DEVICE_glinet_gl-ar750s-nor=y
CONFIG_DEVEL=y
CONFIG_ATH10K_LEDS=y
CONFIG_BUILD_LOG=y
CONFIG_CCACHE=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_OPENSSL_WITH_NPN=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_PACKAGE_ath10k-firmware-qca9887=y
# CONFIG_PACKAGE_ath10k-firmware-qca9887-ct is not set
CONFIG_PACKAGE_diffutils=y
CONFIG_PACKAGE_findutils-find=y
CONFIG_PACKAGE_kmod-ath10k=y
# CONFIG_PACKAGE_kmod-ath10k-ct is not set
# CONFIG_PACKAGE_kmod-hwmon-core is not set
CONFIG_PACKAGE_less=y
CONFIG_PACKAGE_libncurses=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_terminfo=y
# CONFIG_PACKAGE_wpad-basic is not set
CONFIG_PACKAGE_wpad-mesh-openssl=y

=⇒ Add to `/etc/config/network`

config interface 'nwi_mesh0'
    option ifname 'mesh0'
    option mtu '2304'
    option proto 'static'
    option ipaddr '172.16.0.NNN'
    option netmask '255.255.255.0'

=⇒ Add to / replace in `/etc/config/wireless`

  • Please confirm a valid channel for your location
  • Adjust the device path/reference as needed
  • ‘n’ used for support of older iPhones here
config wifi-device 'radio5'
    option type 'mac80211'
    option channel '149'
    option hwmode '11a'
    option path 'pci0000:00/0000:00:00.0'
    option htmode 'VHT80'
        option require_mode 'n'

config wifi-iface 'mesh0'
    option device 'radio5'
    option ifname 'mesh0'
    option network 'nwi_mesh0'
    option mode 'mesh'
    option mesh_id 'TestMesh'
    option mesh_fwding '1'
    option encryption 'psk2+ccmp'
    option key 'TestMeshPassPhrase'

=⇒ Flash and configure additional unit(s), changing the last octet
of the nwi_mesh0 interface address.

=⇒ Note that the mesh appears established from the output of
`iw dev mesh0 station dump`

=⇒ Note that the one unit can’t ping the other’s nwi_mesh0 address
when building on or after “first bad commit” but ping (arp and ip
neigh) will work as expected prior to that commit.


12.02.20192122Base systemBug ReportVery LowMediumNAT-Loopback not working with NCM protocolTrunkUnconfirmed Task Description

Hi,

today I updated my LEDE installation to OpenWRT 18.06.2 in hope, it fixes some problems:

One of them is, that the NAT loopback rules get not automatically created on interface up / firewall reload

I think, it is because of the virtually assigned _4 / _6 suffix of the interface name.

11.02.20192121Base systemBug ReportVery LowLowfirstboot -> "writing /dev/ubi0_2 failed: Operation not...openwrt-18.06Unconfirmed Task Description

bt home hub 5a running OpenWrt 18.06.2

Boot into failsafe mode then “firstboot” results in:
writing /dev/ubi0_2 failed: Operation not permitted

Extra info:

root@(none):~# mount
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)

root@(none):~# cat /proc/mtd
dev: size erasesize name
mtd0: 000a0000 00020000 “u-boot” mtd1: 00020000 00020000 “uboot-env” mtd2: 00040000 00020000 “unused” mtd3: 07e80000 00020000 “ubi”

root@(none):~# firstboot
This will erase all settings and remove any installed packages. Are you sure? [N/y]
y
/dev/ubi0_2 is not mounted
/dev/ubi0_2 will be erased on next mount
writing /dev/ubi0_2 failed: Operation not permitted

11.02.20192119PackagesBug ReportVery LowLowPython and Python3 pip and setuptools compilation step AllUnconfirmed Task Description

When compiling on new version of my OS (Gentoo) I encounter problem with Python and Python3 compilation. Originally there was no problem just weeks before but now I am not able to compile those two packages. It always fails on missing libffi.so.6.

Traceback (most recent call last):
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/bin/pip3", line 7, in <module>
    from pip._internal import main
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/lib/python3.6/site-packages/pip/_internal/__init__.py", line 42, in <module>
    from pip._internal import cmdoptions
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/lib/python3.6/site-packages/pip/_internal/cmdoptions.py", line 16, in <module>
    from pip._internal.index import (
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/lib/python3.6/site-packages/pip/_internal/index.py", line 25, in <module>
    from pip._internal.download import HAS_TLS, is_url, path_to_url, url_to_path
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/lib/python3.6/site-packages/pip/_internal/download.py", line 39, in <module>
    from pip._internal.utils.glibc import libc_ver
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/lib/python3.6/site-packages/pip/_internal/utils/glibc.py", line 3, in <module>
    import ctypes
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/lib/python3.6/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ImportError: libffi.so.6: cannot open shared object file: No such file or directory


The problem is in invalid environment used to run pip. In package python that is on line 170 and 179. In package python3 that is 174 and 183. They are missing something like HostPyRunTarget.

11.02.20192118OtherFeature RequestVery LowHighRenaming pre-configured firewall-zone names...AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
This is a suggestion and is not a model-specific bug report.

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 18.06.1, r7258-5eb055306f

- Steps to reproduce
Description below:

This is a decade-old suggestion I’ve held within and I really hope the words will gather enough attention and momentum of the dev team. Streight to the conclusion, two pre-configured firewall-zones IMHO should be renamed from “lan” to “internal” and “wan” to “external” respectively. There are a few reasons for which I confidently feel this should be done. I’d like to argue that this is important if not essential because;
a.)Those who prefer making changes to current configurations by editing /etc/config/*, using stuff like “sed -i ‘s/before/after/g’ ${file}” (and then proceeding to reboot) is powerful and is almost mistake-free. checking for config-mistakes using grep is also powerful (and this applies to folks using uci CUI tool as well). What I do now is rename these two zones from GUI and then proceed to these steps, and it works great but having to take this extra step is rather inconvenient if not annoying.
b.)Current presets for interfaces have IPv4-WAN named as “wan” and IPv6-WAN named as “wan6” where the IPv4-WAN‘s label “wan” is no different from the firewalled-zone labeled as “wan”. This is simply comfusing. In early days when I I had just heard about the OpenWrt and had started messing with releases like Kamikaze,I had hard times understanding which string corresponded to which (sure you may argue this is documented in details but things don’t work like that for newbies).
c.)If needs for either firewall-zones or the interface-labels to be renamed are understood, I’d then have to say I’m against renaming interface-labels because those who’d decide to use VLANs would most likely name the interfaces as “config interface ‘vlan_ID’” and the string lan would stay in there.

I hope the above proposal is powerful enough...

11.02.20192117Base systemBug ReportVery LowMediumFirewall - Custom Rules ingonred in some casesAllUnconfirmed Task Description

- Device problem occurs on
linkys WRT3500
- Software versions of OpenWrt/LEDE release, packages, etc.
all lede versions
- Steps to reproduce
Configure iptables custom rules in LUCI luci/admin/network/firewall/custom
the commands goes to /etc/firewall.user file

part of /etc/config/firewall:


config include

      option path '/etc/firewall.user'

———–

Note there is no “option reload ‘1’” added into config file, thus “fw3 reload” used in /etc/init.d/firewall and /etc/hotplug.d/iface/20-firewall (maybe somewhere else) does not reload user rules.

adding manually option “reaload 1” into /etc/config/firewall solve this issue.

11.02.20192116KernelBug ReportVery LowMediumNanopi NEO PLUS2 kernel: OTG USB not workingopenwrt-18.06Unconfirmed Task Description

Even with a recent devicetree fix, the OTG port does not seem to function in the desired host mode. Obviously because of the hardware design, it is intended to always operate in “host” mode, and this is confirmed by the devicetree. Plugging in a USB 2.0 device into this OTG port and then running lsusb shows notink!

dmesg shows notink.

If you look at the devicetree compatibility string for the “otg” node, and then grep the kernel source code for it, it takes you to a driver which is enabled by this line in the drivers/usb/musb/Makefile:

obj-$(CONFIG_USB_MUSB_SUNXI) += sunxi.o

There is no evidence that this “MUSB” party is happening in the kernel config file fragments. And since this kernel does not enable /proc/config.gz, there is a remnant of doubt about where one actually finds a complete kernel config file for this 4.14 kernel build, but I leave that for another day.

10.02.20192115KernelBug ReportVery LowCriticalkernel panic with Hardware flow offloading on ubnt-x (M...TrunkUnconfirmed Task Description

hardware ubnt-x (edgerouter-x)
openwrt: OpenWrt SNAPSHOT, r9293-e3311cb

I turn on hardware offload and system went south (hangup). Automatic hard
reset (by kernel itself or because of watchcat)
But syslogd logs to other machine and
this is what I found in logs:

Feb 10 21:04:59 thorgal kernel: [ 6300.830740]  (t=6003 jiffies g=60795 c=60794 q=1375)
Feb 10 21:04:59 thorgal kernel: [ 6300.860492] (detected by 1, t=6006 jiffies, g=60795, c=60794, q=1375)
Feb 10 21:04:59 thorgal kernel: [ 6300.863610] rcu_sched       I
Feb 10 21:04:59 thorgal kernel: [ 6300.884363] Sending NMI from CPU 1 to CPUs 3:
Feb 10 21:04:59 thorgal kernel: [ 6300.897157]     0     8      2 0x00100000
Feb 10 21:04:59 thorgal kernel: [ 6300.919637] Stack : 805b0000 8fc42bc0 8fc5fe30 8fc5fe30 81222380 8fc5fe30 805b0000 81222380
Feb 10 21:04:59 thorgal kernel: [ 6300.936268]         00000003 80086ddc 000912c6 81222380 81222380 8fc5fe30 805b0000 81222380
Feb 10 21:04:59 thorgal kernel: [ 6300.952899]         00000003 805ae1b8 805b6550 80491eec 00000001 8fc5fe30 805b0000 000912c6
Feb 10 21:04:59 thorgal kernel: [ 6300.969530]         81222380 80494e14 00000003 80082e28 805b0000 00000000 8fc5febc 00000001
Feb 10 21:04:59 thorgal kernel: [ 6300.986160]         00000000 812223f4 000912c6 8008732c 8fc42bc0 01c00001 00000001 805b6440
Feb 10 21:04:59 thorgal kernel: [ 6301.002793]         ...
Feb 10 21:04:59 thorgal kernel: [ 6301.007654] Call Trace:
Feb 10 21:04:59 thorgal kernel: [ 6301.012531] [<80491dcc>] __schedule+0x7ac/0x860
Feb 10 21:04:59 thorgal kernel: [ 6301.021543] [<80491eec>] schedule+0x6c/0x84
Feb 10 21:04:59 thorgal kernel: [ 6301.029863] [<80494e14>] schedule_timeout+0x17c/0x1b8
Feb 10 21:04:59 thorgal kernel: [ 6301.039912] [<80083444>] rcu_gp_kthread+0x560/0x950
Feb 10 21:04:59 thorgal kernel: [ 6301.049626] [<8004c1b8>] kthread+0x130/0x144
Feb 10 21:04:59 thorgal kernel: [ 6301.058120] [<8000b0d8>] ret_from_kernel_thread+0x14/0x1c
Feb 10 21:04:59 thorgal kernel: [ 6304.380977] NMI backtrace for cpu 3
Feb 10 21:04:59 thorgal kernel: [ 6304.387914] CPU: 3 PID: 2514 Comm: kworker/3:1 Not tainted 4.14.98 #0
Feb 10 21:04:59 thorgal kernel: [ 6304.400742] Workqueue: events rht_deferred_worker
Feb 10 21:04:59 thorgal kernel: [ 6304.410088] Stack : 8053ac44 8fc15d24 805b0000 8e9f3280 8053acd8 00000003 805b6440 805ae0ac
Feb 10 21:04:59 thorgal kernel: [ 6304.426716]         000000e0 800705fc 8ff0af3c 805b0947 805b0000 00000001 8fc15ce8 53261683
Feb 10 21:04:59 thorgal kernel: [ 6304.443343]         00000000 00000000 00000000 00003c40 00000000 000000dd 00000008 00000000
Feb 10 21:04:59 thorgal kernel: [ 6304.459969]         00000000 805b0000 00061d66 00000000 00000000 00000000 805d0000 00000003
Feb 10 21:04:59 thorgal kernel: [ 6304.476595]         805b6440 805ae0ac 000000e0 805b0000 00000000 802a4378 0000000c 8061000c
Feb 10 21:04:59 thorgal kernel: [ 6304.493222]         ...
Feb 10 21:04:59 thorgal kernel: [ 6304.498076] Call Trace:
Feb 10 21:04:59 thorgal kernel: [ 6304.502943] [<800106c0>] show_stack+0x58/0x100
Feb 10 21:04:59 thorgal kernel: [ 6304.511777] [<80478bfc>] dump_stack+0x9c/0xe0
Feb 10 21:04:59 thorgal kernel: [ 6304.520447] [<8047fa94>] nmi_cpu_backtrace+0xe4/0x108
Feb 10 21:04:59 thorgal kernel: [ 6304.530488] [<8047fb80>] nmi_trigger_cpumask_backtrace+0xc8/0x168
Feb 10 21:04:59 thorgal kernel: [ 6304.542606] [<80084dd8>] rcu_dump_cpu_stacks+0xc4/0x13c
Feb 10 21:04:59 thorgal kernel: [ 6304.552993] [<80084228>] rcu_check_callbacks+0x3b4/0x8b8
Feb 10 21:04:59 thorgal kernel: [ 6304.563560] [<800877a8>] update_process_times+0x34/0x7c
Feb 10 21:04:59 thorgal kernel: [ 6304.573963] [<8009838c>] tick_handle_periodic+0x34/0xd0
Feb 10 21:04:59 thorgal kernel: [ 6304.584364] [<803275e0>] gic_compare_interrupt+0x70/0x80
Feb 10 21:04:59 thorgal kernel: [ 6304.594930] [<80077ba0>] handle_percpu_devid_irq+0xbc/0x1a8
Feb 10 21:04:59 thorgal kernel: [ 6304.606024] [<80071ef0>] generic_handle_irq+0x40/0x58
Feb 10 21:04:59 thorgal kernel: [ 6304.616071] [<8025339c>] gic_handle_local_int+0x9c/0xe8
Feb 10 21:04:59 thorgal kernel: [ 6304.626458] [<8025355c>] gic_irq_dispatch+0x10/0x20
Feb 10 21:04:59 thorgal kernel: [ 6304.636153] [<80071ef0>] generic_handle_irq+0x40/0x58
Feb 10 21:04:59 thorgal kernel: [ 6304.646199] [<80495fcc>] do_IRQ+0x1c/0x2c
Feb 10 21:04:59 thorgal kernel: [ 6304.654166] [<8025252c>] plat_irq_dispatch+0xfc/0x138
Feb 10 21:04:59 thorgal kernel: [ 6304.664209] [<8000b5e8>] except_vec_vi_end+0xb8/0xc4
Feb 10 21:04:59 thorgal kernel: [ 6304.674076] [<8006a94c>] queued_spin_lock_slowpath+0x1dc/0x2e0
Feb 10 21:04:59 thorgal kernel: [ 6304.685677] [<802386ac>] rht_deferred_worker+0x20c/0x4f0
Feb 10 21:04:59 thorgal kernel: [ 6304.696236] [<80046230>] process_one_work+0x258/0x400
Feb 10 21:04:59 thorgal kernel: [ 6304.706276] [<80046728>] worker_thread+0x350/0x5b4
Feb 10 21:04:59 thorgal kernel: [ 6304.715806] [<8004c1b8>] kthread+0x130/0x144
Feb 10 21:04:59 thorgal kernel: [ 6304.724291] [<8000b0d8>] ret_from_kernel_thread+0x14/0x1c
10.02.20192114Base systemBug ReportVery LowHighWG302v1 (ixp4xx-generic) LAN (eth0) start and then stop...openwrt-18.06Unconfirmed Task Description

Hello

Device: Netgear WG302v1 ixp4xx
FW: 18.06.1 & 18.06.2

Device problem occurs at boot.
During boot LAN (eth0) become ready (LEDs are lit) and then stop after ~2 or ~3 seconds (LEDs are off).
WAN (radio) interface seems working but Ethernet (eth0) is down.
Impossible to get it up because ifconfig up have no effect.

No packages are installed only stock zImage and Shashfs.

With 18.06.1 (default config, IP after flashing) :
OpenWRT say that ethO is up and ready but eth0 and LEDs are off.
Impossible to reach LuCi or ping a computer with IP 192.168.1.10 (connected through serial console on device)
At boot eth0 stay up sometimes ~ 1 of 20.

With 18.06.2 (default config, IP after flashing) :
It seems there are more information during boot.
Kernel is reporting that br-lan: port 1(eth0) entered disabled stat
ifconfig up/down has no effect.

Step to reproduce:
Flash & boot.

You can find included as attached file 18.06.1 & 18.06.2 dmesg boot log.

Kind Regards

10.02.20192113Base systemBug ReportVery LowMediumLost connection to router after bridgingAllUnconfirmed Task Description

Supply the following if possible:
- Problem occurs on all (at least tp-link 842ndv3,841nd,741nd) devices with ar943x
- Software versions of OpenWrt/LEDE: openwrt 18.06, lede 17.04
- Steps to reproduce

 

1. create switch configuration:
config switch

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

config switch_vlan

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

config switch_vlan

      option device 'switch0'
      option vlan '2'
      option vid '2'
      option ports '0t 3'

config switch_vlan

      option device 'switch0'
      option vlan '3'
      option vid '3'
      option ports '0t 2t'

config switch_vlan

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


2. add interfaces eth0.2, eth0.3, eth0.4 into br-lan bridge

3. now we have unreachable device

10.02.20192112Base systemBug ReportVery LowLowRalink MT7620a + MT7610e evaluation boardTrunkUnconfirmed Task Description

I have a device that identifies as a MT7620A + MT7610e EVB:

cat /proc/cpuinfo
system type             : MediaTek MT7620A ver:2 eco:6
machine                 : Ralink MT7620a + MT7610e evaluation board
processor               : 0
cpu model               : MIPS 24KEc V5.0
BogoMIPS                : 385.84
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16 dsp
shadow register sets    : 1
kscratch registers      : 0
package                 : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

I have been trying to load various openWrt releases onto it. None have been successful, and using the latest release that seems to match this hardware:

https://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt7620/openwrt-18.06.2-ramips-mt7620-mt7620a_mt7610e-squashfs-sysupgrade.bin

I can see, from dmesg, that there is a problem with SPI:

Loading: Got ARP REPLY, set server/gtwy eth addr (1c:39:47:da:8f:4b)
Got it
#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ######################################################
done
Bytes transferred = 3932340 (3c00b4 hex)
NetBootFileXferSize= 003c00b4
Automatic boot of image at addr 0x80A00000 ...
## Booting image at 80a00000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.95
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1437278 Bytes =  1.4 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 128

Starting kernel ...

[    0.000000] Linux version 4.14.95 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7627-753531d)) #0 Mon Jan 28 08:54:32 2019
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Ralink MT7620A evaluation board
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] random: get_random_bytes called from 0x8042472c with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=0003f200
[    0.000000] Readback ErrCtl register=0003f200
[    0.000000] Memory: 125216K/131072K available (3590K kernel code, 178K rwdata, 464K rodata, 176K init, 214K bss, 5856K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 580MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[    0.000000] systick: enable autosleep mode
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.015477] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.087712] pid_max: default: 32768 minimum: 301
[    0.097140] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110157] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.129997] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.149480] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.161658] pinctrl core: initialized pinctrl subsystem
[    0.173277] NET: Registered protocol family 16
[    0.184832] rt2880-pinmux pinctrl: error claiming hogs: -22
[    0.195821] rt2880-pinmux pinctrl: could not claim hogs: -22
[    0.207099] rt2880-pinmux: probe of pinctrl failed with error -22
[    0.220550] Can't analyze schedule() prologue at 8037d498
[    0.231473] mt7620-pci 10140000.pcie: could not find pctldev for node /pinctrl/pcie, deferring probe
[    0.266577] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.277609] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.293963] clocksource: Switched to clocksource systick
[    0.305616] NET: Registered protocol family 2
[    0.315188] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.328966] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.341553] TCP: Hash tables configured (established 1024 bind 1024)
[    0.354324] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.365831] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.378529] NET: Registered protocol family 1
[    0.389802] rt-timer 10000100.timer: maximum frequency is 1220Hz
[    0.402541] Crashlog allocated RAM at address 0x3f00000
[    0.414676] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.433435] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.444930] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.474961] io scheduler noop registered
[    0.482605] io scheduler deadline registered (default)
[    0.493790] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.508955] of_serial 10000c00.uartlite: could not find pctldev for node /pinctrl/uartlite, deferring probe
[    0.528624] cacheinfo: Failed to find cpu0 device node
[    0.538715] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.551498] spi-rt2880 10000b00.spi: could not find pctldev for node /pinctrl/spi, deferring probe
[    0.569831] libphy: Fixed MDIO Bus: probed
[    0.578410] mtk_soc_eth 10100000.ethernet: could not find pctldev for node /pinctrl/ephy, deferring probe
[    0.597719] rt2880_wdt 10000120.watchdog: Initialized
[    0.609110] NET: Registered protocol family 10
[    0.628789] Segment Routing with IPv6
[    0.636102] NET: Registered protocol family 17
[    0.644844] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.670578] 8021q: 802.1Q VLAN Support v1.8
[    0.679558] mt7620-pci 10140000.pcie: could not find pctldev for node /pinctrl/pcie, deferring probe
[    0.697775] of_serial 10000c00.uartlite: could not find pctldev for node /pinctrl/uartlite, deferring probe
[    0.717130] spi-rt2880 10000b00.spi: could not find pctldev for node /pinctrl/spi, deferring probe
[    0.734937] mtk_soc_eth 10100000.ethernet: could not find pctldev for node /pinctrl/ephy, deferring probe
[    0.755186] Warning: unable to open an initial console.
[    0.766222] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    0.781014] Please append a correct "root=" boot option; here are the available partitions:
[    0.797592] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    0.814958] Rebooting in 1 seconds..

This seems very similar to the issue reported here:

https://bugs.openwrt.org/index.php?do=details&task_id=1515&opened=1266&status%5B0%5D=

Though that was for slightly different hardware.

Any ideas...?

10.02.20192111Base systemBug ReportVery LowLowLinksys EA3500 drops internet connectivity but doesn't ...openwrt-18.06Unconfirmed Task Description

On a Linksys EA3500, I’ve flashed 18.06.2 from the OEM firmware. I tried to setup two WPA2 networks (2.4 and 5.0) for my small apartment. I’m able to connect to both networks from laptops and phones, and the router maintains the connections, but internet connectivity gets dropped and picked up in rapid succession - choppy is apropos. But running successive speedtests shows a near constant 11.00-69 Mbit/s connection.

I’ve attached the System log, Kernel log, and a file with `uname -a` and `opkg list-installed`. There are several suspicious RF and TF antenna failures in the logs

I suspected at first it was an issue with the router having too high TX/RX, because I really do have a really small apartment. But that option is set to auto. FWIW, I am able to `ssh` to the router from all my devices OK, but trying to `ssh` to other connected devices on the network is not practical - i.e., it is possible after waiting for the connection for 10+ minutes, and when the connection is made, there is an unbelievable amount of lag.

On IRC, it was suggested that I go to 18.06.0 before trying to put the OEM firmware back. This issue is not unlike this one: https://dev.archive.openwrt.org/ticket/21284.

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='18.06.2'
DISTRIB_REVISION='r7676-cddd7b4c77'
DISTRIB_TARGET='kirkwood/generic'
DISTRIB_ARCH='arm_xscale'
DISTRIB_DESCRIPTION='OpenWrt 18.06.2 r7676-cddd7b4c77'
DISTRIB_TAINTS=''
07.02.20192109Base systemBug ReportVery LowMediumAsus RT-AC51U - LEDs not working at all openwrt-18.06Unconfirmed Task Description

Device: ASUS RT-AC51U
Software: openwrt-18.06.2-ramips-mt7620-rt-ac51u-squashfs-sysupgrade.bin
Packages: default

LED configuration isn’t working at all, tried all possibilities available on the LuCi Interface (only power LED is working)
Tried also switching of LEDs on command line as described on OpenWRT website, but failed
Searched in forum, but only found another user with exactly the same problem

 


06.02.20192107Base systemBug ReportVery LowLowdnsmasq instances can read DHCP host files of all other...TrunkUnconfirmed Task Description

If multiple instances of dnsmasq are configured, then every instance has access to the DHCP host files of all other instances of dnsmasq.

For example, if two instances are configured in /etc/config/dhcp, “default” and “guest”, then when they are started (or if they receive SIGHUP), then each instance will log something like this to syslog:

Thu Feb  7 04:26:47 2019 daemon.info dnsmasq[3092]: read /tmp/hosts/odhcpd - 1 addresses
Thu Feb  7 04:26:47 2019 daemon.info dnsmasq[3092]: read /tmp/hosts/dhcp.default - 2 addresses
Thu Feb  7 04:26:47 2019 daemon.info dnsmasq[3092]: read /tmp/hosts/dhcp.guest - 2 addresses

From /etc/init.d/dnsmasq it doesn’t look like this is intentional, as procd_add_jail_mount() is called with the instance’s own host file ($HOSTFILE) only.

06.02.20192106KernelBug ReportVery LowMediumnew storage and match method required in firewall3/ipse...AllUnconfirmed Task Description

The new version of ipset now incoporates new set type: “hash:mac”.

But in openwrt project firewall3/ipset.c this new set type is not supported (line 68-87).

The result is that while refreshing firewall error message “Section @ipset has an invalid combination of storage method and matches” would appear, and no set type is created.

Please made some revision.

Thank you!

05.02.20192102Base systemBug ReportVery LowHighipq806x: ath10k-firmware-qca9984-ct crashes systemTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

 tplink-c2600
 netgear-r7800

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

 18.06.2

- Steps to reproduce

 opkg remove ath10k-firmware-qca9984 && opkg install ath10k-firmware-qca9984-ct

On both systems using the -ct firmware caused a crash of the router resulting in a reboot. Replacement of the ct with the standard firmware makes the routers stable again.

No crashlogs haven been found (no persistent logging).


05.02.20192101Base systemBug ReportVery LowHighWDS bridge and PPPoE MTU problemAllUnconfirmed Task Description

Device: Netgear R7800
This issue is not present with original Netgear firmware and is not present with LEDE 17 (older kernel).

Preface:
I have very strange issue with interfaces MTU and it looks to be introduced with newer kernel (4.14).

My network is attached as a png:
1. my ISP uses VDSL, i just have a PPPoE (MTU=1492) on the ethernet interface through the ISP modem
2. all other internal clients and routers interfaces have MTU=1500

Ping from R7800 to 1.1.1.1 with 2000 packet size and fragmentation allowed = success
Ping from ArcherC7v2 to R7800 with 2000 packet size and fragmentation allowed = success
Ping from PC1 to R7800 with 2000 packet size and fragmentation allowed = success
Ping from PC2 to R7800 with 2000 packet size and fragmentation allowed = success
Ping from PC1 to 1.1.1.1 with 2000 packet size and fragmentation allowed = failure
Ping from PC2 to 1.1.1.1 with 2000 packet size and fragmentation allowed = success

Now the fun part:
Ping from PC1 to 1.1.1.1 with 1473 packet size and fragmentation allowed = failure
Ping from PC1 to 1.1.1.1 with 1472 packet size (1492-20) and fragmentation allowed = success

It seems a WDS (4addr) problem combined with PPPoE being at MTU=1492 at this point, but:
Ping from ArcherC7v2 to 1.1.1.1 with 2000 packet size and fragmentation allowed = success

I’ve messed up with MTU on all the interfaces, the only thing that fix the issue is setting the br-lan interface of the R7800 to MTU=1491, as soon as the bridge has MTU>1491 the pings fail.

R7800 network config

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

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

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '5 0t'

config interface 'lan'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option stp '1'
        option mtu '1500'
        option ifname 'eth1.1'

config interface 'TIM_FTTC'
        option proto 'pppoe'
        option ifname 'eth0.2'
        option username '***'
        option password '***'
        option ipv6 'auto'
        option metric '1'
        option peerdns '0'
        option keepalive '5 6'

R7800 wireless config

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11a'
        option path 'soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
        option htmode 'VHT80'
        option channel '136'
        option txpower '23'
        option country 'US'
        option legacy_rates '0'
        option noscan '1'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option mode 'ap'
        option ssid '***'
        option encryption 'psk2+ccmp'
        option key '***'
        option wps_pushbutton '0'
        option network 'lan'
        option wds '1'

ArcherC7v2 network config

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

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

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '5 0t'

config interface 'lan'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.2'
        option netmask '255.255.255.0'
        option stp '1'
        option mtu '1500'
        option ifname 'eth1.1'

ArcherC7v2 wireless config

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '36'
        option hwmode '11a'
        option path 'pci0000:01/0000:01:00.0'
        option htmode 'VHT80'
        option txpower '23'
        option country 'US'
        option legacy_rates '0'
        option noscan '1'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option mode 'sta'
        option wds '1'
        option ssid '***'
        option encryption 'psk2+ccmp'
        option key '***'
        option wps_pushbutton '0'
        option network 'lan'

WAN zone on firewall on R7800 has

option mtu_fix '1'
02.02.20192097KernelBug ReportVery LowLowmt7621 nand mtd slave fail to read same page twiceTrunkUnconfirmed Task Description

For my setup, only ‘firmware’ partition is specified in .dts (no ‘kernel’ or ‘rootfs’) so that mtdsplit can do its job of finding the correct offset for ubi parition.

mtdsplit found the ubi slave partition but attaching the ubi failed so kernel panicked due to lack of a root fs.

I narrowed down the issue to data all zero read when doing ubi_auto_attach().

Observe in below added printk in nand_do_read_ops() that 0×580000 was read once at 2.028127s and again at 3.682984s but the data are different:

[    1.166183] 7 fixed-partitions partitions found on MTD device MT7621-NAND
[    1.172957] Creating 7 MTD partitions on "MT7621-NAND": ***
[    1.178513] 0x000000000000-0x000000080000 : "uboot"
[    1.207245] 0x000000080000-0x0000000c0000 : "uboot_env"
[    1.237246] 0x0000000c0000-0x000000100000 : "factory"
[    1.266565] 0x000000100000-0x000000140000 : "s_env"
[    1.295219] 0x000000140000-0x000000180000 : "devinfo"
[    1.324541] 0x000000180000-0x000002980000 : "firmware"
[    1.902188] nand: read 4bytes 34f983(3471747): @8fc35b60=0 (retlen=4)
[    1.909212] nand: read 4bytes 360000(3538944): @8fc35b60=0 (retlen=4)
[    1.916224] nand: read 4bytes 380000(3670016): @8fc35b60=0 (retlen=4)
[    1.923224] nand: read 4bytes 3a0000(3801088): @8fc35b60=0 (retlen=4)
[    1.930201] nand: read 4bytes 3c0000(3932160): @8fc35b60=0 (retlen=4)
[    1.937204] nand: read 4bytes 3e0000(4063232): @8fc35b60=0 (retlen=4)
[    1.944203] nand: read 4bytes 400000(4194304): @8fc35b60=0 (retlen=4)
[    1.951180] nand: read 4bytes 420000(4325376): @8fc35b60=0 (retlen=4)
[    1.958183] nand: read 4bytes 440000(4456448): @8fc35b60=0 (retlen=4)
[    1.965183] nand: read 4bytes 460000(4587520): @8fc35b60=0 (retlen=4)
[    1.972160] nand: read 4bytes 480000(4718592): @8fc35b60=0 (retlen=4)
[    1.979163] nand: read 4bytes 4a0000(4849664): @8fc35b60=0 (retlen=4)
[    1.986162] nand: read 4bytes 4c0000(4980736): @8fc35b60=0 (retlen=4)
[    1.993172] nand: read 4bytes 4e0000(5111808): @8fc35b60=0 (retlen=4)
[    2.000150] nand: read 4bytes 500000(5242880): @8fc35b60=0 (retlen=4)
[    2.007147] nand: read 4bytes 520000(5373952): @8fc35b60=0 (retlen=4)
[    2.014152] nand: read 4bytes 540000(5505024): @8fc35b60=0 (retlen=4)
[    2.021130] nand: read 4bytes 560000(5636096): @8fc35b60=0 (retlen=4)
[    2.028127] nand: read 4bytes 580000(5767168): @8fc35b60=23494255 (retlen=4)
[    2.035166] mtdsplit: mtd_check_rootfs_magic(firmware, offset=4194304) got UBI_EC_MAGIC (magic=23494255)
[    2.044625] 2 uimage-fw partitions found on MTD device firmware
[    2.050514] run_parsers_by_type(firmware, MTD_PARSER_TYPE_FIRMWARE) found 2 parts
[    2.057997] 0x000000180000-0x000000580000 : "kernel"
[    2.087096] 0x000000580000-0x000002980000 : "ubi"
[    2.115345] 0x000002980000-0x000005180000 : "alt_firmware"
[    2.146730] [mtk_nand] probe successfully!
[    2.151499] Signature matched and data read!
[    2.155764] load_fact_bbt success 1023
[    2.160202] libphy: Fixed MDIO Bus: probed
[    2.234009] mtk_soc_eth 1e100000.ethernet: generated random MAC address 3e:90:49:dc:0e:f4
[    2.242383] libphy: mdio: probed
[    3.645190] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    3.651851] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    3.662579] NET: Registered protocol family 10
[    3.668281] Segment Routing with IPv6
[    3.672014] NET: Registered protocol family 17
[    3.676546] 8021q: 802.1Q VLAN Support v1.8
[    3.682984] nand: read 4bytes 580000(5767168): @8fc35e1c=0 (retlen=4)
[    3.689426] UBI mtd_read(ubi, offset=0, 4 bytes) got magic@8fc35e1c bytes: 0
[    3.696477] UBI error: no valid UBI magic found inside mtd7
[    3.702054] hctosys: unable to open rtc device (rtc0)
[    3.707847] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6

I added ops.oobbuf = 1 in nand_read() and the issue went away seemingly due to disabling of read from chip buffer (near line 1903 in nand_base.c). Observe below printk indicates now reading same address returns same data both times (3.188661s and 4.854364s):

[    3.153685] nand: read 4bytes 4e0000(5111808): @8fc35b60=0 (retlen=4)
[    3.160662] nand: read 4bytes 500000(5242880): @8fc35b60=0 (retlen=4)
[    3.167676] nand: read 4bytes 520000(5373952): @8fc35b60=0 (retlen=4)
[    3.174678] nand: read 4bytes 540000(5505024): @8fc35b60=0 (retlen=4)
[    3.181655] nand: read 4bytes 560000(5636096): @8fc35b60=0 (retlen=4)
[    3.188661] nand: read 4bytes 580000(5767168): @8fc35b60=23494255 (retlen=4)
[    3.195698] mtdsplit: mtd_check_rootfs_magic(firmware, offset=4194304) got UBI_EC_MAGIC (magic=23494255)
[    3.205161] 2 uimage-fw partitions found on MTD device firmware
[    3.211051] run_parsers_by_type(firmware, MTD_PARSER_TYPE_FIRMWARE) found 2 parts
[    3.218530] 0x000000180000-0x000000580000 : "kernel"
[    3.247625] 0x000000580000-0x000002980000 : "ubi"
[    3.275885] 0x000002980000-0x000005180000 : "alt_firmware"
[    3.307291] [mtk_nand] probe successfully!
[    3.312061] Signature matched and data read!
[    3.316326] load_fact_bbt success 1023
[    3.320776] libphy: Fixed MDIO Bus: probed
[    3.393926] mtk_soc_eth 1e100000.ethernet: generated random MAC address d6:1b:2e:2e:17:74
[    3.402252] libphy: mdio: probed
[    4.815958] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.822595] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    4.833311] NET: Registered protocol family 10
[    4.839073] Segment Routing with IPv6
[    4.842892] NET: Registered protocol family 17
[    4.847360] 8021q: 802.1Q VLAN Support v1.8
[    4.854364] nand: read 4bytes 580000(5767168): @8fc35e1c=23494255 (retlen=4)
[    4.861399] UBI mtd_read(ubi, offset=0, 4 bytes) got magic@8fc35e1c bytes: 23494255
[    4.869062] UBI: auto-attach mtd7
[    4.872414] ubi0: attaching mtd7
[    4.892381] UBI: EOF marker found, PEBs from 14 will be erased
[    4.898547] ubi0: scanning is finished
[    4.940681] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 252 LEBs
[    4.948006] ubi0: attached mtd7 (name "ubi", size 36 MiB)
[    4.953428] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.960270] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.967044] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.973995] ubi0: good PEBs: 287, bad PEBs: 1, corrupted PEBs: 0
[    4.979971] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.987175] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1003525433
[    4.996288] ubi0: available PEBs: 0, total reserved PEBs: 287, PEBs reserved for bad PEB handling: 19
[    5.005507] ubi0: background thread "ubi_bgt0d" started, PID 354
[    5.006121] nand: read 4bytes 5c1000(6033408): @8fc35d8c=73717368 (retlen=4)
[    5.019595] block ubiblock0_0: created from ubi0:0(rootfs)
[    5.025122] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    5.032069] hctosys: unable to open rtc device (rtc0)

I don’t know what oobbuf does and what’s the wider impact so what is the real problem and fix?

Thanks.

Let met know what other information is needed.

02.02.20192096Base systemBug ReportVery LowLowA second 'make' always rebuilds somethingTrunkUnconfirmed Task Description

After a full OpenWrt Git HEAD build finishes, running “make” repeatedly again always rebuilds something. Another user is reporting that a subsequent build takes 5 minutes on his Fedora 27 desktop, which I am also seeing on my oldish Ubuntu 16.04.5 laptop.

Some more information is in the original mailing list discussion. This is the first message in the relevant thread:

http://lists.infradead.org/pipermail/openwrt-devel/2019-January/015648.html

Please find attached a build script to reproduce this problem, and a full build log file from my laptop.

Look for “Running the second make...” in the log file. Afterwards, things like these are being rebuilt, which probably should not:

make[6]: Entering directory ‘/home/rdiez/rdiez/freifunk/openwrt/git-repo/build_dir/target-x86_64_musl/uci-2018-08-11-4c8b4d6e’ [ 5%] Building C object CMakeFiles/uci.dir/libuci.c.o
[ 10%] Building C object CMakeFiles/uci.dir/file.c.o

Showing tasks 201 - 250 of 908 Page 5 of 19<<First - 3 - 4 - 5 - 6 - 7 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing