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 Type  ascPrioritySeveritySummaryReported InStatus
14.06.20192320OtherBug ReportVery LowLowu-Boot OpenWrt 18.06.2 on sama5d31 Unimplemented compre...TrunkUnconfirmed Task Description

Hi,
after building 18.06.2 OpenWrt version and his nand flash u-boot (U-Boot 2017.03-linux4sam_5.8 (Jan 30 2019 - 12:21:02 +0000)) when u-boot try to uncompress lzma kernel image the following error is reached

 

Uncompressing Kernel Image ... Unimplemented compression type 3

the log:

AT91Bootstrap 3.8.10 (Tue Jun 11 17:58:40 UTC 2019)

NAND: ONFI flash detected
NAND: Manufacturer ID: 0x2c Chip ID: 0xda
NAND: Page Bytes: 2048, Spare Bytes: 64
NAND: ECC Correctability Bits: 4, ECC Sector Bytes: 512
NAND: Disable On-Die ECC
NAND: Initialize PMECC params, cap: 4, sector: 512
NAND: Image: Copy 0xa0000 bytes from 0×40000 to 0x26f00000
NAND: Done to load image
<debug_uart>

U-Boot 2017.03-linux4sam_5.8 (Jan 30 2019 - 12:21:02 +0000)

CPU: SAMA5D31
Crystal frequency: 12 MHz CPU clock : 528 MHz Master clock : 132 MHz DRAM: 256 MiB
NAND: 256 MiB
MMC: Atmel mci: 0, Atmel mci: 1
In: serial@ffffee00
Out: serial@ffffee00
Err: serial@ffffee00
Net:
Error: ethernet@f0028000 address not set.
No ethernet found.
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0×180000, size 0×80000 524288 bytes read: OK

NAND read: device 0 offset 0×200000, size 0×600000 6291456 bytes read: OK
## Booting kernel from Legacy Image at 22000000 ...

 Image Name:   ARM OpenWrt Linux-4.9.152
 Image Type:   ARM Linux Kernel Image (lzma compressed)
 Data Size:    3016433 Bytes = 2.9 MiB
 Load Address: 20008000
 Entry Point:  20008000
 Verifying Checksum ... OK

## Flattened Device Tree blob at 21000000

 Booting using the fdt blob at 0x21000000
 Uncompressing Kernel Image ... Unimplemented compression type 3

Checking into u-boot (make menuconfig) seems that lzma cannot be set , only LZ4 is provided.

Also the option to change compression type of the kernel do not work. I try to switch from default (gzip) to LZ4 but kernel uimage is always lzma compressed.

Could you provide some hint to unlock the situation ?

Another strange things is :

Error: ethernet@f0028000 address not set.
No ethernet found.

f0028000 is memory address of GMAC that is not provided in sama5d31 SoC but the curious is the next No ethernet found.

Does it mean that nor EMAC was found ?

Thanks in advance
Best
Fabio


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

21.11.2016295KernelBug ReportVery LowHighath10k_pci 0001:01:00.0: SWBA overrun on vdevTrunkUnconfirmed Task Description

Supply the following if possible:

- TP-LINK c2600 v1.1
- LEDE Reboot r2244
- after some hours, the network device produce the below stacktrace.

[61789.980553] ————[ cut here ]———— [61789.980600] WARNING: CPU: 0 PID: 3 at net/core/dev.c:4837 net_rx_action+0×154/0x2e4()
[61789.984240] 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_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_CT xt_CLASSIFY ts_kmp ts_fsm ts_bm 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_netlink nf_conntrack iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt br_netfilter em_cmp sch_teql em_nbyte sch_htb sch_pie sch_gred sch_dsmark cls_basic act_ipt sch_prio em_text
[61790.061568] sch_codel sch_tbf sch_sfq em_meta act_police sch_fq sch_red act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ath10k_pci ath10k_core ath mac80211 cfg80211 compat ledtrig_usbport 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 ifb ip6_tunnel tunnel6 tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore
[61790.130320] usb_storage uhci_hcd f2fs ext4 jbd2 mbcache crc32c_generic crypto_hash leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform ehci_hcd sd_mod ahci_platform libahci_platform libahci libata scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[61790.158798] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.4.30 #0
[61790.159062] Hardware name: Qualcomm (Flattened Device Tree)
[61790.165160] [<c02207f4>] (unwind_backtrace) from [<c021d2e4>] (show_stack+0×14/0×20)
[61790.170534] [<c021d2e4>] (show_stack) from [<c03b82a4>] (dump_stack+0x8c/0xa0)
[61790.178521] [<c03b82a4>] (dump_stack) from [<c0228aec>] (warn_slowpath_common+0xa4/0xd0)
[61790.185550] [<c0228aec>] (warn_slowpath_common) from [<c0228bcc>] (warn_slowpath_null+0x1c/0×24)
[61790.193798] [<c0228bcc>] (warn_slowpath_null) from [<c050bcd0>] (net_rx_action+0×154/0x2e4)
[61790.202568] [<c050bcd0>] (net_rx_action) from [<c022bc90>] (do_softirq+0xdc/0×230)
[61790.210636] [<c022bc90>] (
do_softirq) from [<c022be18>] (run_ksoftirqd+0×34/0×64)
[61790.218626] [<c022be18>] (run_ksoftirqd) from [<c0246784>] (smpboot_thread_fn+0×190/0x1b8)
[61790.226006] [<c0246784>] (smpboot_thread_fn) from [<c02438e4>] (kthread+0xf8/0×100)
[61790.234335] [<c02438e4>] (kthread) from [<c0209cb8>] (ret_from_fork+0×14/0x3c)
[61790.241951] —[ end trace bbf62e8dea16c714 ]— [61790.250226] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 1, skipped old beacon

19.02.2017535KernelBug ReportVery LowHigh5GHz radios not working properly on Netgear R8000openwrt-18.06Unconfirmed Task Description

After upgrading my R8000 from Chaos Calmer (15.05.1) to LEDE Reboot (17.01.0-rc2, r3131-42f3c1f), I found that I could no longer get the 5GHz radios to work as before. The 2.4GHz radio is fine.

In CC I was using the following configuration:
- radio0 on channel 149, country code ‘00’, VHT80
- radio2 on channel 48, country code ‘00’, VHT80

The firmware apparently only accepts 00 and US as country codes, which is why I was using 00. This discussed at length in: https://forum.openwrt.org/viewtopic.php?id=55367&p=19 (and previous pages)

In 17.01.0-rc2, I can’t get radio0 to come up at all. radio2 can be configured, still on channel 48 and country 00, but in VHT40 mode. If I use VHT80, it stays disabled.

This was discussed previously in this forum post: https://forum.lede-project.org/t/r8000-5ghz-wifi-issue/236 and I get the same error messages and channel selection as the OP, so I will not repeat them here.

I’m not sure if this issue is really related to the country code setting, but I will note that the factory system apparently sets the country code to “EU”:

root@x6:~# nvram show | grep country_code
wl1_country_code=EU
wl0_country_code=EU
wl2_country_code=EU
wl_country_code=
root@x6:~#

I see that LEDE carries a patch on brcmfmac which translates the configured country code to an internal code for the firmware on this specific model (https://git.lede-project.org/?p=source.git;a=blob_plain;f=package/kernel/mac80211/patches/863-brcmfmac-add-in-driver-tables-with-country-codes.patch;hb=refs/heads/lede-17.01). I’m willing to test patches if anyone knows the right internal country code for Europe.

14.06.2017845KernelBug ReportVery LowMediumMT7628 : wrong data reading the I2C busAllUnconfirmed Task Description

Hi,

I’ve already talked to blogic about this issue. He asked me to perform some tests on the platform even back to openwrt CC.

The bug in question occurs with the MT7628 chip and the I2C bus (WRTNode 2p board).
Configuring the pinmux and enabling the driver, the kernel correctly sees the i2c bus. But then going to use the “i2cdetect” command from i2c-tools package has a surprising result: devices are actually sees devices that are not connected.

Curious about the problem I connected my DSO and I did the probe of the SDA and SCL pins. Data and clock seem to be transferred correctly. So the problem seems to be in the “reading”.

According to the i2c specification if SDA is pull-low and you do an i2cdetect the system should identify in the bus an ACK for each slave address, this does does not happen and the same list appear again.

Turning back to different versions this still happens, unfortunately I have not been able to test every single commit.
The test I’ve made:

  • Openwrt CC the device was not supported.
  • Openwrt first commit of the device support: the i2c bus was not recognized by the driver.
  • Openwrt trunk, the i2c bus is not registered
  • LEDE 12.01 the problem as described above.
  • LEDE HEAD: the problem as described above.
  • LEDE HEAD 4.9 (kernel): The problem as described above.

i2cdetect result (same result with SDA pulled low) .config wrtnode2p.dts

Regards,
hitech95

16.07.2017910KernelBug ReportVery LowMediumRaspberry Pi 3 keeps attempting to change CPU frequency...TrunkUnconfirmed Task Description

I recently updated a Raspberry Pi 3 to a recent LEDE git master build: Reboot (SNAPSHOT, r4576-9fe9175)

The kernel keeps logging the following errors:

[  103.041158] bcm2835-cpufreq:bcm2835_cpufreq_set_clock:84: Failed to set clock: 600000 (-12)
[  103.044492] bcm2835-cpufreq:bcm2835_cpufreq_driver_target_index:183: Error occurred setting a new frequency (600000)
[  103.047857] cpufreq: __target_index: Failed to change cpu frequency: -22
[  103.401167] bcm2835-cpufreq:bcm2835_cpufreq_set_clock:84: Failed to set clock: 600000 (-12)
[  103.404517] bcm2835-cpufreq:bcm2835_cpufreq_driver_target_index:183: Error occurred setting a new frequency (600000)
[  103.407890] cpufreq: __target_index: Failed to change cpu frequency: -22
[  103.761155] bcm2835-cpufreq:bcm2835_cpufreq_set_clock:84: Failed to set clock: 600000 (-12)
[  103.764491] bcm2835-cpufreq:bcm2835_cpufreq_driver_target_index:183: Error occurred setting a new frequency (600000)
[  103.767870] cpufreq: __target_index: Failed to change cpu frequency: -22

I am seeing ~10ms latency spikes for traffic through the device and I believe these errors are the reason. If I force the scheduler to only run the CPU at its maximum speed with the command below then then errors cease and the latency spikes disappear:

# echo 1200000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq

I looked into the kernel sources and the messages above appear to be saying that there was an error when asking the Pi firmware to change the CPU speed.

I know there is a HW quirk in the RPi3 which means the UART is effected by the CPU speed. I wonder whether this has anything to do with the firmware rejecting the speed change:
https://github.com/RPi-Distro/repo/issues/22

19.10.20171085KernelBug ReportVery LowCriticalStreaming ieee80211 cmd timeouts followed by crashTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Linksys WRT3200ACM
- Software versions of LEDE release, packages, etc.: LEDE Reboot SNAPSHOT r5096-a29848c / LuCI Master (git-17.260.43176-678c15c)

Router had been up for less than 24 hours from last crash. Started streaming the following errors in syslog:

Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.284359] ieee80211 phy0: cmd 0×9122=UpdateEncryption timed out
Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.290490] ieee80211 phy0: return code: 0×1122 Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.295069] ieee80211 phy0: timeout: 0×1122 Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.299280] wlan0: failed to set key (0, e0:b5:2d:xx:xx:xx) to hardware (-5)
Thu Oct 19 16:50:41 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED e0:b5:2d:xx:xx:xx
Thu Oct 19 16:50:45 2017 kern.err kernel: [82670.356504] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
Thu Oct 19 16:50:45 2017 kern.err kernel: [82670.362367] ieee80211 phy0: return code: 0x051d
Thu Oct 19 16:50:45 2017 kern.err kernel: [82670.366924] ieee80211 phy0: timeout: 0x001d
Thu Oct 19 16:50:49 2017 kern.err kernel: [82674.372313] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
Thu Oct 19 16:50:49 2017 kern.err kernel: [82674.378197] ieee80211 phy0: return code: 0x001d
Thu Oct 19 16:50:49 2017 kern.err kernel: [82674.382749] ieee80211 phy0: timeout: 0x001d

Interspersed with these messages were a few:
Thu Oct 19 16:52:43 2017 daemon.notice hostapd: nl80211: nl80211_recv_beacons→nl_recvmsgs failed: -5

These then started showing up:
Thu Oct 19 16:54:56 2017 daemon.notice netifd: wan6 (1414): Command failed: Request timed out

Then a handful of these:
Thu Oct 19 16:56:00 2017 kern.err kernel: [82985.426468] ieee80211 phy0: cmd 0×9143=GetSeqno timed out
Thu Oct 19 16:56:00 2017 kern.err kernel: [82985.431902] ieee80211 phy0: return code: 0×1143 Thu Oct 19 16:56:00 2017 kern.err kernel: [82985.436450] ieee80211 phy0: timeout: 0×1143

Followed by this, including a crash:
Thu Oct 19 16:56:36 2017 kern.err kernel: [83021.558164] wlan0: failed to remove key (0, 78:7e:61:xx:xx:xx) from hardware (-5)
Thu Oct 19 16:56:36 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED e0:b5:2d:2a:89:30
Thu Oct 19 16:56:36 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED dc:41:5f:b9:0d:ba
Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.588715] ieee80211 phy0: cmd 0×9122=UpdateEncryption timed out
Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.594898] ieee80211 phy0: return code: 0×1122 Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.599463] ieee80211 phy0: timeout: 0×1122 Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.603666] wlan0: failed to remove key (0, dc:41:5f:xx:xx:xx) from hardware (-5)
Thu Oct 19 16:56:44 2017 kern.err kernel: [83029.646987] ieee80211 phy0: cmd 0×9125=BAStream timed out
Thu Oct 19 16:56:44 2017 kern.err kernel: [83029.652419] ieee80211 phy0: return code: 0×1125 Thu Oct 19 16:56:44 2017 kern.err kernel: [83029.656973] ieee80211 phy0: timeout: 0×1125 Thu Oct 19 16:56:48 2017 kern.err kernel: [83033.654789] ieee80211 phy0: cmd 0×9125=BAStream timed out
Thu Oct 19 16:56:48 2017 kern.err kernel: [83033.660221] ieee80211 phy0: return code: 0×1125 Thu Oct 19 16:56:48 2017 kern.err kernel: [83033.664769] ieee80211 phy0: timeout: 0×1125 Thu Oct 19 16:56:52 2017 kern.err kernel: [83037.666085] ieee80211 phy0: cmd 0×9125=BAStream timed out
Thu Oct 19 16:56:52 2017 kern.err kernel: [83037.671519] ieee80211 phy0: return code: 0×1125 Thu Oct 19 16:56:52 2017 kern.err kernel: [83037.676066] ieee80211 phy0: timeout: 0×1125

Thu Oct 19 16:56:52 2017 kern.alert kernel: [83037.680345] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
Thu Oct 19 16:56:52 2017 kern.alert kernel: [83037.688494] pgd = d303c000
Thu Oct 19 16:56:53 2017 kern.alert kernel: [83037.691221] [0000000c] *pgd=1369c831, *pte=00000000, *ppte=00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.697545] Internal error: Oops: 17 [#1] SMP ARM
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.702266] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE 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_CLASSIFY slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipvThu Oct 19 16:56:53 2017 kern.warn kernel: [83037.774820] 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_mangle ip6table_filter ip6_tables x_tables tun regmap_mmio ecb cmac uhci_hcd ohci_platform ohci_hcd gpio_button_hotplug
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.812372] CPU: 1 PID: 3044 Comm: hostapd Not tainted 4.9.54 #0
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.818403] Hardware name: Marvell Armada 380/385 (Device Tree)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.824346] task: df564e40 task.stack: d3718000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.828909] PC is at mwl_fwcmd_destroy_ba+0×98/0xf4 [mwlwifi]
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.834683] LR is at mwl_fwcmd_destroy_ba+0×34/0xf4 [mwlwifi]
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.840451] pc : [<bf18a624>] lr : [<bf18a5c0>] psr: 60000013
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.840451] sp : d3719c90 ip : 00000000 fp : 00000000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.851975] r10: dde78000 r9 : dde78048 r8 : dde78054
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.857220] r7 : ddfc1620 r6 : ddfc2924 r5 : 00000000 r4 : ddcb0000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.863771] r3 : 00000000 r2 : 00000002 r1 : 00000000 r0 : 00000000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.870324] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.877487] Control: 10c5387d Table: 1303c04a DAC: 00000051
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.883255] Process hostapd (pid: 3044, stack limit = 0xd3718210)
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.889372] Stack: (0xd3719c90 to 0xd371a000)
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.893745] 9c80: dde78054 00000007 d8008de8 ddfc45e0
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.901957] 9ca0: ddfc0be0 bf18aac8 d8008de8 ddfc1620 ddfc0be0 d3c51e14 d36b9ce0 de7e0000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.910168] 9cc0: 00000014 bf185b94 d8008800 00000002 00000001 d3c51e14 d81f5e40 de7e0000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.918379] 9ce0: 00000014 bf118c98 ddfc0be0 d36b94c0 d8008800 bf11b2dc 00000002 00000002
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.926589] 9d00: d8008800 ddfc0be0 d36b94c0 bf11c270 d8008800 00000000 00000000 d8008800
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.934800] 9d20: d3c51e20 bf11c3bc d36b94c0 00000454 d3c51e20 bf11c434 ddfc0000 d36b9000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.943012] 9d40: d3719d68 bf0e38e4 d3c51e20 0002000c 00000000 bf0ff534 bf108c84 c03c0e1c
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.951223] 9d60: bf0fee9a 80150014 59e7e961 0000068e d3c51e00 d3c51e10 d3c51e14 de7e0000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.959434] 9d80: ddfc0000 d36b9000 d3c51e00 d81f5e40 c03c0b94 d3475c00 d3719dcc 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.967645] 9da0: 00000008 c03c01d0 c0629cb0 d81f5e40 d81f5e40 c03c0b80 df4ba400 00000028
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.975857] 9dc0: d81f5e40 c03bfbd4 d3475c00 7fffffff 00000000 d81f5e40 00000000 d3719f68
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.984068] 9de0: 00000028 d3475c00 00000000 c03c0040 00000000 c021cb0c 00000028 d0851040
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.992278] 9e00: 00000000 00000be4 00000000 00000000 00000001 d3719f68 00000000 d3719e8c
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.000489] 9e20: df30f200 00000000 c0604fc8 00000000 00000000 c0380060 d3719f68 c03805f0
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.008701] 9e40: 00000000 00000000 00000000 00376010 00000028 beadcbec 00000000 d3719eb4
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.016912] 9e60: df30f200 c03807e8 c05ffec0 00000000 beadcc54 0038a030 00004000 c004f000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.025124] 9e80: dfbd2ef0 ffffffff e813b2d8 c0628400 d3719ecc 00000051 00008933 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.033334] 9ea0: 00000000 beadcc8c 00000020 00000010 00000000 00000000 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.041545] 9ec0: dfbd2ef0 c0605998 c05ffec0 6e616c77 d32552c0 60000013 df569500 d3255080
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.049755] 9ee0: 00000000 d3255080 d0029b20 c00f188c d0029b84 00000007 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.057966] 9f00: df564e40 c005aae0 d3719f08 d3719f08 df401180 d0029b00 df29dc38 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.066177] 9f20: df401580 df29dc38 df29dc38 00040936 d0029b20 df30f200 beadcc70 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.074388] 9f40: 00000128 c000ef04 d3718000 00000000 b6e9c740 c038138c 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.082599] 9f60: 00000000 fffffff7 d3719eac 0000000c 00000001 00000000 00000000 d3719e54
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.090809] 9f80: 00000000 00000006 00000000 00000000 00000000 00000000 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.099021] 9fa0: b6f1610c c000ed40 00000000 00000000 00000005 beadcc70 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.107231] 9fc0: 00000000 00000000 b6f1610c 00000128 b6e9cef0 00000000 0002516c b6e9c740
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.115443] 9fe0: beadcc18 beadcc04 b6eececc b6eec398 60000010 00000005 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.123678] [<bf18a624>] (mwl_fwcmd_destroy_ba [mwlwifi]) from [<bf18aac8>] (mwl_fwcmd_del_sta_streams+0x1d4/0×330 [mwlwifi])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.135037] [<bf18aac8>] (mwl_fwcmd_del_sta_streams [mwlwifi]) from [<bf185b94>] (mwl_mac80211_sta_remove+0×38/0x1c4 [mwlwifi])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.146598] [<bf185b94>] (mwl_mac80211_sta_remove [mwlwifi]) from [<bf118c98>] (drv_sta_state+0x16c/0×184 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.157290] [<bf118c98>] (drv_sta_state [mac80211]) from [<bf11b2dc>] (sta_info_move_state+0xbc/0x1d0 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.167629] [<bf11b2dc>] (sta_info_move_state [mac80211]) from [<bf11c270>] (sta_set_sinfo+0×954/0xa80 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.178054] [<bf11c270>] (sta_set_sinfo [mac80211]) from [<bf11c3bc>] (sta_info_destroy+0×20/0×28 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.188218] [<bf11c3bc>] (
sta_info_destroy [mac80211]) from [<bf11c434>] (sta_info_destroy_addr_bss+0x2c/0×44 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.199429] [<bf11c434>] (sta_info_destroy_addr_bss [mac80211]) from [<bf0e38e4>] (nl80211_del_station+0xe8/0xf0 [cfg80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.210711] [<bf0e38e4>] (nl80211_del_station [cfg80211]) from [<c03c0e1c>] (genl_rcv_msg+0×288/0×310)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.220059] [<c03c0e1c>] (genl_rcv_msg) from [<c03c01d0>] (netlink_rcv_skb+0×58/0xb4)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.227922] [<c03c01d0>] (netlink_rcv_skb) from [<c03c0b80>] (genl_rcv+0×20/0×34)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.235436] [<c03c0b80>] (genl_rcv) from [<c03bfbd4>] (netlink_unicast+0×138/0x1fc)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.243124] [<c03bfbd4>] (netlink_unicast) from [<c03c0040>] (netlink_sendmsg+0x2f0/0×310)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.251425] [<c03c0040>] (netlink_sendmsg) from [<c0380060>] (sock_sendmsg+0×14/0×24)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.259287] [<c0380060>] (sock_sendmsg) from [<c03805f0>] (_sys_sendmsg+0×184/0×228)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.267238] [<c03805f0>] (
_sys_sendmsg) from [<c038138c>] (sys_sendmsg+0×40/0×64)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.275104] [<c038138c>] (
sys_sendmsg) from [<c000ed40>] (ret_fast_syscall+0×0/0x3c)
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.283055] Code: e5840010 e5d81004 e5c41014 e598c000 (e59c300c)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.289200] —[ end trace 6c4677423c79f036 ]—

20.10.20171087KernelBug ReportVery LowHighLEDE snaphost: sunxi cortex-a7, BanaPi target: USB not ...TrunkUnconfirmed Task Description

Hi all
With snapshot r5117-fbde9ac, at least on a bananapi (cortex-a7) the USB ports are down, apparently there is some problem with VBUS (maybe DT problem?)
Here the dmesg after boot

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.57 (buildbot@builds) (gcc version 5.5.0 (LEDE GCC 5.5.0 r5092-0d5c1d7) ) #0 SMP PREEMPT Wed Oct 18 21:26:15 2017
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=30c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: LeMaker Banana Pi
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 261738
[    0.000000] free_area_init_node: node 0, pgdat c0689140, node_mem_map ef7fa000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65130 pages, LIFO batch:15
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 14 pages/cpu @ef7c2000 s25036 r8192 d24116 u57344
[    0.000000] pcpu-alloc: s25036 r8192 d24116 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260202
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1030724K/1046952K available (4564K kernel code, 254K rwdata, 1384K rodata, 304K init, 282K bss, 16228K reserved, 0K cma-reserved, 260520K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc047d4b0   (4566 kB)
[    0.000000]       .init : 0xc05fe000 - 0xc064a000   ( 304 kB)
[    0.000000]       .data : 0xc064a000 - 0xc0689a40   ( 255 kB)
[    0.000000]        .bss : 0xc068b000 - 0xc06d1874   ( 283 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000528] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000769] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000939] Console: colour dummy device 80x30
[    0.000973] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000988] pid_max: default: 32768 minimum: 301
[    0.001112] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001123] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001736] CPU: Testing write buffer coherency: ok
[    0.002074] /cpus/cpu@0 missing clock-frequency property
[    0.002095] /cpus/cpu@1 missing clock-frequency property
[    0.002108] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002131] Setting up static identity map for 0x400082c0 - 0x40008318
[    0.170429] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.170531] Brought up 2 CPUs
[    0.170553] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.170561] CPU: All CPU(s) started in HYP mode.
[    0.170567] CPU: Virtualization extensions available.
[    0.181241] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.181967] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.181997] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.182161] pinctrl core: initialized pinctrl subsystem
[    0.183759] NET: Registered protocol family 16
[    0.184099] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.186420] No ATAGs?
[    0.252339] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[    0.252404] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[    0.252440] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[    0.253608] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[    0.254616] SCSI subsystem initialized
[    0.254990] libata version 3.00 loaded.
[    0.255707] usbcore: registered new interface driver usbfs
[    0.255854] usbcore: registered new interface driver hub
[    0.256010] usbcore: registered new device driver usb
[    0.256383] Linux video capture interface: v2.00
[    0.256631] pps_core: LinuxPPS API ver. 1 registered
[    0.256641] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.256729] PTP clock support registered
[    0.257496] Advanced Linux Sound Architecture Driver Initialized.
[    0.258937] clocksource: Switched to clocksource arch_sys_counter
[    0.260189] simple-framebuffer 7fe79000.framebuffer: framebuffer at 0x7fe79000, 0x178e00 bytes, mapped to 0xf0900000
[    0.260208] simple-framebuffer 7fe79000.framebuffer: format=x8r8g8b8, mode=656x536x32, linelength=2880
[    0.267397] Console: switching to colour frame buffer device 82x33
[    0.273147] simple-framebuffer 7fe79000.framebuffer: fb0: simplefb registered!
[    0.285894] NET: Registered protocol family 2
[    0.286811] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.286911] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.287040] TCP: Hash tables configured (established 8192 bind 8192)
[    0.287131] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.287195] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.287430] NET: Registered protocol family 1
[    0.287817] kvm [1]: 8-bit VMID
[    0.287830] kvm [1]: IDMAP page: 40009000
[    0.287838] kvm [1]: HYP VA range: c0000000:ffffffff
[    0.288171] kvm [1]: Hyp mode initialized successfully
[    0.288246] kvm [1]: vgic-v2@1c84000
[    0.288431] kvm [1]: vgic interrupt IRQ16
[    0.288462] kvm [1]: virtual timer IRQ20
[    0.290814] No memory allocated for crashlog
[    0.291097] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.301800] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.314490] bounce: pool size: 64 pages
[    0.314510] io scheduler noop registered
[    0.314518] io scheduler deadline registered
[    0.314823] io scheduler cfq registered (default)
[    0.315575] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[    0.320516] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.422164] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.428293] console [ttyS0] disabled
[    0.448607] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.110648] console [ttyS0] enabled
[    1.138088] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.170870] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.229167] loop: module loaded
[    1.234708] libphy: Fixed MDIO Bus: probed
[    1.239475] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    1.245231] sun7i-dwmac 1c50000.ethernet: no reset control found
[    1.252200] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.258730] ehci-platform: EHCI generic platform driver
[    1.264410] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.270651] ohci-platform: OHCI generic platform driver
[    1.276342] usbcore: registered new interface driver usb-storage
[    1.282746] mousedev: PS/2 mouse device common for all mice
[    1.289486] i2c /dev entries driver
[    1.295415] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.305385] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.389162] sunxi-mmc 1c0f000.mmc: base:0xf08db000 irq:28
[    1.395627] sun4i-ss 1c15000.crypto-engine: no reset control found
[    1.403543] sun4i-ss 1c15000.crypto-engine: Die ID 0
[    1.414955] NET: Registered protocol family 10
[    1.424080] NET: Registered protocol family 17
[    1.428624] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.441620] can: controller area network core (rev 20120528 abi 9)
[    1.448031] NET: Registered protocol family 29
[    1.452516] 8021q: 802.1Q VLAN Support v1.8
[    1.456824] Registering SWP/SWPB emulation handler
[    1.471934] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    1.477695] sun7i-dwmac 1c50000.ethernet: no reset control found
[    1.491416] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.502100] mmc0: new high speed SDHC card at address b368
[    1.518287] mmcblk0: mmc0:b368       3.75 GiB
[    1.523991]  mmcblk0: p1 p2
[    1.599006] sun7i-dwmac 1c50000.ethernet: Ring mode enabled
[    1.604587] sun7i-dwmac 1c50000.ethernet: DMA HW capability register supported
[    1.611833] sun7i-dwmac 1c50000.ethernet: Normal descriptors
[    1.625337] libphy: stmmac: probed
[    1.628759] sun7i-dwmac 1c50000.ethernet (unnamed net_device) (uninitialized): PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[    1.640432] sun7i-dwmac 1c50000.ethernet (unnamed net_device) (uninitialized): PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[    1.654246] hctosys: unable to open rtc device (rtc0)
[    1.660155] vcc3v0: disabling
[    1.663134] vcc5v0: disabling
[    1.666099] usb0-vbus: disabling
[    1.669415] usb1-vbus: disabling
[    1.672648] usb2-vbus: disabling
[    1.675876] ALSA device list:
[    1.678840]   No soundcards found.
[    1.684092] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.693047] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.705706] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.713316] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.720717] Freeing unused kernel memory: 304K
[    1.725156] This architecture does not have kernel memory protection.
[    1.808884] init: Console is alive
[    1.812591] init: - watchdog -
[    1.991859] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.109062] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    2.116602] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1
[    2.122530] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    2.131547] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc
[    2.140601] scsi host0: ahci-sunxi
[    2.144486] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 33
[    2.480406] ata1: SATA link down (SStatus 0 SControl 300)
[    2.497140] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.514855] init: - preinit -
[    2.661278] random: jshn: uninitialized urandom read (4 bytes read)
[    2.692999] random: jshn: uninitialized urandom read (4 bytes read)
[    2.715326] random: jshn: uninitialized urandom read (4 bytes read)
[    2.738512] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=-1)
[    2.850208] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled
[    2.857528] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available
[    2.865213] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW
[    2.873355] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.973285] mount_root: mounting /dev/root
[    5.980967] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.013747] random: fast init done
[    6.249292] random: crng init done
[    6.398432] urandom-seed: Seeding with /etc/urandom.seed
[    6.439739] procd: - early -
[    6.442722] procd: - watchdog -
[    7.304303] procd: - watchdog -
[    7.307745] procd: - ubus -
[    7.362615] procd: - init -
[    7.508699] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.518215] tun: Universal TUN/TAP device driver, 1.6
[    7.523343] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    7.536218] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    7.547403] nat46: module (version 683fbd2b765506332a1af141545652bf58f03166) loaded.
[    7.559700] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    7.579497] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    7.608815] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[    7.615784] sunxi-rtc 1c20d00.rtc: RTC enabled
[    7.634093] Loading modules backported from Linux version wt-2017-10-06-0-ga7a22fbbd1f0
[    7.642374] Backport generated by backports.git v4.14-rc2-1-6-gedfb595c
[    7.651300] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.683086] xt_time: kernel timezone is -0000
[    7.721723] PPP generic driver version 2.4.2
[    7.727180] NET: Registered protocol family 24
[    7.738129] usbcore: registered new interface driver rtl8xxxu
[    7.766983] usbcore: registered new interface driver rt2800usb
[    7.777447] usbcore: registered new interface driver ath9k_htc
[    7.783580] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.097688] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=-1)
[   10.110360] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled
[   10.117709] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available
[   10.125620] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW
[   10.132954] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.148402] br-lan: port 1(eth0.2) entered blocking state
[   10.153968] br-lan: port 1(eth0.2) entered disabled state
[   10.160321] device eth0.2 entered promiscuous mode
[   10.165148] device eth0 entered promiscuous mode
[   10.174920] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   10.235364] IPv6: ADDRCONF(NETDEV_UP): eth0.3: link is not ready
[   10.498273] IPv6: ADDRCONF(NETDEV_UP): tayga-nat64: link is not ready
[   10.566999] IPv6: ADDRCONF(NETDEV_CHANGE): tayga-nat64: link becomes ready
[   14.329769] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   14.337986] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.345064] br-lan: port 1(eth0.2) entered blocking state
[   14.350507] br-lan: port 1(eth0.2) entered forwarding state
[   14.356467] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.3: link becomes ready
[   14.363451] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

 


21.10.20171093KernelBug ReportVery LowLowmac80211, PKG_VERSION:=2017-10-06 - kernel.warnTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
Asus RT-AC58U
- Software versions of LEDE release, packages, etc.
Trunk , custom build
- Steps to reproduce
Just use it with 5GHz wlan.

[  394.848355] ------------[ cut here ]------------
[  394.848609] WARNING: CPU: 0 PID: 1294 at backports-2017-10-06/net/wireless/util.c:1143 cfg80211_calculate_bitrate+0x14c/0x1f4 [cfg80211]
[  394.852222] invalid rate bw=2, mcs=6, nss=1
[  394.864381] Modules linked in: pppoe nf_conntrack_ipv6 l2tp_ppp iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT pptp pppox ppp_mppe ppp_async 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 fuse ath10k_pci ath10k_core ath mac80211 cfg80211 compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc ip_gre gre l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel ip_tunnel tun vfat fat cifs br2684 atm nls_utf8 nls_iso8859_1 nls_cp437
[  394.938351]  sha1_generic md5 md4 cmac usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qca_baldur phy_qca_uniphy phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 jbd2 mbcache exfat crc32c_generic
[  394.966584] CPU: 0 PID: 1294 Comm: luci Not tainted 4.9.57 #0
[  394.966833] Hardware name: Generic DT based system
[  394.972631] [<c0215670>] (unwind_backtrace) from [<c0211f1c>] (show_stack+0x10/0x14)
[  394.977298] [<c0211f1c>] (show_stack) from [<c0398708>] (dump_stack+0x7c/0x9c)
[  394.985193] [<c0398708>] (dump_stack) from [<c021d864>] (__warn+0xbc/0xec)
[  394.992222] [<c021d864>] (__warn) from [<c021d8c8>] (warn_slowpath_fmt+0x34/0x44)
[  394.999190] [<c021d8c8>] (warn_slowpath_fmt) from [<bf246f98>] (cfg80211_calculate_bitrate+0x14c/0x1f4 [cfg80211])
[  395.006862] [<bf246f98>] (cfg80211_calculate_bitrate [cfg80211]) from [<bf26b52c>] (nl80211_put_sta_rate+0x48/0x1dc [cfg80211])
[  395.017082] [<bf26b52c>] (nl80211_put_sta_rate [cfg80211]) from [<bf25928c>] (nl80211_set_interface+0x6c0/0xd38 [cfg80211])
[  395.028433] [<bf25928c>] (nl80211_set_interface [cfg80211]) from [<bf25e64c>] (nl80211_dump_station+0xec/0x110 [cfg80211])
[  395.039467] [<bf25e64c>] (nl80211_dump_station [cfg80211]) from [<c0528250>] (genl_lock_dumpit+0x24/0x34)
[  395.050481] [<c0528250>] (genl_lock_dumpit) from [<c0525eb0>] (netlink_dump+0xe0/0x250)
[  395.060108] [<c0525eb0>] (netlink_dump) from [<c05263f0>] (__netlink_dump_start+0xdc/0x184)
[  395.067922] [<c05263f0>] (__netlink_dump_start) from [<c0528aec>] (genl_rcv_msg+0x154/0x310)
[  395.076256] [<c0528aec>] (genl_rcv_msg) from [<c0527fbc>] (netlink_rcv_skb+0x58/0xb4)
[  395.084933] [<c0527fbc>] (netlink_rcv_skb) from [<c0528984>] (genl_rcv+0x20/0x34)
[  395.092657] [<c0528984>] (genl_rcv) from [<c05279c0>] (netlink_unicast+0x138/0x1fc)
[  395.100126] [<c05279c0>] (netlink_unicast) from [<c0527e2c>] (netlink_sendmsg+0x2f0/0x310)
[  395.107591] [<c0527e2c>] (netlink_sendmsg) from [<c04e4400>] (sock_sendmsg+0x14/0x24)
[  395.115922] [<c04e4400>] (sock_sendmsg) from [<c04e4990>] (___sys_sendmsg+0x184/0x228)
[  395.123822] [<c04e4990>] (___sys_sendmsg) from [<c04e5728>] (__sys_sendmsg+0x40/0x64)
[  395.131635] [<c04e5728>] (__sys_sendmsg) from [<c020ebc0>] (ret_fast_syscall+0x0/0x3c)
[  395.139886] ---[ end trace 30f0f2b80040b4a7 ]---
 


23.10.20171102KernelBug ReportVery LowHighKernel crash on mt7621 at mm/slub.cTrunkUnconfirmed Task Description

I have recurrent crashes when using my wg3526 based on mt76 for long time. The wifi 2.4 ghz is activated (mt7603 driver), but 5ghz is not.

<4>[19202.879743] ------------[ cut here ]------------
<4>[19202.884402] WARNING: CPU: 3 PID: 0 at mm/slub.c:3843 ksize+0xe0/0xf8
<4>[19202.890789] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE 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 slhc rtlwifi 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 ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[19202.961498]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat 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_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage 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 ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]<4>[19203.032447] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W       4.9.54 #0
<4>[19203.039549] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[19203.047897]         8fc5499c 804ebea7 80482c5c 00000003 00000000 80553824 02080020 8fd3705c
<4>[19203.056241]         804e95fc 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc21ce0
<4>[19203.064589]         00000003 800a9fd0 02080020 8fd3705c 0000329a 00000007 8f21db00 00c21ce0
<4>[19203.072937]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[19203.081299]         ...
<4>[19203.083744] Call Trace:
<4>[19203.086218] [<8000f814>] show_stack+0x54/0x88
<4>[19203.090590] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[19203.094939] [<8002bdc4>] __warn+0xe4/0x118
<4>[19203.099026] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[19203.104081] [<800e882c>] ksize+0xe0/0xf8
<4>[19203.107999] [<802d90d0>] pskb_expand_head+0x98/0x23c
<4>[19203.112958] [<8032aa28>] ip_forward+0x374/0x45c
<4>[19203.117474] [<803294c8>] ip_rcv+0x2b8/0x320
<4>[19203.121653] [<802e98d0>] __netif_receive_skb_core+0x718/0x970
<4>[19203.127384] [<802eb7bc>] process_backlog+0x9c/0x160
<4>[19203.132248] [<802eb55c>] net_rx_action+0x138/0x2fc
<4>[19203.137033] [<8002f924>] __do_softirq+0x294/0x2e0
<4>[19203.141726] [<8002fc18>] irq_exit+0x7c/0x98
<4>[19203.145913] [<8020e3d0>] plat_irq_dispatch+0xb4/0xdc
<4>[19203.150866] [<8000a968>] except_vec_vi_end+0xb8/0xc4
<4>[19203.155842] [<80064fc4>] cpu_startup_entry+0x104/0x170
<4>[19203.161091] ---[ end trace 09207f98d12feebb ]---
<4>[19203.165803] Kernel bug detected[#1]:
<1>[19203.165897] CPU 3 Unable to handle kernel paging request at virtual address 00004000, epc == 800eb628, ra == 800eb5ac
<4>[19203.179938] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.54 #0
<4>[19203.187042] task: 804ebfa0 task.stack: 804dc000
<4>[19203.191547] $ 0   : 00000000 80550000 81026b40 00000001
<4>[19203.196767] $ 4   : 00000000 81026b53 000f0000 811da600
<4>[19203.201984] $ 8   : 804f0000 80584864 8fc0df54 8fc0df54
<4>[19203.207198] $12   : 11000000 ffffffff 00000000 0000002d
<4>[19203.212415] $16   : 8eaaa600 8ffa1308 8ffa1000 0000007d
<4>[19203.217631] $20   : 000000ca 0000003f 8ffa1308 00000018
<4>[19203.222846] $24   : 00000000 8000c30c                  
<4>[19203.228063] $28   : 804dc000 8fc0de3c ffffffff 802d5e00
<4>[19203.233278] Hi    : 00000003
<4>[19203.236139] Lo    : 00000000
<4>[19203.239036] epc   : 800e9b90 kfree+0x78/0x1a4
<4>[19203.243394] ra    : 802d5e00 __kfree_skb+0x14/0xa4
<4>[19203.248157] Status: 11008403      KERNEL EXL IE 
<4>[19203.252333] Cause : 50800034 (ExcCode 0d)
<4>[19203.256319] PrId  : 0001992f (MIPS 1004Kc)
<4>[19203.260389] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE 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 slhc rtlwifi 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 ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[19203.330928]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat 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_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage 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 ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]Process swapper/0 (pid: 0, threadinfo=804dc000, task=804ebfa0, tls=00000000)
<4>[19203.408441] Stack : 000000ca 0000003f 8ffa1308 00000018 8ef712d8 802b0400 0003000f 802b2240
<4>[19203.416786]         8e245c60 8eaa10c0 00000000 aef74b40 00000001 8ffa14b8 000000c9 802b2658
<4>[19203.425131]         803f7afc 8149e440 802e6138 00000001 0000012b 80510000 804df9c0 00000001
<4>[19203.433476]         8fdc7900 00000001 80580000 0000000f 00030000 9bfe8000 01000000 00000010
<4>[19203.441822]         30000000 8009483c 0e245ca0 01000000 0f2d4480 00000004 00000040 804df9c0
<4>[19203.450167]         ...
<4>[19203.452603] Call Trace:
<4>[19203.455038] [<800e9b90>] kfree+0x78/0x1a4
<4>[19203.459038] [<802d5e00>] __kfree_skb+0x14/0xa4
<4>[19203.463475] [<802b0400>] fe_txd_unmap+0xd4/0xec
<4>[19203.467986] [<802b2658>] fe_poll+0x134/0x700
<4>[19203.472243] [<802eb55c>] net_rx_action+0x138/0x2fc
<4>[19203.477022] [<8002f924>] __do_softirq+0x294/0x2e0
<4>[19203.481705] [<8002fc18>] irq_exit+0x7c/0x98
<4>[19203.485882] [<8020e3d0>] plat_irq_dispatch+0xb4/0xdc
<4>[19203.490831] [<8000a968>] except_vec_vi_end+0xb8/0xc4
<4>[19203.495777] [<8000c324>] r4k_wait_irqoff+0x18/0x20
<4>[19203.500572] [<80064fc4>] cpu_startup_entry+0x104/0x170
<4>[19203.505712] [<80513be4>] start_kernel+0x47c/0x49c
<4>[19203.510392] Code: 30630001  24030001  38630001 <00030336> 8c430000  7c630380  10600003  00000000  10000002 
<4>[19203.520132] 
<4>[19203.521619] Oops[#2]:
<4>[19203.521836] ---[ end trace 09207f99d12feebb ]---

===================================
Time: 1508726234.629265
<0>[19203.526701] Kernel panic - not syncing: Fatal exception in interrupt
<4>[82713.077406] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[82713.085754]         804ec2bc 804ebea7 80482c5c 00000000 00000000 80553824 00000054 8f295a00
<4>[82713.094099]         00000000 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc0dd90
<4>[82713.102444]         00000003 800a9fd0 00000054 8f295a00 0000f7f3 00000007 00000000 00c0dd90
<4>[82713.110789]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[82713.119130]         ...
<4>[82713.121567] Call Trace:
<4>[82713.124029] [<8000f814>] show_stack+0x54/0x88
<4>[82713.128386] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[82713.132727] [<8002bdc4>] __warn+0xe4/0x118
<4>[82713.136803] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[82713.141876] [<8f28c124>] mt7603_mac_fill_rx+0x2b0/0x3a8 [mt7603e]
<4>[82713.147957] [<8f28ae30>] mt7603_queue_rx_skb+0x9c/0xe4 [mt7603e]
<4>[82713.153958] [<8f284d6c>] mt76_dma_attach+0xa9c/0xc94 [mt76]
<4>[82713.159601] ---[ end trace 30529a2ab5a2f517 ]---
<4>[82713.164302] ------------[ cut here ]------------
<4>[82713.169064] WARNING: CPU: 0 PID: 0 at backports-2017-10-06/net/mac80211/rx.c:4321 ieee80211_rx_napi+0xa8/0x964 [mac80211]
<4>[82713.180018] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE 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 slhc rtlwifi 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 ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[82713.250675]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat 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_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage 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 ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]<4>[82713.321600] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.54 #0
<4>[82713.328698] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[82713.337045]         804ec2bc 804ebea7 80482c5c 00000000 00000000 80553824 00000001 8f295a00
<4>[82713.345391]         00000000 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc0dd38
<4>[82713.353736]         00000003 800a9fd0 00000001 8f295a00 0000f997 00000007 00000008 00c0dd38
<4>[82713.362081]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[82713.370424]         ...
<4>[82713.372859] Call Trace:
<4>[82713.375308] [<8000f814>] show_stack+0x54/0x88
<4>[82713.379658] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[82713.383995] [<8002bdc4>] __warn+0xe4/0x118
<4>[82713.388071] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[82713.393195] [<8f325b94>] ieee80211_rx_napi+0xa8/0x964 [mac80211]
<4>[82713.399231] [<8f2858b4>] mt76_rx_complete+0x88/0x118 [mt76]
<4>[82713.404794] [<8f284e7c>] mt76_dma_attach+0xbac/0xc94 [mt76]
<4>[82713.410438] ---[ end trace 30529a2bb5a2f517 ]---
<4>[82715.996390] ------------[ cut here ]------------
<4>[82716.001062] WARNING: CPU: 3 PID: 0 at mm/slub.c:3843 ksize+0xe0/0xf8
<4>[82716.007380] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE 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 slhc rtlwifi 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 ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[82716.078197]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat 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_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage 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 ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]<4>[82716.149239] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W       4.9.54 #0
<4>[82716.156343] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[82716.164705]         8fc5499c 804ebea7 80482c5c 00000003 00000000 80553824 8f3a4000 8edd5c80
<4>[82716.173065]         00000000 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc21940
<4>[82716.181427]         00000003 800a9fd0 8f3a4000 8edd5c80 0000fb43 00000007 8e826084 00c21940
<4>[82716.189786]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[82716.198143]         ...
<4>[82716.200587] Call Trace:
<4>[82716.203059] [<8000f814>] show_stack+0x54/0x88
<4>[82716.207424] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[82716.211774] [<8002bdc4>] __warn+0xe4/0x118
<4>[82716.215861] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[82716.220915] [<800e882c>] ksize+0xe0/0xf8
<4>[82716.224832] [<802d90d0>] pskb_expand_head+0x98/0x23c
<4>[82716.229996] [<8f329150>] ieee80211_probereq_get+0xb48/0x190c [mac80211]
<4>[82716.236678] [<80064264>] __wake_up_common+0x64/0xb4
<4>[82716.241619] ---[ end trace 30529a2cb5a2f517 ]---
<4>[82716.246369] Kernel bug detected[#1]:
<1>[82716.246495] CPU 3 Unable to handle kernel paging request at virtual address 00004000, epc == 800eb628, ra == 800eb5ac
<4>[82716.260496] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.54 #0
<4>[82716.267598] task: 804ebfa0 task.stack: 804dc000
<4>[82716.272101] $ 0   : 00000000 80550000 81026960 00000001
<4>[82716.277321] $ 4   : 00000000 81026973 000f0000 811cb400
<4>[82716.282538] $ 8   : 804f0000 801eb464 8fc0df54 8fc0df54
<4>[82716.287752] $12   : 11000000 00000000 00000000 00000005
<4>[82716.292968] $16   : 8d488000 8f295540 8ff23064 8f295b7c
<4>[82716.298183] $20   : 00000002 8f295b78 00000000 00000009
<4>[82716.303399] $24   : 00000000 8000c30c                  
<4>[82716.308613] $28   : 804dc000 8fc0de9c 802044f7 802d5e00
<4>[82716.313831] Hi    : 00000004
<4>[82716.316692] Lo    : 00000000
<4>[82716.319581] epc   : 800e9b90 kfree+0x78/0x1a4
<4>[82716.323940] ra    : 802d5e00 __kfree_skb+0x14/0xa4
<4>[82716.328701] Status: 11008403      KERNEL EXL IE 
<4>[82716.332884] Cause : 50800034 (ExcCode 0d)
<4>[82716.336872] PrId  : 0001992f (MIPS 1004Kc)
<4>[82716.340942] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE 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 slhc rtlwifi 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 ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[82716.411537]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat 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_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage 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 ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]Process swapper/0 (pid: 0, threadinfo=804dc000, task=804ebfa0, tls=00000000)
<4>[82716.489176] Stack : 00000002 8f2955b0 8f295540 8ff23064 8f2955b0 8f2849f0 9bfe8000 8006d534
<4>[82716.497539]         8fc35480 00000001 00000000 00000000 00000000 00000000 00000070 804f0000
<4>[82716.505899]         00010000 8d488000 8df26790 00000001 8f295540 00000001 ffffffff 00000002
<4>[82716.514260]         00000000 804de040 00000100 0000000a 00000018 8f28ab70 80580000 80580000
<4>[82716.522625]         00000004 8006c99c 8f296188 8054121c 804e95fc 8003020c 00000006 8020f290
<4>[82716.530989]         ...
<4>[82716.533431] Call Trace:
<4>[82716.535883] [<800e9b90>] kfree+0x78/0x1a4
<4>[82716.539897] [<802d5e00>] __kfree_skb+0x14/0xa4
<4>[82716.544372] [<8f2849f0>] mt76_dma_attach+0x720/0xc94 [mt76]
<4>[82716.549930] Code: 30630001  24030001  38630001 <00030336> 8c430000  7c630380  10600003  00000000  10000002 
<4>[82716.559695] 
<4>[82716.561183] Oops[#2]:
<4>[82716.561433] ---[ end trace 30529a2db5a2f517 ]---

===================================
Time: 1508284734.35088
25.10.20171113KernelBug ReportVery LowMediumUnknown symbol zlib_inflateAllUnconfirmed Task Description

I’ve experienced a strange issue with zlib_inflate on x84_64 system.
There is no zlib_inflate-related symbols at /proc/kallsyms and modules like btrfs couldn’t be loaded.

17.01 branch and the current master branch, both are affected.

Steps to reproduce:
1. Use attached config file (zlib_inflate-test-config). It’s almost default but I’ve set CONFIG_PACKAGE_kmod-fs-btrfs=y and some other options.
2. Compile LEDE:

make defconfig && make -j $(nproc)

3. Run qemu:

qemu-system-x86_64 -curses -kernel bin/targets/x86/64/lede-x86-64-ramfs.bzImage

4. Try to load btrfs module:

root@LEDE:/# modprobe btrfs
[   23.345891] btrfs: Unknown symbol zlib_inflateInit2 (err 0)
[   23.347096] btrfs: Unknown symbol zlib_inflate (err 0)
[   23.347673] btrfs: Unknown symbol zlib_inflate_workspacesize (err 0)
[   23.348293] btrfs: Unknown symbol zlib_inflateEnd (err 0)

It’s not btrfs related but any module with zlib_inflate in it’s dependency list.

02.11.20171139KernelBug ReportVery LowCriticalKernel crashTrunkUnconfirmed Task Description

Router stop working and all network drop requiring a router restart.
TP-Link TL-WDR4300 v1
LEDE Reboot SNAPSHOT r5217-098afa1e1b / LuCI Master (git-17.302.29094-87ec343)
Kernel - 4.9.58

Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.711795] ------------[ cut here ]------------
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.716575] WARNING: CPU: 0 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:199 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.724867] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_string xt_state xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom umWed Nov  1 20:06:44 2017 kern.warn kernel: [11503.797335]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage uhci_hcd ohci_platform ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.820374] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.58 #0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.826199] Stack : 804d78fa 00000031 00000000 00000001 804615d4 80461247 8041396c 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.834743]         804d3a40 000000c7 00000003 00000000 02080020 800a9b84 8041919c 80460000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.843287]         00000003 000000c7 8041736c 87c09824 02080020 800d923c 804d78fa 0000004d
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.851832]         00000000 80223000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.860377]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.868922]         ...
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.871414] Call Trace:
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.873905] [<8006b2e8>] show_stack+0x54/0x88
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.878362] [<80080530>] __warn+0xe4/0x118
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.882529] [<800805f8>] warn_slowpath_null+0x1c/0x34
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.887684] [<874673e0>] 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.891231] ---[ end trace 0fa0ed456ba22a7d ]---
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.896865] ------------[ cut here ]------------
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.901621] WARNING: CPU: 0 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:199 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.909943] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_string xt_state xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom umWed Nov  1 20:06:44 2017 kern.warn kernel: [11503.982364]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage uhci_hcd ohci_platform ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.005412] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.9.58 #0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.012478] Stack : 804d78fa 0000003f 00000000 00000001 804615d4 80461247 8041396c 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.021029]         804d3a40 000000c7 00000003 00000000 02080020 800a9b84 8041919c 80460000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.029575]         00000003 000000c7 8041736c 87c09824 02080020 800d923c 804d78fa 0000004d
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.038119]         804736b0 80223000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.046664]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.055200]         ...
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.057701] Call Trace:
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.060191] [<8006b2e8>] show_stack+0x54/0x88
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.064636] [<80080530>] __warn+0xe4/0x118
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.068811] [<800805f8>] warn_slowpath_null+0x1c/0x34
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.073951] [<874673e0>] 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.077506] ---[ end trace 0fa0ed456ba22a7e ]---
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.150414] ------------[ cut here ]------------
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.155176] WARNING: CPU: 0 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:199 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.163513] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_string xt_state xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom umWed Nov  1 20:06:44 2017 kern.warn kernel: [11504.235935]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage uhci_hcd ohci_platform ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.258985] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.9.58 #0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.266041] Stack : 804d78fa 0000003f 00000000 00000001 804615d4 80461247 8041396c 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.274584]         804d3a40 000000c7 00000003 00000000 02080020 800a9b84 8041919c 80460000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.283129]         00000003 000000c7 8041736c 87c09824 02080020 800d923c 804d78fa 0000004d
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.291682]         804736b0 80223000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.300237]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.308780]         ...
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.311272] Call Trace:
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.313764] [<8006b2e8>] show_stack+0x54/0x88
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.318220] [<80080530>] __warn+0xe4/0x118
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.322380] [<800805f8>] warn_slowpath_null+0x1c/0x34
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.327535] [<874673e0>] 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.331081] ---[ end trace 0fa0ed456ba22a7f ]---
05.11.20171149KernelBug ReportVery LowMediumAR934X built-in switch link up/downTrunkUnconfirmed Task Description

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

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

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

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

15.11.20171170KernelBug ReportVery LowCriticalmt7621: kernel errors - rcu_sched detected stalls on CP...AllUnconfirmed Task Description

After the work done for issue  FS#804 , the rcu_sched error seemed to be gone. However, I am now starting to see it again. Usually, at least for me, the error happens when there is large amounts of traffic and I do something with the network. My most reliable way for reproducing the error is as follows:

- Use iperf to flood a router with small packets. Other ways to stress the CPU also work, I for example triggered the error when I added very aggressive logging to the firewall.
- While the router is being flooded, I restarted networking (I am logged in to the router via UART).
- After a couple of network restarts, the error is trigger and the following is written to syslog at some interval:

[ 2251.870000] INFO: rcu_bh detected stalls on CPUs/tasks:
[ 2251.870000] 2-...: (1 GPs behind) idle=ae1/140000000000001/0 softirq=212487/217796 fqs=4380
[ 2251.870000] (detected by 1, t=6002 jiffies, g=-146, c=-147, q=4)
[ 2251.870000] Task dump for CPU 2:
[ 2251.870000] openvpn-mover.s R running 0 2598 1 0×08100004 [ 2251.870000] Stack : 8fa69998 800ebe38 00000000 8fa69998 57512e2b 000001fd 00000000 80035454
[ 2251.870000] 00000000 800edbd4 8fa69998 804b0000 00000000 00000000 00000004 00000000
[ 2251.870000] 00000000 8ea17850 8efc7ec0 800376d4 00000000 00000000 778b8930 00000012
[ 2251.870000] 00000000 004077cd 778d4000 00000000 778d55e8 778d6f7c 00000000 8002b280
[ 2251.870000] ffbffeff ffffffff 00617772 706d742f 00000000 00000000 00000001 800379dc
[ 2251.870000] ...
[ 2251.870000] Call Trace:
[ 2251.870000] [<8000bc88>] __schedule+0×574/0×758

I am also able to sometimes trigger the issue by simply issuing the reboot-command (while the CPU is stressed). I have not applied any traffic shaping to my interface, and I see the error both with kernel 4.4 and 4.9 (i.e., LEDE 17.01 and master). I don’t quite know how to progress in debugging this.

 


01.02.20181319KernelBug ReportVery LowLowSupport of PC Engines APU1TrunkUnconfirmed Task Description

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

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

Thanks for answer, Zbynek Kocur


01.02.20181320KernelBug ReportVery LowCriticalcritical crash and restartTrunkUnconfirmed Task Description

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

I’m using last dev build .

Linksys WRT1900ACS

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

Kernel 4.9.77

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

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

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

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

Feb 3rd 2018 snapshot.

- Steps to reproduce

 

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

info from kernel log:

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

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

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.

13.03.20181429KernelBug ReportVery LowMediumOpenWrt kernel is missing support for hardware rtc devi...TrunkUnconfirmed Task Description

It seams that sometime in the past support for hardware rtc devices was removed from kernel:
https://patches.linaro.org/patch/1235/

But this is quite important feature to a lot of people who are building iot devices or just want their routers to have correct time even when they are offline and some time without power.

Manually enabling rtc support and using rtc device like sparkfun ds1307 hardware clock works as expected.

Here are steps I used to get rtc support enabled in latest OpenWrt git code:
http://kernelreloaded.com/adding-rtc-to-openwrt-devices-part-2/

Please consider enabling rtc support again kernel and make rtc kernel modules available as packages.

02.04.20181467KernelBug ReportVery LowCriticalieee80211_tx_status: headroom too smallTrunkUnconfirmed Task Description

Latest LEDE on Gateworks Newport GW6300 (octeontx) with Compex WLE900VX ath10k radio. Using 4.14.13 mainline OpenWrt kernel

The syslog is getting spammed with “headroom too small” errors when a monitor wireless interface exists and a station gets connected:

Thu Jan  1 00:52:00 1970 kern.err kernel: [  157.740108] ieee80211_tx_status: headroom too small
Thu Jan  1 00:52:01 1970 kern.err kernel: [  158.764099] ieee80211_tx_status: headroom too small
Thu Jan  1 00:52:02 1970 kern.err kernel: [  159.788129] ieee80211_tx_status: headroom too small

These errors are shown using ath10k and ath10k-ct driver versions (currently using ath10k-ct)

Steps to reproduce:

  1. Create a new monitor wireless interface
    iw phy phy0 interface add mon0 type monitor
    ip l set dev mon0 up
  2. Connect a client to the access point configured radio

Full logread info attached separately

13.04.20181488KernelBug ReportVery LowLowmt7621: BUG: sleeping function called from invalid cont...TrunkUnconfirmed Task Description

Device: Newifi D1
Software versions: Kernel 4.14.32
Steps to reproduce:
During the startup process, some warning messages are shown.

[    0.000000] Linux version 4.14.32 (vbox@ubuntu64) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6433+33-4fd8722056)) #0 SMP Thu Apr 12 13:06:34 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 Newifi-D1
[    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 805b3f20, 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] random: get_random_bytes called from start_kernel+0x90/0x4b0 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu @8120f000 s26704 r8192 d22448 u57344
[    0.000000] pcpu-alloc: s26704 r8192 d22448 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, 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=000444b0
[    0.000000] Readback ErrCtl register=000444b0
[    0.000000] Memory: 253220K/262144K available (4611K kernel code, 232K rwdata, 996K rodata, 228K init, 269K bss, 8924K 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.007814] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.073978] pid_max: default: 32768 minimum: 301
[    0.078756] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.085264] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094078] Hierarchical SRCU implementation.
[    0.099174] smp: Bringing up secondary CPUs ...
[    7.655479] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    7.655489] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    7.655502] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    7.655616] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:238
[    7.655624] in_atomic(): 1, irqs_disabled(): 1, pid: 0, name: swapper/1
[    7.655637] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.32 #0
[    7.655645] Stack : 00000000 00000000 00000000 00000000 805f7afa 00000034 00000000 00000000
[    7.655682]         8fc441f4 805909c7 8051e450 00000001 00000000 00000001 8fc65cb8 b3f6da09
[    7.655715]         00000000 00000000 805f0000 00750966 00000004 8047876c fa8ea686 0038fb56
[    7.655750]         00000000 80590000 00000035 80620000 00000000 00000000 805b0000 80581274
[    7.655783]         00000001 00000007 00000000 00000001 00000000 80590000 00000000 00000000
[    7.655815]         ...
[    7.655826] Call Trace:
[    7.655867] [<800107d8>] show_stack+0x58/0x100
[    7.655907] [<804617ac>] dump_stack+0x9c/0xe0
[    7.655933] [<8005233c>] ___might_sleep+0xf8/0x118
[    7.655959] [<8047d32c>] mutex_lock+0x24/0x78
[    7.655994] [<80075000>] __free_irq+0x74/0x308
[    7.656004] [<80014188>] mips_state_shutdown+0x28/0x40
[    7.656033] [<80099c34>] clockevents_switch_state+0x124/0x190
[    7.656044] [<8009a098>] clockevents_exchange_device+0x80/0xa8
[    7.656055] [<8009aa00>] tick_check_new_device+0xac/0x138
[    7.656065] [<800993e4>] clockevents_register_device+0xc4/0x138
[    7.656073] [<80014548>] r4k_clockevent_init+0x250/0x2a8
[    7.656091] [<8001676c>] start_secondary+0x40/0x3b4
[    7.656141] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.163947] Synchronize counters for CPU 1: done.
[    7.504565] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    7.504575] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    7.504583] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    7.504667] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.385133] Synchronize counters for CPU 2: done.
[    7.593682] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    7.593690] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    7.593700] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    7.593785] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.470307] Synchronize counters for CPU 3: done.
[    0.500168] smp: Brought up 1 node, 4 CPUs
[    0.507979] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.517768] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.524075] pinctrl core: initialized pinctrl subsystem
[    0.529837] NET: Registered protocol family 16
[    0.534614] random: fast init done
[    0.545217] FPU Affinity set after 11720 emulations
[    0.546759] pull PCIe RST: RALINK_RSTCTRL = 0
[    0.851370] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.856403] ***** Xtal 40MHz *****
[    0.859776] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.864887] Port 0 N_FTS = 1b105000
[    0.868325] Port 1 N_FTS = 1b105000
[    0.871785] Port 2 N_FTS = 1b102800
[    2.026446] PCIE2 no card, disable it(RST&CLK)
[    2.030790]  -> 21007f2
[    2.033209] PCIE0 enabled
[    2.035797] PCIE1 enabled
[    2.038423] PCI host bridge /pcie@1e140000 ranges:
[    2.043164]  MEM 0x0000000060000000..0x000000006fffffff
[    2.048331]   IO 0x000000001e160000..0x000000001e16ffff
[    2.053532] PCI coherence region base: 0x8fc35cf0, mask/settings: 0x60000000
[    2.070744] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.076667] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.082431] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.089461] PCI host bridge to bus 0000:00
[    2.093497] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.100467] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    2.106285] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    2.113040] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.120950] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.120992] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.121005] pci 0000:00:00.0: reg 0x14: [mem 0x60300000-0x6030ffff]
[    2.121072] pci 0000:00:00.0: supports D1
[    2.121081] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.121373] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    2.121410] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.121429] pci 0000:00:01.0: reg 0x14: [mem 0x60310000-0x6031ffff]
[    2.121501] pci 0000:00:01.0: supports D1
[    2.121512] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    2.122026] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    2.122087] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.122132] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.122227] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    2.122427] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.122652] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    2.122701] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    2.122827] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    2.123091] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.123116] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[    2.123183] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.129696] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.136621] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.143178] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.150103] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.156828] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    2.164011] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    2.170738] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    2.177496] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    2.184221] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.191495] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    2.198644] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.203581] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.210307] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.217495] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    2.224216] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.229152] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.237407] clocksource: Switched to clocksource GIC
[    2.243982] NET: Registered protocol family 2
[    2.249228] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    2.256158] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    2.262545] TCP: Hash tables configured (established 2048 bind 2048)
[    2.268984] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.274749] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.281253] NET: Registered protocol family 1
[    2.285581] PCI: CLS 0 bytes, default 32
[    2.517334] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.523818] Crashlog allocated RAM at address 0x3f00000
[    2.529224] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    2.542943] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.548725] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.561810] io scheduler noop registered (default)
[    2.566513] io scheduler deadline registered
[    2.571470] gpio-export gpio_export: 2 gpio(s) exported
[    2.577612] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    2.585277] console [ttyS0] disabled
[    2.588848] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    2.597847] console [ttyS0] enabled
[    2.604711] bootconsole [early0] disabled
[    2.613397] cacheinfo: Failed to find cpu0 device node
[    2.618724] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.625714] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.633100] spi-mt7621 1e000b00.spi: sys_freq: 50000000
[    2.638356] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:238
[    2.646753] in_atomic(): 1, irqs_disabled(): 1, pid: 1, name: swapper/0
[    2.653340] CPU: 2 PID: 1 Comm: swapper/0 Tainted: G        W       4.14.32 #0
[    2.660527] Stack : 00000000 00000000 00000000 00000000 805f7afa 00000042 00000000 00000000
[    2.668863]         8fc40374 805909c7 8051e450 00000002 00000001 00000001 8fc35b80 b3f6da09
[    2.677194]         00000000 00000000 805f0000 00003800 00000000 000000b5 00000007 00000000
[    2.685525]         00000000 80590000 0009f81c 00000000 00000000 00000000 805b0000 8fc35ca0
[    2.693859]         805a0000 00000000 00000000 805f0000 00000001 802a5638 00000008 805f0008
[    2.702191]         ...
[    2.704627] Call Trace:
[    2.707090] [<800107d8>] show_stack+0x58/0x100
[    2.711545] [<804617ac>] dump_stack+0x9c/0xe0
[    2.715899] [<8005233c>] ___might_sleep+0xf8/0x118
[    2.720688] [<8047d32c>] mutex_lock+0x24/0x78
[    2.725051] [<8028efb8>] __of_reset_control_get+0xc4/0x280
[    2.730514] [<8028f76c>] device_reset+0x24/0x60
[    2.735023] [<80306278>] mt7621_spi_probe+0x170/0x1f4
[    2.740082] [<802b5908>] platform_drv_probe+0x40/0x84
[    2.745110] [<802b3df4>] really_probe+0x148/0x2c0
[    2.749795] [<802b4010>] __driver_attach+0xa4/0xdc
[    2.754565] [<802b1e7c>] bus_for_each_dev+0x5c/0xbc
[    2.759422] [<802b3344>] bus_add_driver+0xf8/0x218
[    2.764192] [<802b48f0>] driver_register+0xac/0xfc
[    2.768962] [<80005650>] do_one_initcall+0xd0/0x1a0
[    2.773820] [<805b7d84>] kernel_init_freeable+0x168/0x228
[    2.779196] [<80479dd0>] kernel_init+0x10/0x10c
[    2.783705] [<8000b158>] ret_from_kernel_thread+0x14/0x1c
[    2.789468] BUG: scheduling while atomic: swapper/0/1/0x00000002
[    2.795449] Modules linked in:
[    2.798512] CPU: 2 PID: 1 Comm: swapper/0 Tainted: G        W       4.14.32 #0
[    2.805696] Stack : 00000000 00000000 00000000 00000000 805f7afa 00000042 00000000 00000000
[    2.814027]         8fc40374 805909c7 8051e450 00000002 00000001 00000001 8fc35aa0 b3f6da09
[    2.822361]         00000000 00000000 805f0000 00003ec8 00000000 000000d0 00000007 00000000
[    2.830695]         00000000 80590000 000c2f30 00000000 00000000 00000000 805b0000 805ebf80
[    2.839028]         00000001 00000000 00000000 805f0000 00000001 802a5638 00000008 805f0008
[    2.847362]         ...
[    2.849799] Call Trace:
[    2.852250] [<800107d8>] show_stack+0x58/0x100
[    2.856688] [<804617ac>] dump_stack+0x9c/0xe0
[    2.861034] [<8005217c>] __schedule_bug+0x60/0x7c
[    2.865718] [<8047b478>] __schedule+0x70/0x880
[    2.870143] [<8047bd00>] schedule+0x78/0x9c
[    2.874313] [<8047f104>] schedule_timeout+0x38/0x1c4
[    2.879256] [<8047ca4c>] wait_for_common+0x130/0x1f8
[    2.884198] [<8047cb7c>] wait_for_completion_killable+0x18/0x30
[    2.890106] [<8004c8ec>] __kthread_create_on_node+0xdc/0x198
[    2.895738] [<8004c9c0>] kthread_create_on_node+0x18/0x24
[    2.901144] [<80305698>] spi_register_controller+0x3a0/0x99c
[    2.906786] [<802b5908>] platform_drv_probe+0x40/0x84
[    2.911816] [<802b3df4>] really_probe+0x148/0x2c0
[    2.916498] [<802b4010>] __driver_attach+0xa4/0xdc
[    2.921269] [<802b1e7c>] bus_for_each_dev+0x5c/0xbc
[    2.926124] [<802b3344>] bus_add_driver+0xf8/0x218
[    2.930895] [<802b48f0>] driver_register+0xac/0xfc
[    2.935663] [<80005650>] do_one_initcall+0xd0/0x1a0
[    2.940522] [<805b7d84>] kernel_init_freeable+0x168/0x228
[    2.945895] [<80479dd0>] kernel_init+0x10/0x10c
[    2.950405] [<8000b158>] ret_from_kernel_thread+0x14/0x1c
[    2.956511] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
[    2.961628] 4 fixed-partitions partitions found on MTD device spi0.0
[    2.967972] Creating 4 MTD partitions on "spi0.0":
[    2.972752] 0x000000000000-0x000000030000 : "u-boot"
[    2.978849] 0x000000030000-0x000000040000 : "u-boot-env"
[    2.985207] 0x000000040000-0x000000050000 : "factory"
[    2.991375] 0x000000050000-0x000002050000 : "firmware"
[    2.996516] mtd: partition "firmware" extends beyond the end of device "spi0.0" -- size truncated to 0x1fb0000
[    3.127720] 2 uimage-fw partitions found on MTD device firmware
[    3.133641] 0x000000050000-0x000000225cb3 : "kernel"
[    3.139699] 0x000000225cb3-0x000002000000 : "rootfs"
[    3.145637] mtd: device 5 (rootfs) set to be root filesystem
[    3.151419] 1 squashfs-split partitions found on MTD device rootfs
[    3.157596] 0x000000b20000-0x000002000000 : "rootfs_data"
[    3.164826] libphy: Fixed MDIO Bus: probed
[    3.239400] libphy: mdio: probed
[    4.642197] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.648961] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    4.659861] NET: Registered protocol family 10
[    4.665907] Segment Routing with IPv6
[    4.669819] NET: Registered protocol family 17
[    4.674317] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.687224] 8021q: 802.1Q VLAN Support v1.8
[    4.692495] zswap: default zpool zbud not available
[    4.697407] zswap: pool creation failed
[    4.703160] hctosys: unable to open rtc device (rtc0)
[    4.713707] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    4.721275] Freeing unused kernel memory: 228K
[    4.725711] This architecture does not have kernel memory protection.
[    4.865669] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
[    4.969052] random: crng init done
[    5.381236] init: Console is alive
[    5.384855] init: - watchdog -
[    6.359776] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[    6.388601] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[    7.373619] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    7.493267] usbcore: registered new interface driver usbfs
[    7.498897] usbcore: registered new interface driver hub
[    7.504373] usbcore: registered new device driver usb
[    7.550732] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.564476] SCSI subsystem initialized
[    7.572133] ehci-platform: EHCI generic platform driver
[    7.586683] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.592091] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    7.607612] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[    7.616095] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    7.622952] hub 1-0:1.0: USB hub found
[    7.626775] hub 1-0:1.0: 2 ports detected
[    7.631465] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.636800] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    7.644453] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.653457] hub 2-0:1.0: USB hub found
[    7.657277] hub 2-0:1.0: 1 port detected
[    7.672165] MTK MSDC device init.
[    7.676201] SET_IOS: CLK(0kHz), BUS(PUSHPULL), BW(1), PWR(UP), VDD(3.30v), TIMING(LEGACY)
[    7.697432] SET_IOS: CLK(400kHz), BUS(PUSHPULL), BW(1), PWR(ON), VDD(3.30v), TIMING(LEGACY)
[    7.727647] mtk-sd: MediaTek MT6575 MSDC Driver
[    7.741088] SET_IOS: CLK(400kHz), BUS(PUSHPULL), BW(1), PWR(ON), VDD(3.30v), TIMING(LEGACY)
[    7.743674] sdhci: Secure Digital Host Controller Interface driver
[    7.753068] SET_IOS: CLK(400kHz), BUS(PUSHPULL), BW(1), PWR(ON), VDD(3.30v), TIMING(LEGACY)
[    7.760318] sdhci: Copyright(c) Pierre Ossman
[    7.774099] sdhci-pltfm: SDHCI platform and OF driver helper
[    7.780480] SET_IOS: CLK(400kHz), BUS(PUSHPULL), BW(1), PWR(ON), VDD(3.30v), TIMING(LEGACY)
[    7.783800] usbcore: registered new interface driver usb-storage
[    7.793206] SET_IOS: CLK(400kHz), BUS(PUSHPULL), BW(1), PWR(ON), VDD(3.30v), TIMING(LEGACY)
[    7.802811] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.827773] init: - preinit -
[    7.839566] SET_IOS: CLK(400kHz), BUS(PUSHPULL), BW(1), PWR(ON), VDD(3.30v), TIMING(SD_HS)
[    7.839595] SET_IOS: CLK(50000kHz), BUS(PUSHPULL), BW(1), PWR(ON), VDD(3.30v), TIMING(SD_HS)
[    7.847987] SET_IOS: CLK(50000kHz), BUS(PUSHPULL), BW(4), PWR(ON), VDD(3.30v), TIMING(SD_HS)
[    7.856421] mmc0: new high speed SDHC card at address 1234
[    7.871391] mmcblk0: mmc0:1234 SA08G 7.25 GiB 
[    7.877651]  mmcblk0: p1
[    9.089793] mtk_soc_eth 1e100000.ethernet: PPE started
[   12.316347] mount_root: loading kmods from internal overlay
[   12.359217] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   12.370830] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   13.340960] block: attempting to load /etc/config/fstab
[   13.391300] block: extroot: not configured
[   13.396475] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   13.441670] urandom-seed: Seed file not found (/etc/urandom.seed)
[   13.527693] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[   13.542882] procd: - early -
[   13.545866] procd: - watchdog -
[   14.207798] procd: - watchdog -
[   14.211528] procd: - ubus -
[   14.480275] procd: - init -
[   14.511747] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: 
[   14.924377] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.938837] zram: Added device: zram0
[   14.953276] tun: Universal TUN/TAP device driver, 1.6
[   14.968117] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.617852] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   16.002679] Netfilter messages via NETLINK v0.30.
[   16.009890] ip_set: protocol 6
[   16.053188] u32 classifier
[   16.055911]     input device check on
[   16.059600]     Actions configured
[   16.065347] Mirror/redirect action on
[   16.105581] Bridge firewalling registered
[   16.110580] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   16.118608] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   16.129543] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.715260] ctnetlink v0.93: registering with nfnetlink.
[   17.130522] usbcore: registered new interface driver ums-alauda
[   17.139234] usbcore: registered new interface driver ums-cypress
[   17.147775] usbcore: registered new interface driver ums-datafab
[   17.156414] usbcore: registered new interface driver ums-freecom
[   17.164574] usbcore: registered new interface driver ums-isd200
[   17.173793] usbcore: registered new interface driver ums-jumpshot
[   17.182373] usbcore: registered new interface driver ums-karma
[   17.190748] usbcore: registered new interface driver ums-sddr09
[   17.198780] usbcore: registered new interface driver ums-sddr55
[   17.206972] usbcore: registered new interface driver ums-usbat
[   17.264586] xt_time: kernel timezone is -0000
[   17.707606] bus=0x2, slot = 0x1, irq=0xff
[   17.711849] mt7603e 0000:02:00.0: ASIC revision: 76030010
[   17.720679] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
[   17.726249] mt7603e 0000:02:00.0: Build Time: 20160107100755
[   17.767413] firmware init done
[   17.935897] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   17.943341] bus=0x1, slot = 0x0, irq=0xff
[   17.947668] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[   17.977468] mt76x2e 0000:01:00.0: ROM patch already applied
[   17.984446] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[   17.990010] mt76x2e 0000:01:00.0: Build: 1
[   17.994088] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[   18.017463] mt76x2e 0000:01:00.0: Firmware running!
[   18.023797] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   18.032133] PPP generic driver version 2.4.2
[   18.038495] NET: Registered protocol family 24
[   18.046381] kmodloader: done loading kernel modules from /etc/modules.d/*
[   38.836935] mtk_soc_eth 1e100000.ethernet: PPE started
[   38.851306] device eth0 entered promiscuous mode
[   38.859973] br-lan: port 1(eth0.1) entered blocking state
[   38.865417] br-lan: port 1(eth0.1) entered disabled state
[   38.871966] device eth0.1 entered promiscuous mode
[   38.881805] br-lan: port 1(eth0.1) entered blocking state
[   38.887255] br-lan: port 1(eth0.1) entered forwarding state
[   38.893501] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   39.834048] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   42.361498] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   42.368563] jffs2_build_filesystem(): unlocking the mtd device... 
[   42.368578] done.
[   42.376723] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   50.672910] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   50.702442] br-lan: port 2(wlan0) entered blocking state
[   50.707821] br-lan: port 2(wlan0) entered disabled state
[   50.713632] device wlan0 entered promiscuous mode
[   51.139833] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   51.153755] br-lan: port 3(wlan1) entered blocking state
[   51.164212] br-lan: port 3(wlan1) entered disabled state
[   51.170661] device wlan1 entered promiscuous mode
[   51.176263] br-lan: port 3(wlan1) entered blocking state
[   51.181638] br-lan: port 3(wlan1) entered forwarding state
[   51.764766] br-lan: port 3(wlan1) entered disabled state
[   52.493323] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   52.500328] br-lan: port 3(wlan1) entered blocking state
[   52.505680] br-lan: port 3(wlan1) entered forwarding state
[   53.137289] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   53.144349] br-lan: port 2(wlan0) entered blocking state
[   53.149742] br-lan: port 2(wlan0) entered forwarding state
[  141.341413] done.
[  141.343382] jffs2: notice: (3500) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  141.873288] overlayfs: upper fs does not support tmpfile.
[  145.110109] device eth0.2 entered promiscuous mode
[ 1120.422081] zram0: detected capacity change from 0 to 64897024
[ 1120.442214] Adding 63372k swap on /dev/zram0.  Priority:10 extents:1 across:63372k SSFS
14.04.20181494KernelBug ReportVery LowLowSecond routing table not workingTrunkUnconfirmed Task Description

I’m using my router as a VPN client and by default all traffic from my network is sent over the VPN. There’s one device one the network that needs to connect without the VPN, so I’ve created a second routing table and a corresponding rule to route that device over the new table. This setup is working great on 17.01.4 with kernel 4.4, however if I upgrade to a new snapshot with kernel 4.14 the device going over the alternate route stops working in a weird way. It’s still sending packets out and it receives a preliminary response from the host, but then the connection stalls. All connections going over the secondary routewill do the same thing: open the port, transmit the first packet and then stall. Pinging works just fine, too, it just TCP connections that seem to get stuck.

Here’s my routing table with the 0.0.0.0 and 128.0.0.0 entries added by openvpn through he “redirect-gateway def1” option. This routes all outgoing traffic through the VPN. Note that my WAN connection is on wlan0 and has ip 192.168.2.18 and gateway 192.168.2.1 and my LAN is br-lan with IP 192.168.1.1 on the local 192.168.1.0/24 network. The VPN host is 161.22.33.44.

root@LEDE:~# ip route
0.0.0.0/1 via 10.9.8.1 dev tun0
default via 192.168.2.1 dev wlan0  proto static  src 192.168.2.18
10.9.8.1 dev tun0  proto kernel  scope link  src 10.9.8.2
128.0.0.0/1 via 10.9.8.1 dev tun0
161.22.33.44 via 192.168.2.1 dev wlan0
192.168.2.0/24 dev wlan0  proto kernel  scope link  src 192.168.2.18
192.168.2.254 dev wlan0  proto static  scope link  src 192.168.2.18
192.168.1.0/24 dev br-lan  proto kernel  scope link  src 192.168.1.1

This is what the tcpdump on the router shows when the traffic is going over the default route

user@local.client:> curl http://remote.host

tcpdump:

14:36:17.060423 IP local.client.46412 > remote.host.80: Flags [S], seq 3190523033, win 29200, options [mss 1460,sackOK,TS val 27124528 ecr 0,nop,wscale 7], length 0
14:36:17.107303 IP remote.host.80 > local.client.46412: Flags [S.], seq 3924485213, ack 3190523034, win 29200, options [mss 1350,nop,nop,sackOK], length 0
14:36:17.107597 IP local.client.46412 > remote.host.80: Flags [.], ack 1, win 29200, length 0
14:36:17.107818 IP local.client.46412 > remote.host.80: Flags [P.], seq 1:79, ack 1, win 29200, length 78: HTTP: GET / HTTP/1.1
14:36:17.156123 IP remote.host.80 > local.client.46412: Flags [.], ack 79, win 29200, length 0
14:36:17.166236 IP remote.host.80 > local.client.46412: Flags [P.], seq 1:182, ack 79, win 29200, length 181: HTTP: HTTP/1.1 200 OK
14:36:17.166475 IP local.client.46412 > remote.host.80: Flags [.], ack 182, win 30016, length 0
14:36:17.166528 IP remote.host.80 > local.client.46412: Flags [F.], seq 182, ack 79, win 29200, length 0
14:36:17.166728 IP local.client.46412 > remote.host.80: Flags [F.], seq 79, ack 183, win 30016, length 0
14:36:17.213095 IP remote.host.80 > local.client.46412: Flags [.], ack 80, win 29200, length 0

And here’s what happens when I build a second table and route it over that (note, all of this works just fine on 17.01.4)

root@LEDE:~# ip route add default via 192.168.2.1 dev wlan0 table 201
root@LEDE:~# ip rule add from 192.168.1.60 lookup 201
user@local.client:> curl http://remote.host

tcpdump:

14:40:18.797240 IP local.client.46620 > remote.host.80: Flags [S], seq 1629062849, win 29200, options [mss 1460,sackOK,TS val 27184962 ecr 0,nop,wscale 7], length 0
14:40:18.845435 IP remote.host.80 > local.client.46620: Flags [S.], seq 3094935245, ack 1629062850, win 29200, options [mss 1460,nop,nop,sackOK], length 0
14:40:18.845696 IP local.client.46620 > remote.host.80: Flags [.], ack 1, win 29200, length 0
14:40:18.846146 IP local.client.46620 > remote.host.80: Flags [P.], seq 1:79, ack 1, win 29200, length 78: HTTP: GET / HTTP/1.1
14:40:19.095838 IP local.client.46620 > remote.host.80: Flags [P.], seq 1:79, ack 1, win 29200, length 78: HTTP: GET / HTTP/1.1
14:40:19.347850 IP local.client.46620 > remote.host.80: Flags [P.], seq 1:79, ack 1, win 29200, length 78: HTTP: GET / HTTP/1.1
14:40:19.875877 IP local.client.46620 > remote.host.80: Flags [P.], seq 1:79, ack 1, win 29200, length 78: HTTP: GET / HTTP/1.1
14:40:20.899852 IP local.client.46620 > remote.host.80: Flags [P.], seq 1:79, ack 1, win 29200, length 78: HTTP: GET / HTTP/1.1
14:40:22.915865 IP local.client.46620 > remote.host.80: Flags [P.], seq 1:79, ack 1, win 29200, length 78: HTTP: GET / HTTP/1.1

I’m not really sure where to go from here. Any pointers to help track this down would be appreciated!

26.04.20181517KernelBug ReportVery LowMediumkernel error: CPU: 2 PID: 27318 at lib/iov_iter.c:695 c...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: MT 7621 - ZBT 3526)
- Software versions: Model ZBT-WG3526 (16M)
- Firmware Version: TRUNK - OpenWrt SNAPSHOT r6755-d089a5d / LuCI Master (git-18.113.52925-0c30ee0)
- Kernel Version 4.14.34

- Steps to reproduce
after a while i get: kernel errors and affterwards reboot needed.

Thu Apr 26 12:59:00 2018 kern.warn kernel: [69277.917386] ------------[ cut here ]------------
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69277.922064] WARNING: CPU: 2 PID: 27318 at lib/iov_iter.c:695 copy_page_to_iter+0xc4/0x508
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69277.930339] Modules linked in: pppoe ppp_async option usb_wwan pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mt76x2e mt7603e mt76 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_NETMAP xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY usbserial usb_storage 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_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.001388]  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_broadcast ts_kmp nf_conntrack_amanda macvlan iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat br_netfilter fuse 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 ledtrig_usbport 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
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.072898]  ip6table_mangle ip6table_filter ip6_tables x_tables ip_gre gre ifb ip_tunnel tun vfat fat f2fs ext4 jbd2 mbcache nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic ecb crc32c_generic crc32_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
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.105236] CPU: 2 PID: 27318 Comm: cat Not tainted 4.14.34 #0
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.111065] Stack : 00000000 00000000 00000000 00000000 805f7ada 00000032 00000000 00000000
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.119416]         8f0ac1f4 80590927 8051cabc 00000002 00006ab6 00000001 8dca3be8 b3f6da0b
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.127750]         00000000 00000000 805f0000 00008808 00000000 00000199 00000008 00000000
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.136087]         00000000 80590000 00019b14 00000000 80000000 00000000 805b0000 80229950
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.144432]         00000009 000002b7 00000000 8dca3db0 00000001 802911d0 00000008 805f0008
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.152779]         ...
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.155227] Call Trace:
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.157698] [<80010498>] show_stack+0x58/0x100
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.162148] [<8045f24c>] dump_stack+0x9c/0xe0
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.166501] [<8002e1d8>] __warn+0xe0/0x114
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.170581] [<8002e29c>] warn_slowpath_null+0x1c/0x30
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.175621] [<80229950>] copy_page_to_iter+0xc4/0x508
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.180656] [<800dc5c8>] shmem_file_read_iter+0x2c0/0x3c0
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.186080] [<8013f3c0>] generic_file_splice_read+0xec/0x170
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.191721] [<8013f69c>] splice_direct_to_actor+0xc8/0x234
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.197187] [<8013f8a0>] do_splice_direct+0x98/0xd0
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.202061] [<8010b664>] do_sendfile+0x284/0x478
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.206683] [<8010e628>] SyS_sendfile64+0x84/0xd8
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.211399] [<80019578>] syscall_common+0x34/0x58
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.216566] ---[ end trace b0a90f34a85fa703 ]---
03.05.20181530KernelBug ReportVery LowMediumr6755: tl-841n-v8 problems: ath: phy0: DMA failed to st...TrunkUnconfirmed Task Description

revision: trunk - r6755-d089a5d773
hardware: tp-link 841n-v8
build-configs:
https://github.com/weimarnetz/firmware/blob/master/configs/ar71xx_tiny.config https://github.com/weimarnetz/firmware/blob/master/configs/common.config

Started to see these errors in crash-reports - seems to happen multiple times per day.

crashlog fh461-TP-Link TL-WR841N/ND v8
beta-113-g9c709a2+openwrt-r6755-d089a5d773
Linux fh461 4.9.91 #0 Mon Apr 23 20:07:22 2018 mips GNU/Linux
69:24:7d:f0:91:12:fa:32:92:55:08:69:f3:4a:27:09:d4:4a:f9:05
TP-Link TL-WR841N/ND v8
Time: 1525266772.173517
Modules:	ath9k@80ee0000+15db0	ath9k_common@80e34000+2a80	ath9k_hw@80f00000+51020	ath@80e38000+41c0	mac80211@80e80000+5faa0	iptable_nat@80e31000+2c0	ipt_REJECT@80ce2000+360	ipt_MASQUERADE@80d85000+260	cfg80211@80e00000+30d50	xt_time@80da3000+620	xt_tcpudp@80da1000+680	xt_state@80d9e000+280	xt_nat@80da2000+440	xt_multiport@80da0000+480	xt_mark@80d9d000+260	xt_mac@80d9a000+240	xt_limit@80d98000+3c0	xt_conntrack@80d95000+860	xt_comment@80d87000+1c0	xt_TCPMSS@80d90000+a40	xt_REDIRECT@80d84000+260	xt_LOG@80d80000+2c0	nf_reject_ipv4@80ce8000+7a0	nf_nat_redirect@80ceb000+360	nf_nat_masquerade_ipv4@80cfc000+4f0	nf_conntrack_ipv4@80d82000+1240	nf_nat_ipv4@80ce0000+c50	nf_nat@80ce4000+2010	nf_log_ipv4@80d13000+c20	nf_defrag_ipv4@80d1a000+2c0	nf_conntrack_rtcache@80d1b000+960	nf_conntrack@80cf0000+b2c0	iptable_mangle@80d0e000+380	iptable_filter@80d10000+2a0	ip_tables@80d14000+2490	compat@80cda000+1260	ip6t_REJECT@80d07000+380	nf_reject_ipv6@80cd9000+840	nf_log_ipv6@80d05000+cc0	nf_log_common@80d0c000+840	ip6table_mangle@80cdf000+460	ip6table_filter@80d35000+260	ip6_tables@80d08000+2400	x_tables@80cdc000+2b30	tun@80d00000+4360	gpio_button_hotplug@80c8c000+11c0
<5>[    0.000000] Linux version 4.9.91 (buildbot@weimarnetz) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6556-d7ca4c6d3e) ) #0 Mon Apr 23 20:07:22 2018
<7>[    0.000000] MyLoader: sysp=8b8b81ac, boardp=96e34c72, parts=b298aa77
<6>[    0.000000] bootconsole [early0] enabled
<6>[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
<6>[    0.000000] SoC: Atheros AR9341 rev 1
<6>[    0.000000] Determined physical RAM map:
<6>[    0.000000]  memory: 02000000 @ 00000000 (usable)
<6>[    0.000000] Initrd not found or empty - disabling initrd
<4>[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
<4>[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
<6>[    0.000000] Zone ranges:
<6>[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
<6>[    0.000000] Movable zone start for each node
<6>[    0.000000] Early memory node ranges
<6>[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
<6>[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
<7>[    0.000000] On node 0 totalpages: 8192
<7>[    0.000000] free_area_init_node: node 0, pgdat 803ec8b4, node_mem_map 81000020
<7>[    0.000000]   Normal zone: 64 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
<7>[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>[    0.000000] pcpu-alloc: [0] 0
<6>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
<5>[    0.000000] Kernel command line:  board=TL-WR841N-v8  console=ttyS0,115200 rootfstype=squashfs noinitrd
<6>[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
<6>[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    0.000000] Writing ErrCtl register=00000000
<6>[    0.000000] Readback ErrCtl register=00000000
<6>[    0.000000] Memory: 27984K/32768K available (3153K kernel code, 150K rwdata, 332K rodata, 196K init, 212K bss, 4784K reserved, 0K cma-reserved)
<6>[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>[    0.000000] NR_IRQS:51
<6>[    0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
<6>[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7144898866 ns
<6>[    0.000011] sched_clock: 32 bits at 267MHz, resolution 3ns, wraps every 8027976190ns
<6>[    0.008248] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
<6>[    0.091064] pid_max: default: 32768 minimum: 301
<6>[    0.096058] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.103051] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.113506] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
<6>[    0.123919] futex hash table entries: 256 (order: -1, 3072 bytes)
<6>[    0.131034] NET: Registered protocol family 16
<6>[    0.137451] MIPS: machine is TP-LINK TL-WR841N/ND v8
<4>[    0.618054] Can't analyze schedule() prologue at 80370e68
<6>[    0.635480] clocksource: Switched to clocksource MIPS
<6>[    0.642102] NET: Registered protocol family 2
<6>[    0.647714] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.655078] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.661846] TCP: Hash tables configured (established 1024 bind 1024)
<6>[    0.668662] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.674834] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.681773] NET: Registered protocol family 1
<7>[    0.686454] PCI: CLS 0 bytes, default 32
<4>[    0.691104] Crashlog allocated RAM at address 0x1f00000
<6>[    0.698114] workingset: timestamp_bits=30 max_order=13 bucket_order=0
<6>[    0.712737] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[    0.718933] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
<6>[    0.739073] io scheduler noop registered
<6>[    0.743211] io scheduler deadline registered (default)
<6>[    0.749106] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
<6>[    0.756351] console [ttyS0] disabled
<6>[    0.780246] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
<6>[    0.789368] console [ttyS0] enabled
<6>[    0.796935] bootconsole [early0] disabled
<4>[    0.809405] m25p80 spi0.0: found s25sl032p, expected m25p80
<6>[    0.815183] m25p80 spi0.0: s25sl032p (4096 Kbytes)
<5>[    0.821115] 5 tp-link partitions found on MTD device spi0.0
<5>[    0.826931] Creating 5 MTD partitions on "spi0.0":
<5>[    0.831893] 0x000000000000-0x000000020000 : "u-boot"
<5>[    0.838748] 0x000000020000-0x00000015107c : "kernel"
<5>[    0.845853] 0x00000015107c-0x0000003f0000 : "rootfs"
<5>[    0.852824] mtd: device 2 (rootfs) set to be root filesystem
<5>[    0.858792] 1 squashfs-split partitions found on MTD device rootfs
<5>[    0.865191] 0x000000390000-0x0000003f0000 : "rootfs_data"
<5>[    0.872684] 0x0000003f0000-0x000000400000 : "art"
<5>[    0.879534] 0x000000020000-0x0000003f0000 : "firmware"
<6>[    0.887904] libphy: Fixed MDIO Bus: probed
<6>[    0.911041] libphy: ag71xx_mdio: probed
<6>[    1.537571] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
<6>[    1.547876] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
<6>[    2.177362] ag71xx-mdio.1: Found an AR934X built-in switch
<6>[    2.229797] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
<6>[    2.238507] NET: Registered protocol family 10
<6>[    2.247818] NET: Registered protocol family 17
<6>[    2.252602] 8021q: 802.1Q VLAN Support v1.8
<6>[    2.265221] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
<6>[    2.273857] Freeing unused kernel memory: 196K
<4>[    2.278494] This architecture does not have kernel memory protection.
<5>[    2.545497] random: fast init done
<14>[    3.233660] init: Console is alive
<14>[    3.237514] init: - watchdog -
<14>[    3.994732] kmodloader: loading kernel modules from /etc/modules-boot.d/*
<14>[    4.146802] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
<14>[    4.155226] init: - preinit -
<6>[    5.340601] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
<5>[    8.562019] jffs2: notice: (366) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
<14>[    8.579568] mount_root: switching to jffs2 overlay
<12>[    8.616411] urandom-seed: Seeding with /etc/urandom.seed
<14>[    8.689353] procd: - early -
<14>[    8.692446] procd: - watchdog -
<14>[    9.250783] procd: - watchdog -
<14>[    9.254343] procd: - ubus -
<14>[    9.517271] procd: - init -
<14>[    9.830081] kmodloader: loading kernel modules from /etc/modules.d/*
<6>[    9.840020] tun: Universal TUN/TAP device driver, 1.6
<6>[    9.845248] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<6>[    9.856765] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[    9.874264] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
<6>[    9.882597] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
<6>[    9.891727] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[    9.906150] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
<6>[    9.962757] xt_time: kernel timezone is -0000
<7>[   10.071153] ath: EEPROM regdomain: 0x0
<7>[   10.071164] ath: EEPROM indicates default country code should be used
<7>[   10.071168] ath: doing EEPROM country->regdmn map search
<7>[   10.071185] ath: country maps to regdmn code: 0x3a
<7>[   10.071191] ath: Country alpha2 being used: US
<7>[   10.071195] ath: Regpair used: 0x3a
<7>[   10.084756] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<6>[   10.089600] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=47
<14>[   10.132795] kmodloader: done loading kernel modules from /etc/modules.d/*
<6>[   21.132399] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
<6>[   21.159067] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
<6>[   21.181083] IPv6: ADDRCONF(NETDEV_UP): br-vap: link is not ready
<6>[   21.216086] IPv6: ADDRCONF(NETDEV_UP): br-roam: link is not ready
<6>[   23.217877] eth0: link up (100Mbps/Full duplex)
<6>[   23.222619] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
<7>[   23.416141] ath: EEPROM regdomain: 0x8114
<7>[   23.420293] ath: EEPROM indicates we should expect a country code
<7>[   23.426643] ath: doing EEPROM country->regdmn map search
<7>[   23.432129] ath: country maps to regdmn code: 0x37
<7>[   23.437092] ath: Country alpha2 being used: DE
<7>[   23.441679] ath: Regpair used: 0x37
<7>[   23.445283] ath: regdomain 0x8114 dynamically updated by user
<6>[   28.082864] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
<6>[   28.377681] br-vap: port 1(wlan0-1) entered blocking state
<6>[   28.383369] br-vap: port 1(wlan0-1) entered disabled state
<6>[   28.389588] device wlan0-1 entered promiscuous mode
<6>[   28.507712] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
<6>[   28.514627] br-vap: port 1(wlan0-1) entered blocking state
<6>[   28.520388] br-vap: port 1(wlan0-1) entered forwarding state
<6>[   28.582371] IPv6: ADDRCONF(NETDEV_CHANGE): br-vap: link becomes ready
<6>[   28.617361] br-roam: port 1(wlan0-2) entered blocking state
<6>[   28.623278] br-roam: port 1(wlan0-2) entered disabled state
<6>[   28.629546] device wlan0-2 entered promiscuous mode
<6>[   28.696011] IPv6: ADDRCONF(NETDEV_UP): wlan0-2: link is not ready
<6>[   28.702438] br-roam: port 1(wlan0-2) entered blocking state
<6>[   28.708272] br-roam: port 1(wlan0-2) entered forwarding state
<6>[   28.714815] IPv6: ADDRCONF(NETDEV_CHANGE): br-roam: link becomes ready
<6>[   28.826240] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-2: link becomes ready
<6>[   29.344781] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[   29.554096] wlan0: Created IBSS using preconfigured BSSID 02:ca:ff:ee:ba:be
<6>[   29.561380] wlan0: Creating new IBSS network, BSSID 02:ca:ff:ee:ba:be
<6>[   29.600876] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<5>[   54.884553] random: crng init done
<3>[26187.720165] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<3>[26729.429478] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<3>[28439.382610] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<3>[29941.604627] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00026400
<3>[34096.679390] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<3>[35348.329357] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<4>[39363.344165] ------------[ cut here ]------------
<4>[39363.348963] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:316 0x802a95c0
<6>[39363.356276] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
<0>[39363.363033] Kernel panic - not syncing: panic_on_warn set ...
<0>[39363.363033]
16.05.20181549KernelBug ReportVery LowLowkmod-crypto-xts is loaded but not usableTrunkUnconfirmed Task Description

kmod-crypto-xts:

 xts module is loaded (appears in lsmod) but is not usable (does not appear in /proc/crypto)

device:

openwrt-ramips-mt7621-device-gb-pc1

versions:

 OpenWrt 18.06-SNAPSHOT r6909-dc7487885e

lsmod:

ahci                   14208  0 
authenc                 3643  0 
btrfs                1007310  0 
crc_ccitt               1067  1 ppp_async
crc32c_generic          1456  2 
cryptodev              32034  0 
ctr                     3280  0 
dax                     9026  1 dm_mod
dm_crypt               24608  0 
dm_log                  7905  2 dm_mirror,dm_region_hash
dm_mirror              12464  0 
dm_mod                 88120  3 dm_crypt,dm_mirror,dm_log
dm_region_hash          7508  1 dm_mirror
drbg                   17456  0 
gf128mul                6782  0 
gpio_button_hotplug     6512  0 
hmac                    2576  0 
ip_tables              10509  3 iptable_nat,iptable_mangle,iptable_filter
ip6_tables             10241  2 ip6table_mangle,ip6table_filter
ip6t_REJECT             1104  2 
ip6table_filter          720  1 
ip6table_mangle         1232  0 
ipt_MASQUERADE           752  1 
ipt_REJECT              1040  2 
iptable_filter           720  1 
iptable_mangle           976  0 
iptable_nat              784  1 
jitterentropy_rng       7448  0 
leds_gpio               2992  0 
libahci                18515  1 ahci
libata                147133  2 ahci,libahci
libcrc32c                695  0 
mmc_block              22374  0 
mmc_core               85661  2 mmc_block,mtk_sd
mtk_sd                 20320  0 
nf_conntrack           62792 12 nf_conntrack_ipv6,ipt_MASQUERADE,xt_state,xt_nat,xt_conntrack,xt_REDIRECT,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat,nf_flow_table,nf_conntrack_rtcache
nf_conntrack_ipv4       4464 11 
nf_conntrack_ipv6       4672  5 
nf_conntrack_rtcache    2800  0 
nf_defrag_ipv4          1078  1 nf_conntrack_ipv4
nf_defrag_ipv6         13358  1 nf_conntrack_ipv6
nf_flow_table          13500  2 xt_FLOWOFFLOAD,nf_flow_table_hw
nf_flow_table_hw        2336  1 
nf_log_common           2767  2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4             3536  0 
nf_log_ipv6             4208  0 
nf_nat                 13611  4 xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_nat_ipv4             3473  1 iptable_nat
nf_nat_masquerade_ipv4    1660  1 ipt_MASQUERADE
nf_nat_redirect         1531  1 xt_REDIRECT
nf_reject_ipv4          2179  1 ipt_REJECT
nf_reject_ipv6          2568  1 ip6t_REJECT
nls_base                5456  2 nls_utf8,usbcore
nls_utf8                 912  0 
ppp_async               7136  0 
ppp_generic            23138  3 pppoe,ppp_async,pppox
pppoe                   8656  0 
pppox                   1418  1 pppoe
raid6_pq               86832  1 btrfs
scsi_mod               93234  3 usb_storage,libata,sd_mod
sd_mod                 29600  0 
seqiv                   1872  0 
sha256_generic         10489  0 
slhc                    5275  1 ppp_generic
usb_common              2583  1 usbcore
usb_storage            39579  0 
usbcore               134429  5 usb_storage,xhci_mtk,xhci_plat_hcd,xhci_pci,xhci_hcd
x_tables               14159 23 ipt_REJECT,ipt_MASQUERADE,xt_time,xt_tcpudp,xt_state,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_conntrack,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG,xt_FLOWOFFLOAD,iptable_mangle,iptable_filter,ip_tables,ip6t_REJECT,ip6table_mangle,ip6table_filter,ip6_tables
xhci_hcd               92041  3 xhci_mtk,xhci_plat_hcd,xhci_pci
xhci_mtk                4432  0 
xhci_pci                2832  0 
xhci_plat_hcd           5584  0 
xor                     6331  1 btrfs
xt_FLOWOFFLOAD          2592  0 
xt_LOG                   848  0 
xt_REDIRECT              784  0 
xt_TCPMSS               2864  0 
xt_comment               560119 
xt_conntrack            2384 14 
xt_limit                1264 20 
xt_mac                   688  0 
xt_mark                  752  0 
xt_multiport            1360  0 
xt_nat                  1616  0 
xt_state                 784  0 
xt_tcpudp               1872  8 
xt_time                 1840  0 
xts                     5066  0 
xxhash                  8139  2 zstd_decompress,zstd_compress
zstd_compress         156106  1 btrfs
zstd_decompress        58732  1 btrfs

/proc/crypto:

<code>name         : sha224

driver : sha224-generic
module : sha256_generic
priority : 0
refcnt : 1
selftest : passed
internal : no
type : shash
blocksize : 64
digestsize : 28

name : sha256
driver : sha256-generic
module : sha256_generic
priority : 0
refcnt : 1
selftest : passed
internal : no
type : shash
blocksize : 64
digestsize : 32

name : jitterentropy_rng
driver : jitterentropy_rng
module : jitterentropy_rng
priority : 100
refcnt : 1
selftest : passed
internal : no
type : rng
seedsize : 0

name : stdrng
driver : drbg_nopr_hmac_sha256
module : drbg
priority : 207
refcnt : 1
selftest : passed
internal : no
type : rng
seedsize : 0

name : stdrng
driver : drbg_nopr_hmac_sha512
module : drbg
priority : 206
refcnt : 1
selftest : passed
internal : no
type : rng
seedsize : 0

name : stdrng
driver : drbg_nopr_hmac_sha384
module : drbg
priority : 205
refcnt : 1
selftest : passed
internal : no
type : rng
seedsize : 0

name : stdrng
driver : drbg_nopr_hmac_sha1
module : drbg
priority : 204
refcnt : 1
selftest : passed
internal : no
type : rng
seedsize : 0

name : stdrng
driver : drbg_pr_hmac_sha256
module : drbg
priority : 203
refcnt : 1
selftest : passed
internal : no
type : rng
seedsize : 0

name : stdrng
driver : drbg_pr_hmac_sha512
module : drbg
priority : 202
refcnt : 1
selftest : passed
internal : no
type : rng
seedsize : 0

name : stdrng
driver : drbg_pr_hmac_sha384
module : drbg
priority : 201
refcnt : 1
selftest : passed
internal : no
type : rng
seedsize : 0

name : stdrng
driver : drbg_pr_hmac_sha1
module : drbg
priority : 200
refcnt : 1
selftest : passed
internal : no
type : rng
seedsize : 0

name : crc32c
driver : crc32c-generic
module : crc32c_generic
priority : 100
refcnt : 3
selftest : passed
internal : no
type : shash
blocksize : 1
digestsize : 4

name : lzo
driver : lzo-scomp
module : kernel
priority : 0
refcnt : 1
selftest : passed
internal : no
type : scomp

name : lzo
driver : lzo-generic
module : kernel
priority : 0
refcnt : 2
selftest : passed
internal : no
type : compression

name : zlib-deflate
driver : zlib-deflate-scomp
module : kernel
priority : 0
refcnt : 1
selftest : passed
internal : no
type : scomp

name : deflate
driver : deflate-scomp
module : kernel
priority : 0
refcnt : 1
selftest : passed
internal : no
type : scomp

name : deflate
driver : deflate-generic
module : kernel
priority : 0
refcnt : 2
selftest : passed
internal : no
type : compression

name : ecb(arc4)
driver : ecb(arc4)-generic
module : kernel
priority : 100
refcnt : 1
selftest : passed
internal : no
type : blkcipher
blocksize : 1
min keysize : 1
max keysize : 256
ivsize : 0
geniv : <default>

name : arc4
driver : arc4-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
internal : no
type : cipher
blocksize : 1
min keysize : 1
max keysize : 256

name : aes
driver : aes-generic
module : kernel
priority : 100
refcnt : 2
selftest : passed
internal : no
type : cipher
blocksize : 16
min keysize : 16
max keysize : 32

name : digest_null
driver : digest_null-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
internal : no
type : shash
blocksize : 1
digestsize : 0

name : compress_null
driver : compress_null-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
internal : no
type : compression

name : ecb(cipher_null)
driver : ecb-cipher_null
module : kernel
priority : 100
refcnt : 1
selftest : passed
internal : no
type : blkcipher
blocksize : 1
min keysize : 0
max keysize : 0
ivsize : 0
geniv : <default>

name : cipher_null
driver : cipher_null-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
internal : no
type : cipher
blocksize : 1
min keysize : 0
max keysize : 0</code>

28.06.20181618KernelBug ReportVery LowMediummtk_soc_eth error with kernel stacktrace since kernel 4...TrunkUnconfirmed Task Description

Xiaomi Mi Router 3G with MediaTek MT7621
I’ve tested with about 5 daily snapshots, but the problem still exists. I think snapshots based on kernels prior to 4.14.50 had no such problem as I had uptime more than 2 weeks
Router stops eth device until reboot, sometimes rebooted with this error automatically, but in most cases I have to login and reboot it manually.
Once I found a correlation with a device performing backup of WatsApp mobile application, router stops eth device in about 2 minutes after restart and return to normal working behavior only after finishing backup by this device.
Here is the messages from the log:
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.132134] ————[ cut here ]———— Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.136778] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0×324 Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.145052] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.152031] 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_FLOWOFFLOAD 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_flow_table_hw nf_flow_table 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 Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.220963] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.50 #0
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.226940] Stack : 00000000 00000000 00000000 00000000 80607ad2 00000034 00000000 00000000
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.235275] 8059cdb4 8059c947 8052758c 00000000 00000000 00000001 8fc09d68 1cc282d2
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.243606] 00000000 00000000 80600000 00006288 00000000 0000013d 00000008 00000000
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.251935] 00000000 805a0000 00035f23 00000000 00000000 00000000 805c0000 803765e8
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.260265] 00000009 00000140 00000000 8fd86c40 00000003 80299e30 00000000 80600000
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.268596] ...
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.271031] Call Trace:
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.273491] [<80010558>] show_stack+0×58/0×100 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.277928] [<8046842c>] dump_stack+0x9c/0xe0
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.282268] [<8002e218>] warn+0xe0/0×114 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.286343] [<8002e27c>] warn_slowpath_fmt+0×30/0x3c
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.291285] [<803765e8>] dev_watchdog+0x1ac/0×324 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.295984] [<800861c4>] call_timer_fn.isra.3+0×24/0×84 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.301184] [<800863dc>] run_timer_softirq+0x1b8/0×244 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.306314] [<804856f0>]
do_softirq+0×128/0x2ec
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.311000] [<80032920>] irq_exit+0×98/0xcc
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.315182] [<8024a82c>] plat_irq_dispatch+0xfc/0×138 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.320209] [<8000b5a8>] except_vec_vi_end+0xb8/0xc4
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.325149] [<8000cf70>] r4k_wait_irqoff+0x1c/0×24 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.329939] [<8006647c>] do_idle+0xe4/0×168 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.334103] [<800666f8>] cpu_startup_entry+0×24/0x2c
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.339048] [<805c5bf8>] start_kernel+0x48c/0x4ac
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.343858] —[ end trace 1c5f30dcaaf8aef8 ]— Wed Jun 27 14:02:30 2018 kern.err kernel: [ 6216.348544] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.354810] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.360833] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0ea80000, max=0, ctx=3009, dtx=2986, fdx=2977, next=3009
Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.371710] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e210000, max=0, calc=3938, drx=3940
Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.785365] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5760000c, 0x10c = 0×80818 Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.798589] mtk_soc_eth 1e100000.ethernet: PPE started

Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.035252] ————[ cut here ]———— Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.039894] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0×324 Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.048165] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.055097] 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_FLOWOFFLOAD 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_flow_table_hw nf_flow_table 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 Jun 27 16:52:20 2018 kern.warn kernel: [10116.123939] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.50 #0
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.129927] Stack : 00000000 00000000 00000000 00000000 80607ad2 00000034 00000000 00000000
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.138263] 8fc44834 8059c947 8052758c 00000002 00000000 00000001 8fc11d68 1cc282d2
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.146606] 00000000 00000000 80600000 000061c8 00000000 0000013a 00000008 00000000
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.154951] 00000000 805a0000 0001e423 00000000 00000000 00000000 805c0000 803765e8
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.163283] 00000009 00000140 00000002 8ffc9c40 00000003 80299e30 00000008 80600008
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.171617] ...
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.174053] Call Trace:
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.176514] [<80010558>] show_stack+0×58/0×100 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.180950] [<8046842c>] dump_stack+0x9c/0xe0
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.185300] [<8002e218>] warn+0xe0/0×114 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.189378] [<8002e27c>] warn_slowpath_fmt+0×30/0x3c
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.194321] [<803765e8>] dev_watchdog+0x1ac/0×324 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.199020] [<800861c4>] call_timer_fn.isra.3+0×24/0×84 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.204220] [<800863dc>] run_timer_softirq+0x1b8/0×244 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.209351] [<804856f0>]
do_softirq+0×128/0x2ec
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.214039] [<80032920>] irq_exit+0×98/0xcc
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.218224] [<8024a82c>] plat_irq_dispatch+0xfc/0×138 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.223252] [<8000b5a8>] except_vec_vi_end+0xb8/0xc4
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.228195] [<8000cf70>] r4k_wait_irqoff+0x1c/0×24 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.232986] [<8006647c>] do_idle+0xe4/0×168 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.237152] [<800666f8>] cpu_startup_entry+0×24/0x2c
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.242104] [<800180b4>] not_nmi+0x8c/0x1d8
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.246325] —[ end trace d3f46981f3a08d6e ]— Wed Jun 27 16:52:20 2018 kern.err kernel: [10116.250930] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.257093] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.263075] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0eaa0000, max=0, ctx=3816, dtx=3812, fdx=3803, next=3816
Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.273916] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e230000, max=0, calc=3651, drx=3652
Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.688339] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5860000c, 0x10c = 0×80818 Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.701640] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:52:26 2018 kern.err kernel: [10122.115217] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.121415] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.127452] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0e260000, max=0, ctx=4, dtx=0, fdx=0, next=4
Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.137321] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0de30000, max=0, calc=149, drx=150
Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.548342] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5460000c, 0x10c = 0×80818 Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.562101] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:52:35 2018 kern.err kernel: [10132.035215] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:35 2018 kern.info kernel: [10132.041420] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:35 2018 kern.info kernel: [10132.047471] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0e0b0000, max=0, ctx=2, dtx=0, fdx=0, next=2
Wed Jun 27 16:52:35 2018 kern.info kernel: [10132.057333] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0d480000, max=0, calc=296, drx=297
Wed Jun 27 16:52:36 2018 kern.info kernel: [10132.468120] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5060030c, 0x10c = 0×80818 Wed Jun 27 16:52:36 2018 kern.info kernel: [10132.482429] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:52:45 2018 kern.err kernel: [10142.035113] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:45 2018 kern.info kernel: [10142.041301] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:45 2018 kern.info kernel: [10142.047328] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0dea0000, max=0, ctx=1, dtx=0, fdx=0, next=1
Wed Jun 27 16:52:45 2018 kern.info kernel: [10142.057147] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0ec40000, max=0, calc=358, drx=359
Wed Jun 27 16:52:46 2018 kern.info kernel: [10142.468048] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x4a60090c, 0x10c = 0×80818 Wed Jun 27 16:52:46 2018 kern.info kernel: [10142.482993] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:52:55 2018 kern.err kernel: [10152.035093] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:55 2018 kern.info kernel: [10152.041279] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:55 2018 kern.info kernel: [10152.047294] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0d500000, max=0, ctx=1, dtx=0, fdx=0, next=1
Wed Jun 27 16:52:55 2018 kern.info kernel: [10152.057096] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0d570000, max=0, calc=389, drx=390
Wed Jun 27 16:52:56 2018 kern.info kernel: [10152.468021] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5460000c, 0x10c = 0×80818 Wed Jun 27 16:52:56 2018 kern.info kernel: [10152.482044] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:53:05 2018 daemon.info hostapd: wlan0: STA 80:56:f2:b3:3f:b5 IEEE 802.11: authenticated
Wed Jun 27 16:53:05 2018 daemon.info hostapd: wlan0: STA 80:56:f2:b3:3f:b5 IEEE 802.11: associated (aid 2)
Wed Jun 27 16:53:05 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 80:56:f2:b3:3f:b5
Wed Jun 27 16:53:05 2018 daemon.info hostapd: wlan0: STA 80:56:f2:b3:3f:b5 WPA: pairwise key handshake completed (RSN)
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq-dhcp[2484]: DHCPREQUEST(br-lan) 172.29.192.119 80:56:f2:b3:3f:b5
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq-dhcp[2484]: DHCPACK(br-lan) 172.29.192.119 80:56:f2:b3:3f:b5 PZhukov-02-wifi
Wed Jun 27 16:53:05 2018 daemon.warn odhcpd[1083]: DHCPV6 SOLICIT IA_NA from 0001000121c0435874867a519335 on br-lan: ok fdc9:c20f:b3e1::7fa/128
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq[2484]: read /etc/hosts - 4 addresses
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq[2484]: read /tmp/hosts/odhcpd - 7 addresses
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq[2484]: read /tmp/hosts/dhcp.cfg01411c - 16 addresses
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq-dhcp[2484]: read /etc/ethers - 0 addresses
Wed Jun 27 16:53:05 2018 kern.err kernel: [10162.035026] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:53:05 2018 kern.info kernel: [10162.041227] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:53:05 2018 kern.info kernel: [10162.047256] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0d480000, max=0, ctx=1, dtx=0, fdx=0, next=1
Wed Jun 27 16:53:05 2018 kern.info kernel: [10162.057058] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0df90000, max=0, calc=290, drx=291
Wed Jun 27 16:53:06 2018 kern.info kernel: [10162.467931] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x46600d0c, 0x10c = 0×80818 Wed Jun 27 16:53:06 2018 kern.info kernel: [10162.475297] mtk_soc_eth 1e100000.ethernet: reset pse
Wed Jun 27 16:53:06 2018 kern.emerg kernel: [10162.486116] skbuff: skb_over_panic: text:803091b4 len:1568 put:1568 head:8de28e00 data:8de28e42 tail:0x8de29462 end:0x8de29460 dev:eth0
Wed Jun 27 16:53:06 2018 kern.info kernel: [10162.486270] mtk_soc_eth 1e100000.ethernet: PPE started

Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.134652] ————[ cut here ]———— Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.139303] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0×324 Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.147555] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.154480] 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_FLOWOFFLOAD 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_flow_table_hw nf_flow_table 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 sit tunnel4 ip_tunnel tun leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.225260] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.51 #0
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.231234] Stack : 00000000 00000000 00000000 00000000 80607ad2 00000034 00000000 00000000
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.239567] 8059edb4 8059e947 8052860c 00000000 00000000 00000001 8fc09d68 1cc282d3
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.247901] 00000000 00000000 80600000 000062e8 00000000 0000013e 00000008 00000000
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.256231] 00000000 805a0000 00036fec 00000000 00000000 00000000 805c0000 80376df8
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.264561] 00000009 00000140 00000000 8fe2ce40 00000003 8029a160 00000000 80600000
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.272890] ...
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.275326] Call Trace:
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.277780] [<80010598>] show_stack+0×58/0×100 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.282216] [<80468c5c>] dump_stack+0x9c/0xe0
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.286557] [<8002e328>] warn+0xe0/0×114 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.290632] [<8002e38c>] warn_slowpath_fmt+0×30/0x3c
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.295573] [<80376df8>] dev_watchdog+0x1ac/0×324 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.300269] [<80086204>] call_timer_fn.isra.3+0×24/0×84 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.305469] [<8008641c>] run_timer_softirq+0x1b8/0×244 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.310597] [<80485f10>]
do_softirq+0×128/0x2ec
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.315285] [<80032a30>] irq_exit+0×98/0xcc
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.319466] [<8024a95c>] plat_irq_dispatch+0xfc/0×138 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.324491] [<8000b5e8>] except_vec_vi_end+0xb8/0xc4
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.329431] [<8000cfb0>] r4k_wait_irqoff+0x1c/0×24 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.334221] [<800664bc>] do_idle+0xe4/0×168 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.338391] [<80066738>] cpu_startup_entry+0×24/0x2c
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.343339] [<805c7bf8>] start_kernel+0x48c/0x4ac
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.348123] —[ end trace 26a1a8527dad924c ]— Thu Jun 28 10:55:49 2018 kern.err kernel: [ 6066.352729] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.358911] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.364918] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0eac0000, max=0, ctx=3327, dtx=3314, fdx=3306, next=3327
Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.375761] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e250000, max=0, calc=2626, drx=2634
Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.787702] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x4e60050c, 0x10c = 0×80818 Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.800991] mtk_soc_eth 1e100000.ethernet: PPE started

04.07.20181630KernelBug ReportVery LowLowmt7621: Unhandled kernel unaligned access (build_skb+0x...TrunkUnconfirmed Task Description

Device problem occurs on: Newifi D1, MT7621
Software versions of OpenWrt/LEDE release: Openwrt Trunk r7313
Steps to reproduce:
I was downloading some blocklists and adding them to ipset lists, then the error occurred.


07.07.20181637KernelBug ReportVery LowMediumXiaomi Mi WiFi Router 3G does not working with USB3.0 H...openwrt-18.06Unconfirmed Task Description

- Xiaomi Mi WiFi Router 3G
- OpenWrt 18.06.0-rc1 r7090-d2aa3a1b62 / LuCI openwrt-18.06 branch (git-18.163.60998-c379f00)
- After connecting the docking station(USB3.0 HDD docking station Maiwo K308(JMS567 chipset) - an error occurs, as indicated in the logs below.
On stock firmware it's working without problems, on Padavan rt-n56u too.
dmesg

[    0.000000] Linux version 4.14.50 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6984-fa0275b)) #0 SMP Fri Jun 22 10:22:57 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 80543e00, 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] random: get_random_bytes called from 0x80547740 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu @81210000 s26256 r8192 d22896 u57344
[    0.000000] pcpu-alloc: s26256 r8192 d22896 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, 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=00011020
[    0.000000] Readback ErrCtl register=00011020
[    0.000000] Memory: 253660K/262144K available (4589K kernel code, 238K rwdata, 564K rodata, 228K init, 275K bss, 8484K 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.007810] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.073970] pid_max: default: 32768 minimum: 301
[    0.078735] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.085242] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.093942] Hierarchical SRCU implementation.
[    0.099007] smp: Bringing up secondary CPUs ...
[    0.104173] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.104182] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.104194] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.104334] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.163753] Synchronize counters for CPU 1: done.
[    0.198312] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.198321] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.198330] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.198405] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.254840] Synchronize counters for CPU 2: done.
[    0.285278] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.285285] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.285293] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.285371] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.340021] Synchronize counters for CPU 3: done.
[    0.369881] smp: Brought up 1 node, 4 CPUs
[    0.377576] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.387361] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.393653] pinctrl core: initialized pinctrl subsystem
[    0.399470] NET: Registered protocol family 16
[    0.409679] Can't analyze schedule() prologue at 80476f64
[    0.415043] FPU Affinity set after 11720 emulations
[    0.415750] pull PCIe RST: RALINK_RSTCTRL = 4000000
[    0.720900] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.725932] ***** Xtal 40MHz *****
[    0.729306] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.734412] Port 0 N_FTS = 1b105000
[    0.737854] Port 1 N_FTS = 1b105000
[    0.741314] Port 2 N_FTS = 1b102800
[    1.896374] PCIE2 no card, disable it(RST&CLK)
[    1.900722]  -> 21007f2
[    1.903135] PCIE0 enabled
[    1.905726] PCIE1 enabled
[    1.908347] PCI host bridge /pcie@1e140000 ranges:
[    1.913091]  MEM 0x0000000060000000..0x000000006fffffff
[    1.918259]   IO 0x000000001e160000..0x000000001e16ffff
[    1.923463] PCI coherence region base: 0x8fc35cf0, mask/settings: 0x60000000
[    1.938845] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.944744] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.950499] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.957458] PCI host bridge to bus 0000:00
[    1.961489] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.968345] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    1.974177] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.980935] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.988824] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.988865] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.988878] pci 0000:00:00.0: reg 0x14: [mem 0x60300000-0x6030ffff]
[    1.988943] pci 0000:00:00.0: supports D1
[    1.988952] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.989205] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.989242] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.989261] pci 0000:00:01.0: reg 0x14: [mem 0x60310000-0x6031ffff]
[    1.989324] pci 0000:00:01.0: supports D1
[    1.989333] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.989803] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[    1.989856] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    1.989984] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    1.990180] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.990405] pci 0000:02:00.0: [14c3:7662] type 00 class 0x028000
[    1.990467] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    1.990513] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    1.990609] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    1.990808] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.990834] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[    1.990909] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.997459] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.004333] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.010916] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.017817] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.024579] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    2.031289] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
[    2.038482] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    2.045211] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    2.051972] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    2.058684] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.063634] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.070354] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[    2.077630] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
[    2.084769] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.089716] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    2.096438] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff pref]
[    2.104993] clocksource: Switched to clocksource GIC
[    2.111407] NET: Registered protocol family 2
[    2.116540] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    2.123424] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    2.129870] TCP: Hash tables configured (established 2048 bind 2048)
[    2.136287] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.142049] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.148533] NET: Registered protocol family 1
[    2.152868] PCI: CLS 0 bytes, default 32
[    2.384942] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.391343] Crashlog allocated RAM at address 0x3f00000
[    2.396687] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    2.404912] random: fast init done
[    2.410539] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.416318] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.429400] io scheduler noop registered
[    2.433238] io scheduler deadline registered (default)
[    2.439026] gpio-export gpio_export: 1 gpio(s) exported
[    2.444882] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.453852] console [ttyS0] disabled
[    2.457479] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    2.466496] console [ttyS0] enabled
[    2.473348] bootconsole [early0] disabled
[    2.482241] cacheinfo: Failed to find cpu0 device node
[    2.487404] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.494304] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.501445] Allocate 16 byte aligned buffer: 805b7ed0
[    2.506518] Enable NFI Clock
[    2.509384] # MTK NAND # : Use HW ECC
[    2.513042] Device found in MTK table, ID: c8d1, EXT_ID: 809540
[    2.518959] Support this Device in MTK table! c8d1
[    2.523907] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    2.530377] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[    2.536713] nand: ESMT NAND 128MiB 3,3V 8-bit
[    2.541049] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.548604] Scanning device for bad blocks
[    2.697019] 10 fixed-partitions partitions found on MTD device MT7621-NAND
[    2.703860] Creating 10 MTD partitions on "MT7621-NAND":
[    2.709168] 0x000000000000-0x000000080000 : "Bootloader"
[    2.715605] 0x000000080000-0x0000000c0000 : "Config"
[    2.721544] 0x0000000c0000-0x000000100000 : "Bdata"
[    2.727378] 0x000000100000-0x000000140000 : "Factory"
[    2.733371] 0x000000140000-0x000000180000 : "crash"
[    2.739233] 0x000000180000-0x0000001c0000 : "crash_syslog"
[    2.745747] 0x0000001c0000-0x000000200000 : "reserved0"
[    2.751941] 0x000000200000-0x000000600000 : "kernel_stock"
[    2.758465] 0x000000600000-0x000000a00000 : "kernel"
[    2.764398] 0x000000a00000-0x000007f80000 : "ubi"
[    2.771067] [mtk_nand] probe successfully!
[    2.775900] Signature matched and data read!
[    2.780148] load_fact_bbt success 1023
[    2.784635] libphy: Fixed MDIO Bus: probed
[    2.857534] libphy: mdio: probed
[    4.261146] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.267827] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    4.278580] NET: Registered protocol family 10
[    4.284643] Segment Routing with IPv6
[    4.288457] NET: Registered protocol family 17
[    4.292952] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.305864] 8021q: 802.1Q VLAN Support v1.8
[    4.312990] UBI: auto-attach mtd9
[    4.316370] ubi0: attaching mtd9
[    4.461474] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[    5.429019] ubi0: scanning is finished
[    5.449109] ubi0: attached mtd9 (name "ubi", size 117 MiB)
[    5.454586] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.461470] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.468245] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.475187] ubi0: good PEBs: 940, bad PEBs: 0, corrupted PEBs: 0
[    5.481163] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    5.488363] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 687133564
[    5.497380] ubi0: available PEBs: 0, total reserved PEBs: 940, PEBs reserved for bad PEB handling: 20
[    5.506590] ubi0: background thread "ubi_bgt0d" started, PID 387
[    5.508389] block ubiblock0_0: created from ubi0:0(rootfs)
[    5.508401] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    5.508418] hctosys: unable to open rtc device (rtc0)
[    5.537185] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    5.544797] Freeing unused kernel memory: 228K
[    5.549260] This architecture does not have kernel memory protection.
[    6.066583] init: Console is alive
[    6.070218] init: - watchdog -
[    6.146572] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[    6.632043] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.720511] usbcore: registered new interface driver usbfs
[    6.726121] usbcore: registered new interface driver hub
[    6.731594] usbcore: registered new device driver usb
[    6.745791] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.751131] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    6.765180] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[    6.773665] xhci-mtk 1e1c0000.xhci: irq 19, io mem 0x1e1c0000
[    6.780440] hub 1-0:1.0: USB hub found
[    6.784257] hub 1-0:1.0: 2 ports detected
[    6.788934] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.794245] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    6.801735] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
[    6.808355] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.817321] hub 2-0:1.0: USB hub found
[    6.821132] hub 2-0:1.0: 1 port detected
[    6.828283] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.845358] init: - preinit -
[    6.901556] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
[    7.225172] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[    7.304253] random: procd: uninitialized urandom read (4 bytes read)
[    7.531222] mtk_soc_eth 1e100000.ethernet: PPE started
[   10.292596] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[   10.751693] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 484
[   10.826593] UBIFS (ubi0:1): recovery needed
[   11.000433] UBIFS (ubi0:1): recovery completed
[   11.005062] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   11.012858] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.022746] UBIFS (ubi0:1): FS size: 112373760 bytes (107 MiB, 885 LEBs), journal size 5586944 bytes (5 MiB, 44 LEBs)
[   11.033315] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[   11.039915] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 81367A9F-39E5-4CEC-A7E5-22AF05B270C8, small LPT model
[   11.064431] mount_root: loading kmods from internal overlay
[   11.153260] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.407918] SCSI subsystem initialized
[   11.442899] usbcore: registered new interface driver usb-storage
[   11.455482] scsi host0: uas
[   11.459086] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 4
[   11.467505] xhci-mtk 1e1c0000.xhci: @000000000f78b190 0e9ae000 00000000 05000000 01058001
[   11.475647] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 6
[   11.484046] xhci-mtk 1e1c0000.xhci: @000000000f78b1a0 0e9ae100 00000000 05000000 01078001
[   32.575006] scsi 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[   32.582562] scsi 0:0:0:0: tag#0 CDB: opcode=0x12 12 00 00 00 24 00
[   32.588806] xhci-mtk 1e1c0000.xhci: Mismatch between completed Set TR Deq Ptr command & xHCI internal state.
[   32.598592] xhci-mtk 1e1c0000.xhci: ep deq seg = 8ea5ef00, deq ptr = aea6b010
[   33.684978] scsi host0: uas_eh_device_reset_handler FAILED to get lock err -16
[   33.692180] scsi 0:0:0:0: Device offlined - not ready after error recovery
[   33.699447] usbcore: registered new interface driver uas
[   33.705098] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   33.932535] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   33.943699] block: extroot: not configured
[   33.988383] mount_root: switching to ubifs overlay
[   34.020262] urandom-seed: Seeding with /etc/urandom.seed
[   34.120351] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[   34.138950] procd: - early -
[   34.141928] procd: - watchdog -
[   34.835159] procd: - watchdog -
[   34.838603] procd: - ubus -
[   34.904456] random: ubusd: uninitialized urandom read (4 bytes read)
[   34.915756] random: ubusd: uninitialized urandom read (4 bytes read)
[   34.922515] random: ubusd: uninitialized urandom read (4 bytes read)
[   34.929772] procd: - init -
[   35.294249] kmodloader: loading kernel modules from /etc/modules.d/*
[   35.304919] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   35.641767] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   35.649783] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   35.658312] ip_tables: (C) 2000-2006 Netfilter Core Team
[   36.010163] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   36.222225] xt_time: kernel timezone is -0000
[   36.469843] bus=0x1, slot = 0x0, irq=0xff
[   36.474058] mt7603e 0000:01:00.0: ASIC revision: 76030010
[   36.482777] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
[   36.488374] mt7603e 0000:01:00.0: Build Time: 20160107100755
[   36.514986] firmware init done
[   36.701302] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   36.708452] bus=0x2, slot = 0x1, irq=0xff
[   36.712701] mt76x2e 0000:02:00.0: ASIC revision: 76120044
[   36.745757] mt76x2e 0000:02:00.0: ROM patch build: 20141115060606a
[   36.856607] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
[   36.862095] mt76x2e 0000:02:00.0: Build: 1
[   36.866202] mt76x2e 0000:02:00.0: Build Time: 201507311614____
[   36.895066] mt76x2e 0000:02:00.0: Firmware running!
[   36.901443] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   36.909160] PPP generic driver version 2.4.2
[   36.914863] NET: Registered protocol family 24
[   36.921990] kmodloader: done loading kernel modules from /etc/modules.d/*
[   37.506856] urandom_read: 5 callbacks suppressed
[   37.506868] random: jshn: uninitialized urandom read (4 bytes read)
[   43.328603] mtk_soc_eth 1e100000.ethernet: PPE started
[   43.339035] device eth0 entered promiscuous mode
[   43.339679] random: crng init done
[   43.349998] br-lan: port 1(eth0.1) entered blocking state
[   43.355455] br-lan: port 1(eth0.1) entered disabled state
[   43.361540] device eth0.1 entered promiscuous mode
[   43.369853] br-lan: port 1(eth0.1) entered blocking state
[   43.375326] br-lan: port 1(eth0.1) entered forwarding state
[   43.381418] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   44.095081] pppoe-wan: renamed from ppp0
[   44.395639] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[  161.234025] xhci-mtk 1e1c0000.xhci: Cannot set link state.
[  161.239536] usb usb2-port1: cannot disable (err = -32)
[  161.244695] usb 2-1: USB disconnect, device number 2
[  161.249997] xhci-mtk 1e1c0000.xhci: Mismatch between completed Set TR Deq Ptr command & xHCI internal state.
[  161.259783] xhci-mtk 1e1c0000.xhci: ep deq seg = 8ea5e680, deq ptr = af7fc010
[  173.723928] usb 2-1: new SuperSpeed USB device number 3 using xhci-mtk
[  173.758634] scsi host0: uas
[  173.762521] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 4
[  173.770987] xhci-mtk 1e1c0000.xhci: @000000000f78b400 0e9ae200 00000000 05000000 01058001
[  173.779174] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 6
[  173.787585] xhci-mtk 1e1c0000.xhci: @000000000f78b410 0e9ae100 00000000 05000000 01078001
[  195.773489] scsi 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[  195.781053] scsi 0:0:0:0: tag#0 CDB: opcode=0x12 12 00 00 00 24 00
[  195.787337] xhci-mtk 1e1c0000.xhci: Mismatch between completed Set TR Deq Ptr command & xHCI internal state.
[  195.797126] xhci-mtk 1e1c0000.xhci: ep deq seg = 8f7fde80, deq ptr = ae9ca010
[  196.863444] scsi host0: uas_eh_device_reset_handler FAILED to get lock err -16
[  196.870659] scsi 0:0:0:0: Device offlined - not ready after error recovery
[ 7816.444318] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
[13923.944394] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[13931.685420] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
[13934.647389] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[13935.481016] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
[13938.603966] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[27277.718233] xhci-mtk 1e1c0000.xhci: Cannot set link state.
[27277.723745] usb usb2-port1: cannot disable (err = -32)
[27277.728908] usb 2-1: USB disconnect, device number 3
[27277.734217] xhci-mtk 1e1c0000.xhci: Mismatch between completed Set TR Deq Ptr command & xHCI internal state.
[27277.744004] xhci-mtk 1e1c0000.xhci: ep deq seg = 8f7f8c80, deq ptr = ae92e010
[27289.778016] usb 2-1: new SuperSpeed USB device number 4 using xhci-mtk
[27289.812666] scsi host0: uas
[27289.816561] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 4
[27289.825022] xhci-mtk 1e1c0000.xhci: @000000000f78b670 0e9ae000 00000000 05000000 01058001
[27289.833207] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 6
[27289.841619] xhci-mtk 1e1c0000.xhci: @000000000f78b680 0e9ae100 00000000 05000000 01078001
[27311.067752] scsi 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[27311.075319] scsi 0:0:0:0: tag#0 CDB: opcode=0x12 12 00 00 00 24 00
[27311.081591] xhci-mtk 1e1c0000.xhci: Mismatch between completed Set TR Deq Ptr command & xHCI internal state.
[27311.091378] xhci-mtk 1e1c0000.xhci: ep deq seg = 8f7a4680, deq ptr = ae9ca010
[27312.177719] scsi host0: uas_eh_device_reset_handler FAILED to get lock err -16
[27312.184941] scsi 0:0:0:0: Device offlined - not ready after error recovery

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 152d:0567 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub


16.07.20181661KernelBug ReportVery LowMediumAfter to install 18.06rc2 mwifiex_sdio mmc0:0001:1: cm...openwrt-18.06Unconfirmed Task Description

For linksysWRT3200 , After to install 18.06rc2 (OpenWrt 18.06.0-rc2 r7141-e4d0ee5af5 / LuCI openwrt-18.06 branch (git-18.196.56128-9112198))
The message :

Mon Jul 16 18:00:17 2018 kern.info kernel: [ 1282.616384] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:00:17 2018 kern.info kernel: [ 1282.622511] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:00:17 2018 kern.info kernel: [ 1282.628634] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:00:17 2018 kern.info kernel: [ 1282.634760] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:00:17 2018 kern.info kernel: [ 1282.640883] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512

case number :

FS#1074
 FS#1220 

root@link:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.54 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7101-a63e38b)) #0 SMP Sat Jul 14 11:10:08 2018
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Linksys WRT3200ACM
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] free_area_init_node: node 0, pgdat c0930d80, node_mem_map dfbf9000
[ 0.000000] Normal zone: 1024 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 131072 pages, LIFO batch:31
[ 0.000000] random: get_random_bytes called from 0xc08008d0 with crng_init=0
[ 0.000000] percpu: Embedded 12 pages/cpu @dfbd0000 s18892 r8192 d22068 u49152
[ 0.000000] pcpu-alloc: s18892 r8192 d22068 u49152 alloc=12*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock8 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,128K(u_env),256K(s_env),256K@8064K(devinfo),1920K@8320K(sysdiag),80m@10m(kernel),74m@16m(rootfs),80m@90m(alt_kernel),74m@96m(alt_rootfs),160m@10m(ubifs),-@170m(syscfg)
[ 0.000000] Bootloader command line (ignored): console=ttyS0,115200 root=/dev/mtdblock8 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,128K(u_env),256K(s_env),256K@8064K(devinfo),1920K@8320K(sysdiag),80m@10m(kernel),74m@16m(rootfs),80m@90m(alt_kernel),74m@96m(alt_rootfs),160m@10m(ubifs),-@170m(syscfg)
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 510920K/524288K available (6144K kernel code, 197K rwdata, 804K rodata, 1024K init, 248K bss, 13368K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB)
[ 0.000000] .init : 0xc0800000 - 0xc0900000 (1024 kB)
[ 0.000000] .data : 0xc0900000 - 0xc0931680 ( 198 kB)
[ 0.000000] .bss : 0xc0931680 - 0xc096f774 ( 249 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 D prefetch enabled, offset 1 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[ 0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[ 0.000006] sched_clock: 64 bits at 933MHz, resolution 1ns, wraps every 4398046511103ns
[ 0.000014] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x1ae5b571769, max_idle_ns: 881590513431 ns
[ 0.000025] Switching to timer-based delay loop, resolution 1ns
[ 0.000122] Ignoring duplicate/late registration of read_current_timer delay
[ 0.000128] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[ 0.000242] Calibrating delay loop (skipped), value calculated using timer frequency.. 1866.00 BogoMIPS (lpj=9330000)
[ 0.000249] pid_max: default: 32768 minimum: 301
[ 0.000295] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000299] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000484] CPU: Testing write buffer coherency: ok
[ 0.000576] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.000667] Setting up static identity map for 0x100000 - 0x100060
[ 0.000726] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[ 0.000786] mvebu-pmsu: Initializing Power Management Service Unit
[ 0.000821] Hierarchical SRCU implementation.
[ 0.000966] smp: Bringing up secondary CPUs ...
[ 0.001060] Booting CPU 1
[ 0.001197] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.001230] smp: Brought up 1 node, 2 CPUs
[ 0.001235] SMP: Total of 2 processors activated (3732.00 BogoMIPS).
[ 0.001238] CPU: All CPU(s) started in SVC mode.
[ 0.002555] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.002596] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.002603] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.002643] pinctrl core: initialized pinctrl subsystem
[ 0.002914] NET: Registered protocol family 16
[ 0.003350] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.003893] cpuidle: using governor ladder
[ 0.004023] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[ 0.004028] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[ 0.008695] reg-fixed-voltage usb3_1-vbus: could not find pctldev for node /soc/internal-regs/pinctrl@18000/usb3_1-vbus-pins, deferring probe
[ 0.008816] SCSI subsystem initialized
[ 0.008957] libata version 3.00 loaded.
[ 0.009033] usbcore: registered new interface driver usbfs
[ 0.009053] usbcore: registered new interface driver hub
[ 0.009074] usbcore: registered new device driver usb
[ 0.009534] clocksource: Switched to clocksource arm_global_timer
[ 0.009830] NET: Registered protocol family 2
[ 0.010047] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.010094] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.010122] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.010156] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.010170] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.010233] NET: Registered protocol family 1
[ 0.010244] PCI: CLS 0 bytes, default 64
[ 0.010981] Crashlog allocated RAM at address 0x3f00000
[ 0.011026] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.012358] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.012363] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.013343] io scheduler noop registered
[ 0.013348] io scheduler deadline registered (default)
[ 0.013708] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[ 0.014542] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[ 0.014551] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff]
[ 0.014555] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[ 0.014559] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.014574] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400
[ 0.014649] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400
[ 0.014708] PCI: bus0: Fast back to back transfers disabled
[ 0.014714] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.014719] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.014761] pci 0000:01:00.0: [11ab:2b40] type 00 class 0x020000
[ 0.014782] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x401fffff 64bit pref]
[ 0.014792] pci 0000:01:00.0: reg 0x18: [mem 0x40200000-0x402fffff 64bit pref]
[ 0.014850] pci 0000:01:00.0: supports D1 D2
[ 0.014852] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[ 0.014901] PCI: bus1: Fast back to back transfers disabled
[ 0.014907] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.014951] pci 0000:02:00.0: [11ab:2b40] type 00 class 0x020000
[ 0.014977] pci 0000:02:00.0: reg 0x10: [mem 0x42000000-0x421fffff 64bit pref]
[ 0.014988] pci 0000:02:00.0: reg 0x18: [mem 0x42200000-0x422fffff 64bit pref]
[ 0.015068] pci 0000:02:00.0: supports D1 D2
[ 0.015070] pci 0000:02:00.0: PME# supported from D0 D1 D3hot D3cold
[ 0.015119] PCI: bus2: Fast back to back transfers disabled
[ 0.015124] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 0.015139] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe02fffff]
[ 0.015144] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0400000-0xe06fffff]
[ 0.015150] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe01fffff 64bit pref]
[ 0.015159] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
[ 0.015167] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.015172] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe02fffff]
[ 0.015179] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0400000-0xe05fffff 64bit pref]
[ 0.015188] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0600000-0xe06fffff 64bit pref]
[ 0.015197] pci 0000:00:02.0: PCI bridge to [bus 02]
[ 0.015201] pci 0000:00:02.0: bridge window [mem 0xe0400000-0xe06fffff]
[ 0.015397] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.079912] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[ 0.080013] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.139893] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[ 0.140029] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.140589] console [ttyS0] disabled
[ 0.160651] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[ 0.930129] console [ttyS0] enabled
[ 0.934890] loop: module loaded
[ 0.938298] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ 0.947414] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ 0.956529] scsi host0: ahci-mvebu
[ 0.960066] scsi host1: ahci-mvebu
[ 0.963533] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[ 0.971494] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[ 0.979789] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[ 0.987554] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda
[ 0.993945] nand: AMD/Spansion S34ML02G2
[ 0.997885] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[ 1.005586] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[ 1.012766] Bad block table found at page 131008, version 0x01
[ 1.018954] Bad block table found at page 130944, version 0x01
[ 1.025076] 11 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[ 1.032161] Creating 11 MTD partitions on "pxa3xx_nand-0":
[ 1.037671] 0x000000000000-0x000000200000 : "u-boot"
[ 1.042858] 0x000000200000-0x000000220000 : "u_env"
[ 1.047911] 0x000000220000-0x000000260000 : "s_env"
[ 1.052967] 0x0000007e0000-0x000000820000 : "devinfo"
[ 1.058188] 0x000000820000-0x000000a00000 : "sysdiag"
[ 1.063421] 0x000000a00000-0x000005a00000 : "kernel1"
[ 1.068789] 0x000001000000-0x000005a00000 : "rootfs1"
[ 1.074148] 0x000005a00000-0x00000aa00000 : "kernel2"
[ 1.079538] 0x000006000000-0x00000aa00000 : "ubi"
[ 1.084545] 0x00000aa00000-0x000010000000 : "syscfg"
[ 1.089844] 0x000000260000-0x000000820000 : "unused_area"
[ 1.095683] libphy: Fixed MDIO Bus: probed
[ 1.100048] libphy: orion_mdio_bus: probed
[ 1.104297] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[ 1.112892] mvneta f1070000.ethernet eth0: Using hardware mac address 60:38:e0:be:19:c8
[ 1.122057] mvneta f1034000.ethernet eth1: Using random mac address 92:b9:2d:7c:38:27
[ 1.130060] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.136616] ehci-pci: EHCI PCI platform driver
[ 1.141105] ehci-platform: EHCI generic platform driver
[ 1.146407] ehci-orion: EHCI orion driver
[ 1.150509] orion-ehci f1058000.usb: EHCI Host Controller
[ 1.155943] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[ 1.163591] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[ 1.189528] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[ 1.195652] hub 1-0:1.0: USB hub found
[ 1.199429] hub 1-0:1.0: 1 port detected
[ 1.203752] usbcore: registered new interface driver usb-storage
[ 1.209934] i2c /dev entries driver
[ 1.224652] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[ 1.237052] orion_wdt: Initial timeout 171 sec
[ 1.241724] sdhci: Secure Digital Host Controller Interface driver
[ 1.247930] sdhci: Copyright© Pierre Ossman
[ 1.309551] mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using ADMA
[ 1.310638] ata1: SATA link down (SStatus 0 SControl 300)
[ 1.310665] ata2: SATA link down (SStatus 0 SControl 300)
[ 1.327903] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.339587] marvell-cesa f1090000.crypto: CESA device successfully registered
[ 1.347128] NET: Registered protocol family 10
[ 1.352001] Segment Routing with IPv6
[ 1.355713] NET: Registered protocol family 17
[ 1.360197] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.373347] 8021q: 802.1Q VLAN Support v1.8
[ 1.377603] Registering SWP/SWPB emulation handler
[ 1.383704] xhci-hcd f10f8000.usb3: xHCI Host Controller
[ 1.389050] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[ 1.396637] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[ 1.405225] xhci-hcd f10f8000.usb3: irq 44, io mem 0xf10f8000
[ 1.411206] hub 2-0:1.0: USB hub found
[ 1.414995] hub 2-0:1.0: 1 port detected
[ 1.419031] xhci-hcd f10f8000.usb3: xHCI Host Controller
[ 1.424384] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[ 1.431920] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[ 1.438453] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.446741] hub 3-0:1.0: USB hub found
[ 1.450531] hub 3-0:1.0: 1 port detected
[ 1.454809] UBI: auto-attach mtd8
[ 1.458144] ubi0: attaching mtd8
[ 1.467207] random: fast init done
[ 1.484653] mmc0: new high speed SDIO card at address 0001
[ 1.668919] ubi0: scanning is finished
[ 1.677013] ubi0: attached mtd8 (name "ubi", size 74 MiB)
[ 1.682443] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1.689347] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1.696168] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1.703161] ubi0: good PEBs: 592, bad PEBs: 0, corrupted PEBs: 0
[ 1.709193] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 1.716449] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1598095361
[ 1.725623] ubi0: available PEBs: 0, total reserved PEBs: 592, PEBs reserved for bad PEB handling: 40
[ 1.734889] ubi0: background thread "ubi_bgt0d" started, PID 711
[ 1.741294] block ubiblock0_0: created from ubi0:0(rootfs)
[ 1.746804] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 1.753987] mvsw61xx 10.mvsw61xx: Found MV88E6352 at f1072004.mdio-mii:10
[ 1.760812] mvsw61xx 10.mvsw61xx: Using direct addressing
[ 1.773644] hctosys: unable to open rtc device (rtc0)
[ 1.778963] Waiting 1 sec before mounting root device...
[ 2.810985] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 2.818618] Freeing unused kernel memory: 1024K
[ 2.980600] init: Console is alive
[ 2.984072] init: - watchdog -
[ 3.222828] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.253371] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.269202] init: - preinit -
[ 3.387811] mvneta f1070000.ethernet tmp0: renamed from eth0
[ 3.394072] random: procd: uninitialized urandom read (4 bytes read)
[ 3.440750] mvneta f1034000.ethernet eth0: renamed from eth1
[ 3.480716] mvneta f1070000.ethernet eth1: renamed from tmp0
[ 3.689314] random: jshn: uninitialized urandom read (4 bytes read)
[ 3.705200] random: jshn: uninitialized urandom read (4 bytes read)
[ 3.866957] mvneta f1034000.ethernet eth0: configuring for fixed/sgmii link mode
[ 3.874751] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3.880785] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 3.888676] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 6.941274] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 822
[ 6.962388] UBIFS (ubi0:1): recovery needed
[ 7.027188] UBIFS (ubi0:1): recovery completed
[ 7.031680] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 7.039551] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 7.049510] UBIFS (ubi0:1): FS size: 65138688 bytes (62 MiB, 513 LEBs), journal size 3301376 bytes (3 MiB, 26 LEBs)
[ 7.059995] UBIFS (ubi0:1): reserved for root: 3076660 bytes (3004 KiB)
[ 7.066638] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 70C2FC4C-3BD0-4304-98F7-93F9F3EB483C, small LPT model
[ 7.081802] mount_root: switching to ubifs overlay
[ 7.127874] ubi1: attaching mtd9
[ 7.215272] random: crng init done
[ 7.218689] random: 3 urandom warning(s) missed due to ratelimiting
[ 7.367912] ubi1: scanning is finished
[ 7.376065] ubi1: attached mtd9 (name "syscfg", size 86 MiB)
[ 7.381760] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 7.388664] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 7.395485] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 7.402480] ubi1: good PEBs: 680, bad PEBs: 8, corrupted PEBs: 0
[ 7.408512] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 7.415768] ubi1: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 172982578
[ 7.424856] ubi1: available PEBs: 0, total reserved PEBs: 680, PEBs reserved for bad PEB handling: 32
[ 7.434122] ubi1: background thread "ubi_bgt1d" started, PID 832
[ 7.444494] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 836
[ 7.497115] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "syscfg"
[ 7.504554] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 7.514518] UBIFS (ubi1:0): FS size: 80375808 bytes (76 MiB, 633 LEBs), journal size 4063232 bytes (3 MiB, 32 LEBs)
[ 7.525002] UBIFS (ubi1:0): reserved for root: 3796347 bytes (3707 KiB)
[ 7.531649] UBIFS (ubi1:0): media format: w4/r0 (latest is w5/r0), UUID 60CBF8E8-0C14-4415-AAA6-A4C4F8F8B3B0, small LPT model
[ 7.544453] urandom-seed: Seeding with /etc/urandom.seed
[ 7.576976] mvneta f1034000.ethernet eth0: Link is Down
[ 7.642338] procd: - early -
[ 7.645251] procd: - watchdog -
[ 8.243789] procd: - watchdog -
[ 8.247022] procd: - ubus -
[ 8.300767] procd: - init -
[ 8.392540] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.400889] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 8.750399] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[ 8.758440] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[ 8.771723] «Marvell Mac80211 Wireless PCIE Network Driver version 10.3.4.0-20180330» [ 8.779792] pci 0000:00:01.0: enabling device (0140 → 0142)
[ 8.785569] ieee80211 phy0: priv→pcmd_buf = de270000 priv→pphys_cmd_buf = 1e270000
[ 8.838883] ieee80211 phy0: fw download start
[ 8.838889] ieee80211 phy0: ddr init: download start
[ 8.839267] ieee80211 phy0: ddr init: download complete
[ 8.977023] ieee80211 phy0: FwSize = 450732 downloaded Size = 450732 curr_iteration 65522
[ 11.849521] ieee80211 phy0: fw download complete
[ 11.849553] ieee80211 phy0: device node: /soc/pcie/pcie@1,0
[ 11.864724] ieee80211 phy0: pcmd = de270000
[ 11.882764] ieee80211 phy0: firmware version: 0x9030206
[ 12.189522] ieee80211 phy0: firmware region code: 30
[ 12.220128] ieee80211 phy0: 2G disabled, 5G enabled
[ 12.225029] ieee80211 phy0: 4 TX antennas, 4 RX antennas
[ 12.230507] pci 0000:00:02.0: enabling device (0140 → 0142)
[ 12.236304] ieee80211 phy1: priv→pcmd_buf = d9888000 priv→pphys_cmd_buf = 19888000
[ 12.243678] ieee80211 phy1: fw download start
[ 12.243684] ieee80211 phy1: ddr init: download start
[ 12.244065] ieee80211 phy1: ddr init: download complete
[ 12.385549] ieee80211 phy1: FwSize = 450732 downloaded Size = 450732 curr_iteration 65527
[ 13.579526] ieee80211 phy1: fw download complete
[ 13.579553] ieee80211 phy1: device node: /soc/pcie/pcie@2,0
[ 13.594795] ieee80211 phy1: pcmd = d9888000
[ 13.612837] ieee80211 phy1: firmware version: 0x9030206
[ 13.919523] ieee80211 phy1: firmware region code: 30
[ 13.943308] ieee80211 phy1: 2G enabled, 5G disabled
[ 13.948217] ieee80211 phy1: 4 TX antennas, 4 RX antennas
[ 13.955649] hidraw: raw HID events driver (C) Jiri Kosina
[ 13.964271] Bluetooth: Core ver 2.22
[ 13.967909] NET: Registered protocol family 31
[ 13.972396] Bluetooth: HCI device and connection manager initialized
[ 13.978787] Bluetooth: HCI socket layer initialized
[ 13.983709] Bluetooth: L2CAP socket layer initialized
[ 13.988797] Bluetooth: SCO socket layer initialized
[ 13.994228] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 13.999585] Bluetooth: BNEP filters: protocol multicast
[ 14.004845] Bluetooth: BNEP socket layer initialized
[ 14.011008] Bluetooth: vendor=0x2df, device=0x9136, class=255, fn=2
[ 14.793832] Bluetooth: FW download over, size 695532 bytes
[ 15.389552] sdio platform data not available
[ 15.390259] usbcore: registered new interface driver btusb
[ 15.400625] Bluetooth: HCI UART driver ver 2.3
[ 15.405091] Bluetooth: HCI UART protocol H4 registered
[ 15.410263] Bluetooth: HCI UART protocol BCSP registered
[ 15.415600] Bluetooth: HCI UART protocol ATH3K registered
[ 15.421438] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 15.427389] Bluetooth: HIDP socket layer initialized
[ 15.432837] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 15.753628] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[ 15.760757] mwifiex_sdio mmc0:0001:1: WLAN FW already running! Skip FW dnld
[ 15.767754] mwifiex_sdio mmc0:0001:1: WLAN FW is active
[ 15.797226] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
[ 15.804230] mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during initialization
[ 15.823429] mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (15.68.7.p71)
[ 15.831485] mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (15.68.7.p71)
[ 15.937391] Bluetooth: RFCOMM TTY layer initialized
[ 15.942320] Bluetooth: RFCOMM socket layer initialized
[ 15.947486] Bluetooth: RFCOMM ver 1.11
[ 15.955307] xt_time: kernel timezone is -0000
[ 16.140601] PPP generic driver version 2.4.2
[ 16.145195] NET: Registered protocol family 24
[ 16.150243] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 17.759063] mvneta f1034000.ethernet eth0: configuring for fixed/sgmii link mode
[ 17.766597] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 17.772506] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 17.779101] br-vlan200: port 1(eth0.200) entered blocking state
[ 17.779104] br-vlan200: port 1(eth0.200) entered disabled state
[ 17.779200] device eth0.200 entered promiscuous mode
[ 17.779201] device eth0 entered promiscuous mode
[ 17.779649] br-vlan200: port 1(eth0.200) entered blocking state
[ 17.779652] br-vlan200: port 1(eth0.200) entered forwarding state
[ 17.779685] IPv6: ADDRCONF(NETDEV_UP): br-vlan200: link is not ready
[ 17.790796] br-vlan201: port 1(eth0.201) entered blocking state
[ 17.790799] br-vlan201: port 1(eth0.201) entered disabled state
[ 17.790877] device eth0.201 entered promiscuous mode
[ 17.791185] br-vlan201: port 1(eth0.201) entered blocking state
[ 17.791188] br-vlan201: port 1(eth0.201) entered forwarding state
[ 17.858890] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 18.680860] IPv6: ADDRCONF(NETDEV_UP): wlan2: link is not ready
[ 18.888599] ieee80211 phy0: change: 0xffffffff
[ 18.994774] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 19.183551] ieee80211 phy1: change: 0xffffffff
[ 19.274727] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 19.280876] IPv6: ADDRCONF(NETDEV_CHANGE): br-vlan200: link becomes ready
[ 19.289107] br-vlan200: port 2(wlan2) entered blocking state
[ 19.294807] br-vlan200: port 2(wlan2) entered disabled state
[ 19.300601] device wlan2 entered promiscuous mode
[ 19.305402] br-vlan200: port 3(wlan0) entered blocking state
[ 19.311104] br-vlan200: port 3(wlan0) entered disabled state
[ 19.316873] device wlan0 entered promiscuous mode
[ 19.321674] br-vlan201: port 2(wlan1) entered blocking state
[ 19.327360] br-vlan201: port 2(wlan1) entered disabled state
[ 19.333127] device wlan1 entered promiscuous mode
[ 24.346169] ieee80211 phy1: change: 0x100
[ 24.359245] ieee80211 phy1: change: 0x40
[ 24.359351] ieee80211 phy0: change: 0x100
[ 24.368429] ieee80211 phy0: change: 0x40
[ 24.569526] ieee80211 phy1: change: 0x40
[ 24.579551] ieee80211 phy0: change: 0x40
[ 24.769522] ieee80211 phy1: change: 0x40
[ 24.789527] ieee80211 phy0: change: 0x40
[ 24.889529] ieee80211 phy0: change: 0x100
[ 24.969528] ieee80211 phy1: change: 0x40
[ 25.049454] IPv6: ADDRCONF(NETDEV_CHANGE): wlan2: link becomes ready
[ 25.055923] br-vlan200: port 2(wlan2) entered blocking state
[ 25.061616] br-vlan200: port 2(wlan2) entered forwarding state
[ 25.067603] ieee80211 phy0: change: 0x100
[ 25.079527] ieee80211 phy0: change: 0x42
[ 25.169525] ieee80211 phy1: change: 0x40
[ 25.248564] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 25.255002] br-vlan200: port 3(wlan0) entered blocking state
[ 25.260693] br-vlan200: port 3(wlan0) entered forwarding state
[ 25.287635] br-vlan201: port 3(wlan2-1) entered blocking state
[ 25.293552] br-vlan201: port 3(wlan2-1) entered disabled state
[ 25.299487] device wlan2-1 entered promiscuous mode
[ 25.323099] IPv6: ADDRCONF(NETDEV_UP): wlan2-1: link is not ready
[ 25.329236] br-vlan201: port 3(wlan2-1) entered blocking state
[ 25.335119] br-vlan201: port 3(wlan2-1) entered forwarding state
[ 25.342071] br-vlan201: port 4(wlan0-1) entered blocking state
[ 25.347934] br-vlan201: port 4(wlan0-1) entered disabled state
[ 25.353883] device wlan0-1 entered promiscuous mode
[ 25.359559] ieee80211 phy1: change: 0x40
[ 25.432896] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[ 25.439045] br-vlan201: port 4(wlan0-1) entered blocking state
[ 25.444927] br-vlan201: port 4(wlan0-1) entered forwarding state
[ 25.569565] ieee80211 phy1: change: 0x40
[ 25.582060] IPv6: ADDRCONF(NETDEV_CHANGE): wlan2-1: link becomes ready
[ 25.675580] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[ 25.769570] ieee80211 phy1: change: 0x40
[ 25.969527] ieee80211 phy1: change: 0x40
[ 26.159529] ieee80211 phy1: change: 0x40
[ 26.349526] ieee80211 phy1: change: 0x40
[ 26.539528] ieee80211 phy1: change: 0x40
[ 26.729631] ieee80211 phy1: change: 0x40
[ 26.929529] ieee80211 phy1: change: 0x40
[ 27.008544] ieee80211 phy1: change: 0x100
[ 27.109680] ieee80211 phy1: change: 0x100
[ 27.122731] ieee80211 phy1: change: 0x42
[ 27.265642] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 27.272084] br-vlan201: port 2(wlan1) entered blocking state
[ 27.277769] br-vlan201: port 2(wlan1) entered forwarding state
[ 27.319758] br-vlan200: port 4(wlan1-1) entered blocking state
[ 27.325634] br-vlan200: port 4(wlan1-1) entered disabled state
[ 27.331725] device wlan1-1 entered promiscuous mode
[ 27.407947] IPv6: ADDRCONF(NETDEV_UP): wlan1-1: link is not ready
[ 27.414112] br-vlan200: port 4(wlan1-1) entered blocking state
[ 27.419989] br-vlan200: port 4(wlan1-1) entered forwarding state
[ 27.609665] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
root@link:~# logread -f
Mon Jul 16 18:52:23 2018 daemon.notice hostapd: handle_probe_req: send failed
Mon Jul 16 18:52:23 2018 daemon.notice hostapd: handle_probe_req: send failed
Mon Jul 16 18:52:24 2018 daemon.notice hostapd: handle_probe_req: send failed
Mon Jul 16 18:52:24 2018 daemon.notice hostapd: handle_probe_req: send failed
Mon Jul 16 18:52:24 2018 daemon.info hostapd: wlan2: STA ec:10:7b:25:01:d7 IEEE 802.11: disassociated
Mon Jul 16 18:52:27 2018 daemon.info hostapd: wlan2: STA 54:60:09:2f:43:0e IEEE 802.11: associated
Mon Jul 16 18:52:27 2018 daemon.notice hostapd: wlan2: AP-STA-CONNECTED 54:60:09:2f:43:0e
Mon Jul 16 18:52:27 2018 daemon.info hostapd: wlan2: STA 54:60:09:2f:43:0e RADIUS: starting accounting session EB243674169EB07C
Mon Jul 16 18:52:27 2018 daemon.info hostapd: wlan2: STA 54:60:09:2f:43:0e WPA: pairwise key handshake completed (RSN)
Mon Jul 16 18:52:30 2018 daemon.info hostapd: wlan1-1: STA 18:b4:30:2c:04:4d IEEE 802.11: authenticated
Mon Jul 16 18:52:36 2018 daemon.err uhttpd[2091]: luci: accepted login on /admin/network/wireless for root from 172.31.10.70
Mon Jul 16 18:52:41 2018 daemon.notice hostapd: handle_probe_req: send failed
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.881412] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.887573] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.893702] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.899831] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.905961] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.912092] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.918214] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.924341] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.930465] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.936591] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.942720] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.948842] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.954970] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.961092] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.967219] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.973347] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.979469] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.985596] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.991723] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512
Mon Jul 16 18:52:51 2018 kern.info kernel: [ 91.997845] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -512

31.07.20181718KernelBug ReportVery LowMediumkmod-iwlwifi stacktrace in dmesgopenwrt-18.06Unconfirmed Task Description

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

 

I have observed the following on all recent versions of Openwrt 18.06 on X86_64. When I install the kmod-iwlwifi and the appropriate iwlwifi-firmware-iwl7265d I see numerous stack traces in the dmesg log when I load LuCI and the Wifi doesn’t appear to work. The hardware in question is an Intel M.2 3165 Wifi card inside a ZBOX Nano CI327.

Stack trace is as follows:

[ 258.880235] ————[ cut here ]———— [ 258.885301] WARNING: CPU: 2 PID: 5893 at 0xffffffffa02dd612 [cfg80211@ffffffffa02be000+0×36000]
[ 258.894725] Modules linked in: iwlmvm iwldvm mac80211 iwlwifi cfg80211 compat pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 lzo lz4 iptable_nat ipt_REJECT ipt_MASQUERADE 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_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc r8169 nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache lzo_decompress lzo_compress lz4_decompress lz4_compress iptable_mangle iptable_filter ipt_ECN ip_tables e1000e crc_ccitt sch_cake nf_conntrack act_skbedit
[ 258.973086] act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress i2c_dev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables igb i2c_algo_bit e1000 ifb tun zram zsmalloc crypto_acompress button_hotplug ptp pps_core mii
[ 259.003308] CPU: 2 PID: 5893 Comm: luci Tainted: G W 4.14.54 #0
[ 259.010881] Hardware name: NA ZBOX-CI327NANO-GS-01/ZBOX-CI327NANO-GS-01, BIOS 5.12 01/16/2018
[ 259.020145] task: ffff8802737f0b00 task.stack: ffffc900050ac000
[ 259.026505] RIP: 0010:0xffffffffa02dd612 [cfg80211@ffffffffa02be000+0×36000]
[ 259.034106] RSP: 0018:ffffc900050afac8 EFLAGS: 00010202
[ 259.039790] RAX: 0000000000000000 RBX: ffff880270809400 RCX: 0000000000000000
[ 259.047388] RDX: ffff880271520008 RSI: 0000000000000000 RDI: ffff880271520300
[ 259.055062] RBP: ffffc900050afb00 R08: 0000000000000004 R09: ffff8802760e2014
[ 259.062700] R10: 0000000000000014 R11: 0000000000000ec0 R12: ffffc900050afb28
[ 259.070363] R13: ffff8802760e2014 R14: 0000000000000000 R15: ffff880271520300
[ 259.078040] FS: 00007f4dcf16fb88(0000) GS:ffff88027fd00000(0000) knlGS:0000000000000000
[ 259.086820] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 259.093050] CR2: 00007f0127cdd005 CR3: 00000002717da000 CR4: 00000000001406e0
[ 259.100674] Call Trace:
[ 259.103421] ? 0xffffffff814bdb01
[ 259.107062] 0xffffffff814dfdcd
[ 259.110514] 0xffffffff814dfe8f
[ 259.113940] ? 0xffffffff814dfe40
[ 259.117580] 0xffffffff814defdb
[ 259.121001] 0xffffffff814dfb43
[ 259.124474] 0xffffffff814de7e0
[ 259.127909] 0xffffffff814dec5c
[ 259.131369] 0xffffffff81493d55
[ 259.134845] 0xffffffff814943ca
[ 259.138291] ? 0xffffffffa02c034c [cfg80211@ffffffffa02be000+0×36000]
[ 259.145239] ? 0xffffffff81194739
[ 259.148918] ? 0xffffffff811947ad
[ 259.152547] ? 0xffffffff8126b3e6
[ 259.156150] ? 0xffffffff8115e4f8
[ 259.159823] ? 0xffffffff81152cfe
[ 259.163504] 0xffffffff81495612
[ 259.166977] ? 0xffffffff81495612
[ 259.170578] 0xffffffff81495649
[ 259.174049] 0xffffffff81002f45
[ 259.177467] 0xffffffff81600081
[ 259.180921] RIP: 0033:0x7f4dcef563f2
[ 259.184828] RSP: 002b:00007ffe31e06528 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 259.193073] RAX: ffffffffffffffda RBX: 00007f4dcf16fb88 RCX: 00007f4dcef563f2
[ 259.200707] RDX: 0000000000000000 RSI: 00007ffe31e06578 RDI: 0000000000000007
[ 259.208347] RBP: 000000000000002e R08: 0000000000000000 R09: 0000000000000000
[ 259.216006] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 259.223607] R13: 0000000000a5dc0c R14: 0000000000a793b0 R15: 0000000000a5dc08
[ 259.231171] Code: 00 00 4c 8d b8 00 03 00 00 8b 80 38 0b 00 00 4c 89 ff c0 e8 07 88 45 c8 e8 7c 65 fe ff 48 85 c0 49 89 c6 75 1a 80 7d c8 00 74 14 <0f> 0b 48 89 df e8 74 05 1c e1 b8 ea ff ff ff e9 45 01 00 00 49
[ 259.251522] —[ end trace 0a9a5b29bb2beae3 ]—

01.08.20181723KernelBug ReportVery LowLowWARNING: CPU: 0 PID: 0 at backports-2017-11-01/drivers/...openwrt-18.06Unconfirmed Task Description

I am running openwrt-18.06 on Linksys EA8500 (ipq806x).

I see the following warning in the kernel log (nothing for 10+ minutes in dmesg prior to this, and nothing after):

[  745.944042] ------------[ cut here ]------------
[  745.944108] WARNING: CPU: 0 PID: 0 at backports-2017-11-01/drivers/net/wireless/ath/ath10k/htt_rx.c:1015 0xbf2caf0c [ath10k_core@bf2b5000+0x3d000]
[  745.947840] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD 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_flow_table_hw nf_flow_table 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 leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform
[  746.009232]  sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug
[  746.031433] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.54 #0
[  746.040610] Hardware name: Generic DT based system
[  746.046865] Function entered at [<c030f7e8>] from [<c030ba24>]
[  746.051463] Function entered at [<c030ba24>] from [<c07a5138>]
[  746.057278] Function entered at [<c07a5138>] from [<c0318dcc>]
[  746.063094] Function entered at [<c0318dcc>] from [<c0318eb8>]
[  746.068908] Function entered at [<c0318eb8>] from [<bf2caf0c>]
[  746.074768] Function entered at [<bf2caf0c>] from [<bf2cc404>]
[  746.080544] Function entered at [<bf2cc404>] from [<bf2f5b48>]
[  746.086374] Function entered at [<bf2f5b48>] from [<c06956f8>]
[  746.092173] Function entered at [<c06956f8>] from [<c03015c8>]
[  746.097989] Function entered at [<c03015c8>] from [<c031d13c>]
[  746.103805] Function entered at [<c031d13c>] from [<c0359ba8>]
[  746.109621] Function entered at [<c0359ba8>] from [<c0301488>]
[  746.115436] Function entered at [<c0301488>] from [<c030c60c>]
[  746.121253] Exception stack(0xc0a01f48 to 0xc0a01f90)
[  746.127092] 1f40:                   00000001 00000000 00000000 c03154c0 ffffe000 c0a03c70
[  746.132225] 1f60: c0a03c24 00000000 00000000 c092da28 00000000 00000000 c0a01f90 c0a01f98
[  746.140369] 1f80: c0308844 c0308848 60000013 ffffffff
[  746.148510] Function entered at [<c030c60c>] from [<c0308848>]
[  746.153544] Function entered at [<c0308848>] from [<c034fc18>]
[  746.159273] Function entered at [<c034fc18>] from [<c034ff60>]
[  746.165087] Function entered at [<c034ff60>] from [<c0900c68>]
[  746.170998] ---[ end trace d7b584a1e69fa5ab ]---
[  746.179889] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[  746.181533] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 1, skipped old beacon

not sure what if anything provoked it, and wireless appears to work fine afterwards.

I looked at the backports-2017-11-01 tarball but apparently the source doesn’t quite correspond to what I’m actually running (prebuilt binary from openwrt release downloads):

 998 static void ath10k_htt_rx_h_undecap_raw(struct ath10k *ar,
 999                                         struct sk_buff *msdu,
1000                                         struct ieee80211_rx_status *status,
1001                                         enum htt_rx_mpdu_encrypt_type enctype,
1002                                         bool is_decrypted)
1003 {
1004         struct ieee80211_hdr *hdr;
1005         struct htt_rx_desc *rxd;
1006         size_t hdr_len;
1007         size_t crypto_len;
1008         bool is_first;
1009         bool is_last;
1010 
1011         rxd = (void *)msdu->data - sizeof(*rxd);
1012         is_first = !!(rxd->msdu_end.common.info0 &
1013                       __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU));
1014         is_last = !!(rxd->msdu_end.common.info0 &
1015                      __cpu_to_le32(RX_MSDU_END_INFO0_LAST_MSDU));
1016 
1017         /* Delivered decapped frame:
1018          * [802.11 header]
1019          * [crypto param] <-- can be trimmed if !fcs_err &&
1020          *                    !decrypt_err && !peer_idx_invalid
1021          * [amsdu header] <-- only if A-MSDU
1022          * [rfc1042/llc]
1023          * [payload]
1024          * [FCS] <-- at end, needs to be trimmed
1025          */
1026 
1027         /* This probably shouldn't happen but warn just in case */
1028         if (unlikely(WARN_ON_ONCE(!is_first)))
1029                 return;
1030 
1031         /* This probably shouldn't happen but warn just in case */
1032         if (unlikely(WARN_ON_ONCE(!(is_first && is_last))))
1033                 return;

