[FS#384] IPQ806X: CMD: swconfig on R7800 generate Kernel Panic!
LEDE Bugs
lede-bugs at lists.infradead.org
Fri Jan 13 02:12:22 PST 2017
A new Flyspray task has been opened. Details are below.
User who did this - KerwinKoo (KerwinKoo)
Attached to Project - LEDE Project
Summary - IPQ806X: CMD: swconfig on R7800 generate Kernel Panic!
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Critical
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - - Device problem occurs on NETGEAR R7800
- Software versions of LEDE release:trunk, github commit: 0d44f0cbbccd2720386de4d983853d35cdb3cf30
- Steps to reproduce:
log of this issue:
```
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.4.40 (gukq at gukq-CMPC) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1824) ) #0 SMP Fri Jan 13 08:15:09 2017
[ 0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine model: Netgear Nighthawk X4S R7800
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 11 pages/cpu @dda0a000 s13824 r8192 d23040 u45056
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 121920
[ 0.000000] Kernel command line:
[ 0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[ 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: 478636K/491520K available (4130K kernel code, 241K rwdata, 1520K rodata, 220K init, 223K bss, 12884K 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 : 0xde800000 - 0xff800000 ( 528 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xde000000 ( 480 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0208000 - 0xc078cd20 (5652 kB)
[ 0.000000] .init : 0xc078d000 - 0xc07c4000 ( 220 kB)
[ 0.000000] .data : 0xc07c4000 - 0xc0800724 ( 242 kB)
[ 0.000000] .bss : 0xc0803000 - 0xc083ac34 ( 224 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[ 0.000008] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[ 0.000020] Switching to timer-based delay loop, resolution 160ns
[ 0.000224] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[ 0.000249] pid_max: default: 32768 minimum: 301
[ 0.000349] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000365] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000960] CPU: Testing write buffer coherency: ok
[ 0.001306] Setting up static identity map for 0x42208280 - 0x422082d8
[ 0.004356] Brought up 2 CPUs
[ 0.004372] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[ 0.004384] CPU: All CPU(s) started in SVC mode.
[ 0.016106] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[ 0.016351] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.016497] pinctrl core: initialized pinctrl subsystem
[ 0.017898] NET: Registered protocol family 16
[ 0.019156] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[ 0.041452] cpuidle: using governor ladder
[ 0.072466] cpuidle: using governor menu
[ 0.087919] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[ 0.126944] pps_core: LinuxPPS API ver. 1 registered
[ 0.126957] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti
[ 0.126998] PTP clock support registered
[ 0.128176] clocksource: Switched to clocksource dg_timer
[ 0.130096] NET: Registered protocol family 2
[ 0.130570] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.130611] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.130664] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.130711] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.130732] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.130910] NET: Registered protocol family 1
[ 0.132272] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.132370] No memory allocated for crashlog
[ 0.139079] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.139102] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.141805] io scheduler noop registered
[ 0.141830] io scheduler deadline registered (default)
[ 0.143380] 1b500000.pci supply vdda not found, using dummy regulator
[ 0.143473] 1b500000.pci supply vdda_phy not found, using dummy regulator
[ 0.143551] 1b500000.pci supply vdda_refclk not found, using dummy regulator
[ 0.144087] PCI host bridge /soc/pci at 1b500000 ranges:
[ 0.144123] IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[ 0.144144] MEM 0x08000000..0x0fdfffff -> 0x08000000
[ 0.165351] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[ 0.165372] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.165390] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[ 0.165403] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[ 0.165897] PCI: bus0: Fast back to back transfers disabled
[ 0.167646] PCI: bus1: Fast back to back transfers disabled
[ 0.167916] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[ 0.167937] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[ 0.168041] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.168061] pci 0000:00:00.0: bridge window [mem 0x08000000-0x081fffff]
[ 0.168816] 1b700000.pci supply vdda not found, using dummy regulator
[ 0.168903] 1b700000.pci supply vdda_phy not found, using dummy regulator
[ 0.168976] 1b700000.pci supply vdda_refclk not found, using dummy regulator
[ 0.169503] PCI host bridge /soc/pci at 1b700000 ranges:
[ 0.169532] IO 0x31e00000..0x31efffff -> 0x31e00000
[ 0.169550] MEM 0x2e000000..0x31dfffff -> 0x2e000000
[ 0.203978] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[ 0.203995] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 0.204010] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[ 0.204461] PCI: bus0: Fast back to back transfers disabled
[ 0.206197] PCI: bus1: Fast back to back transfers disabled
[ 0.206587] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[ 0.206608] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[ 0.206707] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 0.206724] pci 0001:00:00.0: bridge window [mem 0x2e000000-0x2e1fffff]
[ 0.210755] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[ 0.211829] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[ 0.212524] gsbi 16500000.gsbi: GSBI port protocol: 3 crci: 0
[ 0.213602] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.214368] msm_serial 16340000.serial: msm_serial: detected port #0
[ 0.214484] msm_serial 16340000.serial: uartclk = 1843200
[ 0.214546] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 169, base_baud = 115200) is a MSM
[ 0.214584] msm_serial: console setup on port #0
[ 0.858935] console [ttyMSM0] enabled
[ 0.863629] msm_serial: driver initialized
[ 0.874061] loop: module loaded
[ 0.875999] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xa1
[ 0.876028] nand: AMD/Spansion S34MS01G2
[ 0.882698] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.886520] Scanning device for bad blocks
[ 1.225177] random: nonblocking pool is initialized
[ 1.532451] 10 ofpart partitions found on MTD device qcom-nandc
[ 1.532476] Creating 10 MTD partitions on "qcom-nandc":
[ 1.537182] 0x000000000000-0x000000c80000 : "qcadata"
[ 1.543583] 0x000000c80000-0x000001180000 : "APPSBL"
[ 1.548750] 0x000001180000-0x000001200000 : "APPSBLENV"
[ 1.553631] 0x000001200000-0x000001340000 : "art"
[ 1.558687] 0x000001340000-0x000001480000 : "artbak"
[ 1.563451] 0x000001480000-0x000001680000 : "kernel"
[ 1.568561] 0x000001680000-0x000003480000 : "ubi"
[ 1.573482] 0x000003480000-0x000007900000 : "netgear"
[ 1.578110] 0x000007900000-0x000008000000 : "reserve"
[ 1.583136] 0x000001480000-0x000003480000 : "firmware"
[ 1.589060] no rootfs found after FIT image in "firmware"
[ 1.592802] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[ 1.598852] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 0, 0
[ 1.604725] m25p80: probe of spi32766.0 failed with error -2
[ 1.611611] spi_qup 16580000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[ 2.632325] m25p80 spi32765.0: SPI transfer failed: -110
[ 2.632367] spi_master spi32765: failed to transfer one message from queue
[ 2.636704] m25p80 spi32765.0: error -110 reading 9f
[ 2.643487] m25p80: probe of spi32765.0 failed with error -2
[ 2.649180] libphy: Fixed MDIO Bus: probed
[ 2.654558] libphy: GPIO Bitbanged MDIO: probed
[ 2.679984] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[ 3.494532] stmmac - user ID: 0x10, Synopsys ID: 0x37
[ 3.494556] Ring mode enabled
[ 3.498641] DMA HW capability register supported
[ 3.501507] Enhanced/Alternate descriptors
[ 3.506278] Enabled extended descriptors
[ 3.510355] RX Checksum Offload Engine supported (type 2)
[ 3.514440] TX Checksum insertion supported
[ 3.519905] Wake-Up On Lan supported
[ 3.524249] Enable RX Mitigation via HW Watchdog Timer
[ 3.529183] stmmac - user ID: 0x10, Synopsys ID: 0x37
[ 3.532845] Ring mode enabled
[ 3.538049] DMA HW capability register supported
[ 3.541101] Enhanced/Alternate descriptors
[ 3.545775] Enabled extended descriptors
[ 3.549849] RX Checksum Offload Engine supported (type 2)
[ 3.553938] TX Checksum insertion supported
[ 3.559393] Wake-Up On Lan supported
[ 3.563743] Enable RX Mitigation via HW Watchdog Timer
[ 3.567941] i2c /dev entries driver
[ 3.573097] gcc-ipq806x 900000.clock-controller: tsens calibration failed
[ 3.576638] Speed bin: 0
[ 3.582826] PVS bin: 4
[ 3.585791] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[ 3.587569] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[ 3.594961] sdhci: Secure Digital Host Controller Interface driver
[ 3.602099] sdhci: Copyright(c) Pierre Ossman
[ 3.608288] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.614834] L2 @ QSB rate. Forcing new rate.
[ 3.618611] L2 @ 384000 KHz
[ 3.622812] CPU0 @ 800000 KHz
[ 3.625205] CPU1 @ QSB rate. Forcing new rate.
[ 3.628401] CPU1 @ 384000 KHz
[ 3.634630] NET: Registered protocol family 10
[ 3.636908] NET: Registered protocol family 17
[ 3.640245] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 3.644835] 8021q: 802.1Q VLAN Support v1.8
[ 3.657414] Registering SWP/SWPB emulation handler
[ 3.665344] cpu: dev_pm_opp_of_cpumask_add_table: couldn't find opp table for cpu:0, -19
[ 3.666669] cpu: dev_pm_opp_of_cpumask_add_table: couldn't find opp table for cpu:1, -19
[ 3.675056] UBI: auto-attach mtd6
[ 3.682390] ubi0: attaching mtd6
[ 3.914447] ubi0: scanning is finished
[ 3.925683] ubi0: attached mtd6 (name "ubi", size 30 MiB)
[ 3.925701] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.930129] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.936821] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.943737] ubi0: good PEBs: 240, bad PEBs: 0, corrupted PEBs: 0
[ 3.950516] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 3.956700] ubi0: max/mean erase counter: 6/3, WL threshold: 4096, image sequence number: 664494739
[ 3.963793] ubi0: available PEBs: 0, total reserved PEBs: 240, PEBs reserved for bad PEB handling: 20
[ 3.972804] ubi0: background thread "ubi_bgt0d" started, PID 63
[ 3.982617] block ubiblock0_0: created from ubi0:0(rootfs)
[ 3.987774] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 3.993420] hctosys: unable to open rtc device (rtc0)
[ 4.010555] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 4.010732] Freeing unused kernel memory: 220K (c078d000 - c07c4000)
[ 4.406723] init: Console is alive
[ 4.406847] init: - watchdog -
[ 4.942016] usbcore: registered new interface driver usbfs
[ 4.942085] usbcore: registered new interface driver hub
[ 4.946445] usbcore: registered new device driver usb
[ 4.955333] SCSI subsystem initialized
[ 4.961350] ahci 29000000.sata: forcing port_map 0x0 -> 0x1
[ 4.961400] ahci 29000000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[ 4.965928] ahci 29000000.sata: flags: ncq sntf pm led clo only pmp pio slum part ccc apst
[ 4.975153] scsi host0: ahci
[ 4.983033] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 26
[ 5.328377] ata1: SATA link down (SStatus 0 SControl 300)
[ 5.330144] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.333136] ehci-platform: EHCI generic platform driver
[ 5.341786] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.344703] ohci-platform: OHCI generic platform driver
[ 5.450452] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 5.450528] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 5.455094] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x00010010
[ 5.462558] xhci-hcd xhci-hcd.0.auto: irq 172, io mem 0x11000000
[ 5.472335] hub 1-0:1.0: USB hub found
[ 5.477394] hub 1-0:1.0: 1 port detected
[ 5.481482] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 5.484976] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 5.490587] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 5.498873] hub 2-0:1.0: USB hub found
[ 5.506202] hub 2-0:1.0: 1 port detected
[ 5.510312] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 5.513807] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 5.519408] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x00010010
[ 5.526688] xhci-hcd xhci-hcd.1.auto: irq 173, io mem 0x10000000
[ 5.536415] hub 3-0:1.0: USB hub found
[ 5.541864] hub 3-0:1.0: 1 port detected
[ 5.545270] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 5.549260] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 5.554549] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 5.562443] hub 4-0:1.0: USB hub found
[ 5.570478] hub 4-0:1.0: 1 port detected
[ 5.577054] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 9.028805] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[ 10.223598] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 150
[ 10.281134] UBIFS (ubi0:1): recovery needed
[ 10.450303] UBIFS (ubi0:1): recovery completed
[ 10.450384] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 10.453658] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 10.461623] UBIFS (ubi0:1): FS size: 22347776 bytes (21 MiB, 176 LEBs), journal size 1142784 bytes (1 MiB, 9 LEBs)
[ 10.471490] UBIFS (ubi0:1): reserved for root: 1055539 bytes (1030 KiB)
[ 10.481740] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID D571F0E3-BEB1-4C88-B5A3-AA8697EFCE9F, small LPT model
[ 10.498822] mount_root: switching to ubifs overlay
[ 10.510062] urandom-seed: Seeding with /etc/urandom.seed
[ 10.563776] procd: - early -
[ 10.563914] procd: - watchdog -
[ 11.222401] procd: - ubus -
[ 11.277160] procd: - init -
Please press Enter to activate this console.
[ 11.443493] tun: Universal TUN/TAP device driver, 1.6
[ 11.443522] tun: (C) 1999-2004 Max Krasnyansky
[ 11.450446] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.458541] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[ 11.459069] Backport generated by backports.git backports-20160324-9-g0e38f5c
[ 11.487335] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[ 11.487911] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 11.623785] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[ 11.623835] ath10k_pci 0000:01:00.0: Falling back to user helper
[ 11.662122] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[ 12.055281] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[ 12.055323] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 12.067175] ath10k_pci 0000:01:00.0: firmware ver 10.4-3.3-00102 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param crc32 6120b2da
[ 12.072971] ath10k_pci 0000:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=0046,subsystem-vendor=168c,subsystem-device=cafe from ath10k/QCA9984/hw1.0/board-2.bin
[ 12.084714] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 0813f2d1
[ 13.424212] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal file max-sta 512 raw 0 hwcrypto 1
[ 13.492258] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[ 13.492893] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 13.640161] ath10k_pci 0001:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0001:01:00.0.bin failed with error -2
[ 13.640196] ath10k_pci 0001:01:00.0: Falling back to user helper
[ 13.693560] firmware ath10k!pre-cal-pci-0001:01:00.0.bin: firmware_loading_store: map pages failed
[ 13.695992] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[ 13.701533] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 13.713975] ath10k_pci 0001:01:00.0: firmware ver 10.4-3.3-00102 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param crc32 6120b2da
[ 13.719991] ath10k_pci 0001:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=0046,subsystem-vendor=168c,subsystem-device=cafe from ath10k/QCA9984/hw1.0/board-2.bin
[ 13.731704] ath10k_pci 0001:01:00.0: board_file api 1 bmi_id N/A crc32 0813f2d1
[ 15.071174] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal file max-sta 512 raw 0 hwcrypto 1
[ 15.138657] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 15.142164] nf_conntrack version 0.5.0 (7482 buckets, 29928 max)
[ 15.275648] xt_time: kernel timezone is -0000
[ 15.279911] PPP generic driver version 2.4.2
[ 15.280674] NET: Registered protocol family 24
[ 17.714654] device eth1 entered promiscuous mode
[ 17.717246] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 19.698711] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[ 19.698834] br-lan: port 1(eth1) entered forwarding state
[ 19.706684] br-lan: port 1(eth1) entered forwarding state
[ 19.712644] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 19.728713] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 21.699017] br-lan: port 1(eth1) entered forwarding state
BusyBox v1.25.1 () built-in shell (ash)
_________
/ /\ _ ___ ___ ___
/ LE / \ | | | __| \| __|
/ DE / \ | |__| _|| |) | _|
/________/ LE \ |____|___|___/|___| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (SNAPSHOT, r2925-0d44f0c)
\________\/ -----------------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root at lede:/#
root at lede:/# swconfig dev switch0 show
Global attributes:
enable_vlan: 1
enable_mirror_rx: 0
enable_mirror_tx: 0
mirror_monitor_port: 0
mirror_source_port: 0
arl_age_time: 300
[ 46.598591] qcom-nandc 1ac00000.nand: failure to write page
[ 46.598703] ubi0 error: ubi_io_write: error -110 while writing 2048 bytes to PEB 95:69632, written 0 bytes
[ 46.602998] CPU: 1 PID: 150 Comm: ubifs_bgt0_1 Not tainted 4.4.40 #0
[ 46.612706] Hardware name: Qualcomm (Flattened Device Tree)
[ 46.619257] [] (unwind_backtrace) from [] (show_stack+0x14/0x20)
[ 46.624544] [] (show_stack) from [] (dump_stack+0x8c/0xa0)
[ 46.632526] [] (dump_stack) from [] (ubi_io_write+0x3d8/0x670)
[ 46.639549] [] (ubi_io_write) from [] (ubi_eba_write_leb+0xd0/0x848)
[ 46.647100] [] (ubi_eba_write_leb) from [] (ubi_leb_write+0xc0/0xf0)
[ 46.655356] [] (ubi_leb_write) from [] (ubifs_leb_write+0x128/0x168)
[ 46.663424] [] (ubifs_leb_write) from [] (ubifs_wbuf_sync_nolock+0x29c/0x378)
[ 46.671497] [] (ubifs_wbuf_sync_nolock) from [] (ubifs_bg_wbufs_sync+0xcc/0x1c4)
[ 46.680270] [] (ubifs_bg_wbufs_sync) from [] (ubifs_bg_thread+0xac/0x1a8)
[ 46.689475] [] (ubifs_bg_thread) from [] (kthread+0xf8/0x100)
[ 46.697885] [] (kthread) from [] (ret_from_fork+0x14/0x3c)
[ 47.198600] qcom-nandc 1ac00000.nand: failure to read page/oob
[ 47.198685] qcom-nandc 1ac00000.nand: failure to read page
[ 47.203349] ubi0 error: ubi_dump_flash: err -110 while reading 2048 bytes from PEB 95:69632, read 0 bytes
[ 47.208938] ubi0 warning: ubi_eba_write_leb: failed to write data to PEB 95
[ 47.218439] ubi0 warning: ubi_ro_mode: switch to read-only mode
[ 47.225216] CPU: 1 PID: 150 Comm: ubifs_bgt0_1 Not tainted 4.4.40 #0
[ 47.231111] Hardware name: Qualcomm (Flattened Device Tree)
[ 47.237735] [] (unwind_backtrace) from [] (show_stack+0x14/0x20)
[ 47.243028] [] (show_stack) from [] (dump_stack+0x8c/0xa0)
[ 47.251012] [] (dump_stack) from [] (ubi_eba_write_leb+0x4a4/0x848)
[ 47.258037] [] (ubi_eba_write_leb) from [] (ubi_leb_write+0xc0/0xf0)
[ 47.265943] [] (ubi_leb_write) from [] (ubifs_leb_write+0x128/0x168)
[ 47.274275] [] (ubifs_leb_write) from [] (ubifs_wbuf_sync_nolock+0x29c/0x378)
[ 47.282350] [] (ubifs_wbuf_sync_nolock) from [] (ubifs_bg_wbufs_sync+0xcc/0x1c4)
[ 47.291119] [] (ubifs_bg_wbufs_sync) from [] (ubifs_bg_thread+0xac/0x1a8)
[ 47.300322] [] (ubifs_bg_thread) from [] (kthread+0xf8/0x100)
[ 47.308735] [] (kthread) from [] (ret_from_fork+0x14/0x3c)
[ 47.316342] UBIFS error (ubi0:1 pid 150): ubifs_leb_write: writing 2048 bytes to LEB 11:65536 failed, error -110
[ 47.323402] UBIFS warning (ubi0:1 pid 150): ubifs_ro_mode: switched to read-only mode, error -110
[ 47.333742] CPU: 1 PID: 150 Comm: ubifs_bgt0_1 Not tainted 4.4.40 #0
[ 47.342395] Hardware name: Qualcomm (Flattened Device Tree)
[ 47.348845] [] (unwind_backtrace) from [] (show_stack+0x14/0x20)
[ 47.354138] [] (show_stack) from [] (dump_stack+0x8c/0xa0)
[ 47.362124] [] (dump_stack) from [] (ubifs_leb_write+0xfc/0x168)
[ 47.369153] [] (ubifs_leb_write) from [] (ubifs_wbuf_sync_nolock+0x29c/0x378)
[ 47.377053] [] (ubifs_wbuf_sync_nolock) from [] (ubifs_bg_wbufs_sync+0xcc/0x1c4)
[ 47.385824] [] (ubifs_bg_wbufs_sync) from [] (ubifs_bg_thread+0xac/0x1a8)
[ 47.395027] [] (ubifs_bg_thread) from [] (kthread+0xf8/0x100)
[ 47.403439] [] (kthread) from [] (ret_from_fork+0x14/0x3c)
[ 47.410995] CPU: 1 PID: 150 Comm: ubifs_bgt0_1 Not tainted 4.4.40 #0
[ 47.418003] Hardware name: Qualcomm (Flattened Device Tree)
[ 47.424539] [] (unwind_backtrace) from [] (show_stack+0x14/0x20)
[ 47.429833] [] (show_stack) from [] (dump_stack+0x8c/0xa0)
[ 47.437819] [] (dump_stack) from [] (ubifs_leb_write+0x100/0x168)
[ 47.444847] [] (ubifs_leb_write) from [] (ubifs_wbuf_sync_nolock+0x29c/0x378)
[ 47.452747] [] (ubifs_wbuf_sync_nolock) from [] (ubifs_bg_wbufs_sync+0xcc/0x1c4)
[ 47.461606] [] (ubifs_bg_wbufs_sync) from [] (ubifs_bg_thread+0xac/0x1a8)
[ 47.470808] [] (ubifs_bg_thread) from [] (kthread+0xf8/0x100)
[ 47.479220] [] (kthread) from [] (ret_from_fork+0x14/0x3c)
[ 47.486798] UBIFS error (ubi0:1 pid 150): ubifs_bg_wbufs_sync: cannot sync write-buffer, error -110
[ 56.008462] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [swconfig:766]
[ 56.008498] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xtn
[ 56.091402] CPU: 0 PID: 766 Comm: swconfig Not tainted 4.4.40 #0
[ 56.091663] Hardware name: Qualcomm (Flattened Device Tree)
[ 56.097741] task: db162800 ti: dbbde000 task.ti: dbbde000
[ 56.103050] PC is at gpio_to_desc+0xc/0xd0
[ 56.108595] LR is at mdc_set+0x18/0x2c
[ 56.112584] pc : [] lr : [] psr: 20000013
[ 56.112584] sp : dbbdfbf8 ip : 00000000 fp : c073440c
[ 56.116325] r10: dd4cea1f r9 : dd4ce000 r8 : 00000002
[ 56.127687] r7 : 0001a36e r6 : c07e4fa4 r5 : 00000001 r4 : 00000001
[ 56.132898] r3 : c049ab54 r2 : 8fffd378 r1 : 00000001 r0 : 00001c7c
[ 56.139498] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 56.146006] Control: 10c5787d Table: 5da9406a DAC: 00000051
[ 56.153213] CPU: 0 PID: 766 Comm: swconfig Not tainted 4.4.40 #0
[ 56.158936] Hardware name: Qualcomm (Flattened Device Tree)
[ 56.165035] [] (unwind_backtrace) from [] (show_stack+0x14/0x20)
[ 56.170328] [] (show_stack) from [] (dump_stack+0x8c/0xa0)
[ 56.178312] [] (dump_stack) from [] (watchdog_timer_fn+0x1e8/0x280)
[ 56.185344] [] (watchdog_timer_fn) from [] (__hrtimer_run_queues+0xd8/0x1b4)
[ 56.193240] [] (__hrtimer_run_queues) from [] (hrtimer_interrupt+0xc0/0x238)
[ 56.202278] [] (hrtimer_interrupt) from [] (msm_timer_interrupt+0x38/0x48)
[ 56.211049] [] (msm_timer_interrupt) from [] (handle_percpu_devid_irq+0x78/0xb4)
[ 56.219461] [] (handle_percpu_devid_irq) from [] (generic_handle_irq+0x28/0x40)
[ 56.228748] [] (generic_handle_irq) from [] (__handle_domain_irq+0xa4/0xc8)
[ 56.237512] [] (__handle_domain_irq) from [] (gic_handle_irq+0x64/0xbc)
[ 56.246193] [] (gic_handle_irq) from [] (__irq_svc+0x54/0x70)
[ 56.254514] Exception stack(0xdbbdfba8 to 0xdbbdfbf0)
[ 56.262173] fba0: 00001c7c 00000001 8fffd378 c049ab54 00000001 00000001
[ 56.267220] fbc0: c07e4fa4 0001a36e 00000002 dd4ce000 dd4cea1f c073440c 00000000 dbbdfbf8
[ 56.275364] fbe0: c049ab6c c03f5194 20000013 ffffffff
[ 56.283520] [] (__irq_svc) from [] (gpio_to_desc+0xc/0xd0)
[ 56.288552] [] (gpio_to_desc) from [] (0xdccec210)
[ 64.998458] INFO: rcu_sched self-detected stall on CPU
[ 65.002487] 0-...: (1 GPs behind) idle=047/140000000000001/0 softirq=1061/1062 fqs=2013
[ 65.002573] (t=2100 jiffies g=162 c=161 q=36)
[ 65.011943] Task dump for CPU 0:
[ 65.015070] swconfig R running 0 766 159 0x00000002
[ 65.022118] [] (unwind_backtrace) from [] (show_stack+0x14/0x20)
[ 65.024731] [] (show_stack) from [] (rcu_dump_cpu_stacks+0x84/0xcc)
[ 65.032628] [] (rcu_dump_cpu_stacks) from [] (rcu_check_callbacks+0x29c/0x784)
[ 65.040357] [] (rcu_check_callbacks) from [] (update_process_times+0x40/0x78)
[ 65.049385] [] (update_process_times) from [] (tick_sched_timer+0x50/0x9c)
[ 65.058318] [] (tick_sched_timer) from [] (__hrtimer_run_queues+0xd8/0x1b4)
[ 65.066822] [] (__hrtimer_run_queues) from [] (hrtimer_interrupt+0xc0/0x238)
[ 65.075422] [] (hrtimer_interrupt) from [] (msm_timer_interrupt+0x38/0x48)
[ 65.084453] [] (msm_timer_interrupt) from [] (handle_percpu_devid_irq+0x78/0xb4)
[ 65.092869] [] (handle_percpu_devid_irq) from [] (generic_handle_irq+0x28/0x40)
[ 65.102154] [] (generic_handle_irq) from [] (__handle_domain_irq+0xa4/0xc8)
[ 65.110921] [] (__handle_domain_irq) from [] (gic_handle_irq+0x64/0xbc)
[ 65.119602] [] (gic_handle_irq) from [] (__irq_svc+0x54/0x70)
[ 65.127924] Exception stack(0xdbbdfbb8 to 0xdbbdfc00)
[ 65.135568] fba0: c0831c7c 60000013
[ 65.140630] fbc0: 00000045 000076ac dd4f7818 00000000 c07e4fa4 0001a36e 00000002 dd4ce000
[ 65.148790] fbe0: dd4cea1f c073440c 00000000 dbbdfc08 c03f51e4 c0213bd8 80000013 ffffffff
[ 65.156941] [] (__irq_svc) from [] (_raw_spin_unlock_irqrestore+0x1c/0x20)
[ 65.165097] [] (_raw_spin_unlock_irqrestore) from [] (gpio_to_desc+0x5c/0xd0)
[ 65.173599] [] (gpio_to_desc) from [] (mdio_set+0x34/0x48)
[ 65.182534] [] (mdio_set) from [] (mdiobb_send_bit+0x30/0x7c)
[ 65.189652] [] (mdiobb_send_bit) from [] (mdiobb_cmd+0xb8/0xd4)
[ 65.197203] [] (mdiobb_cmd) from [] (mdiobb_read+0x54/0xec)
[ 65.204670] [] (mdiobb_read) from [] (ar8xxx_mii_read32+0x28/0x5c)
[ 65.211962] [] (ar8xxx_mii_read32) from [] (ar8327_get_arl_entry+0xe0/0x180)
[ 65.219949] [] (ar8327_get_arl_entry) from [] (ar8xxx_sw_get_arl_table+0xa4/0x280)
[ 65.228903] [] (ar8xxx_sw_get_arl_table) from [] (swconfig_get_attr+0xb4/0x500)
[ 65.238012] [] (swconfig_get_attr) from [] (genl_rcv_msg+0x2ec/0x3a8)
[ 65.246944] [] (genl_rcv_msg) from [] (netlink_rcv_skb+0x5c/0xc8)
[ 65.255276] [] (netlink_rcv_skb) from [] (genl_rcv+0x30/0x48)
[ 65.263086] [] (genl_rcv) from [] (netlink_unicast+0x14c/0x214)
[ 65.270552] [] (netlink_unicast) from [] (netlink_sendmsg+0x2dc/0x364)
[ 65.278026] [] (netlink_sendmsg) from [] (sock_sendmsg+0x18/0x34)
[ 65.286356] [] (sock_sendmsg) from [] (___sys_sendmsg+0x21c/0x244)
[ 65.294257] [] (___sys_sendmsg) from [] (__sys_sendmsg+0x44/0x74)
[ 65.302070] [] (__sys_sendmsg) from [] (ret_fast_syscall+0x0/0x3c)
```
As you can see from the log reported on `/dev/ttyMSM0` (or running `dmseg`), after booting LEDE kernel, run `swconfig dev switch0 show` command immediately (less than 2 min after linux system started completely), the kernol crash and reboot.
This issue not occurred every time but has a very high frequency. Not only running `swconfig dev switch0 show` command handly, but also happened automatically. This part of log shows the same kernel crash but without running command `swconfig`:
```
[ 50.398556] wmi_unified_vdev_down_send for vap 0 (db5d0000)
[ 50.428555] OL vap_start +
[ 50.428611] wmi_unified_vdev_start_send for vap 0 (db5d0000)
[ 50.430178] OL vap_start -
[ 50.430342] ol_vdev_start_resp_ev for vap 0 (db5d0000)
[ 50.430530] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 1 sounding dim 3
[ 50.430567] wmi_unified_vdev_up_send for vap 0 (db5d0000)
[ 50.430615] __ieee80211_smart_ant_init: Smart Antenna is not supported
[ 50.456240] ol_ath_vap_set_param: Now supported MGMT RATE is 1000(kbps) and rate code: 0x43
[ 50.733978] Switching to Tx Mode-1 Threshold 280
[ 51.350570] [wifi1] FWLOG: [17523] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[ 51.355635] [wifi1] FWLOG: [17523] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[ 51.362170] [wifi1] FWLOG: [17552] vap-0 VDEV_MGR_VDEV_START ( 0x99e, 0x2, 0x0, 0x0 )
[ 51.369957] [wifi1] FWLOG: [17552] VDEV_MGR_HP_START_TIME ( 0x0, 0x99e, 0x2a3001 )
[ 51.377420] [wifi1] FWLOG: [17553] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 )
[ 51.384018] [wifi1] FWLOG: [17553] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[ 51.390534] [wifi1] FWLOG: [17553] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x99e, 0x0, 0x0 )
[ 71.718241] INFO: rcu_sched self-detected stall on CPU
[ 71.722273] 1-...: (2100 ticks this GP) idle=611/140000000000001/0 softirq=3953/3953 fqs=2087
[ 71.722362]
[ 71.728445] INFO: rcu_sched detected stalls on CPUs/tasks:
[ 71.728471] 1-...: (2100 ticks this GP) idle=611/140000000000001/0 softirq=3953/3953 fqs=2087
[ 71.728476] (detected by 0, t=2102 jiffies, g=1427, c=1426, q=4124)
[ 71.728497] Task dump for CPU 1:
[ 71.728505] swconfig R running 0 2214 2206 0x00000002
[ 71.728557] [] (__schedule) from [] (0x62c020)
[ 71.762378] (t=2105 jiffies g=1427 c=1426 q=4124)
[ 71.768798] Task dump for CPU 1:
[ 71.773484] swconfig R running 0 2214 2206 0x00000002
[ 71.780449] [] (unwind_backtrace) from [] (show_stack+0x14/0x20)
[ 71.783056] [] (show_stack) from [] (rcu_dump_cpu_stacks+0x84/0xcc)
[ 71.790953] [] (rcu_dump_cpu_stacks) from [] (rcu_check_callbacks+0x29c/0x784)
[ 71.798681] [] (rcu_check_callbacks) from [] (update_process_times+0x40/0x78)
[ 71.807710] [] (update_process_times) from [] (tick_sched_timer+0x50/0x9c)
[ 71.816645] [] (tick_sched_timer) from [] (__hrtimer_run_queues+0xd8/0x1b4)
[ 71.825149] [] (__hrtimer_run_queues) from [] (hrtimer_interrupt+0xc0/0x238)
[ 71.833754] [] (hrtimer_interrupt) from [] (msm_timer_interrupt+0x38/0x48)
[ 71.842786] [] (msm_timer_interrupt) from [] (handle_percpu_devid_irq+0x78/0xb4)
[ 71.851197] [] (handle_percpu_devid_irq) from [] (generic_handle_irq+0x28/0x40)
[ 71.860481] [] (generic_handle_irq) from [] (__handle_domain_irq+0xa4/0xc8)
[ 71.869248] [] (__handle_domain_irq) from [] (gic_handle_irq+0x64/0xbc)
[ 71.877929] [] (gic_handle_irq) from [] (__irq_svc+0x54/0x70)
[ 71.886252] Exception stack(0xdb1ffbb8 to 0xdb1ffc00)
[ 71.893896] fba0: 1ab795f2 00000000
[ 71.898950] fbc0: 8fffd378 de806024 c082f130 00000006 1ab795ed 0001a36e 00000002 dd4ce000
[ 71.907111] fbe0: dd4cea1f c0733524 00000000 db1ffc08 c04ddc3c c04ddc40 a0000013 ffffffff
[ 71.915261] [] (__irq_svc) from [] (msm_read_current_timer+0x1c/0x24)
[ 71.923421] [] (msm_read_current_timer) from [] (__timer_delay+0x50/0x6c)
[ 71.931579] [] (__timer_delay) from [] (mdiobb_send_bit+0x3c/0x7c)
[ 71.940078] [] (mdiobb_send_bit) from [] (mdiobb_cmd+0xb8/0xd4)
[ 71.947891] [] (mdiobb_cmd) from [] (mdiobb_read+0x54/0xec)
[ 71.955456] [] (mdiobb_read) from [] (ar8xxx_mii_read32+0x28/0x5c)
[ 71.962739] [] (ar8xxx_mii_read32) from [] (ar8327_get_arl_entry+0xf4/0x180)
[ 71.970724] [] (ar8327_get_arl_entry) from [] (ar8xxx_sw_get_arl_table+0xa4/0x280)
[ 71.979668] [] (ar8xxx_sw_get_arl_table) from [] (swconfig_get_attr+0xb4/0x500)
[ 71.988783] [] (swconfig_get_attr) from [] (genl_rcv_msg+0x2ec/0x3a8)
[ 71.997718] [] (genl_rcv_msg) from [] (netlink_rcv_skb+0x5c/0xc8)
[ 72.006048] [] (netlink_rcv_skb) from [] (genl_rcv+0x30/0x48)
[ 72.013860] [] (genl_rcv) from [] (netlink_unicast+0x14c/0x214)
[ 72.021325] [] (netlink_unicast) from [] (netlink_sendmsg+0x2dc/0x364)
[ 72.028797] [] (netlink_sendmsg) from [] (sock_sendmsg+0x18/0x34)
[ 72.037129] [] (sock_sendmsg) from [] (___sys_sendmsg+0x21c/0x244)
[ 72.045031] [] (___sys_sendmsg) from [] (__sys_sendmsg+0x44/0x74)
[ 72.052841] [] (__sys_sendmsg) from [] (ret_fast_syscall+0x0/0x3c)
[ 76.008249] NMI watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [swconfig:2214]
[ 76.008286] Modules linked in: smart_antenna(P) ath_pktlog(P) umac ath_dev(P) hst_tx99(P) ath_spectral(P) ath_dfs(P) ath_rate_atheros(P) ath_hal(P) adf(P) asf(P) pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_physdev xt_owner 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_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt br_netfilter ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables qca_nss_drv qca_nss_gmac vfat fat ntfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 tiger_stat nf_bwlist_check usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc2 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci libahci libata ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: ath_pktlog]
[ 76.168530] CPU: 1 PID: 2214 Comm: swconfig Tainted: P 4.4.39 #0
[ 76.168881] Hardware name: Qualcomm (Flattened Device Tree)
[ 76.175997] task: da1f1400 ti: db1fe000 task.ti: db1fe000
[ 76.181567] PC is at _raw_spin_unlock_irqrestore+0x1c/0x20
[ 76.187117] LR is at gpio_to_desc+0x5c/0xd0
[ 76.192490] pc : [] lr : [] psr: 80000013
[ 76.192490] sp : db1ffc08 ip : 00000000 fp : c0733524
[ 76.196578] r10: dd4cea1f r9 : dd4ce000 r8 : 00000001
[ 76.208027] r7 : 0001a36e r6 : c07e30a0 r5 : 00000000 r4 : dd4f7818
[ 76.213238] r3 : 0000e2b8 r2 : 00000045 r1 : 60000013 r0 : c082fbfc
[ 76.219838] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 76.226347] Control: 10c5787d Table: 5c6ac06a DAC: 00000051
[ 76.233554] CPU: 1 PID: 2214 Comm: swconfig Tainted: P 4.4.39 #0
[ 76.239279] Hardware name: Qualcomm (Flattened Device Tree)
[ 76.246419] [] (unwind_backtrace) from [] (show_stack+0x14/0x20)
[ 76.251971] [] (show_stack) from [] (dump_stack+0x8c/0xa0)
[ 76.259951] [] (dump_stack) from [] (watchdog_timer_fn+0x1e8/0x280)
[ 76.266982] [] (watchdog_timer_fn) from [] (__hrtimer_run_queues+0xd8/0x1b4)
[ 76.274881] [] (__hrtimer_run_queues) from [] (hrtimer_interrupt+0xc0/0x238)
[ 76.283919] [] (hrtimer_interrupt) from [] (msm_timer_interrupt+0x38/0x48)
[ 76.292690] [] (msm_timer_interrupt) from [] (handle_percpu_devid_irq+0x78/0xb4)
[ 76.301102] [] (handle_percpu_devid_irq) from [] (generic_handle_irq+0x28/0x40)
[ 76.310387] [] (generic_handle_irq) from [] (__handle_domain_irq+0xa4/0xc8)
[ 76.319151] [] (__handle_domain_irq) from [] (gic_handle_irq+0x64/0xbc)
[ 76.327832] [] (gic_handle_irq) from [] (__irq_svc+0x54/0x70)
[ 76.336157] Exception stack(0xdb1ffbb8 to 0xdb1ffc00)
[ 76.343801] fba0: c082fbfc 60000013
[ 76.348858] fbc0: 00000045 0000e2b8 dd4f7818 00000000 c07e30a0 0001a36e 00000001 dd4ce000
[ 76.357016] fbe0: dd4cea1f c0733524 00000000 db1ffc08 c03f3674 c0213bd8 80000013 ffffffff
[ 76.365165] [] (__irq_svc) from [] (_raw_spin_unlock_irqrestore+0x1c/0x20)
[ 76.373324] [] (_raw_spin_unlock_irqrestore) from [] (gpio_to_desc+0x5c/0xd0)
[ 76.381831] [] (gpio_to_desc) from [] (mdio_set+0x34/0x48)
[ 76.390766] [] (mdio_set) from [] (mdiobb_send_bit+0x30/0x7c)
[ 76.397882] [] (mdiobb_send_bit) from [] (mdiobb_cmd+0x98/0xd4)
[ 76.405435] [] (mdiobb_cmd) from [] (mdiobb_write+0x54/0xbc)
[ 76.412912] [] (mdiobb_write) from [] (ar8xxx_mii_write32+0x44/0x94)
[ 76.420544] [] (ar8xxx_mii_write32) from [] (ar8327_get_arl_entry+0xc8/0x180)
[ 76.428616] [] (ar8327_get_arl_entry) from [] (ar8xxx_sw_get_arl_table+0xa4/0x280)
[ 76.437386] [] (ar8xxx_sw_get_arl_table) from [] (swconfig_get_attr+0xb4/0x500)
[ 76.446588] [] (swconfig_get_attr) from [] (genl_rcv_msg+0x2ec/0x3a8)
[ 76.455524] [] (genl_rcv_msg) from [] (netlink_rcv_skb+0x5c/0xc8)
[ 76.463853] [] (netlink_rcv_skb) from [] (genl_rcv+0x30/0x48)
[ 76.471666] [] (genl_rcv) from [] (netlink_unicast+0x14c/0x214)
[ 76.479129] [] (netlink_unicast) from [] (netlink_sendmsg+0x2dc/0x364)
[ 76.486604] [] (netlink_sendmsg) from [] (sock_sendmsg+0x18/0x34)
[ 76.494934] [] (sock_sendmsg) from [] (___sys_sendmsg+0x21c/0x244)
[ 76.502835] [] (___sys_sendmsg) from [] (__sys_sendmsg+0x44/0x74)
[ 76.510646] [] (__sys_sendmsg) from [] (ret_fast_syscall+0x0/0x3c)
[ 134.768242] INFO: rcu_sched self-detected stall on CPU
[ 134.779297] 1-...: (8321 ticks this GP) idle=611/140000000000001/0 softirq=3953/3953 fqs=8347
[ 134.779398] INFO: rcu_sched detected stalls on CPUs/tasks:
[ 134.779405] 1-...: (8321 ticks this GP) idle=611/140000000000001/0 softirq=3953/3953 fqs=8347
[ 134.779411] (detected by 0, t=8407 jiffies, g=1427, c=1426, q=10017)
[ 134.779413] Task dump for CPU 1:
[ 134.779420] swconfig R running 0 2214 2206 0x00000002
[ 134.779437] [] (__schedule) from [] (0x62c020)
[ 134.829383] (t=8412 jiffies g=1427 c=1426 q=10017)
[ 134.842228] Task dump for CPU 1:
[ 134.846047] swconfig R running 0 2214 2206 0x00000002
[ 134.858392] [] (unwind_backtrace) from [] (show_stack+0x14/0x20)
[ 134.860999] [] (show_stack) from [] (rcu_dump_cpu_stacks+0x84/0xcc)
[ 134.868898] [] (rcu_dump_cpu_stacks) from [] (rcu_check_callbacks+0x29c/0x784)
[ 134.876625] [] (rcu_check_callbacks) from [] (update_process_times+0x40/0x78)
[ 134.885652] [] (update_process_times) from [] (tick_sched_timer+0x50/0x9c)
[ 134.894588] [] (tick_sched_timer) from [] (__hrtimer_run_queues+0xd8/0x1b4)
[ 134.903093] [] (__hrtimer_run_queues) from [] (hrtimer_interrupt+0xc0/0x238)
[ 134.911695] [] (hrtimer_interrupt) from [] (msm_timer_interrupt+0x38/0x48)
[ 134.920724] [] (msm_timer_interrupt) from [] (handle_percpu_devid_irq+0x78/0xb4)
[ 134.929140] [] (handle_percpu_devid_irq) from [] (generic_handle_irq+0x28/0x40)
[ 134.938425] [] (generic_handle_irq) from [] (__handle_domain_irq+0xa4/0xc8)
[ 134.947191] [] (__handle_domain_irq) from [] (gic_handle_irq+0x64/0xbc)
[ 134.955872] [] (gic_handle_irq) from [] (__irq_svc+0x54/0x70)
[ 134.964198] Exception stack(0xdb1ffbb8 to 0xdb1ffc00)
[ 134.971838] fba0: 323480b6 00000000
[ 134.976886] fbc0: 8fffd378 de806024 c082f130 00000006 323480b0 0001a36e 00000002 dd4ce000
[ 134.985047] fbe0: dd4cea1f c0733524 00000000 db1ffc08 c04ddc3c c04ddc40 a0000013 ffffffff
[ 134.993204] [] (__irq_svc) from [] (msm_read_current_timer+0x1c/0x24)
[ 135.001364] [] (msm_read_current_timer) from [] (__timer_delay+0x50/0x6c)
[ 135.009522] [] (__timer_delay) from [] (mdiobb_send_bit+0x3c/0x7c)
[ 135.018022] [] (mdiobb_send_bit) from [] (mdiobb_cmd+0x40/0xd4)
[ 135.025835] [] (mdiobb_cmd) from [] (mdiobb_read+0x54/0xec)
[ 135.033395] [] (mdiobb_read) from [] (ar8xxx_mii_read32+0x28/0x5c)
[ 135.040683] [] (ar8xxx_mii_read32) from [] (ar8327_get_arl_entry+0xf4/0x180)
[ 135.048668] [] (ar8327_get_arl_entry) from [] (ar8xxx_sw_get_arl_table+0xa4/0x280)
[ 135.057612] [] (ar8xxx_sw_get_arl_table) from [] (swconfig_get_attr+0xb4/0x500)
[ 135.066729] [] (swconfig_get_attr) from [] (genl_rcv_msg+0x2ec/0x3a8)
[ 135.075662] [] (genl_rcv_msg) from [] (netlink_rcv_skb+0x5c/0xc8)
[ 135.083993] [] (netlink_rcv_skb) from [] (genl_rcv+0x30/0x48)
[ 135.091806] [] (genl_rcv) from [] (netlink_unicast+0x14c/0x214)
[ 135.099270] [] (netlink_unicast) from [] (netlink_sendmsg+0x2dc/0x364)
[ 135.106741] [] (netlink_sendmsg) from [] (sock_sendmsg+0x18/0x34)
[ 135.115072] [] (sock_sendmsg) from [] (___sys_sendmsg+0x21c/0x244)
[ 135.122976] [] (___sys_sendmsg) from [] (__sys_sendmsg+0x44/0x74)
[ 135.130785] [] (__sys_sendmsg) from [] (ret_fast_syscall+0x0/0x3c)
[ 197.818252] INFO: rcu_sched self-detected stall on CPU
[ 197.822282] 1-...: (14590 ticks this GP) idle=611/140000000000001/0 softirq=3953/3953 fqs=14623
[ 197.822372]
[ 197.828447] INFO: rcu_sched detected stalls on CPUs/tasks:
[ 197.828465] 1-...: (14590 ticks this GP) idle=611/140000000000001/0 softirq=3953/3953 fqs=14623
[ 197.828469] (detected by 0, t=14712 jiffies, g=1427, c=1426, q=13002)
[ 197.828481] Task dump for CPU 1:
[ 197.828486] swconfig R running 0 2214 2206 0x00000002
[ 197.828526] [] (__schedule) from [] (0x62c020)
[ 197.862908] (t=14715 jiffies g=1427 c=1426 q=13002)
[ 197.869328] Task dump for CPU 1:
[ 197.874361] swconfig R running 0 2214 2206 0x00000002
[ 197.881155] [] (unwind_backtrace) from [] (show_stack+0x14/0x20)
[ 197.883760] [] (show_stack) from [] (rcu_dump_cpu_stacks+0x84/0xcc)
[ 197.891658] [] (rcu_dump_cpu_stacks) from [] (rcu_check_callbacks+0x29c/0x784)
[ 197.899386] [] (rcu_check_callbacks) from [] (update_process_times+0x40/0x78)
[ 197.908411] [] (update_process_times) from [] (tick_sched_timer+0x50/0x9c)
[ 197.917348] [] (tick_sched_timer) from [] (__hrtimer_run_queues+0xd8/0x1b4)
[ 197.925852] [] (__hrtimer_run_queues) from [] (hrtimer_interrupt+0xc0/0x238)
[ 197.934457] [] (hrtimer_interrupt) from [] (msm_timer_interrupt+0x38/0x48)
[ 197.943489] [] (msm_timer_interrupt) from [] (handle_percpu_devid_irq+0x78/0xb4)
[ 197.951901] [] (handle_percpu_devid_irq) from [] (generic_handle_irq+0x28/0x40)
[ 197.961183] [] (generic_handle_irq) from [] (__handle_domain_irq+0xa4/0xc8)
[ 197.969952] [] (__handle_domain_irq) from [] (gic_handle_irq+0x64/0xbc)
[ 197.978630] [] (gic_handle_irq) from [] (__irq_svc+0x54/0x70)
[ 197.986954] Exception stack(0xdb1ffbe8 to 0xdb1ffc30)
[ 197.994610] fbe0: dd4f78b0 40000013 00000002 00005d4b c07cfdb0 dccec290
[ 197.999655] fc00: c07e30a0 0001a36e 00000001 dd4ce000 dd4cea1f c0733524 00000000 db1ffc38
[ 198.007802] fc20: c0498b34 c0213bd8 20000013 ffffffff
[ 198.015961] [] (__irq_svc) from [] (_raw_spin_unlock_irqrestore+0x1c/0x20)
[ 198.020998] [] (_raw_spin_unlock_irqrestore) from [] (mdiobb_send_bit+0x4c/0x7c)
[ 198.029500] [] (mdiobb_send_bit) from [] (mdiobb_cmd+0x54/0xd4)
[ 198.038785] [] (mdiobb_cmd) from [] (mdiobb_write+0x54/0xbc)
[ 198.046164] [] (mdiobb_write) from [] (ar8327_get_arl_entry+0xc8/0x180)
[ 198.053815] [] (ar8327_get_arl_entry) from [] (ar8xxx_sw_get_arl_table+0xa4/0x280)
[ 198.061881] [] (ar8xxx_sw_get_arl_table) from [] (swconfig_get_attr+0xb4/0x500)
[ 198.071257] [] (swconfig_get_attr) from [] (genl_rcv_msg+0x2ec/0x3a8)
[ 198.080192] [] (genl_rcv_msg) from [] (netlink_rcv_skb+0x5c/0xc8)
[ 198.088522] [] (netlink_rcv_skb) from [] (genl_rcv+0x30/0x48)
[ 198.096335] [] (genl_rcv) from [] (netlink_unicast+0x14c/0x214)
[ 198.103800] [] (netlink_unicast) from [] (netlink_sendmsg+0x2dc/0x364)
[ 198.111273] [] (netlink_sendmsg) from [] (sock_sendmsg+0x18/0x34)
[ 198.119603] [] (sock_sendmsg) from [] (___sys_sendmsg+0x21c/0x244)
[ 198.127505] [] (___sys_sendmsg) from [] (__sys_sendmsg+0x44/0x74)
[ 198.135315] [] (__sys_sendmsg) from [] (ret_fast_syscall+0x0/0x3c)
[ 260.858260] INFO: rcu_sched self-detected stall on CPU
[ 260.862291] 1-...: (20863 ticks this GP) idle=611/140000000000001/0 softirq=3953/3953 fqs=20900
[ 260.862382] (t=21016 jiffies g=1427 c=1426 q=15974)
[ 260.872446] Task dump for CPU 1:
[ 260.876264] swconfig R running 0 2214 2206 0x00000002
[ 260.883151] [] (unwind_backtrace) from [] (show_stack+0x14/0x20)
[ 260.885750] [] (show_stack) from [] (rcu_dump_cpu_stacks+0x84/0xcc)
[ 260.893645] [] (rcu_dump_cpu_stacks) from [] (rcu_check_callbacks+0x29c/0x784)
[ 260.901375] [] (rcu_check_callbacks) from [] (update_process_times+0x40/0x78)
[ 260.910403] [] (update_process_times) from [] (tick_sched_timer+0x50/0x9c)
[ 260.919339] [] (tick_sched_timer) from [] (__hrtimer_run_queues+0xd8/0x1b4)
[ 260.927841] [] (__hrtimer_run_queues) from [] (hrtimer_interrupt+0xc0/0x238)
[ 260.936446] [] (hrtimer_interrupt) from [] (msm_timer_interrupt+0x38/0x48)
[ 260.945478] [] (msm_timer_interrupt) from [] (handle_percpu_devid_irq+0x78/0xb4)
[ 260.953890] [] (handle_percpu_devid_irq) from [] (generic_handle_irq+0x28/0x40)
[ 260.963175] [] (generic_handle_irq) from [] (__handle_domain_irq+0xa4/0xc8)
[ 260.971940] [] (__handle_domain_irq) from [] (gic_handle_irq+0x64/0xbc)
[ 260.980621] [] (gic_handle_irq) from [] (__irq_svc+0x54/0x70)
[ 260.988945] Exception stack(0xdb1ffbe0 to 0xdb1ffc28)
[ 260.996606] fbe0: dccec290 00000000 8fffd378 c049901c 00000000 dccec290 00000000 00000010
[ 261.001644] fc00: 00000002 dd4ce000 dd4cea1f c0733524 00000000 db1ffc30 c0498c24 c0499028
[ 261.009784] fc20: 60000013 ffffffff
[ 261.017946] [] (__irq_svc) from [] (mdc_set+0xc/0x2c)
[ 261.021242] [] (mdc_set) from [] (mdiobb_cmd+0x40/0xd4)
[ 261.028185] [] (mdiobb_cmd) from [] (mdiobb_read+0x54/0xec)
[ 261.034971] [] (mdiobb_read) from [] (ar8xxx_mii_read32+0x28/0x5c)
[ 261.042254] [] (ar8xxx_mii_read32) from [] (ar8327_get_arl_entry+0xe0/0x180)
[ 261.050241] [] (ar8327_get_arl_entry) from [] (ar8xxx_sw_get_arl_table+0xa4/0x280)
[ 261.059184] [] (ar8xxx_sw_get_arl_table) from [] (swconfig_get_attr+0xb4/0x500)
[ 261.068300] [] (swconfig_get_attr) from [] (genl_rcv_msg+0x2ec/0x3a8)
[ 261.077234] [] (genl_rcv_msg) from [] (netlink_rcv_skb+0x5c/0xc8)
[ 261.085565] [] (netlink_rcv_skb) from [] (genl_rcv+0x30/0x48)
[ 261.093376] [] (genl_rcv) from [] (netlink_unicast+0x14c/0x214)
[ 261.100841] [] (netlink_unicast) from [] (netlink_sendmsg+0x2dc/0x364)
[ 261.108314] [] (netlink_sendmsg) from [] (sock_sendmsg+0x18/0x34)
[ 261.116644] [] (sock_sendmsg) from [] (___sys_sendmsg+0x21c/0x244)
[ 261.124546] [] (___sys_sendmsg) from [] (__sys_sendmsg+0x44/0x74)
[ 261.132358] [] (__sys_sendmsg) from [] (ret_fast_syscall+0x0/0x3c)
[ 261.140254] INFO: rcu_sched detected stalls on CPUs/tasks:
[ 261.153536] 1-...: (20865 ticks this GP) idle=611/140000000000000/0 softirq=3953/3953 fqs=20901
[ 261.153620] (detected by 0, t=21017 jiffies, g=1427, c=1426, q=15974)
[ 261.163684] Task dump for CPU 1:
[ 261.168888] swconfig R running 0 2214 2206 0x00000002
[ 261.175858] [] (__schedule) from [] (0x62c020)
[ 290.760351] br-lan: port 2(ath1) entered forwarding state
```
Only disconnect the `WAN-port` or run 'swconfig' later than 3 min after kernel boot, The router will run OK.
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=384
More information about the lede-bugs
mailing list