coolsnowwolf / lede

Lean's LEDE source
Other
29.68k stars 19.51k forks source link

Qualcomm Technologies, Inc. IPQ8064/AP-148,启动报错 #8718

Closed flexyangjie closed 2 years ago

flexyangjie commented 2 years ago

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

(1) 具体问题

A:启动时日志报错,然后重启。也偶尔能正常启动,但只能坚持几分钟或在WEB界面做一些操作之后也会再现故障自动重启 关键日志: Unable to handle kernel NULL pointer dereference at virtual address 00000040(该处地址每次都不一样)

有尝试过最新固件和早两个月的固件,有尝试过默认配置编译和去掉APP编译,也有试过连无线相关NSS相关都去掉编译。编译了二三十次。基本上都上出现上面的报错,然后再报Kernel panic - not syncing: Fatal exception,自动重启。

不确定是不是UBOOT环境设置不对或刷机姿势不对。硬件应该没问题,原机固件没有这个故障,有两台相同的机器都一样的问题。

(2) 路由器型号和固件版本

A:高通AP148兼容板,PCB板上型号sr5005 http://www.dunchongnet.com/upload/2019/03/30/155391302405jgae0.pdf ipq8064,32M-NOR,512M-NAND,没有无线相关硬件。可能使用openwrt原版机型AP148,RAMFS文件启动,能正常识别各接口硬件 原机系统是任子行改造过的3.14内核版本,在NOR上。 B:没有该机型的刷机资料,使用网上找到的兄弟机型AP161的刷机方式。操作如下: tftpboot openwrt-ipq806x-generic-qcom_ipq8064-ap148-fit-uImage.itb nand erase 0x320000 0x400000 nand write 0x44000000 0x320000 0x400000 ----------上面刷引导文件,下面刷固件---------------------------------- tftpboot openwrt-ipq806x-generic-qcom_ipq8064-ap148-squashfs-nand-factory.bin nand erase 0x720000 0x1f8e0000 nand write 0x44000000 0x1340000 $文件尺寸 C: printenv 如下: (IPQ) # printenv autostart=no baudrate=115200 bootargs=console=ttyMSM0,115200n8 ubi.mtd=ubi root=/dev/ubiblock0_1 rootfstype=squashfs bootcmd=nboot 0x44000000 0 0x320000;bootm bootdelay=3 ethact=eth0 fileaddr=44000000 filesize=1120000 ipaddr=192.168.1.2 machid=1260 nand_erasesize=20000 nand_oobsize=80 nand_writesize=800 serverip=192.168.1.22 stderr=serial stdin=serial stdout=serial

(3) 详细日志

A:原机日志参考 U-Boot 2012.07 [Standard IPQ806X.LN,r187] (Mar 21 2016 - 15:22:08)

smem ram ptable found: ver: 0 len: 5 DRAM: 1003 MiB NAND: SF: Detected S25FL256S with page size 64 KiB, total 32 MiB ipq_spi: page_size: 0x100, sector_size: 0x10000, size: 0x2000000 544 MiB MMC: In: serial Out: serial Err: serial Net: MAC1 addr:94:88:5e:8:9:95 S17 chip id: 0x1302 athrs17_reg_init: complete athrs17_vlan_config ...done S17c init done MAC2 addr:94:88:5e:8:9:96 eth0, eth1 Hit any key to stop autoboot: 0 MMC Device 0 not found MMC Device 0 not found Device 1: nand1... is now current device