I suspect one of those two warnings is what is being hit but neither of them is quite at line 1015...

04.08.20181728KernelBug ReportVery LowHighNewifi D1- Unable to rebootAllUnconfirmed Task Description

Newifi D1, openwrt trunk, 18.06, etc.

This device can not reboot and there is a patch that can fix this problem.
The official builds don’t include it, so the only way to solve it is to build the firmware by ourselves, which is very inconvenient.

I hope there is someone who can solve this problem.

Thank you!

The patch is from https://forum.openwrt.org/t/newifi-d1-unable-to-reboot/7910/8

--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1075,7 +1075,7 @@ static const struct flash_info spi_nor_i
 	{ "mx25u6435f",  INFO(0xc22537, 0, 64 * 1024, 128, SECT_4K) },
 	{ "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
 	{ "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) },
-	{ "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+	{ "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_READ_OP) },
 	{ "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_4B_OPCODES) },
 	{ "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
 	{ "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
06.08.20181742KernelBug ReportVery LowHighOpenWrt18.06 is not working on Netgear WNR1000 v2 due t...openwrt-18.06Unconfirmed Task Description

Netgear WNR1000 v2
OpenWrt 18.06 is unable to mount jffs2 with the following message:
daemon.err mount_root: failed - mount -t jffs2 /dev/mtdblock5 /rom/overlay: Invalid argument

Snapshot is working.

16.08.20181784KernelBug ReportVery LowMediumMany 5Ghz channels are missing from the Linksys EA3500 AllUnconfirmed Task Description

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

 

As far as I am aware this issue has been present since 17.XX
On EA3500 and EA4500 only the lowest 4 5Ghz channels are available.

There is a [[Patch|https://patchwork.kernel.org/patch/10060831/]] which was accepted and fixed the issue 
but never merged/included in the source for these devices .
Steps to reproduce this issue is simply installing Lede on the device  , same on any Lede 17.XX version or 
even the newly released 18.06.0.
17.08.20181790KernelBug ReportVery LowLowStability issue remains using mt7612e as WWAN (kernel o...TrunkUnconfirmed Task Description

Device problem occurs on: Newifi D1
Software versions of OpenWrt/LEDE release: r7844
Steps to reproduce:
The issue tends to happen when many devices are using Wi-Fi (night times), but not specifically connected to the hotspot that my router does.
Please see the crashlog attached for more information.

 


18.08.20181792KernelBug ReportVery LowMediumwifi stick based on atheros AR9271 doesn't work with 18...openwrt-18.06Unconfirmed Task Description

- Device problem occurs on

 Astoria Networks ARV7518PW

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

OpenWrt 18.06.0-rc2 r7141-e4d0ee5af5

My wifi stick based on the AR9271 that worked with openwrt 17.01.05 doesn’t work with this new rc (I cannot test it on development snapshots due to bug #1634).

dmesg show this

[  244.724712] usb 1-1: new high-speed USB device number 3 using dwc2
[  244.740095] dwc2 1e101000.ifxhcd: Mode Mismatch Interrupt: currently in Host mode
[  244.746127] dwc2 1e101000.ifxhcd: Mode Mismatch Interrupt: currently in Host mode
[  244.972976] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[  245.279016] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[  245.532487] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
[  245.965179] ath: phy2: Mac Chip Rev 0x0f.3 is not supported by this driver
[  245.970678] ath: phy2: Unable to initialize hardware; initialization status: -122
[  245.978013] ath: phy2: Unable to initialize hardware; initialization status: -122
[  245.985233] ath9k_htc: Failed to initialize the device
[  246.093496] usb 1-1: ath9k_htc: USB layer deinitialized

The error is Mac Chip Rev 0x0f.3 is not supported by this driver which I googled and found a couple of reports regarding ARM based SBC (on my laptop, x86_64, the stick works fine), with no solution though.

One of them suggests that the device works if it’s plugged in while the system boots. I tried that and, while it doesn’t complain about the mac chip not supported, it still doesn’t work:

[   15.833888] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[   16.048965] kmodloader: done loading kernel modules from /etc/modules.d/*
[   16.884889] ath9k_htc 1-1:1.0: ath9k_htc: Target is unresponsive
[   16.889498] ath9k_htc: Failed to initialize the device
[   16.929806] usb 1-1: ath9k_htc: USB layer deinitialized



20.08.20181800KernelBug ReportVery LowMediumError compiling Openwrt if netfilter is disabled on som...TrunkUnconfirmed Task Description

- Device problem occurs on - ramips mediatek soc targets (e.g ramips_mt76x8)
- Software versions of OpenWrt/LEDE release, packages, etc. - master and 18.06 (probably earlier, couldn’t confirm); kernel package
- Steps to reproduce - try to build without netfilter support (e.g. for creating a dumb ap in hardware with very low flash space)

Building Openwrt fails (confirmed on master and 18.06) for some mediatek targets if netfilter is disabled, due to a unnecessary include in OpenWRT kernel source that isn’t even present in vanilla/upstream kernel:

In file included from drivers/net/ethernet/mediatek/mtk_eth_soc.c:34:0:
./include/net/netfilter/nf_flow_table.h:19:2: error: unknown type name ‘nf_hookfn’

nf_hookfn   *hook;
^~~~~~~~~

./include/net/netfilter/nf_flow_table.h:149:23: warning: ‘struct nf_hook_state’ declared inside parameter list will not be visible outside of this definition or declaration

        const struct nf_hook_state *state);
                     ^~~~~~~~~~~~~

./include/net/netfilter/nf_flow_table.h:151:25: warning: ‘struct nf_hook_state’ declared inside parameter list will not be visible outside of this definition or declaration

          const struct nf_hook_state *state);
                       ^~~~~~~~~~~~~

The problem resides in the file linux-4.14.*/drivers/net/ethernet/mediatek/mtk_eth_soc.c at line 34 that has:

#include <net/netfilter/nf_flow_table.h>

By simply removing/commenting the aforementioned line, it is possible to build the image with success. As such, this line seems unnecessary and just causes issues?

This line isn’t present in vanilla/upstream kernel as you can see in:

https://github.com/torvalds/linux/blob/master/drivers/net/ethernet/mediatek/mtk_eth_soc.c

The change comes from openwrt file target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c and as such the attached patch fixes this issue for now, but is more a workaround. Maybe who put the include should review and add some ifdefs where appropriate?

For now, my tests indicate that applying this patch does not cause major issues if you build with netfilter (firewall, iptables, etc.) support, but something is probably missing. Can you please check?

Also, please note that the same (unnecessary?) include is present in target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_offload.h and probably affects building with some other configurations as well.

Thanks and best regards.

22.08.20181804KernelBug ReportVery LowMediumusb support failed | rt305x | huawei hg255dAllUnconfirmed Task Description

Device:huawei HG255d https://openwrt.org/toh/huawei/hg255d

Software versions: OpenWrt 18.06.1 r7258-5eb055306f
Installed: All required usb drivers listed on Installing and troubleshooting USB Drivers.

Problem: Can not connect to usb device with all usb drivers installed.
Both lede17 Openwrt18 have the problem.

23.08.20181807KernelBug ReportVery LowMediumkernel null pointer deferernce in 18.06.01 on TP-Link A...openwrt-18.06Unconfirmed Task Description

OpenWrt 18.06.1, r7258-5eb055306f


root@portcullis:~# uname -a
Linux portcullis 4.14.63 #0 SMP Thu Aug 16 07:51:15 2018 armv7l GNU/Linux

# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 0 (v7l)
BogoMIPS : 6.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
CPU implementer : 0×51 CPU architecture: 7
CPU variant : 0×2 CPU part : 0x04d
CPU revision : 0

processor : 1
model name : ARMv7 Processor rev 0 (v7l)
BogoMIPS : 12.50
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
CPU implementer : 0×51 CPU architecture: 7
CPU variant : 0×2 CPU part : 0x04d
CPU revision : 0

Hardware : Generic DT based system
Revision : 0000
Serial : 0000000000000000

Aug 23 08:46:09 portcullis kernel: [352588.331680] Unable to handle kernel NULL pointer dereference at virtual address 00000c7c
Aug 23 08:46:09 portcullis kernel: [352588.331717] pgd = c0204000
Aug 23 08:46:09 portcullis kernel: [352588.338940] [00000c7c] *pgd=00000000
Aug 23 08:46:09 portcullis kernel: [352588.341446] Internal error: Oops: 17 [#1] SMP ARM
Aug 23 08:46:09 portcullis kernel: [352588.345260] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 ip
table_nat ipt_REJECT ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_mul
tiport 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_L
OG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf
_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache iptable_mangle iptable_filter ipt_ECN ip_tables ebtables ebt_vlan ebt_stp ebt_sn
at ebt_redirect ebt_pkttype ebt_nflog ebt_mark_m
Aug 23 08:46:09 portcullis kernel: [352588.398462] ebt_mark ebt_log ebt_limit ebt_ip6 ebt_ip ebt_dnat ebt_arpreply ebt_arp ebt_among ebt_802_3 crc_ccitt compat
br_netfilter act_connmark 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 ledtrig
_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb sit tunnel4 ip_tunnel usb_storage leds_gpi
o xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci liba
ta scsi_mod ehci_hcd gpio_button_hotplug f2fs ext4 jbd2 mbcache crc32c_generic crc32_generic
Aug 23 08:46:09 portcullis kernel: [352588.459143] CPU: 0 PID: 2224 Comm: kworker/0:2 Not tainted 4.14.63 #0
Aug 23 08:46:09 portcullis kernel: [352588.481370] Hardware name: Generic DT based system
Aug 23 08:46:09 portcullis kernel: [352588.487889] Workqueue: events 0xc0640368
Aug 23 08:46:09 portcullis kernel: [352588.492653] task: d91a4f00 task.stack: d9cc0000
Aug 23 08:46:09 portcullis kernel: [352588.496820] pc : [<c07a3474>] lr : [<c066693c>] psr: 80000013
Aug 23 08:46:09 portcullis kernel: [352588.501512] sp : d9cc1d50 ip : 00000000 fp : dd7f0aa8
Aug 23 08:46:09 portcullis kernel: [352588.507846] r10: 00000000 r9 : ffffffff r8 : 00000002
Aug 23 08:46:09 portcullis kernel: [352588.513141] r7 : d9cc1dd4 r6 : 15639ebb r5 : 00000006 r4 : 00000c7c
Aug 23 08:46:09 portcullis kernel: [352588.518440] r3 : de806024 r2 : 1fffa6f0 r1 : 00000000 r0 : 00000001
Aug 23 08:46:09 portcullis kernel: [352588.524777] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Aug 23 08:46:09 portcullis kernel: [352588.531376] Control: 10c5787d Table: 5b1c806a DAC: 00000051
Aug 23 08:46:09 portcullis kernel: [352588.538664] Process kworker/0:2 (pid: 2224, stack limit = 0xd9cc0210)
Aug 23 08:46:09 portcullis kernel: [352588.544482] Stack: (0xd9cc1d50 to 0xd9cc2000)
Aug 23 08:46:09 portcullis kernel: [352588.550999] 1d40: dd6914a8 00000001 20000013 c055d318
Aug 23 08:46:09 portcullis kernel: [352588.555440] 1d60: dd6914b4 fffffffe 00000000 c055e4ec 00000000 fffffffe 00000000 c0336d30
Aug 23 08:46:09 portcullis kernel: [352588.563687] 1d80: dd68b418 dd68b404 00000000 00000002 d9cc1dd4 c0337014 00000000 c0a15f08
Aug 23 08:46:09 portcullis kernel: [352588.571932] 1da0: dd68b400 c0a137d8 dd690d80 00000002 47868c00 47868c00 23c34600 c033705c
Aug 23 08:46:09 portcullis kernel: [352588.580179] 1dc0: 00000000 00003208 dd54be00 c05526a0 dd54be00 dd691a80 47868c00 23c34600
Aug 23 08:46:09 portcullis kernel: [352588.588426] 1de0: dd54be00 dd690d80 00000000 23c34600 dd4d6e00 c0554130 dd4d6e00 dd690cd8
Aug 23 08:46:09 portcullis kernel: [352588.596676] 1e00: 23c34600 dd4cf500 47868c00 47868c00 23c34600 c0554160 dd690d80 23c34600
Aug 23 08:46:09 portcullis kernel: [352588.604919] 1e20: 00000000 dd4d6e00 dd7f0c00 47868c00 23c34600 c0554528 dd7f0940 23c34600
Aug 23 08:46:09 portcullis kernel: [352588.613165] 1e40: dd7f0a80 ddc01010 dd7f0c00 c0554584 dcc01400 dd7f0940 dd7f0a80 c059b270
Aug 23 08:46:09 portcullis kernel: [352588.621412] 1e60: c0a60c8c 00000000 dcc93800 dd7f0c28 23c34600 47868c00 c093ec60 23c34600
Aug 23 08:46:09 portcullis kernel: [352588.629661] 1e80: dcc93900 dcc9391c 00000000 dcc93940 000927c0 dcc91200 ddc07500 c0641278
Aug 23 08:46:09 portcullis kernel: [352588.637906] 1ea0: 00000000 c06405ec 00009c40 dcc91200 00000000 c0a60c8c 00000000 00000001
Aug 23 08:46:09 portcullis kernel: [352588.646152] 1ec0: 000927c0 00000000 ddc07500 c063bcf4 00000002 00124f80 000927c0 00000021
Aug 23 08:46:09 portcullis kernel: [352588.654398] 1ee0: dcc92680 dcc91200 dcc92680 dcc92700 dcc92700 dcc939c0 00000008 c063ff20
Aug 23 08:46:09 portcullis kernel: [352588.662646] 1f00: dcc926b8 00000000 dcc92684 dcc91200 c0a1f618 00000000 00000008 c06403a0
Aug 23 08:46:09 portcullis kernel: [352588.670890] 1f20: dcc926b8 dcac9e80 ddc07500 ddc0a400 00000000 c032fa2c ddc07518 ffffe000
Aug 23 08:46:09 portcullis kernel: [352588.679138] 1f40: dcac9e80 ddc07500 dcac9e98 ddc07518 ffffe000 c0a02d00 00000008 c0330ad8
Aug 23 08:46:09 portcullis kernel: [352588.687385] 1f60: d9227ebc d773bb00 d9cc0000 d773b600 d9227ebc d773bb1c dcac9e80 c0330794
Aug 23 08:46:09 portcullis kernel: [352588.695631] 1f80: 00000000 c0335694 00000000 d773b600 c0335554 00000000 00000000 00000000
Aug 23 08:46:09 portcullis kernel: [352588.703879] 1fa0: 00000000 00000000 00000000 c0307f68 00000000 00000000 00000000 00000000
Aug 23 08:46:09 portcullis kernel: [352588.712123] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Aug 23 08:46:09 portcullis kernel: [352588.720371] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Aug 23 08:46:09 portcullis kernel: [352588.728604] Function entered at [<c07a3474>] from [<c055d318>]
Aug 23 08:46:09 portcullis kernel: [352588.736842] Function entered at [<c055d318>] from [<c055e4ec>]
Aug 23 08:46:09 portcullis kernel: [352588.742656] Function entered at [<c055e4ec>] from [<c0336d30>]
Aug 23 08:46:09 portcullis kernel: [352588.748561] Function entered at [<c0336d30>] from [<c0337014>]
Aug 23 08:46:09 portcullis kernel: [352588.754462] Function entered at [<c0337014>] from [<c033705c>]
Aug 23 08:46:09 portcullis kernel: [352588.760365] Function entered at [<c033705c>] from [<c05526a0>]
Aug 23 08:46:09 portcullis kernel: [352588.766269] Function entered at [<c05526a0>] from [<c0554130>]
Aug 23 08:46:09 portcullis kernel: [352588.772171] Function entered at [<c0554130>] from [<c0554160>]
Aug 23 08:46:09 portcullis kernel: [352588.778072] Function entered at [<c0554160>] from [<c0554528>]
Aug 23 08:46:09 portcullis kernel: [352588.783975] Function entered at [<c0554528>] from [<c0554584>]
Aug 23 08:46:09 portcullis kernel: [352588.789879] Function entered at [<c0554584>] from [<c059b270>]
Aug 23 08:46:09 portcullis kernel: [352588.795784] Function entered at [<c059b270>] from [<c0641278>]
Aug 23 08:46:09 portcullis kernel: [352588.801686] Function entered at [<c0641278>] from [<c063bcf4>]
Aug 23 08:46:09 portcullis kernel: [352588.807588] Function entered at [<c063bcf4>] from [<c063ff20>]
Aug 23 08:46:09 portcullis kernel: [352588.813490] Function entered at [<c063ff20>] from [<c06403a0>]
Aug 23 08:46:09 portcullis kernel: [352588.819394] Function entered at [<c06403a0>] from [<c032fa2c>]
Aug 23 08:46:09 portcullis kernel: [352588.825296] Function entered at [<c032fa2c>] from [<c0330ad8>]
Aug 23 08:46:09 portcullis kernel: [352588.831200] Function entered at [<c0330ad8>] from [<c0335694>]
Aug 23 08:46:09 portcullis kernel: [352588.837102] Function entered at [<c0335694>] from [<c0307f68>]
Aug 23 08:46:09 portcullis kernel: [352588.843020] Code: e5940000 ea000002 e1a06000 ea000000 (e5940000)
Aug 23 08:46:09 portcullis kernel: [352588.849034] —[ end trace 3f720d0e9060ce5a ]—

30.08.20181826KernelBug ReportVery LowHighFQ_codel is the wrong qdisc for the CAN busTrunkUnconfirmed Task Description

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

 bring up a can device that expects pfifo-fast, rather than noqueue

We finally had an edge case where fq_codel is totally the wrong thing.

https://marc.info/?l=linux-can&m=152785826628439&w=2

https://github.com/systemd/systemd/issues/9194

I don’t know how many can bus devices expect pfifo_fast, rather than noqueue. So far as I can tell the flow dissector doesn’t engage, so no FQ, but can is oft blocking bus so codel can drop more often than pfifo_fast does.

02.09.20181828KernelBug ReportVery LowLowcdc ether error kevent 11 may have been droppedopenwrt-18.06Unconfirmed Task Description

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

 

I have “Openwrt 18.06.1 r7258-5eb055306f” installed on a “raspberry pi 1 model B” and for wan interface I have a TP-link UE200 USB-to-ethernet adapter. I have installed the kmod-usb-net-cdc-ether in order to make the adapter work and I have not detected anything suspicious for the last 13 days of uptime but my kernel log is filling with the error messages shown in the next lines
cdc_ether 1-1.2:2.0 eth1: kevent 11 may have been dropped
cdc_ether 1-1.2:2.0 eth1: kevent 12 may have been dropped

my kernel log so far is https://pastebin.com/rJVTZQ0S As you can see the in 13 days uptime it happened 7 times and wan connection stayed down for 60 seconds.

lsusb output is
root@LEDE:~# lsusb
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub

21.09.20181862KernelBug ReportVery LowMediumnot working xhci-mtk USB 3.0openwrt-18.06Unconfirmed Task Description
 

- Xiaomi Mi WiFi Router 3G
- OpenWrt 18.06.1 r7258-5eb055306f
- After connecting the docking station(USB3.0 HDD docking station)- an error occurs, as indicated in the logs below.
• kernel log
[ 6.723777] usbcore: registered new interface driver usbfs
[ 6.729399] usbcore: registered new interface driver hub
[ 6.734904] usbcore: registered new device driver usb
[ 6.748554] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[ 6.753899] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[ 6.765068] xhci-mtk 1e1c0000.xhci: hcc params 0×01401198 hci version 0×96 quirks 0×00210010 [ 6.773554] xhci-mtk 1e1c0000.xhci: irq 19, io mem 0x1e1c0000
[ 6.780252] hub 1-0:1.0: USB hub found
[ 6.784063] hub 1-0:1.0: 2 ports detected
[ 6.788660] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[ 6.793968] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[ 6.801458] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[ 6.808059] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 6.816957] hub 2-0:1.0: USB hub found
[ 6.820769] hub 2-0:1.0: 1 port detected
[ 6.827692] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.845190] init: - preinit -
[ 7.235077] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[ 7.319396] random: procd: uninitialized urandom read (4 bytes read)
[ 7.550284] mtk_soc_eth 1e100000.ethernet: PPE started
[ 10.771163] UBIFS (ubi0:1): background thread “ubifs_bgt0_1” started, PID 485
[ 10.845628] UBIFS (ubi0:1): recovery needed
[ 11.031450] UBIFS (ubi0:1): recovery completed
[ 11.036066] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name “rootfs_data” [ 11.043862] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 11.053756] UBIFS (ubi0:1): FS size: 112373760 bytes (107 MiB, 885 LEBs), journal size 5586944 bytes (5 MiB, 44 LEBs)
[ 11.064327] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[ 11.070963] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 2748C915-40E4-4121-B2E0-E1B496DE7D66, small LPT model
[ 11.095502] mount_root: loading kmods from internal overlay
[ 11.222556] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[ 11.463453] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 11.508096] SCSI subsystem initialized
[ 11.524655] ehci-platform: EHCI generic platform driver
[ 11.544381] usbcore: registered new interface driver usb-storage
[ 11.556203] scsi host0: uas
[ 11.559794] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 4
[ 11.568217] xhci-mtk 1e1c0000.xhci: @000000000f79b170 0ea7e000 00000000 05000000 01058001
[ 11.576364] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 6
[ 11.584771] xhci-mtk 1e1c0000.xhci: @000000000f79b180 0ea7e100 00000000 05000000 01078001
[ 32.574874] scsi 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 32.582434] scsi 0:0:0:0: tag#0 CDB: opcode=0×12 12 00 00 00 24 00
[ 32.588688] xhci-mtk 1e1c0000.xhci: Mismatch between completed Set TR Deq Ptr command & xHCI internal state.
[ 32.598474] xhci-mtk 1e1c0000.xhci: ep deq seg = 8e9ce700, deq ptr = ae9fb010
[ 33.684839] scsi host0: uas_eh_device_reset_handler FAILED to get lock err -16
[ 33.692042] scsi 0:0:0:0: Device offlined - not ready after error recovery
[ 33.699312] usbcore: registered new interface driver uas
[ 33.705028] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[ 33.937005] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[ 33.950739] block: extroot: not configured
[ 33.998265] mount_root: switching to ubifs overlay
• system log
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.723777] usbcore: registered new interface driver usbfs
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.729399] usbcore: registered new interface driver hub
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.734904] usbcore: registered new device driver usb
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.748554] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.753899] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.765068] xhci-mtk 1e1c0000.xhci: hcc params 0×01401198 hci version 0×96 quirks 0×00210010 Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.773554] xhci-mtk 1e1c0000.xhci: irq 19, io mem 0x1e1c0000
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.780252] hub 1-0:1.0: USB hub found
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.784063] hub 1-0:1.0: 2 ports detected
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.788660] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.793968] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.801458] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.808059] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.816957] hub 2-0:1.0: USB hub found
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 6.820769] hub 2-0:1.0: 1 port detected
Thu Sep 20 12:22:42 2018 user.info kernel: [ 6.827692] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Thu Sep 20 12:22:42 2018 user.info kernel: [ 6.845190] init: - preinit -
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 7.235077] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
Thu Sep 20 12:22:42 2018 kern.notice kernel: [ 7.319396] random: procd: uninitialized urandom read (4 bytes read)
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 7.550284] mtk_soc_eth 1e100000.ethernet: PPE started
Thu Sep 20 12:22:42 2018 kern.notice kernel: [ 10.771163] UBIFS (ubi0:1): background thread “ubifs_bgt0_1” started, PID 485
Thu Sep 20 12:22:42 2018 kern.notice kernel: [ 10.845628] UBIFS (ubi0:1): recovery needed
Thu Sep 20 12:22:42 2018 kern.notice kernel: [ 11.031450] UBIFS (ubi0:1): recovery completed
Thu Sep 20 12:22:42 2018 kern.notice kernel: [ 11.036066] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name “rootfs_data” Thu Sep 20 12:22:42 2018 kern.notice kernel: [ 11.043862] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
Thu Sep 20 12:22:42 2018 kern.notice kernel: [ 11.053756] UBIFS (ubi0:1): FS size: 112373760 bytes (107 MiB, 885 LEBs), journal size 5586944 bytes (5 MiB, 44 LEBs)
Thu Sep 20 12:22:42 2018 kern.notice kernel: [ 11.064327] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
Thu Sep 20 12:22:42 2018 kern.notice kernel: [ 11.070963] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 2748C915-40E4-4121-B2E0-E1B496DE7D66, small LPT model
Thu Sep 20 12:22:42 2018 user.info kernel: [ 11.095502] mount_root: loading kmods from internal overlay
Thu Sep 20 12:22:42 2018 user.info kernel: [ 11.222556] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 11.463453] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
Thu Sep 20 12:22:42 2018 kern.notice kernel: [ 11.508096] SCSI subsystem initialized
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 11.524655] ehci-platform: EHCI generic platform driver
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 11.544381] usbcore: registered new interface driver usb-storage
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 11.556203] scsi host0: uas
Thu Sep 20 12:22:42 2018 kern.err kernel: [ 11.559794] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 4
Thu Sep 20 12:22:42 2018 kern.err kernel: [ 11.568217] xhci-mtk 1e1c0000.xhci: @000000000f79b170 0ea7e000 00000000 05000000 01058001
Thu Sep 20 12:22:42 2018 kern.err kernel: [ 11.576364] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 6
Thu Sep 20 12:22:42 2018 kern.err kernel: [ 11.584771] xhci-mtk 1e1c0000.xhci: @000000000f79b180 0ea7e100 00000000 05000000 01078001
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 32.574874] scsi 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 32.582434] scsi 0:0:0:0: tag#0 CDB: opcode=0×12 12 00 00 00 24 00
Thu Sep 20 12:22:42 2018 kern.warn kernel: [ 32.588688] xhci-mtk 1e1c0000.xhci: Mismatch between completed Set TR Deq Ptr command & xHCI internal state.
Thu Sep 20 12:22:42 2018 kern.warn kernel: [ 32.598474] xhci-mtk 1e1c0000.xhci: ep deq seg = 8e9ce700, deq ptr = ae9fb010
Thu Sep 20 12:22:42 2018 kern.err kernel: [ 33.684839] scsi host0: uas_eh_device_reset_handler FAILED to get lock err -16
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 33.692042] scsi 0:0:0:0: Device offlined - not ready after error recovery
Thu Sep 20 12:22:42 2018 kern.info kernel: [ 33.699312] usbcore: registered new interface driver uas
• dmesg | grep usb
[ 6.723777] usbcore: registered new interface driver usbfs
[ 6.729399] usbcore: registered new interface driver hub
[ 6.734904] usbcore: registered new device driver usb
[ 6.808059] usb usb2: We don’t know the algorithms for LPM for this host, dis abling LPM.
[ 7.235077] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[ 11.544381] usbcore: registered new interface driver usb-storage
[ 33.699312] usbcore: registered new interface driver uas
• lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 5000M

