OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by KerwinKoo - 13.01.2017
Last edited by Stijn Tintel - 22.02.2017

FS#384 - IPQ806X: CMD: swconfig on R7800 generate Kernel Panic!

- 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 0×0 [ 0.000000] Linux version 4.4.40 (gukq@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 0×42208280 - 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 giometti@linux.it [ 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) © 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@1b500000 ranges:
[ 0.144123] IO 0x0fe00000..0x0fefffff → 0x0fe00000
[ 0.144144] MEM 0×08000000..0x0fdfffff → 0×08000000 [ 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 0×0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[ 0.165403] pci_bus 0000:00: root bus resource [mem 0×08000000-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 0×08000000-0x081fffff]
[ 0.167937] pci 0000:01:00.0: BAR 0: assigned [mem 0×08000000-0x081fffff 64bit]
[ 0.168041] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.168061] pci 0000:00:00.0: bridge window [mem 0×08000000-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@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 0×16340000 (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: 0×01, 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] 0×000000000000-0x000000c80000 : “qcadata” [ 1.543583] 0x000000c80000-0×000001180000 : “APPSBL” [ 1.548750] 0×000001180000-0×000001200000 : “APPSBLENV” [ 1.553631] 0×000001200000-0×000001340000 : “art” [ 1.558687] 0×000001340000-0×000001480000 : “artbak” [ 1.563451] 0×000001480000-0×000001680000 : “kernel” [ 1.568561] 0×000001680000-0×000003480000 : “ubi” [ 1.573482] 0×000003480000-0×000007900000 : “netgear” [ 1.578110] 0×000007900000-0×000008000000 : “reserve” [ 1.583136] 0×000001480000-0×000003480000 : “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: 0×10, Synopsys ID: 0×37 [ 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: 0×10, Synopsys ID: 0×37 [ 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© 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 0×0 → 0×1 [ 4.961400] ahci 29000000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0×1 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 0×29000000-0x2900017f] port 0×100 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 0×100 quirks 0×00010010 [ 5.462558] xhci-hcd xhci-hcd.0.auto: irq 172, io mem 0×11000000 [ 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 0×100 quirks 0×00010010 [ 5.526688] xhci-hcd xhci-hcd.1.auto: irq 173, io mem 0×10000000 [ 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 maxk@qualcomm.com [ 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 0×01000000 chip_id 0×00000000 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 0×01000000 chip_id 0×00000000 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@lede:/#
root@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] [<c0220744>] (unwind_backtrace) from [<c021d234>] (show_stack+0×14/0×20)
[ 46.624544] [<c021d234>] (show_stack) from [<c03bc26c>] (dump_stack+0x8c/0xa0)
[ 46.632526] [<c03bc26c>] (dump_stack) from [<c0481788>] (ubi_io_write+0x3d8/0×670)
[ 46.639549] [<c0481788>] (ubi_io_write) from [<c047e38c>] (ubi_eba_write_leb+0xd0/0×848)
[ 46.647100] [<c047e38c>] (ubi_eba_write_leb) from [<c047cf90>] (ubi_leb_write+0xc0/0xf0)
[ 46.655356] [<c047cf90>] (ubi_leb_write) from [<c035ca34>] (ubifs_leb_write+0×128/0×168)
[ 46.663424] [<c035ca34>] (ubifs_leb_write) from [<c035d778>] (ubifs_wbuf_sync_nolock+0x29c/0×378)
[ 46.671497] [<c035d778>] (ubifs_wbuf_sync_nolock) from [<c035db1c>] (ubifs_bg_wbufs_sync+0xcc/0x1c4)
[ 46.680270] [<c035db1c>] (ubifs_bg_wbufs_sync) from [<c03688e0>] (ubifs_bg_thread+0xac/0x1a8)
[ 46.689475] [<c03688e0>] (ubifs_bg_thread) from [<c02438d0>] (kthread+0xf8/0×100)
[ 46.697885] [<c02438d0>] (kthread) from [<c0209cb8>] (ret_from_fork+0×14/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] [<c0220744>] (unwind_backtrace) from [<c021d234>] (show_stack+0×14/0×20)
[ 47.243028] [<c021d234>] (show_stack) from [<c03bc26c>] (dump_stack+0x8c/0xa0)
[ 47.251012] [<c03bc26c>] (dump_stack) from [<c047e760>] (ubi_eba_write_leb+0x4a4/0×848)
[ 47.258037] [<c047e760>] (ubi_eba_write_leb) from [<c047cf90>] (ubi_leb_write+0xc0/0xf0)
[ 47.265943] [<c047cf90>] (ubi_leb_write) from [<c035ca34>] (ubifs_leb_write+0×128/0×168)
[ 47.274275] [<c035ca34>] (ubifs_leb_write) from [<c035d778>] (ubifs_wbuf_sync_nolock+0x29c/0×378)
[ 47.282350] [<c035d778>] (ubifs_wbuf_sync_nolock) from [<c035db1c>] (ubifs_bg_wbufs_sync+0xcc/0x1c4)
[ 47.291119] [<c035db1c>] (ubifs_bg_wbufs_sync) from [<c03688e0>] (ubifs_bg_thread+0xac/0x1a8)
[ 47.300322] [<c03688e0>] (ubifs_bg_thread) from [<c02438d0>] (kthread+0xf8/0×100)
[ 47.308735] [<c02438d0>] (kthread) from [<c0209cb8>] (ret_from_fork+0×14/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] [<c0220744>] (unwind_backtrace) from [<c021d234>] (show_stack+0×14/0×20)
[ 47.354138] [<c021d234>] (show_stack) from [<c03bc26c>] (dump_stack+0x8c/0xa0)
[ 47.362124] [<c03bc26c>] (dump_stack) from [<c035ca08>] (ubifs_leb_write+0xfc/0×168)
[ 47.369153] [<c035ca08>] (ubifs_leb_write) from [<c035d778>] (ubifs_wbuf_sync_nolock+0x29c/0×378)
[ 47.377053] [<c035d778>] (ubifs_wbuf_sync_nolock) from [<c035db1c>] (ubifs_bg_wbufs_sync+0xcc/0x1c4)
[ 47.385824] [<c035db1c>] (ubifs_bg_wbufs_sync) from [<c03688e0>] (ubifs_bg_thread+0xac/0x1a8)
[ 47.395027] [<c03688e0>] (ubifs_bg_thread) from [<c02438d0>] (kthread+0xf8/0×100)
[ 47.403439] [<c02438d0>] (kthread) from [<c0209cb8>] (ret_from_fork+0×14/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] [<c0220744>] (unwind_backtrace) from [<c021d234>] (show_stack+0×14/0×20)
[ 47.429833] [<c021d234>] (show_stack) from [<c03bc26c>] (dump_stack+0x8c/0xa0)
[ 47.437819] [<c03bc26c>] (dump_stack) from [<c035ca0c>] (ubifs_leb_write+0×100/0×168)
[ 47.444847] [<c035ca0c>] (ubifs_leb_write) from [<c035d778>] (ubifs_wbuf_sync_nolock+0x29c/0×378)
[ 47.452747] [<c035d778>] (ubifs_wbuf_sync_nolock) from [<c035db1c>] (ubifs_bg_wbufs_sync+0xcc/0x1c4)
[ 47.461606] [<c035db1c>] (ubifs_bg_wbufs_sync) from [<c03688e0>] (ubifs_bg_thread+0xac/0x1a8)
[ 47.470808] [<c03688e0>] (ubifs_bg_thread) from [<c02438d0>] (kthread+0xf8/0×100)
[ 47.479220] [<c02438d0>] (kthread) from [<c0209cb8>] (ret_from_fork+0×14/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+0×18/0x2c
[ 56.112584] pc : [<c03f5194>] lr : [<c049ab6c>] 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] [<c0220744>] (unwind_backtrace) from [<c021d234>] (show_stack+0×14/0×20)
[ 56.170328] [<c021d234>] (show_stack) from [<c03bc26c>] (dump_stack+0x8c/0xa0)
[ 56.178312] [<c03bc26c>] (dump_stack) from [<c0294168>] (watchdog_timer_fn+0x1e8/0×280)
[ 56.185344] [<c0294168>] (watchdog_timer_fn) from [<c027830c>] (
hrtimer_run_queues+0xd8/0x1b4)
[ 56.193240] [<c027830c>] (hrtimer_run_queues) from [<c02785e8>] (hrtimer_interrupt+0xc0/0×238)
[ 56.202278] [<c02785e8>] (hrtimer_interrupt) from [<c04dedfc>] (msm_timer_interrupt+0×38/0×48)
[ 56.211049] [<c04dedfc>] (msm_timer_interrupt) from [<c026ca98>] (handle_percpu_devid_irq+0×78/0xb4)
[ 56.219461] [<c026ca98>] (handle_percpu_devid_irq) from [<c02680a4>] (generic_handle_irq+0×28/0×40)
[ 56.228748] [<c02680a4>] (generic_handle_irq) from [<c02683fc>] (
handle_domain_irq+0xa4/0xc8)
[ 56.237512] [<c02683fc>] (handle_domain_irq) from [<c0209448>] (gic_handle_irq+0×64/0xbc)
[ 56.246193] [<c0209448>] (gic_handle_irq) from [<c020a594>] (
irq_svc+0×54/0×70)
[ 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] [<c020a594>] (irq_svc) from [<c03f5194>] (gpio_to_desc+0xc/0xd0)
[ 56.288552] [<c03f5194>] (gpio_to_desc) from [<dccec210>] (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 0×00000002 [ 65.022118] [<c0220744>] (unwind_backtrace) from [<c021d234>] (show_stack+0×14/0×20)
[ 65.024731] [<c021d234>] (show_stack) from [<c0271328>] (rcu_dump_cpu_stacks+0×84/0xcc)
[ 65.032628] [<c0271328>] (rcu_dump_cpu_stacks) from [<c0274a4c>] (rcu_check_callbacks+0x29c/0×784)
[ 65.040357] [<c0274a4c>] (rcu_check_callbacks) from [<c02772b0>] (update_process_times+0×40/0×78)
[ 65.049385] [<c02772b0>] (update_process_times) from [<c02884b8>] (tick_sched_timer+0×50/0x9c)
[ 65.058318] [<c02884b8>] (tick_sched_timer) from [<c027830c>] (
hrtimer_run_queues+0xd8/0x1b4)
[ 65.066822] [<c027830c>] (hrtimer_run_queues) from [<c02785e8>] (hrtimer_interrupt+0xc0/0×238)
[ 65.075422] [<c02785e8>] (hrtimer_interrupt) from [<c04dedfc>] (msm_timer_interrupt+0×38/0×48)
[ 65.084453] [<c04dedfc>] (msm_timer_interrupt) from [<c026ca98>] (handle_percpu_devid_irq+0×78/0xb4)
[ 65.092869] [<c026ca98>] (handle_percpu_devid_irq) from [<c02680a4>] (generic_handle_irq+0×28/0×40)
[ 65.102154] [<c02680a4>] (generic_handle_irq) from [<c02683fc>] (
handle_domain_irq+0xa4/0xc8)
[ 65.110921] [<c02683fc>] (handle_domain_irq) from [<c0209448>] (gic_handle_irq+0×64/0xbc)
[ 65.119602] [<c0209448>] (gic_handle_irq) from [<c020a594>] (
irq_svc+0×54/0×70)
[ 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] [<c020a594>] (irq_svc) from [<c0213bd8>] (_raw_spin_unlock_irqrestore+0x1c/0×20)
[ 65.165097] [<c0213bd8>] (_raw_spin_unlock_irqrestore) from [<c03f51e4>] (gpio_to_desc+0x5c/0xd0)
[ 65.173599] [<c03f51e4>] (gpio_to_desc) from [<c049af6c>] (mdio_set+0×34/0×48)
[ 65.182534] [<c049af6c>] (mdio_set) from [<c049a650>] (mdiobb_send_bit+0×30/0x7c)
[ 65.189652] [<c049a650>] (mdiobb_send_bit) from [<c049a7d4>] (mdiobb_cmd+0xb8/0xd4)
[ 65.197203] [<c049a7d4>] (mdiobb_cmd) from [<c049a8e0>] (mdiobb_read+0×54/0xec)
[ 65.204670] [<c049a8e0>] (mdiobb_read) from [<c0496e04>] (ar8xxx_mii_read32+0×28/0x5c)
[ 65.211962] [<c0496e04>] (ar8xxx_mii_read32) from [<c0499e64>] (ar8327_get_arl_entry+0xe0/0×180)
[ 65.219949] [<c0499e64>] (ar8327_get_arl_entry) from [<c049661c>] (ar8xxx_sw_get_arl_table+0xa4/0×280)
[ 65.228903] [<c049661c>] (ar8xxx_sw_get_arl_table) from [<c04953cc>] (swconfig_get_attr+0xb4/0×500)
[ 65.238012] [<c04953cc>] (swconfig_get_attr) from [<c053c254>] (genl_rcv_msg+0x2ec/0x3a8)
[ 65.246944] [<c053c254>] (genl_rcv_msg) from [<c053b3e0>] (netlink_rcv_skb+0x5c/0xc8)
[ 65.255276] [<c053b3e0>] (netlink_rcv_skb) from [<c053bf50>] (genl_rcv+0×30/0×48)
[ 65.263086] [<c053bf50>] (genl_rcv) from [<c053ad18>] (netlink_unicast+0x14c/0×214)
[ 65.270552] [<c053ad18>] (netlink_unicast) from [<c053b18c>] (netlink_sendmsg+0x2dc/0×364)
[ 65.278026] [<c053b18c>] (netlink_sendmsg) from [<c04f7c1c>] (sock_sendmsg+0×18/0×34)
[ 65.286356] [<c04f7c1c>] (sock_sendmsg) from [<c04f82c8>] (
_sys_sendmsg+0x21c/0×244)
[ 65.294257] [<c04f82c8>] (_sys_sendmsg) from [<c04f9228>] (sys_sendmsg+0×44/0×74)
[ 65.302070] [<c04f9228>] (sys_sendmsg) from [<c0209c00>] (ret_fast_syscall+0×0/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: 0×43 [ 50.733978] Switching to Tx Mode-1 Threshold 280
[ 51.350570] [wifi1] FWLOG: [17523] RESMGR_OCS_GEN_PERIODIC_NOA ( 0×0 )
[ 51.355635] [wifi1] FWLOG: [17523] RESMGR_OCS_GEN_PERIODIC_NOA ( 0×0 )
[ 51.362170] [wifi1] FWLOG: [17552] vap-0 VDEV_MGR_VDEV_START ( 0x99e, 0×2, 0×0, 0×0 )
[ 51.369957] [wifi1] FWLOG: [17552] VDEV_MGR_HP_START_TIME ( 0×0, 0x99e, 0x2a3001 )
[ 51.377420] [wifi1] FWLOG: [17553] RESMGR_OCS_GEN_PERIODIC_NOA ( 0×1 )
[ 51.384018] [wifi1] FWLOG: [17553] RESMGR_OCS_GEN_PERIODIC_NOA ( 0×0 )
[ 51.390534] [wifi1] FWLOG: [17553] VDEV_MGR_AP_TBTT_CONFIG ( 0×0, 0x99e, 0×0, 0×0 )
[ 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 0×00000002 [ 71.728557] [<c0210358>] (schedule) from [<0062c020>] (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 0×00000002 [ 71.780449] [<c0220744>] (unwind_backtrace) from [<c021d234>] (show_stack+0×14/0×20)
[ 71.783056] [<c021d234>] (show_stack) from [<c02712e8>] (rcu_dump_cpu_stacks+0×84/0xcc)
[ 71.790953] [<c02712e8>] (rcu_dump_cpu_stacks) from [<c0274a0c>] (rcu_check_callbacks+0x29c/0×784)
[ 71.798681] [<c0274a0c>] (rcu_check_callbacks) from [<c0277270>] (update_process_times+0×40/0×78)
[ 71.807710] [<c0277270>] (update_process_times) from [<c0288478>] (tick_sched_timer+0×50/0x9c)
[ 71.816645] [<c0288478>] (tick_sched_timer) from [<c02782cc>] (
hrtimer_run_queues+0xd8/0x1b4)
[ 71.825149] [<c02782cc>] (hrtimer_run_queues) from [<c02785a8>] (hrtimer_interrupt+0xc0/0×238)
[ 71.833754] [<c02785a8>] (hrtimer_interrupt) from [<c04ddb5c>] (msm_timer_interrupt+0×38/0×48)
[ 71.842786] [<c04ddb5c>] (msm_timer_interrupt) from [<c026ca58>] (handle_percpu_devid_irq+0×78/0xb4)
[ 71.851197] [<c026ca58>] (handle_percpu_devid_irq) from [<c0268064>] (generic_handle_irq+0×28/0×40)
[ 71.860481] [<c0268064>] (generic_handle_irq) from [<c02683bc>] (
handle_domain_irq+0xa4/0xc8)
[ 71.869248] [<c02683bc>] (handle_domain_irq) from [<c0209448>] (gic_handle_irq+0×64/0xbc)
[ 71.877929] [<c0209448>] (gic_handle_irq) from [<c020a594>] (
irq_svc+0×54/0×70)
[ 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] [<c020a594>] (irq_svc) from [<c04ddc40>] (msm_read_current_timer+0x1c/0×24)
[ 71.923421] [<c04ddc40>] (msm_read_current_timer) from [<c03b9c40>] (
timer_delay+0×50/0x6c)
[ 71.931579] [<c03b9c40>] (timer_delay) from [<c0498b24>] (mdiobb_send_bit+0x3c/0x7c)
[ 71.940078] [<c0498b24>] (mdiobb_send_bit) from [<c0498c9c>] (mdiobb_cmd+0xb8/0xd4)
[ 71.947891] [<c0498c9c>] (mdiobb_cmd) from [<c0498da8>] (mdiobb_read+0×54/0xec)
[ 71.955456] [<c0498da8>] (mdiobb_read) from [<c04952cc>] (ar8xxx_mii_read32+0×28/0x5c)
[ 71.962739] [<c04952cc>] (ar8xxx_mii_read32) from [<c0498340>] (ar8327_get_arl_entry+0xf4/0×180)
[ 71.970724] [<c0498340>] (ar8327_get_arl_entry) from [<c0494ae4>] (ar8xxx_sw_get_arl_table+0xa4/0×280)
[ 71.979668] [<c0494ae4>] (ar8xxx_sw_get_arl_table) from [<c0493894>] (swconfig_get_attr+0xb4/0×500)
[ 71.988783] [<c0493894>] (swconfig_get_attr) from [<c053b06c>] (genl_rcv_msg+0x2ec/0x3a8)
[ 71.997718] [<c053b06c>] (genl_rcv_msg) from [<c053a1f8>] (netlink_rcv_skb+0x5c/0xc8)
[ 72.006048] [<c053a1f8>] (netlink_rcv_skb) from [<c053ad68>] (genl_rcv+0×30/0×48)
[ 72.013860] [<c053ad68>] (genl_rcv) from [<c0539b30>] (netlink_unicast+0x14c/0×214)
[ 72.021325] [<c0539b30>] (netlink_unicast) from [<c0539fa4>] (netlink_sendmsg+0x2dc/0×364)
[ 72.028797] [<c0539fa4>] (netlink_sendmsg) from [<c04f697c>] (sock_sendmsg+0×18/0×34)
[ 72.037129] [<c04f697c>] (sock_sendmsg) from [<c04f7028>] (
_sys_sendmsg+0x21c/0×244)
[ 72.045031] [<c04f7028>] (_sys_sendmsg) from [<c04f7f88>] (sys_sendmsg+0×44/0×74)
[ 72.052841] [<c04f7f88>] (sys_sendmsg) from [<c0209c00>] (ret_fast_syscall+0×0/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/0×20 [ 76.187117] LR is at gpio_to_desc+0x5c/0xd0
[ 76.192490] pc : [<c0213bd8>] lr : [<c03f3674>] 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] [<c0220744>] (unwind_backtrace) from [<c021d234>] (show_stack+0×14/0×20)
[ 76.251971] [<c021d234>] (show_stack) from [<c03ba6fc>] (dump_stack+0x8c/0xa0)
[ 76.259951] [<c03ba6fc>] (dump_stack) from [<c0294128>] (watchdog_timer_fn+0x1e8/0×280)
[ 76.266982] [<c0294128>] (watchdog_timer_fn) from [<c02782cc>] (
hrtimer_run_queues+0xd8/0x1b4)
[ 76.274881] [<c02782cc>] (hrtimer_run_queues) from [<c02785a8>] (hrtimer_interrupt+0xc0/0×238)
[ 76.283919] [<c02785a8>] (hrtimer_interrupt) from [<c04ddb5c>] (msm_timer_interrupt+0×38/0×48)
[ 76.292690] [<c04ddb5c>] (msm_timer_interrupt) from [<c026ca58>] (handle_percpu_devid_irq+0×78/0xb4)
[ 76.301102] [<c026ca58>] (handle_percpu_devid_irq) from [<c0268064>] (generic_handle_irq+0×28/0×40)
[ 76.310387] [<c0268064>] (generic_handle_irq) from [<c02683bc>] (
handle_domain_irq+0xa4/0xc8)
[ 76.319151] [<c02683bc>] (handle_domain_irq) from [<c0209448>] (gic_handle_irq+0×64/0xbc)
[ 76.327832] [<c0209448>] (gic_handle_irq) from [<c020a594>] (
irq_svc+0×54/0×70)
[ 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] [<c020a594>] (irq_svc) from [<c0213bd8>] (_raw_spin_unlock_irqrestore+0x1c/0×20)
[ 76.373324] [<c0213bd8>] (_raw_spin_unlock_irqrestore) from [<c03f3674>] (gpio_to_desc+0x5c/0xd0)
[ 76.381831] [<c03f3674>] (gpio_to_desc) from [<c0499434>] (mdio_set+0×34/0×48)
[ 76.390766] [<c0499434>] (mdio_set) from [<c0498b18>] (mdiobb_send_bit+0×30/0x7c)
[ 76.397882] [<c0498b18>] (mdiobb_send_bit) from [<c0498c7c>] (mdiobb_cmd+0×98/0xd4)
[ 76.405435] [<c0498c7c>] (mdiobb_cmd) from [<c0498e94>] (mdiobb_write+0×54/0xbc)
[ 76.412912] [<c0498e94>] (mdiobb_write) from [<c04953c0>] (ar8xxx_mii_write32+0×44/0×94)
[ 76.420544] [<c04953c0>] (ar8xxx_mii_write32) from [<c0498314>] (ar8327_get_arl_entry+0xc8/0×180)
[ 76.428616] [<c0498314>] (ar8327_get_arl_entry) from [<c0494ae4>] (ar8xxx_sw_get_arl_table+0xa4/0×280)
[ 76.437386] [<c0494ae4>] (ar8xxx_sw_get_arl_table) from [<c0493894>] (swconfig_get_attr+0xb4/0×500)
[ 76.446588] [<c0493894>] (swconfig_get_attr) from [<c053b06c>] (genl_rcv_msg+0x2ec/0x3a8)
[ 76.455524] [<c053b06c>] (genl_rcv_msg) from [<c053a1f8>] (netlink_rcv_skb+0x5c/0xc8)
[ 76.463853] [<c053a1f8>] (netlink_rcv_skb) from [<c053ad68>] (genl_rcv+0×30/0×48)
[ 76.471666] [<c053ad68>] (genl_rcv) from [<c0539b30>] (netlink_unicast+0x14c/0×214)
[ 76.479129] [<c0539b30>] (netlink_unicast) from [<c0539fa4>] (netlink_sendmsg+0x2dc/0×364)
[ 76.486604] [<c0539fa4>] (netlink_sendmsg) from [<c04f697c>] (sock_sendmsg+0×18/0×34)
[ 76.494934] [<c04f697c>] (sock_sendmsg) from [<c04f7028>] (
_sys_sendmsg+0x21c/0×244)
[ 76.502835] [<c04f7028>] (_sys_sendmsg) from [<c04f7f88>] (sys_sendmsg+0×44/0×74)
[ 76.510646] [<c04f7f88>] (sys_sendmsg) from [<c0209c00>] (ret_fast_syscall+0×0/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 0×00000002 [ 134.779437] [<c0210358>] (
schedule) from [<0062c020>] (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 0×00000002 [ 134.858392] [<c0220744>] (unwind_backtrace) from [<c021d234>] (show_stack+0×14/0×20)
[ 134.860999] [<c021d234>] (show_stack) from [<c02712e8>] (rcu_dump_cpu_stacks+0×84/0xcc)
[ 134.868898] [<c02712e8>] (rcu_dump_cpu_stacks) from [<c0274a0c>] (rcu_check_callbacks+0x29c/0×784)
[ 134.876625] [<c0274a0c>] (rcu_check_callbacks) from [<c0277270>] (update_process_times+0×40/0×78)
[ 134.885652] [<c0277270>] (update_process_times) from [<c0288478>] (tick_sched_timer+0×50/0x9c)
[ 134.894588] [<c0288478>] (tick_sched_timer) from [<c02782cc>] (hrtimer_run_queues+0xd8/0x1b4)
[ 134.903093] [<c02782cc>] (
hrtimer_run_queues) from [<c02785a8>] (hrtimer_interrupt+0xc0/0×238)
[ 134.911695] [<c02785a8>] (hrtimer_interrupt) from [<c04ddb5c>] (msm_timer_interrupt+0×38/0×48)
[ 134.920724] [<c04ddb5c>] (msm_timer_interrupt) from [<c026ca58>] (handle_percpu_devid_irq+0×78/0xb4)
[ 134.929140] [<c026ca58>] (handle_percpu_devid_irq) from [<c0268064>] (generic_handle_irq+0×28/0×40)
[ 134.938425] [<c0268064>] (generic_handle_irq) from [<c02683bc>] (handle_domain_irq+0xa4/0xc8)
[ 134.947191] [<c02683bc>] (
handle_domain_irq) from [<c0209448>] (gic_handle_irq+0×64/0xbc)
[ 134.955872] [<c0209448>] (gic_handle_irq) from [<c020a594>] (irq_svc+0×54/0×70)
[ 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] [<c020a594>] (
irq_svc) from [<c04ddc40>] (msm_read_current_timer+0x1c/0×24)
[ 135.001364] [<c04ddc40>] (msm_read_current_timer) from [<c03b9c40>] (timer_delay+0×50/0x6c)
[ 135.009522] [<c03b9c40>] (
timer_delay) from [<c0498b24>] (mdiobb_send_bit+0x3c/0x7c)
[ 135.018022] [<c0498b24>] (mdiobb_send_bit) from [<c0498c24>] (mdiobb_cmd+0×40/0xd4)
[ 135.025835] [<c0498c24>] (mdiobb_cmd) from [<c0498da8>] (mdiobb_read+0×54/0xec)
[ 135.033395] [<c0498da8>] (mdiobb_read) from [<c04952cc>] (ar8xxx_mii_read32+0×28/0x5c)
[ 135.040683] [<c04952cc>] (ar8xxx_mii_read32) from [<c0498340>] (ar8327_get_arl_entry+0xf4/0×180)
[ 135.048668] [<c0498340>] (ar8327_get_arl_entry) from [<c0494ae4>] (ar8xxx_sw_get_arl_table+0xa4/0×280)
[ 135.057612] [<c0494ae4>] (ar8xxx_sw_get_arl_table) from [<c0493894>] (swconfig_get_attr+0xb4/0×500)
[ 135.066729] [<c0493894>] (swconfig_get_attr) from [<c053b06c>] (genl_rcv_msg+0x2ec/0x3a8)
[ 135.075662] [<c053b06c>] (genl_rcv_msg) from [<c053a1f8>] (netlink_rcv_skb+0x5c/0xc8)
[ 135.083993] [<c053a1f8>] (netlink_rcv_skb) from [<c053ad68>] (genl_rcv+0×30/0×48)
[ 135.091806] [<c053ad68>] (genl_rcv) from [<c0539b30>] (netlink_unicast+0x14c/0×214)
[ 135.099270] [<c0539b30>] (netlink_unicast) from [<c0539fa4>] (netlink_sendmsg+0x2dc/0×364)
[ 135.106741] [<c0539fa4>] (netlink_sendmsg) from [<c04f697c>] (sock_sendmsg+0×18/0×34)
[ 135.115072] [<c04f697c>] (sock_sendmsg) from [<c04f7028>] (_sys_sendmsg+0x21c/0×244)
[ 135.122976] [<c04f7028>] (
_sys_sendmsg) from [<c04f7f88>] (sys_sendmsg+0×44/0×74)
[ 135.130785] [<c04f7f88>] (
sys_sendmsg) from [<c0209c00>] (ret_fast_syscall+0×0/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 0×00000002 [ 197.828526] [<c0210358>] (schedule) from [<0062c020>] (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 0×00000002 [ 197.881155] [<c0220744>] (unwind_backtrace) from [<c021d234>] (show_stack+0×14/0×20)
[ 197.883760] [<c021d234>] (show_stack) from [<c02712e8>] (rcu_dump_cpu_stacks+0×84/0xcc)
[ 197.891658] [<c02712e8>] (rcu_dump_cpu_stacks) from [<c0274a0c>] (rcu_check_callbacks+0x29c/0×784)
[ 197.899386] [<c0274a0c>] (rcu_check_callbacks) from [<c0277270>] (update_process_times+0×40/0×78)
[ 197.908411] [<c0277270>] (update_process_times) from [<c0288478>] (tick_sched_timer+0×50/0x9c)
[ 197.917348] [<c0288478>] (tick_sched_timer) from [<c02782cc>] (
hrtimer_run_queues+0xd8/0x1b4)
[ 197.925852] [<c02782cc>] (hrtimer_run_queues) from [<c02785a8>] (hrtimer_interrupt+0xc0/0×238)
[ 197.934457] [<c02785a8>] (hrtimer_interrupt) from [<c04ddb5c>] (msm_timer_interrupt+0×38/0×48)
[ 197.943489] [<c04ddb5c>] (msm_timer_interrupt) from [<c026ca58>] (handle_percpu_devid_irq+0×78/0xb4)
[ 197.951901] [<c026ca58>] (handle_percpu_devid_irq) from [<c0268064>] (generic_handle_irq+0×28/0×40)
[ 197.961183] [<c0268064>] (generic_handle_irq) from [<c02683bc>] (
handle_domain_irq+0xa4/0xc8)
[ 197.969952] [<c02683bc>] (handle_domain_irq) from [<c0209448>] (gic_handle_irq+0×64/0xbc)
[ 197.978630] [<c0209448>] (gic_handle_irq) from [<c020a594>] (
irq_svc+0×54/0×70)
[ 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] [<c020a594>] (irq_svc) from [<c0213bd8>] (_raw_spin_unlock_irqrestore+0x1c/0×20)
[ 198.020998] [<c0213bd8>] (_raw_spin_unlock_irqrestore) from [<c0498b34>] (mdiobb_send_bit+0x4c/0x7c)
[ 198.029500] [<c0498b34>] (mdiobb_send_bit) from [<c0498c38>] (mdiobb_cmd+0×54/0xd4)
[ 198.038785] [<c0498c38>] (mdiobb_cmd) from [<c0498e94>] (mdiobb_write+0×54/0xbc)
[ 198.046164] [<c0498e94>] (mdiobb_write) from [<c0498314>] (ar8327_get_arl_entry+0xc8/0×180)
[ 198.053815] [<c0498314>] (ar8327_get_arl_entry) from [<c0494ae4>] (ar8xxx_sw_get_arl_table+0xa4/0×280)
[ 198.061881] [<c0494ae4>] (ar8xxx_sw_get_arl_table) from [<c0493894>] (swconfig_get_attr+0xb4/0×500)
[ 198.071257] [<c0493894>] (swconfig_get_attr) from [<c053b06c>] (genl_rcv_msg+0x2ec/0x3a8)
[ 198.080192] [<c053b06c>] (genl_rcv_msg) from [<c053a1f8>] (netlink_rcv_skb+0x5c/0xc8)
[ 198.088522] [<c053a1f8>] (netlink_rcv_skb) from [<c053ad68>] (genl_rcv+0×30/0×48)
[ 198.096335] [<c053ad68>] (genl_rcv) from [<c0539b30>] (netlink_unicast+0x14c/0×214)
[ 198.103800] [<c0539b30>] (netlink_unicast) from [<c0539fa4>] (netlink_sendmsg+0x2dc/0×364)
[ 198.111273] [<c0539fa4>] (netlink_sendmsg) from [<c04f697c>] (sock_sendmsg+0×18/0×34)
[ 198.119603] [<c04f697c>] (sock_sendmsg) from [<c04f7028>] (
_sys_sendmsg+0x21c/0×244)
[ 198.127505] [<c04f7028>] (_sys_sendmsg) from [<c04f7f88>] (sys_sendmsg+0×44/0×74)
[ 198.135315] [<c04f7f88>] (sys_sendmsg) from [<c0209c00>] (ret_fast_syscall+0×0/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 0×00000002 [ 260.883151] [<c0220744>] (unwind_backtrace) from [<c021d234>] (show_stack+0×14/0×20)
[ 260.885750] [<c021d234>] (show_stack) from [<c02712e8>] (rcu_dump_cpu_stacks+0×84/0xcc)
[ 260.893645] [<c02712e8>] (rcu_dump_cpu_stacks) from [<c0274a0c>] (rcu_check_callbacks+0x29c/0×784)
[ 260.901375] [<c0274a0c>] (rcu_check_callbacks) from [<c0277270>] (update_process_times+0×40/0×78)
[ 260.910403] [<c0277270>] (update_process_times) from [<c0288478>] (tick_sched_timer+0×50/0x9c)
[ 260.919339] [<c0288478>] (tick_sched_timer) from [<c02782cc>] (
hrtimer_run_queues+0xd8/0x1b4)
[ 260.927841] [<c02782cc>] (hrtimer_run_queues) from [<c02785a8>] (hrtimer_interrupt+0xc0/0×238)
[ 260.936446] [<c02785a8>] (hrtimer_interrupt) from [<c04ddb5c>] (msm_timer_interrupt+0×38/0×48)
[ 260.945478] [<c04ddb5c>] (msm_timer_interrupt) from [<c026ca58>] (handle_percpu_devid_irq+0×78/0xb4)
[ 260.953890] [<c026ca58>] (handle_percpu_devid_irq) from [<c0268064>] (generic_handle_irq+0×28/0×40)
[ 260.963175] [<c0268064>] (generic_handle_irq) from [<c02683bc>] (
handle_domain_irq+0xa4/0xc8)
[ 260.971940] [<c02683bc>] (handle_domain_irq) from [<c0209448>] (gic_handle_irq+0×64/0xbc)
[ 260.980621] [<c0209448>] (gic_handle_irq) from [<c020a594>] (
irq_svc+0×54/0×70)
[ 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] [<c020a594>] (irq_svc) from [<c0499028>] (mdc_set+0xc/0x2c)
[ 261.021242] [<c0499028>] (mdc_set) from [<c0498c24>] (mdiobb_cmd+0×40/0xd4)
[ 261.028185] [<c0498c24>] (mdiobb_cmd) from [<c0498da8>] (mdiobb_read+0×54/0xec)
[ 261.034971] [<c0498da8>] (mdiobb_read) from [<c04952cc>] (ar8xxx_mii_read32+0×28/0x5c)
[ 261.042254] [<c04952cc>] (ar8xxx_mii_read32) from [<c049832c>] (ar8327_get_arl_entry+0xe0/0×180)
[ 261.050241] [<c049832c>] (ar8327_get_arl_entry) from [<c0494ae4>] (ar8xxx_sw_get_arl_table+0xa4/0×280)
[ 261.059184] [<c0494ae4>] (ar8xxx_sw_get_arl_table) from [<c0493894>] (swconfig_get_attr+0xb4/0×500)
[ 261.068300] [<c0493894>] (swconfig_get_attr) from [<c053b06c>] (genl_rcv_msg+0x2ec/0x3a8)
[ 261.077234] [<c053b06c>] (genl_rcv_msg) from [<c053a1f8>] (netlink_rcv_skb+0x5c/0xc8)
[ 261.085565] [<c053a1f8>] (netlink_rcv_skb) from [<c053ad68>] (genl_rcv+0×30/0×48)
[ 261.093376] [<c053ad68>] (genl_rcv) from [<c0539b30>] (netlink_unicast+0x14c/0×214)
[ 261.100841] [<c0539b30>] (netlink_unicast) from [<c0539fa4>] (netlink_sendmsg+0x2dc/0×364)
[ 261.108314] [<c0539fa4>] (netlink_sendmsg) from [<c04f697c>] (sock_sendmsg+0×18/0×34)
[ 261.116644] [<c04f697c>] (sock_sendmsg) from [<c04f7028>] (
_sys_sendmsg+0x21c/0×244)
[ 261.124546] [<c04f7028>] (_sys_sendmsg) from [<c04f7f88>] (sys_sendmsg+0×44/0×74)
[ 261.132358] [<c04f7f88>] (sys_sendmsg) from [<c0209c00>] (ret_fast_syscall+0×0/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 0×00000002 [ 261.175858] [<c0210358>] (
schedule) from [<0062c020>] (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.

Closed by  Stijn Tintel
22.02.2017 11:15
Reason for closing:  Fixed
Additional comments about closing:  

Fixed in master: https://git.lede-project.org/5c49f ecf Fixed in lede-17.01: https://git.lede-project.org/34957 7ad

KerwinKoo commented on 13.01.2017 10:38

After report this bug I found some format error of text content. If you want me to support more information of this bug, call me email: gukaiqiang@gmail.com. I will response you at the first time.

Hannu Nyman commented on 13.01.2017 13:05

Confirmed with R7800 using two firmware versions:
Reboot (SNAPSHOT, r2919-d1daf3f38d)
Reboot (SNAPSHOT, r2939-f44663c673)

During testing I noticed an aditional symptom:
The router does not react to disconnecting/connecting wan cable at all. There is no trace of loss of connectivity or acquisition of new connectivity in dmesg or logread output. The WAN LED stays lit, although the WAN cable has been disconnected from the device. Also WAN interface does no go down when the WAN cable is removed from the device.

Only disconnect the `WAN-port` or run ‘swconfig’ later than 3 min after kernel boot, The router will run OK.

The three minutes mentioned above is not exact: my router hanged after 4 minutes too.

(The error can be triggered by visiting the switch page in LuCI, too.)

Self-built firmware, so no issues from shared/nonshared components should materialise.

I first tested with the router having uptime of over 12 hours, and there were no problems. The swconfig command ran normally.

Then I tested with a recently rebooted router:
root@lede:~# uptime
14:36:43 up 0 min, load average: 1.14, 0.31, 0.10
root@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

—HANG— ROUTER NEEDS TO BE MANUALLY REBOOTED

14:42:39 up 4 min, load average: 0.12, 0.20, 0.09
root@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

—HANG— ROUTER NEEDS TO BE MANUALLY REBOOTED

root@lede:~# uptime
14:48:56 up 5 min, load average: 0.11, 0.16, 0.09
root@lede:~# swconfig dev switch0 show | head -n 30
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
      arl_table: address resolution table

Port 0: MAC dc:ef:aa:bb:cc:e5
Port 2: MAC 78:24:dd:ee:ff:1c
... OK

Hannu Nyman commented on 13.01.2017 13:16

I also tested with two older firmware versions:

r2708-39d3a4117b of 2016-12-30
r2372-e678c9f of 2016-11-30

same hang, similarly no reaction to WAN cable removal

So this is not a new problem for the R7800 device, but has been there for some time.

dissent1 commented on 13.01.2017 14:47

It's an old issue. I've noticed this issue since first commit that enabled support for r7800 in lede when I've tried to configure the switch in luci right after reboot.
I do not face it anymore after recent patches for swconfig and ar8xxx driver ported from chromium.
Just FYI after the hang is triggered you can wait for about 2 minutes and the functionality gets restored.

Project Manager
Stijn Tintel commented on 13.01.2017 17:33

I'm seeing similar behavior on my DAP-2695, which also has the AR8337 rev. 2 switch. Running swconfig dev switch0 show shortly after boot seems to completely lock the SoC. I do not see any kernel messages however, the serial console freezes right after the last line here:

root@ap0:~# 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

I traced it back to this part of the code in ar8337.c:

        case AR8XXX_ARL_INITIALIZE:
                /* all ATU registers are on the same page
                * therefore set page only once
                */
                bus->write(bus, 0x18, 0, page);
Project Manager
Stijn Tintel commented on 25.01.2017 17:05

Workaround implemented in https://git.lede-project.org/ec1a695d Changed severity to low.

Günther Kelleter commented on 15.02.2017 09:59
Thomas Reifferscheid commented on 22.02.2017 09:51

Hi. I was backing off stintel's patch for testing with lede-trunk on kernel-4.4.49 and I was unable to reproduce this issue on Netgear ipq806x/R7500 with ar8327.

Guenther, do you mind trying again after manually backing off stintels workaround and let us know if you still get it?

Please find the logs attached. Thank you.

Günther Kelleter commented on 22.02.2017 12:43

Hi Thomas

actually we saw this bug on an OpenWrt based kernel. My patch fixes the lockup there, no need for the workaround.

Stijn already reverted the workaround on LEDE -17.01 branch.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing