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.

OpenedIDCategory  descTask TypePrioritySeveritySummaryReported InStatus
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 ]—

09.08.20181756KernelFeature RequestVery LowMediumquantenna chipset supportTrunkUnconfirmed Task Description

Hello,

At first, thanks for the great work on openwrt !

As you probably already know, quantenna driver are now available on linux wireless https://github.com/torvalds/linux/tree/master/drivers/net/wireless/quantenna/qtnfmac

Is there a chance to include this driver on openwrt ? It will be profitable for several routers like netgear r7500 or asus rt-ac87u...

Regards,

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

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

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.

17.11.20181957KernelBug ReportVery LowMediumKernel Oopsopenwrt-18.06Unconfirmed Task Description

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

 

- TP-Link Archer C7 v2, Qualcomm Atheros QCA9558 ver 1 rev 0
- Latest release packages as of 16 Nov 2018
- after reboot

Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.571060] ————[ cut here ]———— Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.575930] WARNING: CPU: 0 PID: 2219 at backports-2017-11-01/net/mac80211/ieee80211_i.h:1412 0x87684ca4 [mac80211@87680000+0x5fb00]
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.588099] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw 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_CT wireguard 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_netlink nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt 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
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.662316] 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 ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.690531] CPU: 0 PID: 2219 Comm: hostapd Not tainted 4.9.120 #0
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.697092] Stack : 80497672 00000035 00000000 00000001 00000000 00000000 00000000 00000000
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.705672] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.714410] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.722954] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.731666] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.740317] ...
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.742826] Call Trace:
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.745135] [<8006ad5c>] 0x8006ad5c
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.748672] [<8006ad5c>] 0x8006ad5c
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.752481] [<8007fd44>] 0x8007fd44
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.756065] [<87684ca4>] 0x87684ca4 [mac80211@87680000+0x5fb00]
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.762269] [<8007fde0>] 0x8007fde0
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.765845] [<87684ca4>] 0x87684ca4 [mac80211@87680000+0x5fb00]
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.771866] [<8769e61c>] 0x8769e61c [mac80211@87680000+0x5fb00]
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.778840] [<802d9028>] 0x802d9028
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.782546] [<87619f1c>] 0x87619f1c [cfg80211@87600000+0x30f30]
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.788726] [<802abbdc>] 0x802abbdc
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.792359] [<8750089c>] 0x8750089c [compat@87500000+0×1260]
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.798143] [<802da880>] 0x802da880
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.801683] [<8009ce50>] 0x8009ce50
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.805258] [<802da59c>] 0x802da59c
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.808799] [<802d9980>] 0x802d9980
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.812347] [<80111584>] 0×80111584 Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.815900] [<802da584>] 0x802da584
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.819447] [<802d91f8>] 0x802d91f8
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.822997] [<80297454>] 0×80297454 Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.826545] [<802d975c>] 0x802d975c
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.830080] [<801de8e0>] 0x801de8e0
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.833634] [<8029bd18>] 0x8029bd18
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.838055] [<8028cb44>] 0x8028cb44
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.841605] [<8028de1c>] 0x8028de1c
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.845356] [<8028cb44>] 0x8028cb44
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.848899] [<80127804>] 0×80127804 Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.852619] [<8028ed38>] 0x8028ed38
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.856266] [<800b583c>] 0x800b583c
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.859809] [<8006f48c>] 0x8006f48c
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.863505]
Sat Nov 17 13:09:10 2018 kern.warn kernel: [ 82.865026] —[ end trace 4f04d50d54c947cb ]—

10.12.20181994KernelBug ReportVery LowMediumKernel crash when hardware flow offloading is enabledTrunkUnconfirmed Task Description

Using device Xiaomi Mir3G and OpenWrt SNAPSHOT, r8631+22-f381cbc

Device restarts regularly (on average 1 or 2 times a day) when hardware flow offloading is enabled. The issue don’t seem to occur when only software flow offloading is enabled.

cat /sys/kernel/debug/crashlog:

<3>[394940.982588] CM_ERROR=2002b481 COH_RD_ERR <CCA=5 TR=mmio MCmd=Coherent Read Share STag=0 SPort=1
<3>[394940.982588] >
<3>[394940.992997] CM_ADDR =1c000000
<3>[394940.996034] CM_OTHER=00000000 None
<1>[394940.999504] Data bus error, epc == 80385b78, ra == 803875dc
<4>[394941.005138] Oops[#1]:
<4>[394941.007489] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.82 #0
<4>[394941.013557] task: 8fc444c0 task.stack: 8fc66000
<4>[394941.018150] $ 0 : 00000000 00000001 0a992c52 00000000
<4>[394941.023448] $ 4 : 8d1e1c10 9c000004 8d1e1c1c 0e1ef713
<4>[394941.028744] $ 8 : 00000001 00c5f000 8fc02e00 00000001
<4>[394941.034042] $12 : 000f087f 86591380 86591380 171e46bc
<4>[394941.039340] $16 : 8086e9c0 80596d80 8fd90fc0 00000003
<4>[394941.044636] $20 : 00000001 00000000 00000000 00000000
<4>[394941.049932] $24 : 00000000 00000001
<4>[394941.055230] $28 : 8fc66000 8fc11cd8 80596d80 803875dc
<4>[394941.060530] Hi : 00926b02
<4>[394941.063478] Lo : 65497170
<4>[394941.066449] epc : 80385b78 ip_send_check+0×50/0×80 <4>[394941.071482] ra : 803875dc ip_local_out+0x3c/0xc8
<4>[394941.076591] Status: 11007c03 KERNEL EXL IE <4>[394941.080849] Cause : 5080001c (ExcCode 07)
<4>[394941.084922] PrId : 0001992f (MIPS 1004Kc)
<4>[394941.089078] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib 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_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard 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_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat fuse sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32
<4>[394941.159842] 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 ip6_udp_tunnel udp_tunnel usb_storage leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
<4>[394941.192038] Process swapper/2 (pid: 0, threadinfo=8fc66000, task=8fc444c0, tls=00000000)
<4>[394941.200176] Stack : 8fd91100 803bba10 8fc11dc8 00000130 8086e9c0 8d453c00 8086e9c0 8d453c00
<4>[394941.208596] 8fd911d8 80388784 8fc11d90 00000000 8086e9c0 80596d80 8fd90fc0 8038768c
<4>[394941.217020] 8086e780 80570000 8e30f214 00000003 8086e780 80570000 8e30f214 803887dc
<4>[394941.225442] 8086e780 80570000 8e30f214 00000003 00000001 803bc430 81231db0 00000000
<4>[394941.233864] 81231d80 805761b8 8fd90fc0 80590000 8fd91030 00000000 00000000 80570000
<4>[394941.242285] ...
<4>[394941.244810] Call Trace:
<4>[394941.247340] [<80385b78>] ip_send_check+0×50/0×80 <4>[394941.252034] [<803875dc>]
ip_local_out+0x3c/0xc8
<4>[394941.256803] [<8038768c>] ip_local_out+0×24/0×78 <4>[394941.261404] [<803887dc>] ip_send_skb+0×14/0x3c
<4>[394941.265925] [<803bc430>] icmp_send+0×420/0x4d4
<4>[394941.270436] [<8037d1fc>] ipv4_link_failure+0×20/0x6c
<4>[394941.275464] [<803b96b8>] arp_error_report+0×40/0×54 <4>[394941.280435] [<80349b40>] neigh_invalidate+0xe0/0×150 <4>[394941.285466] [<8034f990>] neigh_timer_handler+0x1c4/0x2d8
<4>[394941.290859] [<800864f4>] call_timer_fn.isra.3+0×24/0×84 <4>[394941.296146] [<80086710>] run_timer_softirq+0x1bc/0×248 <4>[394941.301368] [<80466058>] __do_softirq+0×128/0x2ec
<4>[394941.306150] [<80032a94>] irq_exit+0xac/0xc8
<4>[394941.310410] [<80243b7c>] plat_irq_dispatch+0xfc/0×138 <4>[394941.315530] [<8000b5e8>] except_vec_vi_end+0xb8/0xc4
<4>[394941.320568] [<8000cfb0>] r4k_wait_irqoff+0x1c/0×24 <4>[394941.325448] [<800665dc>] do_idle+0xe4/0×168 <4>[394941.329698] [<80066858>] cpu_startup_entry+0×24/0x2c
<4>[394941.334740] [<800180b4>] not_nmi+0x8c/0x1d8
<4>[394941.338991] Code: 00481021 8ca30000 24a50004 <00621021> 0043182b 14c5fffb 00431021 00021c00 00621821
<4>[394941.348805]
<4>[394941.350616] —[ end trace 2751015d45562c0d ]—


15.12.20182000KernelBug ReportVery LowMediumMT7621 routing performance issueAllUnconfirmed Task Description

environment: RB750Gr3 (MT7621 SoC), OpenWrt 18.06 and trunk version

The official spec page says this device can achieve 1972Mbps routing througput, my test proves it is true under factory firmware. but if I switched to OpenWrt, the routing performance was always limited under 1Gbps, HW OFFLOAD has been enabled.

17.12.20182006KernelBug ReportVery LowMediumFrequent kernel crashes and automatic rebootsopenwrt-18.06Unconfirmed Task Description

Device problem occurs on: YouHua WR1200JS

Software versions: OpenWrt 18.06.1 r7258-5eb055306f. No extra packages installed.

Steps to reproduce: Not sure if anything specific triggers it. My devices will without warning become disconnected from the wireless network and reconnect after a while. In that period, the OpenWrt router has automatically rebooted. Contents of /sys/kernel/debug/crashlog indicates a crash.

The frequency of these crashes is rather unpredictable, I’m attaching three chrashlog dumps. The first one happened after the router had been up for about a week, the second after almost 24 hours, and the third after about 12 minutes.


17.12.20182007KernelBug ReportVery LowMediumLinux MIPS ASLR DEP bugAllUnconfirmed Task Description

I’m not a developer. I came across this bug on Hacker News.[1]
I’m sure someone here is on it already, but just in case it was missed...

There seems to be a serious bug in Linux MIPS regarding ASLR and DEP.
This paper[2] by Parker Thompson and Mudge Zatko at cyber-itl.org[3] explains it.

[1] https://news.ycombinator.com/item?id=18688947

[2] https://cyber-itl.org/assets/papers/2018/Linux_MIPS_missing_foundations.pdf

[3] https://cyber-itl.org/2018/12/07/a-look-at-home-routers-and-linux-mips.html

Supply the following if possible:
- Device problem occurs on

 Unsure. I think the latest kernel is impacted.

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

?

- Steps to reproduce

 Please Read the research paper for more.
 


04.01.20192047KernelBug ReportVery LowMediumSwap kernel option doesn't work and /proc/swap endpoint...TrunkUnconfirmed Task Description

Device: TP-LINK TL-MR3420 v2 with replaced NAND flash chip (8MB ROM now) + USB hub with external power + 8Gb flash drive + 1Tb USB hdd
OpenWRT version: Trunk, OpenWrt GCC 7.4.0 r8982-a54129d
Steps to reproduce:
1) Install block-mount and swap-utils
2) Create swap partition and try to enable it

root@OpenWrt:~# mkswap /dev/sdb2
mkswap: /dev/sdb2: warning: wiping old swap signature.
Setting up swapspace version 1, size = 256 MiB (268431360 bytes)
no label, UUID=3068f953-a060-41cd-a09b-bcc2c531bf40
root@OpenWrt:~# swapon /dev/sdb2
block: failed to swapon /dev/sdb2 (-1)

3) Try to get /proc/swaps file

root@OpenWrt:~# cat /proc/swaps
cat: can’t open ‘/proc/swaps’: No such file or directory


“dmesg” output is attached.

10.01.20192053KernelBug ReportVery LowMediumRegular crashes of ath10k-ct driver on ZyXEL NBG6817TrunkUnconfirmed Task Description

Model ZyXEL NBG6817
Architecture ARMv7 Processor rev 0 (v7l)
Firmware Version OpenWrt SNAPSHOT r9010-adc8b374e3 / LuCI Master (git-19.007.66460-4edac36)
Kernel Version 4.14.91
Local Time Thu Jan 10 10:57:42 2019
Uptime 16h 32m 57s
Load Average 0.40, 0.34, 0.18

Sadly there isn’t any simple way to reproduce, but they seem to be happening somewhat regularly. Since I put the device to use, 1 yesterday, 2 today.

Jan 10 09:26:10 hs14 kernel: [54084.922093] ath10k_pci 0001:01:00.0: firmware crashed! (guid ec43bc35-1369-4765-b62f-6ccef1fb3d02)
Jan 10 09:26:10 hs14 kernel: [54084.922155] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
Jan 10 09:26:10 hs14 kernel: [54084.929958] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
Jan 10 09:26:10 hs14 kernel: [54084.942242] ath10k_pci 0001:01:00.0: firmware ver 10.4b-ct-9984-fW-012-81e1edd54 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,reg
dump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT crc32 0391c067
Jan 10 09:26:10 hs14 kernel: [54084.951289] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 cf58c3bc
Jan 10 09:26:10 hs14 kernel: [54084.972926] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
Jan 10 09:26:10 hs14 kernel: [54084.982076] ath10k_pci 0001:01:00.0: firmware register dump:
Jan 10 09:26:10 hs14 kernel: [54084.990109] ath10k_pci 0001:01:00.0: [00]: 0x0000000A 0x000015B3 0x009A582B 0x00975B31
Jan 10 09:26:10 hs14 kernel: [54084.996013] ath10k_pci 0001:01:00.0: [04]: 0x009A582B 0x00060B30 0x00000000 0x00000000
Jan 10 09:26:10 hs14 kernel: [54085.003740] ath10k_pci 0001:01:00.0: [08]: 0x00000000 0x004602A4 0x00406764 0x00000000
Jan 10 09:26:10 hs14 kernel: [54085.011640] ath10k_pci 0001:01:00.0: [12]: 0x00000009 0x00000000 0x00973ABC 0x00973AD2
Jan 10 09:26:10 hs14 kernel: [54085.019537] ath10k_pci 0001:01:00.0: [16]: 0x00973AB0 0x0096398A 0x009606CA 0x00000000
Jan 10 09:26:10 hs14 kernel: [54085.027437] ath10k_pci 0001:01:00.0: [20]: 0x409A582B 0x0040660C 0x00000005 0x000000FF
Jan 10 09:26:10 hs14 kernel: [54085.035336] ath10k_pci 0001:01:00.0: [24]: 0x809A698A 0x0040666C 0x00000005 0xC09A582B
Jan 10 09:26:10 hs14 kernel: [54085.043235] ath10k_pci 0001:01:00.0: [28]: 0x809A7EF9 0x0040669C 0x0045F0D0 0x0045FCA8
Jan 10 09:26:10 hs14 kernel: [54085.051135] ath10k_pci 0001:01:00.0: [32]: 0x809A8D32 0x0040672C 0x0045FCE4 0x00406850
Jan 10 09:26:10 hs14 kernel: [54085.059035] ath10k_pci 0001:01:00.0: [36]: 0x809A8D62 0x0040684C 0x0042D864 0x0042EF70
Jan 10 09:26:10 hs14 kernel: [54085.066934] ath10k_pci 0001:01:00.0: [40]: 0x80985E4B 0x0040689C 0x00000000 0x0045A9F4
Jan 10 09:26:10 hs14 kernel: [54085.074833] ath10k_pci 0001:01:00.0: [44]: 0x80994A73 0x004068BC 0x0042ED20 0x0045A9F4
Jan 10 09:26:10 hs14 kernel: [54085.082732] ath10k_pci 0001:01:00.0: [48]: 0x8098FC30 0x004068DC 0x0042ED20 0x00000000
Jan 10 09:26:10 hs14 kernel: [54085.090631] ath10k_pci 0001:01:00.0: [52]: 0x80963AD3 0x00406A7C 0x0042ED20 0x0098FC28
Jan 10 09:26:10 hs14 kernel: [54085.098530] ath10k_pci 0001:01:00.0: [56]: 0x80960E80 0x00406A9C 0x0000001F 0x00400000
Jan 10 09:26:10 hs14 kernel: [54085.106429] ath10k_pci 0001:01:00.0: Copy Engine register dump:
Jan 10 09:26:10 hs14 kernel: [54085.114333] ath10k_pci 0001:01:00.0: [00]: 0x0004a000  13  13   3   3
Jan 10 09:26:10 hs14 kernel: [54085.120150] ath10k_pci 0001:01:00.0: [01]: 0x0004a400  10  10 432 433
Jan 10 09:26:10 hs14 kernel: [54085.126747] ath10k_pci 0001:01:00.0: [02]: 0x0004a800  46  46 109 110
Jan 10 09:26:10 hs14 kernel: [54085.133170] ath10k_pci 0001:01:00.0: [03]: 0x0004ac00  21  21  23  21
Jan 10 09:26:10 hs14 kernel: [54085.139594] ath10k_pci 0001:01:00.0: [04]: 0x0004b000 2043 1937  30  30
Jan 10 09:26:10 hs14 kernel: [54085.146018] ath10k_pci 0001:01:00.0: [05]: 0x0004b400   1   1 128 129
Jan 10 09:26:10 hs14 kernel: [54085.152441] ath10k_pci 0001:01:00.0: [06]: 0x0004b800  10  10  10  10
Jan 10 09:26:10 hs14 kernel: [54085.159039] ath10k_pci 0001:01:00.0: [07]: 0x0004bc00   1   1   1   1
Jan 10 09:26:10 hs14 kernel: [54085.165462] ath10k_pci 0001:01:00.0: [08]: 0x0004c000   0   0 127   0
Jan 10 09:26:10 hs14 kernel: [54085.171886] ath10k_pci 0001:01:00.0: [09]: 0x0004c400   1   1   1   1
Jan 10 09:26:10 hs14 kernel: [54085.178310] ath10k_pci 0001:01:00.0: [10]: 0x0004c800   0   0   0   0
Jan 10 09:26:10 hs14 kernel: [54085.184733] ath10k_pci 0001:01:00.0: [11]: 0x0004cc00   0   0   0   0
Jan 10 09:26:10 hs14 kernel: [54085.193175] ath10k_pci 0001:01:00.0: debug log header, dbuf: 0x423818  dropped: 0
Jan 10 09:26:10 hs14 kernel: [54085.198590] ath10k_pci 0001:01:00.0: [0] next: 0x423800 buf: 0x419610 sz: 1500 len: 252 count: 9 free: 0
Jan 10 09:26:10 hs14 kernel: [54085.206060] ath10k_pci 0001:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:
Jan 10 09:26:10 hs14 kernel: [54085.214587] ath10k: [0000]: 034C7883 14004C01 71104441 01050F98 00019003 00000000 0000FFFF 034C7884
Jan 10 09:26:10 hs14 kernel: [54085.220581] ath10k: [0008]: 14004C01 71108880 00000000 00D80000 00000000 00000FF0 034C7884 14004C01
Jan 10 09:26:10 hs14 kernel: [54085.229521] ath10k: [0016]: 71108880 00010000 00D80000 00000000 00000000 034C7884 14004C01 71108880
Jan 10 09:26:10 hs14 kernel: [54085.238548] ath10k: [0024]: 00020000 00D80000 00000000 00000000 034C7884 14004C01 71108880 00030000
Jan 10 09:26:10 hs14 kernel: [54085.247576] ath10k: [0032]: 00D80000 00000000 00000000 034C7884 14004C01 71108880 00040000 00D80000
Jan 10 09:26:10 hs14 kernel: [54085.256604] ath10k: [0040]: 00000000 00000000 034C7884 14004C01 71108880 00050000 00D80000 00000000
Jan 10 09:26:10 hs14 kernel: [54085.265642] ath10k: [0048]: 00000000 034C7884 14004C01 71108880 00060000 00D80000 00000000 00000000
Jan 10 09:26:10 hs14 kernel: [54085.274659] ath10k: [0056]: 034C7885 17FC0001 009A582B 000015B3 000015B3 004064FC 91104569
Jan 10 09:26:10 hs14 kernel: [54085.283686] ath10k_pci 0001:01:00.0: ATH10K_END
Jan 10 09:26:10 hs14 kernel: [54085.293030] ath10k_pci 0001:01:00.0: [1] next: 0x423818 buf: 0x419020 sz: 1500 len: 0 count: 0 free: 0
Jan 10 09:26:10 hs14 kernel: [54085.336026] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 1, skipped old beacon
Jan 10 09:26:10 hs14 kernel: [54085.361017] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer da1bf400 vdev: 0 addr: 48:45:20:c2:27:84
Jan 10 09:26:10 hs14 kernel: [54085.361055] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer da1be400 vdev: 0 addr: 64:a2:f9:31:0f:98
Jan 10 09:26:10 hs14 kernel: [54085.371034] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer da1be200 vdev: 0 addr: 84:c7:ea:8f:41:c7
Jan 10 09:26:10 hs14 kernel: [54085.381962] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer da1bf000 vdev: 0 addr: 6c:c7:ec:46:de:44
Jan 10 09:26:10 hs14 kernel: [54085.392896] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer da1bfc00 vdev: 0 addr: 88:d7:f6:9f:51:10
Jan 10 09:26:10 hs14 kernel: [54085.403829] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer dbd42e00 vdev: 1 addr: 5e:e2:8c:f2:fe:80
Jan 10 09:26:10 hs14 kernel: [54085.414796] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer dbbdc200 vdev: 0 addr: 5c:e2:8c:f2:fe:80
Jan 10 09:26:10 hs14 kernel: [54085.516577] ieee80211 phy1: Hardware restart was requested
Jan 10 09:26:11 hs14 kernel: [54085.597874] ath10k_pci 0001:01:00.0: Invalid state: 3 in ath10k_htt_tx_32, warning will not be repeated.
Jan 10 09:26:11 hs14 kernel: [54085.597905] ------------[ cut here ]------------
Jan 10 09:26:11 hs14 kernel: [54085.606562] WARNING: CPU: 1 PID: 0 at /var/lib/buildbot/slaves/tictex-02/ipq806x_generic/build/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2018-12-20-118e16da/ath10k-4.19/htt_tx.c:1250 ath10k_htt_tx_32+0xf0/0x9e0 [ath10k_core]
Jan 10 09:26:11 hs14 kernel: [54085.611507] 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 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 leds_gpio
Jan 10 09:26:11 hs14 kernel: [54085.682720]  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 libata scsi_mod ehci_hcd gpio_button_hotplug ext4 jbd2 mbcache crc32c_generic
Jan 10 09:26:11 hs14 kernel: [54085.704952] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.91 #0
Jan 10 09:26:11 hs14 kernel: [54085.726639] Hardware name: Generic DT based system
Jan 10 09:26:11 hs14 kernel: [54085.732654] [<c030f58c>] (unwind_backtrace) from [<c030b7a4>] (show_stack+0x14/0x20)
Jan 10 09:26:11 hs14 kernel: [54085.737240] [<c030b7a4>] (show_stack) from [<c07b26f8>] (dump_stack+0x88/0x9c)
Jan 10 09:26:11 hs14 kernel: [54085.745143] [<c07b26f8>] (dump_stack) from [<c0318ec4>] (__warn+0xf0/0x11c)
Jan 10 09:26:11 hs14 kernel: [54085.752167] [<c0318ec4>] (__warn) from [<c0318fb0>] (warn_slowpath_null+0x20/0x28)
Jan 10 09:26:11 hs14 kernel: [54085.759059] [<c0318fb0>] (warn_slowpath_null) from [<bf4a5c18>] (ath10k_htt_tx_32+0xf0/0x9e0 [ath10k_core])
Jan 10 09:26:11 hs14 kernel: [54085.766772] [<bf4a5c18>] (ath10k_htt_tx_32 [ath10k_core]) from [<bf48a0f8>] (ath10k_mac_op_set_bitrate_mask+0xc40/0xdac [ath10k_core])
Jan 10 09:26:11 hs14 kernel: [54085.776369] [<bf48a0f8>] (ath10k_mac_op_set_bitrate_mask [ath10k_core]) from [<bf48ff24>] (ath10k_mac_tx_push_txq+0x234/0x290 [ath10k_core])
Jan 10 09:26:11 hs14 kernel: [54085.788524] [<bf48ff24>] (ath10k_mac_tx_push_txq [ath10k_core]) from [<bf4901b4>] (ath10k_mac_op_wake_tx_queue+0x88/0x12c [ath10k_core])
Jan 10 09:26:11 hs14 kernel: [54085.801339] [<bf4901b4>] (ath10k_mac_op_wake_tx_queue [ath10k_core]) from [<bf3fefa4>] (ieee80211_unreserve_tid+0x658/0x718 [mac80211])
Jan 10 09:26:11 hs14 kernel: [54085.813569] [<bf3fefa4>] (ieee80211_unreserve_tid [mac80211]) from [<bf401c94>] (__ieee80211_subif_start_xmit+0x728/0x978 [mac80211])
Jan 10 09:26:11 hs14 kernel: [54085.825444] [<bf401c94>] (__ieee80211_subif_start_xmit [mac80211]) from [<bf4021d4>] (ieee80211_subif_start_xmit+0x2f0/0x310 [mac80211])
Jan 10 09:26:11 hs14 kernel: [54085.837553] [<bf4021d4>] (ieee80211_subif_start_xmit [mac80211]) from [<c069cd80>] (dev_hard_start_xmit+0xc8/0x154)
Jan 10 09:26:11 hs14 kernel: [54085.849828] [<c069cd80>] (dev_hard_start_xmit) from [<c069d54c>] (__dev_queue_xmit+0x630/0x7b0)
Jan 10 09:26:11 hs14 kernel: [54085.859983] [<c069d54c>] (__dev_queue_xmit) from [<c07917d4>] (br_dev_queue_push_xmit+0x144/0x168)
Jan 10 09:26:11 hs14 kernel: [54085.868662] [<c07917d4>] (br_dev_queue_push_xmit) from [<c0791830>] (br_forward_finish+0x38/0xa0)
Jan 10 09:26:11 hs14 kernel: [54085.877688] [<c0791830>] (br_forward_finish) from [<c0791980>] (__br_forward+0xe8/0x144)
Jan 10 09:26:11 hs14 kernel: [54085.886629] [<c0791980>] (__br_forward) from [<c0793624>] (br_handle_frame_finish+0x4fc/0x56c)
Jan 10 09:26:11 hs14 kernel: [54085.894788] [<c0793624>] (br_handle_frame_finish) from [<c0793a90>] (br_handle_frame+0x328/0x3c0)
Jan 10 09:26:11 hs14 kernel: [54085.903218] [<c0793a90>] (br_handle_frame) from [<c0698458>] (__netif_receive_skb_core+0x71c/0xbdc)
Jan 10 09:26:11 hs14 kernel: [54085.912154] [<c0698458>] (__netif_receive_skb_core) from [<c069a714>] (process_backlog+0xb0/0x164)
Jan 10 09:26:11 hs14 kernel: [54085.921008] [<c069a714>] (process_backlog) from [<c069e334>] (net_rx_action+0x144/0x31c)
Jan 10 09:26:11 hs14 kernel: [54085.930032] [<c069e334>] (net_rx_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
Jan 10 09:26:11 hs14 kernel: [54085.938285] [<c03015c8>] (__do_softirq) from [<c031d280>] (irq_exit+0xdc/0x148)
Jan 10 09:26:11 hs14 kernel: [54085.946006] [<c031d280>] (irq_exit) from [<c035a0d8>] (__handle_domain_irq+0xa8/0xc8)
Jan 10 09:26:11 hs14 kernel: [54085.953036] [<c035a0d8>] (__handle_domain_irq) from [<c0301488>] (gic_handle_irq+0x6c/0xb8)
Jan 10 09:26:11 hs14 kernel: [54085.961022] [<c0301488>] (gic_handle_irq) from [<c030c38c>] (__irq_svc+0x6c/0x90)
Jan 10 09:26:11 hs14 kernel: [54085.969176] Exception stack(0xdd45ff80 to 0xdd45ffc8)
Jan 10 09:26:11 hs14 kernel: [54085.976838] ff80: 00000001 00000000 00000000 c0315300 ffffe000 c0b03c74 c0b03c28 00000000
Jan 10 09:26:11 hs14 kernel: [54085.981876] ffa0: 00000000 512f04d0 00000000 00000000 dd45ffc8 dd45ffd0 c030884c c0308850
Jan 10 09:26:11 hs14 kernel: [54085.990018] ffc0: 60000013 ffffffff
Jan 10 09:26:11 hs14 kernel: [54085.998171] [<c030c38c>] (__irq_svc) from [<c0308850>] (arch_cpu_idle+0x38/0x44)
Jan 10 09:26:11 hs14 kernel: [54086.001477] [<c0308850>] (arch_cpu_idle) from [<c034ff08>] (do_idle+0xe8/0x1bc)
Jan 10 09:26:11 hs14 kernel: [54086.009111] [<c034ff08>] (do_idle) from [<c0350250>] (cpu_startup_entry+0x1c/0x20)
Jan 10 09:26:11 hs14 kernel: [54086.016142] [<c0350250>] (cpu_startup_entry) from [<423017cc>] (0x423017cc)
Jan 10 09:26:11 hs14 kernel: [54086.023843] ---[ end trace 452feb3a499a0195 ]---
Jan 10 09:26:11 hs14 kernel: [54086.030636] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:11 hs14 kernel: [54086.035568] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.042594] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.048636] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:11 hs14 kernel: [54086.054310] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.061524] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.081184] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Jan 10 09:26:11 hs14 kernel: [54086.081230] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 1, skipped old beacon
Jan 10 09:26:11 hs14 kernel: [54086.087310] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Jan 10 09:26:11 hs14 kernel: [54086.094688] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 1, skipped old beacon
Jan 10 09:26:11 hs14 kernel: [54086.101966] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Jan 10 09:26:11 hs14 kernel: [54086.398043] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:11 hs14 kernel: [54086.398093] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.404163] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.410265] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:11 hs14 kernel: [54086.415885] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.423100] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:12 hs14 kernel: [54086.859493] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:12 hs14 kernel: [54086.859541] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:12 hs14 kernel: [54086.865611] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:12 hs14 kernel: [54087.668435] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:12 hs14 kernel: [54087.668484] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:12 hs14 kernel: [54087.674553] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:13 hs14 kernel: [54087.998516] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:13 hs14 kernel: [54087.998564] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:13 hs14 kernel: [54088.004648] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:13 hs14 kernel: [54088.010739] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:13 hs14 kernel: [54088.016359] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:13 hs14 kernel: [54088.023559] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:13 hs14 kernel: [54088.315168] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:13 hs14 kernel: [54088.315215] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:13 hs14 kernel: [54088.321286] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.199325] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.199378] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.205447] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.317048] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.317096] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.323165] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.399734] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.399767] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.405938] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.414260] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.417567] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.424841] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.442523] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
Jan 10 09:26:16 hs14 kernel: [54091.442587] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32
Jan 10 09:26:16 hs14 kernel: [54091.474435] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.474465] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.480544] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.492287] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.492316] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.499467] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.524925] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
Jan 10 09:26:16 hs14 kernel: [54091.525752] ath10k_pci 0001:01:00.0: wmi print 'free: 87020 iram: 26788 sram: 18240'
Jan 10 09:26:16 hs14 kernel: [54091.578225] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.578254] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.584413] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54091.941028] ath10k_pci 0001:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
Jan 10 09:26:17 hs14 kernel: [54092.060188] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:17 hs14 kernel: [54092.060235] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.066307] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.072884] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:17 hs14 kernel: [54092.078031] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.085315] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.092632] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:17 hs14 kernel: [54092.096943] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.104226] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.110805] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.115940] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.122235] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.127668] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.194155] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.194197] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.199984] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.204944] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.263526] ath10k_pci 0001:01:00.0: device successfully recovered
20.01.20192066KernelBug ReportVery LowMediumUSB doesn't work on openwrt-18.06.1 & lede-17.01.4AllUnconfirmed Task Description

Hello, it’s my first issue here.
My hardware: ALFA Network W502U / R36
Problem: USB port doesn’t work.
It works on openwrt-15.05, but does not work on lede-17.01.4 & openwrt-18.06.1.
I tried all I could find on google, but no successes.

All bellow done using: OpenWrt 18.06.1, r7258-5eb055306f

I don’t know how to do diagnostics properly, but here is what I already did:


root@OpenWrt:~# lsusb -t
Segmentation fault
root@OpenWrt:~# lsusb
unable to initialize libusb: -99
root@OpenWrt:~# opkg list-installed | grep usb
kmod-usb-core - 4.14.63-1
kmod-usb-ehci - 4.14.63-1
kmod-usb-storage - 4.14.63-1
kmod-usb-uhci - 4.14.63-1
kmod-usb2 - 4.14.63-1
libusb-1.0 - 1.0.22-1
usbutils - 007-9
root@OpenWrt:~# lsusb
unable to initialize libusb: -99
root@OpenWrt:~# lsusb -t
Segmentation fault
root@OpenWrt:~#


Maybe this can help:
root@OpenWrt:~# dmesg
[ 0.000000] Linux version 4.14.63 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7102-3f3a2c9)) #0 Thu Aug 16 07:51:15 20 18
[ 0.000000] SoC Type: Ralink RT3350 id:1 rev:2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[ 0.000000] MIPS: machine is ALFA Networks W502U
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 byt es
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000001ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 803eaeb0, node_mem_map 8100004 0
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8192 pages, LIFO batch:0
[ 0.000000] random: get_random_bytes called from 0x803ee72c with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jff s2
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=00065de0
[ 0.000000] Readback ErrCtl register=00065de0
[ 0.000000] Memory: 27964K/32768K available (3419K kernel code, 172K rwdata, 424K rodata, 200K init, 210K bss, 4804K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] CPU Clock: 320MHz
[ 0.000000] timer_probe: no matching timers found
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i dle_ns: 11945377789 ns
[ 0.000019] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 13421 772796ns
[ 0.007898] Calibrating delay loop... 212.58 BogoMIPS (lpj=1062912)
[ 0.094000] pid_max: default: 32768 minimum: 301
[ 0.099003] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.105607] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.122218] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 19112604462750000 ns
[ 0.132051] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.138273] pinctrl core: initialized pinctrl subsystem
[ 0.146792] NET: Registered protocol family 16
[ 0.160804] Can’t analyze schedule() prologue at 80352ab0
[ 0.213659] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.219347] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.236791] clocksource: Switched to clocksource MIPS
[ 0.244339] NET: Registered protocol family 2
[ 0.250848] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.257890] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.264159] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.270926] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.276710] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.283640] NET: Registered protocol family 1
[ 0.295590] rt-timer 10000100.timer: maximum frequency is 3255Hz
[ 0.303509] Crashlog allocated RAM at address 0x1f00000
[ 0.313920] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[ 0.332748] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.338615] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) © 2001-2006 Red Hat, Inc.
[ 0.380470] io scheduler noop registered
[ 0.384301] io scheduler deadline registered (default)
[ 0.390769] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.403784] console [ttyS0] disabled
[ 0.407515] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 6666666) is a Palmchip BK-3103
[ 0.417412] console [ttyS0] enabled
[ 0.424364] bootconsole [early0] disabled
[ 0.433566] cacheinfo: Failed to find cpu0 device node
[ 0.438911] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.446463] 1f000000.cfi: Found 1 x16 devices at 0×0 in 16-bit bank. Manufact urer ID 0x0000c2 Chip ID 0x0022cb
[ 0.456743] Amd/Fujitsu Extended Query Table at 0×0040 [ 0.462002] Amd/Fujitsu Extended Query version 1.1.
[ 0.467163] number of CFI chips: 1
[ 0.488329] 4 fixed-partitions partitions found on MTD device 1f000000.cfi
[ 0.495300] Creating 4 MTD partitions on “1f000000.cfi”:
[ 0.500855] 0×000000000000-0×000000030000 : “u-boot” [ 0.508096] 0×000000030000-0×000000040000 : “u-boot-env” [ 0.515425] 0×000000040000-0×000000050000 : “factory” [ 0.522776] 0×000000050000-0×000000800000 : “firmware” [ 0.542321] 2 uimage-fw partitions found on MTD device firmware
[ 0.548525] 0×000000050000-0x00000019e790 : “kernel” [ 0.555519] 0x00000019e790-0×000000800000 : “rootfs” [ 0.562562] mtd: device 5 (rootfs) set to be root filesystem
[ 0.568501] 1 squashfs-split partitions found on MTD device rootfs
[ 0.574802] 0x0000003c0000-0×000000800000 : “rootfs_data” [ 0.583610] libphy: Fixed MDIO Bus: probed
[ 0.591353] rt3050-esw 10110000.esw: link changed 0×01 [ 0.609880] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0 100000, irq 5
[ 0.619526] rt2880_wdt 10000120.watchdog: Initialized
[ 0.627610] NET: Registered protocol family 10
[ 0.642865] Segment Routing with IPv6
[ 0.646978] NET: Registered protocol family 17
[ 0.651634] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 0.664823] 8021q: 802.1Q VLAN Support v1.8
[ 0.681284] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 0.691413] Freeing unused kernel memory: 200K
[ 0.695918] This architecture does not have kernel memory protection.
[ 1.619412] init: Console is alive
[ 1.623555] init: - watchdog -
[ 2.396830] random: fast init done
[ 2.722565] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.890829] kmodloader: done loading kernel modules from /etc/modules-boot.d/ *
[ 2.910041] init: - preinit -
[ 4.382680] 8021q: adding VLAN 0 to HW filter on device eth0
[ 4.672961] random: procd: uninitialized urandom read (4 bytes read)
[ 8.115618] jffs2: notice: (324) jffs2_build_xattr_subsystem: complete buildi ng xattr subsystem, 4 of xdatum (3 unchecked, 1 orphan) and 32 of xref (1 dead, 0 orphan) found.
[ 8.134525] mount_root: switching to jffs2 overlay
[ 8.190331] overlayfs: upper fs does not support tmpfile.
[ 8.206092] urandom-seed: Seeding with /etc/urandom.seed
[ 8.442557] procd: - early -
[ 8.445811] procd: - watchdog -
[ 9.256926] procd: - watchdog -
[ 9.261065] procd: - ubus -
[ 9.415882] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.427196] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.434866] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.444910] procd: - init -
[ 10.363541] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.493682] usbcore: registered new interface driver usbfs
[ 10.499804] usbcore: registered new interface driver hub
[ 10.505524] usbcore: registered new device driver usb
[ 10.542139] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 10.640628] SCSI subsystem initialized
[ 10.679912] ehci-platform: EHCI generic platform driver
[ 10.696730] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.732456] Loading modules backported from Linux version wt-2017-11-01-0-gfe 248fc2c180
[ 10.740697] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[ 10.756445] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.782367] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 10.925284] usbcore: registered new interface driver usb-storage
[ 10.976219] xt_time: kernel timezone is -0000
[ 11.101389] PPP generic driver version 2.4.2
[ 11.112322] NET: Registered protocol family 24
[ 11.161352] usbcore: registered new interface driver rtl8187
[ 11.203176] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device “factory "
[ 11.210710] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2872, rev 0200 d etected
[ 11.218641] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected
[ 11.227089] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’ [ 11.399574] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 13.487575] urandom_read: 5 callbacks suppressed
[ 13.487592] random: jshn: uninitialized urandom read (4 bytes read)
[ 31.034969] 8021q: adding VLAN 0 to HW filter on device eth0
[ 31.128839] br-lan: port 1(eth0.1) entered blocking state
[ 31.134327] br-lan: port 1(eth0.1) entered disabled state
[ 31.140711] device eth0.1 entered promiscuous mode
[ 31.145584] device eth0 entered promiscuous mode
[ 31.247802] br-lan: port 1(eth0.1) entered blocking state
[ 31.253292] br-lan: port 1(eth0.1) entered forwarding state
[ 31.259544] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 32.027373] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 39.584842] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 39.605642] br-lan: port 2(wlan0) entered blocking state
[ 39.611182] br-lan: port 2(wlan0) entered disabled state
[ 39.617552] device wlan0 entered promiscuous mode
[ 40.719820] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 40.726761] br-lan: port 2(wlan0) entered blocking state
[ 40.732315] br-lan: port 2(wlan0) entered forwarding state
[ 76.772365] random: crng init done
[ 83.214660] do_page_fault(): sending SIGSEGV to lsusb for invalid read access from 00000000
[ 83.223256] epc = 00406f3d in lsusb[400000+11000]
[ 83.228069] ra = 00406f19 in lsusb[400000+11000]
[ 1235.373340] do_page_fault(): sending SIGSEGV to lsusb for invalid read access from 00000000
[ 1235.381999] epc = 00406f3d in lsusb[400000+11000]
[ 1235.386822] ra = 00406f19 in lsusb[400000+11000]

 


20.01.20192068KernelBug ReportVery LowMediumtar not working properly with OverlayFSopenwrt-18.06Unconfirmed Task Description

I’ve configured extroot as recommended on the wiki, and I’m trying to create a Debian LXC container on my Netgear R8000. I’ve installed lxc-create, tar, getopt, and gnupg-utils, and tried installing the container with ‘lxc-create -t download -n debian’. But it failed with the following errors:

Downloading the image index
Downloading the rootfs
Downloading the metadata
The image cache is now ready
Unpacking the rootfs
tar: ./usr/share/vim/addons/plugin: Directory renamed before its status could be extracted
tar: ./usr/share/vim/addons: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/Canada: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/Mexico: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/US: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/Etc: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/Indian: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Chile: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Pacific: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Antarctica: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Asia: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Atlantic: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Brazil: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Canada: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Europe: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/SystemV: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Mexico: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/US: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Indian: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Australia: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/America/Indiana: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/America/North_Dakota: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/America/Kentucky: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/America/Argentina: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/America: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Africa: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Etc: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix/Arctic: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/posix: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/right/Brazil: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/right/America/Argentina: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/right/America/Kentucky: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/right/America/Indiana: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/right/Chile: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/right/SystemV: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/right/Antarctica: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/right/Etc: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/right/Indian: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/right/US: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/right/Canada: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/right/Mexico: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/Antarctica: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/Chile: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/SystemV: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/Brazil: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/America/Indiana: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/America/Kentucky: Directory renamed before its status could be extracted
tar: ./usr/share/zoneinfo/America/Argentina: Directory renamed before its status could be extracted
tar: ./usr/share/man/man1: Directory renamed before its status could be extracted
tar: ./usr/share/man/fr/man1: Directory renamed before its status could be extracted
tar: ./usr/share/man/fr: Directory renamed before its status could be extracted
tar: ./usr/share/man/man8: Directory renamed before its status could be extracted
tar: ./usr/share/man/pl/man1: Directory renamed before its status could be extracted
tar: ./usr/share/man/pl: Directory renamed before its status could be extracted
tar: ./usr/share/man/it/man1: Directory renamed before its status could be extracted
tar: ./usr/share/man/it: Directory renamed before its status could be extracted
tar: ./usr/share/man/man7: Directory renamed before its status could be extracted
tar: ./usr/share/man/ja/man1: Directory renamed before its status could be extracted
tar: ./usr/share/man/ja: Directory renamed before its status could be extracted
tar: ./usr/share/man/ru/man1: Directory renamed before its status could be extracted
tar: ./usr/share/man/ru: Directory renamed before its status could be extracted
tar: ./usr/share/man: Directory renamed before its status could be extracted
tar: ./usr/share/locale: Directory renamed before its status could be extracted
tar: ./usr/lib/apt/planners: Directory renamed before its status could be extracted
tar: ./usr/lib/apt: Directory renamed before its status could be extracted
tar: ./usr/lib/systemd/user/graphical-session-pre.target.wants: Directory renamed before its status could be extracted
tar: ./usr/lib/systemd/user: Directory renamed before its status could be extracted
tar: ./usr/lib/systemd: Directory renamed before its status could be extracted
tar: ./usr/lib: Directory renamed before its status could be extracted
tar: ./usr/sbin: Directory renamed before its status could be extracted
tar: ./bin: Directory renamed before its status could be extracted
tar: ./lib/systemd/system/getty.target.wants: Directory renamed before its status could be extracted
tar: ./lib/systemd/system/rescue.target.wants: Directory renamed before its status could be extracted
tar: ./lib/systemd/system/timers.target.wants: Directory renamed before its status could be extracted
tar: ./lib/systemd/system/sockets.target.wants: Directory renamed before its status could be extracted
tar: ./lib/systemd/system/multi-user.target.wants: Directory renamed before its status could be extracted
tar: ./lib/systemd/system/sysinit.target.wants: Directory renamed before its status could be extracted
tar: ./lib/systemd/system/local-fs.target.wants: Directory renamed before its status could be extracted
tar: ./lib/systemd/system/graphical.target.wants: Directory renamed before its status could be extracted
tar: ./lib/systemd/system: Directory renamed before its status could be extracted
tar: ./lib/systemd: Directory renamed before its status could be extracted
tar: ./lib: Directory renamed before its status could be extracted
tar: ./sbin: Directory renamed before its status could be extracted
tar: Exiting with failure status due to previous errors
lxc-create: debian: lxccontainer.c: create_run_template: 1473 container creation template for debian failed
lxc-create: debian: tools/lxc_create.c: main: 329 Error creating container debian

I’m pretty sure this is fixed in a more recent kernel (output of uname -a: Linux OpenWrt 4.14.63 #0 SMP Thu Aug 16 07:51:15 2018 armv7l GNU/Linux), and I believe it has to do with constant indoe numbers (https://github.com/amir73il/overlayfs/wiki/Overlayfs-non-standard-behavior#constant-inode-numbers). This issue appears to be related: https://github.com/docker/hub-feedback/issues/727.

21.01.20192075KernelBug ReportVery LowMediumath10k_pci -- SWBA overrun on vdev 0, skipped old beac...TrunkUnconfirmed Task Description

Periodically (every 4-12 hours) the AP (Ubiquiti UniFi-AC-LITE) apparently resets it firmware and drops all clients. After recovery all clients migrate back to the failed AP. I receive the following in the system log:

Sun Jan 20 01:19:15 2019 kern.warn kernel: [626814.624640] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626814.727032] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626814.829453] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626814.931841] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626815.034240] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626815.136629] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626815.239040] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626815.341440] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626815.443835] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626815.546251] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626815.648637] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626815.751043] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626815.853446] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626815.955854] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626816.058259] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626816.160653] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626816.263056] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626816.365458] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626816.467864] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626816.570265] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626816.672667] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626816.775083] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626816.877475] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626816.979877] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626817.082279] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626817.184686] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626817.287098] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626817.389482] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626817.491885] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.543991] ath10k_pci 0000:00:00.0: wmi command 36893 timeout, restarting hardware
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.552229] ath10k_pci 0000:00:00.0: failed to delete peer 40:4e:36:7f:72:59 for vdev 0: -11
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.561304] ath10k_pci 0000:00:00.0: found sta peer 40:4e:36:7f:72:59 (ptr 85cf0200 id 86) entry on vdev 0 after it was supposedly removed
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.574561] ————[ cut here ]———— Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.579573] WARNING: CPU: 0 PID: 14402 at backports-4.19.7-1/net/mac80211/sta_info.c:1004 sta_set_sinfo+0xaec/0xb98 [mac80211]
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.591588] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw 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 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.657187] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.665363] CPU: 0 PID: 14402 Comm: hostapd Not tainted 4.14.91 #0
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.671831] Stack : 80540000 804f1a8c 00000000 00000000 804cb014 865d3b04 87d0c85c 8051b9c7
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.680702] 804c73b8 00003842 80593800 000003ec 865d3cb4 00000001 865d3ab8 6a0710c0
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.689575] 00000000 00000000 80590000 000083f0 00000000 00000000 00000008 00000000
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.698350] 00000188 f8b6dd8c 00000187 6d6d3a20 80000000 00000000 87663a04 876079d4
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.707137] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.715075] 00000009 000003ec 865d3cb4 87c92000 00000010 80263864 00000000 80590000
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.723805] ...
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.726511] Call Trace:
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.729234] [<8006c44c>] show_stack+0×58/0×100 Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.734094] [<800824c0>] __warn+0xe4/0×118 Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.738594] [<80082584>] warn_slowpath_null+0x1c/0×28 Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.744162] [<876079d4>] sta_set_sinfo+0xaec/0xb98 [mac80211]
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.750389] [<87607b60>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.757764] [<8750f15c>] cfg80211_check_station_change+0x1be0/0x2c54 [cfg80211]
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.765684] —[ end trace 4604677d3a14d96c ]— Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.799099] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.901488] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626818.003882] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626818.106295] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626818.208683] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626818.311083] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626818.413480] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626818.515885] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626818.618279] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626818.720682] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626818.823084] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626818.925504] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626819.027903] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626819.130290] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626819.232697] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626819.335107] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626819.437492] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626819.539900] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626819.642300] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626819.744707] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626819.847110] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626819.949512] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626820.051909] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626820.154304] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626820.256719] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626820.359112] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626820.461524] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:21 2019 kern.warn kernel: [626820.563921] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:21 2019 kern.warn kernel: [626820.666314] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:21 2019 kern.warn kernel: [626820.698954] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 8612e200 vdev: 0 addr: fc:ec:da:ae:a0:d1
Sun Jan 20 01:19:21 2019 kern.info kernel: [626820.838595] ieee80211 phy0: Hardware restart was requested
Sun Jan 20 01:19:21 2019 kern.warn kernel: [626820.844562] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -143
Sun Jan 20 01:19:21 2019 kern.warn kernel: [626820.852243] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -143
Sun Jan 20 01:19:22 2019 kern.warn kernel: [626821.884646] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
Sun Jan 20 01:19:22 2019 kern.info kernel: [626821.902855] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ Sun Jan 20 01:19:22 2019 kern.info kernel: [626821.909440] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ Sun Jan 20 01:19:22 2019 kern.info kernel: [626821.917837] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24616 iram: 26584’ Sun Jan 20 01:19:22 2019 kern.warn kernel: [626821.990859] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
Sun Jan 20 01:19:22 2019 kern.warn kernel: [626822.006126] ath10k_pci 0000:00:00.0: set-coverage-class, phyclk: 88 value: 0
Sun Jan 20 01:19:22 2019 kern.info kernel: [626822.023489] ath10k_pci 0000:00:00.0: device successfully recovered

Supply the following if possible:
- Device problem occurs on

- Ubiquiti UniFi-AC-LITE
- OpenWrt SNAPSHOT r9019-0e8d5ff / LuCI Master (git-19.011.54860-47d9205)
- Qualcomm Atheros QCA956X ver 1 rev 0

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

@OpenWrt_LR:~# opkg list-installed
ath10k-firmware-qca988x-ct - 2018-10-10-d366b80d-1
base-files - 196-r9019-0e8d5ff
busybox - 1.30.0-2
dnsmasq - 2.80-5
dropbear - 2017.75-9
firewall - 2019-01-02-70f8785b-2
fstools - 2018-12-28-af93f4b8-3
fwtool - 1
hostapd - 2018-12-02-c2c6c01b-1
hostapd-common - 2018-12-02-c2c6c01b-1
ip6tables - 1.8.2-2
iptables - 1.8.2-2
iw - 4.14-1
iwinfo - 2018-12-25-dd508af4-1
jshn - 2018-07-25-c83a84af-2
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.14.91-1-62c515ec7afd0a040b29be060097c14e
kmod-ath - 4.14.91+4.19.7-1-1
kmod-ath10k-ct - 4.14.91+2018-12-20-118e16da-1
kmod-ath9k - 4.14.91+4.19.7-1-1
kmod-ath9k-common - 4.14.91+4.19.7-1-1
kmod-cfg80211 - 4.14.91+4.19.7-1-1
kmod-gpio-button-hotplug - 4.14.91-2
kmod-hwmon-core - 4.14.91-1
kmod-ip6tables - 4.14.91-1
kmod-ipt-conntrack - 4.14.91-1
kmod-ipt-core - 4.14.91-1
kmod-ipt-nat - 4.14.91-1
kmod-ipt-offload - 4.14.91-1
kmod-lib-crc-ccitt - 4.14.91-1
kmod-mac80211 - 4.14.91+4.19.7-1-1
kmod-nf-conntrack - 4.14.91-1
kmod-nf-conntrack6 - 4.14.91-1
kmod-nf-flow - 4.14.91-1
kmod-nf-ipt - 4.14.91-1
kmod-nf-ipt6 - 4.14.91-1
kmod-nf-nat - 4.14.91-1
kmod-nf-reject - 4.14.91-1
kmod-nf-reject6 - 4.14.91-1
kmod-ppp - 4.14.91-1
kmod-pppoe - 4.14.91-1
kmod-pppox - 4.14.91-1
kmod-slhc - 4.14.91-1
libblobmsg-json - 2018-07-25-c83a84af-2
libc - 1.1.20-1
libgcc - 7.4.0-1
libip4tc - 1.8.2-2
libip6tc - 1.8.2-2
libiwinfo - 2018-12-25-dd508af4-1
libiwinfo-lua - 2018-12-25-dd508af4-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
libmbedtls - 2.14.1-1
libnl-tiny - 0.1-5
libpthread - 1.1.20-1
libubox - 2018-07-25-c83a84af-2
libubus - 2018-10-06-221ce7e7-1
libubus-lua - 2018-10-06-221ce7e7-1
libuci - 2018-08-11-4c8b4d6e-1
libuclient - 2018-11-24-3ba74ebc-1
libustream-mbedtls - 2018-07-30-23a3f283-1
libxtables - 1.8.2-2
logd - 2018-12-18-876c7f5b-1
lua - 5.1.5-1
luci - git-19.011.54860-47d9205-1
luci-app-firewall - git-19.011.54860-47d9205-1
luci-app-opkg - git-19.011.54860-47d9205-1
luci-base - git-19.011.54860-47d9205-1
luci-lib-ip - git-19.011.54860-47d9205-1
luci-lib-jsonc - git-19.011.54860-47d9205-1
luci-lib-nixio - git-19.011.54860-47d9205-1
luci-mod-admin-full - git-19.011.54860-47d9205-1
luci-mod-network - git-19.011.54860-47d9205-1
luci-mod-status - git-19.011.54860-47d9205-1
luci-mod-system - git-19.011.54860-47d9205-1
luci-proto-ipv6 - git-19.011.54860-47d9205-1
luci-proto-ppp - git-19.011.54860-47d9205-1
luci-ssl - git-19.011.54860-47d9205-1
luci-theme-bootstrap - git-19.011.54860-47d9205-1
mtd - 23
netifd - 2018-12-16-2750ce2e-1
odhcp6c - 2019-01-11-d2e247d8-16
odhcpd-ipv6only - 2018-12-12-2d2a3b84-3
openwrt-keyring - 2018-05-18-103a32e9-1
opkg - 2017-12-07-3b417b9f-3
ppp - 2.4.7-14
ppp-mod-pppoe - 2.4.7-14
procd - 2018-11-23-d6673547-1
px5g-mbedtls - 8
rpcd - 2018-11-28-3aa81d0d-1
rpcd-mod-rrdns - 20170710
swconfig - 12
uboot-envtools - 2018.03-3
ubox - 2018-12-18-876c7f5b-1
ubus - 2018-10-06-221ce7e7-1
ubusd - 2018-10-06-221ce7e7-1
uci - 2018-08-11-4c8b4d6e-1
uclient-fetch - 2018-11-24-3ba74ebc-1
uhttpd - 2018-11-28-cdfc902a-1
usign - 2015-07-04-ef641914-1
wireless-regdb - 2017-10-20-4343d359

- Steps to reproduce

 

Occurs every 4-12 hours.

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

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

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

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

Please made some revision.

Thank you!

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

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

dmesg shows notink.

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

obj-$(CONFIG_USB_MUSB_SUNXI) += sunxi.o

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

01.03.20192156KernelBug ReportVery LowMediumcacheinfo kernel error on TD-W8970 v1TrunkUnconfirmed Task Description

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

Fri Mar  1 11:09:10 2019 kern.err kernel: [    0.691124] cacheinfo: Failed to find cpu0 device node
Fri Mar  1 11:09:10 2019 kern.warn kernel: [    0.694921] cacheinfo: Unable to detect cache hierarchy for CPU 0
12.03.20192182KernelBug ReportVery LowMediumath10k_pci repeated errors in dmesgTrunkUnconfirmed Task Description

Netgear R7800
OpenWrt SNAPSHOT, r9559-445ca981d1

dmesg full of these errors. Kernel crashes too (reported in  FS#2178 ), not sure if related or a different issues.

[40794.429593] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
[40794.429647] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
[40794.436800] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
[40794.445022] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
...
14.03.20192186KernelBug ReportVery LowMediumDSA driver performance issueTrunkUnconfirmed Task Description


Device: Linksys EA9500
Trunk: Kernel v4.19.25

I’ve compiled my own kernel and used DSA driver instead of swconfig
one for this router. Note: Kernel v4.19 enables broadcom tags for
B53 family of switches in this DSA driver

Here are some of my observations:

1. Lan to Lan speed is indeed 1Gbps (file copy)
2. However, Lan to Wan port is capped at ~500Mbps

 i. My internet is limited to 200Mbps, please see by test 
    setup below
ii. One of the users who has 1GBps internet had initially
    reported this issue

I’ve tried all the lan ports but the result is same. Note that this
router has 8 lan ports and 1 wan port. Where, switch bcm53012
covers lan4, lan7, lan8 and wan ports. While bcm53125 covers lan1,
lan2, lan3, lan5 and lan6 ports. bcm53125’s cpu port(8) hangs of
bcm53012 at port(0). bcm53012 is connected to GMAC.

When I load factory firmware, I do get 1Gbps from lan to wan port

Test setup:


Router ⇔ pfsense box ⇔ Modem

             ||
            SSD

File copy is limited to ~500Mbps

Thanks,

Vivek


21.03.20192197KernelBug ReportVery LowMediumdefault kernel option CONFIG_BPF_JIT=y breaking bpf fil...TrunkUnconfirmed Task Description

Between 18.06.2 and the Trunk the kernel option CONFIG_BPF_JIT=y was added.

With JIT enabled, a simple beacon filter shows no traffic.
With JIT disabled, the filter works normally.

Device: ar71xx generic device (gl-mifi):

Test:
put the radio card in monitor mode:
iw wlan0 set type monitor
ifconfig wlan0 up
iw wlan0 set channel 1 # some channel with an AP

tcpdump -i wlan0
see lots of traffic and beacons

tcpdump -i wlan0 wlan type mgt subtype beacon
no traffic

Fix:
echo 0 > /proc/sys/net/core/bpf_jit_enable

tcpdump -i wlan0 wlan type mgt subtype beacon
see lots of beacons

More detail:
Testing on my side, with JIT enabled, it seems to be computing the offset to the start of the wlan packet incorrectly. In my case, the offset was off by +16 bytes. A filter of “wlan[0] == 0×80” should show beacons, because the type/subtype field is the first byte of the wlan packet. With JIT enabled, wlan[0] was equal to the first byte of the addr3/bssid field (the first byte of my AP’s MAC address), which is 16 bytes later in the packet.


28.03.20192208KernelBug ReportVery LowMediumUAS support for USB3.0 drivesopenwrt-18.06Unconfirmed Task Description

UAS module is loaded fine on Linksys WRT3200ACM with openwrt 18.06 but when plugging a USB 3.0 drive (for example a USB 3.0 external HDD) it does not load in the right way and device ends using driver usb-storage, which prevents of using device at full speed.

Steps to reproduce: Plug a USB 3.0 external HDD to USB 3.0 port of any openwrt 18.06 device and check speed when copying a file to the external HDD, it should be around 100+ MBps

Any needed additional info can be found at this forum question: https://forum.openwrt.org/t/usb3-0-hdd-issues/34031/13


24.04.20192257KernelBug ReportVery LowMediumKernel (eventually) fails to load modules on Netgear R7...TrunkWaiting on reporter Task Description

Per the subject, I have built myself a reasonably fat image with a bunch of kernel modules (since the device has a lot of memory and flash)

However, it was failing since the reserved memory area for kernel modules was quickly exhausted.

I would suggest either defaulting CONFIG_ARM_MODULE_PLTS to y or at least making it a configurable option.

18.06.20192326KernelBug ReportVery LowMediumpage_owner=on doesn't work on Firefly FireWRTopenwrt-18.06Unconfirmed Task Description
  1. use ‘make kernel_menuconfig’ to configure page_owner function and add page_owner=on to kernel boot cmdline
  1. compile, and update the Firefly FireWRT board
  1. login into the system, cat ‘/sys/kernel/debug/page_owner’, no output
01.08.20192422KernelBug ReportVery LowMediumWithout reason my router dropping frames.openwrt-18.06Unconfirmed Task Description

Without reason my ping sometimes going up very fast.
I checked logs, and there was around 53 lines of “Error - Dropping frame due to full tx queue 2”.
It’s the reason of instability of my network.

Supply the following if possible:
- DWR 921 C3
- Powered by LuCI openwrt-18.06 branch (git-19.170.32094-4d6d8bc) / OpenWrt 18.06.4 r7808-ef686b7292

 


29.08.20192472KernelBug ReportVery LowMediumnetdev led trigger on wwan0 actived even the qmi has no...TrunkUnconfirmed Task Description

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

 

This happens with Quectel EC25 LTE modem (USB interface, 2c7c:0125). The board is based on Allwinner H3, using openwrt-19.07-snapshot (kernel 4.14.140).

Following is the configuration, that 4g_wan will not be enabled when booted. But the LED binded with wwan0 been actived even the 4g_wan does not be enabled.

config interface '4g_wan'
	option proto 'qmi'
	option device '/dev/cdc-wdm0'
	option auto '0'
config led 'led_modem'
	option name 'modem'
	option sysfs 'kooiot:green:modem'
	option trigger 'netdev'
	option mode 'link tx rx'
	option default '0'
	option dev 'wwan0'

Once we enabled the 4g_wan, and then disabled the 4g_wan, the LED will be turned off.

When system booted, ifconfig -a shows:

wwan0     Link encap:Ethernet  HWaddr AA:C8:51:F9:2A:67  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

when 4g_wan enabled and disabled, ifconfig -a shows:

wwan0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          POINTOPOINT NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:636 (636.0 B)  TX bytes:1192 (1.1 KiB)
15.09.20192498KernelBug ReportVery LowMediumUsing "wifi" causes soft reboot after a certain kernel ...TrunkUnconfirmed Task Description

Device: Xiaomi Mi Router 3g
OpenWrt: SNAPSHOT r10890-7d542dc804
mt76: 4.14.140+2019-08-22-2a0edbb4-1
Full list of installed packages

Some time during the normal operation “ieee80211_ctstoself_get” warning happens which and I seemingly lose the ability to use 5ghz AP from my tablet(on my phone it’s perfectly fine).
If I try to restart APs via “wifi” Oops in hostapd happens and take the router with it to soft reboot. Attached 2 recent crashlogs.

05.10.20192534KernelBug ReportVery LowMediumath79: no ethernet link and console on TP-Link TL-WA901...TrunkUnconfirmed Task Description

I found an older device TP-Link TL-WA901ND v2 in my rack and tried to install latest OpenWrt master (27bf8abe69)
on it. I used the ath79 target with a mostly default minimal configuration.

The device comes up, but no Ethernet link is established with my switch.
This worked of course before (I had an older OpenWrt ar7100 image on it).

Also, I get no serial console so I can only update via U-Boot and ymodem protocol (not tested whether network works in U-Boot).

I attach a full trace of the boot process. Hints are welcome :-)

09.10.20192540KernelBug ReportVery LowMediumUBNT-ERX: hwnat = very slow "tls shaking"TrunkUnconfirmed Task Description

OpenWrt SNAPSHOT r11175-700e7a2eb9
UBNT-ERX (ramips)

When hwnat is turn on than no www browsing is possible
due to very, very slow “tls shaking”. This is so slow that
mostly there are timeouts. When hwnat is turn off and just software
offloading is used than it works like a charm.

25.10.20192567KernelBug ReportVery LowMedium[ATH79] USB speed degradation on WDR4300openwrt-19.07Assigned Task Description

Hello!

I experience huge speed loss on the lastest build (Thu Oct 24 21:58:18 2019) using the ath79 snapshot image builder. I had the same problem on the ~2 weeks earlier build as well, just wanted to have a try on the up to date version now.
Built configuration on both 18.04.6 and 19.07:
PROFILE=tplink_tl-wdr4300-v1 PACKAGES=”block-mount diffutils f2fs-tools kmod-fs-f2fs kmod-mtd-rw kmod-usb-storage luci mailsend-nossl minidlna nfs-kernel-server ppp-mod-pppoe shadow-su transmission-daemon-mbedtls transmission-remote-mbedtls vsftpd usbreset zram-swap -ip6tables -kmod-ip6tables -kmod-ipv6 -kmod-nf-conntrack6 -kmod-nf-ipt6 -libopenssl1.1 -odhcp6c -odhcpd-ipv6only -luci-proto-ipv6 -libip6tc2”

Drive: Kingston DT G3 32GB (old one, better quality with Intel MLC flash)
Firewall: w and w/o flow offload on 19.07
Model: TP-Link WDR4300 v1

File read speeds:
18.06.4 orig vstpd 542M 75s 7,2MB/s
18.06.4 pepe2k vstpd 542M 64s 7,2MB/s
19.07 pepe2k vstpd 542M 543s 1,0MB/s
19.07 pepe2k dd+nc 256M 321s 0,8MB/s

- During the measurement, no root overlay was in use, just a general filesystem was attached
- lower speeds are really close to USB 1.x standard
- measurements took on fresh installations
- the degradation exists if only one drive is attached
- the degradation exists on both filesystem and block level.

I’m using pepe2k’s uboot image (CPU clocked to 600MHz). However I didn’t revert the uboot partition now, I did for a few weeks, nothing has changed.

Let me know if I can help the troubleshooting anyway. Dmesg logs are attached for all mentioned configurations (18.06.4 orig, 18.06.4 pepe2k, 19.07 pepe2k).

Best regards

11.11.20192587KernelBug ReportVery LowMediumCY-SWR1100 WiFi 2.4GHz fails on some situationAllUnconfirmed Task Description

When I enable 2.4GHz and disable 5GHz (via uci), and reboot, then both wlan0 (2.4GHz) and wlan1 (5GHz) interface exist on `ip link` list, but only wlan0 is up and wlan1 is in down state.
In this situation, wlan0 does not work at all. AP SSID can not be found, and `iw dev wlan0 scan` returns no result.
But when I enable wlan1, or disable it again to make wlan1 completely disappear on `ip link` list, then wlan0 becomes functional without any problem.

right after boot, wlan0 on, wlan1 off: wlan0 fails, network restart doen’t make any difference
right after boot, wlan0 on, wlan1 on: no problem
wlan0 on, wlan1 off→on, network reload: no problem
wlan0 on, wlan1 on→off, network reload: no problem

I found this behavior on 15.05.1, 17.01.6, 18.06.4, and snapshot.

There’s a thread on the forum reporting 2.4GHz radio problem. Maybe same bug?
https://forum.openwrt.org/t/samsung-cy-swr1100-radios-are-not-working-even-after-enabled-please-help/13114

25.11.20192628KernelBug ReportVery LowMediumKernel warning: eth0 (mtk_soc_eth): transmit queue 0 ti...openwrt-19.07Unconfirmed Task Description

Model ZBT-WG3526 (16M)
Architecture - MediaTek MT7621 ver:1 eco:3
Firmware version - OpenWrt 19.07-SNAPSHOT r10731-e68d589e7b / LuCI openwrt-19.07 branch git-19.326.61751-179c5e8
Kernel version- 4.14.155

 Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.762093] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.770348] br-VLAN8: port 2(wlan1) entered blocking state
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.775981] br-VLAN8: port 2(wlan1) entered forwarding state
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.784594] br-VLAN6: port 3(wlan1-1) entered blocking state
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.790393] br-VLAN6: port 3(wlan1-1) entered disabled state
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.796955] device wlan1-1 entered promiscuous mode
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.803794] IPv6: ADDRCONF(NETDEV_UP): wlan1-1: link is not ready
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.810026] br-VLAN6: port 3(wlan1-1) entered blocking state
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.815820] br-VLAN6: port 3(wlan1-1) entered forwarding state
Mon Nov 25 10:11:25 2019 kern.info kernel: [  107.343567] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
Mon Nov 25 11:10:20 2019 kern.info kernel: [ 3641.266434] nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based  firewall rule not found. Use the iptables CT target to attach helpers instead.
Mon Nov 25 11:37:14 2019 kern.info kernel: [ 5255.651116] TCP: request_sock_TCP: Possible SYN flooding on port 88. Sending cookies.  Check SNMP counters.
Mon Nov 25 11:41:29 2019 kern.warn kernel: [ 5510.958004] ------------[ cut here ]------------
Mon Nov 25 11:41:29 2019 kern.warn kernel: [ 5510.962647] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:320 0x8038e1c0
Mon Nov 25 11:41:29 2019 kern.info kernel: [ 5510.969709] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Mon Nov 25 11:41:29 2019 kern.warn kernel: [ 5510.976660] Modules linked in: qcserial pppoe ppp_async option cdc_mbim usb_wwan sierra_net sierra rndis_host qmi_wwan pppox ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cfg80211 cdc_ncm cdc_ether xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard usbserial usbnet usblp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4
Mon Nov 25 11:41:29 2019 kern.warn kernel: [ 5511.047339]  nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat cdc_wdm cdc_acm fuse ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net 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 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT
Mon Nov 25 11:41:29 2019 kern.warn kernel: [ 5511.118581]  x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 uas mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ahci libahci libata ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common mii crc32c_generic
Mon Nov 25 11:41:29 2019 kern.warn kernel: [ 5511.149081] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.155 #0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.155177] Stack : 00000000 00000000 00000000 8fe6d540 00000000 00000000 00000000 00000000
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.163556]         00000000 00000000 00000000 00000000 00000000 00000001 8fc0bd60 ac07f582
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.171942]         8fc0bdf8 00000000 00000000 000093c8 00000038 8049e458 00000008 00000000
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.180305]         00000000 80550000 00024659 00000000 8fc0bd40 00000000 00000000 8050c830
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.188647]         8038e1c0 00000140 00000001 8fe6d540 00000000 802b02b8 00000004 805b0004
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.196980]         ...
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.199415] Call Trace:
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.199535] [<8049e458>] 0x8049e458
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.205440] [<8038e1c0>] 0x8038e1c0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.208923] [<802b02b8>] 0x802b02b8
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.212412] [<800101a0>] 0x800101a0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.215881] [<800101a8>] 0x800101a8
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.219354] [<804873a4>] 0x804873a4
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.222825] [<800759a0>] 0x800759a0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.226315] [<800325b8>] 0x800325b8
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.229802] [<8038e1c0>] 0x8038e1c0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.233316] [<80032640>] 0x80032640
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.236785] [<800d20e8>] 0x800d20e8
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.240287] [<8038e1c0>] 0x8038e1c0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.243757] [<8009d860>] 0x8009d860
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.247237] [<8038e014>] 0x8038e014
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.250711] [<8008c3dc>] 0x8008c3dc
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.254181] [<80063108>] 0x80063108
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.257662] [<8008c698>] 0x8008c698
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.261136] [<8007cfe8>] 0x8007cfe8
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.264627] [<804a5240>] 0x804a5240
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.268102] [<80036f74>] 0x80036f74
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.271573] [<8025daf0>] 0x8025daf0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.275054] [<8000b488>] 0x8000b488
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.278548]
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.280144] ---[ end trace f0b0ca1dd55db7a7 ]---
Mon Nov 25 11:41:30 2019 kern.err kernel: [ 5511.284782] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Mon Nov 25 11:41:30 2019 kern.info kernel: [ 5511.291016] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
Mon Nov 25 11:41:30 2019 kern.info kernel: [ 5511.297053] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0dc00000, max=0, ctx=1789, dtx=1789, fdx=1788, next=1789
Mon Nov 25 11:41:30 2019 kern.info kernel: [ 5511.307977] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0db60000, max=0, calc=893, drx=894
Mon Nov 25 11:41:30 2019 kern.info kernel: [ 5511.321091] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
Mon Nov 25 11:41:30 2019 kern.info kernel: [ 5511.334877] mtk_soc_eth 1e100000.ethernet: PPE started