|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M

/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M
• list-installed | grep usb
kmod-usb-core - 4.14.63-1
kmod-usb-ehci - 4.14.63-1
kmod-usb-ledtrig-usbport - 4.14.63-1
kmod-usb-storage - 4.14.63-1
kmod-usb-storage-uas - 4.14.63-1
kmod-usb2 - 4.14.63-1
kmod-usb3 - 4.14.63-1
libusb-1.0 - 1.0.22-1
usbutils - 007-7
• lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

25.09.20181868KernelBug ReportVery LowHighkmod-netem: Unable to handle kernel NULL pointer derefe...TrunkUnconfirmed Task Description

Device is WRT1900ACv2, kernel version is 4.14.71
It is simple to reproduce, just invoke netem such as `tc qdisc add dev eth1 root netem delay 100ms`, it will crash immediately

01.10.20181877KernelBug ReportVery LowHighSD Card corruption on reboot after power failureTrunkUnconfirmed Task Description

- problem occurs on zbt-we1326 with mt7621 cpu with mtk_sd kernel module loaded.
- openwrt latest snapshot(30-08-2017) firmware downloaded from openwrt.
- Steps to reproduce
1. setup extroot on the sdcard with a partition of 1gb(ext4)(boot) mounted as /overlay and 31gb(f2fs)(data) mounted at /media/
2. works fine on normal reboot(through ui).
3. turn off router power and start the router by plugging back in. notice corruption of extroot or data folder or both . it doesn’t happen rarely but it definitely happens on subsequent power off/on cycle.

 


