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
06.02.2017475KernelBug ReportVery LowMediumPSG1208 LEDAllUnconfirmed Task Description

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

 


06.02.2017472Base systemBug ReportVery LowMedium6to4 support with 1:1 natTrunkWaiting on reporter Task Description

One-to-one NAT means you have LAN address on interface and its mapped 1:1 to external ip addresses.
You can have incoming connections.

In such configuration “ipaddr” must be specified in 6to4 protocol section.
But due to bug this addr is submitted as local address for tunnel creation.
It does not work.

I fixed this with the following patch to /lib/netifd/proto/6to4.sh

48,53c48,53
< [ -z “$ipaddr” ] && {
< if ! network_get_ipaddr ipaddr “$wanif”; then
< proto_notify_error “$cfg” “NO_WAN_ADDRESS” < return
< fi
< }

if ! network_get_ipaddr ipladdr “$wanif”; then
> proto_notify_error “$cfg” “NO_WAN_ADDRESS”
return
> fi
>
> [ -z “$ipaddr” ] && ipaddr=$ipladdr
76c76
< json_add_string local “$ipaddr”

json_add_string local “$ipladdr”

I suggest you integrate this patch or do something similar yourself.

04.02.2017461Base systemBug ReportVery LowMediumMass Cascade of DHCP ULA Prefix Assignments with DHCP-P...AllUnconfirmed Task Description

Here is one that gets a bit ugly. Lets say we chain a bunch of LEDE based routers together. Lets also enable a nice numbering system in IP4 and IP6. Lets enable DHCP-PD through the network, because our ISP was generous with a /56. The IP4 is only static and is easy to control, see table below. Its tedious, but easy. The problem is in parallel the IP6 addresses compound in the ULA region. Each router DHCP-PD the ULA above it, and gets its own ULA from Global settings in Network UCI. There seems no easy way to control this mass cascade of ULA, and get good fail over.

Ideal Requirements:
(1) If router above is unavailable, then next tier router uses ULA (network global UCI) to begin assigning addresses to clients and subnets.
(2) If router above is available, then next tier router expires its self-generated ULA and subnets, and gets ULA from delegation above to then re-delegate to subnets.
(*) Bonus: make some parts optional

IP4 WAN Name Serves Subnet
(NAT) Router-1 172.16.0.1/24
172.16.0.2 Router-2A 172.17.0.1/24
172.17.0.2 Router-3A 172.24.0.1/24
172.17.0.3 Router-3B 172.25.0.1/24
172.16.0.3 Router-2B 172.18.0.1/24

IP6 Roots Name Serves Subnet Delegates Subnet
2001:db8/56 Router-1 2001:db8::1/64 2001:db8:0:10/60
fd00:ac10/48 fd00:ac10::1/64 2001:db8:0:20/60

                                                fd00:ac10:0:10/60
                                                fd00:ac10:0:20/60

2001:db8:0:10/60 Router-2A 2001:db8:0:10::1/64 2001:db8:0:14/62
fd00:ac10:0:10/60 fd00:ac10:0:10::1/64 2001:db8:0:18/62
fd00:ac11/48 fd00:ac11::1/64 fd00:ac10:0:14/62

                                                fd00:ac10:0:18/62
                                                fd00:ac11:0:14/62
                                                fd00:ac11:0:18/62

* please, i don’t want to type more. see how the ULA prefixes just keep multiplying.
** ‘172.16’ = ‘ac10’

24.01.2017427Base systemBug ReportVery LowMediumSwitch broken with WRT3200ACM (removes wifi adapters an...TrunkUnconfirmed Task Description

- Device problem occurs on:

WRT3200ACM

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

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

- Steps to reproduce

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

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

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

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

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


08.01.2017375ToolchainBuild FailureVery LowMediumBulidbots should have multilib support installed to pre...TrunkUnconfirmed Task Description

I’ve run into this earlier myself and now we are seeing at least one package failing because of it.
https://github.com/openwrt/packages/pull/2823

People seem to have run into this issue before since it’s listed as a requirement for Ubuntu 64-bit as an example.
https://wiki.openwrt.org/doc/howto/buildroot.exigence#examples_of_package_installations

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

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

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

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

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

29.11.2016315Base systemFeature RequestVery LowMediumImprove sysupgrade (CLI) on dual-partition routersTrunkUnconfirmed Task Description

Some of the recent Linksys (maybe other) routers have two partitions: WRT1900, EA8500, etc.

Would be great if when running sysupgrade on those routers it did NOT kill all active processes and kept the router working while writing an image to the inactive partition.

Would also be great if there was an option to prevent automatic reboot after writing an image.

Ultimate goal is to have an upgrade process where current working state is uninterrupted and only when you reboot – you boot into new image.

07.11.2016273KernelBug ReportVery LowMediummac80211 IBSS: Error print on IBSS joinTrunkUnconfirmed Task Description

Hardware:
- Gateworks iMX6
- Radio MiktroTik R11e-5HnD

LEDE version used:
578f7b9c597b0ea9bcf0726cc681713c0672edfe

Repro rate:
1%

After some time in a IBSS setup, following below appeared
When it does, the connection still works but it still doesnt look fine and could lead to worse.. :

If more info is required, please let me know.
The board showing this error is still running in this state.

[ 743.735572] device wlan0 entered promiscuous mode
[ 748.945565] device wlan0 left promiscuous mode
[ 1102.652670] ————[ cut here ]———— [ 1102.652763] WARNING: CPU: 0 PID: 4070 at compat-wireless-2016-10-08/net/mac80211/sta_info.c:451 sta_info_insert_rcu+0×78/0×594 [mac80211]()
[ 1102.652772] Modules linked in: mbt_netlink mbt ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath sierra pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE ftdi_sio ebtable_nat ebtable_filter ebtable_broute cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_DNETMAP xt_CT xt_CLASSIFY usbserial ts_kmp ts_fsm ts_bm slhc sky2 nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack_ftp iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables flexcan ebtables ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_ip ebt_dnat ebt_arpreply ebt_arp ebt_among ebt_802_3 crc_ccitt compat_xtables compat can_raw can_dev can br_netfilter at24 em_cmp sch_teql em_nbyte sch_tbf sch_dsmark sch_pie sch_codel sch_gred sch_htb cls_basic act_ipt sch_prio em_text em_meta act_police sch_red sch_sfq sch_fq act_connmark nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress gsc hwmon snd_soc_imx_sgtl5000 snd_soc_sgtl5000 snd_soc_fsl_ssi imx_pcm_dma snd_soc_imx_audmux snd_soc_core ledtrig_heartbeat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables gw16083 igb i2c_algo_bit ifb dummy tun snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore leds_gpio phy_mxs_usb ci_hdrc_imx usbmisc_imx ci_hdrc udc_core uhci_hcd ehci_platform ehci_hcd usbcore usb_common pps_gpio
[ 1102.653485] CPU: 0 PID: 4070 Comm: kworker/u4:0 Not tainted 4.4.30 #0
[ 1102.653495] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[ 1102.653564] Workqueue: phy0 ieee80211_iface_work [mac80211]
[ 1102.653574] Backtrace:
[ 1102.653600] [<800239fc>] (dump_backtrace) from [<80023bf4>] (show_stack+0×18/0x1c)
[ 1102.653609] r7:000001c3 r6:7f4a94e2 r5:60000013 r4:00000000
[ 1102.653640] [<80023bdc>] (show_stack) from [<801f08cc>] (dump_stack+0×84/0xa4)
[ 1102.653664] [<801f0848>] (dump_stack) from [<800323cc>] (warn_slowpath_common+0x8c/0xb8)
[ 1102.653671] r5:00000009 r4:00000000
[ 1102.653695] [<80032340>] (warn_slowpath_common) from [<8003249c>] (warn_slowpath_null+0×24/0x2c)
[ 1102.653703] r8:9ec3ea08 r7:9ec3e950 r6:9ec3e480 r5:9e4ee000 r4:9ebbcfb4
[ 1102.653780] [<80032478>] (warn_slowpath_null) from [<7f468524>] (sta_info_insert_rcu+0×78/0×594 [mac80211])
[ 1102.653867] [<7f4684ac>] (sta_info_insert_rcu [mac80211]) from [<7f473724>] (ieee80211_sta_join_ibss+0×614/0×1060 [mac80211])
[ 1102.653875] r10:00000088 r9:9f7f0400 r8:9ec3ea08 r7:9ec3e950 r6:9ec3e480 r5:9ec3ea04
[ 1102.653898] r4:9e4ee000
[ 1102.653978] [<7f4735a0>] (
ieee80211_sta_join_ibss [mac80211]) from [<7f4748b4>] (ieee80211_ibss_work+0x7c/0×430 [mac80211])
[ 1102.653986] r6:9e4ee000 r5:9ec3ea04 r4:9ec3e480
[ 1102.654072] [<7f474838>] (ieee80211_ibss_work [mac80211]) from [<7f475624>] (ieee80211_iface_work+0x33c/0×598 [mac80211])
[ 1102.654080] r10:00000088 r9:9f7f0400 r8:9ec3e884 r7:9ebbcb60 r6:00000000 r5:9ec3e480
[ 1102.654103] r4:9f5a2e80
[ 1102.654158] [<7f4752e8>] (ieee80211_iface_work [mac80211]) from [<80045550>] (process_one_work+0x1e0/0×318)
[ 1102.654165] r10:00000088 r9:9f7f0400 r8:00000000 r7:9f5a2e98 r6:9ec3e884 r5:9f40bc00
[ 1102.654187] r4:9f5a2e80
[ 1102.654208] [<80045370>] (process_one_work) from [<800462e8>] (worker_thread+0x2e0/0×430)
[ 1102.654215] r10:00000088 r9:00000000 r8:9f40bc14 r7:9f5a2e98 r6:9f40bc00 r5:9f40bc00
[ 1102.654238] r4:9f5a2e80
[ 1102.654262] [<80046008>] (worker_thread) from [<8004a500>] (kthread+0xe0/0xf4)
[ 1102.654269] r10:00000000 r9:00000000 r8:00000000 r7:80046008 r6:9f5a2e80 r5:00000000
[ 1102.654290] r4:9e641b00 r3:9ef65400
[ 1102.654316] [<8004a420>] (kthread) from [<80009c78>] (ret_from_fork+0×14/0x3c)
[ 1102.654323] r7:00000000 r6:00000000 r5:8004a420 r4:9e641b00
[ 1102.654342] —[ end trace 2a69f6e20e6ebe6c ]— [ node-11 ]

02.11.2016263KernelBug ReportVery LowMediumWRT3200ACM WAN connection failure in under 24 hoursTrunkWaiting on reporter Task Description

Symptom

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

Device problem occurs on

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

Software versions of LEDE release, packages, etc.

Release:

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

Packages:

  Default packages + luci-ssl

Possibly helpful info (80211 related output in log):

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

Steps to reproduce

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

Stack Trace

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

Hello,

As I said, if I change the TX power from 0 dBm to 20 dBm doesn’t nothing. There isn’t any visible change in tx power. I tested other powers too (5, 8, 15,..).

It is a Xiaomi Nano (lite).

SoC Type: MediaTek MT7628AN ver:1 eco:2
MIPS: machine is MiWiFi Nano
Linux version 4.4.19 (-) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1444) ) #0 Fri Aug 26 15:03:40 2016.

30.08.2016126KernelBug ReportVery LowMediumkernel panic on brcm47xx (netgear wgt634u) when routing...TrunkUnconfirmed Task Description

With LEDE version reboot-1444-g1bb914d, when pulling data through the WAN interface to the LAN interface at a sufficiently high speed, e.g. on a Raspberry Pi connected by ethernet to a LAN port, and the WAN interface connected to a gigabit internet service and issuing a command like:

curl https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.7.2.tar.xz > /dev/null

From the pi, I see something like:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  9 86.2M    9 7977k    0     0  1834k      0  0:00:48  0:00:04  0:00:44 1835k[  352.295252] smsc95xx 1-1.1:1.0 eth0: link down
  9 86.2M    9 7977k    0     0  1255k      0  0:01:10  0:00:06  0:01:04 1155k[  353.959380] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
  9 86.2M    9 7977k    0     0  43292      0  0:34:48  0:03:08  0:31:40     0

or

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  8 86.2M    8 7440k    0     0  1478k      0  0:00:59  0:00:05  0:00:54 1478k[ 1100.164849] smsc95xx 1-1.1:1.0 eth0: link down
  8 86.2M    8 7440k    0     0  1232k      0  0:01:11  0:00:06  0:01:05 1300k[ 1101.836954] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
  8 86.2M    8 7440k    0     0   740k      0  0:01:59  0:00:10  0:01:49     0

Where the “link down” is the WGT634U panic’ing and rebooting. The panic on the WGT634U looks like this:

[  171.966841] CPU 0 Unable to handle kernel paging request at virtual address 008224d8, epc == 80077ecc, ra == 801d8100
[  171.977700] Oops[#1]:
[  171.980093] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.1.20 #0
[  171.986265] task: 8181e008 ti: 8182a000 task.ti: 8182a000
[  171.991711] $ 0   : 00000000 1000b800 008224d8 b41c479b
[  171.997140] $ 4   : 008224d8 00010000 80361ef8 00000000
[  172.002557] $ 8   : 81018b14 8101da14 00100100 dceb27b8
[  172.007983] $12   : ffffffff 00000001 ffffff80 000042c6
[  172.013400] $16   : b41c479b 00000001 81b450a8 81b7d260
[  172.018817] $20   : 803b5dcc 00000002 00000008 0000000a
[  172.024235] $24   : 00000000 80072b24                  
[  172.029653] $28   : 8182a000 8182bdb8 00000100 801d8100
[  172.035083] Hi    : 00000000
[  172.038026] Lo    : 0000006c
[  172.041036] epc   : 80077ecc put_compound_page+0x78/0x240
[  172.046547] ra    : 801d8100 skb_release_data+0xa8/0x10c
[  172.051920] Status: 1000b803 KERNEL EXL IE 
[  172.056254] Cause : 00800008
[  172.059194] BadVA : 008224d8
[  172.062144] PrId  : 00029007 (Broadcom BMIPS3300)
[  172.066891] Modules linked in: pppoe ppp_async iptable_nat ath5k ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common ssb_hcd
[  172.132913] Process ksoftirqd/0 (pid: 3, threadinfo=8182a000, task=8181e008, tls=00000000)
[  172.141213] Stack : 1000b803 00000000 0000006c b41c479b 81b45080 801d8100 00000000 0000012c
          00000001 801e7d60 81becb60 81b7d260 81b7d260 80335b3c 81bece60 801d818c
          80360000 803623e0 81becb60 80335b3c 803623e0 801e63d8 8182be10 8182be10
          00000001 00000002 803b5dd0 00000001 803b5dd4 00000003 803b0000 80024fec
          81841048 80361100 819bb770 80007664 80364510 8181e008 80362898 04208040
          ...
[  172.178058] Call Trace:
[  172.180640] [<80077ecc>] put_compound_page+0x78/0x240
[  172.185822] [<801d8100>] skb_release_data+0xa8/0x10c
[  172.190895] [<801d818c>] __kfree_skb+0x28/0xb4
[  172.195466] [<801e63d8>] net_tx_action+0xd8/0x140
[  172.200329] [<80024fec>] __do_softirq+0x184/0x2b0
[  172.205184] [<80025140>] run_ksoftirqd+0x28/0x80
[  172.209953] [<8003bae0>] smpboot_thread_fn+0x148/0x178
[  172.215246] [<80039390>] kthread+0xdc/0xe8
[  172.219459] [<800010a8>] ret_from_kernel_thread+0x14/0x1c
[  172.224921] 
[  172.226470] 
Code: 30840001  0204100a  00402021 <8c420000> 000211c2  30420001  10400018  00000000  8e020000 
[  172.237022] ---[ end trace 89a3318b662df6d8 ]---
[  172.250536] Kernel panic - not syncing: Fatal exception in interrupt
[  172.262338] Rebooting in 3 seconds..

or

[ 1317.958261] Unhandled kernel unaligned access[#1]:
[ 1317.963173] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.1.20 #0
[ 1317.969349] task: 8181e008 ti: 8182a000 task.ti: 8182a000
[ 1317.974795] $ 0   : 00000000 1000b801 00000001 00200000
[ 1317.980232] $ 4   : 647b394a 00010000 00018da4 00000000
[ 1317.985658] $ 8   : 8181e040 b1e1b104 00000017 40000000
[ 1317.991085] $12   : 500018dd 00000000 00000000 010102f2
[ 1317.996510] $16   : 80e4d1e0 00000001 80e4d208 81acb0e0
[ 1318.001936] $20   : 803b5dcc 00000002 00000008 0000000a
[ 1318.007362] $24   : 00000010 8001ead0                  
[ 1318.012789] $28   : 8182a000 8182bdd0 00000100 801d8100
[ 1318.018220] Hi    : 00000001
[ 1318.021160] Lo    : 00000001
[ 1318.024169] epc   : 80078474 put_page+0x0/0x4c
[ 1318.028732] ra    : 801d8100 skb_release_data+0xa8/0x10c
[ 1318.034104] Status: 1000b803 KERNEL EXL IE 
[ 1318.038439] Cause : 00800010
[ 1318.041380] BadVA : 647b394a
[ 1318.044330] PrId  : 00029007 (Broadcom BMIPS3300)
[ 1318.049076] Modules linked in: pppoe ppp_async iptable_nat ath5k ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common ssb_hcd
[ 1318.115124] Process ksoftirqd/0 (pid: 3, threadinfo=8182a000, task=8181e008, tls=00000000)
[ 1318.123424] Stack : 00000000 80c60c94 00db35c0 626a006e ff330000 81acb0e0 81acb0e0 80335b3c
          80c28260 801d818c 80360000 8004f368 00000018 0000000a 803623e0 801e63d8
          8182be10 8182be10 80361100 00000002 803b5dd0 00000001 803b5dd4 00000013
          803b0000 80024fec 80364510 80361100 80360000 8000736c 80364510 8181e008
          80362898 04208040 00018da4 80360000 80310000 803b5dcc 803615a0 803114f4
          ...
[ 1318.160295] Call Trace:
[ 1318.162885] [<80078474>] put_page+0x0/0x4c
[ 1318.167108] [<801d8100>] skb_release_data+0xa8/0x10c
[ 1318.172182] [<801d818c>] __kfree_skb+0x28/0xb4
[ 1318.176752] [<801e63d8>] net_tx_action+0xd8/0x140
[ 1318.181614] [<80024fec>] __do_softirq+0x184/0x2b0
[ 1318.186471] [<80025140>] run_ksoftirqd+0x28/0x80
[ 1318.191238] [<8003bae0>] smpboot_thread_fn+0x148/0x178
[ 1318.196530] [<80039390>] kthread+0xdc/0xe8
[ 1318.200744] [<800010a8>] ret_from_kernel_thread+0x14/0x1c
[ 1318.206200] 
[ 1318.207747] 
Code: 00003021  0801e0ce  24a57888 <8c820000> 3042c000  10400003  00801821  0801df95  00000000 
[ 1318.218397] ---[ end trace 2502a626803fb4b9 ]---
[ 1318.231740] Kernel panic - not syncing: Fatal exception in interrupt
[ 1318.243362] Rebooting in 3 seconds..

This looks similar to: https://dev.openwrt.org/ticket/11091

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

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

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

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

...

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

...
...

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

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

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

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

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

20.08.2016105Base systemBug ReportMediumMediumlantiq: high latency on adsl lines using pppo[ae]TrunkAssigned Task Description

based on the thread
[LEDE-DEV] [OpenWrt-Devel] latency on PPPoA ADSL Annex A on using Lantiq

http://lists.infradead.org/pipermail/lede-dev/2016-August/002138.html

When using ssh onto the box via adsl, there is a high latency.
The last 3.18 version of lede works. Known good:

  • 161179f40bd7899516518f3844fea28c6dd86efc r47130

Known broken versions:

  • 2795592d913ba8ba57ba537d40714407ea463426 r47131
  • 2a0e1b7f8d59f795abb29d20007822f0da232c43 r47958

mkresin also has a patch for lantiq+4.0, which also has a high latency.
blogic mentioned linux commit 7424ce65065852bdf7a040bf2490da4a8fc4b464 [atm] switch vcc_sendmsg() to copy_from_iter() could be the issue.

Also an interesting side-effect. setup a uhttpd on the device and serve a file to the internet is very slow (using 4mb file random data). it only uploads 5kb/s

16.08.201694Base systemBug ReportVery LowMediumnetifd: PPPoE MTU problemTrunkNew Task Description

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

This leeds to log messages like this:


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


and MTUs other than what you really want.

example:


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

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

Regards,
Martin

13.06.20169KernelBug ReportVery LowMediumKernel panic with SQM scriptsTrunkUnconfirmed Task Description

When i select a script different than simplest.qos in the sqm list i get the log full of kernel panic message
If you need more information tell me.
To reproduce i have a wdr3600
just install the sqm package and select the script and watch the log
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.147796] ————[ cut here ]———— Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.147817] WARNING: CPU: 0 PID: 20621 at net/sched/sch_hfsc.c:1426 0x871e9e6c()
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.147825] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCMon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148143] CPU: 0 PID: 20621 Comm: dropbear Tainted: G W 4.4.12 #1
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] Stack : 803dc584 00000000 00000001 80430000 8782a080 80426f63 803bdcb0 0000508d
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 80493790 873e9f90 873e9c68 0000000a 00000100 800a6854 803c32bc 80420000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 00000003 873e9f90 803c16c8 8500fad4 00000100 800a4820 00000000 00000000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] ...
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148240] Call Trace:
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148255] [<80071a94>] show_stack+0×50/0×84 Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148271] [<80081628>] warn_slowpath_common+0xa0/0xd0
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148286] [<800816dc>] warn_slowpath_null+0×18/0×24 Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148315] [<871e9e6c>] 0x871e9e6c
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148326]
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148335] —[ end trace ce6ca764afdc3e14 ]—

here the log i get a lot

17.02.20181372Base systemBug ReportVery LowLow802.11s Mesh with SAE / using wpad-mesh crashing rando...TrunkUnconfirmed Task Description

OpenWrt SNAPSHOT r6155-9574551
Hardware: AP147-010/CPU: AR9533/RAM: 128MB/FLUSH: 16MB

Randomly crashing.

Issue only when use encryption.

/etc/config/wireless: (on both device same)

config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/qca953x_wmac'
	option disabled '0'
	option channel '6'
	option legacy_rates '0'
	option country 'CN'
	option beacon_int '400'
	option htmode 'HT20'

config wifi-iface
	option ifname 'mesh0'
	option device 'radio1'
	option network 'lan'
	option mode 'mesh'
	option mesh_id 'TESTMESH'
	option encryption 'psk2'
	option key 'TESTMESHPASS'
	option mesh_fwding '1'

Device_1 /etc/config/network: (with internet on eth1)

config interface 'lan'
	option type 'bridge'
	option ifname 'eth0'
	option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
	option stp '1'

Device_2 /etc/config/network: (just mesh point)

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

Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.128432] ------------[ cut here ]------------
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.133333] WARNING: CPU: 0 PID: 3 at backports-2017-11-01/net/mac80211/wpa.c:431 0x86c887f8 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.144597] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_socket xt_recent xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_iprange xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TPROXY xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CLASSIFY usblp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_log_ipv4 nf_defrag_ipv4
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.218626]  nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat br_netfilter fuse act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ip_gre gre ipip ip6_tunnel tunnel6 tunnel4 ip_tunnel vfat fat ntfs hSat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.340385] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G        W       4.9.77 #0
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.347939] Stack : 8046767a 00000043 00000000 00000001 00000000 00000000 00000000 00000000
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.356645]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.365344]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.374044]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.382745]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.391435]         ...
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.393981] Call Trace:
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.396423] [<8006adcc>] 0x8006adcc
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.400025] [<8006adcc>] 0x8006adcc
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.403638] [<8007fa40>] 0x8007fa40
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.407246] [<86c887f8>] 0x86c887f8 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.413445] [<8007fb08>] 0x8007fb08
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.417131] [<86c887f8>] 0x86c887f8 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.423260] [<80126f94>] 0x80126f94
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.427128] [<86ca863c>] 0x86ca863c [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.433336] [<86f690b4>] 0x86f690b4 [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.439179] [<802beae8>] 0x802beae8
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.443070] [<86cab364>] 0x86cab364 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.449255] [<86f69318>] 0x86f69318 [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.455700] [<86f69758>] 0x86f69758 [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.461711] [<86f69840>] 0x86f69840 [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.467609] [<86c97800>] 0x86c97800 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.473994] [<86f6a09c>] 0x86f6a09c [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.480242] [<86f6a4c0>] 0x86f6a4c0 [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.486297] [<86caa880>] 0x86caa880 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.492474] [<86ca7d38>] 0x86ca7d38 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.498588] [<86d17a3c>] 0x86d17a3c [ath10k_core@86d00000+0x3ea30]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.505098] [<86cac5dc>] 0x86cac5dc [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.511211] [<86f6b9dc>] 0x86f6b9dc [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.517373] [<86cadfac>] 0x86cadfac [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.523582] [<80290670>] 0x80290670
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.527260] [<80082bd0>] 0x80082bd0
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.530898] [<800a06f8>] 0x800a06f8
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.534510] [<8008258c>] 0x8008258c
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.538114] [<8009fa3c>] 0x8009fa3c
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.541849] [<800825fc>] 0x800825fc
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.545453] [<8009b1d0>] 0x8009b1d0
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.549055] [<8009b324>] 0x8009b324
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.552720] [<8009b1d0>] 0x8009b1d0
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.556322] [<8037da5c>] 0x8037da5c
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.560001] [<8009b1d0>] 0x8009b1d0
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.563619] [<80097e8c>] 0x80097e8c
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.567410] [<80097db4>] 0x80097db4
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.571084] [<80066058>] 0x80066058
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.574706]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.576249] ---[ end trace 9d0627fec2f83954 ]---
16.02.20181371Base systemBug ReportVery LowLowuml: fails to build with musl (fix inside)TrunkUnconfirmed Task Description

I have added target/linux/uml/patches-4.4/103-arch-um-compile-with-modern-headers.patch to make it compile.
the patch attached.

Tested with Lede 17.01.4

16.02.20181368Base systemBug ReportVery LowLowHigh load on TP-Link TL-WR841N v8 - hostapd issue?lede-17.01Unconfirmed Task Description

We had a TP-Link TL-WR841N v8 with a very high load (6-14) for hours until it was rebooted. It might be an issue with hostapd because the log is full of hostapd related messsages.


15.02.20181367Base systemBug ReportVery LowLowCrash in dwc2_lowlevel_hw_disable when using Huawei E33...TrunkUnconfirmed Task Description

Device problem occurs on

BT Homehub 5a (Lantiq xrx200)
Huawei E3372 4G dongle

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

SNAPSHOT, r6150-dc7a1e8555
kernel - 4.9.77-1-b3856355ef32057f204aaf8b7ab28ff3
kmod-usb-net-cdc-ether - 4.9.77-1
usb-modeswitch - 2017-12-19-f40f84c2-1

Steps to reproduce

Either boot with the USB stick inserted, or insert the stick after booting.

The relevant lines from the serial console are below,
full boot log is attached

[ 3.825017] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.945365] dwc2 1e101000.ifxhcd: requested GPIO 495
[ 4.051035] dwc2 1e101000.ifxhcd: DWC OTG Controller
[ 4.054689] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[ 4.061971] dwc2 1e101000.ifxhcd: irq 62, io mem 0×00000000 [ 4.067493] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
[ 4.074914] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[ 4.083016] hub 1-0:1.0: USB hub found
[ 4.085710] hub 1-0:1.0: 1 port detected
...
[ 12.728865] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 15.172707] usb 1-1: new high-speed USB device number 2 using dwc2
[ 16.329125] usb 1-1: USB disconnect, device number 2
[ 16.912722] usb 1-1: new high-speed USB device number 3 using dwc2
[ 17.402287] cdc_ether 1-1:1.0 eth1: register ‘cdc_ether’ at usb-1e101000.ifxhcd-1, CDC Ethernet Device, 0c:5b:8f:27:9a:64
...
[ 23.740745] cdc_ether 1-1:1.0 eth1: kevent 12 may have been dropped
[ 23.750448] Kernel bug detected[#1]:
[ 23.752607] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.9.77 #0
[ 23.758689] task: 87c38b80 task.stack: 87c56000
[ 23.763191] $ 0 : 00000000 806f0000 810ca200 00000001
[ 23.768408] $ 4 : 00000000 810ca233 00000000 86066000
[ 23.773630] $ 8 : 805a0000 806f15ea 00000010 806f1000
[ 23.778853] $12 : 806f1000 00000001 00000000 806f1000
[ 23.784075] $16 : 8601c080 86085008 87d7be00 00000000
[ 23.789299] $20 : 805990a0 00010000 00000002 00000000
[ 23.794520] $24 : 00000010 875e36f8
[ 23.799742] $28 : 87c56000 87c57d80 00000018 875e36cc
[ 23.804968] Hi : 00000fee
[ 23.807837] Lo : 00000026
[ 23.810752] epc : 800f38d8 kfree+0×78/0x1a4
[ 23.815165] ra : 875e36cc dwc2_lowlevel_hw_disable+0x12d0/0x1c20 [dwc2]
[ 23.821943] Status: 1100ff03 KERNEL EXL IE [ 23.826121] Cause : 10800034 (ExcCode 0d)
[ 23.830127] PrId : 00019556 (MIPS 34Kc)
[ 23.834037] Modules linked in: ath9k ath9k_common ath9k_hw ath10k_pci ath10k_core ath pppoe nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 cdc_ether 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 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 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/0 (pid: 3, threadinfo=87c56000, task=87c38b80, tls=00000000)
[ 23.959287] Stack : 00000000 875e370c 86050c00 86eec600 00000001 8601c080 ffffff7d 802d921c
[ 23.967640] 00000000 00000000 87decb20 8110fb80 87decb20 87d7bee8 87d7bef0 87c57dd8
[ 23.975996] 87d7beec 802d9834 00000000 80062a94 875a0c40 805e6b80 8601c214 86050c14
[ 23.984352] 805993f8 87d7befc 87d7bef8 805e31fc 805993f8 80033524 87c38be0 805e6b80
[ 23.992709] 00000000 00000000 00000002 00000005 8058e058 00000090 806f41e0 00000006
[ 24.001064] ...
[ 24.003503] Call Trace:
[ 24.005971] [<800f38d8>] kfree+0×78/0x1a4
[ 24.010051] [<875e36cc>] dwc2_lowlevel_hw_disable+0x12d0/0x1c20 [dwc2]
[ 24.016526] Code: 30630001 24030001 38630001 <00030336> 8c430000 7c630380 10600003 00000000 10000002
[ 24.026220]
[ 24.027887] —[ end trace e408cf4c0ce5fc0c ]— [ 24.037907] Kernel panic - not syncing: Fatal exception in interrupt
[ 24.046166] Rebooting in 3 seconds..


15.02.20181366DocumentationBug ReportVery LowLowdnsmasq documentation consolidationTrunkUnconfirmed Task Description

The documentation for dnsmasq is split between at least 3 pages (and git sources) They are each subtly different, so it’s very confusing as a user trying to find information. From a user’s perspective, I would suggest that these should be merged to the combined “DNS and DHCP configuration” page but there may be a valid reason to keep them separated that I’m not considering.

In any case, the multiple sources are independent/out of sync which is definitely an issue
DNS and DHCP configuration DNS configuration DHCP configuration web.git/docs/uci_dnsmasq.txt A couple of simple examples to highlight issue:

  1. the description for `add_local_hostname` starts with `Add A, AAAA, & PTR` on some but `Add A, AAAA, and PTR` on others. (”&” vs. “and” isn’t an issue as far as content but obviously the data is not sharing a common source)
  2. the new (Trunk) option `dhcp_option_force` is on the DHCP configuration page but not in any of the other sources.
14.02.20181365DocumentationBug ReportVery LowLowadd documentation for dnsmasq option conf-dirTrunkUnconfirmed Task Description

The dnsmasq option for conf-dir is implemented but not documented (website or otherwise) Something like this:

| 'confdir' | string | '/tmp/dnsmasq.d' | '--conf-dir' | Read all the files in the given directory as configuration files.

The dnsmasq documentation seems to be a mess and I’m not even sure where specifically this option should be included.

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

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
13.02.20181354Base systemBug ReportVery LowLowMT7628 Call TraceTrunkUnconfirmed Task Description

This problem also occurs in cc version 15.04.

1. system info

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

root@LEDE:/# uname -a
Linux LEDE 4.4.92 #0 Tue Oct 17 17:46:20 2017 mips GNU/Linux

2. trace log
root@LEDE:/#
[ 60.915441] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 60.931769] device wlan0 entered promiscuous mode
[ 60.965229] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 60.971937] br-lan: port 2(wlan0) entered forwarding state
[ 60.977586] br-lan: port 2(wlan0) entered forwarding state
[ 62.975771] br-lan: port 2(wlan0) entered forwarding state
[ 63.436041] random: nonblocking pool is initialized

root@LEDE:/# uname -a
Linux LEDE 4.4.92 #0 Tue Oct 17 17:46:20 2017 mips GNU/Linux
root@LEDE:/# [ 71.259540] device wlan0 left promiscuous mode
[ 71.264171] br-lan: port 2(wlan0) entered disabled state
[ 72.180390] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 72.208932] device wlan0 entered promiscuous mode
[ 72.213810] br-lan: port 2(wlan0) entered forwarding state
[ 72.219479] br-lan: port 2(wlan0) entered forwarding state
[ 72.307245] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 74.215791] br-lan: port 2(wlan0) entered forwarding state
======[ 75.565774] ————[ cut here ]———— [ 75.570530] WARNING: CPU: 0 PID: 7 at /srv/repository/77.lede/openwrt-444add1/build_dir/target-mipsel_24kc_musl-1.1.16/linux-ramips_mt7628/mt76-2017-10-12-1be430fc/mt7603_mac.c:1279 mt7603_mac_work+0xf0/0×290 [mt7603e]()
[ 75.590375] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt mt76x2e mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[ 75.656193] CPU: 0 PID: 7 Comm: kworker/u2:1 Not tainted 4.4.92 #0
[ 75.662836] Workqueue: phy0 mt7603_mac_work [mt7603e]
[ 75.668031] Stack : 83803410 838a7198 00000088 8004afbc 8382e0b4 8038ad23 80328bd4 00000007
80350878 838b3d64 80380000 80048f28 00000088 8004afbc 8032e104 80380000
00000003 838b3d64 80380000 80038f18 00000088 838b3d9c 000000bc 00000000
00000001 00000000 83115420 83b54900 83b54800 30796870 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
...
[ 75.704622] Call Trace:
[ 75.707135] [<800148c8>] show_stack+0×54/0×88 [ 75.711563] [<80025440>] warn_slowpath_common+0xa0/0xd0
[ 75.716888] [<800254f8>] warn_slowpath_null+0×18/0×24 [ 75.722036] [<83115510>] mt7603_mac_work+0xf0/0×290 [mt7603e]
[ 75.727906] [<80036e14>] process_one_work+0x1f8/0×334 [ 75.733045] [<80037c3c>] worker_thread+0x2b0/0×404 [ 75.737925] [<8003c01c>] kthread+0xd8/0xec
[ 75.742098] [<80004478>] ret_from_kernel_thread+0×14/0x1c
[ 75.747581]
[ 75.749096] —[ end trace e8bec1608a59628f ]—======

root@LEDE:/# [ 87.742860] done.
[ 87.744871] jffs2: notice: (1006) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.


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

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

12.02.20181349Base systemBug ReportVery LowLowSystem is unstable under high network load.TrunkUnconfirmed Task Description

OpenWrt/LEDE version: 184-r6069-a464fba7eb
Device: Xiaomi MiWiFi Mini (ramips/mt7620)

The problem occurs immediately after the starting fast downloads and uploads in the torrent-client on wired connected PC. On 184-r5993-1cb06d8907 everything is stable.

partial logread

Mon Feb 12 11:39:14 2018 daemon.info pppd[1130]: No response to 5 echo-requests
Mon Feb 12 11:39:14 2018 daemon.notice pppd[1130]: Serial link appears to be disconnected.
Mon Feb 12 11:39:14 2018 daemon.info pppd[1130]: Connect time 7.2 minutes.
Mon Feb 12 11:39:14 2018 daemon.info pppd[1130]: Sent 270076244 bytes, received 213831528 bytes.
Mon Feb 12 11:39:14 2018 daemon.err odhcp6c[1349]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Mon Feb 12 11:39:14 2018 daemon.notice netifd: Network device 'pppoe-wan' link is down
Mon Feb 12 11:39:14 2018 daemon.notice netifd: Network alias 'pppoe-wan' link is down
Mon Feb 12 11:39:14 2018 daemon.notice netifd: Interface 'wan_6' has link connectivity loss
Mon Feb 12 11:39:14 2018 daemon.err odhcp6c[1349]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Mon Feb 12 11:39:14 2018 daemon.notice netifd: Interface 'wan' has lost the connection
Mon Feb 12 11:39:14 2018 daemon.notice netifd: Interface 'vpn0' has lost the connection
Mon Feb 12 11:39:14 2018 daemon.notice netifd: Interface 'vpn0_addr' is now down
Mon Feb 12 11:39:14 2018 daemon.notice netifd: Interface 'vpn0_addr' is disabled
Mon Feb 12 11:39:14 2018 daemon.notice netifd: Network alias '' link is down
Mon Feb 12 11:39:14 2018 daemon.notice netifd: Interface 'vpn0_addr' has link connectivity loss
Mon Feb 12 11:39:14 2018 daemon.notice netifd: Interface 'wan_6' is disabled
Mon Feb 12 11:39:14 2018 daemon.notice netifd: tunnel 'gre4-vpn0' link is down
Mon Feb 12 11:39:14 2018 daemon.notice netifd: wan_6 (1349): Command failed: Permission denied
Mon Feb 12 11:39:14 2018 daemon.info dnsmasq[1690]: read /etc/hosts - 4 addresses
Mon Feb 12 11:39:14 2018 daemon.info dnsmasq[1690]: read /tmp/hosts/odhcpd - 2 addresses
Mon Feb 12 11:39:14 2018 daemon.info dnsmasq[1690]: read /tmp/hosts/dhcp.cfg01411c - 3 addresses
Mon Feb 12 11:39:14 2018 daemon.notice netifd: Interface 'vpn0' is now down
Mon Feb 12 11:39:14 2018 daemon.notice netifd: Interface 'vpn0' is setting up now
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.434847] ------------[ cut here ]------------
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.439613] WARNING: CPU: 0 PID: 1901 at net/sched/sch_generic.c:316 dev_watchdog+0x1dc/0x25c
Mon Feb 12 11:39:15 2018 kern.info kernel: [  499.448335] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.455441] Modules linked in: rt2800soc rt2800pci rt2800mmio rt2800lib pppoe ppp_async rt2x00soc rt2x00pci rt2x00mmio rt2x00lib 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 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_itu_t crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ip_gre gre ip_tunnel eeprom_93cx6 leds_gpio ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.528734]  usbcore nls_base usb_common
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.531424] CPU: 0 PID: 1901 Comm: gre.sh Not tainted 4.9.77 #0
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.537470] Stack : 8042751a 00000033 00000000 00000001 8723fb3c 803d9207 8038bd90 0000076d
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.546034]         80423660 0000013c ffffffff 00000200 00200000 8004d250 80391570 803d0000
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.554592]         00000003 0000013c 8038f738 87c0de2c 00200000 8007b3cc 00000000 00000006
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.563156]         00000006 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.571716]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.580285]         ...
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.582783] Call Trace:
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.585315] [<8000e458>] show_stack+0x54/0x88
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.589784] [<800239d0>] __warn+0xe4/0x118
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.593966] [<80023a34>] warn_slowpath_fmt+0x30/0x3c
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.599051] [<8024aad4>] dev_watchdog+0x1dc/0x25c
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.603872] [<80057988>] call_timer_fn.isra.4+0x24/0x84
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.609222] [<80057b94>] run_timer_softirq+0x1ac/0x1f8
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.614477] [<8002653c>] __do_softirq+0x250/0x298
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.619295] [<800096f8>] handle_int+0x138/0x144
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.623937] [<801724e8>] __copy_user_common+0x160/0x2d8
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.629301] [<8017ab90>] copy_page_to_iter+0x118/0x2d4
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.634556] [<8007f228>] generic_file_read_iter+0x58c/0x9e8
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.640273] [<800b9b80>] __vfs_read+0x10c/0x14c
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.644908] [<800ba910>] vfs_read+0x98/0x140
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.649266] [<800bb934>] SyS_read+0x58/0xc4
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.653550] [<80012ccc>] syscall_common+0x34/0x58
Mon Feb 12 11:39:15 2018 kern.warn kernel: [  499.658363] ---[ end trace 365777323827c701 ]---
Mon Feb 12 11:39:15 2018 kern.err kernel: [  499.663085] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
Mon Feb 12 11:39:15 2018 kern.info kernel: [  499.669414] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:80000065
Mon Feb 12 11:39:15 2018 kern.info kernel: [  499.675564] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=07134000, max=128, ctx=0, dtx=0, fdx=82, next=0
Mon Feb 12 11:39:15 2018 kern.info kernel: [  499.685882] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=07159000, max=128, calc=42, drx=46
Mon Feb 12 11:39:15 2018 daemon.notice pppd[1130]: Connection terminated.
Mon Feb 12 11:39:15 2018 daemon.info pppd[1130]: Connect time 7.2 minutes.
Mon Feb 12 11:39:15 2018 daemon.info pppd[1130]: Sent 270076244 bytes, received 213831528 bytes.
Mon Feb 12 11:39:15 2018 daemon.info pppd[1130]: Sent PADT
Mon Feb 12 11:39:15 2018 daemon.info pppd[1130]: Exit.
Mon Feb 12 11:39:15 2018 daemon.notice netifd: Interface 'wan' is now down
Mon Feb 12 11:39:15 2018 daemon.notice netifd: Interface 'wan' is setting up now
Mon Feb 12 11:39:15 2018 daemon.notice netifd: Interface 'vpn0' is now down
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
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:~# 
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
03.02.20181324Base systemBug ReportVery LowLowmac80211: wrong mac address calculation with 2 phyTrunkUnconfirmed Task Description

I’m using current master branch.

In files/lib/wifi/mac80211.sh there is a function mac80211_generate_mac() that tries to generate mac (BSSID) for interfaces. But the is a problem in design here.

I have two phy devices (2,4 and 5GHz):

root@router:/tmp# cat /sys/class/ieee80211/phy*/addresses
xx:xx:xx:xx:2f:2e
xx:xx:xx:xx:2f:2f
root@router:/tmp# cat /sys/class/ieee80211/phy*/address_mask
00:00:00:00:00:07
00:00:00:00:00:07

I also have 4 interfaces in /etc/config/wireless: 2 for radio0 and 2 for radio1. On every channel one is my private AP, and one is for guests.

Since mac80211.sh knows only about phy itself for phy0 is generates ...:2f:2e for main AP and ...:2f:2f for guest one. On phy1 I see :2f:2f for main and 2f:2e for guest.

Since mac addresses goes to bssid (or hostapd creates mac based on bssid in config) I have problem: different AP have the same BSSID.

In my particular case I was able to run the setup after I manually calculate and set macaddresses in /etc/config/wireless

tags: @nbd168 @NeoRaider

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)


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


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

31.01.20181314Base systemBug ReportVery LowLowkernel, serial line, pl2303 changes breaks ntpd with RA...TrunkUnconfirmed Task Description

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:

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

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

Many thanks

Lars

30.01.20181313PackagesBug ReportVery LowLowcurl: PRNG seeding failedlede-17.01Unconfirmed Task Description

Device: TP-LINK TL-WR1043ND
LEDE Version: 17.01.4, r3560-79f57e422d
Curl Version: 7.52.1-7

Steps to reproduce:

