OpenWrt/LEDE Project

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

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

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

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

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

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

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

05.11.20171149KernelBug ReportVery LowMediumAR934X built-in switch link up/downTrunkUnconfirmed Task Description

Router : TP-LINK TL-WNR42N
revision : snapshot r5049

eth1 is connected to built-in switch
when PC connected to build-in switch reboots or shuts down link on router goes down for 1..5 seconds then goes up again

[60901.826180] eth1: link down
[60901.829869] br-lan: port 1(eth1) entered disabled state
[60903.330951] eth1: link up (1000Mbps/Full duplex)
[60903.335981] br-lan: port 1(eth1) entered forwarding state
[60903.341694] br-lan: port 1(eth1) entered forwarding state
[60905.345126] br-lan: port 1(eth1) entered forwarding state

I suspect it should not happen. ethernet device should not react to change of link state on particular switch ports

06.11.20171153Base systemFeature RequestVery LowHighConsider security monitoring featuresTrunkUnconfirmed Task Description

I see it as email notification about security events.

Examples of security events:

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

Monitoring is very important part of security.

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

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

Config details:

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

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

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

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

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

If you need further details, let me know

regards Klaus


11.11.20171162Base systemBug ReportVery LowLowwpa_supplicant dead loop in fuction wpas_ctrl_msg_queue...TrunkUnconfirmed Task Description

lede-17.01
https://github.com/lede-project/source.git 4c3953ba291abfb1d28b1452b6e519367bf4f242

db120

I am test ath9k Stability. And after 1 day. wpa_supplicant MSG_DUMP loop:

daemon.debug wpa_supplicant[9844]: CTRL: Had to throttle pending event message transmission for (sock 18 gsock -1)

I have two clients device connect ap. Both two clients all report this log. But ap have no any info. And restart wpa_supplicant with wifi. Log is missing.

14.11.20171169Base systemBug ReportVery LowMediumTP-Link Archer C7 no Wan on intial bootupTrunkUnconfirmed Task Description

On initial bootup my Tp-Link Archer C7 v2 will not get a WAN address using the LEDE firmware. Although the cable is connected and there is a link light the WAN interfaces for v4 and v6 simply say “notconnected”. A manual disable/enable does not resolve the problem the only fix is a physical disconnect and reconnect of the ethernet cable to the WAN interface on the router.

Some other information.
This happens with my Comcast ISP via a cable modem pulling a dhcp and a IPv6-PD address. (Neither comes up)
The connection is a gigabit ethernet connection via a known good cable (tested via a Fluke cable tester).
I have tried multiple modems (Netgear, and 2 Motorola modems)

This happen with any version of LEDE I have tried.

18.11.20171176Base systemBug ReportVery LowLowthermal thermal_zone0: failed to read out thermal zone ...TrunkUnconfirmed Task Description

Supply the following if possible:

- Device problem occurs on

     TP-Link Archer C2600 v1.0 - https://lede-project.org/toh/hwdata/tp-link/tp-link_archer_c2600

- Software versions of LEDE release, packages, etc.

     LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.315.61305-a9bddc4)
     Kernel Version	4.4.92

- Steps to reproduce: N/A

 

Error regarding thermal within kernel log: 56757.023342] thermal thermal_zone0: failed to read out thermal zone (-110)

Appears this issue had a patch supplied in 2015? https://patchwork.kernel.org/patch/5978221/

On Tue, Mar 10, 2015 at 04:06:46PM +0100, Hans de Goede wrote:
> Some temperature sensors only get updated every few seconds and while
> waiting for the first irq reporting a (new) temperature to happen there
> get_temp operand will return -EAGAIN as it does not have any data to report
> yet.
>
> Not logging an error in this case avoids messages like these from showing
> up in dmesg on affected systems:
>
> [ 1.219353] thermal thermal_zone0: failed to read out thermal zone 0
> [ 2.015433] thermal thermal_zone0: failed to read out thermal zone 0
> [ 2.416737] thermal thermal_zone0: failed to read out thermal zone 0
>
> Signed-off-by: Hans de Goede hdegoede@redhat.com

22.11.20171183KernelFeature RequestVery LowLowAdd congestion control for low priority flowsAllUnconfirmed Task Description

Hello,

It would be nice to include package for alternative congestion control mechanisms.

Especially some application can use tcp_lp (low priroriry) to optimise traffic.
Seems a start altought i need to document myself a bit more concerning ledbat state on linux.

Cedric


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

Hi LEDE folks!

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

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

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

Steps to reproduce:

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

06.12.20171209Base systemBug ReportVery LowMediumWiFi random disconnection on WRT3200ACMTrunkUnconfirmed Task Description

Router: Linksys WRT3200ACM

LEDE: Powered by LuCI lede-17.01 branch (git-17.290.79498-d3f0685) / LEDE Reboot 17.01.4 r3560-79f57e422d

Kernel: 4.4.92

Forum thread: https://forum.openwrt.org/viewtopic.php?pid=369295#p369295

mwlwifi version: kmod-mwlwifi - 4.4.92+10.3.4.0.git-2017-06-06-1

Wireless radio0 is working perfectly fine but not on radio1 or radio2. There’s random disconnection, can happen 3 times a day or once per 3 day. Only solution is to reboot the router. See the forum thread for more information.

10.12.20171216Base systemFeature RequestVery LowLowkmod-mwlwifi: Driver update to support 802.11r FTTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: WRT1900AC + WRT1900ACS
- Software versions of LEDE release, packages, etc.: TRUNK

Commit 760f7bf1b8af6c899ccb14d47e8b987ed9a62adf on Nov 6th updated the mwlwifi driver to accept and MDIE Beacon parameter from hostapd. I have compiled this version in the 17.01.4 SDK and been running for roughly a month with no issues. Please update the firmware for the next release, if possible.

https://github.com/kaloz/mwlwifi/commit/760f7bf1b8af6c899ccb14d47e8b987ed9a62adf

If there is anything I can provide to help out, please let know!

21.12.20171237OtherBug ReportVery LowLowsnmpd does not report connected clients correctlyTrunkUnconfirmed Task Description

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

 

The commonly used OID 1.3.6.1.2.1.4.22.1.2 does not report a complete list of clients.

Using snmpd 5.7.3-3 on LEDE 17.01.04, ssh in and display a list of connected clients with iwinfo wlan0 assoclist. To query via SNMP from another machine, use snmpwalk -v2c 172.24.32.15 1.3.6.1.2.1.4.22.1.2

mini-snmpd and mini_snmpd both seem to be unavailable as alternatives.

22.12.20171238PackagesBug ReportVery LowMediumcurl: https request returns 'Illegal instruction'TrunkUnconfirmed Task Description

Environment:

root@LEDE:~# cat /etc/os-release
NAME="LEDE"
VERSION="17.01.4, Reboot"
ID="lede"
ID_LIKE="lede openwrt"
PRETTY_NAME="LEDE Reboot 17.01.4"
VERSION_ID="17.01.4"
HOME_URL="http://lede-project.org/"
BUG_URL="http://bugs.lede-project.org/"
SUPPORT_URL="http://forum.lede-project.org/"
BUILD_ID="r3560-79f57e422d"
LEDE_BOARD="mpc85xx/generic"
LEDE_ARCH="powerpc_8540"
LEDE_TAINTS="no-all"
LEDE_DEVICE_MANUFACTURER="LEDE"
LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/"
LEDE_DEVICE_PRODUCT="Generic"
LEDE_DEVICE_REVISION="v0"
LEDE_RELEASE="LEDE Reboot 17.01.4 r3560-79f57e422d"

Description:

I’m using oficial stable release for TP-Link TL-WDR4900 v1 and when I try to use curl I give the following error:

root@LEDE:~# curl https://google.com
Illegal instruction

I have installed all curl dependencies and ca-certificates:

root@LEDE:~# opkg list-installed | egrep "ssl|curl|mbed|ddns"
curl - 7.52.1-6
ddns-scripts - 2.7.6-13
ddns-scripts_cloudflare.com-v4 - 2.7.6-13
libcurl - 7.52.1-6
libmbedtls - 2.6.0-1
libopenssl - 1.0.2n-1
luci-app-ddns - 2.4.8-2
openvpn-openssl - 2.4.4-2

And wget works well:

root@LEDE:~# wget https://google.com
--2017-12-18 13:25:10--  https://google.com/
Resolving google.com... 178.60.128.37, 178.60.128.42, 178.60.128.20, ...
Connecting to google.com|178.60.128.37|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://www.google.es/?gfe_rd=cr&dcr=0&ei=prM3Wp3qOeGs8wfNpI_gDg [following]
--2017-12-18 13:25:10--  https://www.google.es/?gfe_rd=cr&dcr=0&ei=prM3Wp3qOeGs8wfNpI_gDg
Resolving www.google.es... 172.217.21.67, 2a00:1450:4006:807::2003
Connecting to www.google.es|172.217.21.67|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'index.html'

index.html                                       [ <=>     ]  12.82K  81.4KB/s    in 0.2s    

2017-12-18 13:25:11 (81.4 KB/s) - 'index.html' saved [13132]

There is an issue with `curl - 7.52.1-6`?

22.12.20171239PackagesBug ReportVery LowLowuhttpd package comes with /etc/config/uhttpd file that ...TrunkUnconfirmed Task Description

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

root@OpenWRT:~# cat /etc/openwrt_release
DISTRIB_ID=’OpenWrt’ DISTRIB_RELEASE=’SNAPSHOT’ DISTRIB_REVISION=’r5601-efa22b1’ DISTRIB_TARGET=’ar71xx/generic’ DISTRIB_ARCH=’mips_24kc’ DISTRIB_DESCRIPTION=’OpenWrt SNAPSHOT r5601-efa22b1’ DISTRIB_TAINTS=’’ root@OpenWRT:~# cat /etc/board.json
{

"model": {
	"id": "tl-wdr4300",
	"name": "TP-Link TL-WDR3600 v1"
},

...

to reproduce:
- install lede
- run lua/luci, modify configuration somehow and save, so that /etc/config/uhttpd is overwritten
- flash corresponding sysupgrade.bin with “[x] keepsettings” - ssh root@OpenWRT.localnet opkg update
- ssh root@OpenWRT.localnet opkg install luci-ssl strace snmpd snmp-mibs lsof rsyslog diffutils vim less

note in output:

Collected errors:
* resolve_conffiles: Existing conffile /etc/config/uhttpd is different from the conffile in the new package. The new conffile will be placed at /etc/config/uhttpd-opkg.
* resolve_conffiles: Existing conffile /etc/config/luci is different from the conffile in the new package. The new conffile will be placed at /etc/config/luci-opkg.

The contents of uhttpd-opkg and uhttpd are quite the same, the lua/luci version being without comments and with ‘quoted’ values (see attached file).

A resolution of “wont fix” would be absolutely acceptable.

Kind regards,
Dominik

29.12.20171246Base systemBug ReportVery LowLowUbnt Nanostation Loco M2 - WDS link drops out after a f...TrunkUnconfirmed Task Description

Ubnt Nanostation Loco M2 - WDS link drops out after a few hours
I have a pair of Nanostation Loco M2 access points setup as a wireless bridge over a ~1300 foot (~400M) line of sight link.
I have had LEDE 17.01.3, 17.0.4 and OpenWrt SNAPSHOT r5499-575178e / LuCI Master (git-17.343.27587-8e6b1a6).

One is setup as a WDS AP and the other is setup as a WDS Client, after a few hours (4-12 hours?) the link drops out but still says that is connected (if I go to status it shows the other AP as connected but I cannot ping or do anything else across the link).
If I restart the wireless service on the client, the connection comes right back and all is well for a 4-12 hours.
Anyone have any suggestions on where to look? Below are the kernel and system logs for the time period in question:

AP Config files:
/etc/config/network:

config interface 'lan'
	option type 'bridge'
	option ifname 'eth0'
	option proto 'static'
	option netmask '255.255.255.0'
	option ipaddr 'x.x.x.2'
	option gateway 'x.x.x.1'
	option dns 'x.x.x.1'

/etc/config/wireless:

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'pci0000:00/0000:00:00.0'
	option channel '1'
	option country 'US'
	option htmode 'HT40'
	option distance '400'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'LAN_bridge'
	option wds '1'
	option key 'SECRET'
	option encryption 'psk2+tkip+ccmp'

Client Config files:
/etc/config/network:

config interface 'lan'
	option type 'bridge'
	option proto 'static'
	option netmask '255.255.255.0'
	option ipaddr 'x.x.x.3'
	option gateway 'x.x.x.1'
	option dns 'x.x.x.1'
	option _orig_ifname 'eth0'
	option _orig_bridge 'true'
	option ifname 'eth0'
	option delegate '0'

/etc/config/wireless:

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'pci0000:00/0000:00:00.0'
	option channel '1'
	option htmode 'HT40'
	option country 'US'
	option distance '400'

config wifi-iface
	option ssid 'LAN_bridge'
	option device 'radio0'
	option mode 'sta'
	option bssid 'AP_BSSID'
	option key 'SECRET'
	option wds '1'
	option network 'lan'
	option encryption 'psk2+tkip+ccmp'

AP Syslog:

Sun Nov 26 14:01:13 2017 daemon.info hostapd: wlan0: STA ClientMAC WPA: group key handshake completed (RSN)
Sun Nov 26 14:11:13 2017 daemon.info hostapd: wlan0: STA ClientMAC WPA: group key handshake completed (RSN)
Sun Nov 26 14:21:13 2017 daemon.info hostapd: wlan0: STA ClientMAC WPA: group key handshake completed (RSN)
Sun Nov 26 14:31:13 2017 daemon.info hostapd: wlan0: STA ClientMAC WPA: group key handshake completed (RSN)
Sun Nov 26 14:41:13 2017 daemon.info hostapd: wlan0: STA ClientMAC WPA: group key handshake completed (RSN)
Sun Nov 26 14:51:13 2017 daemon.info hostapd: wlan0: STA ClientMAC WPA: group key handshake completed (RSN)
Sun Nov 26 15:01:13 2017 daemon.info hostapd: wlan0: STA ClientMAC WPA: group key handshake completed (RSN)
Sun Nov 26 15:11:13 2017 daemon.info hostapd: wlan0: STA ClientMAC WPA: group key handshake completed (RSN)
Sun Nov 26 15:21:13 2017 daemon.info hostapd: wlan0: STA ClientMAC WPA: group key handshake completed (RSN)
**Somewhere in here the link dropped out and I rebooted the client**
Sun Nov 26 15:28:14 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED ClientMAC
Sun Nov 26 15:28:14 2017 kern.info kernel: [1893620.914221] device wlan0.sta1 left promiscuous mode
Sun Nov 26 15:28:14 2017 kern.info kernel: [1893620.919427] br-lan: port 3(wlan0.sta1) entered disabled state
Sun Nov 26 15:28:52 2017 daemon.info hostapd: wlan0: STA ClientMAC IEEE 802.11: authenticated
Sun Nov 26 15:28:52 2017 daemon.info hostapd: wlan0: STA ClientMAC IEEE 802.11: associated (aid 1)
Sun Nov 26 15:28:52 2017 kern.info kernel: [1893659.422460] device wlan0.sta1 entered promiscuous mode
Sun Nov 26 15:28:52 2017 kern.info kernel: [1893659.440920] br-lan: port 3(wlan0.sta1) entered forwarding state
Sun Nov 26 15:28:52 2017 kern.info kernel: [1893659.447086] br-lan: port 3(wlan0.sta1) entered forwarding state
Sun Nov 26 15:28:53 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED ClientMAC
Sun Nov 26 15:28:53 2017 daemon.info hostapd: wlan0: STA ClientMAC WPA: pairwise key handshake completed (RSN)
Sun Nov 26 15:28:54 2017 kern.info kernel: [1893661.440359] br-lan: port 3(wlan0.sta1) entered forwarding state
Sun Nov 26 15:31:13 2017 daemon.info hostapd: wlan0: STA ClientMAC WPA: group key handshake completed (RSN)
Sun Nov 26 15:41:13 2017 daemon.info hostapd: wlan0: STA ClientMAC WPA: group key handshake completed (RSN)

AP Kernel Log:

[1649563.614654] br-lan: port 1(eth0) entered disabled state
[1649564.612365] eth0: link up (100Mbps/Full duplex)
[1649564.617165] br-lan: port 1(eth0) entered forwarding state
[1649564.622888] br-lan: port 1(eth0) entered forwarding state
[1649566.620738] br-lan: port 1(eth0) entered forwarding state
[1652624.237670] ------------[ cut here ]------------
[1652624.242540] WARNING: CPU: 0 PID: 0 at compat-wireless-2017-01-31/net/mac80211/rx.c:4214 0x80da5cf0 [mac80211@80d80000+0x60780]()
[1652624.254355] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 113 (0x71)
[1652624.264049] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[1652624.328632] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.4.89 #0
[1652624.335791] Stack : 803875b4 00000000 00000001 803e0000 00000000 00000000 00000000 00000000
[1652624.335791] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.335791] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.335791] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.335791] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.335791] 	  ...
[1652624.371919] Call Trace:[<80071a8c>] 0x80071a8c
[1652624.376597] [<80071a8c>] 0x80071a8c
[1652624.380290] [<80081888>] 0x80081888
[1652624.383987] [<80da5cf0>] 0x80da5cf0 [mac80211@80d80000+0x60780]
[1652624.390133] [<800818e4>] 0x800818e4
[1652624.393854] [<80da5cf0>] 0x80da5cf0 [mac80211@80d80000+0x60780]
[1652624.399981] [<80260a14>] 0x80260a14
[1652624.403663] [<80260bf8>] 0x80260bf8
[1652624.407374] [<80ce8388>] 0x80ce8388 [ath9k_common@80ce8000+0x4800]
[1652624.413800] [<80e677f4>] 0x80e677f4 [ath9k@80e60000+0x16650]
[1652624.419701] [<80e677d4>] 0x80e677d4 [ath9k@80e60000+0x16650]
[1652624.425575] [<80e64a44>] 0x80e64a44 [ath9k@80e60000+0x16650]
[1652624.431446] [<80084448>] 0x80084448
[1652624.435130] [<80083e04>] 0x80083e04
[1652624.438821] [<800a8014>] 0x800a8014
[1652624.442508] [<8006a990>] 0x8006a990
[1652624.446194] [<80060bf4>] 0x80060bf4
[1652624.449876] 
[1652624.451557] ---[ end trace 86b60d5fad42c0e7 ]---
[1652624.456661] ------------[ cut here ]------------
[1652624.461517] WARNING: CPU: 0 PID: 0 at compat-wireless-2017-01-31/net/mac80211/rx.c:4214 0x80da5cf0 [mac80211@80d80000+0x60780]()
[1652624.473297] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 113 (0x71)
[1652624.482988] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[1652624.547552] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.4.89 #0
[1652624.554704] Stack : 803875b4 00000000 00000001 803e0000 00000000 00000000 00000000 00000000
[1652624.554704] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.554704] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.554704] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.554704] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.554704] 	  ...
[1652624.590833] Call Trace:[<80071a8c>] 0x80071a8c
[1652624.595502] [<80071a8c>] 0x80071a8c
[1652624.599197] [<80081888>] 0x80081888
[1652624.602893] [<80da5cf0>] 0x80da5cf0 [mac80211@80d80000+0x60780]
[1652624.609038] [<800818e4>] 0x800818e4
[1652624.612760] [<80da5cf0>] 0x80da5cf0 [mac80211@80d80000+0x60780]
[1652624.618896] [<80260a14>] 0x80260a14
[1652624.622578] [<80260bf8>] 0x80260bf8
[1652624.626277] [<80ce8388>] 0x80ce8388 [ath9k_common@80ce8000+0x4800]
[1652624.632718] [<80e677f4>] 0x80e677f4 [ath9k@80e60000+0x16650]
[1652624.638615] [<80e677d4>] 0x80e677d4 [ath9k@80e60000+0x16650]
[1652624.644489] [<80e64a44>] 0x80e64a44 [ath9k@80e60000+0x16650]
[1652624.650366] [<80084448>] 0x80084448
[1652624.654046] [<80083e04>] 0x80083e04
[1652624.657738] [<800a8014>] 0x800a8014
[1652624.661423] [<8006a990>] 0x8006a990
[1652624.665109] [<80060bf4>] 0x80060bf4
[1652624.668791] 
[1652624.670471] ---[ end trace 86b60d5fad42c0e8 ]---
[1652624.675578] ------------[ cut here ]------------
[1652624.680433] WARNING: CPU: 0 PID: 0 at compat-wireless-2017-01-31/net/mac80211/rx.c:4214 0x80da5cf0 [mac80211@80d80000+0x60780]()
[1652624.692211] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 113 (0x71)
[1652624.701903] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[1652624.766474] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.4.89 #0
[1652624.773641] Stack : 803875b4 00000000 00000001 803e0000 00000000 00000000 00000000 00000000
[1652624.773641] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.773641] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.773641] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.773641] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.773641] 	  ...
[1652624.809756] Call Trace:[<80071a8c>] 0x80071a8c
[1652624.814426] [<80071a8c>] 0x80071a8c
[1652624.818120] [<80081888>] 0x80081888
[1652624.821816] [<80da5cf0>] 0x80da5cf0 [mac80211@80d80000+0x60780]
[1652624.827961] [<800818e4>] 0x800818e4
[1652624.831683] [<80da5cf0>] 0x80da5cf0 [mac80211@80d80000+0x60780]
[1652624.837810] [<80260a14>] 0x80260a14
[1652624.841493] [<80260bf8>] 0x80260bf8
[1652624.845192] [<80ce8388>] 0x80ce8388 [ath9k_common@80ce8000+0x4800]
[1652624.851632] [<80e677f4>] 0x80e677f4 [ath9k@80e60000+0x16650]
[1652624.857530] [<80e677d4>] 0x80e677d4 [ath9k@80e60000+0x16650]
[1652624.863403] [<80e64a44>] 0x80e64a44 [ath9k@80e60000+0x16650]
[1652624.869275] [<80084448>] 0x80084448
[1652624.872960] [<80083e04>] 0x80083e04
[1652624.876638] [<800a8014>] 0x800a8014
[1652624.880331] [<8006a990>] 0x8006a990
[1652624.884015] [<80060bf4>] 0x80060bf4
[1652624.887697] 
[1652624.889376] ---[ end trace 86b60d5fad42c0e9 ]---
[1652624.894482] ------------[ cut here ]------------
[1652624.899340] WARNING: CPU: 0 PID: 0 at compat-wireless-2017-01-31/net/mac80211/rx.c:4214 0x80da5cf0 [mac80211@80d80000+0x60780]()
[1652624.911125] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 113 (0x71)
[1652624.920817] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[1652624.985380] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.4.89 #0
[1652624.992546] Stack : 803875b4 00000000 00000001 803e0000 00000000 00000000 00000000 00000000
[1652624.992546] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.992546] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.992546] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.992546] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1652624.992546] 	  ...
[1652625.028662] Call Trace:[<80071a8c>] 0x80071a8c
[1652625.033331] [<80071a8c>] 0x80071a8c
[1652625.037027] [<80081888>] 0x80081888
[1652625.040722] [<80da5cf0>] 0x80da5cf0 [mac80211@80d80000+0x60780]
[1652625.046868] [<800818e4>] 0x800818e4
[1652625.050589] [<80da5cf0>] 0x80da5cf0 [mac80211@80d80000+0x60780]
[1652625.056714] [<80260a14>] 0x80260a14
[1652625.060410] [<80260bf8>] 0x80260bf8
[1652625.064115] [<80ce8388>] 0x80ce8388 [ath9k_common@80ce8000+0x4800]
[1652625.070555] [<80e677f4>] 0x80e677f4 [ath9k@80e60000+0x16650]
[1652625.076442] [<80e677d4>] 0x80e677d4 [ath9k@80e60000+0x16650]
[1652625.082330] [<80e64a44>] 0x80e64a44 [ath9k@80e60000+0x16650]
[1652625.088198] [<80084448>] 0x80084448
[1652625.091882] [<80083e04>] 0x80083e04
[1652625.095561] [<800a8014>] 0x800a8014
[1652625.099258] [<8006a990>] 0x8006a990
[1652625.102938] [<80060bf4>] 0x80060bf4
[1652625.106607] 
[1652625.108295] ---[ end trace 86b60d5fad42c0ea ]---
[1656961.531085] device wlan0.sta1 left promiscuous mode
[1656961.536375] br-lan: port 3(wlan0.sta1) entered disabled state
[1657000.400508] device wlan0.sta1 entered promiscuous mode
[1657000.416849] br-lan: port 3(wlan0.sta1) entered forwarding state
[1657000.423019] br-lan: port 3(wlan0.sta1) entered forwarding state
[1657002.415840] br-lan: port 3(wlan0.sta1) entered forwarding state
[1729152.802304] eth0: link down
[1729152.805769] br-lan: port 1(eth0) entered disabled state
[1729180.803335] eth0: link up (100Mbps/Full duplex)
[1729180.808173] br-lan: port 1(eth0) entered forwarding state
[1729180.813898] br-lan: port 1(eth0) entered forwarding state
[1729182.811672] br-lan: port 1(eth0) entered forwarding state
[1893620.914221] device wlan0.sta1 left promiscuous mode
[1893620.919427] br-lan: port 3(wlan0.sta1) entered disabled state
[1893659.422460] device wlan0.sta1 entered promiscuous mode
[1893659.440920] br-lan: port 3(wlan0.sta1) entered forwarding state
[1893659.447086] br-lan: port 3(wlan0.sta1) entered forwarding state
[1893661.440359] br-lan: port 3(wlan0.sta1) entered forwarding state
[1894771.793057] device wlan0.sta1 left promiscuous mode
[1894771.798391] br-lan: port 3(wlan0.sta1) entered disabled state
[1894777.535302] device wlan0.sta1 entered promiscuous mode
[1894777.547462] br-lan: port 3(wlan0.sta1) entered forwarding state
[1894777.553631] br-lan: port 3(wlan0.sta1) entered forwarding state
[1894779.546485] br-lan: port 3(wlan0.sta1) entered forwarding state
[1895148.287966] device wlan0.sta1 left promiscuous mode
[1895148.293178] br-lan: port 3(wlan0.sta1) entered disabled state
[1895148.349721] device wlan0 left promiscuous mode
[1895148.354492] br-lan: port 2(wlan0) entered disabled state
[1895150.539163] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[1895150.663905] device wlan0 entered promiscuous mode
[1895153.075046] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[1895153.081886] br-lan: port 2(wlan0) entered forwarding state
[1895153.087660] br-lan: port 2(wlan0) entered forwarding state
[1895154.299110] device wlan0.sta1 entered promiscuous mode
[1895154.316512] br-lan: port 3(wlan0.sta1) entered forwarding state
[1895154.322716] br-lan: port 3(wlan0.sta1) entered forwarding state
[1895155.086003] br-lan: port 2(wlan0) entered forwarding state
[1895156.315941] br-lan: port 3(wlan0.sta1) entered forwarding state

Thanks in advance

Aaron Z


11.01.20181266Base systemBug ReportVery LowMediumsysupgrade-x86 should detect boot partition properlyTrunkUnconfirmed Task Description

Currently it’s hard-coded into /lib/preinit/79_move_config as:

move_config() {
	local partdev

	. /lib/upgrade/common.sh

	if export_bootdevice && export_partdevice partdev 1; then
		mkdir -p /boot
		if mount -t ext4 -o ro,noatime "/dev/$partdev" /boot; then
			if [ -f /boot/sysupgrade.tgz ]; then
				mount /boot -o remount,rw,noatime
				mv -f /boot/sysupgrade.tgz /
				mount /boot -o remount,ro,noatime
			fi
			mount --bind /boot/boot /boot
		fi
	fi
}

that the first partition of the boot device is the boot partition. That’s not always the case, and EFI seems to break this.

Also, it’s an obstacle to supporting A/B image+config boot modes.

18.01.20181282KernelBuild FailureVery LowLow"CONFIG_STRIP_KERNEL_EXPORTS" breaks kernel compilation...TrunkUnconfirmed Task Description

Target: brcm2708_bcm2710 (rpi-3)
Affected openwrt revision: git-head (26045049baf646aa2ce3dce78106da5acf4936ea)
(openwrt-17.01 is not affected)

  • Reproducing

git clone https://git.openwrt.org/openwrt/openwrt.git ; cd openwrt
make menuconfig
# Select:
# Target: Broadcom BCM27xx
# Subtarget: BCM2710 64 bit based boards
# Global build settings —> Strip unnecessary exports from the kernel image: Enabled
make -j 1 V=s

  • Build log
make -C /home/torte/openwrt/nfs/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-brcm2708_bcm2710/linux-4.9.76 HOSTCFLAGS="-O2 -I/home/torte/openwrt/nfs/openwrt/staging_dir/host/include  -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="aarch64-openwrt-linux-musl-" ARCH="arm64" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Thu Jan 18 10:39:42 2018" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/home/torte/openwrt/nfs/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V=''  cmd_syscalls= KERNELRELEASE=4.9.76 EXTRA_LDSFLAGS="-I/home/torte/openwrt/nfs/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-brcm2708_bcm2710 -include symtab.h" CC="aarch64-openwrt-linux-musl-gcc" modules
make[5]: Entering directory '/home/torte/openwrt/nfs/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-brcm2708_bcm2710/linux-4.9.76'
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  LDS     arch/arm64/kernel/vdso/vdso.lds
cc1: fatal error: symtab.h: No such file or directory
compilation terminated.
scripts/Makefile.build:405: recipe for target 'arch/arm64/kernel/vdso/vdso.lds' failed
make[6]: *** [arch/arm64/kernel/vdso/vdso.lds] Error 1
arch/arm64/Makefile:145: recipe for target 'vdso_prepare' failed
make[5]: *** [vdso_prepare] Error 2
  • Details

The option CONFIG_STRIP_KERNEL_EXPORTS adds “-include symtab.h” for all linker script invokations. See openwrt/include/kernel-defaults.mk:

ifdef CONFIG_STRIP_KERNEL_EXPORTS
  KERNEL_MAKEOPTS += \
        EXTRA_LDSFLAGS="-I$(KERNEL_BUILD_DIR) -include symtab.h"
endif

On recent kernels (4.9.x, arm64 build), linker scripts are used to generate “vdso.lds” at the “make modules” stage.
But the file “symtab.h” is generated later (at the install/image generation stage). See openwrt/include/kernel-build.mk:

  $(LINUX_DIR)/.image: $(STAMP_CONFIGURED) $(if $(CONFIG_STRIP_KERNEL_EXPORTS),$(KERNEL_BUILD_DIR)/symtab.h) FORCE
        $(Kernel/CompileImage)
        $(Kernel/CollectDebug)
        touch $$@

As a result, kernel compilation fails.

  • Sidenotes:

- 32bit arm (brcm2708_bcm2708) is not affected, the vdso stuff is generated by normal .c files

- On arm64 4.4 kernels, the vdso stuff is not compiled for reasons, that I don’t know. Anyway, openwrt-17.01 is not affected

19.01.20181284Base systemBug ReportVery LowLowuboot-kirkwood does not speak MMC on Pogoplug v4TrunkUnconfirmed Task Description

Testing on a Pogoplug V4 with the u-boot committed in f5d267df638d7adc6654f4a1a3d7c7557cafd759, there is no MMC support despite that 010-pogoplug_v4.patch includes kirkwood_mmc.c and friends. Boot messages are simply

U-Boot 2017.09 (Jan 19 2018 - 21:51:49 +0000)
Pogoplug V4

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Error: egiga0 address not set.

On the other hand, the uboot shipped from https://forum.doozan.com/read.php?3,7477,7553 understands MMC. Its boot messages are

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:34:01 -0700)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   MVEBU_MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
22.01.20181286Base systemBug ReportVery LowHighNetwork startup happens too late with kernel 4.14TrunkUnconfirmed Task Description

Software version: r5917-36f1978a70-x86-64, device: x86-64 PC.

I’ve built 2 versions - one with default kernel 4.9 and another one with kernel 4.14.

The version with kernel 4.9 works fine. Netifd sets up network interfaces, after that another daemons are started.

The version with kernel 4.14 does not work as expected. Another daemons are started before network interface setup. In my case, this prevents the VPN server from working correctly. I have to manually restart VPN service after every reboot. This may potentially affect another software.

I have attached the log files. Please note the startup order as found in the log files:

kernel 4.9: netifd interface setup → block → dropbear → xl2tpd → openvpn
kernel 4.14: block → dropbear → xl2tpd → openvpn → netifd interface setup

I have no idea how a kernel version may affect the startup order. Maybe there is a kind of race condition.


24.01.20181293Base systemBug ReportVery LowLowThe newest trunk source make ar9344 db120 reference boa...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on AR9344 DB120
- The newest version.
- Steps to reproduce

 

## Booting image at 9f680000 ...

 Image Name:   MIPS OpenWrt Linux-4.9.77
 Created:      2018-01-24   6:33:42 UTC
 Image Type:   MIPS Linux Kernel Image (lzma compressed)
 Data Size:    1379382 Bytes =  1.3 MB
 Load Address: 80060000
 Entry Point:  80060000
 Verifying Checksum at 0x9f680040 ...OK
 Uncompressing Kernel Image ... OK

No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

[ 0.000000] Linux version 4.9.77 () (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r5935-c25d9cb) ) #0 Wed Jan 24 06:33:42 2018
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9344 rev 3
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] 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-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART),6336k(rootfs.up),1408k(uImage.up),448k(rev) mem=128M rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 124872K/131072K available (3174K kernel code, 166K rwdata, 792K rodata, 276K init, 213K bss, 6200K 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:560.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns
[ 0.000009] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns
[ 0.008310] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[ 0.081147] pid_max: default: 32768 minimum: 301
[ 0.086166] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.093213] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.103149] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.113657] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.120688] NET: Registered protocol family 16
[ 0.126898] MIPS: machine is Generic AR71XX/AR724X/AR913X based board
[ 0.149064] clocksource: Switched to clocksource MIPS
[ 0.155465] NET: Registered protocol family 2
[ 0.160930] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.168359] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.175173] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.182033] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.188261] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.195205] NET: Registered protocol family 1
[ 0.203762] Crashlog allocated RAM at address 0x3f00000
[ 0.210313] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.223987] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.230227] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.248339] io scheduler noop registered
[ 0.252559] io scheduler deadline registered (default)
[ 0.258371] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.265586] console [ttyS0] disabled
[ 0.289473] serial8250.0: ttyS0 at MMIO 0×18020000 (irq = 11, base_baud = 2500000) is a 16550A
[ 0.298657] console [ttyS0] enabled
[ 0.298657] console [ttyS0] enabled
[ 0.306083] bootconsole [early0] disabled
[ 0.306083] bootconsole [early0] disabled
[ 0.316280] libphy: Fixed MDIO Bus: probed
[ 0.323674] NET: Registered protocol family 10
[ 0.337759] NET: Registered protocol family 17
[ 0.342465] 8021q: 802.1Q VLAN Support v1.8
[ 0.349040] VFS: Cannot open root device “31:02” or unknown-block(31,2): error -6
[ 0.356677] Please append a correct “root=” boot option; here are the available partitions:
[ 0.365163] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[ 0.374233] Rebooting in 1 seconds..

25.01.20181300Base systemBug ReportVery LowCriticalRT-N12+(MT7620N): WLAN not working.TrunkUnconfirmed Task Description

Hello,

Device: RT-N12+
Issue: WLAN is not working properly. When enabled the signal status shows 0db noise 0db. Wireless devices would properly show the SSID however unable to join. Even with No encryption. The system log would even show that radio0 is up.
Steps done:
- Reboot Router
- Re-flash firmware
- Manually set WiFi config: Band 20mhz or 40mhz.
- Toggled between N and Legacy.
- Manually set WiFi channels.
- Tried different encryption.

Additional information:
- I am well aware that this router support is still WIP as stated: https://lede-project.org/toh/hwdata/asus/asus_rt-n12 Basically just putting out this bug report since so far everything seemed fine except for wireless broadcast.
- Used latest snapshot build from downloads page dated: Thu Jan 25 12:07:37 2018

26.01.20181304Base systemBug ReportVery LowMediumDDNS does not function with QMI protocol and IP does no...TrunkUnconfirmed Task Description

I am using OpenWrt SNAPSHOT, r5934-059b2f5 with an ec-25e card using QMI.

Device gets an IP properly.

Thu Jan 25 18:26:27 2018 daemon.notice netifd: Interface 'wwan' is now down
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Interface 'wwan' is setting up now
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan (16229): Device does not support 802.3 mode. Informing driver of raw-ip only for wwan0 ..
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan (16229): Waiting for network registration
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan (16229): Starting network wwan
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan (16229): Setting up wwan0
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Interface 'wwan' is now up
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Network device 'wwan0' link is up
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Network alias 'wwan0' link is up
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Interface 'wwan_4' is enabled
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Interface 'wwan_4' has link connectivity
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Interface 'wwan_4' is setting up now
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan_4 (16355): udhcpc: started, v1.27.2
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan_4 (16355): udhcpc: sending discover
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan_4 (16355): udhcpc: sending select for 10.36.238.224
Thu Jan 25 18:26:29 2018 daemon.notice netifd: wwan_4 (16355): udhcpc: lease of 10.36.238.224 obtained, lease time 7200
Thu Jan 25 18:26:29 2018 daemon.notice netifd: Interface 'wwan_4' is now up

However in LuCI the IP address is not shown in the interfaces section, at `wwan` interface.

Also DDNS scripts fail with error

182633 ERROR : Can not detect local IP using network_get_ipaddr 'wwan' - Error: '1' - TERMINATE

I believe the issue is because the interface name which gets the IP is `wwan_4` instead of `wwan` but I am not able to set this interface in DDNS setup from LuCI and also well LuCI does not show the `wwan` IP address. I am not sure what would be the fix but this clearly is a problem and may effect other things as well.

Thanks!

28.01.20181305PackagesBug ReportVery LowLowNot working UAS driver for usb hdd case ORICO 2599US3-V...TrunkUnconfirmed Task Description

- Xiaomi Mi Router 3G
- OpenWrt/LEDE trunk with kmod-usb-storage-uas package.
- After fresh install trunk version and kmod-usb-storage-uas drivers for USB storage have error:

[  457.174784] scsi host0: uas
[  457.178931] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for disabled endpoint or incorrect stream ring
[  457.188303] xhci-mtk 1e1c0000.xhci: @000000000fded170 0ee20000 00000000 05000000 01058001
[  457.196514] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for disabled endpoint or incorrect stream ring
[  457.205879] xhci-mtk 1e1c0000.xhci: @000000000fded180 0ee20100 00000000 05000000 01078001
[  464.441727] Data buffer not 16 bytes aligned: 8ee2c458
[  464.469820] Data buffer not 16 bytes aligned: 8ee2c0d8
[  464.477079] Data buffer not 16 bytes aligned: 8ee2c368
[  477.979944] scsi 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[  477.987509] scsi 0:0:0:0: tag#0 CDB: opcode=0x12 12 00 00 00 24 00
[  479.029938] scsi host0: uas_eh_bus_reset_handler FAILED to get lock err -16
[  479.036896] scsi 0:0:0:0: Device offlined - not ready after error recovery
 

FULL log

[    0.000000] Linux version 4.9.77 (buildbot@builds) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r5972-74beb6f) ) #0 SMP Sun Jan 28 07:53:50 2018
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Xiaomi Mi Router 3G
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 10000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat 80519c20, node_mem_map 81003000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 12 pages/cpu @8120f000 s17744 r8192 d23216 u49152
[    0.000000] pcpu-alloc: s17744 r8192 d23216 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Writing ErrCtl register=00022211
[    0.000000] Readback ErrCtl register=00022211
[    0.000000] Memory: 253888K/262144K available (4083K kernel code, 221K rwdata, 920K rodata, 204K init, 272K bss, 8256K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:256
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007796] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.070423] pid_max: default: 32768 minimum: 301
[    0.075160] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.081686] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.095326] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.095339] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.095351] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.095506] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.177455] Synchronize counters for CPU 1:
[    0.177457] done.
[    0.190893] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.190901] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.190910] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.190995] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.269476] Synchronize counters for CPU 2:
[    0.269477] done.
[    0.279363] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.279371] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.279379] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.279472] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.354659] Synchronize counters for CPU 3:
[    0.354660] done.
[    0.360901] Brought up 4 CPUs
[    0.367821] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.377613] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.383863] pinctrl core: initialized pinctrl subsystem
[    0.389755] NET: Registered protocol family 16
[    0.403515] FPU Affinity set after 11720 emulations
[    0.449650] pull PCIe RST: RALINK_RSTCTRL = 4000000
[    0.754956] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.760005] ***** Xtal 40MHz *****
[    0.763360] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.768459] Port 0 N_FTS = 1b105000
[    0.771934] Port 1 N_FTS = 1b105000
[    0.775368] Port 2 N_FTS = 1b102800
[    1.930662] PCIE2 no card, disable it(RST&CLK)
[    1.935027]  -> 21007f2
[    1.937422] PCIE0 enabled
[    1.940014] PCIE1 enabled
[    1.942610] PCI host bridge /pcie@1e140000 ranges:
[    1.947395]  MEM 0x0000000060000000..0x000000006fffffff
[    1.952552]   IO 0x000000001e160000..0x000000001e16ffff
[    1.957754] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.009324] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.015156] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.020966] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.027884] PCI host bridge to bus 0000:00
[    2.031941] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.038727] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    2.044616] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    2.051341] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.059269] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.059300] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.059312] pci 0000:00:00.0: reg 0x14: [mem 0x60300000-0x6030ffff]
[    2.059374] pci 0000:00:00.0: supports D1
[    2.059383] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.059617] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    2.059641] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.059656] pci 0000:00:01.0: reg 0x14: [mem 0x60310000-0x6031ffff]
[    2.059705] pci 0000:00:01.0: supports D1
[    2.059713] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    2.060115] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[    2.060145] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    2.060267] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    2.060466] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.060648] pci 0000:02:00.0: [14c3:7662] type 00 class 0x028000
[    2.060683] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.060728] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.060816] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    2.061016] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.061034] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[    2.061093] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.067602] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.074545] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.081087] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.088015] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.094738] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    2.101497] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
[    2.108649] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    2.115404] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    2.122138] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    2.128881] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.133788] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.140555] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[    2.147793] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
[    2.154968] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.159885] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    2.166635] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff pref]
[    2.173807] BAR0 at slot 0 = 0
[    2.176821] bus=0x0, slot = 0x0
[    2.179929] BAR0 at slot 1 = 0
[    2.182941] bus=0x0, slot = 0x1
[    2.186059] bus=0x1, slot = 0x0, irq=0xff
[    2.190052] bus=0x2, slot = 0x1, irq=0xff
[    2.195374] clocksource: Switched to clocksource GIC
[    2.201886] NET: Registered protocol family 2
[    2.206991] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    2.213879] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    2.220380] TCP: Hash tables configured (established 2048 bind 2048)
[    2.226740] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.232503] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.238991] NET: Registered protocol family 1
[    2.243310] PCI: CLS 80 bytes, default 32
[    2.475320] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.481720] Crashlog allocated RAM at address 0x3f00000
[    2.487253] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    2.497205] random: fast init done
[    2.503153] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.508957] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.521334] io scheduler noop registered
[    2.525170] io scheduler deadline registered (default)
[    2.530800] gpio-export gpio_export: 1 gpio(s) exported
[    2.536631] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.546698] console [ttyS0] disabled
[    2.550247] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    2.559239] console [ttyS0] enabled
[    2.566106] bootconsole [early0] disabled
[    2.575604] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.582660] Allocate 16 byte aligned buffer: 80588360
[    2.587709] Enable NFI Clock
[    2.590575] # MTK NAND # : Use HW ECC
[    2.594233] Device not found, ID: c8d1
[    2.597975] Not Support this Device!
[    2.601702] chip_mode=00000001
[    2.604750] Support this Device in MTK table! c8d1
[    2.609710] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    2.616186] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[    2.622507] nand: ESMT NAND 128MiB 3,3V 8-bit
[    2.626855] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.634399] Scanning device for bad blocks
[    2.784501] 10 ofpart partitions found on MTD device MT7621-NAND
[    2.790493] Creating 10 MTD partitions on "MT7621-NAND":
[    2.795810] 0x000000000000-0x000000080000 : "Bootloader"
[    2.802545] 0x000000080000-0x0000000c0000 : "Config"
[    2.808805] 0x0000000c0000-0x000000100000 : "Bdata"
[    2.814961] 0x000000100000-0x000000140000 : "Factory"
[    2.821369] 0x000000140000-0x000000180000 : "crash"
[    2.827570] 0x000000180000-0x0000001c0000 : "crash_syslog"
[    2.834259] 0x0000001c0000-0x000000200000 : "reserved0"
[    2.840866] 0x000000200000-0x000000600000 : "kernel_stock"
[    2.847705] 0x000000600000-0x000000a00000 : "kernel"
[    2.853942] 0x000000a00000-0x000007f80000 : "ubi"
[    2.860898] [mtk_nand] probe successfully!
[    2.865771] Signature matched and data read!
[    2.870021] load_fact_bbt success 1023
[    2.874429] libphy: Fixed MDIO Bus: probed
[    2.947980] libphy: mdio: probed
[    4.350751] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.357511] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    4.368063] NET: Registered protocol family 10
[    4.374121] NET: Registered protocol family 17
[    4.378695] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.391609] 8021q: 802.1Q VLAN Support v1.8
[    4.398759] UBI: auto-attach mtd9
[    4.402087] ubi0: attaching mtd9
[    4.618462] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[    5.521109] ubi0: scanning is finished
[    5.541359] ubi0: attached mtd9 (name "ubi", size 117 MiB)
[    5.546892] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.553734] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.560504] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.567456] ubi0: good PEBs: 940, bad PEBs: 0, corrupted PEBs: 0
[    5.573433] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    5.580638] ubi0: max/mean erase counter: 13/8, WL threshold: 4096, image sequence number: 2038926528
[    5.589837] ubi0: available PEBs: 0, total reserved PEBs: 940, PEBs reserved for bad PEB handling: 20
[    5.599059] ubi0: background thread "ubi_bgt0d" started, PID 375
[    5.601341] block ubiblock0_0: created from ubi0:0(rootfs)
[    5.601351] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    5.601368] hctosys: unable to open rtc device (rtc0)
[    5.628756] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    5.636357] Freeing unused kernel memory: 204K
[    5.640789] This architecture does not have kernel memory protection.
[    6.074383] init: Console is alive
[    6.078103] init: - watchdog -
[    6.598228] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.689821] usbcore: registered new interface driver usbfs
[    6.695512] usbcore: registered new interface driver hub
[    6.700979] usbcore: registered new device driver usb
[    6.715182] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.720568] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    6.735589] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[    6.744061] xhci-mtk 1e1c0000.xhci: irq 19, io mem 0x1e1c0000
[    6.750901] hub 1-0:1.0: USB hub found
[    6.754722] hub 1-0:1.0: 2 ports detected
[    6.759206] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.764511] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    6.772203] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.781167] hub 2-0:1.0: USB hub found
[    6.784977] hub 2-0:1.0: 1 port detected
[    6.791578] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.815674] init: - preinit -
[    7.225713] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[    7.959769] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[   10.669578] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 466
[   10.743280] UBIFS (ubi0:1): recovery needed
[   11.027687] UBIFS (ubi0:1): recovery completed
[   11.032307] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   11.040127] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.050019] UBIFS (ubi0:1): FS size: 112754688 bytes (107 MiB, 888 LEBs), journal size 5586944 bytes (5 MiB, 44 LEBs)
[   11.060604] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[   11.067215] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID 20B5BE78-6BF9-4D9C-97D0-63EEEE29FCD2, small LPT model
[   11.089886] mount_root: overlay filesystem has not been fully initialized yet
[   11.099816] mount_root: switching to ubifs overlay
[   11.120963] urandom-seed: Seed file not found (/etc/urandom.seed)
[   11.206878] procd: - early -
[   11.209848] procd: - watchdog -
[   11.915518] procd: - watchdog -
[   11.918952] procd: - ubus -
[   11.977423] procd: - init -
[   12.220332] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.230433] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.243720] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   12.251747] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   12.260419] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.272071] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   12.311093] xt_time: kernel timezone is -0000
[   12.364278] mt7603e 0000:01:00.0: ASIC revision: 76030010
[   12.395013] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
[   12.400808] mt7603e 0000:01:00.0: Build Time: 20160107100755
[   12.445412] firmware init done
[   12.617059] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   12.624541] mt76x2e 0000:02:00.0: ASIC revision: 76120044
[   12.655444] mt76x2e 0000:02:00.0: ROM patch already applied
[   12.662251] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
[   12.667798] mt76x2e 0000:02:00.0: Build: 1
[   12.671877] mt76x2e 0000:02:00.0: Build Time: 201507311614____
[   12.705439] mt76x2e 0000:02:00.0: Firmware running!
[   12.711683] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   12.719726] PPP generic driver version 2.4.2
[   12.725836] NET: Registered protocol family 24
[   12.733132] kmodloader: done loading kernel modules from /etc/modules.d/*
[   19.603555] device eth0 entered promiscuous mode
[   19.610919] br-lan: port 1(eth0.1) entered blocking state
[   19.616476] br-lan: port 1(eth0.1) entered disabled state
[   19.622586] device eth0.1 entered promiscuous mode
[   19.634503] br-lan: port 1(eth0.1) entered blocking state
[   19.639985] br-lan: port 1(eth0.1) entered forwarding state
[   19.646017] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   20.605960] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   22.159899] random: crng init done
[  191.009312] Data buffer not 16 bytes aligned: 8e40c028
[  191.017026] Data buffer not 16 bytes aligned: 8e40c508
[  191.025523] Data buffer not 16 bytes aligned: 8e40c238
[  191.034117] Data buffer not 16 bytes aligned: 8e40c198
[  191.052419] Data buffer not 16 bytes aligned: 8e40c4f8
[  191.066409] Data buffer not 16 bytes aligned: 8e40c278
[  191.081738] Data buffer not 16 bytes aligned: 8e40c1c8
[  191.096954] Data buffer not 16 bytes aligned: 8e40c088
[  191.111147] Data buffer not 16 bytes aligned: 8e40c028
[  191.139460] Data buffer not 16 bytes aligned: 8e40c018
[  191.161243] Data buffer not 16 bytes aligned: 8e40c028
[  191.176451] Data buffer not 16 bytes aligned: 8e40c128
[  191.193724] Data buffer not 16 bytes aligned: 8e40c018
[  191.213324] Data buffer not 16 bytes aligned: 8e40c078
[  191.225880] Data buffer not 16 bytes aligned: 8e40c2a8
[  191.265755] Data buffer not 16 bytes aligned: 8e40c158
[  191.278589] Data buffer not 16 bytes aligned: 8e40c138
[  191.289159] Data buffer not 16 bytes aligned: 8e40c248
[  191.317077] Data buffer not 16 bytes aligned: 8e40c278
[  191.334425] Data buffer not 16 bytes aligned: 8e40c0e8
[  191.350534] Data buffer not 16 bytes aligned: 8e40c0f8
[  283.715442] kmodloader: loading kernel modules from /etc/modules.d/*
[  283.733985] SCSI subsystem initialized
[  283.745511] usbcore: registered new interface driver usb-storage
[  283.751874] kmodloader: done loading kernel modules from /etc/modules.d/*
[  283.816960] kmodloader: loading kernel modules from /etc/modules.d/*
[  283.825496] kmodloader: done loading kernel modules from /etc/modules.d/*
[  313.727224] Data buffer not 16 bytes aligned: 8ee38068
[  313.741091] Data buffer not 16 bytes aligned: 8ee38128
[  313.749533] Data buffer not 16 bytes aligned: 8ee38078
[  313.756765] Data buffer not 16 bytes aligned: 8ee383d8
[  313.785037] Data buffer not 16 bytes aligned: 8ee38128
[  313.795667] Data buffer not 16 bytes aligned: 8ee38258
[  313.805290] Data buffer not 16 bytes aligned: 8ee38418
[  313.813705] Data buffer not 16 bytes aligned: 8ee381a8
[  313.822188] Data buffer not 16 bytes aligned: 8ee380d8
[  313.840545] Data buffer not 16 bytes aligned: 8ee38438
[  313.848969] Data buffer not 16 bytes aligned: 8ee382d8
[  434.295326] kmodloader: loading kernel modules from /etc/modules.d/*
[  434.305009] usbcore: registered new interface driver ums-alauda
[  434.312020] usbcore: registered new interface driver ums-cypress
[  434.319060] usbcore: registered new interface driver ums-datafab
[  434.326131] usbcore: registered new interface driver ums-freecom
[  434.333240] usbcore: registered new interface driver ums-isd200
[  434.340310] usbcore: registered new interface driver ums-jumpshot
[  434.347438] usbcore: registered new interface driver ums-karma
[  434.354646] usbcore: registered new interface driver ums-sddr09
[  434.361748] usbcore: registered new interface driver ums-sddr55
[  434.368806] usbcore: registered new interface driver ums-usbat
[  434.374965] kmodloader: done loading kernel modules from /etc/modules.d/*
[  457.162257] kmodloader: loading kernel modules from /etc/modules.d/*
[  457.174784] scsi host0: uas
[  457.178931] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for disabled endpoint or incorrect stream ring
[  457.188303] xhci-mtk 1e1c0000.xhci: @000000000fded170 0ee20000 00000000 05000000 01058001
[  457.196514] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for disabled endpoint or incorrect stream ring
[  457.205879] xhci-mtk 1e1c0000.xhci: @000000000fded180 0ee20100 00000000 05000000 01078001
[  464.441727] Data buffer not 16 bytes aligned: 8ee2c458
[  464.469820] Data buffer not 16 bytes aligned: 8ee2c0d8
[  464.477079] Data buffer not 16 bytes aligned: 8ee2c368
[  477.979944] scsi 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[  477.987509] scsi 0:0:0:0: tag#0 CDB: opcode=0x12 12 00 00 00 24 00
[  479.029938] scsi host0: uas_eh_bus_reset_handler FAILED to get lock err -16
[  479.036896] scsi 0:0:0:0: Device offlined - not ready after error recovery
[  479.044393] usbcore: registered new interface driver uas
[  479.050016] kmodloader: done loading kernel modules from /etc/modules.d/*
28.01.20181307Base systemBug ReportVery LowCriticalClearFog initramfs broken AllUnconfirmed Task Description

It appears this has been broken for quite some time, likely before LEDE forked from OpenWrt, as there are CC builds with initrams images working fine (early 2016), however the CC repo no longer compiles a working initrams image, nor does LEDE.

  • The changes causing the issue appear to have occurred between 2016.02.18 and 2016.09.06
    • I have a working OpenWrt initramfs image created 2016.02.17 @14:26:46 UTC which boots w/o issue.
    • This post from the SolidRun forum on 2016.09.06 @ 10:30am (local) verifies boot issues occurring at least as of this date.
      • Xue Liu’s [clockworkbird9] repo is mentioned and a link to his blog is provided, however he either forked OpenWrt prior to the issue originating or fixed whatever was broken.

Unexpected Output

Current LEDE/OpenWrt initramfs image is a mess all around (Compiled 2018.01.25)

   Marvell>> tftpboot lede-mvebu-armada-388-clearfog-pro-initramfs.bin
   Using egiga1 device
   TFTP from server 10.4.50.38; our IP address is 10.4.50.170
   Filename 'lede-mvebu-armada-388-clearfog-pro-initramfs.bin'.
   Load address: 0x2000000
   Loading: #################################################################
	        #################################################################
	        #################################################################
	        2.4 MiB/s
   done
   Bytes transferred = 4690096 (4790b0 hex)
 
   Marvell>> bootm
   Wrong Image Format for bootm command
   ERROR: cant get kernel image!
  • Likely due to these options being removed from menuconfig:
    • Target Images
      • Include kernel in root filesystem
        • include uImage
        • include zImage
        • include FIT
      • Include DTB in root filesystem
    • See Screenshot
      • Left: Old OpenWrt Repo
      • Right: Current LEDE/OpenWrt Repo

Booting a LEDE zImage goes a bit better (...until the kernel panic | Compiled 2018.01.25)

  • This may be expected behavior, as I didn’t realize the zImage is the kernel image.
    Marvell>> tftpboot zImage-Solidrun-Clearfog-A1                 
    Using egiga1 device
    TFTP from server 10.4.50.38; our IP address is 10.4.50.170
    Filename 'zImage-Solidrun-Clearfog-A1'.
    Load address: 0x2000000
    Loading: #################################################################
    	 #################################################################
    	 #################################################################
    	 2.4 MiB/s
    done
    Bytes transferred = 2132324 (208964 hex)
    Marvell>> bootz
 
    Starting kernel ...
 
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.4.14 (thepeople@trabant) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 50140) ) #1 SMP Thu Dec 7 14:50:07 UTC 2017
    [    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: SolidRun Clearfog A1
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] PERCPU: Embedded 12 pages/cpu @ef7ce000 s17984 r8192 d22976 u49152
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
    [    0.000000] Kernel command line: 
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1032820K/1048576K available (4223K kernel code, 178K rwdata, 1572K rodata, 264K init, 301K bss, 15756K reserved, 0K cma-reserved, 262144K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc05b1078   (5797 kB)
    [    0.000000]       .init : 0xc05b2000 - 0xc05f4000   ( 264 kB)
    [    0.000000]       .data : 0xc05f4000 - 0xc0620a5c   ( 179 kB)
    [    0.000000]        .bss : 0xc0620a5c - 0xc066c244   ( 302 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
    [    0.000000] L2C-310 D prefetch enabled, offset 1 lines
    [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
    [    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
    [    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
    [    0.000000] Switching to timer-based delay loop, resolution 40ns
    [    0.000002] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000009] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000106] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
    [    0.000113] pid_max: default: 32768 minimum: 301
    [    0.000148] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000152] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000340] CPU: Testing write buffer coherency: ok
    [    0.000439] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.000465] Setting up static identity map for 0x8280 - 0x82d8
    [    0.000550] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
    [    0.000633] mvebu-pmsu: Initializing Power Management Service Unit
    [    0.001026] Booting CPU 1
    [    0.001190] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.001218] Brought up 2 CPUs
    [    0.001223] SMP: Total of 2 processors activated (100.00 BogoMIPS).
    [    0.001226] CPU: All CPU(s) started in SVC mode.
    [    0.002883] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.002954] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.003000] pinctrl core: initialized pinctrl subsystem
    [    0.003380] NET: Registered protocol family 16
    [    0.003837] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.029930] cpuidle: using governor ladder
    [    0.032504] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
    [    0.032512] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
    [    0.060714] SCSI subsystem initialized
    [    0.060995] usbcore: registered new interface driver usbfs
    [    0.061020] usbcore: registered new interface driver hub
    [    0.061042] usbcore: registered new device driver usb
    [    0.061712] clocksource: Switched to clocksource armada_370_xp_clocksource
    [    0.062143] NET: Registered protocol family 2
    [    0.062382] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.062424] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.062484] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.062516] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.062538] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.062619] NET: Registered protocol family 1
    [    0.062981] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.065945] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.065956] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.066587] bounce: pool size: 64 pages
    [    0.066594] io scheduler noop registered
    [    0.066599] io scheduler deadline registered (default)
    [    0.066978] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
    [    0.067276] irq: Cannot allocate irq_descs @ IRQ50, assuming pre-allocated
    [    0.067412] irq: Cannot allocate irq_descs @ IRQ82, assuming pre-allocated
    [    0.067660] mv_xor f1060800.xor: Marvell shared XOR driver
    [    0.101937] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
    [    0.102017] mv_xor f1060900.xor: Marvell shared XOR driver
    [    0.141919] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
    [    0.142055] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
    [    0.142889] console [ttyS0] disabled
    [    0.162961] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 15625000) is a 16550A
    [    0.715227] console [ttyS0] enabled
    [    0.738916] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 15625000) is a 16550A
    [    0.748295] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
    [    0.757374] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
    [    0.766754] scsi host0: ahci-mvebu
    [    0.770314] scsi host1: ahci-mvebu
    [    0.773824] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 45
    [    0.781766] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 45
    [    0.789792] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
    [    0.798869] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
    [    0.808345] scsi host2: ahci-mvebu
    [    0.811918] scsi host3: ahci-mvebu
    [    0.815415] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 46
    [    0.823359] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 46
    [    0.832327] libphy: Fixed MDIO Bus: probed
    [    0.836538] libphy: orion_mdio_bus: probed
    [    0.841803] mvneta f1030000.ethernet eth0: Using hardware mac address 00:50:43:4c:18:3b
    [    0.850637] mvneta f1034000.ethernet eth1: Using random mac address c6:31:9b:9c:a7:67
    [    0.859250] mvneta f1070000.ethernet eth2: Using hardware mac address 00:50:43:ee:18:3b
    [    0.867330] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    0.873879] ehci-pci: EHCI PCI platform driver
    [    0.878359] ehci-platform: EHCI generic platform driver
    [    0.883691] ehci-orion: EHCI orion driver
    [    0.887777] orion-ehci f1058000.usb: EHCI Host Controller
    [    0.893203] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
    [    0.900847] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000
    [    0.921501] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
    [    0.927667] hub 1-0:1.0: USB hub found
    [    0.931437] hub 1-0:1.0: 1 port detected
    [    0.935663] xhci-hcd f10f0000.usb3: xHCI Host Controller
    [    0.940994] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
    [    0.948605] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
    [    0.957170] xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
    [    0.963146] hub 2-0:1.0: USB hub found
    [    0.966914] hub 2-0:1.0: 1 port detected
    [    0.970927] xhci-hcd f10f0000.usb3: xHCI Host Controller
    [    0.976265] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
    [    0.983796] usb usb3: We dont know the algorithms for LPM for this host, disabling LPM.
    [    0.992105] hub 3-0:1.0: USB hub found
    [    0.995872] hub 3-0:1.0: 1 port detected
    [    0.999930] xhci-hcd f10f8000.usb3: xHCI Host Controller
    [    1.005271] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
    [    1.012863] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
    [    1.021422] xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
    [    1.027391] hub 4-0:1.0: USB hub found
    [    1.031159] hub 4-0:1.0: 1 port detected
    [    1.035201] xhci-hcd f10f8000.usb3: xHCI Host Controller
    [    1.040528] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
    [    1.048072] usb usb5: We dont know the algorithms for LPM for this host, disabling LPM.
    [    1.056389] hub 5-0:1.0: USB hub found
    [    1.060156] hub 5-0:1.0: 1 port detected
    [    1.064290] usbcore: registered new interface driver usb-storage
    [    1.070460] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
    [    1.078105] i2c /dev entries driver
    [    1.092469] orion_wdt: Initial timeout 171 sec
    [    1.097786] marvell-cesa f1090000.crypto: CESA device successfully registered
    [    1.105445] NET: Registered protocol family 10
    [    1.110382] NET: Registered protocol family 17
    [    1.114870] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    1.127526] Bridge firewalling registered
    [    1.131551] 8021q: 802.1Q VLAN Support v1.8
    [    1.135771] Registering SWP/SWPB emulation handler
    [    1.141319] armada38x-rtc f10a3800.rtc: setting system clock to 1970-06-02 16:51:43 UTC (13193503)
    [    1.141517] ata1: SATA link down (SStatus 0 SControl 300)
    [    1.141542] ata2: SATA link down (SStatus 0 SControl 300)
    [    1.161504] ata4: SATA link down (SStatus 0 SControl 300)
    [   1.166942] ata3: SATA link down (SStatus 0 SControl 300)
    [    1.172389] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
    [    1.179889] Please append a correct "root=" boot option; here are the available partitions:
    [    1.188270] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [    1.196553] CPU1: stopping
    [    1.199266] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.14 #1
    [    1.205198] Hardware name: Marvell Armada 380/385 (Device Tree)
    [    1.211142] [<c001fab8>] (unwind_backtrace) from [<c001c420>] (show_stack+0x10/0x14)
    [    1.218909] [<c001c420>] (show_stack) from [<c019f54c>] (dump_stack+0x8c/0xa0)
    [    1.226149] [<c019f54c>] (dump_stack) from [<c001e94c>] (handle_IPI+0x108/0x1a0)
    [    1.233563] [<c001e94c>] (handle_IPI) from [<c0009508>] (gic_handle_irq+0x80/0x94)
    [    1.241151] [<c0009508>] (gic_handle_irq) from [<c000a5f4>] (__irq_svc+0x54/0x70)
    [    1.248650] Exception stack(0xef073f80 to 0xef073fc8)
    [    1.253712] 3f80: 00000001 00000000 00000000 c000b3c0 ef072000 c05f6498 c04fcab4 00000000
    [    1.261909] 3fa0: c05ee224 ef073fd8 00000000 c05f1118 00000000 ef073fd0 c00194cc c00194d0
    [    1.270104] 3fc0: 60000013 ffffffff
    [    1.273600] [<c000a5f4>] (__irq_svc) from [<c00194d0>] (arch_cpu_idle+0x34/0x50)
    [    1.281015] [<c00194d0>] (arch_cpu_idle) from [<c005b324>] (cpu_startup_entry+0x148/0x210)
    [    1.289298] [<c005b324>] (cpu_startup_entry) from [<000095ac>] (0x95ac)
    [    1.295928] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Current OpenWrt CC initramfs freezes upon loading the kernel (Compiled 2018.01.27)

   Marvell>> tftpboot openwrt-mvebu-armada-388-clearfog-initramfs
   Using egiga1 device
   TFTP from server 10.4.50.38; our IP address is 10.4.50.170
   Filename 'openwrt-mvebu-armada-388-clearfog-initramfs'.
   Load address: 0x2000000
   Loading: #################################################################
	        #################################################################
	        #################################################################
	        2.4 MiB/s
   done
   Bytes transferred = 7925725 (78efdd hex)
 
   Marvell>> bootm
   ## Booting kernel from Legacy Image at 02000000 ...
      Image Name:   ARM OpenWrt Linux-3.18.91
      Created:      2018-01-27   3:22:24 UTC
      Image Type:   ARM Linux Kernel Image (uncompressed)
      Data Size:    7925661 Bytes = 7.6 MiB
      Load Address: 00008000
      Entry Point:  00008000
      Verifying Checksum ... OK
      Loading Kernel Image ... OK
   OK
 
   Starting kernel ...
  • It freezes at this point, with no further output

Expected Output (working initramfs)

r48735 (Compiled 2016.02.17)

    Marvell>> tftpboot openwrt-mvebu-armada-388-clearfog-initramfs
    Using egiga1 device
    TFTP from server 10.4.50.38; our IP address is 10.4.50.170
    Filename 'openwrt-mvebu-armada-388-clearfog-initramfs'.
    Load address: 0x2000000
    Loading: #################################################################
    	  #################################################################
    	  #################################################################
    	  2.4 MiB/s
    done
    Bytes transferred = 3022310 (2e1de6 hex)
 
    Marvell>> bootm
    ## Booting kernel from Legacy Image at 02000000 ...
       Image Name:   ARM OpenWrt Linux-4.1.16
       Created:      2016-02-17  14:26:46 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3022246 Bytes = 2.9 MiB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
 
    Starting kernel ...
 
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.1.16 (vlado@b50) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r48723) ) #6 SMP Wed Feb 17 14:59:16 UTC 2016
    [    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: SolidRun Clearfog A1
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] PERCPU: Embedded 10 pages/cpu @eefd1000 s11776 r8192 d20992 u40960
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
    [    0.000000] Kernel command line: 
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1029820K/1048576K available (3435K kernel code, 138K rwdata, 1228K rodata, 4592K init, 168K bss, 18756K reserved, 0K cma-reserved, 270336K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0495e9c   (4664 kB)
    [    0.000000]       .init : 0xc0496000 - 0xc0912000   (4592 kB)
    [    0.000000]       .data : 0xc0912000 - 0xc09348dc   ( 139 kB)
    [    0.000000]        .bss : 0xc09348dc - 0xc095e9a4   ( 169 kB)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
    [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
    [    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
    [    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x46070001
    [    0.000006] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000016] clocksource armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000157] Calibrating delay loop... 3188.32 BogoMIPS (lpj=15941632)
    [    0.059922] pid_max: default: 32768 minimum: 301
    [    0.059975] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.059980] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.060187] CPU: Testing write buffer coherency: ok
    [    0.060286] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.060311] Setting up static identity map for 0x8280 - 0x82d8
    [    0.060398] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
    [    0.060484] mvebu-pmsu: Initializing Power Management Service Unit
    [    0.060915] Booting CPU 1
    [    0.119940] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.119969] Brought up 2 CPUs
    [    0.119975] SMP: Total of 2 processors activated (6384.02 BogoMIPS).
    [    0.119978] CPU: All CPU(s) started in SVC mode.
    [    0.121764] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.121843] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.121875] pinctrl core: initialized pinctrl subsystem
    [    0.122216] NET: Registered protocol family 16
    [    0.122655] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.149929] cpuidle: using governor ladder
    [    0.152518] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
    [    0.152527] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling[    0.180892] Switched to clocksource armada_370_xp_clocksource
    [    0.181354] NET: Registered protocol family 2
    [    0.181626] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.181665] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.181728] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.181766] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.181790] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.181897] NET: Registered protocol family 1
    [    0.202800] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.203086] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.203094] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.203620] bounce: pool size: 64 pages
    [    0.203629] io scheduler noop registered
    [    0.203635] io scheduler deadline registered (default)
    [    0.204062] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
    [    0.204398] irq: Cannot allocate irq_descs @ IRQ48, assuming pre-allocated
    [    0.204557] irq: Cannot allocate irq_descs @ IRQ80, assuming pre-allocated
    [    0.204865] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
    [    0.204873] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
    [    0.204878] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
    [    0.204883] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.205081] PCI: bus0: Fast back to back transfers disabled
    [    0.205087] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    0.205094] pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    0.205147] PCI: bus1: Fast back to back transfers enabled
    [    0.205205] PCI: bus2: Fast back to back transfers enabled
    [    0.205227] pci 0000:00:02.0: PCI bridge to [bus 01]
    [    0.205235] pci 0000:00:03.0: PCI bridge to [bus 02]
    [    0.205319] mv_xor f1060800.xor: Marvell shared XOR driver
    [    0.240922] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
    [    0.280920] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
    [    0.280980] mv_xor f1060900.xor: Marvell shared XOR driver
    [    0.320931] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
    [    0.360921] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
    [    0.361040] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    0.361326] console [ttyS0] disabled
    [    0.381355] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 15625000) is a 16550A
    [    0.965181] console [ttyS0] enabled
    [    0.988835] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 15625000) is a 16550A
    [    0.998710] libphy: Fixed MDIO Bus: probed
    [    1.002938] libphy: orion_mdio_bus: probed
    [    1.008077] mvneta f1030000.ethernet eth0: Using hardware mac address 00:50:43:11:03:0d
    [    1.016851] mvneta f1034000.ethernet eth1: Using random mac address fa:fb:df:f9:5e:cc
    [    1.025385] mvneta f1070000.ethernet eth2: Using hardware mac address 00:50:43:0b:03:0d
    [    1.033899] NET: Registered protocol family 10
    [    1.038792] NET: Registered protocol family 17
    [    1.043270] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    1.055917] 8021q: 802.1Q VLAN Support v1.8
    [    1.060127] Registering SWP/SWPB emulation handler
    [    1.065542] hctosys: unable to open rtc device (rtc0)
    [    1.073694] Freeing unused kernel memory: 4592K (c0496000 - c0912000)
    [    1.084136] init: Console is alive
    [    1.092498] usbcore: registered new interface driver usbfs
    [    1.098025] usbcore: registered new interface driver hub
    [    1.103400] usbcore: registered new device driver usb
    [    1.110084] SCSI subsystem initialized
    [    1.114896] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.121693] ehci-platform: EHCI generic platform driver
    [    1.127263] ehci-orion: EHCI orion driver
    [    1.131413] orion-ehci f1058000.usb: EHCI Host Controller
    [    1.136834] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
    [    1.144492] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000
    [    1.160910] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
    [    1.167093] hub 1-0:1.0: USB hub found
    [    1.170862] hub 1-0:1.0: 1 port detected
    [    1.179139] xhci-hcd f10f0000.usb3: xHCI Host Controller
    [    1.184488] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
    [    1.192080] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
    [    1.200644] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
    [    1.206652] hub 2-0:1.0: USB hub found
    [    1.210421] hub 2-0:1.0: 1 port detected
    [    1.214450] xhci-hcd f10f0000.usb3: xHCI Host Controller
    [    1.219779] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
    [    1.227335] usb usb3: We dont know the algorithms for LPM for this host, disabling LPM.
    [    1.235651] hub 3-0:1.0: USB hub found
    [    1.239417] hub 3-0:1.0: 1 port detected
    [    1.243492] xhci-hcd f10f8000.usb3: xHCI Host Controller
    [    1.248823] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
    [    1.256412] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
    [    1.264975] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
    [    1.270975] hub 4-0:1.0: USB hub found
    [    1.274743] hub 4-0:1.0: 1 port detected
    [    1.278759] xhci-hcd f10f8000.usb3: xHCI Host Controller
    [    1.284092] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
    [    1.291620] usb usb5: We dont know the algorithms for LPM for this host, disabling LPM.
    [    1.299925] hub 5-0:1.0: USB hub found
    [    1.303697] hub 5-0:1.0: 1 port detected
    [    1.308557] usbcore: registered new interface driver usb-storage
    [    2.087795] init: - preinit -
    Press the [f] key and hit [enter] to enter failsafe mode
    Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
    [    5.131673] procd: - early -
    [    5.706452] procd: - ubus -
    [    6.710759] random: ubusd urandom read with 0 bits of entropy available
    [    6.717649] procd: - init -
    Please press Enter to activate this console.
    [    6.863841] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [    6.871496] i2c /dev entries driver
    [    6.876831] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    6.884031] nf_conntrack version 0.5.0 (16162 buckets, 64648 max)
    [    7.074295] xt_time: kernel timezone is -0000
    [    7.091235] PPP generic driver version 2.4.2
    [    7.095849] NET: Registered protocol family 24
    [    8.723584] device eth0 entered promiscuous mode
    [    8.728953] br-lan: port 1(eth0) entered forwarding state
    [    8.734388] br-lan: port 1(eth0) entered forwarding state
    [    8.751499] device eth1 entered promiscuous mode
    [    8.756174] br-lan: port 2(eth1) entered forwarding state
    [    8.761615] br-lan: port 2(eth1) entered forwarding state
    [    8.781126] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
    [    9.720913] br-lan: port 1(eth0) entered disabled state
    [    9.726221] br-lan: port 2(eth1) entered disabled state
    [   10.730912] mvneta f1030000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [   10.738772] br-lan: port 1(eth0) entered forwarding state
    [   10.744197] br-lan: port 1(eth0) entered forwarding state
    [   10.750020] mvneta f1034000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
    [   10.757942] br-lan: port 2(eth1) entered forwarding state
    [   10.763366] br-lan: port 2(eth1) entered forwarding state
    [   12.740888] br-lan: port 1(eth0) entered forwarding state
    [   12.760887] br-lan: port 2(eth1) entered forwarding state
 
 
    BusyBox v1.24.1 () built-in shell (ash)
 
      _______                     ________        __
     |       |.-----.-----.-----.|  |  |  |.----.|  |_
     |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
     |_______||   __|_____|__|__||________||__|  |____|
              |__| W I R E L E S S   F R E E D O M
     -----------------------------------------------------
     DESIGNATED DRIVER (Bleeding Edge, r48735)
     -----------------------------------------------------
      * 2 oz. Orange Juice         Combine all juices in a
      * 2 oz. Pineapple Juice      tall glass filled with
      * 2 oz. Grapefruit Juice     ice, stir well.
      * 2 oz. Cranberry Juice
     -----------------------------------------------------
    root@OpenWrt:/#

r49395 (Compiled 2018.01.27 | Xue Liu’s OpenWrt Repo)

   Marvell>> tftpboot openwrt-mvebu-armada-388-clearfog-initramfs
   Using egiga1 device
   TFTP from server 10.4.50.38; our IP address is 10.4.50.170
   Filename 'openwrt-mvebu-armada-388-clearfog-initramfs'.
   Load address: 0x2000000
   Loading: #################################################################
   	  #################################################################
   	  #################################################################
   	  2.4 MiB/s
   done
   Bytes transferred = 3920894 (3bd3fe hex)
   Marvell>> bootm
   ## Booting kernel from Legacy Image at 02000000 ...
      Image Name:   ARM OpenWrt Linux-4.1.23
      Created:      2016-06-30   5:39:05 UTC
      Image Type:   ARM Linux Kernel Image (uncompressed)
      Data Size:    3920830 Bytes = 3.7 MiB
      Load Address: 00008000
      Entry Point:  00008000
      Verifying Checksum ... OK
      Loading Kernel Image ... OK
   OK
 
   Starting kernel ...
 
   [    0.000000] Booting Linux on physical CPU 0x0
   [    0.000000] Linux version 4.1.23 (jw@u17) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 r49395) ) #2 SMP Sat Jan 27 05:52:51 UTC 2018
   [    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
   [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
   [    0.000000] Machine model: SolidRun Clearfog A1
   [    0.000000] Memory policy: Data cache writealloc
   [    0.000000] PERCPU: Embedded 10 pages/cpu @eefd1000 s11776 r8192 d20992 u40960
   [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
   [    0.000000] Kernel command line: 
   [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
   [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
   [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
   [    0.000000] Memory: 1026868K/1048576K available (3435K kernel code, 138K rwdata, 1228K rodata, 7544K init, 168K bss, 21708K reserved, 0K cma-reserved, 270336K highmem)
   [    0.000000] Virtual kernel memory layout:
   [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
   [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
   [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
   [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
   [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
   [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
   [    0.000000]       .text : 0xc0008000 - 0xc0495e9c   (4664 kB)
   [    0.000000]       .init : 0xc0496000 - 0xc0bf4000   (7544 kB)
   [    0.000000]       .data : 0xc0bf4000 - 0xc0c1694c   ( 139 kB)
   [    0.000000]        .bss : 0xc0c1694c - 0xc0c40a24   ( 169 kB)
   [    0.000000] Hierarchical RCU implementation.
   [    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
   [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
   [    0.000000] NR_IRQS:16 nr_irqs:16 16
   [    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
   [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
   [    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
   [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
   [    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
   [    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x46070001
   [    0.000006] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
   [    0.000016] clocksource armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
   [    0.000156] Calibrating delay loop... 3188.32 BogoMIPS (lpj=15941632)
   [    0.059921] pid_max: default: 32768 minimum: 301
   [    0.059975] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
   [    0.059980] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
   [    0.060187] CPU: Testing write buffer coherency: ok
   [    0.060287] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
   [    0.060312] Setting up static identity map for 0x8280 - 0x82d8
   [    0.060399] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
   [    0.060486] mvebu-pmsu: Initializing Power Management Service Unit
   [    0.060919] Booting CPU 1
   [    0.119939] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
   [    0.119968] Brought up 2 CPUs
   [    0.119974] SMP: Total of 2 processors activated (6384.02 BogoMIPS).
   [    0.119977] CPU: All CPU(s) started in SVC mode.
   [    0.121712] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
   [    0.121790] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
   [    0.121823] pinctrl core: initialized pinctrl subsystem
   [    0.122159] NET: Registered protocol family 16
   [    0.122595] DMA: preallocated 256 KiB pool for atomic coherent allocations
   [    0.149921] cpuidle: using governor ladder
   [    0.152478] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
   [    0.152487] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling[    0.180937] Switched to clocksource armada_370_xp_clocksource
   [    0.181394] NET: Registered protocol family 2
   [    0.181808] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
   [    0.181846] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
   [    0.181909] TCP: Hash tables configured (established 8192 bind 8192)
   [    0.181945] UDP hash table entries: 512 (order: 2, 16384 bytes)
   [    0.181969] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
   [    0.182064] NET: Registered protocol family 1
   [    0.211472] futex hash table entries: 512 (order: 3, 32768 bytes)
   [    0.211907] squashfs: version 4.0 (2009/01/31) Phillip Lougher
   [    0.211916] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
   [    0.212261] bounce: pool size: 64 pages
   [    0.212269] io scheduler noop registered
   [    0.212276] io scheduler deadline registered (default)
   [    0.212708] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
   [    0.213051] irq: Cannot allocate irq_descs @ IRQ48, assuming pre-allocated
   [    0.213206] irq: Cannot allocate irq_descs @ IRQ80, assuming pre-allocated
   [    0.213509] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
   [    0.213517] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
   [    0.213525] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
   [    0.213531] pci_bus 0000:00: root bus resource [bus 00-ff]
   [    0.213721] PCI: bus0: Fast back to back transfers disabled
   [    0.213728] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
   [    0.213734] pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
   [    0.213786] PCI: bus1: Fast back to back transfers enabled
   [    0.213847] PCI: bus2: Fast back to back transfers enabled
   [    0.213868] pci 0000:00:02.0: PCI bridge to [bus 01]
   [    0.213876] pci 0000:00:03.0: PCI bridge to [bus 02]
   [    0.213955] mv_xor f1060800.xor: Marvell shared XOR driver
   [    0.251038] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
   [    0.290970] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
   [    0.291030] mv_xor f1060900.xor: Marvell shared XOR driver
   [    0.330964] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
   [    0.370964] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
   [    0.371073] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
   [    0.371364] console [ttyS0] disabled
   [    0.391394] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 15625000) is a 16550A
   [    0.974982] console [ttyS0] enabled
   [    0.998634] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 15625000) is a 16550A
   [    1.008502] libphy: Fixed MDIO Bus: probed
   [    1.012730] libphy: orion_mdio_bus: probed
   [    1.017876] mvneta f1030000.ethernet eth0: Using hardware mac address 00:50:43:5a:07:04
   [    1.026640] mvneta f1034000.ethernet eth1: Using random mac address d6:15:0c:61:68:d9
   [    1.035175] mvneta f1070000.ethernet eth2: Using hardware mac address 00:50:43:0a:07:04
   [    1.043675] NET: Registered protocol family 10
   [    1.048569] NET: Registered protocol family 17
   [    1.053061] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
   [    1.065708] 8021q: 802.1Q VLAN Support v1.8
   [    1.069920] Registering SWP/SWPB emulation handler
   [    1.075317] hctosys: unable to open rtc device (rtc0)
   [    1.084968] Freeing unused kernel memory: 7544K (c0496000 - c0bf4000)
   [    1.095444] init: Console is alive
   [    1.105049] usbcore: registered new interface driver usbfs
   [    1.110581] usbcore: registered new interface driver hub
   [    1.115954] usbcore: registered new device driver usb
   [    1.126902] SCSI subsystem initialized
   [    1.131749] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
   [    1.138544] ehci-platform: EHCI generic platform driver
   [    1.144141] ehci-orion: EHCI orion driver
   [    1.148257] orion-ehci f1058000.usb: EHCI Host Controller
   [    1.153689] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
   [    1.161343] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000
   [    1.180940] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
   [    1.187137] hub 1-0:1.0: USB hub found
   [    1.190909] hub 1-0:1.0: 1 port detected
   [    1.199341] xhci-hcd f10f0000.usb3: xHCI Host Controller
   [    1.204699] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
   [    1.212291] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
   [    1.220854] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
   [    1.226864] hub 2-0:1.0: USB hub found
   [    1.230634] hub 2-0:1.0: 1 port detected
   [    1.234670] xhci-hcd f10f0000.usb3: xHCI Host Controller
   [    1.239997] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
   [    1.247530] usb usb3: We dont know the algorithms for LPM for this host, disabling LPM.
   [    1.255845] hub 3-0:1.0: USB hub found
   [    1.259613] hub 3-0:1.0: 1 port detected
   [    1.263710] xhci-hcd f10f8000.usb3: xHCI Host Controller
   [    1.269041] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
   [    1.276630] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
   [    1.285195] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
   [    1.291190] hub 4-0:1.0: USB hub found
   [    1.294958] hub 4-0:1.0: 1 port detected
   [    1.298974] xhci-hcd f10f8000.usb3: xHCI Host Controller
   [    1.304309] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
   [    1.311842] usb usb5: We dont know the algorithms for LPM for this host, disabling LPM.
   [    1.320147] hub 5-0:1.0: USB hub found
   [    1.323921] hub 5-0:1.0: 1 port detected
   [    1.329839] sdhci: Secure Digital Host Controller Interface driver
   [    1.336054] sdhci: Copyright(c) Pierre Ossman
   [    1.340684] sdhci-pltfm: SDHCI platform and OF driver helper
   [    1.347178] usbcore: registered new interface driver usb-storage
   [    1.360572] init: - preinit -
   Press the [f] key and hit [enter] to enter failsafe mode
   Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
   [    4.406424] procd: - early -
   [    4.965685] procd: - ubus -
   [    5.019086] random: ubusd urandom read with 0 bits of entropy available
   [    5.025976] procd: - init -
   Please press Enter to activate this console.
   [    5.196134] device-mapper: ioctl: 4.31.0-ioctl (2015-3-12) initialised: dm-devel@redhat.com
   [    5.207844] ip6_tables: (C) 2000-2006 Netfilter Core Team
   [    5.215742] i2c /dev entries driver
   [    5.221208] ip_tables: (C) 2000-2006 Netfilter Core Team
   [    5.228628] nf_conntrack version 0.5.0 (16162 buckets, 64648 max)
   [    5.414558] xt_time: kernel timezone is -0000
   [    5.431616] PPP generic driver version 2.4.2
   [    5.436259] NET: Registered protocol family 24
   [    7.114973] device eth0 entered promiscuous mode
   [    7.122099] br-lan: port 1(eth0) entered forwarding state
   [    7.127527] br-lan: port 1(eth0) entered forwarding state
   [    7.148077] device eth1 entered promiscuous mode
   [    7.152853] br-lan: port 2(eth1) entered forwarding state
   [    7.158270] br-lan: port 2(eth1) entered forwarding state
   [    7.173015] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
   [    8.110954] br-lan: port 1(eth0) entered disabled state
   [    8.116262] br-lan: port 2(eth1) entered disabled state
   [    9.120956] mvneta f1030000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
   [    9.128814] br-lan: port 1(eth0) entered forwarding state
   [    9.134240] br-lan: port 1(eth0) entered forwarding state
   [    9.140957] mvneta f1034000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
   [    9.148813] br-lan: port 2(eth1) entered forwarding state
   [    9.154235] br-lan: port 2(eth1) entered forwarding state
   [   11.130932] br-lan: port 1(eth0) entered forwarding state
   [   11.150930] br-lan: port 2(eth1) entered forwarding state
 
   BusyBox v1.24.2 () built-in shell (ash)
   Enter 'help' for a list of built-in commands.
      _______                     ________        __
    |       |.-----.-----.-----.|  |  |  |.----.|  |_
    |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
    |_______||   __|_____|__|__||________||__|  |____|
             |__| W I R E L E S S   F R E E D O M
    -----------------------------------------------------
    DESIGNATED DRIVER (Bleeding Edge, r49395)
    -----------------------------------------------------
     * 2 oz. Orange Juice         Combine all juices in a
     * 2 oz. Pineapple Juice      tall glass filled with
     * 2 oz. Grapefruit Juice     ice, stir well.
     * 2 oz. Cranberry Juice
    -----------------------------------------------------
   root@OpenWrt:/#
31.01.20181316Base systemBug ReportVery LowLowkernel, serial line, pl2303 changes breaks ntpd with RA...TrunkUnconfirmed Task Description

kernel time, pl2303, serial line kenel module

Device and Software:

TP-Link 4300v1
OpenWRT 17.01.4, r3560-79f57e422d
Component: kernel, serial line, pl2303

Setup:

ntpd V4.2.6p5 and V4.2.8p10(cross compiled with clock RAWDCF)
reference clock
  server 127.127.8.0-3 mode 5
  RAW DCF77 100/200ms pulses
pl2303 usb to serial adapter (/dev/ttyUSB0)
=> set to 50 Baud by ntpd when opening
DCF77 reciever connected per serial line to pl2303
=> No problem with V12.09 with Attitude Adjustment
   Time decode with dcfd and ntpd works absolutely reliable.
The 100ms/200ms pulses send from the DCF77 reciever code bits "0" and "1".
The length of the signal on the serial RX line is decoded by the ntpd.
One bit per second is send. After 60 seconds the telegram is decoded to the actual time and date.  
 => The puls length hat to be acurately "send" through the pl2303 to the kernel serial line driver into ntpd.

Problem:

Since V15, and also on the latest V17.01.4 the dcfd and ntpd could not decode the dcf telegram.
There always "1" decoded, or the transmission is invalid, due to inconsitency "flapping" bits

Suggestions:

Suspect some changes in the Linux kernel which effects the timne measurement 
or inside the pl2303 driver, so the bits are not corretly decoded (100ms/200ms).

Reproduce/Debug:

I'm able to test new kernel and driver modules on my test environmet
perhaps "setserial" (can't fint it anywhere) can set some serial line parameters

Working well on TP-Link 4300, V12.09:

root@funk:~# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*GENERIC(0)      .DCFa.           0 l   24   64  377    0.000   -0.236   0.430
 funk.koelle.... .INIT.          16 u    - 1024    0    0.000    0.000   0.000
+ntps1-0.eecsit. .PPS.            1 u   52   64  177   28.454   -0.638   2.367
+ptbtime2.ptb.de .PTB.            1 u   20   64  377   19.201   -0.495   2.739
+rustime01.rus.u .PZF.            1 u   26   64  377   18.828   -1.042   2.059
+ntp2.rrze.uni-e .GPS.            1 u   32   64  377   19.264   -0.737   2.068
-ntp2.belwue.de  .PZF.            1 u   43   64  377   21.406   -1.818   1.428
-ts-1.rz.rwth-aa .GPS.            1 u   13   64  377   18.941   -1.521   0.810
 LOCAL(0)        .LOCL.          10 l   4d   64    0    0.000    0.000   0.000

root@funk:~# ntpq -c clockv
associd=0 status=00e0 , 14 events, clk_unspec,
device="RAW DCF77 CODE (Conrad DCF77 receiver module)",
timecode="-####--#-#-###----M-S1-4-1--P-----2P1---1212-1-------81---p",
poll=5549, noreply=0, badformat=0, baddata=7, fudgetime1=191.700,
stratum=0, refid=DCFa, flags=0,
refclock_time="de1c9459.00000000  Wed, Jan 31 2018 19:15:37.000",
refclock_status="TIME CODE; (LEAP INDICATION; ANTENNA)",
refclock_format="RAW DCF77 Timecode",
refclock_states="*NOMINAL: 4d+02:30:16 (99.85%); ILLEGAL DATE: 00:08:37 (0.14%); running time: 4d+02:38:53"

</code>

It would be verry nice if someone could have an insight into this problem.

Many thanks

Lars

01.02.20181317Base systemBug ReportVery LowHighom2p-lc sysupgrade fails silentlyTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Openmesh om2p-lc
- Software versions of OpenWrt/LEDE release, packages, etc.
LEDE Reboot SNAPSHOT r5360-a8a23ca

- Steps to reproduce
sysupgrade -n /tmp/lede-ar71xx-generic-om2p-squashfs-sysupgrade.bin
Sysupgrade appears to go through the motions but firmware doesn’t upgrade and doesn’t delete config files with the -n switch.
I’ve tried the factory and the sysupgrade file with the same results. This build upgrades as expedted with a tl-mr3420-v2 and tl-wr740n-v4.

Not sure if it’s related but the om-watchdog init script also fails to detect the board type so doesn’t start.
Changing this line in the /etc/init.d/om-watchdog init script gets the watchdog to start which make me think it’s an identification issue.
local board=$(ar71xx_board_name)
change to
local board=$(cat /tmp/sysinfo/board_name)

 


01.02.20181319KernelBug ReportVery LowLowSupport of PC Engines APU1TrunkUnconfirmed Task Description

Is it possible to use LEDs and GPIOs on PC Engines APU1? APU2 works, but APU1 have not drivers.

01_led and 02_network in x86 platform have a support for APU1 but I am not able to find a kernel module as in apu2 platform.

Thanks for answer, Zbynek Kocur


01.02.20181320KernelBug ReportVery LowCriticalcritical crash and restartTrunkUnconfirmed Task Description

There is a random crash all network stop and the router restart .

I’m using last dev build .

Linksys WRT1900ACS

OpenWrt SNAPSHOT r5985-33e8f7e / LuCI Master (git-18.030.59690-47d1eaa)

Kernel 4.9.77

root@OpenWrt:~# cat /sys/kernel/debug/crashlog
Time: 1517518692.641321
Modules:        pppoe@bf1a6000+1e77     ppp_async@bf1a1000+1911 pppox@bf19d000+567      ppp_generic@bf193000+5218       iptable_nat@bf18a000+451        ipt_REJECT@bf186000+3ea ipt_MASQUERADE@bf182000+332     xt_time@bf17e000+6a6    xt_tcpudp@bf17a000+758       xt_state@bf176000+349   xt_nat@bf172000+59d     xt_multiport@bf16e000+554       xt_mark@bf16a000+320    xt_mac@bf166000+2c7     xt_limit@bf162000+48d   xt_conntrack@bf15e000+958       xt_comment@bf15a000+24b xt_TCPMSS@bf156000+a68       xt_REDIRECT@bf152000+375        xt_LOG@bf14e000+3c3     xt_CT@bf14a000+b55      slhc@bf146000+fd2       nf_reject_ipv4@bf142000+803     nf_nat_redirect@bf13e000+3db    nf_nat_masquerade_ipv4@bf13a000+60d     nf_conntrack_ipv4@bf135000+17e5      nf_nat_ipv4@bf131000+f1e        nf_nat@bf12b000+24c0    nf_log_ipv4@bf127000+c36        nf_defrag_ipv4@bf123000+3bc     nf_conntrack_rtcache@bf11f000+a92       nf_conntrack@bf10b000+e773      iptable_mangle@bf107000+3fc  iptable_filter@bf103000+37c     ip_tables@bf0fd000+2817 crc_ccitt@bf0f9000+42b  mwlwifi@bf0d6000+1b6d5  mac80211@bf068000+5f891 cfg80211@bf02e000+311b5 compat@bf029000+12f5    ip6t_REJECT@bf025000+3ec        nf_reject_ipv6@bf021000+908  nf_log_ipv6@bf01d000+cf7        nf_log_common@bf019000+98f      ip6table_mangle@bf015000+4be    ip6table_filter@bf011000+33e    ip6_tables@bf00b000+2715        x_tables@bf005000+2aac  gpio_button_hotplug@bf000000+1784
<7>[   17.893444] ieee80211 phy0: change: 0x40
<7>[   17.911298] ieee80211 phy1: change: 0x40
<7>[   18.111289] ieee80211 phy0: change: 0x40
<7>[   18.121292] ieee80211 phy1: change: 0x40
<7>[   18.321297] ieee80211 phy1: change: 0x40
<7>[   18.331297] ieee80211 phy0: change: 0x40
<7>[   18.521292] ieee80211 phy1: change: 0x40
<7>[   18.551290] ieee80211 phy0: change: 0x40
<7>[   18.721288] ieee80211 phy1: change: 0x40
<7>[   18.771289] ieee80211 phy0: change: 0x40
<7>[   18.931296] ieee80211 phy1: change: 0x40
<7>[   18.991298] ieee80211 phy0: change: 0x40
<7>[   19.020305] ieee80211 phy1: change: 0x100
<7>[   19.029330] ieee80211 phy1: change: 0x100
<7>[   19.038371] ieee80211 phy1: change: 0x40
<7>[   19.211298] ieee80211 phy0: change: 0x40
<7>[   19.241292] ieee80211 phy1: change: 0x40
<7>[   19.431290] ieee80211 phy0: change: 0x40
<7>[   19.441292] ieee80211 phy1: change: 0x40
<7>[   19.641290] ieee80211 phy1: change: 0x40
<7>[   19.651294] ieee80211 phy0: change: 0x60
<7>[   19.851295] ieee80211 phy1: change: 0x40
<7>[   19.871292] ieee80211 phy0: change: 0x40
<7>[   20.051291] ieee80211 phy1: change: 0x40
<7>[   20.091295] ieee80211 phy0: change: 0x40
<7>[   20.271295] ieee80211 phy1: change: 0x40
<7>[   20.311290] ieee80211 phy0: change: 0x40
<7>[   20.471289] ieee80211 phy1: change: 0x40
<7>[   20.531292] ieee80211 phy0: change: 0x40
<7>[   20.681288] ieee80211 phy1: change: 0x40
<7>[   20.751289] ieee80211 phy0: change: 0x40
<7>[   20.881292] ieee80211 phy1: change: 0x40
<7>[   20.971288] ieee80211 phy0: change: 0x40
<7>[   21.081288] ieee80211 phy1: change: 0x40
<7>[   21.191289] ieee80211 phy0: change: 0x40
<7>[   21.291292] ieee80211 phy1: change: 0x40
<7>[   21.411291] ieee80211 phy0: change: 0x40
<7>[   21.491290] ieee80211 phy1: change: 0x40
<7>[   21.631288] ieee80211 phy0: change: 0x40
<7>[   21.691293] ieee80211 phy1: change: 0x40
<7>[   21.780306] ieee80211 phy1: change: 0x100
<7>[   21.789330] ieee80211 phy1: change: 0x100
<7>[   21.798374] ieee80211 phy1: change: 0x40
<7>[   21.851290] ieee80211 phy0: change: 0x40
<7>[   22.001288] ieee80211 phy1: change: 0x40
<7>[   22.071295] ieee80211 phy0: change: 0x60
<7>[   22.175310] ieee80211 phy0: change: 0x100
<7>[   22.184332] ieee80211 phy0: change: 0x100
<7>[   22.193444] ieee80211 phy0: change: 0x40
<7>[   22.201309] ieee80211 phy1: change: 0x40
<7>[   22.411296] ieee80211 phy1: change: 0x40
<7>[   22.411298] ieee80211 phy0: change: 0x40
<7>[   22.611290] ieee80211 phy1: change: 0x40
<7>[   22.631293] ieee80211 phy0: change: 0x40
<7>[   22.811293] ieee80211 phy1: change: 0x40
<7>[   22.851290] ieee80211 phy0: change: 0x40
<7>[   23.011290] ieee80211 phy1: change: 0x40
<7>[   23.081291] ieee80211 phy0: change: 0x40
<7>[   23.221291] ieee80211 phy1: change: 0x40
<7>[   23.301289] ieee80211 phy0: change: 0x40
<7>[   23.421287] ieee80211 phy1: change: 0x40
<7>[   23.531289] ieee80211 phy0: change: 0x40
<7>[   23.621289] ieee80211 phy1: change: 0x40
<7>[   23.751294] ieee80211 phy0: change: 0x40
<7>[   23.821289] ieee80211 phy1: change: 0x40
<7>[   23.971291] ieee80211 phy0: change: 0x60
<7>[   24.031292] ieee80211 phy1: change: 0x40
<7>[   24.201295] ieee80211 phy0: change: 0x40
<7>[   24.231289] ieee80211 phy1: change: 0x40
<7>[   24.421288] ieee80211 phy0: change: 0x40
<7>[   24.431294] ieee80211 phy1: change: 0x40
<7>[   24.520307] ieee80211 phy1: change: 0x100
<7>[   24.529329] ieee80211 phy1: change: 0x100
<7>[   24.538373] ieee80211 phy1: change: 0x40
<7>[   24.641294] ieee80211 phy0: change: 0x40
<7>[   24.741289] ieee80211 phy1: change: 0x40
<7>[   24.861288] ieee80211 phy0: change: 0x40
<7>[   24.951295] ieee80211 phy1: change: 0x40
<7>[   25.091294] ieee80211 phy0: change: 0x40
<7>[   25.151291] ieee80211 phy1: change: 0x40
<7>[   25.311289] ieee80211 phy0: change: 0x40
<7>[   25.351293] ieee80211 phy1: change: 0x40
<7>[   25.541292] ieee80211 phy0: change: 0x40
<7>[   25.551310] ieee80211 phy1: change: 0x40
<7>[   25.751295] ieee80211 phy1: change: 0x40
<7>[   25.761310] ieee80211 phy0: change: 0x40
<7>[   25.951289] ieee80211 phy1: change: 0x40
<7>[   25.991289] ieee80211 phy0: change: 0x40
<7>[   26.151288] ieee80211 phy1: change: 0x40
<7>[   26.211288] ieee80211 phy0: change: 0x40
<7>[   26.351289] ieee80211 phy1: change: 0x40
<7>[   26.431321] ieee80211 phy0: change: 0x60
<7>[   26.537389] ieee80211 phy0: change: 0x100
<7>[   26.546386] ieee80211 phy0: change: 0x100
<7>[   26.555537] ieee80211 phy0: change: 0x40
<7>[   26.561381] ieee80211 phy1: change: 0x40
<7>[   26.791303] ieee80211 phy1: change: 0x40
<7>[   26.801338] ieee80211 phy0: change: 0x40
<7>[   26.991293] ieee80211 phy1: change: 0x40
<7>[   27.021299] ieee80211 phy0: change: 0x40
<7>[   27.191295] ieee80211 phy1: change: 0x40
<7>[   27.241292] ieee80211 phy0: change: 0x40
<7>[   27.279318] ieee80211 phy1: change: 0x100
<7>[   27.288340] ieee80211 phy1: change: 0x100
<7>[   27.297430] ieee80211 phy1: change: 0x40
<7>[   27.461292] ieee80211 phy0: change: 0x40
<7>[   27.501295] ieee80211 phy1: change: 0x40
<7>[   27.681296] ieee80211 phy0: change: 0x40
<7>[   27.701297] ieee80211 phy1: change: 0x40
<7>[   27.891302] ieee80211 phy0: change: 0x40
<7>[   27.911294] ieee80211 phy1: change: 0x40
<7>[   28.101301] ieee80211 phy0: change: 0x40
<7>[   28.111316] ieee80211 phy1: change: 0x40
<7>[   28.311293] ieee80211 phy1: change: 0x40
<7>[   28.331291] ieee80211 phy0: change: 0x60
<7>[   28.511289] ieee80211 phy1: change: 0x40
<7>[   28.551289] ieee80211 phy0: change: 0x40
<7>[   28.721289] ieee80211 phy1: change: 0x40
<7>[   28.771298] ieee80211 phy0: change: 0x40
<7>[   28.921289] ieee80211 phy1: change: 0x40
<7>[   29.001293] ieee80211 phy0: change: 0x40
<7>[   29.131293] ieee80211 phy1: change: 0x40
<7>[   29.231288] ieee80211 phy0: change: 0x40
<7>[   29.331289] ieee80211 phy1: change: 0x40
<7>[   29.451296] ieee80211 phy0: change: 0x40
<7>[   29.531293] ieee80211 phy1: change: 0x40
<7>[   29.671292] ieee80211 phy0: change: 0x40
<7>[   29.731297] ieee80211 phy1: change: 0x40
<7>[   29.901288] ieee80211 phy0: change: 0x40
<7>[   29.931292] ieee80211 phy1: change: 0x40
<7>[   30.019319] ieee80211 phy1: change: 0x100
<7>[   30.082758] ieee80211 phy1: change: 0x100
<7>[   30.091295] ieee80211 phy1: change: 0x42
<7>[   30.121296] ieee80211 phy0: change: 0x40
<6>[   30.244344] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
<6>[   30.250795] br-lan: port 2(wlan1) entered blocking state
<6>[   30.256146] br-lan: port 2(wlan1) entered forwarding state
<7>[   30.341319] ieee80211 phy0: change: 0x40
<7>[   30.561298] ieee80211 phy0: change: 0x40
<7>[   30.781295] ieee80211 phy0: change: 0x60
<7>[   30.885313] ieee80211 phy0: change: 0x100
<7>[   30.894341] ieee80211 phy0: change: 0x100
<7>[   30.903413] ieee80211 phy0: change: 0x40
<7>[   31.121301] ieee80211 phy0: change: 0x40
<7>[   31.341291] ieee80211 phy0: change: 0x40
<7>[   31.561292] ieee80211 phy0: change: 0x40
<7>[   31.781291] ieee80211 phy0: change: 0x40
<7>[   32.001301] ieee80211 phy0: change: 0x40
<7>[   32.221294] ieee80211 phy0: change: 0x40
<7>[   32.441293] ieee80211 phy0: change: 0x40
<7>[   32.661293] ieee80211 phy0: change: 0x60
<7>[   32.881294] ieee80211 phy0: change: 0x40
<7>[   33.101293] ieee80211 phy0: change: 0x40
<7>[   33.321293] ieee80211 phy0: change: 0x40
<7>[   33.541293] ieee80211 phy0: change: 0x40
<7>[   33.761291] ieee80211 phy0: change: 0x40
<7>[   33.981291] ieee80211 phy0: change: 0x40
<7>[   34.201291] ieee80211 phy0: change: 0x40
<7>[   34.421291] ieee80211 phy0: change: 0x40
<7>[   34.641291] ieee80211 phy0: change: 0x40
<7>[   34.861291] ieee80211 phy0: change: 0x40
<7>[   35.081295] ieee80211 phy0: change: 0x60
<7>[   35.185310] ieee80211 phy0: change: 0x100
<7>[   35.194337] ieee80211 phy0: change: 0x100
<7>[   35.203457] ieee80211 phy0: change: 0x40
<7>[   35.421292] ieee80211 phy0: change: 0x40
<7>[   35.641295] ieee80211 phy0: change: 0x40
<7>[   35.745318] ieee80211 phy0: change: 0x100
<7>[   35.809156] ieee80211 phy0: change: 0x100
<7>[   35.818178] ieee80211 phy0: change: 0x42
<6>[   35.990319] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<6>[   35.996762] br-lan: port 3(wlan0) entered blocking state
<6>[   36.002103] br-lan: port 3(wlan0) entered forwarding state
<6>[  121.174510] xt_conntrack: cannot load conntrack support for proto=10
<6>[  149.624016] xt_conntrack: cannot load conntrack support for proto=10
<6>[  317.781883] xt_conntrack: cannot load conntrack support for proto=10
<1>[70442.763618] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
<1>[70442.771761] pgd = ddddc000
<1>[70442.774477] [0000000c] *pgd=1d23d831, *pte=00000000, *ppte=00000000
<0>[70442.780811] Internal error: Oops: 17 [#1] SMP ARM
<4>[70442.785532] Modules linked in: pppoe ppp_async pppox ppp_generic iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt mwlwifi mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
<4>[70442.838560] CPU: 1 PID: 1711 Comm: hostapd Not tainted 4.9.77 #0
<4>[70442.844589] Hardware name: Marvell Armada 380/385 (Device Tree)
<4>[70442.850532] task: dec6d300 task.stack: ddd78000
<4>[70442.855092] PC is at mwl_fwcmd_destroy_ba+0x98/0xf4 [mwlwifi]
<4>[70442.860867] LR is at mwl_fwcmd_destroy_ba+0x34/0xf4 [mwlwifi]
<4>[70442.866637] pc : [<bf0dc844>]    lr : [<bf0dc7e0>]    psr: 80000013
<4>[70442.866637] sp : ddd79c80  ip : 00000000  fp : 00000000
<4>[70442.878161] r10: ddde3620  r9 : de38cac0  r8 : de38cac0
<4>[70442.883406] r7 : ddde1620  r6 : ddde2924  r5 : 00000000  r4 : ddd8c000
<4>[70442.889959] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : 00000000
<4>[70442.896513] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
<4>[70442.903677] Control: 10c5387d  Table: 1dddc04a  DAC: 00000051
<0>[70442.909445] Process hostapd (pid: 1711, stack limit = 0xddd78210)
<0>[70442.915562] Stack: (0xddd79c80 to 0xddd7a000)
<0>[70442.919937] 9c80: 00000001 ddde1620 dd3c55d8 ddde45e0 ddde0be0 bf0dcbac dd3c55d8 ddde1620
<0>[70442.928150] 9ca0: ddde0be0 df6fbce0 de3d0300 de7d4800 00000014 bf0d7c68 dd3c5000 00000002
<0>[70442.936362] 9cc0: 00000001 dd14f414 de3d0300 de7d4800 00000014 bf06aca4 ddde0be0 df6fb4c0
<0>[70442.944574] 9ce0: dd3c5000 bf06d2e4 00000002 00000002 dd3c5000 ddde0be0 df6fb4c0 bf06e278
<0>[70442.952786] 9d00: dd3c5000 00000000 00000000 dd3c5000 dd14f420 bf06e3c4 df6fb4c0 00000454
<0>[70442.960999] 9d20: dd14f420 bf06e43c ddde0000 df6fb000 ddd79d68 bf03add8 dd14f420 0002000c
<0>[70442.969210] 9d40: ddd79d68 de3d0300 df57a000 bf0296e8 00000000 df57a1fc df57a000 c03d4560
<0>[70442.977423] 9d60: bf05653a 1f5b5000 5a7275f6 00000601 dd14f400 dd14f410 dde5ed80 de7d4800
<0>[70442.985635] 9d80: ddde0000 df6fb000 dd14f400 de3d0300 c03d42d8 ddc99c00 ddd79dcc 00000000
<0>[70442.993847] 9da0: 00000008 c03d38fc c0656b08 de3d0300 de3d0300 c03d42c4 df4ba400 00000028
<0>[70443.002059] 9dc0: de3d0300 c03d3300 ddc99c00 7fffffff 00000000 de3d0300 00000000 ddd79f68
<0>[70443.010270] 9de0: 00000028 ddc99c00 00000000 c03d376c 00000000 c0227e2c 00000028 df7dad00
<0>[70443.018482] 9e00: 00000000 000006af 00000000 00000000 00000001 ddd79f68 00000000 ddd79e8c
<0>[70443.026694] 9e20: df16a000 00000000 c0630fc8 00000000 00000000 c038e534 ddd79f68 c038eac4
<0>[70443.034906] 9e40: 00000000 00000000 00000000 009a0010 00000028 be8f2c1c 00000000 ddd79eb4
<0>[70443.043118] 9e60: df16a000 c038ecbc ddbd30c0 00000000 be8f2c74 009b4030 00004000 00000000
<0>[70443.051330] 9e80: ffffffff ffffffff 00000051 c0654d80 ddd79ecc 00000051 00008933 00000000
<0>[70443.059541] 9ea0: 00000000 be8f2cac 00000020 00000010 00000000 00000000 00000000 00000000
<0>[70443.067753] 9ec0: ffffffff 0000007f 00000000 6e616c77 dd636c80 60000013 df401080 dd636a00
<0>[70443.075965] 9ee0: 00000000 dd636a00 df22d0a0 c00f379c df22d10c 00000007 00000000 00000000
<0>[70443.084177] 9f00: dec6d300 c005af44 ddd79f08 ddd79f08 df401180 df22d080 df178000 00000000
<0>[70443.092390] 9f20: df401580 df178000 df178000 0004094d df22d0a0 df16a000 be8f2c90 00000000
<0>[70443.100601] 9f40: 00000128 c000ef04 ddd78000 00000000 b6f44740 c038f864 00000000 00000000
<0>[70443.108813] 9f60: 00000000 fffffff7 ddd79eac 0000000c 00000001 00000000 00000000 ddd79e54
<0>[70443.117025] 9f80: 00000000 00000006 00000000 00000000 00000000 00000000 00000000 00000000
<0>[70443.125236] 9fa0: b6fbe110 c000ed40 00000000 00000000 00000005 be8f2c90 00000000 00000000
<0>[70443.133449] 9fc0: 00000000 00000000 b6fbe110 00000128 b6f44ef0 00000000 000252b4 b6f44740
<0>[70443.141661] 9fe0: be8f2c38 be8f2c24 b6f95204 b6f946d0 60000010 00000005 ffffffff ffffffff
<4>[70443.149890] [<bf0dc844>] (mwl_fwcmd_destroy_ba [mwlwifi]) from [<bf0dcbac>] (mwl_fwcmd_del_sta_streams+0x98/0x330 [mwlwifi])
<4>[70443.161164] [<bf0dcbac>] (mwl_fwcmd_del_sta_streams [mwlwifi]) from [<bf0d7c68>] (mwl_mac80211_sta_remove+0x38/0x1ec [mwlwifi])
<4>[70443.172740] [<bf0d7c68>] (mwl_mac80211_sta_remove [mwlwifi]) from [<bf06aca4>] (drv_sta_state+0x16c/0x184 [mac80211])
<4>[70443.183433] [<bf06aca4>] (drv_sta_state [mac80211]) from [<bf06d2e4>] (sta_info_move_state+0xbc/0x1d0 [mac80211])
<4>[70443.193775] [<bf06d2e4>] (sta_info_move_state [mac80211]) from [<bf06e278>] (sta_set_sinfo+0x954/0xa80 [mac80211])
<4>[70443.204204] [<bf06e278>] (sta_set_sinfo [mac80211]) from [<bf06e3c4>] (__sta_info_destroy+0x20/0x28 [mac80211])
<4>[70443.214372] [<bf06e3c4>] (__sta_info_destroy [mac80211]) from [<bf06e43c>] (sta_info_destroy_addr_bss+0x2c/0x44 [mac80211])
<4>[70443.225588] [<bf06e43c>] (sta_info_destroy_addr_bss [mac80211]) from [<bf03add8>] (nl80211_del_station+0xe8/0xf0 [cfg80211])
<4>[70443.236868] [<bf03add8>] (nl80211_del_station [cfg80211]) from [<bf0296e8>] (extack_doit+0x2c/0x70 [compat])
<4>[70443.246741] [<bf0296e8>] (extack_doit [compat]) from [<c03d4560>] (genl_rcv_msg+0x288/0x310)
<4>[70443.255216] [<c03d4560>] (genl_rcv_msg) from [<c03d38fc>] (netlink_rcv_skb+0x58/0xb4)
<4>[70443.263080] [<c03d38fc>] (netlink_rcv_skb) from [<c03d42c4>] (genl_rcv+0x20/0x34)
<4>[70443.270593] [<c03d42c4>] (genl_rcv) from [<c03d3300>] (netlink_unicast+0x138/0x1fc)
<4>[70443.278283] [<c03d3300>] (netlink_unicast) from [<c03d376c>] (netlink_sendmsg+0x2f0/0x310)
<4>[70443.286586] [<c03d376c>] (netlink_sendmsg) from [<c038e534>] (sock_sendmsg+0x14/0x24)
<4>[70443.294451] [<c038e534>] (sock_sendmsg) from [<c038eac4>] (___sys_sendmsg+0x184/0x228)
<4>[70443.302403] [<c038eac4>] (___sys_sendmsg) from [<c038f864>] (__sys_sendmsg+0x40/0x64)
<4>[70443.310271] [<c038f864>] (__sys_sendmsg) from [<c000ed40>] (ret_fast_syscall+0x0/0x48)
<0>[70443.318223] Code: e5840010 e5d81004 e5c41014 e598c000 (e59c300c)
<4>[70443.324372] ---[ end trace bf36642614617548 ]---
02.02.20181321PackagesBug ReportVery LowLowUCI potential invalid memory access when updating exist...TrunkUnconfirmed Task Description

- Software versions

UCI 2018-01-01

- Device problem occurs on

There is a potential memory leak when updating existing section in list.c:709

Return pointer from realloc may not be the same as ptr→s. Due to realloc mechanism, pointers value from ptr→s→options are copied to the ptr→last. However, those pointers (ptr→last→s→options) are pointing back to the ptr→s which has been freed.

Below are steps to reproduce.

- Steps to reproduce

 

Given a config file like that

cat /etc/config/network
config interface wan

Given test codes like that

#include <uci.h>

int main(int argc, const char *argv[])
{
    struct uci_context *uci_ctx = uci_alloc_context();
    struct uci_ptr ptr          = {0};
    ptr.package                 = "network";
    ptr.section                 = "wan";
    ptr.value                   = "interface";
    uci_lookup_ptr(uci_ctx, &ptr, NULL, false);
    uci_set(uci_ctx, &ptr);
    uci_save(uci_ctx, ptr.p);
    uci_commit(uci_ctx, &ptr.p, false);
    uci_free_context(uci_ctx);

    return 0;
}

Runs like that

cd UCI_PROJECT_ROOT
mkdir build
cmake ..
make
valgrind ./test/test_mem_leak_section
.... CTRL-C after a while ....

Here is the output of valgrind before the hotfix below

==1567== Memcheck, a memory error detector
==1567== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==1567== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==1567== Command: ./test/test_mem_leak_section
==1567== 
==1567== Invalid write of size 8
==1567==    at 0x4E3946B: uci_list_del (uci_internal.h:116)
==1567==    by 0x4E3946B: uci_free_element (list.c:71)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a850 is 32 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid write of size 8
==1567==    at 0x4E3946E: uci_list_del (uci_internal.h:117)
==1567==    by 0x4E3946E: uci_free_element (list.c:71)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a858 is 40 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid read of size 8
==1567==    at 0x4E394F8: uci_free_section (list.c:210)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a850 is 32 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid read of size 4
==1567==    at 0x4E39486: uci_free_option (list.c:97)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a878 is 72 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid read of size 8
==1567==    at 0x4E39456: uci_free_element (list.c:69)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a868 is 56 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid read of size 8
==1567==    at 0x4E3945F: uci_free_element (list.c:70)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a850 is 32 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid free() / delete / delete[] / realloc()
==1567==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a850 is 32 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
^C
==1567== 
==1567== HEAP SUMMARY:
==1567==     in use at exit: 973 bytes in 17 blocks
==1567==   total heap usage: 189 allocs, 408,927 frees, 8,483 bytes allocated
==1567== 
==1567== LEAK SUMMARY:
==1567==    definitely lost: 0 bytes in 0 blocks
==1567==    indirectly lost: 0 bytes in 0 blocks
==1567==      possibly lost: 0 bytes in 0 blocks
==1567==    still reachable: 973 bytes in 17 blocks
==1567==         suppressed: 0 bytes in 0 blocks
==1567== Rerun with --leak-check=full to see details of leaked memory
==1567== 
==1567== For counts of detected and suppressed errors, rerun with: -v
==1567== ERROR SUMMARY: 2043783 errors from 7 contexts (suppressed: 0 from 0)

- Hot fix

-			ptr->last = NULL;
-			ptr->last = uci_realloc(ctx, ptr->s, sizeof(struct uci_section));
-			ptr->s = uci_to_section(ptr->last);
-			uci_list_fixup(&ptr->s->e.list);
+			ptr->last = (struct uci_element *) ptr->s;

Please take a look the attachment. It includes my hot fix for this issue and corresponding demo codes as illustrated above.

I am not sure how to “update” the “uci_options” associated to the “uci_section”. So, I simply omit and replace the realloc part.

Tested by valgrind again

valgrind ./test/test_mem_leak_section 
==1749== Memcheck, a memory error detector
==1749== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==1749== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==1749== Command: ./test/test_mem_leak_section
==1749== 
==1749== 
==1749== HEAP SUMMARY:
==1749==     in use at exit: 0 bytes in 0 blocks
==1749==   total heap usage: 392 allocs, 392 frees, 23,574 bytes allocated
==1749== 
==1749== All heap blocks were freed -- no leaks are possible
==1749== 
==1749== For counts of detected and suppressed errors, rerun with: -v
==1749== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)


04.02.20181326KernelBug ReportVery LowMediumKernel crashTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
Archer C7 v2

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

OpenWrt SNAPSHOT r5994-fd30187c87 / LuCI Master (git-18.031.70145-518ac52)

Feb 3rd 2018 snapshot.

- Steps to reproduce

 

install snapshot, let it run, normal usage, connect disconnect etc.

info from kernel log:

[14458.634926] ath10k_pci 0000:01:00.0: failed to delete peer c4:b3:01:8f:ef:62 for vdev 0: -145
[14458.643587] ath10k_pci 0000:01:00.0: found sta peer c4:b3:01:8f:ef:62 (ptr 86958c00 id 27) entry on vdev 0 after it was supposedly removed
[14458.656870] ————[ cut here ]———— [14458.661686] WARNING: CPU: 0 PID: 13630 at backports-2017-11-01/net/mac80211/sta_info.c:1001 sta_set_sinfo+0×930/0x9d8 [mac80211]
[14458.673453] Modules linked in: xt_tcpmss xt_statistic xt_recent xt_length xt_hl xt_helper xt_ecn xt_dscp xt_connmark xt_connlimit xt_connbytes xt_HL xt_DSCP xt_CLASSIFY ipt_ECN sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ifb ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle
[14458.745995] iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage sd_mod scsi_mod ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[14458.775167] CPU: 0 PID: 13630 Comm: hostapd Not tainted 4.9.77 #0
[14458.781337] Stack : 804f765a 00000035 00000000 00000001 87c2f614 80489347 80439b58 0000353e
[14458.789882] 804f37a0 000003e9 00000000 00000000 00000000 800a9934 8043f378 80480000
[14458.798426] 00000003 000003e9 8043d53c 86b5fb0c 00000000 800d847c 804f765a 00000074
[14458.806971] 00000000 8022ef00 00000000 00000000 00000000 00000000 00000000 00000000
[14458.815516] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[14458.824051] ...
[14458.826552] Call Trace:
[14458.829043] [<8006b2c8>] show_stack+0×54/0×88 [14458.833482] [<8007ff40>] warn+0xe4/0×118 [14458.837657] [<80080008>] warn_slowpath_null+0x1c/0×34 [14458.842880] [<87706fd8>] sta_set_sinfo+0×930/0x9d8 [mac80211]
[14458.848830] [<87704940>] sta_info_get_bss+0×18/0×68 [mac80211]
[14458.854870] [<87707160>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[14458.861694] [<8764e3d0>] cfg80211_check_station_change+0x21cc/0×3848 [cfg80211]
[14458.869154] —[ end trace e47c69f6c533b83e ]— [14461.914797] ath10k_pci 0000:01:00.0: failed to wait for created wmi peer c4:b3:01:8f:ef:62 on vdev 0: -145
[14461.924661] ath10k_pci 0000:01:00.0: failed to add peer c4:b3:01:8f:ef:62 for vdev 0 when adding a new sta: -145
[14746.711911] ath10k_pci 0000:01:00.0: failed to install key for vdev 0 peer 2c:0e:3d:12:09:95: -11
[14746.720962] wlan0: failed to remove key (0, 2c:0e:3d:12:09:95) from hardware (-11)
[14746.753467] ath10k_pci 0000:01:00.0: cipher 0 is not supported
[14746.759445] ath10k_pci 0000:01:00.0: failed to remove peer wep key 0: -122
[14746.766463] ath10k_pci 0000:01:00.0: failed to clear all peer wep keys for vdev 0: -122
[14746.774607] ath10k_pci 0000:01:00.0: failed to disassociate station: 2c:0e:3d:12:09:95 vdev 0: -122
[14746.783787] ————[ cut here ]———— [14746.788602] WARNING: CPU: 0 PID: 13630 at backports-2017-11-01/net/mac80211/sta_info.c:993 sta_set_sinfo+0x8e0/0x9d8 [mac80211]
[14746.800249] Modules linked in: xt_tcpmss xt_statistic xt_recent xt_length xt_hl xt_helper xt_ecn xt_dscp xt_connmark xt_connlimit xt_connbytes xt_HL xt_DSCP xt_CLASSIFY ipt_ECN sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ifb ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle
[14746.872787] iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage sd_mod scsi_mod ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[14746.901958] CPU: 0 PID: 13630 Comm: hostapd Tainted: G W 4.9.77 #0
[14746.909370] Stack : 804f765a 00000043 00000000 00000001 87c2f614 80489347 80439b58 0000353e
[14746.917913] 804f37a0 000003e1 00000000 00000000 00000000 800a9934 8043f378 80480000
[14746.926458] 00000003 000003e1 8043d53c 86b5fb0c 00000000 800d847c 804f765a 00000073
[14746.935002] 8049ae60 8022ef00 00000000 00000000 00000000 00000000 00000000 00000000
[14746.943547] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[14746.952092] ...
[14746.954583] Call Trace:
[14746.957064] [<8006b2c8>] show_stack+0×54/0×88 [14746.961495] [<8007ff40>]
warn+0xe4/0×118 [14746.965666] [<80080008>] warn_slowpath_null+0x1c/0×34 [14746.970889] [<87706f88>] sta_set_sinfo+0x8e0/0x9d8 [mac80211]
[14746.976845] [<87704940>] sta_info_get_bss+0×18/0×68 [mac80211]
[14746.982873] [<87707160>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[14746.989699] [<8764e3d0>] cfg80211_check_station_change+0x21cc/0×3848 [cfg80211]
[14746.997160] —[ end trace e47c69f6c533b83f ]— [14750.071885] ath10k_pci 0000:01:00.0: failed to delete peer 2c:0e:3d:12:09:95 for vdev 0: -11
[14750.080493] ath10k_pci 0000:01:00.0: found sta peer 2c:0e:3d:12:09:95 (ptr 86115e00 id 57) entry on vdev 0 after it was supposedly removed
[14753.111859] ath10k_pci 0000:01:00.0: failed to set beacon mode for vdev 0: -11
[14756.151812] ath10k_pci 0000:01:00.0: failed to set dtim period for vdev 0: -11
[14759.191795] ath10k_pci 0000:01:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[14762.231753] ath10k_pci 0000:01:00.0: failed to set cts protection for vdev 0: -11
[14765.271707] ath10k_pci 0000:01:00.0: failed to set preamble for vdev 0: -11
[88965.620794] ath10k_pci 0000:01:00.0: failed to install key for vdev 0 peer a4:2b:b0:df:39:70: -11
[88965.630032] wlan0: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-11)
[111930.445474] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111933.485423] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111937.165444] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111940.205359] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111947.165313] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111950.205384] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111957.165174] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111960.205293] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111964.685124] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111967.725111] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111974.525032] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111977.565030] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111984.524945] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111987.564913] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111994.524853] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111997.564835] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[112004.524759] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[112007.564726] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request

05.02.20181328Base systemBug ReportVery LowLowVGV7510KW22 / o2 Box 6431: Spurious reboots and etherne...TrunkUnconfirmed Task Description

Device:
VGV7510KW22 / o2 Box 6431

Software version:
OpenWrt SNAPSHOT r5944-ad4232e
Linux version 4.9.77 (buildbot@slashdirt-03) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r5944-ad4232e) ) #0 SMP Thu Jan 25 10:00:48 2018

Environment:
Additional packages: asterisk13-chan-lantiq, strongswan

Steps to reproduce:
From time to time, the box will reboot spuriously. Uptimes vary, between 12 hours and 2 weeks. After such a reboot, some of the ethernet ports do not detect a link anymore. Unplugging and replugging the ethernet cable into the same port does not help, and the kernel will only notice a link if I plug the ethernet cable into another port.
Sometimes, the ethernet port loses link even without a reboot.
Syslog is logged to an external server via UDP and does not show any error message prior to the spurious reboot.

Workaround:
Performing a manual reboot after the spurious reboot fixes the ethernet link loss.

Possibly relevant difference between dmesg on a spurious and normal reboot:

--- dmesg-normal-reboot.txt.notimestamps        2018-02-05 11:42:10.656203272 +0100
+++ dmesg-spurious-reboot.txt.notimestamps      2018-02-05 11:40:47.264201277 +0100
@@ -30,8 +30,8 @@
 PID hash table entries: 256 (order: -2, 1024 bytes)
 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
 Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
-Writing ErrCtl register=00014098
-Readback ErrCtl register=00014098
+Writing ErrCtl register=00014090
+Readback ErrCtl register=00014090
 Memory: 55392K/63488K available (4334K kernel code, 178K rwdata, 1324K rodata, 1252K init, 244K bss, 8096K reserved, 0K cma-reserved)
 SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
 Hierarchical RCU implementation.
@@ -123,12 +123,14 @@
 libphy: Fixed MDIO Bus: probed
 libphy: lantiq,xrx200-mdio: probed
 ICPlus IP101A/G 0:01: attached PHY driver [ICPlus IP101A/G] (mii_bus:phy_addr=0:01, irq=-1)
-Intel XWAY PHY22F (xRX integrated) 0:11: attached PHY driver [Intel XWAY PHY22F (xRX integrated)] (mii_bus:phy_addr=0:11, irq=-1)
-Intel XWAY PHY22F (xRX integrated) 0:12: attached PHY driver [Intel XWAY PHY22F (xRX integrated)] (mii_bus:phy_addr=0:12, irq=-1)
-random: fast init done
+lantiq,xrx200-net 1e108000.eth eth0 (uninitialized): no PHY found
+xrx200-mdio: probing phy of port 2 failed
+lantiq,xrx200-net 1e108000.eth eth0 (uninitialized): no PHY found
+xrx200-mdio: probing phy of port 3 failed
 Intel XWAY PHY22F (xRX integrated) 0:13: attached PHY driver [Intel XWAY PHY22F (xRX integrated)] (mii_bus:phy_addr=0:13, irq=-1)
+random: fast init done
 Intel XWAY PHY22F (xRX integrated) 0:14: attached PHY driver [Intel XWAY PHY22F (xRX integrated)] (mii_bus:phy_addr=0:14, irq=-1)
-ltq-cputemp cputemp@0: Current CPU die temperature: 54.0 °C
+ltq-cputemp cputemp@0: Current CPU die temperature: 52.5 °C
 wdt 1f8803f0.watchdog: Init done
 NET: Registered protocol family 10
 NET: Registered protocol family 17
@@ -139,7 +141,6 @@
 This architecture does not have kernel memory protection.
 init: Console is alive
 init: - watchdog -
-lantiq,xrx200-net 1e108000.eth eth0: port 2 got link
 kmodloader: loading kernel modules from /etc/modules-boot.d/*
 dwc2 1e101000.ifxhcd: requested GPIO 509
 dwc2 1e101000.ifxhcd: DWC OTG Controller
@@ -151,12 +152,12 @@
 hub 1-0:1.0: 1 port detected
 kmodloader: done loading kernel modules from /etc/modules-boot.d/*
 init: - preinit -
-jffs2: notice: (440) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
+IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
+jffs2: notice: (436) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
 mount_root: switching to jffs2 overlay
 urandom-seed: Seeding with /etc/urandom.seed
 procd: - early -
 procd: - watchdog -
-lantiq,xrx200-net 1e108000.eth eth0: port 2 lost link
 procd: - watchdog -
 procd: - ubus -
 procd: - init -
@@ -207,19 +208,19 @@
 device eth0 entered promiscuous mode
 IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
 IPv6: ADDRCONF(NETDEV_UP): eth0.13: link is not ready
-lantiq,xrx200-net 1e108000.eth eth0: port 2 got link
-IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
-br-lan: port 1(eth0.1) entered blocking state
-br-lan: port 1(eth0.1) entered forwarding state
-IPv6: ADDRCONF(NETDEV_CHANGE): eth0.13: link becomes ready
-IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
+random: crng init done
 PTM 1.0.27    PTM (E1) firmware version 0.30
 ifxmips_ptm: PTM init succeed
 IPv6: ADDRCONF(NETDEV_UP): dsl0: link is not ready
 IPv6: ADDRCONF(NETDEV_UP): dsl0.7: link is not ready
-random: crng init done
 enter showtime
 IPv6: ADDRCONF(NETDEV_CHANGE): dsl0: link becomes ready
 IPv6: ADDRCONF(NETDEV_CHANGE): dsl0.7: link becomes ready
 enter showtime
 pppoe-wan: renamed from ppp0
09.02.20181338Base systemBug ReportVery LowLowcron silently fails to startTrunkUnconfirmed Task Description

I’m running HEAD (9a08c10 BUILD_ID=”r5968+31-bcd17ce”) on an x86_64. I’ve enabled:

CONFIG_BUSYBOX_CONFIG_CROND=y
CONFIG_BUSYBOX_CONFIG_CRONTAB=y

and I’ve validated that

/etc/init.d/cron enable

and then tried to run it:

root@OpenWrt3:~# /etc/init.d/cron enable
root@OpenWrt3:~# /etc/init.d/cron start
root@OpenWrt3:~# echo $?
0
root@OpenWrt3:~# ps -w | grep cron
14918 root      3088 S    grep cron
root@OpenWrt3:~# grep cron /var/log/messages
root@OpenWrt3:~# 
10.02.20181345Base systemBug ReportVery LowLowFailed to build u-boot/atmelimage.o in Alpine LinuxTrunkUnconfirmed Task Description

Failed to build u-boot/atmelimage.o in Alpine Linux

tools/mkimage.h: In function 'map_to_sysmem':                                                                                                           
tools/mkimage.h:40:10: error: 'ulong' undeclared (first use in this function)                                                                           
  return (ulong)(uintptr_t)ptr;                                                                                                                         
          ^~~~~                                                                                                                                         
tools/mkimage.h:40:10: note: each undeclared identifier is reported only once for each function it appears in                                           
tools/mkimage.h:40:17: error: expected expression before 'uintptr_t'                                                                                    
  return (ulong)(uintptr_t)ptr;                                                                                                                         
                 ^~~~~~~~~                                                                                                                              
tools/mkimage.h:40:27: error: expected ';' before 'ptr'                                                                                                 
  return (ulong)(uintptr_t)ptr;                                                                                                                         
                           ^~~                                                                                                                          
make[5]: *** [scripts/Makefile.host:134: tools/atmelimage.o] Error 1                                                                                    
make[4]: *** [Makefile:1195: tools-only] Error 2
11.02.20181347Base systemBug ReportVery LowHighAsus WL500GP V2 reboots when you`re trying to send fileAllUnconfirmed Task Description

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

 

I`m using Asus WL500GP V2 with Huawei E3372s with HiLink fw (I tested stick fw too). I`ve tried all LEDE versions. You can reproduce easily, just try to attach file to letter, or send file to cloud. 99% that router will reboot.

11.02.20181348Base systemBug ReportVery LowMediumdnsmasq config script doesn't handle vendorclass specif...TrunkUnconfirmed Task Description

This happens as of LEDE 17.01.4, and is a result of how /etc/init.d/dnsmasq script rebuilds the temp dnsmasq config file from the /etc/config/dhcp file.

dnsmasq supports the following construct:

dhcp-vendorclass=set:ubiquity,ubnt
dhcp-option=tag:ubiquity,1,192.168.1.10

The meaning of which would be that if a vendor string that matches ‘ubnt’ is seen, then the class ‘ubiquity’ is set against the device, any dhcp-options tagged with that class would be sent to devices so tagged.

The dhcp config files supports constructs like this:

config vendorclass ‘ubiquity’

  option vendorclass 'ubnt'
  option networkid 'vendor:ubnt'
  list dhcp_option '1,192.168.1.10'

but in this case the value of networkid is pre-pended in each case to the dhcp_option string, like so:

dhcp-vendorclass=vendor:ubnt,ubnt
dhcp-option=vendor:ubnt,1,192.168.1.10

Which works as config - but only because the vendorclass specification is not at work at all - essentially all the matching is occurring within the dhcp-option (it wouldn’t be possible to specify multiple values to be matched in the vendorclass specifier for instance).


12.02.20181352KernelBug ReportVery LowLowar71xx/mikrotik: Link change detection on switch ports ...TrunkUnconfirmed Task Description

Link change detection on switch ports no longer working for some MikroTik devices, such as:
- RB493G (AR8316 switch)
- RB951G-2HnD (AR8327 switch)

Can’t tell if this is specific to MikroTik devices or if it also affects other AR8xxx switch based ones.
This was working in the past (old OpenWrt r46741), but I can’t tell when or how long it stopped working.

[  157.486354] Atheros AR8216/AR8236/AR8316 gpio:00: Port 4 is down
[  161.505826] Atheros AR8216/AR8236/AR8316 gpio:00: Port 4 is up
[  240.890350] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is down
[  242.900237] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up

Initial commit for link change detection support:
https://github.com/openwrt/openwrt/commit/a1fba9dfbe628b171ac789510aca233178fe7d85

13.02.20181356Base systemBug ReportVery LowLowWiFi Monitor interface is created on wrong channelTrunkUnconfirmed Task Description

- Device problem occurs on: PC-Engines APU3
- Software versions of OpenWrt/LEDE release: LEDE 17.01.4

Just created a monitor interface with an WLE200NX:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '5'
        option hwmode '11g'
        option path 'pci0000:00/0000:00:02.5/0000:04:00.0'
        option htmode 'HT40'
        option disabled '0'

config wifi-iface
        option mode 'monitor'
        option device 'radio0'
        option ifname 'mon0'

And restarted the device. It was expected that the monitor interface is now in HT40 mode (able to receive on HT40) and on channel 5. But in reality, the device was now on channel 1 and used a 20MHz (non-HT) channel setting:

root@LEDE:/# iw dev
phy#0
        Interface mon0
                ifindex 7
                wdev 0x2
                addr 00:11:22:33:44:55
                type monitor
                channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz
                txpower 20.00 dBm
14.02.20181359Base systemBug ReportVery LowLowboost falis to compile with glibc 2.26 TrunkUnconfirmed Task Description

Environment: x86_64, OpenWRT/LEDE trunk
Description: Compilation failed with target-x86_64_glibc

# Target System                                              --> x86
# Subtarget                                                     --> x86_64
# Target Profile                                               --> Generic


# Advanced configuration options (for developers)     [*]   Toolchain Options  ---> C Library implementation (Use glibc)  

if I select only --> <*> boost -- it compiled with no issues.

But if I try to include the following Boost library, then failed to compile.
--> <*> boost.................................. Boost C++ source library packages
                       --> Select Boost libraries
                                            --> -*- Boost atomic library   
                                            --> -*- Boost chrono library
                                            --> -*- Boost system library
                                            --> -*- Boost thread libray


according to this https://github.com/openwrt/packages/issues/5573, glibc 2.26 has introduced a regression and needs to be patched.
do you have any idea how to solve the issue?
Thank you !

14.02.20181362KernelBug ReportVery LowLowkernel hangs unexpectedly on mt7621TrunkUnconfirmed Task Description

Usually system just hangs with no messages in the log. I’ve tried to enable log writing to external USB flash, but the log just stops in the time when the issue occurs.
I have no idea how to reproduce it. It could happen 3-5 times a day, but sometimes systems works for a week with no issues.

I’ve tried a lot of snapshot builds since 20180111, but the issue still exists.

The current version installed:
Snapshot 20180212
Hardware: Xiaomi Router 3G
ramips-mt7621

opkg list:
base-files - 184-r6069-a464fba
busybox - 1.27.2-3
dnsmasq - 2.78-10
dropbear - 2017.75-5
firewall - 2017-11-07-c4309372-2
fstools - 2018-02-11-3d239815-1
fwtool - 1
hostapd-common - 2017-08-24-c2d4f2eb-6
ip6tables - 1.6.1-2
iptables - 1.6.1-2
iw - 4.9-1
jshn - 2018-02-08-bb0c830b-1
jsonfilter - 2016-07-02-dea067ad-1
kernel - 4.9.77-1-2b01b81f4010dbad63c4aa03d212c19b
kmod-cfg80211 - 4.9.77+2017-11-01-3
kmod-gpio-button-hotplug - 4.9.77-2
kmod-ip6tables - 4.9.77-1
kmod-ipt-conntrack - 4.9.77-1
kmod-ipt-core - 4.9.77-1
kmod-ipt-nat - 4.9.77-1
kmod-leds-gpio - 4.9.77-1
kmod-lib-crc-ccitt - 4.9.77-1
kmod-mac80211 - 4.9.77+2017-11-01-3
kmod-mt76-core - 4.9.77+2018-02-09-246d548b-1
kmod-mt7603 - 4.9.77+2018-02-09-246d548b-1
kmod-mt76x2 - 4.9.77+2018-02-09-246d548b-1
kmod-nf-conntrack - 4.9.77-1
kmod-nf-conntrack6 - 4.9.77-1
kmod-nf-ipt - 4.9.77-1
kmod-nf-ipt6 - 4.9.77-1
kmod-nf-nat - 4.9.77-1
kmod-nf-reject - 4.9.77-1
kmod-nf-reject6 - 4.9.77-1
kmod-nls-base - 4.9.77-1
kmod-ppp - 4.9.77-1
kmod-pppoe - 4.9.77-1
kmod-pppox - 4.9.77-1
kmod-slhc - 4.9.77-1
kmod-tun - 4.9.77-1
kmod-usb-core - 4.9.77-1
kmod-usb-ledtrig-usbport - 4.9.77-1
kmod-usb3 - 4.9.77-1
lede-keyring - 2017-01-20-a50b7529-1
libblobmsg-json - 2018-02-08-bb0c830b-1
libc - 1.1.18-1
libgcc - 5.5.0-1
libip4tc - 1.6.1-2
libip6tc - 1.6.1-2
libiwinfo - 2018-01-16-5a5e21b1-1
libiwinfo-lua - 2018-01-16-5a5e21b1-1
libjson-c - 0.12.1-1
libjson-script - 2018-02-08-bb0c830b-1
liblua - 5.1.5-1
liblzo - 2.10-1
libmbedtls - 2.6.0-1
libnl-tiny - 0.1-5
libopenssl - 1.0.2n-1
libpthread - 1.1.18-1
libubox - 2018-02-08-bb0c830b-1
libubus - 2018-01-16-5bae22eb-1
libubus-lua - 2018-01-16-5bae22eb-1
libuci - 2018-01-01-5beb95da-1
libuci-lua - 2018-01-01-5beb95da-1
libuclient - 2017-11-02-4b87d831-1
libustream-mbedtls - 2016-07-02-ec80adaa-2
libxtables - 1.6.1-2
logd - 2017-11-13-e7a63fba-1
lua - 5.1.5-1
luci - git-18.039.58622-76f9f5e-1
luci-app-firewall - git-18.039.58622-76f9f5e-1
luci-app-openvpn - git-18.039.58622-76f9f5e-1
luci-base - git-18.039.58622-76f9f5e-1
luci-lib-ip - git-18.039.58622-76f9f5e-1
luci-lib-jsonc - git-18.039.58622-76f9f5e-1
luci-lib-nixio - git-18.039.58622-76f9f5e-1
luci-mod-admin-full - git-18.039.58622-76f9f5e-1
luci-proto-ipv6 - git-18.039.58622-76f9f5e-1
luci-proto-ppp - git-18.039.58622-76f9f5e-1
luci-ssl - git-18.039.58622-76f9f5e-1
luci-theme-bootstrap - git-18.039.58622-76f9f5e-1
luci-theme-material - git-18.039.58622-76f9f5e-1
mtd - 21
netifd - 2018-02-05-1be329c6-3
odhcp6c - 2017-09-05-1f93bd4c-8
odhcpd-ipv6only - 1.3-1
openssl-util - 1.0.2n-1
openvpn-easy-rsa - 3.0.1-1
openvpn-openssl - 2.4.4-2
opkg - 2017-12-07-3b417b9f-2
ppp - 2.4.7-12
ppp-mod-pppoe - 2.4.7-12
procd - 2018-01-23-653629f1-2
px5g-mbedtls - 4
rpcd - 2017-12-07-cfe1e75c-1
rpcd-mod-rrdns - 20170710
swconfig - 11
ubi-utils - 1.5.2-1
uboot-envtools - 2015.10-1
ubox - 2017-11-13-e7a63fba-1
ubus - 2018-01-16-5bae22eb-1
ubusd - 2018-01-16-5bae22eb-1
uci - 2018-01-01-5beb95da-1
uclient-fetch - 2017-11-02-4b87d831-1
uhttpd - 2017-11-04-a235636a-1
uhttpd-mod-ubus - 2017-11-04-a235636a-1
usign - 2015-07-04-ef641914-1
wireless-regdb - 2017-10-20-4343d359
wpad-mini - 2017-08-24-c2d4f2eb-6
zlib - 1.2.11-2

The only strange think I found - some amount of dropped packets on ethernet interface connected to local network.

I think it’s related to local network traffic somehow. I put the anoter router in this network and both of the routers hang the same time once.
The second router was Netgear wnr1000v2 based on ar71xx.

I’ve also tried to change the Xiaomi router with different one but same model. Nothing changed.

Twice I found the following kernel warnin in the log:

Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 416.948299] ————[ cut here ]———— Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 416.953073] WARNING: CPU: 0 PID: 0 at backports-2017-11-01/net/mac80211/rx.c:4316 ieee80211_rx_napi+0x1a4/0×964 [mac80211]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 416.964092] Rate marked as a VHT rate but data is invalid: MCS: 126, NSS: 0
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 416.971084] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.036194] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.77 #0
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.042086] Stack : 00000000 00000000 80557b4a 00000033 8040fc04 00000000 00000000 80550000
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.050434] 804f62bc 804f5ea7 8048cd04 00000000 00000000 80553824 00000004 0000099e
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.058779] 00000000 8006ab98 00000001 80550000 804fc004 804fc008 80491910 8fc0dc7c
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.067122] 00000003 800a7a50 00000004 0000099e 00000000 00000000 00000002 00c0dc7c
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.075465] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.083808] ...
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.086244] Call Trace:
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.088706] [<8000f714>] show_stack+0×54/0×88 Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.093048] [<801e5d9c>] dump_stack+0x8c/0xd0
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.097384] [<8002adc4>] __warn+0xe4/0×118 Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.101462] [<8002ae28>] warn_slowpath_fmt+0×30/0x3c
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.106535] [<8ec25c7c>] ieee80211_rx_napi+0x1a4/0×964 [mac80211]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.112640] [<8f2d9b78>] mt76_rx_complete+0x18c/0×278 [mt76]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.118278] [<8f2d9e24>] mt76_rx_poll_complete+0x1c0/0×260 [mt76]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.124346] [<8f2d8e64>] mt76_dma_attach+0xb94/0xcc0 [mt76]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.130010] —[ end trace 2c3430e855d3296c ]—

Is there any possibility to find out what happens with the kernel. The sysctl properties set to reboot it in 3 seconds on panic, but it’s not rebooting, just staying in this state.

Thanks for advance for any helpful tips.

14.02.20181363Base systemBug ReportVery LowMediumQMI does not use correct APNTrunkUnconfirmed Task Description

I get 4G service from a provider which provide public IP if APN of “opengate” is used. I found out that qmi.sh does not set the card correctly. The `–autoconnect` setting seems to be the cause. (Also maybe related: https://forum.openwrt.org/viewtopic.php?pid=372211 )

I replaced in my qmi.sh “–autoconnect” with “–set-autoconnect enabled” in lines where “–start-network” is used.

Seems to do the trick. However “–stop-network” requires “–autoconnect” to be present or I get errors.

See:

root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19  --stop-network 0xffffffff --autoconnect
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
"Out of call"
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19 --start-network --apn opengate --autoconnect
-2020095904
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"100.69.24.116","dns1":"192.89.123.230","dns2":"192.89.123.231","gateway":"100.69.24.117","subnet":"255.255.255.248"},"ipv6":{},"domain-names":{}}
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19  --stop-network 0xffffffff --autoconnect
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
"Out of call"
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19 --start-network --apn opengate
-2020095904
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"46.132.191.50","dns1":"192.89.123.230","dns2":"192.89.123.231","gateway":"46.132.191.49","subnet":"255.255.255.252"},"ipv6":{},"domain-names":{}}
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19  --stop-network 0xffffffff --autoconnect
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
"Out of call"
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19 --start-network --apn opengate --set-autoconnect enabled
-2020095904
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"194.251.18.231","dns1":"192.89.123.230","dns2":"192.89.123.231","gateway":"194.251.18.232","subnet":"255.255.255.240"},"ipv6":{},"domain-names":{}}
14.02.20181364Base systemBug ReportVery LowMediumQMI NAT reflection does not work properlyTrunkUnconfirmed Task Description

I recently switched from using NCM to QMI. The NAT reflection stopped working. Also in LuCI the IP address does not appear (see: https://bugs.lede-project.org/index.php?do=details&task_id=1304 ). Perhaps these are related problems?

I am not exactly sure what information you need? I am using latest trunk. Please let me know what debugging information I should extract, and how. I will get all the necessary information on request.

19.02.20181374PackagesBug ReportVery LowHighubox: logd memory leak AllUnconfirmed Task Description

I checked the use of memory with `top` command and saw that the logd was consuming memory disproportionately (around 60MB).

```
PID PPID USER STAT VSZ VSZ %CPU COMMAND
971 1 root S 59768 48% 0% /sbin/logd -S 64
```

- There was no remote log configured.
- I was using logread -f for a long time.
- When doing an /etc/init.d/log restart the consumed memory returned to normality.
- ubox version:

```
PKG_SOURCE_DATE:=2017-09-01
PKG_SOURCE_VERSION:=b1bc8d5fb874cdd22701a08d0fb0de4330f86814
PKG_MIRROR_HASH:=b07e750d941d691e2745aa3a058e504966b15d1db5636162dc686bad275eb296
```


21.02.20181382Base systemBug ReportVery LowLowcrash in __slab_free.isra from kfreeTrunkUnconfirmed Task Description

Supply the following if possible:

- Device problem occurs on

BT homehub 5a

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

SNAPSHOT, r6182

kernel - 4.9.82-1-b3856355ef32057f204aaf8b7ab28ff3
kmod-usb-net-cdc-ncm - 4.9.82-1
kmod-usb-net-huawei-cdc-ncm - 4.9.82-1
kmod-usb-serial - 4.9.82-1
kmod-usb-serial-wwan - 4.9.82-1
usb-modeswitch - 2017-12-19-f40f84c2-1

- Steps to reproduce

Trying to get Huawei E3372 4G dongle running in NCM mode
after usbmodes runs, the /etc/ncm-wdm0 is created, but does not communicate with modem on dongle

I have to run
echo “12d1 1506 ff” > /sys/bus/usb-serial/drivers/generic/new_id

which gives

[ 1003.351417] usbserial_generic 1-1:1.0: The “generic” usb-serial driver is only for testing and one-off prototypes.
[ 1003.360515] usbserial_generic 1-1:1.0: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[ 1003.370345] usbserial_generic 1-1:1.0: generic converter detected
[ 1003.377122] usb 1-1: generic converter now attached to ttyUSB0
[ 1003.382521] usbserial_generic 1-1:1.1: The “generic” usb-serial driver is only for testing and one-off prototypes.
[ 1003.392654] usbserial_generic 1-1:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[ 1003.402464] usbserial_generic 1-1:1.1: generic converter detected
[ 1003.409607] usb 1-1: generic converter now attached to ttyUSB1

I realize that forcing the generic usb serial in this way is not “proper” but it seems necessary for the moment to get any communication with the modem

this does create /dev/ttyUSB0 and ttyUSB1 devices,

startimg the 4G interface with

ifup LTE

will then communicate with the modem, the chat script gets responses to the AT commands

unfortunately as soon as
I run

ifdown LTE

I get a repeatable crash

root@hh5a:/# ifdown LTE
root@hh5a:/#
root@hh5a:/# [256467.571884] CPU 1 Unable to handle kernel paging request at virtual address 67901b30, epc == 800f33f8, ra == 800f3b94
[256467.581230] Oops[#1]:
[256467.583518] CPU: 1 PID: 14 Comm: ksoftirqd/1 Not tainted 4.9.82 #0
[256467.589782] task: 87c3d080 task.stack: 87c7a000
[256467.594379] $ 0 : 00000000 806f0004 67901b30 00000001
[256467.599688] $ 4 : 87c02b00 810fb560 67901a00 67901a00
[256467.605003] $ 8 : 805993f8 04efd20a d208b27a 0000008c
[256467.610310] $12 : 52016177 ffffffff 00000000 1a0004e4
[256467.615619] $16 : 810fb560 850d8008 000d001a 00000000
[256467.620930] $20 : 805990a0 00000000 87c02b00 00000000
[256467.626238] $24 : 00000000 875e36f8
[256467.631549] $28 : 87c7a000 87c7bcd8 00000018 800f3b94
[256467.636856] Hi : 00000000
[256467.639814] Lo : 0000c400
[256467.642811] epc : 800f33f8 slab_free.isra.13+0×64/0×334 [256467.648453] ra : 800f3b94 kfree+0×194/0x1a4
[256467.652963] Status: 1100c303 KERNEL EXL IE [256467.657223] Cause : 0080000c (ExcCode 03)
[256467.661312] BadVA : 67901b30
[256467.664274] PrId : 00019556 (MIPS 34Kc)
[256467.668270] Modules linked in: ltq_ptm_vr9 ath9k ath9k_common ath9k_hw ath10k_pci ath10k_core ath usb_wwan pppoe nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cfg80211 cdc_ncm xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial usbnet ts_fsm ts_bm pppox ppp_async owl_loader nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda ltq_deu_vr9 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat cdc_wdm sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress drv_dsl_cpe_api drv_mei_cpe ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc ifb br2684 atm mii drv_ifxos dwc2 gpio_button_hotplug
Process ksoftirqd/1 (pid: 14, threadinfo=87c7a000, task=87c3d080, tls=00000000)
[256467.798220] Stack : 00000000 00000001 00000000 00000000 67901a00 67901a00 00000001 805a0000
[256467.806661] 04f6d940 850d8008 00003fe0 00000002 67901a00 04efd20a d208b27a d20f920a
[256467.815103] 52016177 ffffffff 00000000 1a0004e4 876a8d00 850d8008 87d7b800 00000000
[256467.823546] 876a8d00 850d8008 87d7b800 00000000 805990a0 00010000 00000002 00000000
[256467.831989] 00000018 800f3b94 00000018 875e36bc 1100c303 00000000 00000001 04f6d940
[256467.840432] ...
[256467.842959] Call Trace:
[256467.845511] [<800f33f8>]
slab_free.isra.13+0×64/0×334 [256467.850826] [<800f3b94>] kfree+0×194/0x1a4
[256467.854986] Code: 8e12000c 00621021 8fa30018 <ac550000> 00121402 00431023 3042ffff afb2002c 32570001
[256467.864804]
[256467.866497] —[ end trace e77f91eef6b40e80 ]—

root@h[256467.872551] Kernel panic - not syncing: Fatal exception in interrupt
[256467.878975] Rebooting in 3 seconds..


23.02.20181385Base systemBug ReportVery LowMediumUnable to set up repeater on DFS-channelTrunkUnconfirmed Task Description

I have a TP-Link RE450 v1 wireless repeater running OpenWrt SNAPSHOT r6257-94a3af88f3 that I want to set up to extend a network running on a DFS-channel. I am able to connect to the main network in client mode - it is hosted on a NETGEAR R7800 running OpenWrt SNAPSHOT r6150-dc7a1e8555 (hnyman’s latest build). However, the repeating network refuses to start up. This is the guide I followed to set up the relayd-based relay (Luci GUI method): https://openwrt.org/docs/user-guide/wifi/relay_configuration

When following the same method to set up a non-DFS channel everything works as it should.

Here is the system log:

Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.000000] Linux version 4.9.82 (buildbot@builds) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r6038-13e8d54) ) #0 Sun Feb 18 08:21:12 2018
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] MyLoader: sysp=212b15a7, boardp=2d6f6985, parts=6de765b6
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] bootconsole [early0] enabled
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Determined physical RAM map:
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] memory: 08000000 @ 00000000 (usable)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Initrd not found or empty - disabling initrd
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Zone ranges:
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Normal [mem 0×0000000000000000-0x0000000007ffffff]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Movable zone start for each node
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Early memory node ranges
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] node 0: [mem 0×0000000000000000-0x0000000007ffffff]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000007ffffff]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] On node 0 totalpages: 32768
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] free_area_init_node: node 0, pgdat 804ab9e4, node_mem_map 81000020
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] Normal zone: 256 pages used for memmap
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] Normal zone: 0 pages reserved
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] Normal zone: 32768 pages, LIFO batch:7
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] pcpu-alloc: [0] 0
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.000000] Kernel command line: board=RE450 mtdparts=spi0.0:128k(u-boot)ro,6016k(firmware),64k(partition-table)ro,64k(product-info)ro,1856k(config)ro,64k(art)ro console=ttyS0,115200 rootfstype=squashfs noinitrd
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Writing ErrCtl register=00000000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Readback ErrCtl register=00000000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Memory: 124612K/131072K available (3394K kernel code, 174K rwdata, 836K rodata, 260K init, 219K bss, 6460K reserved, 0K cma-reserved)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] NR_IRQS:51
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.008299] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.071187] pid_max: default: 32768 minimum: 301
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.076184] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.083229] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.092660] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.103156] futex hash table entries: 256 (order: -1, 3072 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.110567] NET: Registered protocol family 16
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.116508] MIPS: machine is TP-LINK RE450
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.122731] registering PCI controller with io_map_base unset
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.128976] ar724x-pci ar724x-pci.1: PCIe link is down
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.134441] registering PCI controller with io_map_base unset
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.391525] PCI host bridge to bus 0000:00
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.395892] pci_bus 0000:00: root bus resource [mem 0×10000000-0x11ffffff]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.403234] pci_bus 0000:00: root bus resource [io 0×0000]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.409157] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.416382] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.424828] pci 0000:00:00.0: [168c:003c] type 00 class 0×028000 Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.424865] pci 0000:00:00.0: reg 0×10: [mem 0×00000000-0x001fffff 64bit]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.424915] pci 0000:00:00.0: reg 0×30: [mem 0×00000000-0x0000ffff pref]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.424980] pci 0000:00:00.0: supports D1 D2
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.425150] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.425171] pci 0000:00:00.0: BAR 0: assigned [mem 0×10000000-0x101fffff 64bit]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.432989] pci 0000:00:00.0: BAR 6: assigned [mem 0×10200000-0x1020ffff pref]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.440777] PCI host bridge to bus 0000:01
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.445157] pci_bus 0000:01: root bus resource [mem 0×12000000-0x13ffffff]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.452466] pci_bus 0000:01: root bus resource [io 0×0001]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.458398] pci_bus 0000:01: root bus resource [??? 0×00000000 flags 0×0]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.465613] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.474055] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.474068] pci 0000:00:00.0: using irq 40 for pin 1
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.481748] clocksource: Switched to clocksource MIPS
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.487998] NET: Registered protocol family 2
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.493366] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.500789] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.507593] TCP: Hash tables configured (established 1024 bind 1024)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.514433] UDP hash table entries: 256 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.520649] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.527538] NET: Registered protocol family 1
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.532235] PCI: CLS 0 bytes, default 32
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.534326] Crashlog allocated RAM at address 0x3f00000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.540612] workingset: timestamp_bits=30 max_order=15 bucket_order=0
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.553247] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.559445] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.576804] io scheduler noop registered
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.580974] io scheduler deadline registered (default)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.586810] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.595712] console [ttyS0] disabled
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.619586] serial8250.0: ttyS0 at MMIO 0×18020000 (irq = 11, base_baud = 2500000) is a 16550A
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.628770] console [ttyS0] enabled
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.636186] bootconsole [early0] disabled
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.648931] m25p80 spi0.0: found s25fl064k, expected m25p80
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.667134] m25p80 spi0.0: s25fl064k (8192 Kbytes)
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.672033] 6 cmdlinepart partitions found on MTD device spi0.0
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.678029] Creating 6 MTD partitions on “spi0.0”:
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.682906] 0×000000000000-0×000000020000 : “u-boot” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.689064] 0×000000020000-0×000000600000 : “firmware” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.707081] 2 tplink-fw partitions found on MTD device firmware
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.713127] 0×000000020000-0x000000185ceb : “kernel” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.719204] 0x0000001a0000-0×000000600000 : “rootfs” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.725496] mtd: device 3 (rootfs) set to be root filesystem
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.731263] 1 squashfs-split partitions found on MTD device rootfs
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.737575] 0×000000440000-0×000000600000 : “rootfs_data” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.744349] 0×000000600000-0×000000610000 : “partition-table” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.751431] 0×000000610000-0×000000620000 : “product-info” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.758325] 0×000000620000-0x0000007f0000 : “config” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.764662] 0x0000007f0000-0×000000800000 : “art” Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.773062] libphy: GPIO Bitbanged MDIO: probed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.778061] libphy: Fixed MDIO Bus: probed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.512179] ag71xx ag71xx.0: connected to PHY at gpio-0:04 [uid=004dd072, driver=Atheros 8035 ethernet]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.522288] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.530065] NET: Registered protocol family 10
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.537560] NET: Registered protocol family 17
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.542160] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.555384] 8021q: 802.1Q VLAN Support v1.8
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.561016] hctosys: unable to open rtc device (rtc0)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.571029] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.579154] Freeing unused kernel memory: 260K
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 1.583687] This architecture does not have kernel memory protection.
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.132376] init: Console is alive
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.135998] init: - watchdog -
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 2.494811] random: fast init done
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.924159] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.965714] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.974640] init: - preinit -
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 4.004457] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 7.093477] eth0: link up (1000Mbps/Full duplex)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 7.098187] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 7.293806] jffs2: notice: (403) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Fri Feb 23 18:36:12 2018 user.info kernel: [ 7.311068] mount_root: switching to jffs2 overlay
Fri Feb 23 18:36:12 2018 user.warn kernel: [ 7.337522] urandom-seed: Seeding with /etc/urandom.seed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 7.435532] eth0: link down
Fri Feb 23 18:36:12 2018 user.info kernel: [ 7.447458] procd: - early -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 7.450449] procd: - watchdog -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 8.057837] procd: - watchdog -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 8.061236] procd: - ubus -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 8.168116] procd: - init -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 8.539737] kmodloader: loading kernel modules from /etc/modules.d/*
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.571268] ip6_tables: (C) 2000-2006 Netfilter Core Team
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.585643] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.593800] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.602959] ip_tables: (C) 2000-2006 Netfilter Core Team
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.614861] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.662930] xt_time: kernel timezone is -0000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.831336] PPP generic driver version 2.4.2
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.837672] NET: Registered protocol family 24
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 8.861154] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.867107] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.145193] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.156072] ath10k_pci 0000:00:00.0: Falling back to user helper
Fri Feb 23 18:36:12 2018 kern.err kernel: [ 9.344946] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.355293] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.366187] ath10k_pci 0000:00:00.0: Falling back to user helper
Fri Feb 23 18:36:12 2018 kern.err kernel: [ 9.494658] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 9.508099] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 9.517496] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 9.530543] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00033 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 c41417d0
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.624942] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.635573] ath10k_pci 0000:00:00.0: Falling back to user helper
Fri Feb 23 18:36:12 2018 kern.err kernel: [ 9.705908] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 9.735953] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 10.826902] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963073] ath: EEPROM regdomain: 0×0 Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963080] ath: EEPROM indicates default country code should be used
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963083] ath: doing EEPROM country→regdmn map search
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963093] ath: country maps to regdmn code: 0x3a
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963098] ath: Country alpha2 being used: US
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963101] ath: Regpair used: 0x3a
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080469] ath: EEPROM regdomain: 0×0 Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080476] ath: EEPROM indicates default country code should be used
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080478] ath: doing EEPROM country→regdmn map search
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080490] ath: country maps to regdmn code: 0x3a
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080495] ath: Country alpha2 being used: US
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080497] ath: Regpair used: 0x3a
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.096449] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ Fri Feb 23 18:36:12 2018 kern.info kernel: [ 11.099579] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
Fri Feb 23 18:36:12 2018 user.info kernel: [ 11.109568] kmodloader: done loading kernel modules from /etc/modules.d/*
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: tunnel
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: Network device
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: bridge
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: veth
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: macvlan
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: 8021ad
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: 8021q
Fri Feb 23 18:36:14 2018 daemon.notice procd: /etc/init.d/network: ‘radio1’ is disabled
Fri Feb 23 18:36:14 2018 daemon.notice procd: /etc/init.d/network: ‘radio1’ is disabled
Fri Feb 23 18:36:15 2018 authpriv.info dropbear[953]: Not backgrounding
Fri Feb 23 18:36:17 2018 daemon.notice procd: /etc/rc.d/S96led: setting up led LAN Data
Fri Feb 23 18:36:17 2018 daemon.notice procd: /etc/rc.d/S96led: setting up led LAN Link
Fri Feb 23 18:36:17 2018 daemon.notice procd: /etc/rc.d/S96led: setting up led WLAN 2.4 GHz Fri Feb 23 18:36:17 2018 daemon.notice procd: /etc/rc.d/S96led: setting up led WLAN 5 GHz Fri Feb 23 18:36:18 2018 kern.info kernel: [ 18.492806] br-lan: port 1(eth0) entered blocking state
Fri Feb 23 18:36:18 2018 kern.info kernel: [ 18.498113] br-lan: port 1(eth0) entered disabled state
Fri Feb 23 18:36:18 2018 kern.info kernel: [ 18.503728] device eth0 entered promiscuous mode
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘lan’ is enabled
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘lan’ is setting up now
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘lan’ is now up
Fri Feb 23 18:36:18 2018 kern.info kernel: [ 18.522482] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘loopback’ is enabled
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘loopback’ is setting up now
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘loopback’ is now up
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Network device ‘lo’ link is up
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘loopback’ has link connectivity
Fri Feb 23 18:36:18 2018 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Fri Feb 23 18:36:19 2018 daemon.info procd: - init complete -
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776056] ath: EEPROM regdomain: 0×8242 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776063] ath: EEPROM indicates we should expect a country code
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776069] ath: doing EEPROM country→regdmn map search
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776075] ath: country maps to regdmn code: 0×37 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776079] ath: Country alpha2 being used: NO
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776082] ath: Regpair used: 0×37 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776087] ath: regdomain 0×8242 dynamically updated by user
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776168] ath: EEPROM regdomain: 0×8242 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776171] ath: EEPROM indicates we should expect a country code
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776176] ath: doing EEPROM country→regdmn map search
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776181] ath: country maps to regdmn code: 0×37 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776184] ath: Country alpha2 being used: NO
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776186] ath: Regpair used: 0×37 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776190] ath: regdomain 0×8242 dynamically updated by user
Fri Feb 23 18:36:21 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: started, version 2.79rc1 cachesize 150
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: DNS service limited to local subnets
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: 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
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain test
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain onion
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain localhost
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.441522] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain local
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain invalid
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.net
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.org
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.com
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using 3 more local addresses
Fri Feb 23 18:36:23 2018 daemon.warn dnsmasq[1349]: no servers found in /tmp/resolv.conf.auto, will retry
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: read /etc/hosts - 4 addresses
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.460824] br-lan: port 2(wlan0-1) entered blocking state
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.466441] br-lan: port 2(wlan0-1) entered disabled state
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.472324] device wlan0-1 entered promiscuous mode
Fri Feb 23 18:36:23 2018 daemon.notice hostapd: wlan0-1: interface state UNINITIALIZED→COUNTRY_UPDATE
Fri Feb 23 18:36:23 2018 daemon.notice hostapd: wlan0-1: interface state COUNTRY_UPDATE→HT_SCAN
Fri Feb 23 18:36:23 2018 daemon.notice hostapd: wlan0-1: interface state HT_SCAN→DFS
Fri Feb 23 18:36:23 2018 daemon.notice hostapd: wlan0-1: DFS-CAC-START freq=5560 chan=112 sec_chan=-1, width=1, seg0=106, seg1=0, cac_time=60s
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.813439] eth0: link up (1000Mbps/Full duplex)
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.818173] br-lan: port 1(eth0) entered blocking state
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.823505] br-lan: port 1(eth0) entered forwarding state
Fri Feb 23 18:36:23 2018 daemon.notice netifd: Network device ‘eth0’ link is up
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.830482] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Fri Feb 23 18:36:23 2018 daemon.notice netifd: bridge ‘br-lan’ link is up
Fri Feb 23 18:36:23 2018 daemon.notice netifd: Interface ‘lan’ has link connectivity
Fri Feb 23 18:36:25 2018 daemon.info dnsmasq[1349]: read /etc/hosts - 4 addresses
Fri Feb 23 18:36:25 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Fri Feb 23 18:36:33 2018 daemon.err uhttpd[984]: luci: accepted login on /admin for root from 192.168.5.10
Fri Feb 23 18:37:24 2018 daemon.notice hostapd: wlan0-1: DFS-CAC-COMPLETED success=1 freq=5560 ht_enabled=0 chan_offset=0 chan_width=3 cf1=5530 cf2=0
Fri Feb 23 18:37:24 2018 daemon.err hostapd: Using interface wlan0-1 with hwaddr 86:16:f9:d6:21:3a and ssid “Test” Fri Feb 23 18:37:25 2018 daemon.notice hostapd: wlan0-1: interface state DFS→ENABLED
Fri Feb 23 18:37:25 2018 daemon.notice hostapd: wlan0-1: AP-ENABLED
Fri Feb 23 18:37:25 2018 kern.info kernel: [ 85.892280] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Fri Feb 23 18:37:25 2018 daemon.notice netifd: radio0 (1079): Successfully initialized wpa_supplicant
Fri Feb 23 18:37:26 2018 daemon.notice netifd: Interface ‘wwan’ is enabled
Fri Feb 23 18:37:26 2018 daemon.notice hostapd: wlan0-1: DFS-PRE-CAC-EXPIRED freq=5500 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5500 cf2=0
Fri Feb 23 18:37:26 2018 daemon.notice hostapd: wlan0-1: DFS-PRE-CAC-EXPIRED freq=5520 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5520 cf2=0
Fri Feb 23 18:37:26 2018 daemon.notice hostapd: wlan0-1: DFS-PRE-CAC-EXPIRED freq=5540 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5540 cf2=0
Fri Feb 23 18:37:26 2018 daemon.notice hostapd: wlan0-1: DFS-PRE-CAC-EXPIRED freq=5560 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5560 cf2=0
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.008800] wlan0: authenticate with a0:40:a0:7c:cb:b9
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.018939] wlan0: send auth to a0:40:a0:7c:cb:b9 (try 1/3)
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.026654] wlan0: authenticated
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.031919] wlan0: associate with a0:40:a0:7c:cb:b9 (try 1/3)
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.039518] wlan0: RX AssocResp from a0:40:a0:7c:cb:b9 (capab=0×111 status=0 aid=5)
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.048975] wlan0: associated
Fri Feb 23 18:37:27 2018 daemon.notice netifd: Network device ‘wlan0’ link is up
Fri Feb 23 18:37:27 2018 daemon.notice netifd: Interface ‘wwan’ has link connectivity
Fri Feb 23 18:37:27 2018 daemon.notice netifd: Interface ‘wwan’ is setting up now
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.058784] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Fri Feb 23 18:37:27 2018 kern.debug kernel: [ 88.071867] wlan0: Limiting TX power to 23 (26 - 3) dBm as advertised by a0:40:a0:7c:cb:b9
Fri Feb 23 18:37:27 2018 daemon.notice netifd: wwan (1595): udhcpc: started, v1.27.2
Fri Feb 23 18:37:28 2018 daemon.notice netifd: wwan (1595): udhcpc: sending discover
Fri Feb 23 18:37:28 2018 daemon.notice netifd: wwan (1595): udhcpc: sending select for 192.168.1.144
Fri Feb 23 18:37:28 2018 daemon.notice netifd: wwan (1595): udhcpc: lease of 192.168.1.144 obtained, lease time 43200
Fri Feb 23 18:37:28 2018 daemon.err hostapd: Failed to set beacon parameters
Fri Feb 23 18:37:28 2018 daemon.notice netifd: Interface ‘wwan’ is now up
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: reading /tmp/resolv.conf.auto
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain test
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain onion
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain localhost
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain local
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain invalid
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.net
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.org
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.com
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using nameserver 192.168.1.1#53
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using 3 more local addresses
Fri Feb 23 18:37:28 2018 user.notice firewall: Reloading firewall due to ifup of wwan (wlan0)
Fri Feb 23 18:39:43 2018 daemon.warn odhcpd[888]: DHCPV6 CONFIRM IA_NA from 000466ecdf7df77d2477547e0529ea254566 on br-lan: not on-link
Fri Feb 23 18:39:44 2018 daemon.info dnsmasq[1349]: read /etc/hosts - 4 addresses
Fri Feb 23 18:39:44 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/odhcpd - 0 addresses
Fri Feb 23 18:39:44 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Fri Feb 23 18:39:44 2018 daemon.warn odhcpd[888]: DHCPV6 SOLICIT IA_NA from 000466ecdf7df77d2477547e0529ea254566 on br-lan: ok fd6a:5bd0:8330::35e/128
Fri Feb 23 18:39:45 2018 daemon.warn odhcpd[888]: DHCPV6 REQUEST IA_NA from 000466ecdf7df77d2477547e0529ea254566 on br-lan: ok fd6a:5bd0:8330::35e/128
Fri Feb 23 18:39:45 2018 daemon.info dnsmasq[1349]: read /etc/hosts - 4 addresses
Fri Feb 23 18:39:45 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/odhcpd - 0 addresses
Fri Feb 23 18:39:45 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Fri Feb 23 18:40:06 2018 kern.notice kernel: [ 113.239791] random: crng init done

And here is the kernel log:

[ 0.000000] Linux version 4.9.82 (buildbot@builds) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r6038-13e8d54) ) #0 Sun Feb 18 08:21:12 2018
[ 0.000000] MyLoader: sysp=212b15a7, boardp=2d6f6985, parts=6de765b6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] 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-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 804ab9e4, node_mem_map 81000020
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: board=RE450 mtdparts=spi0.0:128k(u-boot)ro,6016k(firmware),64k(partition-table)ro,64k(product-info)ro,1856k(config)ro,64k(art)ro console=ttyS0,115200 rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 124612K/131072K available (3394K kernel code, 174K rwdata, 836K rodata, 260K init, 219K bss, 6460K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[ 0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[ 0.008299] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[ 0.071187] pid_max: default: 32768 minimum: 301
[ 0.076184] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.083229] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.092660] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.103156] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.110567] NET: Registered protocol family 16
[ 0.116508] MIPS: machine is TP-LINK RE450
[ 0.122731] registering PCI controller with io_map_base unset
[ 0.128976] ar724x-pci ar724x-pci.1: PCIe link is down
[ 0.134441] registering PCI controller with io_map_base unset
[ 0.391525] PCI host bridge to bus 0000:00
[ 0.395892] pci_bus 0000:00: root bus resource [mem 0×10000000-0x11ffffff]
[ 0.403234] pci_bus 0000:00: root bus resource [io 0×0000]
[ 0.409157] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.416382] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.424828] pci 0000:00:00.0: [168c:003c] type 00 class 0×028000 [ 0.424865] pci 0000:00:00.0: reg 0×10: [mem 0×00000000-0x001fffff 64bit]
[ 0.424915] pci 0000:00:00.0: reg 0×30: [mem 0×00000000-0x0000ffff pref]
[ 0.424980] pci 0000:00:00.0: supports D1 D2
[ 0.425150] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.425171] pci 0000:00:00.0: BAR 0: assigned [mem 0×10000000-0x101fffff 64bit]
[ 0.432989] pci 0000:00:00.0: BAR 6: assigned [mem 0×10200000-0x1020ffff pref]
[ 0.440777] PCI host bridge to bus 0000:01
[ 0.445157] pci_bus 0000:01: root bus resource [mem 0×12000000-0x13ffffff]
[ 0.452466] pci_bus 0000:01: root bus resource [io 0×0001]
[ 0.458398] pci_bus 0000:01: root bus resource [??? 0×00000000 flags 0×0]
[ 0.465613] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.474055] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.474068] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.481748] clocksource: Switched to clocksource MIPS
[ 0.487998] NET: Registered protocol family 2
[ 0.493366] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.500789] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.507593] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.514433] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.520649] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.527538] NET: Registered protocol family 1
[ 0.532235] PCI: CLS 0 bytes, default 32
[ 0.534326] Crashlog allocated RAM at address 0x3f00000
[ 0.540612] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.553247] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.559445] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.576804] io scheduler noop registered
[ 0.580974] io scheduler deadline registered (default)
[ 0.586810] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.595712] console [ttyS0] disabled
[ 0.619586] serial8250.0: ttyS0 at MMIO 0×18020000 (irq = 11, base_baud = 2500000) is a 16550A
[ 0.628770] console [ttyS0] enabled
[ 0.636186] bootconsole [early0] disabled
[ 0.648931] m25p80 spi0.0: found s25fl064k, expected m25p80
[ 0.667134] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[ 0.672033] 6 cmdlinepart partitions found on MTD device spi0.0
[ 0.678029] Creating 6 MTD partitions on “spi0.0”:
[ 0.682906] 0×000000000000-0×000000020000 : “u-boot” [ 0.689064] 0×000000020000-0×000000600000 : “firmware” [ 0.707081] 2 tplink-fw partitions found on MTD device firmware
[ 0.713127] 0×000000020000-0x000000185ceb : “kernel” [ 0.719204] 0x0000001a0000-0×000000600000 : “rootfs” [ 0.725496] mtd: device 3 (rootfs) set to be root filesystem
[ 0.731263] 1 squashfs-split partitions found on MTD device rootfs
[ 0.737575] 0×000000440000-0×000000600000 : “rootfs_data” [ 0.744349] 0×000000600000-0×000000610000 : “partition-table” [ 0.751431] 0×000000610000-0×000000620000 : “product-info” [ 0.758325] 0×000000620000-0x0000007f0000 : “config” [ 0.764662] 0x0000007f0000-0×000000800000 : “art” [ 0.773062] libphy: GPIO Bitbanged MDIO: probed
[ 0.778061] libphy: Fixed MDIO Bus: probed
[ 1.512179] ag71xx ag71xx.0: connected to PHY at gpio-0:04 [uid=004dd072, driver=Atheros 8035 ethernet]
[ 1.522288] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 1.530065] NET: Registered protocol family 10
[ 1.537560] NET: Registered protocol family 17
[ 1.542160] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.555384] 8021q: 802.1Q VLAN Support v1.8
[ 1.561016] hctosys: unable to open rtc device (rtc0)
[ 1.571029] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 1.579154] Freeing unused kernel memory: 260K
[ 1.583687] This architecture does not have kernel memory protection.
[ 2.132376] init: Console is alive
[ 2.135998] init: - watchdog -
[ 2.494811] random: fast init done
[ 2.924159] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.965714] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.974640] init: - preinit -
[ 4.004457] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.093477] eth0: link up (1000Mbps/Full duplex)
[ 7.098187] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.293806] jffs2: notice: (403) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 7.311068] mount_root: switching to jffs2 overlay
[ 7.337522] urandom-seed: Seeding with /etc/urandom.seed
[ 7.435532] eth0: link down
[ 7.447458] procd: - early -
[ 7.450449] procd: - watchdog -
[ 8.057837] procd: - watchdog -
[ 8.061236] procd: - ubus -
[ 8.168116] procd: - init -
[ 8.539737] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.571268] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 8.585643] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[ 8.593800] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[ 8.602959] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 8.614861] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[ 8.662930] xt_time: kernel timezone is -0000
[ 8.831336] PPP generic driver version 2.4.2
[ 8.837672] NET: Registered protocol family 24
[ 8.861154] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
[ 8.867107] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 9.145193] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[ 9.156072] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 9.344946] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[ 9.355293] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[ 9.366187] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 9.494658] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 9.508099] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 9.517496] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 9.530543] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00033 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 c41417d0
[ 9.624942] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 9.635573] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 9.705908] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 9.735953] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 10.826902] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 10.963073] ath: EEPROM regdomain: 0×0 [ 10.963080] ath: EEPROM indicates default country code should be used
[ 10.963083] ath: doing EEPROM country→regdmn map search
[ 10.963093] ath: country maps to regdmn code: 0x3a
[ 10.963098] ath: Country alpha2 being used: US
[ 10.963101] ath: Regpair used: 0x3a
[ 11.080469] ath: EEPROM regdomain: 0×0 [ 11.080476] ath: EEPROM indicates default country code should be used
[ 11.080478] ath: doing EEPROM country→regdmn map search
[ 11.080490] ath: country maps to regdmn code: 0x3a
[ 11.080495] ath: Country alpha2 being used: US
[ 11.080497] ath: Regpair used: 0x3a
[ 11.096449] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ [ 11.099579] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[ 11.109568] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 18.492806] br-lan: port 1(eth0) entered blocking state
[ 18.498113] br-lan: port 1(eth0) entered disabled state
[ 18.503728] device eth0 entered promiscuous mode
[ 18.522482] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 19.776056] ath: EEPROM regdomain: 0×8242 [ 19.776063] ath: EEPROM indicates we should expect a country code
[ 19.776069] ath: doing EEPROM country→regdmn map search
[ 19.776075] ath: country maps to regdmn code: 0×37 [ 19.776079] ath: Country alpha2 being used: NO
[ 19.776082] ath: Regpair used: 0×37 [ 19.776087] ath: regdomain 0×8242 dynamically updated by user
[ 19.776168] ath: EEPROM regdomain: 0×8242 [ 19.776171] ath: EEPROM indicates we should expect a country code
[ 19.776176] ath: doing EEPROM country→regdmn map search
[ 19.776181] ath: country maps to regdmn code: 0×37 [ 19.776184] ath: Country alpha2 being used: NO
[ 19.776186] ath: Regpair used: 0×37 [ 19.776190] ath: regdomain 0×8242 dynamically updated by user
[ 23.441522] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[ 23.460824] br-lan: port 2(wlan0-1) entered blocking state
[ 23.466441] br-lan: port 2(wlan0-1) entered disabled state
[ 23.472324] device wlan0-1 entered promiscuous mode
[ 23.813439] eth0: link up (1000Mbps/Full duplex)
[ 23.818173] br-lan: port 1(eth0) entered blocking state
[ 23.823505] br-lan: port 1(eth0) entered forwarding state
[ 23.830482] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 85.892280] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 88.008800] wlan0: authenticate with a0:40:a0:7c:cb:b9
[ 88.018939] wlan0: send auth to a0:40:a0:7c:cb:b9 (try 1/3)
[ 88.026654] wlan0: authenticated
[ 88.031919] wlan0: associate with a0:40:a0:7c:cb:b9 (try 1/3)
[ 88.039518] wlan0: RX AssocResp from a0:40:a0:7c:cb:b9 (capab=0×111 status=0 aid=5)
[ 88.048975] wlan0: associated
[ 88.058784] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 88.071867] wlan0: Limiting TX power to 23 (26 - 3) dBm as advertised by a0:40:a0:7c:cb:b9
[ 113.239791] random: crng init done


25.02.20181389Base systemBug ReportVery LowMediumTL-WR841n-V13 wireless issuesTrunkUnconfirmed Task Description

Hi everyone

I’m using the router TL-WR841n-v13, it’s only available on snapshot version. I’m using OpenWrt SNAPSHOT, r6302-0f54d96.
Also i tried to compile the Git version.

The issue is that some devices have problems to connect to the wifi or need a few attemps to connect.

Sun Feb 25 17:42:59 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:43:08 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:43:08 2018 daemon.info hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: associated (aid 1)
Sun Feb 25 17:43:08 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 38:71:de:10:33:56
Sun Feb 25 17:43:08 2018 daemon.info dnsmasq-dhcp[2197]: DHCPREQUEST(br-lan) 192.168.2.236 38:71:de:10:33:56
Sun Feb 25 17:43:08 2018 daemon.info dnsmasq-dhcp[2197]: DHCPACK(br-lan) 192.168.2.236 38:71:de:10:33:56 iPhone
Sun Feb 25 17:43:53 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:43:55 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:43:58 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:01 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:06 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:07 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:10 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:10 2018 daemon.info hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: associated (aid 1)
Sun Feb 25 17:44:10 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 38:71:de:10:33:56
Sun Feb 25 17:44:11 2018 daemon.info dnsmasq-dhcp[2197]: DHCPREQUEST(br-lan) 192.168.2.236 38:71:de:10:33:56
Sun Feb 25 17:44:11 2018 daemon.info dnsmasq-dhcp[2197]: DHCPACK(br-lan) 192.168.2.236 38:71:de:10:33:56 iPhone

As you can see the device needs severals attemps to connect.

I was reading the bug report https://bugs.lede-project.org/index.php?do=details&task_id=34, it seems to be very similar. The latests version in Git have the patches already applied? Those patches works on this architecture?

I tried to apply the patch but i always got this error in the compile proces

Applying ./patches/354-ath9k-rename-tx_complete_work-to-hw_check_work.patch using plaintext:
patching file drivers/net/wireless/ath/ath9k/ath9k.h
Hunk #1 FAILED at 108.
Hunk #2 FAILED at 745.
Hunk #3 FAILED at 1053.
3 out of 3 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/ath9k.h.rej
patching file drivers/net/wireless/ath/ath9k/init.c
Hunk #1 FAILED at 681.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/init.c.rej
patching file drivers/net/wireless/ath/ath9k/link.c
Hunk #1 FAILED at 20.
Hunk #2 FAILED at 41.
2 out of 2 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/link.c.rej
patching file drivers/net/wireless/ath/ath9k/main.c
Hunk #1 FAILED at 181.
Hunk #2 FAILED at 198.
Hunk #3 FAILED at 2091.
Hunk #4 FAILED at 2129.
4 out of 4 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/main.c.rej
patching file drivers/net/wireless/ath/ath9k/xmit.c
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 2915.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/xmit.c.rej
Patch failed!  Please fix ./patches/354-ath9k-rename-tx_complete_work-to-hw_check_work.patch!
Makefile:1843: recipe for target '/mnt/mgiller/lede-build_root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/backports-2017-11-01/.prepared_0b3be554104662549e5b808709992a16_6664517399ebbbc92a37c5bb081b5c53' failed
make[3]: *** [/mnt/mgiller/lede-build_root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/backports-2017-11-01/.prepared_0b3be554104662549e5b808709992a16_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[3]: Leaving directory '/mnt/mgiller/lede-build_root/source/package/kernel/mac80211'
package/Makefile:106: recipe for target 'package/kernel/mac80211/compile' failed
make[2]: *** [package/kernel/mac80211/compile] Error 2
make[2]: Leaving directory '/mnt/mgiller/lede-build_root/source'
package/Makefile:102: recipe for target '/mnt/mgiller/lede-build_root/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/mnt/mgiller/lede-build_root/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/mnt/mgiller/lede-build_root/source'
/mnt/mgiller/lede-build_root/source/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2

Another problem with this router is the wifi channel configuration, when i use channel “auto” it doesen’t work. This is the log

Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0-1: AP-DISABLED
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Network device 'wlan0-1' link is down
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.474687] br-lanfree: port 1(wlan0-1) entered disabled state
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.485285] device wlan0-1 left promiscuous mode
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.490067] br-lanfree: port 1(wlan0-1) entered disabled state
Sun Feb 25 17:52:21 2018 daemon.notice netifd: bridge 'br-lanfree' link is down
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Interface 'lanfree' has link connectivity loss
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Interface 'lanfree' is now down
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Interface 'lanfree' is disabled
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: nl80211: Failed to remove interface wlan0-1 from bridge br-lanfree: No such device
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.759987] device wlan0 left promiscuous mode
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.764608] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Network device 'wlan0' link is down
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.820652] IPv6: ADDRCONF(NETDEV_UP): br-lanfree: link is not ready
Sun Feb 25 17:52:22 2018 daemon.notice netifd: Interface 'lanfree' is enabled
Sun Feb 25 17:52:22 2018 daemon.notice netifd: Interface 'lanfree' is setting up now
Sun Feb 25 17:52:22 2018 daemon.notice netifd: Interface 'lanfree' is now up
Sun Feb 25 17:52:22 2018 user.notice firewall: Reloading firewall due to ifup of lanfree (br-lanfree)
Sun Feb 25 17:52:23 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.504142] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.529438] br-lan: port 2(wlan0) entered blocking state
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.535068] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.541054] device wlan0 entered promiscuous mode
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.545893] br-lan: port 2(wlan0) entered blocking state
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.551328] br-lan: port 2(wlan0) entered forwarding state
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.568193] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:23 2018 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Feb 25 17:52:23 2018 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Sun Feb 25 17:52:23 2018 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->ACS
Sun Feb 25 17:52:23 2018 daemon.notice hostapd: wlan0: ACS-STARTED
Sun Feb 25 17:52:24 2018 daemon.info dnsmasq[2197]: read /etc/hosts - 4 addresses
Sun Feb 25 17:52:24 2018 daemon.info dnsmasq[2197]: read /tmp/hosts/dhcp.cfg01411c - 3 addresses
Sun Feb 25 17:52:24 2018 daemon.info dnsmasq-dhcp[2197]: read /etc/ethers - 0 addresses
Sun Feb 25 17:52:31 2018 daemon.err hostapd: ACS: Unable to collect survey data
Sun Feb 25 17:52:31 2018 daemon.err hostapd: ACS: All study options have failed
Sun Feb 25 17:52:31 2018 daemon.err hostapd: Interface initialization failed
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: interface state ACS->DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Feb 25 17:52:31 2018 daemon.err hostapd: ACS: Possibly channel configuration is invalid, please report this along with your config file.
Sun Feb 25 17:52:31 2018 daemon.err hostapd: ACS: Failed to start
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Feb 25 17:52:31 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Sun Feb 25 17:52:31 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0-1 wasn't started
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sun Feb 25 17:52:31 2018 kern.info kernel: [  861.472251] device wlan0 left promiscuous mode
Sun Feb 25 17:52:31 2018 kern.info kernel: [  861.476960] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0-1: AP-DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING
Sun Feb 25 17:52:31 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0-1 wasn't started
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sun Feb 25 17:52:31 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Sun Feb 25 17:52:31 2018 daemon.notice netifd: radio0 (5677): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 1632 path ()
Sun Feb 25 17:52:31 2018 kern.info kernel: [  861.572639] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sun Feb 25 17:52:31 2018 daemon.notice netifd: radio0 (5677): ip: SIOCGIFFLAGS: No such device
Sun Feb 25 17:52:31 2018 daemon.notice netifd: radio0 (5677): Interface 1 setup failed: IFUP_ERROR
Sun Feb 25 17:52:34 2018 user.notice led: Connection available
Sun Feb 25 17:52:42 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sun Feb 25 17:52:42 2018 kern.info kernel: [  872.478706] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sun Feb 25 17:52:42 2018 kern.info kernel: [  872.490938] br-lan: port 2(wlan0) entered blocking state
Sun Feb 25 17:52:42 2018 kern.info kernel: [  872.496622] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:42 2018 kern.info kernel: [  872.502554] device wlan0 entered promiscuous mode
Sun Feb 25 17:52:42 2018 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Feb 25 17:52:42 2018 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Sun Feb 25 17:52:42 2018 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->ACS
Sun Feb 25 17:52:42 2018 daemon.notice hostapd: wlan0: ACS-STARTED

Boot log information

Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.000000] Linux version 4.9.82 (buildbot@builds) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r6291-3936616) ) #0 Sat Feb 24 15:12:57 2018
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Board has DDR2
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Analog PMU set to hw control
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Digital PMU set to hw control
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] bootconsole [early0] enabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] MIPS: machine is TP-Link TL-WR841N v13
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Determined physical RAM map:
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000]  memory: 04000000 @ 00000000 (usable)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Sat Feb 24 15:42:39 2018 kern.warn kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Sat Feb 24 15:42:39 2018 kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Zone ranges:
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Movable zone start for each node
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Early memory node ranges
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000] On node 0 totalpages: 16384
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 8042c8b4, node_mem_map 81000020
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000]   Normal zone: 128 pages used for memmap
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Writing ErrCtl register=0002e590
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Readback ErrCtl register=0002e590
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Memory: 60180K/65536K available (3328K kernel code, 160K rwdata, 788K rodata, 196K init, 214K bss, 5356K reserved, 0K cma-reserved)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] NR_IRQS:256
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] intc: using register map from devicetree
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] CPU Clock: 580MHz
Sat Feb 24 15:42:39 2018 kern.crit kernel: [    0.000000] clocksource_probe: no matching clocksources found
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.007538] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.070056] pid_max: default: 32768 minimum: 301
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.074649] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.080990] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.094378] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.103871] futex hash table entries: 256 (order: -1, 3072 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.109805] pinctrl core: initialized pinctrl subsystem
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.116165] NET: Registered protocol family 16
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.141577] mt7621_gpio 10000600.gpio: registering 32 gpios
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.147299] mt7621_gpio 10000600.gpio: registering 32 gpios
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.152855] mt7621_gpio 10000600.gpio: registering 32 gpios
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.162541] clocksource: Switched to clocksource MIPS
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.168725] NET: Registered protocol family 2
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.173953] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.180647] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.186833] TCP: Hash tables configured (established 1024 bind 1024)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.193030] UDP hash table entries: 256 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.198631] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.204961] NET: Registered protocol family 1
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.209136] PCI: CLS 0 bytes, default 32
Sat Feb 24 15:42:39 2018 kern.warn kernel: [    0.212220] Crashlog allocated RAM at address 0x3f00000
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.218487] workingset: timestamp_bits=30 max_order=14 bucket_order=0
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.233706] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.239280] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.258244] io scheduler noop registered
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.261976] io scheduler deadline registered (default)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.267855] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.277514] console [ttyS0] disabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.280950] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.289727] console [ttyS0] enabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.296720] bootconsole [early0] disabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.306182] spi-mt7621 10000b00.spi: sys_freq: 193333333
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.326112] m25p80 spi32766.0: using chunked io (size=32)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.331605] m25p80 spi32766.0: s25fl064k (8192 Kbytes)
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.336872] 4 ofpart partitions found on MTD device spi32766.0
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.342799] Creating 4 MTD partitions on "spi32766.0":
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.348031] 0x000000000000-0x000000020000 : "boot"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.354629] 0x000000020000-0x0000007c0000 : "firmware"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.409677] 2 tplink-fw partitions found on MTD device firmware
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.415726] 0x000000020000-0x00000017bf82 : "kernel"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.422399] 0x00000017bf84-0x0000007c0000 : "rootfs"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.429316] mtd: device 3 (rootfs) set to be root filesystem
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.435670] 1 squashfs-split partitions found on MTD device rootfs
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.441957] 0x0000004c0000-0x0000007c0000 : "rootfs_data"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.449113] 0x0000007c0000-0x0000007d0000 : "config"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.456109] 0x0000007d0000-0x000000800000 : "factory"
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.463823] libphy: Fixed MDIO Bus: probed
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.477020] rt3050-esw 10110000.esw: link changed 0x00
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.484907] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.494972] NET: Registered protocol family 10
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.502665] NET: Registered protocol family 17
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.507243] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.520395] 8021q: 802.1Q VLAN Support v1.8
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.537708] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.545989] Freeing unused kernel memory: 196K
Sat Feb 24 15:42:39 2018 kern.warn kernel: [    0.550496] This architecture does not have kernel memory protection.
Sat Feb 24 15:42:39 2018 user.info kernel: [    1.738778] init: Console is alive
Sat Feb 24 15:42:39 2018 user.info kernel: [    1.742456] init: - watchdog -
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    2.212552] random: fast init done
Sat Feb 24 15:42:39 2018 user.info kernel: [    3.778742] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Sat Feb 24 15:42:39 2018 kern.info kernel: [    3.990946] usbcore: registered new interface driver usbfs
Sat Feb 24 15:42:39 2018 kern.info kernel: [    3.996710] usbcore: registered new interface driver hub
Sat Feb 24 15:42:39 2018 kern.info kernel: [    4.002204] usbcore: registered new device driver usb
Sat Feb 24 15:42:39 2018 kern.info kernel: [    4.013603] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Sat Feb 24 15:42:39 2018 kern.info kernel: [    4.022121] ehci-platform: EHCI generic platform driver
Sat Feb 24 15:42:39 2018 user.info kernel: [    4.032782] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Sat Feb 24 15:42:39 2018 user.info kernel: [    4.041790] init: - preinit -
Sat Feb 24 15:42:39 2018 kern.info kernel: [    5.471487] rt3050-esw 10110000.esw: link changed 0x00
Sat Feb 24 15:42:39 2018 kern.info kernel: [    8.844888] rt3050-esw 10110000.esw: link changed 0x01
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    8.918943] jffs2: notice: (354) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Sat Feb 24 15:42:39 2018 user.info kernel: [    8.936992] mount_root: switching to jffs2 overlay
Sat Feb 24 15:42:39 2018 user.warn kernel: [    8.999423] urandom-seed: Seed file not found (/etc/urandom.seed)
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.120387] procd: - early -
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.124254] procd: - watchdog -
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.711108] procd: - watchdog -
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.714637] procd: - ubus -
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.860378] procd: - init -
Sat Feb 24 15:42:39 2018 user.info kernel: [   10.441522] kmodloader: loading kernel modules from /etc/modules.d/*
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.546554] ip6_tables: (C) 2000-2006 Netfilter Core Team
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.562939] Netfilter messages via NETLINK v0.30.
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.570949] ip_set: protocol 6
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.624896] u32 classifier
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.627652]     input device check on
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.631358]     Actions configured
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.637834] Mirror/redirect action on
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.816137] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
Sat Feb 24 15:42:39 2018 kern.notice kernel: [   10.829980] Bridge firewalling registered
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.836244] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.844437] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.855699] ip_tables: (C) 2000-2006 Netfilter Core Team
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.078289] xt_time: kernel timezone is -0000
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.197613] mt76_wmac 10300000.wmac: ASIC revision: 76280001
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.208400] mt76_wmac 10300000.wmac: Firmware Version: _e2_mp
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.214334] mt76_wmac 10300000.wmac: Build Time: 20150211175503
Sat Feb 24 15:42:39 2018 kern.warn kernel: [   11.232541] firmware init done
Sat Feb 24 15:42:39 2018 kern.debug kernel: [   11.399014] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.430112] PPP generic driver version 2.4.2
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.446558] NET: Registered protocol family 24
Sat Feb 24 15:42:39 2018 user.info kernel: [   11.571831] kmodloader: done loading kernel modules from /etc/modules.d/*
Sat Feb 24 15:42:40 2018 kern.info kernel: [   14.779709] rt3050-esw 10110000.esw: link changed 0x00
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: tunnel
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: Network device
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: bridge
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: veth
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: macvlan
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: 8021ad
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: 8021q
Sat Feb 24 15:42:42 2018 cron.info crond[867]: crond (busybox 1.27.2) started, log level 8
Sat Feb 24 15:42:43 2018 authpriv.info dropbear[900]: Not backgrounding
Sat Feb 24 15:42:43 2018 kern.info kernel: [   18.150107] rt3050-esw 10110000.esw: link changed 0x01
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.015586] br-lan: port 1(eth0.1) entered blocking state
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.021079] br-lan: port 1(eth0.1) entered disabled state
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.027088] device eth0.1 entered promiscuous mode
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.031953] device eth0 entered promiscuous mode
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.061117] br-lan: port 1(eth0.1) entered blocking state
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.066667] br-lan: port 1(eth0.1) entered forwarding state
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.072569] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Sat Feb 24 15:42:46 2018 daemon.notice netifd: Interface 'lan' is enabled
Sat Feb 24 15:42:46 2018 daemon.notice netifd: Interface 'lan' is setting up now
Sat Feb 24 15:42:46 2018 daemon.notice netifd: Interface 'lan' is now up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'admin' is enabled
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'admin' is setting up now
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'admin' is now up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'loopback' is enabled
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'loopback' is setting up now
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'loopback' is now up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'wan' is enabled
Sat Feb 24 15:42:47 2018 kern.info kernel: [   21.432180] IPv6: ADDRCONF(NETDEV_UP): br-lanfree: link is not ready
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'lanfree' is enabled
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'lanfree' is setting up now
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'lanfree' is now up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: bridge 'br-lan' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'lan' has link connectivity
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Network device 'eth0' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: VLAN 'eth0.1' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: VLAN 'eth0.3' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'admin' has link connectivity
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Network device 'lo' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'loopback' has link connectivity
Sat Feb 24 15:42:47 2018 daemon.notice netifd: VLAN 'eth0.2' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'wan' is setting up now
Sat Feb 24 15:42:47 2018 daemon.notice netifd: wan (1212): udhcpc: started, v1.27.2
Sat Feb 24 15:42:47 2018 kern.info kernel: [   22.030028] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Sat Feb 24 15:42:48 2018 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sat Feb 24 15:42:48 2018 daemon.notice netifd: wan (1212): udhcpc: sending discover
Sat Feb 24 15:42:48 2018 daemon.notice netifd: wan (1212): udhcpc: sending select for 192.168.1.7
Sat Feb 24 15:42:48 2018 daemon.notice netifd: wan (1212): udhcpc: lease of 192.168.1.7 obtained, lease time 86400
Sat Feb 24 15:42:48 2018 daemon.notice netifd: Interface 'wan' is now up
Sat Feb 24 15:42:49 2018 user.notice firewall: Reloading firewall due to ifup of lanfree (br-lanfree)
Sat Feb 24 15:42:50 2018 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)
Sat Feb 24 15:42:51 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.382956] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.397174] br-lan: port 2(wlan0) entered blocking state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.402673] br-lan: port 2(wlan0) entered disabled state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.408510] device wlan0 entered promiscuous mode
Sat Feb 24 15:42:51 2018 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sat Feb 24 15:42:51 2018 daemon.err hostapd: Using interface wlan0 with hwaddr c0:25:e9:b1:48:b6 and ssid "Portal"
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.448746] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.455484] br-lan: port 2(wlan0) entered blocking state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.460901] br-lan: port 2(wlan0) entered forwarding state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.473557] br-lanfree: port 1(wlan0-1) entered blocking state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.479592] br-lanfree: port 1(wlan0-1) entered disabled state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.486189] device wlan0-1 entered promiscuous mode
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.602634] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.608836] br-lanfree: port 1(wlan0-1) entered blocking state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.614773] br-lanfree: port 1(wlan0-1) entered forwarding state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.621709] IPv6: ADDRCONF(NETDEV_CHANGE): br-lanfree: link becomes ready
Sat Feb 24 15:42:51 2018 daemon.notice netifd: bridge 'br-lanfree' link is up
Sat Feb 24 15:42:51 2018 daemon.notice netifd: Interface 'lanfree' has link connectivity

Thanks

27.02.20181394Base systemFeature RequestVery LowLowAdd support for OWE encryptionTrunkUnconfirmed Task Description

The WPA3 standard requires opportunistic wireless encryption (OWE) support (with optional OWE transition) for “open” APs. This is supported by hostapd trunk after enabling CONFIG_OWE and then setting OWE instead of WPA-PSK.

02.03.20181403Base systemBug ReportVery LowLowlatest mediatek-patches for second gmac not fully worki...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on bananapi-r2

https://github.com/openwrt/openwrt/tree/master/target/linux/mediatek/patches-4.14

Some of these patches are creating the second gmac (ethernet-lane between soc and switch).

- Steps to reproduce

i have applied all Patches to a native 4.14(.11/20)-Kernel-Source.
It compiles fine, looks good (ip a in system), but i get no response to icmp,
outgoing seems to work, but ip-header gets damaged (tcpdump on remote host reports “truncated-ip - 6 bytes missing!”). Maybe because of that that my remote-host sends no icmp echo reply...

See http://forum.banana-pi.org/t/adding-second-gmac-to-4-14/4709/17 for detailed test

Can you confirm that and/or place this to the author of the patches?

02.03.20181404PackagesFeature RequestVery LowLowRFE : in package "gpsd" init / config : a way to bring ...TrunkUnconfirmed Task Description

FYI, I fixed a build bug in gpsd that allows using gpsd with CANbus / NMEA 2000 : FS#783

Now, it would nice to have a way to initialize the CANbus.

For example, the “8 devices USB2CAN” adapter ( https://www.8devices.com/products/usb2can ) needs :

ip link set can0 type can bitrate 250000

... and the CANable adapter ( http://canable.io/ ) needs :

slcan_attach -w -o -c -s5 /dev/ttyACM0 &

ip link set up slcan0

... after that gpsd can be configured with

gpsd.device=”nmea2000://slcan0”

... and it should work

03.03.20181405Base systemBug ReportVery LowLowBrcm47xx Board Detection NOT WORKING FOR ASUS RT-N15UTrunkUnconfirmed Task Description

DEVICE: ASUS RT-N15U
*
CPU1: Broadcom BCM47186B0 (500 MHz)
FLA1: 8 MiB (Macronix MX25L6405EMI-12G)
RAM1: 64 MiB (Micron MT47H32M16HR-3:F × 1)
WI1 chip1: Broadcom BCM47186B0
WI1 802dot11 protocols: bgn
WI1 MIMO config: 2×2:2
WI1 antenna connector: none
ETH chip1: Broadcom BCM47186B0
Switch: Broadcom BCM53125S
LAN speed: 10/100/1000
LAN ports: 4
WAN speed: 10/100/1000
WAN ports: 1 FIRMWARE FLASHED
LEDE TRUNK, THE LATEST VERSION

BUGS REPORT:
*
It seems after flashing the lede firmware, the brcm47xx board detection not working for this unit.

Under luci first “status” page, the “model” of the wireless router shows “unknown board” instead of the correct model number. For example, ASUS RT-N15U

When i flash back to cc15.05.1 or bb14.07, the luci will show the correct model no. of the router.

There are so many models of the brcm47xx series and several of them can not be displayed and recognized.

03.03.20181406Base systemBug ReportVery LowLowASUS RT-N15U TTL STAYS ON TTL=100 AFTER FLAHSING THE LE...TrunkUnconfirmed Task Description

DEVICE: ASUS RT-N15U

FIRMWARE FLASHED: BOTH LEDE17014 AND LEDE TRUNK LATESTS

BUG REPORT: AFTER BURNING THE FIRMWARE UNDER CFE, THE FIRST REBOOT IS OKEY, BUT WHEN AFTER FINALISING THE CONFIGURATION FOR THE LEDE AND DURING THE SECOND REBOOT, THE SYSTEM STAYS ON TTL=100, THAT MEANS, IT AUTOMATICALLY GOES INTO THE CFE INTERFACE.

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

Available keyboard shortcuts

Tasklist

Task Details

Task Editing