Loading from nand1, offset 0x320000 Image Name: Linux-3.4.103 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1844752 Bytes = 1.8 MiB Load Address: 41508000 Entry Point: 41508000 Automatic boot of image at addr 0x44000000 ... Image Name: Linux-3.4.103 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1844752 Bytes = 1.8 MiB Load Address: 41508000 Entry Point: 41508000 Verifying Checksum ... OK Loading Kernel Image ... OK OK info: "mtdparts" not set Using machid 0x1260 from environment

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Linux version 3.4.103 (geniuze@geniuze-IdeaCentre-K410) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 SMP PREEMPT Fri Oct 14 14:46:46 CST 2016 [ 0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] Machine: Qualcomm Atheros AP148 reference board [ 0.000000] msm_reserve_memory: 0x44000000, 0x600000 [ 0.000000] msm_reserve_memory: 0x44600000, 0x200000 [ 0.000000] memory pool 3 (start 7fc00000 size 400000) initialized [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] smem_find(137, 80): wrong size 72 [ 0.000000] socinfo_init: v6, id=202, ver=2.0, raw_id=2064, raw_ver=2064, hw_plat=0, hw_plat_ver=65536 [ 0.000000] accessory_chip=0 hw_plat_subtype=0 [ 0.000000] PERCPU: Embedded 8 pages/cpu @c1067000 s10624 r8192 d13952 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 251690 [ 0.000000] Kernel command line: console=ttyHSL1,115200n8 root=mtd:rootfs rootfstype=squashfs [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 43MB 948MB = 991MB total [ 0.000000] Memory: 997108k/1009396k available, 17676k reserved, 244736K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0511000 (5156 kB) [ 0.000000] .init : 0xc0600000 - 0xc0702980 (1035 kB) [ 0.000000] .data : 0xc0704000 - 0xc07a0c70 ( 628 kB) [ 0.000000] .bss : 0xc07a0c94 - 0xc0860ee0 ( 769 kB) [ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:1689 [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 31240ns, wraps every 134175798ms [ 0.000000] Console: colour dummy device 80x30 [ 0.150484] Calibrating delay using timer specific routine.. 12.56 BogoMIPS (lpj=62801) [ 0.150515] pid_max: default: 32768 minimum: 301 [ 0.150984] Mount-cache hash table entries: 512 [ 0.152452] CPU: Testing write buffer coherency: ok [ 0.152671] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.152671] hw perfevents: enabled with ARMv7 Krait PMU driver, 5 counters available [ 0.152796] Setting up static identity map for 0x4188c098 - 0x4188c120 [ 0.155076] CPU1: Booted secondary processor [ 0.155170] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.155263] Brought up 2 CPUs [ 0.155263] SMP: Total of 2 processors activated (25.12 BogoMIPS). [ 0.171727] dummy: [ 0.172414] NET: Registered protocol family 16 [ 0.173164] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver [ 0.175413] meminfo_init: smem ram ptable found: ver: 0 len: 5 [ 0.175413] Found 1 memory banks grouped into 8 memory regions [ 0.175726] gpiochip_add: registered GPIOs 0 to 151 on device: msmgpio [ 0.176507] smem_find(137, 80): wrong size 72 [ 0.176538] socinfo_init: v6, id=202, ver=2.0, raw_id=2064, raw_ver=2064, hw_plat=0, hw_plat_ver=65536 [ 0.176538] accessory_chip=0 hw_plat_subtype=0 [ 0.176601] msm_rpm_init: RPM firmware 3.0.16777342 [ 0.184348] clk_tbl_nss - loaded [ 0.211496] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.211496] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.211902] msm_dmov_memcpy_init: Success [ 0.219587] sps:BAM 0x12244000 enabled: ver:0x5, number of pipes:20 [ 0.219618] sps:BAM 0x12244000 is registered. [ 0.219837] sps:sps is ready. [ 0.341174] msm_pcie_setup: link initialization failed [ 0.461512] msm_pcie_setup: link initialization failed [ 0.581849] msm_pcie_setup: link initialization failed [ 0.602655] bio: create slab at 0 [ 0.604186] SCSI subsystem initialized [ 0.606060] spi_qsd spi_qsd.5: master is unqueued, this is deprecated [ 0.608997] spi_qsd spi_qsd.6: master is unqueued, this is deprecated [ 0.613058] Switching to clocksource gp_timer [ 0.634551] NET: Registered protocol family 2 [ 0.644298] IP route cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.644860] TCP established hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.646204] TCP bind hash table entries: 65536 (order: 7, 524288 bytes) [ 0.646954] TCP: Hash tables configured (established 131072 bind 65536) [ 0.646985] TCP: reno registered [ 0.646985] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.647016] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.647516] NET: Registered protocol family 1 [ 0.648797] Detected 5 counters on the L2CC PMU. [ 0.649828] smd: register irq failed on wcnss_a11 [ 0.649828] smd: deregistering IRQs [ 0.649890] SMD: smd_core_platform_init() failed [ 0.650609] Partition(from smem) SBL1 -- Offset:0 Size:20000 [ 0.650640] Partition(from smem) MIBIB -- Offset:20000 Size:20000 [ 0.650640] Partition(from smem) SBL2 -- Offset:40000 Size:40000 [ 0.650671] Partition(from smem) SBL3 -- Offset:80000 Size:80000 [ 0.650671] Partition(from smem) DDRCONFIG -- Offset:100000 Size:10000 [ 0.650702] Partition(from smem) SSD -- Offset:110000 Size:10000 [ 0.650702] Partition(from smem) TZ -- Offset:120000 Size:80000 [ 0.650734] Partition(from smem) RPM -- Offset:1a0000 Size:80000 [ 0.650765] Partition(from smem) APPSBL -- Offset:220000 Size:80000 [ 0.650765] Partition(from smem) APPSBLENV -- Offset:2a0000 Size:40000 [ 0.650796] Partition(from smem) ART -- Offset:2e0000 Size:40000 [ 0.650827] Partition(from smem) kernel -- Offset:320000 Size:200000 [ 0.650827] Partition(from smem) rootfs -- Offset:520000 Size:1800000 [ 0.650859] get_bootconfig_partition: magic not found [ 0.665823] acpuclk-ipq806x acpuclk-ipq806x: SPEED BIN: 0 [ 0.665854] acpuclk-ipq806x acpuclk-ipq806x: ACPU PVS: 1 [ 0.672477] acpuclk-ipq806x acpuclk-ipq806x: CPU0: 6 frequencies supported [ 0.672477] acpuclk-ipq806x acpuclk-ipq806x: CPU1: 6 frequencies supported [ 0.674133] msm_rpm_log_probe: OK [ 0.678600] highmem bounce pool size: 64 pages [ 0.696126] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.696126] jffs2: version 2.2. (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) ? 2001-2006 Red Hat, Inc. [ 0.697438] msgmni has been set to 1469 [ 0.698750] io scheduler noop registered [ 0.698781] io scheduler deadline registered (default) [ 0.700531] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.703811] msm_serial_hs.0: ttyHS0 at MMIO 0x12490000 (irq = 227) is a MSM HS UART [ 0.704467] msm_serial_hs module loaded [ 0.704654] msm_serial_hsl: detected port #1 [ 0.704810] msm_serial_hsl.1: ttyHSL1 at MMIO 0x16340000 (irq = 184) is a MSM [ 0.705217] msm_serial_hsl: console setup on port #1 [ 1.366791] console [ttyHSL1] enabled [ 1.370915] msm_serial_hsl: driver initialized [ 1.381849] ahci ahci.0: forcing PORTS_IMPL to 0x1 [ 1.385691] ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode [ 1.393564] ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc apst [ 1.402624] scsi0 : ahci_platform [ 1.405654] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 241 [ 1.415713] msm_nand_probe: phys addr 0x1ac00000 [ 1.419400] msm_nand_probe: dmac 0x3 [ 1.422961] msm_nand_probe: allocated dma buffer at ffdfc000, dma_addr 708ac000 [ 1.430584] flash_onfi_probe: No partition info available [ 1.436332] status: 3020 [ 1.438144] nandid: 1590ac01 maker 01 device ac [ 1.442767] Found a supported NAND device [ 1.446704] NAND Controller ID : 0x4030 [ 1.450452] NAND Device ID : 0x1590ac01 [ 1.454420] Buswidth : 8 Bits [ 1.457325] Density : 512 MByte [ 1.460543] Pagesize : 2048 Bytes [ 1.463886] Erasesize: 131072 Bytes [ 1.467291] Oobsize : 64 Bytes [ 1.470446] CFG0 Init : 0xa8d408c0 [ 1.473945] CFG1 Init : 0x0004745c [ 1.477382] ECCBUFCFG : 0x00000203 [ 1.484817] m25p80 spi5.0: found s25fl256s1, expected s25fl512s [ 1.489721] m25p80 spi5.0: s25fl256s1 (32768 Kbytes) [ 1.495345] Creating 13 MTD partitions on "m25p80": [ 1.499531] 0x000000000000-0x000000020000 : "SBL1" [ 1.506747] 0x000000020000-0x000000040000 : "MIBIB" [ 1.512902] 0x000000040000-0x000000080000 : "SBL2" [ 1.519025] 0x000000080000-0x000000100000 : "SBL3" [ 1.525460] 0x000000100000-0x000000110000 : "DDRCONFIG" [ 1.531990] 0x000000110000-0x000000120000 : "SSD" [ 1.538113] 0x000000120000-0x0000001a0000 : "TZ" [ 1.544142] 0x0000001a0000-0x000000220000 : "RPM" [ 1.550140] 0x000000220000-0x0000002a0000 : "APPSBL" [ 1.556638] 0x0000002a0000-0x0000002e0000 : "APPSBLENV" [ 1.563386] 0x0000002e0000-0x000000320000 : "ART" [ 1.569384] 0x000000320000-0x000000520000 : "kernel" [ 1.575757] 0x000000520000-0x000001d20000 : "rootfs" [ 1.582036] mtd: partition "rootfs" set to be root filesystem [ 1.587410] mtd: partition "rootfs_data" created automatically, ofs=1160000, len=BC0000 [ 1.594939] 0x000001160000-0x000001d20000 : "rootfs_data" [ 1.635207] GPIO Bitbanged MDIO: probed [ 1.644923] cpuidle: using governor ladder [ 1.648016] cpuidle: using governor menu [ 1.653514] TCP: cubic registered [ 1.655826] NET: Registered protocol family 17 [ 1.660481] Bridge firewalling registered [ 1.664792] 8021q: 802.1Q VLAN Support v1.8 [ 1.668572] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0 [ 1.676226] Registering SWP/SWPB emulation handler [ 1.680912] clock_late_init: Removing enables held for handed-off clocks

[ 1.717869] no pmic restart interrupt specified [ 1.723867] msm_cache_dump_probe: could not register L2 buffer ret = -22. [ 1.743142] ata1: SATA link down (SStatus 0 SControl 300) [ 1.759418] VFS: Mounted root (squashfs filesystem) readonly on device 31:13. [ 1.766166] Freeing init memory: 1032K