:~# curl http://example.com/ -F "file=@/tmp/test" -vv
* PRNG seeding failed
curl: (27) PRNG seeding failed   


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/*
26.01.20181303Base systemBug ReportVery LowLowAttended Sysupgrade: brcm2708 target hasn't been conver...TrunkUnconfirmed Task Description

- Device problem occurs on rpi3
- LEDE Snapshot Attended Sysupgrade doesn’t work since the image is not built with new image builder.

Steps to reproduce:

  1. Install luci-app-attendedsysupgrade package
  2. Configure it to point at https://ledeupdate.planetexpress.cc/
  3. There is a proposed SysUpgrade. Click on Generate.
  4. Error: “Unsupported device, release, target, subtraget or board”

Error was previously posted https://github.com/aparcar/attendedsysupgrade-server/issues/88

25.01.20181299ToolchainBug ReportVery LowLowBuild system can't build target-specific packages depen...TrunkUnconfirmed Task Description

Device: Arcadyan / Astoria VGV7510KW22 o2 Box 6431

Version: Latest openwrt snapshot (2018-01-25)

Steps to reproduce:
Look for the package asterisk13-chan-lantiq in the following locations:
https://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/packages/ https://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony/ Neither location contains the package asterisk13-chan-lantiq. asterisk13-chan-lantiq is special because it both depends on asterisk (which is built as generic telephony package) as well as kmod-ltq-vmmc (which is built for the lantiq/xrx200 family of devices).

Cross-references:
https://github.com/openwrt/telephony/issues/193 https://github.com/openwrt/telephony/pull/199

24.01.20181294PackagesBug ReportVery LowLowip-tiny / ip-full insanitylede-17.01Unconfirmed Task Description

Environment: Powered by LuCI lede-17.01 branch (git-17.298.45605-07e7ff0) / LEDE Reboot 17.01.4 r3560-79f57e422d
Model TP-Link Archer C7 v2
Firmware Version LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.298.45605-07e7ff0)
Kernel Version 4.4.92
mips_24kc / ar71xx

Description:

Installing strongswan-full got me here. Install ip-tiny, and ip works ‘correctly’, but claims to provide xfrm, but does not. Remove ip-tiny, install ip-full, busybox owns the show, but xfrm works when calling the ip binary with full path. Remove ip-full, install ip-tiny, and ip rules once again, but no ip xfrm.

ip-tiny also claims to provide ip xfrm, but does not. Can provide further info if necessary.

console session follows:

```
# opkg install ip-full
...

# opkg install strongswan-full
Installing strongswan-full (5.5.3-1) to root...
...

# opkg whatprovides ip
What provides ip

  ip-full

# opkg files ip-full
Package ip-full (4.4.0-10) is installed on root and has the following files:
/usr/sbin/ip

# /usr/sbin/ip -V
ip utility, iproute2-ss4.4.0-10-lede

# which ip
/usr/sbin/ip

# export
...
export PATH=’/usr/sbin:/usr/bin:/sbin:/bin’

# ls -l /sbin/ip
lrwxrwxrwx 1 root root 14 Oct 17 19:46 /sbin/ip → ../bin/busybox
# ls -l /usr/sbin/ip
-rwxr-xr-x 1 root root 229044 Dec 30 20:26 /usr/sbin/ip
# ls -l /usr/bin/ip
ls: /usr/bin/ip: No such file or directory

# ip
BusyBox v1.25.1 () multi-call binary.

Usage: ip [OPTIONS] {address | route | link | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

# ip -V
BusyBox v1.25.1 () multi-call binary.

Usage: ip [OPTIONS] {address | route | link | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

# /usr/sbin/ip -V
ip utility, iproute2-ss4.4.0-10-lede

# /usr/sbin/ip xfrm
Usage: ip xfrm XFRM-OBJECT { COMMAND | help }
where XFRM-OBJECT := state | policy | monitor

# opkg remove ip-full
Removing package ip-full from root...

# opkg install ip-full
Installing ip-full (4.4.0-10) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/base/ip-full_4.4.0-10_mips_24kc.ipk Configuring ip-full.

# ip
BusyBox v1.25.1 () multi-call binary.

...

# opkg remove ip-full
No packages removed.
Collected errors:
* print_dependents_warning: Package ip-full is depended upon by packages:
* print_dependents_warning: strongswan

# opkg remove strongswan –force-depends
Removing package strongswan from root...
Stopping strongSwan IPsec...

# opkg remove ip-full
Removing package ip-full from root...

# opkg install ip-tiny
Installing ip-tiny (4.4.0-10) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/base/ip-tiny_4.4.0-10_mips_24kc.ipk Configuring ip-tiny.

# ip -V
ip utility, iproute2-ss4.4.0-10-lede

# ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }

     ip [ -force ] -batch filename

where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |

                 tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                 netns | l2tp | fou | tcp_metrics | token | netconf }

...

# opkg whatprovides ip
What provides ip

  ip-tiny

# opkg files ip-tiny
Package ip-tiny (4.4.0-10) is installed on root and has the following files:
/usr/bin/ip

# export
...
export PATH=’/usr/sbin:/usr/bin:/sbin:/bin’

# ls -l /usr/sbin/ip
ls: /usr/sbin/ip: No such file or directory
# ls -l /usr/bin/ip
-rwxr-xr-x 1 root root 159196 Dec 30 20:27 /usr/bin/ip
# ls -l /bin/ip
ls: /bin/ip: No such file or directory
# ls -l /sbin/ip
lrwxrwxrwx 1 root root 14 Oct 17 19:46 /sbin/ip → ../bin/busybox
#

# opkg remove ip-tiny
Removing package ip-tiny from root...

# opkg remove ip-full
No packages removed.

# opkg install ip-full
Installing ip-full (4.4.0-10) to root...
Downloading ...
Configuring ip-full.
# ip
BusyBox v1.25.1 () multi-call binary.
...

# opkg remove ip-full
Removing package ip-full from root...
# opkg install strongswan-full
Package strongswan-full (5.5.3-1) installed in root is up to date.

# ip
BusyBox v1.25.1 () multi-call binary.

# rm /sbin/ip

# opkg remove strongswan-full –force-depends
Removing package strongswan-full from root...
# opkg install strongswan-full
Installing strongswan-full (5.5.3-1) to root...
Downloading ...
Installing ip-tiny (4.4.0-10) to root...
Downloading ...
Installing strongswan (5.5.3-1) to root...
Downloading ...
Configuring ip-tiny.
Configuring strongswan.

# ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }

     ip [ -force ] -batch filename

where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |

                 tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                 netns | l2tp | fou | tcp_metrics | token | netconf }

...

# ip xfrm
Object “xfrm” is unknown, try “ip help”.

# opkg remove strongswan-full –force-depends
Removing package strongswan-full from root...

# opkg remove strongswan –force-depends
Removing package strongswan from root...
Stopping strongSwan IPsec...

# ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }

     ip [ -force ] -batch filename

where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |

                 tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                 netns | l2tp | fou | tcp_metrics | token | netconf }

...

# opkg remove ip-tiny
Removing package ip-tiny from root...

# ip
-ash: ip: not found
# ls -l /usr/sbin/ip
ls: /usr/sbin/ip: No such file or directory
# ls -l /usr/bin/ip
ls: /usr/bin/ip: No such file or directory
# ls -l /sbin/ip
ls: /sbin/ip: No such file or directory
# ls -l /bin/ip
ls: /bin/ip: No such file or directory

# opkg install ip-full
Installing ip-full (4.4.0-10) to root...
Downloading ...
Configuring ip-full.

# ip xfrm
-ash: ip: not found
# ip
-ash: ip: not found

# which ip
/usr/sbin/ip

# ip
-ash: ip: not found
# ls -l /usr/sbin/ip
-rwxr-xr-x 1 root root 229044 Dec 30 20:26 /usr/sbin/ip

# which busybox
/bin/busybox

# ln -s /bin/busybox /sbin/ip
# ip
BusyBox v1.25.1 () multi-call binary.
...

# opkg remove ip-full
Removing package ip-full from root...
# opkg install ip-full
Installing ip-full (4.4.0-10) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/base/ip-full_4.4.0-10_mips_24kc.ipk Configuring ip-full.
# ip
BusyBox v1.25.1 () multi-call binary.
...

# opkg remove ip-full
Removing package ip-full from root...
# opkg install ip-tiny
Installing ip-tiny (4.4.0-10) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/base/ip-tiny_4.4.0-10_mips_24kc.ipk Configuring ip-tiny.
# ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }

     ip [ -force ] -batch filename

where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |

                 tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                 netns | l2tp | fou | tcp_metrics | token | netconf }

...

# which ip
/usr/bin/ip

# /usr/bin/ip xfrm
Object “xfrm” is unknown, try “ip help”.

# export
...
export PATH=’/usr/sbin:/usr/bin:/sbin:/bin’

# opkg remove ip-tiny
Removing package ip-tiny from root...
# opkg install ip-full
Installing ip-full (4.4.0-10) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/base/ip-full_4.4.0-10_mips_24kc.ipk Configuring ip-full.
# which ip
/usr/sbin/ip

# opkg whatprovides ip
What provides ip

  ip-full

# opkg files ip
Package ip-full (4.4.0-10) is installed on root and has the following files:
/usr/sbin/ip

# ip
BusyBox v1.25.1 () multi-call binary.

Usage: ip [OPTIONS] {address | route | link | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

# strace ip
execve(”/usr/sbin/ip”, [”ip”], [/* 12 vars */]) = 0
set_thread_area(0x78001d48) = 0
set_tid_address(0x77ffacac) = 26625
open(”/etc/ld-musl-mips-sf.path”, O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open(”/lib/libgcc_s.so.1”, O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=77040, ...}) = 0
read(3, “\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0(\20\0\0\0004”..., 936) = 936
mmap2(NULL, 143360, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77f32000
mmap2(0x77f54000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0×12000) = 0x77f54000
close(3) = 0
mprotect(0×445000, 4096, PROT_READ) = 0
socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC, NETLINK_ROUTE) = 3
setsockopt(3, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
setsockopt(3, SOL_SOCKET, SO_RCVBUF, [1048576], 4) = 0
bind(3, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 0
getsockname(3, {sa_family=AF_NETLINK, nl_pid=26625, nl_groups=00000000}, [12]) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=1516802132, tv_nsec=297396679}) = 0
close(3) = 0
writev(2, [{iov_base=”“, iov_len=0}, {iov_base=”Usage: ip [ OPTIONS ] OBJECT { C”..., iov_len=810}], 2Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }

     ip [ -force ] -batch filename

where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |

                 tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                 netns | l2tp | fou | tcp_metrics | token | netconf }
     OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |
                  -h[uman-readable] | -iec |
                  -f[amily] { inet | inet6 | ipx | dnet | mpls | bridge | link } |
                  -4 | -6 | -I | -D | -B | -0 |
                  -l[oops] { maximum-addr-flush-attempts } | -br[ief] |
                  -o[neline] | -t[imestamp] | -ts[hort] | -b[atch] [filename] |
                  -rc[vbuf] [size] | -n[etns] name | -a[ll] | -c[olor]}

) = 810
exit_group(-1) = ?
+++ exited with 255 +++

# ip
BusyBox v1.25.1 () multi-call binary.

Usage: ip [OPTIONS] {address | route | link | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

# opkg remove ip-tiny
No packages removed.
# opkg remove ip-full
Removing package ip-full from root...

# ip
BusyBox v1.25.1 () multi-call binary.

Usage: ip [OPTIONS] {address | route | link | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

# opkg install strongswan-full
Installing strongswan-full (5.5.3-1) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/packages/strongswan-full_5.5.3-1_mips_24kc.ipk Installing ip-tiny (4.4.0-10) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/base/ip-tiny_4.4.0-10_mips_24kc.ipk Installing strongswan (5.5.3-1) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/packages/strongswan_5.5.3-1_mips_24kc.ipk Configuring ip-tiny.
Configuring strongswan.

# which ip
/usr/bin/ip
# ip xfrm
Object “xfrm” is unknown, try “ip help”.
# ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }

     ip [ -force ] -batch filename

where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |

                 tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                 netns | l2tp | fou | tcp_metrics | token | netconf }

...
```

Possible causes: http://lists.infradead.org/pipermail/lede-commits/2016-November/001266.html

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

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

16.01.20181278Base systemBug ReportVery LowLowFirewall fails to load properly for Openvpnlede-17.01Unconfirmed Task Description

- x86_64 device
- LEDE 17.01.1
- Openvpn 2.4.4-2

I have setup Openvpn using TUN server method, as per https://wiki.openwrt.org/doc/howto/vpn.openvpn

Clients are able to connect and ping the tun0 IP, however cannot connect to anything on the lan. The problem appears to be the firewall script is unable to resolve tun0 interface, so skips rules that requiring that interface.

root@LEDE:/etc/config# /etc/init.d/firewall restart
Warning: Section 'vpn' cannot resolve device of network 'vpn0'

To work around the problem, I have to manually insert the following iptables rules:

iptables -t nat -A POSTROUTING -o tun0 -j zone_vpn_postrouting
iptables -t nat -A PREROUTING -i tun0 -j zone_vpn_prerouting
iptables -A INPUT -i tun0 -j zone_vpn_input
iptables -A OUTPUT -o tun0 -j zone_vpn_output
iptables -I FORWARD 9 -i tun0 -j zone_vpn_forward

Once those rules have been inserted, everthing works perfectly!

This issue may relate to External LinkFS#1024


Further details

This is the ‘vpn0’ entry in /etc/config/networks:

config interface 'vpn0'
	option ifname 'tun0'
	option proto 'none'
	option auto '1'
03.01.20181255Base systemBug ReportVery LowLowWarning messages in dmesg about net/sched/sch_hfsc.c:14...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
[ 0.000000] Linux version 4.9.72 (buildbot@builds) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r5596-e90dc8d) ) #0 SMP Tue Dec 26 22:35:45 2017
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is UniElec U7621-06 (256M RAM/16M flash)

- Software versions of LEDE release, packages, etc.
Currently OpenWrt SNAPSHOT r5647-9f62650 but I have this warning in available OpenWRT versions for my router.
- Steps to reproduce
I have TP-LINK WN722N(AR9271 chipset) usb wireless adapter attached and I’m using it as wireless adapter.

Full dmesg log

[    0.000000] Linux version 4.9.72 (buildbot@builds) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r5596-e90dc8d) ) #0 SMP Tue Dec 26 22:35:45 2017
[    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 UniElec U7621-06 (256M RAM/16M flash)
[    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 8051dc20, 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,115200 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=00055c10
[    0.000000] Readback ErrCtl register=00055c10
[    0.000000] Memory: 253824K/262144K available (4089K kernel code, 227K rwdata, 924K rodata, 252K init, 272K bss, 8320K 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.007811] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.070440] pid_max: default: 32768 minimum: 301
[    0.075183] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.081711] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    9.107364] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    9.107378] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    9.107391] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    9.107558] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.177579] Synchronize counters for CPU 1: 
[    0.177580] done.
[    8.816213] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.816222] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.816231] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.816322] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.269616] Synchronize counters for CPU 2: 
[    0.269617] done.
[    8.906796] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.906803] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.906812] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.906915] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.354796] Synchronize counters for CPU 3: 
[    0.354797] done.
[    0.361045] Brought up 4 CPUs
[    0.367806] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.377593] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.383865] pinctrl core: initialized pinctrl subsystem
[    0.389802] NET: Registered protocol family 16
[    0.404370] FPU Affinity set after 11720 emulations
[    0.449710] pull PCIe RST: RALINK_RSTCTRL = 4000000
[    0.754962] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.760010] ***** Xtal 40MHz *****
[    0.763367] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.768464] Port 0 N_FTS = 1b105000
[    0.771938] Port 1 N_FTS = 1b102800
[    0.775374] Port 2 N_FTS = 1b102800
[    1.930507] PCIE1 no card, disable it(RST&CLK)
[    1.934868] PCIE2 no card, disable it(RST&CLK)
[    1.939256]  -> 21007f2
[    1.941672] PCIE0 enabled
[    1.944269] PCI host bridge /pcie@1e140000 ranges:
[    1.949051]  MEM 0x0000000060000000..0x000000006fffffff
[    1.954205]   IO 0x000000001e160000..0x000000001e16ffff
[    1.959405] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.001090] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.006961] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.012824] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.019882] PCI host bridge to bus 0000:00
[    2.023988] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.030755] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    2.036649] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    2.043372] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.051299] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.051332] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.051346] pci 0000:00:00.0: reg 0x14: [mem 0x60200000-0x6020ffff]
[    2.051410] pci 0000:00:00.0: supports D1
[    2.051419] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.051944] pci 0000:01:00.0: [1b21:0612] type 00 class 0x010601
[    2.051989] pci 0000:01:00.0: reg 0x10: [io  0x0000-0x0007]
[    2.052012] pci 0000:01:00.0: reg 0x14: [io  0x0000-0x0003]
[    2.052030] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x0007]
[    2.052048] pci 0000:01:00.0: reg 0x1c: [io  0x0000-0x0003]
[    2.052065] pci 0000:01:00.0: reg 0x20: [io  0x0000-0x001f]
[    2.052083] pci 0000:01:00.0: reg 0x24: [mem 0x00000000-0x000001ff]
[    2.052101] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.052394] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.052424] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    2.052492] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.059005] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.065960] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.072661] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    2.079846] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    2.086571] pci 0000:00:00.0: BAR 7: no space for [io  size 0x1000]
[    2.092803] pci 0000:00:00.0: BAR 7: failed to assign [io  size 0x1000]
[    2.099365] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    2.106546] pci 0000:01:00.0: BAR 5: assigned [mem 0x60000000-0x600001ff]
[    2.113269] pci 0000:01:00.0: BAR 4: no space for [io  size 0x0020]
[    2.119500] pci 0000:01:00.0: BAR 4: failed to assign [io  size 0x0020]
[    2.126049] pci 0000:01:00.0: BAR 0: no space for [io  size 0x0008]
[    2.132287] pci 0000:01:00.0: BAR 0: failed to assign [io  size 0x0008]
[    2.138837] pci 0000:01:00.0: BAR 2: no space for [io  size 0x0008]
[    2.145075] pci 0000:01:00.0: BAR 2: failed to assign [io  size 0x0008]
[    2.151626] pci 0000:01:00.0: BAR 1: no space for [io  size 0x0004]
[    2.157863] pci 0000:01:00.0: BAR 1: failed to assign [io  size 0x0004]
[    2.164414] pci 0000:01:00.0: BAR 3: no space for [io  size 0x0004]
[    2.170654] pci 0000:01:00.0: BAR 3: failed to assign [io  size 0x0004]
[    2.177201] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.182146] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.188864] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.196068] BAR0 at slot 0 = 0
[    2.199053] bus=0x0, slot = 0x0
[    2.202175] bus=0x1, slot = 0x0, irq=0x0
[    2.207515] clocksource: Switched to clocksource GIC
[    2.214054] NET: Registered protocol family 2
[    2.219293] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    2.226186] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    2.232620] TCP: Hash tables configured (established 2048 bind 2048)
[    2.238977] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.244739] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.251240] NET: Registered protocol family 1
[    2.255558] PCI: CLS 80 bytes, default 32
[    2.487454] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.493923] Crashlog allocated RAM at address 0x3f00000
[    2.499532] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    2.515227] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.521068] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.531429] random: fast init done
[    2.534899] io scheduler noop registered
[    2.538777] io scheduler deadline registered (default)
[    2.544368] gpio-export gpio-export: 1 gpio(s) exported
[    2.550251] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.560433] console [ttyS0] disabled
[    2.563987] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    2.573031] console [ttyS0] enabled
[    2.579903] bootconsole [early0] disabled
[    2.589456] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.596793] spi-mt7621 1e000b00.spi: sys_freq: 50000000
[    2.603138] m25p80 spi32766.0: using chunked io (size=32)
[    2.608613] m25p80 spi32766.0: mx25l12805d (16384 Kbytes)
[    2.614027] 4 ofpart partitions found on MTD device spi32766.0
[    2.619860] Creating 4 MTD partitions on "spi32766.0":
[    2.624985] 0x000000000000-0x000000030000 : "bootloader"
[    2.631768] 0x000000030000-0x000000040000 : "config"
[    2.638098] 0x000000040000-0x000000050000 : "factory"
[    2.644461] 0x000000050000-0x000001000000 : "firmware"
[    2.687153] 2 uimage-fw partitions found on MTD device firmware
[    2.693093] 0x000000050000-0x0000001f22a0 : "kernel"
[    2.699392] 0x0000001f22a0-0x000001000000 : "rootfs"
[    2.705586] mtd: device 5 (rootfs) set to be root filesystem
[    2.711405] 1 squashfs-split partitions found on MTD device rootfs
[    2.717593] 0x000000380000-0x000001000000 : "rootfs_data"
[    2.724893] libphy: Fixed MDIO Bus: probed
[    2.799434] mtk_soc_eth 1e100000.ethernet: generated random MAC address 22:64:58:90:b0:fa
[    2.807747] libphy: mdio: probed
[    4.210582] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.217324] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    4.228014] NET: Registered protocol family 10
[    4.234162] NET: Registered protocol family 17
[    4.238724] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.251634] 8021q: 802.1Q VLAN Support v1.8
[    4.258424] hctosys: unable to open rtc device (rtc0)
[    4.270101] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    4.277943] Freeing unused kernel memory: 252K
[    4.282381] This architecture does not have kernel memory protection.
[    4.485574] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
[    4.695570] random: crng init done
[    4.850428] init: Console is alive
[    4.854063] init: - watchdog -
[    5.442528] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.570160] usbcore: registered new interface driver usbfs
[    5.575724] usbcore: registered new interface driver hub
[    5.581235] usbcore: registered new device driver usb
[    5.594660] SCSI subsystem initialized
[    5.609593] libata version 3.00 loaded.
[    5.612727] ahci 0000:01:00.0: version 3.0
[    5.612906] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[    5.619637] ahci 0000:01:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[    5.627716] ahci 0000:01:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs 
[    5.638348] scsi host0: ahci
[    5.641892] scsi host1: ahci
[    5.645117] ata1: SATA max UDMA/133 abar m512@0x60000000 port 0x60000100 irq 23
[    5.652479] ata2: SATA max UDMA/133 abar m512@0x60000000 port 0x60000180 irq 23
[    5.997519] ata1: SATA link down (SStatus 0 SControl 300)
[    6.337502] ata2: SATA link down (SStatus 0 SControl 300)
[    6.351221] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.356565] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    6.367688] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[    6.376166] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    6.383006] hub 1-0:1.0: USB hub found
[    6.386826] hub 1-0:1.0: 2 ports detected
[    6.389110] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up
[    6.397135] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.402476] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    6.410134] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.419153] hub 2-0:1.0: USB hub found
[    6.422968] hub 2-0:1.0: 1 port detected
[    6.436448] MTK MSDC device init.
[    6.497729] mtk-sd: MediaTek MT6575 MSDC Driver
[    6.507838] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.527845] init: - preinit -
[    6.557634] mmc0: new high speed SD card at address b368
[    6.563998] mmcblk0: mmc0:b368 UD    487 MiB 
[    6.570429]  mmcblk0: p1
[    6.937639] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[   10.517827] jffs2: notice: (480) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.546523] mount_root: loading kmods from internal overlay
[   10.779203] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.053557] usbcore: registered new interface driver usb-storage
[   11.059870] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.305469] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   13.373324] EXT4-fs (mmcblk0p1): recovery complete
[   13.382296] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: 
[   13.555193] mount_root: switched to extroot
[   13.562628] urandom-seed: Seeding with /etc/urandom.seed
[   13.660097] procd: - early -
[   13.663080] procd: - watchdog -
[   14.357681] procd: - watchdog -
[   14.361130] procd: - ubus -
[   14.461522] procd: - init -
[   14.965475] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.984507] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.015637] u32 classifier
[   15.018497]     input device check on
[   15.022184]     Actions configured
[   15.027822] Mirror/redirect action on
[   15.042547] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   15.059715] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   15.067782] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   15.077758] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.124565] usbcore: registered new interface driver uas
[   15.131469] usbcore: registered new interface driver ums-alauda
[   15.138974] usbcore: registered new interface driver ums-cypress
[   15.146321] usbcore: registered new interface driver ums-datafab
[   15.153618] usbcore: registered new interface driver ums-freecom
[   15.161005] usbcore: registered new interface driver ums-isd200
[   15.168380] usbcore: registered new interface driver ums-jumpshot
[   15.175725] usbcore: registered new interface driver ums-karma
[   15.183306] usbcore: registered new interface driver ums-sddr09
[   15.190721] usbcore: registered new interface driver ums-sddr55
[   15.198266] usbcore: registered new interface driver ums-usbat
[   15.228599] xt_time: kernel timezone is -0000
[   15.312281] PPP generic driver version 2.4.2
[   15.318227] NET: Registered protocol family 24
[   15.370563] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[   15.377993] usbcore: registered new interface driver ath9k_htc
[   15.384615] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.688941] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[   15.939928] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
[   16.177347] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
[   16.182823] ath9k_htc 1-1:1.0: FW RMW support: On
[   16.187610] ath: EEPROM regdomain: 0x809c
[   16.187619] ath: EEPROM indicates we should expect a country code
[   16.187662] ath: doing EEPROM country->regdmn map search
[   16.187682] ath: country maps to regdmn code: 0x52
[   16.187691] ath: Country alpha2 being used: CN
[   16.187698] ath: Regpair used: 0x52
[   16.196831] ieee80211 phy0: Atheros AR9271 Rev:1
[   20.135819] device eth0 entered promiscuous mode
[   20.143733] br-lan: port 1(eth0.1) entered blocking state
[   20.149647] br-lan: port 1(eth0.1) entered disabled state
[   20.156131] device eth0.1 entered promiscuous mode
[   20.175234] br-lan: port 1(eth0.1) entered blocking state
[   20.180759] br-lan: port 1(eth0.1) entered forwarding state
[   20.187066] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   20.954378] ath: EEPROM regdomain: 0x8318
[   20.954401] ath: EEPROM indicates we should expect a country code
[   20.954417] ath: doing EEPROM country->regdmn map search
[   20.954432] ath: country maps to regdmn code: 0x36
[   20.954516] ath: Country alpha2 being used: TR
[   20.954527] ath: Regpair used: 0x36
[   20.954541] ath: regdomain 0x8318 dynamically updated by user
[   21.128157] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   22.432135] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   22.447369] br-lan: port 2(wlan0) entered blocking state
[   22.452987] br-lan: port 2(wlan0) entered disabled state
[   22.460309] device wlan0 entered promiscuous mode
[   23.194916] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   23.201700] br-lan: port 2(wlan0) entered blocking state
[   23.207010] br-lan: port 2(wlan0) entered forwarding state
[  103.799069] ------------[ cut here ]------------
[  103.803789] WARNING: CPU: 1 PID: 2149 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  103.810888] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  103.881536]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  103.919008] CPU: 1 PID: 2149 Comm: luci Not tainted 4.9.72 #0
[  103.924726] Stack : 00000000 00000000 80567b4a 00000031 80411ca4 00000000 00000000 80560000
[  103.933073]         8ff1a65c 804f9ea7 8048ef74 00000001 00000865 80563824 00000008 fffff48a
[  103.941421]         8e4dd240 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc19bdc
[  103.949773]         00000003 800a9590 00000008 fffff48a 8e4dd240 00000000 805524b8 00c19bdc
[  103.958130]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  103.966480]         ...
[  103.968917] Call Trace:
[  103.971381] [<8000f814>] show_stack+0x54/0x88
[  103.975730] [<801e78ac>] dump_stack+0x8c/0xd0
[  103.980069] [<8002adc4>] __warn+0xe4/0x118
[  103.984149] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  103.989209] [<8f17dd88>] 0x8f17dd88
[  103.992774] ---[ end trace 6f609de93b769861 ]---
[  103.997406] ------------[ cut here ]------------
[  104.002056] WARNING: CPU: 3 PID: 0 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  104.008935] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  104.079576]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  104.117018] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W       4.9.72 #0
[  104.124118] Stack : 00000000 00000000 80567b4a 00000041 80411ca4 00000000 00000000 80560000
[  104.132466]         8fc5499c 804f9ea7 8048ef74 00000003 00000000 80563824 00000008 0000000a
[  104.140810]         00000008 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc21df4
[  104.149158]         00000003 800a9590 00000008 0000000a 81235e20 00000000 04d00018 00c21df4
[  104.157504]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  104.165851]         ...
[  104.168287] Call Trace:
[  104.170750] [<8000f814>] show_stack+0x54/0x88
[  104.175097] [<801e78ac>] dump_stack+0x8c/0xd0
[  104.179437] [<8002adc4>] __warn+0xe4/0x118
[  104.183520] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  104.188584] [<8f17dd88>] 0x8f17dd88
[  104.192132] ---[ end trace 6f609de93b769862 ]---
[  104.196760] ------------[ cut here ]------------
[  104.201405] WARNING: CPU: 1 PID: 2149 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  104.208551] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  104.279183]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  104.316609] CPU: 1 PID: 2149 Comm: luci Tainted: G        W       4.9.72 #0
[  104.323537] Stack : 00000000 00000000 80567b4a 0000003f 80411ca4 00000000 00000000 80560000
[  104.331886]         8ff1a65c 804f9ea7 8048ef74 00000001 00000865 80563824 00000008 0000000a
[  104.340231]         00000008 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc19df4
[  104.348578]         00000003 800a9590 00000008 0000000a 8121de20 00000000 04d00018 00c19df4
[  104.356924]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  104.365267]         ...
[  104.367703] Call Trace:
[  104.370165] [<8000f814>] show_stack+0x54/0x88
[  104.374516] [<801e78ac>] dump_stack+0x8c/0xd0
[  104.378856] [<8002adc4>] __warn+0xe4/0x118
[  104.382931] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  104.387993] [<8f17dd88>] 0x8f17dd88
[  104.391534] ---[ end trace 6f609de93b769863 ]---
[  503.356948] ------------[ cut here ]------------
[  503.361648] WARNING: CPU: 2 PID: 0 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  503.368509] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  503.439098]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  503.476509] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G        W       4.9.72 #0
[  503.483608] Stack : 00000000 00000000 80567b4a 00000041 80411ca4 00000000 00000000 80560000
[  503.491955]         8fc543bc 804f9ea7 8048ef74 00000002 00000000 80563824 00000008 fffff472
[  503.500302]         8fd51a80 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc1dbdc
[  503.508648]         00000003 800a9590 00000008 fffff472 81229e20 00000000 00000000 00c1dbdc
[  503.516989]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  503.525332]         ...
[  503.527774] Call Trace:
[  503.530237] [<8000f814>] show_stack+0x54/0x88
[  503.534583] [<801e78ac>] dump_stack+0x8c/0xd0
[  503.538924] [<8002adc4>] __warn+0xe4/0x118
[  503.543001] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  503.548047] [<8f17dd88>] 0x8f17dd88
[  503.551556] ---[ end trace 6f609de93b769864 ]---
[  503.556158] ------------[ cut here ]------------
[  503.560820] WARNING: CPU: 0 PID: 0 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  503.567676] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  503.638414]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  503.675825] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.72 #0
[  503.682922] Stack : 00000000 00000000 80567b4a 00000041 80411ca4 00000000 00000000 80560000
[  503.691268]         804fa2bc 804f9ea7 8048ef74 00000000 00000000 80563824 00000008 0000000a
[  503.699612]         00000008 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc0ddf4
[  503.707956]         00000003 800a9590 00000008 0000000a 81211e20 00000000 04d00018 00c0ddf4
[  503.716298]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  503.724640]         ...
[  503.727074] Call Trace:
[  503.729516] [<8000f814>] show_stack+0x54/0x88
[  503.733854] [<801e78ac>] dump_stack+0x8c/0xd0
[  503.738190] [<8002adc4>] __warn+0xe4/0x118
[  503.742266] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  503.747310] [<8f17dd88>] 0x8f17dd88
[  503.750874] ---[ end trace 6f609de93b769865 ]---
[  503.755472] ------------[ cut here ]------------
[  503.760192] WARNING: CPU: 2 PID: 0 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  503.767044] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  503.837774]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  503.875261] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G        W       4.9.72 #0
[  503.882362] Stack : 00000000 00000000 80567b4a 00000041 80411ca4 00000000 00000000 80560000
[  503.890722]         8fc543bc 804f9ea7 8048ef74 00000002 00000000 80563824 00000008 0000000a
[  503.899081]         00000008 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc1ddf4
[  503.907445]         00000003 800a9590 00000008 0000000a 81229e20 00000000 04d00018 00c1ddf4
[  503.915805]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  503.924164]         ...
[  503.926606] Call Trace:
[  503.929071] [<8000f814>] show_stack+0x54/0x88
[  503.933425] [<801e78ac>] dump_stack+0x8c/0xd0
[  503.937772] [<8002adc4>] __warn+0xe4/0x118
[  503.941858] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  503.946912] [<8f17dd88>] 0x8f17dd88
[  503.950444] ---[ end trace 6f609de93b769866 ]---
[  503.955145] ------------[ cut here ]------------
[  503.959811] WARNING: CPU: 3 PID: 0 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  503.966653] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  504.037247]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  504.074650] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W       4.9.72 #0
[  504.081748] Stack : 00000000 00000000 80567b4a 00000041 80411ca4 00000000 00000000 80560000
[  504.090095]         8fc5499c 804f9ea7 8048ef74 00000003 00000000 80563824 00000008 ffffff9e
[  504.098440]         8fd519c0 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc21bdc
[  504.106783]         00000003 800a9590 00000008 ffffff9e 81235e20 00000000 04d00018 00c21bdc
[  504.115133]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  504.123477]         ...
[  504.125913] Call Trace:
[  504.128367] [<8000f814>] show_stack+0x54/0x88
[  504.132711] [<801e78ac>] dump_stack+0x8c/0xd0
[  504.137050] [<8002adc4>] __warn+0xe4/0x118
[  504.141130] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  504.146182] [<8f17dd88>] 0x8f17dd88
[  504.149700] ---[ end trace 6f609de93b769867 ]---
[  504.154377] ------------[ cut here ]------------
[  504.159019] WARNING: CPU: 0 PID: 0 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  504.165856] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  504.236539]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  504.274032] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.72 #0
[  504.281129] Stack : 00000000 00000000 80567b4a 00000041 80411ca4 00000000 00000000 80560000
[  504.289475]         804fa2bc 804f9ea7 8048ef74 00000000 00000000 80563824 00000008 ffffe91a
[  504.297819]         8fcb4780 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc0dbdc
[  504.306162]         00000003 800a9590 00000008 ffffe91a 81211e20 00000000 04d00018 00c0dbdc
[  504.314506]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  504.322848]         ...
[  504.325283] Call Trace:
[  504.327729] [<8000f814>] show_stack+0x54/0x88
[  504.332068] [<801e78ac>] dump_stack+0x8c/0xd0
[  504.336402] [<8002adc4>] __warn+0xe4/0x118
[  504.340480] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  504.345525] [<8f17dd88>] 0x8f17dd88
[  504.349129] ---[ end trace 6f609de93b769868 ]---
[  530.039158] ------------[ cut here ]------------
[  530.043851] WARNING: CPU: 0 PID: 0 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  530.050808] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  530.121545]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  530.159071] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.72 #0
[  530.166172] Stack : 00000000 00000000 80567b4a 00000041 80411ca4 00000000 00000000 80560000
[  530.174518]         804fa2bc 804f9ea7 8048ef74 00000000 00000000 80563824 00000008 fffff48a
[  530.182862]         8fc64000 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc0ddf4
[  530.191206]         00000003 800a9590 00000008 fffff48a 81211e20 00000000 00000000 00c0ddf4
[  530.199549]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  530.207890]         ...
[  530.210327] Call Trace:
[  530.212789] [<8000f814>] show_stack+0x54/0x88
[  530.217133] [<801e78ac>] dump_stack+0x8c/0xd0
[  530.221474] [<8002adc4>] __warn+0xe4/0x118
[  530.225551] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  530.230600] [<8f17dd88>] 0x8f17dd88
[  530.234187] ---[ end trace 6f609de93b769869 ]---
[  530.239507] ------------[ cut here ]------------
[  530.244221] WARNING: CPU: 0 PID: 3 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  530.251129] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  530.321998]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  530.359507] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G        W       4.9.72 #0
[  530.366778] Stack : 00000000 00000000 80567b4a 00000043 80411ca4 00000000 00000000 80560000
[  530.375125]         8fc50edc 804f9ea7 8048ef74 00000000 00000003 80563824 00000008 0000000a
[  530.383469]         00000008 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc63cd4
[  530.391813]         00000003 800a9590 00000008 0000000a 81211e20 00000000 8fc659c0 00c63cd4
[  530.400156]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  530.408497]         ...
[  530.410934] Call Trace:
[  530.413388] [<8000f814>] show_stack+0x54/0x88
[  530.417732] [<801e78ac>] dump_stack+0x8c/0xd0
[  530.422073] [<8002adc4>] __warn+0xe4/0x118
[  530.426150] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  530.431209] [<8f17dd88>] 0x8f17dd88
[  530.434803] ---[ end trace 6f609de93b76986a ]---
[  530.439602] ------------[ cut here ]------------
[  530.444228] WARNING: CPU: 0 PID: 3 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  530.451106] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  530.521896]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  530.559355] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G        W       4.9.72 #0
[  530.566624] Stack : 00000000 00000000 80567b4a 00000043 80411ca4 00000000 00000000 80560000
[  530.574972]         8fc50edc 804f9ea7 8048ef74 00000000 00000003 80563824 00000008 fffffeec
[  530.583317]         8fc65600 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc63abc
[  530.591661]         00000003 800a9590 00000008 fffffeec 81211e20 00000000 0000000f 00c63abc
[  530.600006]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  530.608348]         ...
[  530.610783] Call Trace:
[  530.613232] [<8000f814>] show_stack+0x54/0x88
[  530.617573] [<801e78ac>] dump_stack+0x8c/0xd0
[  530.621912] [<8002adc4>] __warn+0xe4/0x118
[  530.625989] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  530.631044] [<8f17dd88>] 0x8f17dd88
[  530.634677] ---[ end trace 6f609de93b76986b ]---
[  579.698392] ------------[ cut here ]------------
[  579.703091] WARNING: CPU: 3 PID: 0 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  579.709929] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  579.780513]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  579.817929] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W       4.9.72 #0
[  579.825027] Stack : 00000000 00000000 80567b4a 00000041 80411ca4 00000000 00000000 80560000
[  579.833374]         8fc5499c 804f9ea7 8048ef74 00000003 00000000 80563824 00000008 fffff48a
[  579.841718]         8e63acc0 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc21bdc
[  579.850062]         00000003 800a9590 00000008 fffff48a 81235e20 00000000 00000000 00c21bdc
[  579.858406]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  579.866749]         ...
[  579.869186] Call Trace:
[  579.871648] [<8000f814>] show_stack+0x54/0x88
[  579.875994] [<801e78ac>] dump_stack+0x8c/0xd0
[  579.880331] [<8002adc4>] __warn+0xe4/0x118
[  579.884410] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  579.889453] [<8f17dd88>] 0x8f17dd88
[  579.892969] ---[ end trace 6f609de93b76986c ]---
[  579.897572] ------------[ cut here ]------------
[  579.902211] WARNING: CPU: 0 PID: 0 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  579.909048] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  579.979802]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  580.017241] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.72 #0
[  580.024337] Stack : 00000000 00000000 80567b4a 00000041 80411ca4 00000000 00000000 80560000
[  580.032683]         804fa2bc 804f9ea7 8048ef74 00000000 00000000 80563824 00000008 0000000a
[  580.041025]         00000008 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc0ddf4
[  580.049369]         00000003 800a9590 00000008 0000000a 81211e20 00000000 04d00018 00c0ddf4
[  580.057712]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  580.066055]         ...
[  580.068490] Call Trace:
[  580.070932] [<8000f814>] show_stack+0x54/0x88
[  580.075272] [<801e78ac>] dump_stack+0x8c/0xd0
[  580.079608] [<8002adc4>] __warn+0xe4/0x118
[  580.083685] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  580.088730] [<8f17dd88>] 0x8f17dd88
[  580.092330] ---[ end trace 6f609de93b76986d ]---
[  580.096937] ------------[ cut here ]------------
[  580.101631] WARNING: CPU: 3 PID: 0 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  580.108479] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  580.179090]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  580.216517] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W       4.9.72 #0
[  580.223618] Stack : 00000000 00000000 80567b4a 00000041 80411ca4 00000000 00000000 80560000
[  580.231971]         8fc5499c 804f9ea7 8048ef74 00000003 00000000 80563824 00000008 0000000a
[  580.240314]         00000008 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fc21df4
[  580.248658]         00000003 800a9590 00000008 0000000a 81235e20 00000000 04d00018 00c21df4
[  580.257006]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  580.265360]         ...
[  580.267798] Call Trace:
[  580.270259] [<8000f814>] show_stack+0x54/0x88
[  580.274610] [<801e78ac>] dump_stack+0x8c/0xd0
[  580.278950] [<8002adc4>] __warn+0xe4/0x118
[  580.283029] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  580.288096] [<8f17dd88>] 0x8f17dd88
[  580.291614] ---[ end trace 6f609de93b76986e ]---
[  621.792698] ------------[ cut here ]------------
[  621.797386] WARNING: CPU: 3 PID: 24 at net/sched/sch_hfsc.c:1400 0x8f17dd88
[  621.804397] Modules linked in: ath9k_htc ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uas 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack
[  621.875134]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage ext4 jbd2 mbcache crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[  621.912650] CPU: 3 PID: 24 Comm: ksoftirqd/3 Tainted: G        W       4.9.72 #0
[  621.920013] Stack : 00000000 00000000 80567b4a 00000044 80411ca4 00000000 00000000 80560000
[  621.928374]         8fca207c 804f9ea7 8048ef74 00000003 00000018 80563824 00000008 0000000a
[  621.936735]         00000008 8006ab78 00000001 80560000 80500004 80500008 80493b80 8fcb3cd4
[  621.945099]         00000003 800a9590 00000008 0000000a 81235e20 00000000 00000000 00cb3cd4
[  621.953457]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  621.961813]         ...
[  621.964255] Call Trace:
[  621.966727] [<8000f814>] show_stack+0x54/0x88
[  621.971081] [<801e78ac>] dump_stack+0x8c/0xd0
[  621.975430] [<8002adc4>] __warn+0xe4/0x118
[  621.979515] [<8002ae8c>] warn_slowpath_null+0x1c/0x30
[  621.984583] [<8f17dd88>] 0x8f17dd88
[  621.988126] ---[ end trace 6f609de93b76986f ]---
[  821.450788] mtk_soc_eth 1e100000.ethernet eth0: port 0 link down
[  825.074294] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up


02.01.20181252Base systemBug ReportVery LowLowNo IP Assigned to Interface with QMI on Quectel EC-25ATrunkAssigned Task Description

I’m attempting to use QMI on a GL.Inet MiFi equipped with a Quectel EC-25A cellular modem.

When I configure the interface using qmi I am able to connect to the cellular network at the radio layer, however my wwan0 interface is not assigned an IP address. Here’s my configuration from /etc/config/network:

  config interface 'modem'
          option proto 'qmi'
          option ifname 'wwan0'
          option device '/dev/cdc-wdm0'
          option country 'country11'
          option apn 'inet.bell.ca'

And some commands showing the device behaviour. You’ll note that raw_ip needs to be set to Y. I’ve integrated this [patch](https://github.com/bmork/LEDE/commit/10aed12fa587e818e4dc5d0db54545623fbe9b5f) to have qmi.sh set the raw_ip mode when required.

  root@OpenWrt:~# cat /sys/class/net/wwan0/qmi/raw_ip
  Y
  root@OpenWrt:~# ifup modem
  root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-data-status
  "connected"
  root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-current-settings
  {
      "pdp-type": "ipv4",
      "ip-family": "ipv4",
      "mtu": 1500,
      "ipv4": {
          "ip": "100.105.180.51",
          "dns1": "206.47.201.246",
          "dns2": "207.231.231.254",
          "gateway": "100.105.180.52",
          "subnet": "255.255.255.248"
      },
      "ipv6": {
          
      },
      "domain-names": {
          
      }
  }
  root@OpenWrt:~# ifconfig wwan0
  wwan0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
            inet6 addr: fe80::d789:480e:bfc8:2dac/64 Scope:Link
            UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
            RX packets:28 errors:0 dropped:0 overruns:0 frame:0
            TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:5129 (5.0 KiB)  TX bytes:768 (768.0 B)

If I manually use the uqmi command to connect to the cellular network I can then drive the wwan0 interface using dhcp successfully. Here’s my /etc/config/network.

  config interface 'modem'
          option proto 'dhcp'
          option ifname 'wwan0'

And the resulting successful network connection:

  root@OpenWrt:~# ifup modem
  root@OpenWrt:~# ifconfig wwan0
  wwan0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
            inet addr:100.105.180.51  P-t-P:100.105.180.51  Mask:255.255.255.248
            inet6 addr: fe80::d789:480e:bfc8:2dac/64 Scope:Link
            UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
            RX packets:80 errors:0 dropped:0 overruns:0 frame:0
            TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:24102 (23.5 KiB)  TX bytes:16842 (16.4 KiB)
  root@OpenWrt:~# ping -c 1 google.ca
  PING google.ca (172.217.1.163): 56 data bytes
  64 bytes from 172.217.1.163: seq=0 ttl=51 time=29.792 ms
  1. – google.ca ping statistics —

1 packets transmitted, 1 packets received, 0% packet loss

  round-trip min/avg/max = 29.792/29.792/29.792 ms

I believe that for some reason the dhcp client isn’t being run on the wwan0 interface by qmi.sh once it’s online but I’m not able to determine how this is supposed to work. I’m eager to address this issue and submit the resulting patches. Please let me know if you can help.

  root@OpenWrt:~# ping -c 1 8.8.8.8
  PING 8.8.8.8 (8.8.8.8): 56 data bytes
  64 bytes from 8.8.8.8: seq=0 ttl=54 time=31.805 ms
  1. – 8.8.8.8 ping statistics —

1 packets transmitted, 1 packets received, 0% packet loss

  round-trip min/avg/max = 31.805/31.805/31.805 ms
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


25.12.20171242Base systemBug ReportVery LowLowSATA broken on kernel 4.9 on mt7621TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on - GnuBee Personal Cloud One
- Software versions of LEDE release, packages, etc. - latest trunk
- Steps to reproduce - Run trunk for a few hours and verify that the data on the hard drive is legitimate.

Basically, with kernel 4.9 there’s some weird issue where after several hours (around 18), the SATA controller starts returning bad data. On 4.4, this is not a problem.

I’ve avoided reporting this problem to kernel.org since ramips is quite LEDE specific. Could be a pcie issue for all I know.

The data on the actual hard drive is fine. It’s just bad data that’s being returned. Maybe bit errors or something.

The way I test this is by using transmission with its Verify feature. Last I tested with adm + ext4, a torrent that verified at 100% verified at 91% 3 days later.

btrfs is more vocal since it reports silent data corruption and throws checksum mismatch errors in dmesg quite frequently after a few hours.

I currently work around the issue by running kernel 4.4, but this is not a long term solution.

22.12.20171241Base systemBug ReportVery LowLowfirewall: Enabling logging for the WAN zone causes exce...lede-17.01Unconfirmed Task Description

When I enable logging of rejected/dropped packages on my WAN zone via the UCI option “log”, the system log get’s spammed with thousands of MSSFIX messages in just a few hours. The messages look like these (IP and MAC addresses redacted):

Fri Dec 22 22:43:55 2017 kern.warn kernel: [37622.753479] MSSFIX(wan): IN=br-lan OUT=eth0 MAC=<MACADDR> SRC=<CLIENTIP> DST=<SERVERIP> LEN=64 TOS=0x00 PREC=0x00 TTL=63 ID=37548 DF PROTO=TCP SPT=57454 DPT=443 WINDOW=65535 RES=0x00 SYN URGP=0
Fri Dec 22 22:44:05 2017 kern.warn kernel: [37632.021289] MSSFIX(wan): IN=br-lan OUT=eth0 MAC=<MACADDR> SRC=<CLIENTIP> DST=<SERVERIP> LEN=64 TOS=0x00 PREC=0x00 TTL=63 ID=20338 DF PROTO=TCP SPT=57455 DPT=443 WINDOW=65535 RES=0x00 SYN URGP=0
Fri Dec 22 22:44:05 2017 kern.warn kernel: [37632.078328] MSSFIX(wan): IN=br-lan OUT=eth0 MAC=<MACADDR> SRC=<CLIENTIP> DST=<SERVERIP> LEN=64 TOS=0x00 PREC=0x00 TTL=63 ID=11712 DF PROTO=TCP SPT=57456 DPT=443 WINDOW=65535 RES=0x00 SYN URGP=0
Fri Dec 22 22:44:11 2017 kern.warn kernel: [37638.223127] MSSFIX(wan): IN=br-lan OUT=eth0 MAC=<MACADDR> SRC=<CLIENTIP> DST=<SERVERIP> LEN=52 TOS=0x00 PREC=0x00 TTL=127 ID=28644 DF PROTO=TCP SPT=52576 DPT=443 WINDOW=64240 RES=0x00 SYN URGP=0

The documentation suggests that the option log would only log rejected and dropped packages, which is what I’m interested in. I don’t need the MSSFIX messages.

My WAN zone has masquerading as well as the option “mtu_fix” enabled (by default). The “mtu_fix” option seems to cause these messages. Apparently, this has been an issue in OpenWrt a long time ago, was then fixed and somehow got reintroduced? See ticket [1]

How can I enabled logging but not log the useless MSSFIX messages?

Thank you!

[1] https://dev.openwrt.org/ticket/10681

P.S.: I’m using LEDE 17.01.4 on a TP-Link Archer C7 V2.

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

Available keyboard shortcuts

Tasklist

Task Details

Task Editing