29.11.20192641KernelBug ReportVery LowMediumDevice file for USB does not appear /dev/ttyUSB*openwrt-19.07Waiting on reporter Task Description

With new version 19.07.0rc I could not make my USB cellular (3g) modem dongle to work due to it simply no any serial device like /dev/ttyUSB* file appear with insertion.
In kernel log it appears report about new device insertion and nothing happenings after.
I made several attempts, with ‘modeswitch’ or without and several other ‘mods’ the result is the same no any /dev/ttyUSB*
With other version it was not such problem it appeared exactly three /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 es well as on my Ubuntu 19.04 And Ubuntu 16.04 Ubuntu 18.04

Both router and dongle are USB-2
Actually router is Asus RT-N16
and modem dongle is Alcatel One Touch X090S

P.S. I need this one to be solved to report other bugs. :)

28.12.20192702KernelBug ReportVery LowMediumPerformance degradation after kernel.warn ath10k_core@8...openwrt-19.07Unconfirmed Task Description

Supply the following if possible:

- Device problem occurs on
Archer C7v2

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

[---] PACKAGES INSTALLED
echo [INFO] Downloading package information ...
opkg update
#
echo [INFO] Removing packages ...
opkg remove wpad-basic
#
echo [INFO] Installing packages ...
opkg install bash
opkg install block-mount
opkg install curl
opkg install e2fsprogs
opkg install htop
# opkg install igmpproxy
opkg install kmod-br-netfilter
opkg install kmod-fs-ext4
opkg install kmod-fs-msdos
opkg install kmod-fs-ntfs
opkg install kmod-scsi-core
opkg install kmod-usb-storage
opkg install libncurses
opkg install libpcre
opkg install lua luafilesystem
opkg install luci-mod-rpc
opkg install luci-proto-relay
opkg install mailsend
opkg install nano
opkg install relayd
opkg install rpcd
opkg install terminfo
opkg install tcpdump
opkg install uhttpd-mod-ubus
opkg install vsftpd
opkg install wget
opkg install wpad
#
# batman-adv
opkg install kmod-batman-adv
opkg install batctl-full
[---]

- Steps to reproduce
Today worked on batman-adv via ad-hoc between two devices. Device A has LAN to bat0, batman-adv works over ad-hoc wifi, Device B has bat0 to LAN. (Device B has only one wired client behind)
Both devices (Archer C7v2 with OpenWrt 19.07-rc.2) had multiple crashes of the below printed type resulting in only 10 MBit/s download speed on the computer attached via LAN to Device B. Before the kernel.warn log line appeared on one of the APs, the speed was full 100 MBit/s. As soon I reboot the “kernel.warn”ing AP, the speed is 100 MBit again. bat0 is bridged to eth0.101 on both ends.

 
Sat Dec 28 14:50:04 2019 daemon.notice hostapd: wlan0-1: AP-ENABLED
Sat Dec 28 14:50:05 2019 kern.info kernel: [ 2416.392454] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Dec 28 14:50:05 2019 daemon.notice wpa_supplicant[16106]: Successfully initialized wpa_supplicant
Sat Dec 28 14:50:06 2019 kern.info kernel: [ 2417.755684] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Dec 28 14:50:06 2019 daemon.notice wpa_supplicant[16106]: Note: nl80211 driver interface is not designed to be used with ap_scan=2; this can result in connection failures
Sat Dec 28 14:50:06 2019 daemon.notice wpa_supplicant[16176]: wlan0: Trying to associate with SSID 'Permakultur'
Sat Dec 28 14:50:06 2019 kern.info kernel: [ 2417.950938] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2417.991646] ------------[ cut here ]------------
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2417.996394] WARNING: CPU: 0 PID: 16176 at /builder/shared-workdir/build/build_dir/target-mips_24kc_musl/linux-ath79_generic/ath10k-ct-2019-09-09-5e8cd86f/ath10k-4.19/mac.c:6598 0x8700bd24 [ath10k_core@87000000+0x5d210]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.016231] Modules linked in: ath9k ath9k_common pppoe ppp_async batman_adv ath9k_hw 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 libcrc32c iptable_mangle iptable_filter ip_tables crc_ccitt compat br_netfilter ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos vfat fat ntfs nls_utf8 nls_iso8859_1 nls_cp437
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.088204]  usb_storage sd_mod scsi_mod ext4 mbcache jbd2 crc16 crc32c_generic crypto_hash ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.103218] CPU: 0 PID: 16176 Comm: wpa_supplicant Tainted: G        W       4.14.156 #0
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.111503] Stack : 000000f8 800b2a94 80500000 804af544 00000000 00000000 00000000 00000000
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.120128]         00000000 00000000 00000000 00000000 00000000 00000001 853c59d8 ebe9a33e
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.128783]         853c5a70 00000000 00000000 00009378 00000038 80447958 00000008 00000000
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.137442]         000001c9 6e8dd5be 000001c8 00000000 853c59b8 80000000 00000000 8704e480
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.146036]         8700bd24 000019c6 86310d28 87428800 00000003 8027f944 00000000 80630000
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.154570]         ...
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.157183] Call Trace:
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.157198] [<800b2a94>] 0x800b2a94
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.163293] [<80500000>] 0x80500000
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.166873] [<80447958>] 0x80447958
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.170485] [<8700bd24>] 0x8700bd24 [ath10k_core@87000000+0x5d210]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.176813] [<8027f944>] 0x8027f944
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.180352] [<8006a56c>] 0x8006a56c
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.184017] [<8006a574>] 0x8006a574
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.187559] [<80084c20>] 0x80084c20
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.191102] [<8700bd24>] 0x8700bd24 [ath10k_core@87000000+0x5d210]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.197583] [<80084d08>] 0x80084d08
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.201136] [<80318194>] 0x80318194
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.204714] [<8700bd24>] 0x8700bd24 [ath10k_core@87000000+0x5d210]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.211078] [<87795f70>] 0x87795f70 [mac80211@87780000+0x6c280]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.217204] [<8772d0d0>] 0x8772d0d0 [cfg80211@87700000+0x363f0]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.223313] [<8772941c>] 0x8772941c [cfg80211@87700000+0x363f0]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.229530] [<8771ddc0>] 0x8771ddc0 [cfg80211@87700000+0x363f0]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.235711] [<80134f00>] 0x80134f00
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.239316] [<80350498>] 0x80350498
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.243000] [<803501ac>] 0x803501ac
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.246630] [<8034eb44>] 0x8034eb44
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.250375] [<8034f410>] 0x8034f410
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.253980] [<8034c9bc>] 0x8034c9bc
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.257540] [<8034e208>] 0x8034e208
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.261197] [<8034e6e4>] 0x8034e6e4
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.264845] [<802f7c1c>] 0x802f7c1c
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.268386] [<8034bcf8>] 0x8034bcf8
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.271988] [<8034e308>] 0x8034e308
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.275625] [<802f7e7c>] 0x802f7e7c
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.279170] [<800ac680>] 0x800ac680
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.282723] [<802f5f34>] 0x802f5f34
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.286301] [<802f6718>] 0x802f6718
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.289840] [<8034bdec>] 0x8034bdec
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.293390] [<802f681c>] 0x802f681c
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.297024] [<8013fd78>] 0x8013fd78
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.300656] [<802fd5c0>] 0x802fd5c0
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.304252] [<802f8704>] 0x802f8704
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.307808] [<802f6718>] 0x802f6718
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.311405] [<8006f72c>] 0x8006f72c
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.314981] [<802f84a4>] 0x802f84a4
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.318624]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.320140] ---[ end trace b03503722668fd71 ]---
Sat Dec 28 14:50:07 2019 kern.info kernel: [ 2418.329016] wlan0: Selected IBSS BSSID [MAC] based on configured SSID
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Network device 'wlan0-1' link is up
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Network device 'wlan0-2' link is up
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Network device 'wlan0-3' link is up
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Network device 'wlan0' link is up
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Interface 'nwi_mesh0' is enabled
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Interface 'nwi_mesh0' has link connectivity
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Interface 'nwi_mesh0' is setting up now
Sat Dec 28 14:50:07 2019 kern.info kernel: [ 2418.899578] batman_adv: bat0: Adding interface: wlan0
Sat Dec 28 14:50:07 2019 kern.info kernel: [ 2418.904876] batman_adv: bat0: Interface activated: wlan0
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Interface 'nwi_mesh0' is now up
Sat Dec 28 14:50:08 2019 daemon.notice wpa_supplicant[16176]: wlan0: Associated with [MAC]


04.02.20202808KernelBug ReportVery LowMediumlantiq: xway: dwc2 - USB not working (ARV752DPW22 - Eas...TrunkUnconfirmed Task Description

Device problem occurs on: ARV752DPW22 (EasyBox803a) tested.

Software versions of OpenWrt/LEDE release: since kernel 4.19 (OpenWrt trunk)

kernel 4.14 USB reset every time working

Steps to reproduce:

openWrt_trunk first boot	> hang!
30sec power supply disconnect	> no_hang
soft reboot			> no_hang
short power supply disconnect	> hang!
15sec power supply disconnect	> hang!
30sec power supply disconnect	> hang!
30sec power plug disconnect	> hang!
soft reboot			> hang!
60sec power plug disconnect	> hang!

?seems hardware related? (reproducible), 2 of 3 EasyBoxes have hang! bug / behave like

Bootlog:

dwc2 1e101000.usb: dwc2_core_reset: HANG! Soft Reset timeout GRSTCTL GRSTCTL_CSFTRST
dwc2: probe of 1e101000.usb failed with error -16

full bootlog

tried fixes:

lantiq: 4.19: increase usb reset timeouts → set to: 1000000

08.03.20202889KernelBug ReportVery LowMediumTP-Link TL-WR841 snpshot ath79 kernel 5.4 error : ag71x...TrunkUnconfirmed Task Description

problem is : Failed to connect to the switch !
only happen with kernel 5.4, kernel 4.19 is fine

U-Boot 1.1.4 (Nov 16 2009 - 09:06:24)

AP93 (ar7240) U-boot
DRAM:
sri
#### TAP VALUE 1 = 8, 2 = 8
32 MB
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
Using default environment

Hn:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7014
dth0: 00:03:7f:09:0b:ad
eth0 up
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... @K

Starting kernel ...



OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Looking for OpenWrt image... found at 0xbf022000
Decompressing kernel... done!
Ptarting kernel at 80060000...

Linux version 5.4.22 (huhu@bikom) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r11816-d5ede68f8b)) #0 Thu Mar 5 11:53:50 2020
printk: bootconsole [early0] enabled
CPU0 revision is: 00019374 (MIPS 24Kc)
LIPS: machine is TP-Link TL-WR841N/ND v5/v6
SoC: Atheros AR7240 rev 2
Initrd not found or empty - disabling initrd
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Zone ranges:
  Normal   [mem 0x0000000000000000-0x0000000001ffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000000000-0x0000000001ffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
Built 1 zonelists, mobility grouping on.  Total pages: 8128
Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Writing ErrCtl register=00000000
Readback ErrCtl regist"er=00000000
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 27372K/32768K available (3175K kernel code, 134K rwdata, 372K rodata, 1176K init, 182K bss, 5396K reserved, 0K cma-reserved)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS: 51
random: get_random_bytes called from 0x803fa9ac with crng_init=0
CPU clock: 400.000 MHz
clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
PCI host bridge /ahb/apb/pcie-controller@180c0000 ranges:
 MEM 0x0000000010000000..0x0000000013ffffff
  IO 0x0000000000000000..0x0000000000000000
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
pci_bus 0000:00: root bus resource [io  0x0000]
pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
pci 0000:00:00.0: supports D1
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
clocksource: Switched to clocksource MIPS
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
workingset: timestamp_bits=30 max_order=13 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
pinctrl-single 18040028.pinmux: 64 pins, size 8
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
printk: console [ttyS0] disabled
18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 12500000) is a 16550A
printk: console [ttyS0] enabled
printk: console [ttyS0] enabled
printk: bootconsole [early0] disabled
printk: bootconsole [early0] disabled
spi-nor spi0.0: s25sl032p (4096 Kbytes)
3 fixed-partitions partitions found on MTD device spi0.0
Creating 3 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x0000003f0000 : "firmware"
2 tplink-fw partitions found on MTD device firmware
Creating 2 MTD partitions on "firmware":
0x000000000000-0x000000136bf2 : "kernel"
0x000000136bf4-0x0000003d0000 : "rootfs"
mtd: device 3 (rootfs) set to be root filesystem
0 squashfs-split partitions found on MTD device rootfs
0x000000370000-0x0000003d0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "art"
libphy: Fixed MDIO Bus: probed
ag71xx: probe of 19000000.eth failed with error -2
ag71xx: probe of 1a000000.eth failed with error -2
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Freeing unused kernel memory: 1176K
This architecture does not have kernel memory protection.
Run /sbin/init as init process
random: fast init done
init: Console is alive
init: - watchdog -
hmodloader: loading kernel modules from /etc/modules-boot.d/*
kmodloader: done loading kernel modules from /etc/modules-boot.d/*
init: - preinit -
random: jshn: uninitialized urandom read (4 bytes read)
random: jshn: uninitialized urandom read (4 bytes read)
random: jshn: uninitialized urandom read (4 bytes read)
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
trandom_read: 2 callbacks suppressed
random: procd: uninitialized urandom read (4 bytes read)
jffs2: notice: (362) jffs2_build_xattr_subsystem: complete building xattr subsystem, 15 of xdatum (0 unchecked, 8 orphan) and 17 of xref (8 dead, 0 orphan) found.
mount_root: switching to jffs2 overlay
`verlayfs: upper fs does not support tmpfile.
urandom-seed: Seeding with /etc/urandom.seed
procd: - early -
procd: - watchdog -
procd: - watchdog -
procd: - ubus -
random: ubusd: uninitialized urandom read (4 bytes read)
random: ubusd: uninitialized urandom read (4 bytes read)
random: ubusd: uninitialized urandom read (4 bytes read)
procd: - init -
Please press Enter to activate this console.
kmodloader: loading kernel modules from /etc/modules.d/*
tun: Universal TUN/TAP device driver, 1.6
Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
xt_time: kernel timezone is -0000
ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=14
kmodloader: done loading kernel modules from /etc/modules.d/*
urngd: v1.0.2 started.
random: crng init done
random: 1 urandom warning(s) missed due to ratelimiting


24.03.20202925KernelBug ReportVery LowMediumsdc_busy timeout: before CMD<55> <- msdc_command_start(...openwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on:
Architecture: MediaTek MT7621 ver:1 eco:3
Model: MTC Wireless Router WR1201
Router brand: Strong 1200
- Software versions of OpenWrt/LEDE release, packages, etc.:
OpenWrt 19.07.0 r10860-a3ffeb413b / LuCI openwrt-19.07 branch git-20.006.26738-35aa527
Packages installed:
kmod-mmc 4.14.162-1
kmod-sdhci-mt7620 4.14.162-1
kmod-mt76-core 4.14.162+2020-01-04-8a785679-1
kmod-usb-core 4.14.162-1
kmod-usb3 4.14.162-1
Kernel 4.14.162
- Steps to reproduce

Problem is that microSD card is not recognized. After inserting the microsd card this is shown in logs. I try three vendors. example brand new SanDisk microSDHC 32 GB Ultra Class 10 UHS-I
[ 1763.831968] msdc0 → XXX sdc_busy timeout: before CMD<55> ← msdc_command_start() : L<860> PID<kworker/0:1><0×39>
[ 1763.852517] mmc0: error -145 whilst initialising SD card
[ 1764.131968] msdc0 → XXX sdc_busy timeout: before CMD<55> ← msdc_command_start() : L<860> PID<kworker/0:1><0×39>
[ 1764.152467] mmc0: error -145 whilst initialising SD card
[ 1764.431965] msdc0 → XXX sdc_busy timeout: before CMD<55> ← msdc_command_start() : L<860> PID<kworker/0:1><0×39>
[ 1764.452549] mmc0: error -145 whilst initialising SD card

 


29.03.20202943KernelBug ReportVery LowMediumKernel panic with dev_net(skb->dev)==NULL in nf_xfrm_me...AllUnconfirmed Task Description

Hi, I have some questions regarding debugging of random reboot problem caused by kernel panic.

I’m getting random reboot when running a software inserting prerouting iptables rules in order to redirect traffic. My device is a x86_64 router. My openwrt release is compiled by myself from a forked openwrt source at https://github.com/coolsnowwolf/lede . Its kernel version is 4.19.108.

The software causing this problem is called OpenClash. It acts as a transparent proxy. It inserts prerouting rules to redirect all tcp traffic from computers in LAN to its own listening port and sends the traffic through a proxy.

Whenever this software is started, I get random reboots at 1-2 times/day. There was not any abnormal in saved log files because the crash happend in kernel and it caused reboot quickly. So I had to compile the NetConsole kernel module to capture the dmesg when crash happened. You can see the crash logs in crash_dmesg.txt.

The crash happens in the `nf_xfrm_me_harder` function. Decompiling the crash code, I get crash_code.png (The highlighted line is the crash instruction). The crash log mentions illegal memory access at 000000000000113c and the crash code shows that the kernel was accessing [rax+0x113c], so I think the problem is rax==0, which should not be happening.

The source code causing crash actually locates in a patch, which is also included in trunk OpenWrt: https://github.com/openwrt/openwrt/blob/master/target/linux/generic/pending-4.19/616-net_optimize_xfrm_calls.patch

After patched, function `nf_xfrm_me_harder` looks like

int nf_xfrm_me_harder(struct net *net, struct sk_buff *skb, unsigned int family)
{
        struct flowi fl;
        unsigned int hh_len;
        struct dst_entry *dst;
        struct sock *sk = skb->sk;
        int err;

        if (skb->dev && !dev_net(skb->dev)->xfrm.policy_count[XFRM_POLICY_OUT]) // <-------crash
                return 0;

        err = xfrm_decode_session(skb, &fl, family);
        if (err < 0)
                return err;

This means

dev_net(skb->dev)

sometimes equals to `NULL` .

I’m not familiar with the network mechanism in linux kernel, so I’m not sure how I can find the reason of it being NULL. Is this problem something we can safely ignore by checking its validity like this?

if (skb->dev && dev_net(skb->dev) && !dev_net(skb->dev)->xfrm.policy_count[XFRM_POLICY_OUT])

If not, can anyone give me some advice on how I can debug this problem? I understand this may be difficult for you developers to figure out what’s happening by merely reading my description, especially when I’m not using the trunk OpenWrt. So I would love to dig it by myself.

You can see other information of my router in dmesg.txt.

Thanks a lot.

01.04.20202956KernelBug ReportVery LowMediumtcp_bbr: suffering poor performance with samba4-serveropenwrt-19.07Unconfirmed Task Description

Environment: Newifi-D2(arch mipsel_24kc), OpenWrt 19.07.1/19.07.2/master branch with kernel 1.14.170+, samba-4.11, a usb-disk with ext4 file system.
(samba4 uses default settings)

I run samba-4.11 server in my router with usb-harddisk of 3T volumes. If the router enables tcp_bbr kernel module with default config file, then lan PCs copying files from the router is very slowly with speed of 4-10MB. The speed of writing files to router’s share is also a little slower.
Without tcp_bbr the speed is up to 40-60MB when copying files from the router.

I found the problem is caused by lack value of “net.core.default_qdisc=fq” in default bbr config file (/etc/sysctl.d/12-tcp-bbr.conf)
The default bbr config file is :
```
# Do not edit, changes to this file will be lost on upgrades
# /etc/sysctl.conf can be used to customize sysctl settings

net.ipv4.tcp_congestion_control=bbr
net.core.default_qdisc=fq #add this line then problem disappear.
```


06.04.20202972KernelBug ReportVery LowMediumPhcomm K3: intermittent network interruptionTrunkUnconfirmed Task Description

Phcomm K3 belongs to bcm53xx and USES the master branch to compile. Serious intermittent network interruption occurs, which is caused by mac80211!
Step by step troubleshooting found that the use of 19.07 branch of mac80211 source package compiled k3 firmware brush into the machine, everything is normal!


10.04.20202992KernelBug ReportVery LowMediumUSB problem on bcm6318 AllUnconfirmed Task Description

Hi
I’m using openwrt on bcm63xx bcm6318 sagemcom F@ST 2704N V1.
the router is actually V1.1 (16MB flash , 64MB RAM).
trying to connect a usb wifi dongle as AP

root@Openwrt:~# lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

wlan1     Link encap:Ethernet  HWaddr 7C:DD:90:48:2A:D2  
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::7edd:90ff:fe48:2ad2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:955 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:184246 (179.9 KiB)

the problem is that there’s no connectivity at all , I can connect to the AP (only without encryption ) and the ssid doesn’t always show on my mobile phone.
the usb port is working fine , I tried mounting a usb flash drive with no problem.
also the adapter is working , I tried it on Orange pi , Raspberrypi , bcm6328 , all with openwrt installed on them and didn’t have any problem .
I guess it is something related to bcm6318 or its architecture code .
the onboard broadcom pci wifi is working .
I suspected that its a power problem so I added an external usb power , but with same issues.
also I tried openwrt 19 ,18 ,17 with same problem.
I’m also using two bcm6328 routers as point to point wifi 5ghz link with Ralink RT5572 chipset ( rt2800usb driver ) withouyt any problem.
dmesg is filled with :

[ 1269.191198] rt2800usb_tx_sta_fifo_read_completed: 13054 callbacks suppressed
[ 1269.191239] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.208421] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.218373] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.228285] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.238151] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.248029] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.257902] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.267793] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.278183] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.287995] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32

using rmmod to remove rt2800usb module results in kernel crash /sometimes hang and sometimes panic and reboot.

steps to reproduce:
-boot the router with usb wifi dongle
-configure it as access point and enable it
- dmesg log starts to fill and adapter is not working

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

Available keyboard shortcuts

Tasklist

Task Details

Task Editing