Please press Enter to activate this console. [ 10.423211] ssdk_plat_init start [ 10.425460] Register QCA PHY driver [ 12.093564] qca-ssdk module init succeeded! [ 12.311808] NET: Registered protocol family 10 [ 12.814308] usbcore: registered new interface driver usbfs [ 12.818806] usbcore: registered new interface driver hub [ 12.824179] usbcore: registered new device driver usb [ 13.029522] md: linear personality registered for level -1 [ 13.167135] md: raid0 personality registered for level 0 [ 13.179287] md: raid1 personality registered for level 1 [ 13.207372] Button Hotplug driver version 0.4.1 [ 13.342830] system is small-endian [ 13.345267] Create proc dir :dc success! [ 13.349078] Create dc_station_list success! [ 13.353295] Create dc_wl_list success! [ 13.356982] Create dc_downup_rate success! [ 13.361074] dc 1.0 initialised [ 13.364198] Create proc dir :dc_limit success! [ 13.489753] NTFS driver 2.1.30 [Flags: R/O MODULE]. [ 13.611808] PPP generic driver version 2.4.2 [ 13.744548] PPP MPPE Compression module registered [ 13.778850] ** [ 13.784286] Driver :NSS GMAC Driver for RTL v(3.72a) [ 13.789534] Version :1.0 [ 13.792439] * Copyright :Copyright (c) 2013-2014 The Linux Foundation. All rights reserved. [ 13.800749] ** [ 13.889253] L2TP core driver, V2.0 [ 13.899187] L2TP netlink interface [ 14.228303] nss_driver - fw of size 354048 bytes copied to load addr: 40000000, nss_id : 0 [ 14.255951] nss_driver - Turbo Support 1 [ 14.259575] bf294351: NSS Shaping is enabled, handler id: 0 [ 14.290221] qca-nss: probe of qca-nss.1 failed with error -2 [ 14.325492] IPv6 over IPv4 tunneling driver [ 14.365916] nss_macsec init success [ 14.409653] gre: GRE over IPv4 demultiplexor driver [ 14.436113] ip_gre: GRE over IPv4 tunneling driver [ 14.464698] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) [ 14.699750] ip_tables: (C) 2000-2006 Netfilter Core Team [ 14.804654] NET: Registered protocol family 24 [ 14.950515] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 14.956107] msm_hsusb_host msm_hsusb_host: unable to find transceiver [ 14.996188] nf_conntrack version 0.5.0 (15595 buckets, 62380 max) [ 15.136207] PPPoL2TP kernel driver, V2.0 [ 15.146829] PPTP driver version 0.8.5 [ 15.403623] xt_time: kernel timezone is -0000 [ 15.748984] nf_conntrack_rtsp v0.6.21 loading [ 15.760074] nf_nat_rtsp v0.6.21 loading [ 15.795720] Ebtables v2.0 registered [ 16.017806] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 16.154170] ipq-dwc3 ipq-dwc3.0: unable to read platform data num of dbm eps [ 16.261262] xhci-hcd xhci-hcd.0: xHCI Host Controller [ 16.265354] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 1 [ 16.272571] xhci-hcd xhci-hcd.0: irq 142, io mem 0x11000000 [ 16.278756] hub 1-0:1.0: USB hub found [ 16.281755] hub 1-0:1.0: 1 port detected [ 16.285848] xhci-hcd xhci-hcd.0: xHCI Host Controller [ 16.290721] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2 [ 16.298469] hub 2-0:1.0: USB hub found [ 16.301655] hub 2-0:1.0: 1 port detected [ 16.307310] ipq-dwc3 ipq-dwc3.1: unable to read platform data num of dbm eps [ 16.413995] xhci-hcd xhci-hcd.1: xHCI Host Controller [ 16.418025] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 3 [ 16.425304] xhci-hcd xhci-hcd.1: irq 237, io mem 0x10000000 [ 16.431427] hub 3-0:1.0: USB hub found [ 16.434520] hub 3-0:1.0: 1 port detected [ 16.438550] xhci-hcd xhci-hcd.1: xHCI Host Controller [ 16.443486] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4 [ 16.451171] hub 4-0:1.0: USB hub found [ 16.454420] hub 4-0:1.0: 1 port detected [ 16.776788] ECM init [ 16.781099] ECM init complete [ 16.845610] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 16.899625] Initializing USB Mass Storage driver... [ 16.903686] usbcore: registered new interface driver usb-storage [ 16.909434] USB Mass Storage support registered. [ 16.923555] fuse init (API version 7.18) cp route config to /etc/config [ 49.715213] device eth1 entered promiscuous mode [ 49.719681] br-lan: port 1(eth1) entered forwarding state [ 49.724211] br-lan: port 1(eth1) entered forwarding state [ 49.747266] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 51.723461] br-lan: port 1(eth1) entered forwarding state [ 69.485535] Enabling NSS RPS [ 69.990190] entry set netmode [0] [ 70.227054] func:dc_limit_set_dev line:404 lan:eth1 wan:eth0 [ 70.292439] entry set flag_start_up [1] [ 72.006560] UBI: attaching mtd0 to ubi0 [ 72.009403] UBI: physical eraseblock size: 131072 bytes (128 KiB) [ 72.015838] UBI: logical eraseblock size: 126976 bytes [ 72.022149] UBI: smallest flash I/O unit: 2048 [ 72.026866] UBI: VID header offset: 2048 (aligned 2048) [ 72.032646] UBI: data offset: 4096 [ 79.529740] UBI: max. sequence number: 24 [ 79.555232] UBI: attached mtd0 to ubi0 [ 79.557950] UBI: MTD device name: "msm_nand" [ 79.563448] UBI: MTD device size: 512 MiB [ 79.568103] UBI: number of good PEBs: 4096 [ 79.572789] UBI: number of bad PEBs: 0 [ 79.577569] UBI: number of corrupted PEBs: 0 [ 79.581693] UBI: max. allowed volumes: 128 [ 79.586472] UBI: wear-leveling threshold: 4096 [ 79.590971] UBI: number of internal volumes: 1 [ 79.595563] UBI: number of user volumes: 1 [ 79.599812] UBI: available PEBs: 0 [ 79.604436] UBI: total number of reserved PEBs: 4096 [ 79.609153] UBI: number of PEBs reserved for bad PEB handling: 40 [ 79.615495] UBI: max/mean erase counter: 3/1 [ 79.619493] UBI: image sequence number: -391978890 [ 79.624617] UBI: background thread "ubi_bgt0d" started, PID 2978 [ 79.796501] UBIFS: mounted UBI device 0, volume 0, name "ubifs" [ 79.801374] UBIFS: file system size: 512602112 bytes (500588 KiB, 488 MiB, 4037 LEBs) [ 79.809746] UBIFS: journal size: 25649152 bytes (25048 KiB, 24 MiB, 202 LEBs) [ 79.817150] UBIFS: media format: w4/r0 (latest is w4/r0) [ 79.822867] UBIFS: default compressor: lzo [ 79.827116] UBIFS: reserved for root: 4952683 bytes (4836 KiB)

BusyBox v1.19.4 (2016-10-14 14:24:54 CST) built-in shell (ash) Enter 'help' for a list of built-in commands.

B:出问题日志 U-Boot 2012.07 [Standard IPQ806X.LN,r187] (Mar 21 2016 - 15:22:08)

smem ram ptable found: ver: 0 len: 5 DRAM: 1003 MiB NAND: SF: Detected S25FL256S with page size 64 KiB, total 32 MiB ipq_spi: page_size: 0x100, sector_size: 0x10000, size: 0x2000000 544 MiB MMC: In: serial Out: serial Err: serial Net: MAC1 addr:94:88:5e:8:3:61 S17 chip id: 0x1302 athrs17_reg_init: complete athrs17_vlan_config ...done S17c init done MAC2 addr:94:88:5e:8:3:62 eth0, eth1 Hit any key to stop autoboot: 0

Loading from nand0, offset 0x320000 Fit image detected... FIT description: ARM OpenWrt FIT (Flattened Image Tree) Image 0 (kernel-1) Description: ARM OpenWrt Linux-5.4.172 Type: Kernel Image Compression: gzip compressed Data Start: 0x440000e4 Data Size: 4039070 Bytes = 3.9 MiB Architecture: ARM OS: Linux Load Address: 0x42208000 Entry Point: 0x42208000 Hash algo: crc32 Hash value: 2874f82a Hash algo: sha1 Hash value: 010abaf8ae10bda88ae40d9b0444e95ff6833276 Image 1 (fdt-1) Description: ARM OpenWrt qcom_ipq8064-ap148 device tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x443da3c0 Data Size: 31284 Bytes = 30.6 KiB Architecture: ARM Hash algo: crc32 Hash value: 42c84593 Hash algo: sha1 Hash value: b4d10310699894e623ea2e72ef3d4c9117d9fcac Default Configuration: 'config@1' Configuration 0 (config@1) Description: OpenWrt qcom_ipq8064-ap148 Kernel: kernel-1 FDT: fdt-1

Booting kernel from FIT Image at 44000000 ...

Using 'config@1' configuration Trying 'kernel-1' kernel subimage Description: ARM OpenWrt Linux-5.4.172 Type: Kernel Image Compression: gzip compressed Data Start: 0x440000e4 Data Size: 4039070 Bytes = 3.9 MiB Architecture: ARM OS: Linux Load Address: 0x42208000 Entry Point: 0x42208000 Hash algo: crc32 Hash value: 2874f82a Hash algo: sha1 Hash value: 010abaf8ae10bda88ae40d9b0444e95ff6833276 Verifying Hash Integrity ... crc32+ sha1+ OK

Flattened Device Tree from FIT Image at 44000000

Using 'config@1' configuration Trying 'fdt-1' FDT blob subimage Description: ARM OpenWrt qcom_ipq8064-ap148 device tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x443da3c0 Data Size: 31284 Bytes = 30.6 KiB Architecture: ARM Hash algo: crc32 Hash value: 42c84593 Hash algo: sha1 Hash value: b4d10310699894e623ea2e72ef3d4c9117d9fcac Verifying Hash Integrity ... crc32+ sha1+ OK Booting using the fdt blob at 0x443da3c0 Uncompressing Kernel Image ... OK Loading Device Tree to 7eaf5000, end 7eaffa33 ... OK Using machid 0x1260 from environment

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.172 (hu@ubunt-openwrt) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r4104-7d5abea3b)) #0 SMP Sun Jan 16 22:32:24 2022 [ 0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] OF: fdt: Machine model: Qualcomm Technologies, Inc. IPQ8064/AP-148 [ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x42000000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] percpu: Embedded 15 pages/cpu s30220 r8192 d23028 u61440 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 252224 [ 0.000000] Kernel command line: console=ttyMSM0,115200n8 ubi.mtd=ubi root=/dev/ubiblock0_1 rootfstype=squashfs [ 0.000000] Bootloader command line not present [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 996176K/1015808K available (6259K kernel code, 198K rwdata, 1568K rodata, 1024K init, 232K bss, 19632K reserved, 0K cma-reserved, 229332K highmem) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] random: get_random_bytes called from start_kernel+0x340/0x4ec with crng_init=0 [ 0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns [ 0.000006] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns [ 0.000020] Switching to timer-based delay loop, resolution 160ns [ 0.000237] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500) [ 0.000258] pid_max: default: 32768 minimum: 301 [ 0.000473] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.000497] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.001562] CPU: Testing write buffer coherency: ok [ 0.002711] Setting up static identity map for 0x42300000 - 0x42300060 [ 0.002886] rcu: Hierarchical SRCU implementation. [ 0.003380] smp: Bringing up secondary CPUs ... [ 0.005305] smp: Brought up 1 node, 2 CPUs [ 0.005321] SMP: Total of 2 processors activated (25.00 BogoMIPS). [ 0.005331] CPU: All CPU(s) started in SVC mode. [ 0.016457] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0 [ 0.016613] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.016640] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.016775] pinctrl core: initialized pinctrl subsystem [ 0.017931] NET: Registered protocol family 16 [ 0.018261] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.019698] cpuidle: using governor ladder [ 0.019764] cpuidle: using governor menu [ 0.056276] usbcore: registered new interface driver usbfs [ 0.056358] usbcore: registered new interface driver hub [ 0.056424] usbcore: registered new device driver usb [ 0.056485] pps_core: LinuxPPS API ver. 1 registered [ 0.056498] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.056533] PTP clock support registered [ 0.057409] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512 [ 0.058612] clocksource: Switched to clocksource dg_timer [ 0.059496] thermal_sys: Registered thermal governor 'step_wise' [ 0.062172] NET: Registered protocol family 2 [ 0.062359] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.063531] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.063574] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.063634] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.063730] TCP: Hash tables configured (established 8192 bind 8192) [ 0.063843] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.063879] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.064115] NET: Registered protocol family 1 [ 0.064165] PCI: CLS 0 bytes, default 64 [ 0.065518] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [ 0.072908] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.072925] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.109525] bounce: pool size: 64 pages [ 0.111603] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator [ 0.111751] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator [ 0.111857] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator [ 0.112139] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges: [ 0.112208] qcom-pcie 1b500000.pci: IO 0x0fe00000..0x0fefffff -> 0x0fe00000 [ 0.112247] qcom-pcie 1b500000.pci: MEM 0x08000000..0x0fdfffff -> 0x08000000 [ 1.258263] qcom-pcie 1b500000.pci: Phy link never came up [ 1.260256] qcom-pcie 1b500000.pci: cannot initialize host [ 1.260678] qcom-pcie: probe of 1b500000.pci failed with error -110 [ 1.260971] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator [ 1.261088] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator [ 1.261215] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator [ 1.261463] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges: [ 1.261524] qcom-pcie 1b700000.pci: IO 0x31e00000..0x31efffff -> 0x31e00000 [ 1.261556] qcom-pcie 1b700000.pci: MEM 0x2e000000..0x31dfffff -> 0x2e000000 [ 2.409205] qcom-pcie 1b700000.pci: Phy link never came up [ 2.411227] qcom-pcie 1b700000.pci: cannot initialize host [ 2.411564] qcom-pcie: probe of 1b700000.pci failed with error -110 [ 2.414084] L2 @ QSB rate. Forcing new rate. [ 2.414306] L2 @ 384000 KHz [ 2.414489] CPU0 @ 800000 KHz [ 2.414503] CPU1 @ QSB rate. Forcing new rate. [ 2.414635] CPU1 @ 384000 KHz [ 2.418546] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0 [ 2.420111] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0 [ 2.421940] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 2.422809] msm_serial 16340000.serial: msm_serial: detected port #0 [ 2.422863] msm_serial 16340000.serial: uartclk = 7372800 [ 2.422938] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 39, base_baud = 460800) is a MSM [ 2.422978] msm_serial: console setup on port #0 [ 3.040116] printk: console [ttyMSM0] enabled [ 3.045081] msm_serial: driver initialized [ 3.054621] loop: module loaded [ 3.056361] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xac [ 3.056572] nand: AMD/Spansion S34MS04G2 [ 3.063278] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128 [ 3.067160] 13 qcomsmem partitions found on MTD device qcom_nand.0 [ 3.074550] Creating 13 MTD partitions on "qcom_nand.0": [ 3.080812] 0x000000000000-0x000000040000 : "0:sbl1" [ 3.087898] 0x000000040000-0x000000080000 : "0:mibib" [ 3.092831] 0x000000080000-0x000000100000 : "0:sbl2" [ 3.098325] 0x000000100000-0x000000200000 : "0:sbl3" [ 3.104756] 0x000000200000-0x000000220000 : "0:ddrconfig" [ 3.107311] 0x000000220000-0x000000240000 : "0:ssd" [ 3.112732] 0x000000240000-0x000000340000 : "0:tz" [ 3.118448] random: fast init done [ 3.121949] 0x000000340000-0x000000440000 : "0:rpm" [ 3.127818] 0x000000440000-0x000000540000 : "0:appsbl" [ 3.132696] 0x000000540000-0x0000005c0000 : "0:appsblenv" [ 3.136504] 0x0000005c0000-0x000000640000 : "0:art" [ 3.142074] 0x000000640000-0x000000a40000 : "0:hlos" [ 3.155840] 0x000000a40000-0x000003a40000 : "ubi" [ 3.283886] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64 [ 3.285468] spi-nor spi0.0: s25fl256s1 (32768 Kbytes) [ 3.290165] 13 qcomsmem partitions found on MTD device spi0.0 [ 3.295040] Creating 13 MTD partitions on "spi0.0": [ 3.300862] 0x000000000000-0x000000020000 : "0:sbl1" [ 3.306481] 0x000000020000-0x000000040000 : "0:mibib" [ 3.311703] 0x000000040000-0x000000080000 : "0:sbl2" [ 3.316521] 0x000000080000-0x000000100000 : "0:sbl3" [ 3.321657] 0x000000100000-0x000000110000 : "0:ddrconfig" [ 3.326509] 0x000000110000-0x000000120000 : "0:ssd" [ 3.331922] 0x000000120000-0x0000001a0000 : "0:tz" [ 3.336472] 0x0000001a0000-0x000000220000 : "0:rpm" [ 3.341498] 0x000000220000-0x0000002a0000 : "0:appsbl" [ 3.346156] 0x0000002a0000-0x0000002e0000 : "0:appsblenv" [ 3.351433] 0x0000002e0000-0x000000320000 : "0:art" [ 3.356839] 0x000000320000-0x000000520000 : "0:hlos" [ 3.361607] 0x000000520000-0x000001d20000 : "rootfs" [ 3.366697] mtd: device 25 (rootfs) set to be root filesystem [ 3.371102] 1 squashfs-split partitions found on MTD device rootfs [ 3.376384] 0x000001160000-0x000001d20000 : "rootfs_data" [ 3.384831] libphy: ipq8064_mdio_bus: probed [ 3.408526] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii [ 4.246650] ar8327: qca,phy-rgmii-en is not specified [ 4.247275] libphy: Fixed MDIO Bus: probed [ 4.251432] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_wake_irq not found [ 4.254682] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_lpi not found [ 4.262198] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock [ 4.268986] ipq806x-gmac-dwmac 37200000.ethernet: User ID: 0x10, Synopsys ID: 0x37 [ 4.274832] ipq806x-gmac-dwmac 37200000.ethernet: DWMAC1000 [ 4.282374] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported [ 4.288103] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported [ 4.295916] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2 [ 4.303786] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported [ 4.309625] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported [ 4.316922] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors [ 4.323777] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors [ 4.331310] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled [ 4.338272] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 4.344532] ipq806x-gmac-dwmac 37200000.ethernet: device MAC address d6:b1:15:70:d4:67 [ 4.354124] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_wake_irq not found [ 4.360924] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_lpi not found [ 4.368265] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock [ 4.374884] ipq806x-gmac-dwmac 37400000.ethernet: User ID: 0x10, Synopsys ID: 0x37 [ 4.381084] ipq806x-gmac-dwmac 37400000.ethernet: DWMAC1000 [ 4.388445] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported [ 4.394349] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported [ 4.402068] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2 [ 4.409970] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported [ 4.415703] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported [ 4.423152] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors [ 4.429931] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors [ 4.437405] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled [ 4.444520] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 4.450692] ipq806x-gmac-dwmac 37400000.ethernet: device MAC address f6:3f:38:34:13:5b [ 4.460426] i2c /dev entries driver [ 4.470130] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations [ 4.470603] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations [ 4.478407] sdhci: Secure Digital Host Controller Interface driver [ 4.485070] sdhci: Copyright(c) Pierre Ossman [ 4.491284] sdhci-pltfm: SDHCI platform and OF driver helper [ 4.498098] NET: Registered protocol family 10 [ 4.503317] Segment Routing with IPv6 [ 4.505713] NET: Registered protocol family 17 [ 4.509558] Bridge firewalling registered [ 4.514873] 8021q: 802.1Q VLAN Support v1.8 [ 4.517871] Registering SWP/SWPB emulation handler [ 4.546664] qcom_rpm 108000.rpm: RPM firmware 3.0.16777342 [ 4.563200] s1a: Bringing 0uV into 1050000-1050000uV [ 4.563472] s1a: supplied by regulator-dummy [ 4.567353] s1b: Bringing 0uV into 1050000-1050000uV [ 4.571801] s1b: supplied by regulator-dummy [ 4.576559] s2a: Bringing 0uV into 800000-800000uV [ 4.580989] s2a: supplied by regulator-dummy [ 4.585405] s2b: Bringing 0uV into 800000-800000uV [ 4.589984] s2b: supplied by regulator-dummy [ 4.606618] ubi0: attaching mtd12 [ 4.908891] crng init done [ 5.364928] ubi0: scanning is finished [ 5.385591] ubi0: attached mtd12 (name "ubi", size 48 MiB) [ 5.385610] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 5.390026] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 5.396816] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 5.403742] ubi0: good PEBs: 384, bad PEBs: 0, corrupted PEBs: 0 [ 5.410516] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128 [ 5.416696] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1642372344 [ 5.423794] ubi0: available PEBs: 0, total reserved PEBs: 384, PEBs reserved for bad PEB handling: 80 [ 5.434118] ubi0: background thread "ubi_bgt0d" started, PID 70 [ 5.435380] block ubiblock0_1: created from ubi0:1(rootfs) [ 5.447860] hctosys: unable to open rtc device (rtc0) [ 5.454171] ------------[ cut here ]------------ [ 5.458546] WARNING: CPU: 0 PID: 1 at drivers/clk/qcom/clk-branch.c:92 clk_branch_toggle+0x178/0x180 [ 5.463225] ce5_core_clk status stuck at 'on' [ 5.463227] Modules linked in: [ 5.476588] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.172 #0 [ 5.479541] Hardware name: Generic DT based system [ 5.485716] [] (unwind_backtrace) from [] (show_stack+0x14/0x20) [ 5.490321] [] (show_stack) from [] (dump_stack+0x94/0xa8) [ 5.498220] [] (dump_stack) from [] (warn+0xb4/0xd0) [ 5.505244] [] (warn) from [] (warn_slowpath_fmt+0x80/0x90) [ 5.512101] [] (warn_slowpath_fmt) from [] (clk_branch_toggle+0x178/0x180) [ 5.519657] [] (clk_branch_toggle) from [] (clk_disable_unused_subtree+0x9c/0xf4) [ 5.528163] [] (clk_disable_unused_subtree) from [] (clk_disable_unused_subtree+0x2c/0xf4) [ 5.537446] ---[ end trace d598fa800905d986 ]--- [ 5.547796] ------------[ cut here ]------------ [ 5.552112] WARNING: CPU: 0 PID: 1 at drivers/clk/qcom/clk-branch.c:92 clk_branch_toggle+0x178/0x180 [ 5.556715] pcie2_ref_src_clk status stuck at 'on' [ 5.556717] Modules linked in: [ 5.570423] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 5.4.172 #0 [ 5.573465] Hardware name: Generic DT based system [ 5.581019] [] (unwind_backtrace) from [] (show_stack+0x14/0x20) [ 5.585624] [] (show_stack) from [] (dump_stack+0x94/0xa8) [ 5.593522] [] (dump_stack) from [] (warn+0xb4/0xd0) [ 5.600554] [] (warn) from [] (warn_slowpath_fmt+0x80/0x90) [ 5.607411] [] (warn_slowpath_fmt) from [] (clk_branch_toggle+0x178/0x180) [ 5.614964] [] (clk_branch_toggle) from [] (clk_disable_unused_subtree+0x9c/0xf4) [ 5.623473] [] (clk_disable_unused_subtree) from [] (clk_disable_unused_subtree+0x▒[ 5.650299] VFS: Mounted root (squashfs filesystem) readonly on device 259:0. [ 5.651960] Freeing unused kernel memory: 1024K [ 5.680118] Run /sbin/init as init process [ 7.452498] init: Console is alive [ 7.452871] init: - watchdog - [ 10.624424] kmodloader: loading kernel modules from /etc/modules-boot.d/ [ 10.971436] ANTFS Module: Version 07.19-b41ba529 [ 10.973980] raid6: using algorithm neonx8 gen() 0 MB/s [ 10.975119] raid6: .... xor() 0 MB/s, rmw enabled [ 10.980162] raid6: using neon recovery algorithm [ 10.986107] xor: measuring software checksum speed [ 11.079760] arm4regs : 1694.400 MB/sec [ 11.179816] 8regs : 1129.200 MB/sec [ 11.278706] 32regs : 1105.600 MB/sec [ 11.379787] neon : 3817.600 MB/sec [ 11.379804] xor: using function: neon (3817.600 MB/sec) [ 11.436086] Btrfs loaded, crc32c=crc32c-generic [ 11.437540] exfat: module is from the staging directory, the quality is unknown, you have been warned. [ 11.443934] exFAT: Version 1.3.0 [ 11.477425] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 11.484643] SCSI subsystem initialized [ 11.496933] ahci 29000000.sata: 29000000.sata supply ahci not found, using dummy regulator [ 11.497095] ahci 29000000.sata: 29000000.sata supply phy not found, using dummy regulator [ 11.504338] ahci 29000000.sata: 29000000.sata supply target not found, using dummy regulator [ 11.514336] ahci 29000000.sata: forcing port_map 0x0 -> 0x1 [ 11.520983] ahci 29000000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode [ 11.526152] ahci 29000000.sata: flags: ncq sntf pm led clo only pmp pio slum part ccc apst [ 11.537200] scsi host0: ahci [ 11.543425] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 26 [ 11.870073] ata1: SATA link down (SStatus 0 SControl 300) [ 11.876420] ehci-fsl: Freescale EHCI Host controller driver [ 11.877713] ehci-platform: EHCI generic platform driver [ 11.888628] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 11.889640] ohci-platform: OHCI generic platform driver [ 11.896436] dwc3-qcom 110f8800.usb3: IRQ hs_phy_irq not found [ 11.898931] dwc3-qcom 110f8800.usb3: IRQ dp_hs_phy_irq not found [ 11.904728] dwc3-qcom 110f8800.usb3: IRQ dm_hs_phy_irq not found [ 11.910899] dwc3-qcom 110f8800.usb3: IRQ ss_phy_irq not found [ 11.919407] dwc3-qcom 100f8800.usb3: IRQ hs_phy_irq not found [ 11.922434] dwc3-qcom 100f8800.usb3: IRQ dp_hs_phy_irq not found [ 11.928164] dwc3-qcom 100f8800.usb3: IRQ dm_hs_phy_irq not found [ 11.934319] dwc3-qcom 100f8800.usb3: IRQ ss_phy_irq not found [ 11.942936] dwc3 11000000.dwc3: Failed to get clk 'ref': -2 [ 12.040791] dwc3 10000000.dwc3: Failed to get clk 'ref': -2 [ 12.149684] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 12.149780] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 12.154373] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000000002010010 [ 12.161892] xhci-hcd xhci-hcd.0.auto: irq 41, io mem 0x11000000 [ 12.173040] hub 1-0:1.0: USB hub found [ 12.176999] hub 1-0:1.0: 1 port detected [ 12.185058] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 12.185122] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 12.190255] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 12.197918] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 12.205462] hub 2-0:1.0: USB hub found [ 12.213045] hub 2-0:1.0: 1 port detected [ 12.216616] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 12.220250] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3 [ 12.225646] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000000002010010 [ 12.233141] xhci-hcd xhci-hcd.1.auto: irq 42, io mem 0x10000000 [ 12.243714] hub 3-0:1.0: USB hub found [ 12.248292] hub 3-0:1.0: 1 port detected [ 12.252410] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 12.256163] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4 [ 12.261529] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed [ 12.269213] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 12.276113] hub 4-0:1.0: USB hub found [ 12.284012] hub 4-0:1.0: 1 port detected [ 12.290870] usbcore: registered new interface driver usb-storage [ 12.294642] usbcore: registered new interface driver uas [ 12.297623] kmodloader: done loading kernel modules from /etc/modules-boot.d/ [ 12.312297] init: - preinit - [ 18.289291] dwmac1000: Master AXI performs any burst length [ 18.289352] ipq806x-gmac-dwmac 37400000.ethernet eth1: No Safety Features support found [ 18.293697] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported [ 18.302007] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock [ 18.310787] ipq806x-gmac-dwmac 37400000.ethernet eth1: configuring for fixed/sgmii link mode [ 18.319169] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off [ 18.326315] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready 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 [ 22.914104] mount_root: loading kmods from internal overlay [ 22.955004] kmodloader: loading kernel modules from //etc/modules-boot.d/ [ 22.963399] kmodloader: done loading kernel modules from //etc/modules-boot.d/ [ 25.815114] jffs2: notice: (160) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 16 of xref (0 dead, 0 orphan) found. [ 25.816463] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 25.829719] block: unable to load configuration (fstab: Entry not found) [ 25.836366] block: attempting to load /tmp/jffs_cfg/etc/config/fstab [ 25.861098] block: unable to load configuration (fstab: Entry not found) [ 25.861159] block: attempting to load /etc/config/fstab [ 25.867483] block: unable to load configuration (fstab: Entry not found) [ 25.871915] block: no usable configuration [ 25.882365] UBIFS (ubi0:2): Mounting in unauthenticated mode [ 25.882802] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 162 [ 26.032552] UBIFS (ubi0:2): recovery needed [ 26.730375] UBIFS (ubi0:2): recovery completed [ 26.730486] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data" [ 26.733708] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 26.741692] UBIFS (ubi0:2): FS size: 22093824 bytes (21 MiB, 174 LEBs), journal size 1142784 bytes (1 MiB, 9 LEBs) [ 26.751561] UBIFS (ubi0:2): reserved for root: 1043545 bytes (1019 KiB) [ 26.761809] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 40CEF492-D351-4B6B-B1D5-B9C1C31D057C, small LPT model [ 28.974086] jffs2: notice: (163) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 16 of xref (0 dead, 0 orphan) found. [ 28.976185] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 28.988678] block: unable to load configuration (fstab: Entry not found) [ 28.995417] block: attempting to load /tmp/jffs_cfg/etc/config/fstab [ 29.020204] block: unable to load configuration (fstab: Entry not found) [ 29.020261] block: attempting to load /etc/config/fstab [ 29.026014] block: unable to load configuration (fstab: Entry not found) [ 29.031026] block: no usable configuration [ 29.043278] mount_root: overlay filesystem has not been fully initialized yet [ 29.067738] UBIFS error (ubi0:2 pid 158): ubifs_iget: failed to read inode 146, error -2 [ 29.067792] UBIFS error (ubi0:2 pid 158): ubifs_lookup: dead directory entry 'index.htm', error -2 [ 29.075012] UBIFS warning (ubi0:2 pid 158): ubifs_ro_mode.part.1: switched to read-only mode, error -2 [ 29.083782] CPU: 0 PID: 158 Comm: mount_root Tainted: G WC 5.4.172 #0 [ 29.092952] Hardware name: Generic DT based system [ 29.100522] [] (unwind_backtrace) from [] (show_stack+0x14/0x20) [ 29.105386] [] (show_stack) from [] (dump_stack+0x94/0xa8) [ 29.113281] [] (dump_stack) from [] (ubifs_lookup+0x26c/0x304) [ 29.120313] [] (ubifs_lookup) from [] (lookup_slow+0x88/0x14c) [ 29.127858] [] (__lookup_slow) from [] (lookup_slow+0x3c/0x60) [ 29.135758] [] (lookup_slow) from [] (walk_component+0x1bc/0x358) [ 29.143138] [] (walk_component) from [] (path_lookupat+0x60/0x1e0) [ 29.151040] [] (path_lookupat) from [] (filename_lookup.part.24+0x78/0xf0) [ 29.158856] [] (filename_lookup.part.24) from [] (vfs_statx+0x68/0xd0) [ 29.167449] [] (vfs_statx) from [] (do_sys_statx+0x28/0x4c) [ 29.175690] [] (do_sys_statx) from [] (ret_fast_syscall+0x0/0x54) [ 29.183233] Exception stack(0xee703fa8 to 0xee703ff0) [ 29.191057] 3fa0: bebe7e58 bebe7fc8 00000004 b6f2918b 00000100 000007ff [ 29.196273] 3fc0: bebe7e58 bebe7fc8 00000100 0000018d bebe7e58 b6eac0ec b6e9b600 00000018 [ 29.204421] 3fe0: 00000004 bebe7e10 b6e97f10 b6ef200c [ 29.278186] mount_root: switching to ubifs overlay [ 29.279333] overlayfs: upper fs is r/o, try multi-lower layers mount [ 29.281926] mount_root: mount failed: Invalid argument, options lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work [ 29.288447] mount_root: switching to ubifs failed - fallback to ramoverlay [ 29.305518] urandom-seed: Seed file not found (/etc/urandom.seed) Scanning for Btrfs filesystems [ 32.967724] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Down [ 33.039904] procd: - early - [ 33.040164] procd: - watchdog - [ 33.617972] 8<--- cut here --- [ 33.618001] Unable to handle kernel NULL pointer dereference at virtual address 00000040 [ 33.620066] pgd = 41cafda4 [ 33.628163] [00000040] *pgd=00000000 [ 33.630812] Internal error: Oops: 17 [#1] SMP ARM [ 33.634413] Modules linked in: uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_ipq806x_usb ahci fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat(C) btrfs xor xor_neon raid6_pq libcrc32c antfs crc32c_generic [ 33.648909] CPU: 0 PID: 174 Comm: hotplug-call Tainted: G WC 5.4.172 #0 [ 33.671139] Hardware name: Generic DT based system [ 33.679046] PC is at page_remove_rmap+0x158/0x1c0 [ 33.683724] LR is at page_remove_rmap+0xe0/0x1c0 [ 33.688494] pc : [] lr : [] psr: 20000013 [ 33.693186] sp : edf85e28 ip : 00000000 fp : edf85f0c [ 33.699170] r10: 0002f000 r9 : 00000000 r8 : 00076000 [ 33.704383] r7 : ef0fc0bc r6 : eedf9000 r5 : 00030000 r4 : eedf9000 [ 33.709589] r3 : c0c30f40 r2 : 00000000 r1 : effd8e94 r0 : 00000000 [ 33.716194] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 33.722701] Control: 10c5787d Table: 6fca406a DAC: 00000051 [ 33.729904] Process hotplug-call (pid: 174, stack limit = 0x9ffcab74) [ 33.735636] Stack: (0xedf85e28 to 0xedf86000) [ 33.742077] 5e20: ef0fc0c0 c041e864 edf84000 0000059f ee74a4e0 00000000 [ 33.746425] 5e40: ee704200 edca4008 ee70423c ffffe000 00076000 00075fff 00000001 ffffffe0 [ 33.754584] 5e60: 00000000 00000000 00000000 c03fd4e0 00000001 60000013 00000001 ef006600 [ 33.762744] 5e80: 00000002 c0c30f40 effe530c effd70c8 00000000 00000009 effe5308 ef712818 [ 33.770905] 5ea0: 60000013 ef7127f4 c03fd714 00000000 c0c31800 c03fd638 00000000 ee74a4e0 [ 33.779064] 5ec0: ffffffff edf85f0c 00000000 00000000 00000000 000000f8 00000000 c041ed98 [ 33.787224] 5ee0: 00000000 00000000 ee74a4e0 ee704200 ffffe000 ee704240 c0301204 c0425a00 [ 33.795384] 5f00: 00000004 00000000 000001ff ee704200 00010000 ffffffff edee4f09 00000001 [ 33.803544] 5f20: edcab000 edcab000 00000008 00000008 effe6478 effe6508 effe652c effe6550 [ 33.811703] 5f40: effe6574 effe6598 effe65bc effe65e0 c0301204 ee704200 00000000 c031aac4 [ 33.819864] 5f60: edcb3700 ee704200 ffffe000 c03219b8 00000000 b6fdf2c0 000001ff 000000f8 [ 33.828022] 5f80: 00000000 c032213c b6f60c70 be8abdc8 b6f60cc6 000000f8 c0301204 c03221dc [ 33.836183] 5fa0: b6f60c70 c0301000 b6f60c70 be8abdc8 000000ff 000866f4 b6f60c70 000000ff [ 33.844342] 5fc0: b6f60c70 be8abdc8 b6f60cc6 000000f8 b6f60cc6 00000000 00000000 00000000 [ 33.852501] 5fe0: 00085bac be8aba18 b6fba440 b6f84418 60000010 000000ff 00000000 00000000 [ 33.860661] [] (page_remove_rmap) from [] (unmap_page_range+0x33c/0x6d8) [ 33.868806] [] (unmap_page_range) from [] (unmap_vmas+0x60/0x84) [ 33.870198] procd: - watchdog - [ 33.877314] [] (unmap_vmas) from [] (exit_mmap+0xb4/0x15c) [ 33.887916] [] (exit_mmap) from [] (mmput+0x58/0x118) [ 33.887933] [] (mmput) from [] (do_exit+0x334/0xa3c) [ 33.887947] [] (do_exit) from [] (do_group_exit+0x48/0xd4) [ 33.887956] [] (do_group_exit) from [] (__wake_up_parent+0x0/0x18) [ 33.887980] Code: e34c30c3 e5932874 e0811102 e59105b4 (e5902040) [ 33.888094] ---[ end trace d598fa800905d988 ]--- [ 33.888103] Kernel panic - not syncing: Fatal exception [ 33.888890] CPU1: stopping [ 33.888911] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D WC 5.4.172 #0 [ 33.888919] Hardware name: Generic DT based system [ 33.888961] [] (unwind_backtrace) from [] (show_stack+0x14/0x20) [ 33.889001] [] (show_stack) from [] (dump_stack+0x94/0xa8) [ 33.889035] [] (dump_stack) from [] (handle_IPI+0x184/0x1b8) [ 33.889070] [] (handle_IPI) from [] (gic_handle_irq+0xb4/0xb8) [ 33.889100] [] (gic_handle_irq) from [] (irq_svc+0x6c/0x90) [ 33.889112] Exception stack(0xef08ff18 to 0xef08ff60) [ 33.889137] ff00: 00000000 00000007 [ 33.889189] ff20: 2ebe1000 ef722a80 ee8f2c00 00000001 ef721e30 00000007 00000007 00000000 [ 33.889244] ff40: e3eed8c0 e3b94520 00000015 ef08ff68 c0730748 c073074c 80000013 ffffffff [ 33.889282] [] (__irq_svc) from [] (cpuidle_enter_state+0x94/0x498) [ 33.889311] [] (cpuidle_enter_state) from [] (cpuidle_enter+0x30/0x4c) [ 33.889338] [] (cpuidle_enter) from [] (do_idle+0x1d8/0x240) [ 33.889364] [] (do_idle) from [] (cpu_startup_entry+0x1c/0x20) [ 33.889385] [] (cpu_startup_entry) from [<423024cc>] (0x423024cc) [ 34.052473] Rebooting in 1 seconds..

flexyangjie commented 2 years ago

收集了一些报错信息,请大佬们参考 [ 38.750171] br-lan: port 1(eth1.1) entered forwarding state [ 38.757639] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 712.468224] 8<--- cut here --- [ 712.468261] Unable to handle kernel paging request at virtual address 00001900 [ 712.470184] pgd = 14cb833d [ 712.477376] [00001900] pgd=6e751835, pte=00000000, *ppte=00000000 [ 712.480081] Internal error: Oops: 17 [#1] SMP ARM

[ 1453.848579] Unable to handle kernel paging request at virtual address 00100ea0 [ 1453.850501] pgd = 959edf6e [ 1453.857699] [00100ea0] *pgd=00000000 [ 1453.860485] Internal error: Oops: 17 [#1] SMP ARM [ 1453.864121] Modules linked in: ecm shortcut_fe_drv xt_FUL

80.462715] Unable to handle kernel NULL pointer dereference at virtual address 00000240 [ 80.464640] pgd = b4119e8c [ 80.473028] [00000240] *pgd=00000000 [ 80.475405] Internal error: Oops: 5 [#1] SMP ARM

[ 20.706396] 8<--- cut here --- [ 20.706450] Unable to handle kernel paging request at virtual address 000012c0 [ 20.708493] pgd = 2d272de4 [ 20.715571] [000012c0] *pgd=00000000 [ 20.718270] Internal error: Oops: 5 [#1] SMP ARM

32.300895] 8<--- cut here --- [ 32.300915] Unable to handle kernel paging request at virtual address f0e337d0 [ 32.302839] pgd = 2cffd42b [ 32.310100] [f0e337d0] pgd=712ef811, pte=00000000, *ppte=00000000 [ 32.312736] Internal error: Oops: 7 [#1] SMP ARM

10.087905] 8<--- cut here --- [ 10.087934] Unable to handle kernel paging request at virtual address 6269ece4 [ 10.089858] pgd = 41aa889e [ 10.097056] [6269ece4] *pgd=00000000 [ 10.099754] Internal error: Oops: 5 [#1] SMP ARM [ 10.103481] Modules linked in: [ 10.108083] CPU: 0 PID: 73 Comm: kmodloader Tainted: G W 5.4.172 #0 [ 10.110948] Hardware name: Generic DT based system [ 10.118512] PC is at _raw_spin_lock_irqsave+0x10/0x4c [ 10.123284] LR is at try_to_wake_up+0x50/0x53c

11.668679] 8<--- cut here --- [ 11.668720] Unable to handle kernel paging request at virtual address 0800d000 [ 11.670647] pgd = 288ea929 [ 11.677942] [0800d000] *pgd=00000000 [ 11.680624] Internal error: Oops: 805 [#1] SMP ARM [ 11.684263] Modules linked in: [ 11.688872] CPU: 0 PID: 73 Comm: kmodloader Tainted: G W 5.4.172 #0 [ 11.691913] Hardware name: Generic DT based system

[ 122.461183] 8<--- cut here --- [ 122.461230] Unable to handle kernel paging request at virtual address 00008900 [ 122.463162] pgd = a1e7dde4 [ 122.470470] [00008900] pgd=6de1e835, pte=00000000, *ppte=00000000 [ 122.473033] Internal error: Oops: 17 [#1] SMP ARM