03.10.20181878KernelBug ReportVery LowCriticalFsck privately repaired the file system ext4 on my hdd...openwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on x86-64
- Software versions of OpenWrt/LEDE release, packages, etc.openwrt18.06 55bbd8
- Steps to reproduce.booting and the log showed:

[ 21.237803] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 21.272692] EXT4-fs (sda9): Errors on filesystem, clearing orphan list.
[ 21.272692]
[ 21.281161] EXT4-fs (sda9): recovery complete
[ 21.317228] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 22.061620] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[ 22.069917] br-lan: port 1(eth0) entered blocking state
[ 22.075803] br-lan: port 1(eth0) entered forwarding state
[ 22.081750] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 23.607322] EXT4-fs (sda10): 3 orphan inodes deleted
[ 23.612459] EXT4-fs (sda10): recovery complete
[ 23.708324] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 26.560650] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 27.547143] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 27.567936] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 27.674344] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 30.029453] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 30.949532] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 30.969532] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 31.076454] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 33.381486] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 34.252398] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 34.272320] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 34.386849] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 36.883663] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 37.787051] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 37.808077] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 37.914149] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 40.179819] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 41.121988] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 41.143438] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 41.249342] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 45.605695] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 46.626671] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 46.646619] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 46.761479] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 49.141156] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 50.029110] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 50.057517] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 50.171446] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 52.634916] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 53.630485] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 53.651385] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 53.765666] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 56.181064] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 57.106498] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 57.127788] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 57.226070] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 59.531087] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 60.476052] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 60.496576] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 60.602792] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 62.968986] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 63.853172] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 63.873463] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 63.980377] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 66.434813] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 67.379340] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 67.425858] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 67.541354] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 69.678280] F2FS-fs (sdb3): Magic Mismatch, valid(0xf2f52010) - read(0×0)
[ 69.685327] F2FS-fs (sdb3): Can’t find valid F2FS filesystem in 1th superblock
[ 69.693925] F2FS-fs (sdb3): Magic Mismatch, valid(0xf2f52010) - read(0×0)
[ 69.700936] F2FS-fs (sdb3): Can’t find valid F2FS filesystem in 2th superblock
[ 69.708463] F2FS-fs (sdb3): Magic Mismatch, valid(0xf2f52010) - read(0×0)
[ 69.715499] F2FS-fs (sdb3): Can’t find valid F2FS filesystem in 1th superblock
[ 69.723034] F2FS-fs (sdb3): Magic Mismatch, valid(0xf2f52010) - read(0×0)
[ 69.730039] F2FS-fs (sdb3): Can’t find valid F2FS filesystem in 2th superblock
[ 69.978884] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 71.390695] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 71.410966] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 71.517413] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 73.339283] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 74.259796] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 74.279939] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 74.377566] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 76.068444] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 76.960511] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 76.981847] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 77.079687] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 78.675960] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 79.687038] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 79.708336] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 79.806743] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 81.486004] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 82.438683] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 82.460115] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 82.574661] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 84.356267] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 85.274004] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 85.295104] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 85.409756] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 87.105830] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 88.151523] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 88.173126] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 88.269852] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 90.191325] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 91.112146] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 91.132150] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 91.238595] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 93.101835] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 94.013109] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 94.033603] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 94.131548] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 95.877771] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 96.848488] EXT4-fs (sda9): warning: mounting fs with errors, running e2fsck is recommended
[ 96.869262] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
[ 96.975183] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)

then i booted my linuxmint,displayed file system error needs to be fixed


04.10.20181879KernelBug ReportVery LowMediumOpenWRT fails to initialize a SECOND USB-to-Ethernet ad...TrunkUnconfirmed Task Description

When using TWO USB-to-Ethernet adapters on Raspberry Pi3 Model B+, only the first one connected will work.
There’s a similar thread for openmptcprouter, so I assume it could be a Kernel bug? https://github.com/Ysurac/openmptcprouter/issues/142

* Device problem occurs on: Raspberry Pi 3 Model B+
* Software versions of OpenWrt/LEDE release, packages, etc.

  • OpenWrt: rpi-3-ext4-factory.img.gz 58beb23298e5c31ba2a61ed73a58af77ea26973904ef77e3cab21071a03f8a8b 9440.1 KB Wed Oct 3 08:47:27 2018
  • Kernel/Architecture: Linux OpenWrt 4.9.130 #0 SMP Wed Oct 3 03:54:01 2018 aarch64 GNU/Linux
  • Packages:
    • base-files - 196-r8217-2cc821e
    • brcm2708-gpu-fw - 2018-05-16-0f5f899ccec1c2ef8bba02aa49700b4ec19b4199
    • brcmfmac-board-rpi2 - 2018-03-12-86e88fbf0345da49555d0ec34c80b4fbae7d0cd3
    • brcmfmac-board-rpi3 - 2018-03-12-86e88fbf0345da49555d0ec34c80b4fbae7d0cd3
    • brcmfmac-firmware-43430-sdio - 2018-08-03-7b5835fd-1
    • brcmfmac-firmware-43455-sdio - 2018-08-03-7b5835fd-1
    • brcmfmac-firmware-usb - 2018-08-03-7b5835fd-1
    • busybox - 1.29.3-2
    • dnsmasq - 2.80test7-1
    • dropbear - 2017.75-8
    • e2fsprogs - 1.44.3-1
    • firewall - 2018-08-13-1c4d5bcd-1
    • fstools - 2018-05-23-dd02dad3-2
    • fwtool - 1
    • hostapd-common - 2018-05-21-62566bc2-4
    • ip-tiny - 4.18.0-4
    • ip6tables - 1.6.2-3
    • ipset - 6.34-1
    • iptables - 1.6.2-3
    • iptables-mod-conntrack-extra - 1.6.2-3
    • iptables-mod-ipopt - 1.6.2-3
    • iw - 4.14-1
    • iwinfo - 2018-07-31-65b8333f-1
    • joe - 4.6-1
    • jshn - 2018-07-25-c83a84af-2
    • jsonfilter - 2018-02-04-c7e938d6-1
    • kernel - 4.9.130-1-2adb9ed1c261fb0a5ff2564c10301966
    • kmod-brcmutil - 4.9.130+4.19-rc5-1-1
    • kmod-fs-vfat - 4.9.130-1
    • kmod-hid - 4.9.130-1
    • kmod-hid-generic - 4.9.130-1
    • kmod-input-core - 4.9.130-1
    • kmod-input-evdev - 4.9.130-1
    • kmod-ip6tables - 4.9.130-1
    • kmod-ipt-conntrack - 4.9.130-1
    • kmod-ipt-conntrack-extra - 4.9.130-1
    • kmod-ipt-core - 4.9.130-1
    • kmod-ipt-ipopt - 4.9.130-1
    • kmod-ipt-ipset - 4.9.130-1
    • kmod-ipt-nat - 4.9.130-1
    • kmod-ipt-raw - 4.9.130-1
    • kmod-lib-crc-ccitt - 4.9.130-1
    • kmod-libphy - 4.9.130-1
    • kmod-mii - 4.9.130-1
    • kmod-mmc - 4.9.130-1
    • kmod-nf-conntrack - 4.9.130-1
    • kmod-nf-conntrack6 - 4.9.130-1
    • kmod-nf-ipt - 4.9.130-1
    • kmod-nf-ipt6 - 4.9.130-1
    • kmod-nf-nat - 4.9.130-1
    • kmod-nf-reject - 4.9.130-1
    • kmod-nf-reject6 - 4.9.130-1
    • kmod-nfnetlink - 4.9.130-1
    • kmod-nls-base - 4.9.130-1
    • kmod-nls-cp437 - 4.9.130-1
    • kmod-nls-iso8859-1 - 4.9.130-1
    • kmod-nls-utf8 - 4.9.130-1
    • kmod-ppp - 4.9.130-1
    • kmod-pppoe - 4.9.130-1
    • kmod-pppox - 4.9.130-1
    • kmod-slhc - 4.9.130-1
    • kmod-sound-arm-bcm2835 - 4.9.130-1
    • kmod-sound-core - 4.9.130-1
    • kmod-usb-core - 4.9.130-1
    • kmod-usb-hid - 4.9.130-1
    • kmod-usb-net - 4.9.130-1
    • kmod-usb-net-asix - 4.9.130-1
    • kmod-usb-net-asix-ax88179 - 4.9.130-1
    • kmod-usb-net-cdc-ether - 4.9.130-1
    • libblkid - 2.32.1-2
    • libblobmsg-json - 2018-07-25-c83a84af-2
    • libc - 1.1.20-1
    • libcomerr - 1.44.3-1
    • libext2fs - 1.44.3-1
    • libf2fs - 1.11.0-1
    • libgcc - 7.3.0-1
    • libip4tc - 1.6.2-3
    • libip6tc - 1.6.2-3
    • libipset - 6.34-1
    • libiwinfo - 2018-07-31-65b8333f-1
    • libiwinfo-lua - 2018-07-31-65b8333f-1
    • libjson-c - 0.12.1-2
    • libjson-script - 2018-07-25-c83a84af-2
    • liblua - 5.1.5-1
    • liblucihttp - 2018-05-18-cb119ded-1
    • liblucihttp-lua - 2018-05-18-cb119ded-1
    • libmnl - 1.0.4-1
    • libncurses - 6.1-1
    • libnl-tiny - 0.1-5
    • libpthread - 1.1.20-1
    • librt - 1.1.20-1
    • libsmartcols - 2.32.1-2
    • libss - 1.44.3-1
    • libubox - 2018-07-25-c83a84af-2
    • libubus - 2018-07-26-40e0931e-1
    • libubus-lua - 2018-07-26-40e0931e-1
    • libuci - 2018-08-11-4c8b4d6e-1
    • libuclient - 2018-08-03-ae1c656f-1
    • libuuid - 2.32.1-2
    • libxtables - 1.6.2-3
    • logd - 2018-02-14-128bc35f-2
    • lua - 5.1.5-1
    • luci - git-18.276.41146-280dd33-1
    • luci-app-firewall - git-18.276.41146-280dd33-1
    • luci-base - git-18.276.41146-280dd33-1
    • luci-lib-ip - git-18.276.41146-280dd33-1
    • luci-lib-jsonc - git-18.276.41146-280dd33-1
    • luci-lib-nixio - git-18.276.41146-280dd33-1
    • luci-mod-admin-full - git-18.276.41146-280dd33-1
    • luci-mod-network - git-18.276.41146-280dd33-1
    • luci-mod-status - git-18.276.41146-280dd33-1
    • luci-mod-system - git-18.276.41146-280dd33-1
    • luci-proto-ipv6 - git-18.276.41146-280dd33-1
    • luci-proto-ppp - git-18.276.41146-280dd33-1
    • luci-theme-bootstrap - git-18.276.41146-280dd33-1
    • mkf2fs - 1.11.0-1
    • mtd - 23
    • mwan3 - 2.7.2-1
    • netifd - 2018-10-02-83428fac-2
    • odhcp6c - 2018-07-14-67ae6a71-16
    • odhcpd-ipv6only - 1.11-3
    • openwrt-keyring - 2018-05-18-103a32e9-1
    • opkg - 2017-12-07-3b417b9f-2
    • partx-utils - 2.32.1-2
    • ppp - 2.4.7-13
    • ppp-mod-pppoe - 2.4.7-13
    • procd - 2018-08-06-e29966f0-1
    • rpcd - 2018-08-16-41333abe-1
    • rpcd-mod-rrdns - 20170710
    • terminfo - 6.1-1
    • ubox - 2018-02-14-128bc35f-2
    • ubus - 2018-07-26-40e0931e-1
    • ubusd - 2018-07-26-40e0931e-1
    • uci - 2018-08-11-4c8b4d6e-1
    • uclient-fetch - 2018-08-03-ae1c656f-1
    • uhttpd - 2018-08-23-b741dec3-1
    • usign - 2015-07-04-ef641914-1
    • wpad-mini - 2018-05-21-62566bc2-4

* Steps to reproduce

  • Connect two USB-to-Ethernet adapters
  • Connect Ethernet cables to both
  • See error message: ERROR::assign_and_init_hc:1397: assign_and_init_hc: Failed to allocate memory handle non-dword aligned buffer case
  • Observer second adapter not receiving an IP address via DHCP, not sending/receiving any packets according to Luci interfaces overview


19.10.20181899KernelBug ReportVery LowMediumKernel warning with Lantiq XRX200 TD-W8970 (cfg80211)openwrt-18.06Unconfirmed Task Description

[ 13.106643] ————[ cut here ]———— [ 13.109875] WARNING: CPU: 0 PID: 174 at backports-2017-11-01/net/wireless/reg.c:894 0x82c4848c [cfg80211@82c40000+0x31a40]
[ 13.120969] Modules linked in: ath9k ath9k_common ath9k_hw ath pppoe nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT wireguard pppox ppp_async 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 ltq_deu_vr9 iptable_mangle iptable_filter ip_tables crc_ccitt compat drv_dsl_cpe_api ledtrig_usbport 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 ip6_udp_tunnel udp_tunnel br2684 atm drv_ifxos dwc2 gpio_button_hotplug
[ 13.189220] CPU: 0 PID: 174 Comm: kworker/0:1 Not tainted 4.9.120 #0
[ 13.195578] Workqueue: events 0x80277b54
[ 13.199463] Stack : 839b3a80 80520000 804bab98 82c6f6c4 00000000 00000000 00000000 00000000
[ 13.207816] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 13.216172] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 13.224528] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 13.232884] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 13.241239] ...
[ 13.243677] Call Trace:
[ 13.245975] [<8000fdd0>] 0x8000fdd0
[ 13.249438] [<8000fdd0>] 0x8000fdd0
[ 13.252918] [<801f8ec8>] 0x801f8ec8
[ 13.256445] [<82c4848c>] 0x82c4848c [cfg80211@82c40000+0x31a40]
[ 13.262319] [<8002ec6c>] 0x8002ec6c
[ 13.265817] [<82c4848c>] 0x82c4848c [cfg80211@82c40000+0x31a40]
[ 13.271735] [<8002ed08>] 0x8002ed08
[ 13.275217] [<82c4848c>] 0x82c4848c [cfg80211@82c40000+0x31a40]
[ 13.281123] [<80277b94>] 0x80277b94
[ 13.284616] [<80044c70>] 0x80044c70
[ 13.288088] [<80045b00>] 0x80045b00
[ 13.291565] [<800457c4>] 0x800457c4
[ 13.295048] [<800457c4>] 0x800457c4
[ 13.298529] [<80050000>] 0×80050000 [ 13.302002] [<8004aa60>] 0x8004aa60
[ 13.305489] [<8004ab78>] 0x8004ab78
[ 13.308978] [<8004aa60>] 0x8004aa60
[ 13.312455] [<8000a4d8>] 0x8000a4d8
[ 13.315943]
[ 13.317487] —[ end trace 918bdca9a01843a6 ]—

22.10.20181905KernelBug ReportVery LowMediumKernel bug: brcm47xx/mips74k reboots after: bgmac_bcma ...openwrt-18.06Unconfirmed Task Description

Device

OpenWrt version

Stable Release OpenWrt 18.06.1

# cat /etc/openwrt_release 
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='18.06.1'
DISTRIB_REVISION='r7258-5eb055306f'
DISTRIB_TARGET='brcm47xx/mips74k'
DISTRIB_ARCH='mipsel_74kc'
DISTRIB_DESCRIPTION='OpenWrt 18.06.1 r7258-5eb055306f'
DISTRIB_TAINTS=''
Linux OpenWrt 4.14.63 #0 Wed Aug 15 20:42:39 2018 mips GNU/Linux

What does it do that it should not do

Sometimes the router hangup and reboots.
This can happen several times a day.
The log contains entries:

Oct 22 12:50:50 OpenWrt kernel: [249137.210802] bgmac_bcma bcma0:1 eth0: Found oversized packet at slot 56, DMA issue!
Oct 22 12:50:50 OpenWrt kernel: [249137.254221] bgmac_bcma bcma0:1 eth0: Found oversized packet at slot 121, DMA issue!
Oct 22 12:50:50 OpenWrt kernel: [249137.295788] bgmac_bcma bcma0:1 eth0: Found oversized packet at slot 314, DMA issue!
Oct 22 12:50:50 OpenWrt kernel: [249137.320500] bgmac_bcma bcma0:1 eth0: Found oversized packet at slot 509, DMA issue!

Few entries from crashlog:

<3>[249137.254221] bgmac_bcma bcma0:1 eth0: Found oversized packet at slot 121, DMA issue!
<3>[249137.295788] bgmac_bcma bcma0:1 eth0: Found oversized packet at slot 314, DMA issue!
<3>[249137.320500] bgmac_bcma bcma0:1 eth0: Found oversized packet at slot 509, DMA issue!
<0>[249137.334933] skbuff: skb_over_panic: text:80238000 len:1753 put:1753 head:86862a80 data:86862a80 tail:0x86863159 end:0x868630e0 dev:<NULL>
<4>[249137.347856] Kernel bug detected[#1]:
<4>[249137.351653] CPU: 0 PID: 7 Comm: ksoftirqd/0 Tainted: G        W       4.14.63 #0

Full crashlog attached.

Steps to reproduce

To reproduce the bug I try to fill the nf_conntrack table with thousands of connections.

Several seconds it was kept filled:

net.netfilter.nf_conntrack_max = 16384
net.netfilter.nf_conntrack_count = 16383

log:

nf_conntrack: nf_conntrack: table full, dropping packet
nf_conntrack: nf_conntrack: table full, dropping packet
...

then several messages:

bgmac_bcma bcma0:1 eth0: Found oversized packet at slot 262, DMA issue!
...

and the router rebooted.

Another way to reproduce...

...same error messages in the log - run bandwidth test http://www.speedtest.net

...
Oct 22 14:46:08 OpenWrt kernel: [ 6908.757065] bgmac_bcma bcma0:1 eth0: Found oversized packet at slot 118, DMA issue!
Oct 22 14:46:08 OpenWrt kernel: [ 6908.770969] bgmac_bcma bcma0:1 eth0: Found oversized packet at slot 183, DMA issue!
Oct 22 14:46:08 OpenWrt kernel: [ 6908.800488] bgmac_bcma bcma0:1 eth0: Found oversized packet at slot 442, DMA issue!

What I have already done to workaround/fix the problem

I try to decrease value of the nf_conntrack_tcp_timeout_established
from

net.netfilter.nf_conntrack_tcp_timeout_established = 7440

to

net.netfilter.nf_conntrack_tcp_timeout_established = 900

typical value:

net.netfilter.nf_conntrack_count = 5130 (...7000)

but it still reboots sometimes.

Additional info

  • Wireless disabled
  • IPv6 disabled
  • VLANs used
01.11.20181923KernelBug ReportVery LowMediumigb driver fails to probe i210 interfaces on x86-64 sin...openwrt-18.06Unconfirmed Task Description

We use OpenWrt 18.06 on the Lex 3I380NX which has a four-port Intel I210IT Ethernet interface.

Since OpenWrt updates to kernel version 4.14.77, the kernel fails to probe all but the first port logging instead of

Thu Nov  1 11:44:25 2018 kern.info kernel: [    7.023605] igb 0000:01:00.0: added PHC on eth0
Thu Nov  1 11:44:25 2018 kern.info kernel: [    7.023605] igb 0000:01:00.0: Intel(R) Gigabit Ethernet Network Connection
Thu Nov  1 11:44:25 2018 kern.info kernel: [    7.030852] igb 0000:01:00.0: eth0: (PCIe:2.5Gb/s:Width x1) 4c:02:89:10:f9:49
Thu Nov  1 11:44:25 2018 kern.info kernel: [    7.038137] igb 0000:01:00.0: eth0: PBA No: 000300-000
Thu Nov  1 11:44:25 2018 kern.info kernel: [    7.043390] igb 0000:01:00.0: Using MSI-X interrupts. 4 rx queue(s), 4 tx queue(s)
Thu Nov  1 11:44:25 2018 kern.warn kernel: [    7.281959] igb: probe of 0000:02:00.0 failed with error -2
Thu Nov  1 11:44:25 2018 kern.warn kernel: [    7.534335] igb: probe of 0000:03:00.0 failed with error -2
Thu Nov  1 11:44:25 2018 kern.warn kernel: [    7.791954] igb: probe of 0000:04:00.0 failed with error -2

We have built a vanilla upstream kernel 4.14.77 using the same configuration as the OpenWrt build and it does enable all four interfaces, so our guess is that some of the patches applied for OpenWrt broke when updating from 4.14.76.

Showing tasks 101 - 150 of 1122 Page 3 of 23 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing