Skip to content

841 bootloop #121

@lemoer

Description

@lemoer

Observed by @bschelm with vH41~3:

0.000000] Linux version 6.6.119 (build@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r29091+14-b023a06cfb) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 Thu May 5 15:45:14 2022
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is TP-Link TL-WR841N/ND Mod (ATH79 8M) v9
[ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 1 rev 1
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 55220K/65536K available (6199K kernel code, 581K rwdata, 1492K rodata, 1192K init, 205K bss, 10316K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] CPU clock: 550.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6950037990 ns
[ 0.000003] sched_clock: 32 bits at 275MHz, resolution 3ns, wraps every 7809031678ns
[ 0.009023] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
[ 0.076037] pid_max: default: 32768 minimum: 301
[ 0.091432] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.099755] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.119848] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[ 0.136366] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.147624] futex hash table entries: 256 (order: 0, 3072 bytes, linear)
[ 0.155350] pinctrl core: initialized pinctrl subsystem
[ 0.165055] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.172676] thermal_sys: Registered thermal governor 'step_wise'
[ 0.175233] /ahb/apb: Fixed dependency cycle(s) with /ahb/apb/interrupt-controller@18060010
[ 0.203761] clocksource: Switched to clocksource MIPS
[ 0.223680] NET: Registered PF_INET protocol family
[ 0.229624] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.239956] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.249679] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.258497] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.267228] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.275285] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.282726] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.290245] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.299127] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.305684] PCI: CLS 0 bytes, default 32
[ 0.316890] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.324962] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.331598] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.352150] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.364757] pinctrl-single 1804002c.pinmux: 576 pins, size 72
[ 0.372752] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.386865] printk: console [ttyS0] disabled
[ 0.392402] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 10, base_baud = 1562500) is a 16550A
[ 0.402440] printk: console [ttyS0] enabled
[ 0.402440] printk: console [ttyS0] enabled
[ 0.411528] printk: bootconsole [early0] disabled
[ 0.411528] printk: bootconsole [early0] disabled
[ 0.464913] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[ 0.470121] 3 fixed-partitions partitions found on MTD device spi0.0
[ 0.476809] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.483675] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.490883] Creating 3 MTD partitions on "spi0.0":
[ 0.495969] 0x000000000000-0x000000020000 : "u-boot"
[ 0.505634] 0x000000020000-0x0000007f0000 : "firmware"
[ 0.514041] 2 tplink-fw partitions found on MTD device firmware
[ 0.520204] Creating 2 MTD partitions on "firmware":
[ 0.525370] 0x000000000000-0x0000002754b6 : "kernel"
[ 0.530510] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[ 0.541611] 0x0000002754b8-0x0000007d0000 : "rootfs"
[ 0.546857] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[ 0.558904] mtd: setting mtd3 (rootfs) as root device
[ 0.564336] 1 squashfs-split partitions found on MTD device rootfs
[ 0.570740] 0x000000620000-0x0000007d0000 : "rootfs_data"
[ 0.578977] 0x0000007f0000-0x000000800000 : "art"
[ 0.934888] ag71xx-legacy 19000000.eth: Could not connect to PHY device. Deferring probe.
[ 1.646309] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[ 1.709594] ag71xx-legacy 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.720479] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[ 1.727530] i2c_dev: i2c /dev entries driver
[ 1.737069] NET: Registered PF_INET6 protocol family
[ 1.757129] Segment Routing with IPv6
[ 1.761058] In-situ OAM (IOAM) with IPv6
[ 1.765366] NET: Registered PF_PACKET protocol family
[ 1.770637] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.784419] 8021q: 802.1Q VLAN Support v1.8
[ 2.245036] ag71xx-legacy 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd042, driver=Qualcomm Atheros QCA9561 built-in PHY]
[ 2.258887] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[ 2.268882] clk: Disabling unused clocks
[ 2.281168] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 2.296019] Freeing unused kernel image (initmem) memory: 1192K
[ 2.302154] This architecture does not have kernel memory protection.
[ 2.308855] Run /sbin/init as init process
[ 3.110180] init: Console is alive
[ 3.114485] init: - watchdog -
[ 4.819293] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.923169] gpio_button_hotplug: loading out-of-tree module taints kernel.
[ 4.946781] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.965082] init: - preinit -
[ 8.933799] random: crng init done
Cannot parse config file '/etc/fw_env.config': No such file or directory
Failed to find NVMEM device
[ 11.210272] eth0: link up (1000Mbps/Full duplex)
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
[ 15.650955] jffs2: notice: (510) jffs2_build_xattr_subsystem: complete building xattr subsystem, 56 of xdatum (2 unchecked, 45 orphan) and 89 of xref (10 dead, 63 orphan) found.
[ 15.670976] mount_root: overlay filesystem has not been fully initialized yet
[ 15.751381] mount_root: switching to jffs2 overlay
[ 15.758841] overlayfs: upper fs does not support tmpfile.

  • config restore -
    [ 16.897624] urandom-seed: Seed file not found (/etc/urandom.seed)
    [ 17.000794] eth0: link down
    [ 17.035632] procd: - early -
    [ 17.039057] procd: - watchdog -
    [ 17.840210] procd: - watchdog -
    [ 17.854236] procd: - ubus -
    [ 18.125304] procd: - init -
    Please press Enter to activate this console.
    [ 21.944581] kmodloader: loading kernel modules from /etc/modules.d/*
    [ 24.450990] GACT probability on
    [ 24.485606] Mirror/redirect action on
    [ 24.556494] u32 classifier
    [ 24.559334] input device check on
    [ 24.563118] Actions configured
    [ 24.745057] Loading modules backported from Linux version v6.12.61-0-gdcbeffaf66d0
    [ 24.752924] Backport generated by backports.git v6.1.110-1-35-g410656ef
    [ 25.097328] xt_time: kernel timezone is -0000
    [ 25.507484] urngd: v1.0.2 started.
    [ 25.880181] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
    [ 25.888380] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved.
    [ 26.114099] batman_adv: B.A.T.M.A.N. advanced 2024.3-openwrt-7 (compatibility version 15) loaded
    [ 26.215234] Data bus error, epc == 802f38c4, ra == 82ae5a24
    [ 26.221042] Oops[Import from lemoer - GLUON-Branch #1]:
    [ 26.223393] CPU: 0 PID: 834 Comm: kmodloader Tainted: G O 6.6.119 #0
    [ 26.231400] $ 0 : 00000000 00000001 deadc0de 00000100
    [ 26.236828] $ 4 : b81143fc 000143fc 82b22114 00000004
    [ 26.242248] $ 8 : 00000000 80666bdc 00000110 00000000
    [ 26.247669] $12 : 00000001 00000040 00000002 00000004
    [ 26.253091] $16 : 82bc8080 00000018 81ae1b74 81ae1b78
    [ 26.258511] $20 : 81ae1f73 80000003 00010000 00014000
    [ 26.263932] $24 : 00000000 00000000
    [ 26.269353] $28 : 81ae0000 81ae1ad0 00031018 82ae5a24
    [ 26.274774] Hi : 00004785
    [ 26.277749] Lo : 42690000
    [ 26.280723] epc : 802f38c4 ioread32+0xc/0x14
    [ 26.285347] ra : 82ae5a24 ath9k_hw_setup_statusring+0x149c/0x2d40 [ath9k_hw]
    [ 26.292980] Status: 1000f403 KERNEL EXL IE
    [ 26.297317] Cause : 5080801c (ExcCode 07)
    [ 26.301457] PrId : 00019374 (MIPS 24Kc)
    [ 26.305507] Modules linked in: ath9k(O+) ath9k_common(O) iptable_nat batman_adv(O) ath9k_hw(O) ath(O) xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_CT wireguard nf_nat nf_conntrack mac80211(O) lzo libchacha20poly1305 ipt_REJECT ebtable_nat ebtable_filter ebtable_broute cfg80211(O) xt_time xt_tcpudp xt_quota xt_pkttype xt_owner xt_multiport xt_mark xt_mac xt_limit xt_comment xt_addrtype xt_TCPMSS xt_LOG poly1305_mips nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 lzo_rle lzo_decompress lzo_compress libcurve25519_generic libcrc32c iptable_mangle iptable_filter ip_tables ebtables ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_ip6 ebt_ip ebt_dnat ebt_arpreply ebt_arp ebt_among ebt_802_3 compat(O) chacha_mips sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow act_skbedit act_mirred act_gact ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 dummy ip_tunnel veth vxlan udp_tunnel ip6_udp_tunnel sha512_generic seqiv
    [ 26.306115] sha3_generic jitterentropy_rng drbg kpp hmac geniv rng cmac crypto_acompress act_police cls_basic sch_tbf sch_ingress gpio_button_hotplug(O) crc16 crc32c_generic
    [ 26.415141] Process kmodloader (pid: 834, threadinfo=02a29fa2, task=50b34755, tls=77ef5df4)
    [ 26.423780] Stack : 00000001 82ae67fc 00000220 82bc8a58 00000220 82bc8080 00000220 829bf800
    [ 26.432461] 000003ff 82bc8080 82bc80a8 81ae1bdc 00000000 82b6898c 99999999 82ae6d64
    [ 26.441133] 80870000 829ca3f0 80006044 8189aa10 00000000 829ca3f0 80006044 8042b784
    [ 26.449807] ffffffff 00000000 8296a680 82bc80a8 82bc8080 00020000 00007000 82bc8618
    [ 26.458480] 82bc80a8 82bc8080 82b6a380 82ac52f8 82bc8080 00000001 807f0000 82bc8080
    [ 26.467154] ...
    [ 26.469691] Call Trace:
    [ 26.472217] [<802f38c4>] ioread32+0xc/0x14
    [ 26.476471] [<82ae5a24>] ath9k_hw_setup_statusring+0x149c/0x2d40 [ath9k_hw]
    [ 26.483722]
    [ 26.485262] Code: 0000000f 8c820000 0000000f <03e00008> 00000000 0000000f 8c820000 0000000f 7c0210a0
    [ 26.495387]
    [ 26.497024] ---[ end trace 0000000000000000 ]---
    [ 26.501797] Kernel panic - not syncing: Fatal exception
    [ 26.507201] Rebooting in 1 seconds..

  • U-Boot 1.1.4-7a540a78-clean     *
    
  •      Build: 2018-02-23          *
    

** Warning: bad env CRC, using default,
use 'saveenv' to save it in FLASH

BOARD: TP-Link TL-WR841N/D v9
SOC: QCA953x ver. 1 rev. 1
CPU: MIPS 24Kc
RAM: 64 MB DDR1 16-bit CL3-3-3-8
FLASH: 8 MB Winbond W25Q64
MAC: 30:B5:C2:F5:F8:9E
CLOCKS: CPU/RAM/AHB/SPI/REF
550/400/200/ 25/ 25 MHz

Hit any key to stop booting: 1 0

Booting image from 0x9F020000...

Vendor/image name: OpenWrt r29091+14-b023a06cfb
Hardware ID: 0x8410809
Whole image size: 7.8 MB (8126464 bytes)
Kernel size: 2.5 MB (2577078 bytes)
Rootfs size: 3.6 MB (3783522 bytes)
Kernel load address: 0x80060000
Kernel entry point: 0x80060000

Header CRC... skipped
Data CRC... skipped

Stopping network... OK!
Uncompressing Kernel...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions