Onion bricked? SQUASHFS error...
-
HI community,
I have this onion working for a while now under nominal conditions without any issue. Suddendly, nothing worked anymore (no external influence). Unable to connect via Wifi, Ethernet. I tried to connect via Serial and get this output, which is permanently repeating. Any idea what the issue is?
Thanks,
MK
Board: Onion Omega2 APSoC DRAM: 128 MB
relocate_code Pointer at: 87f60000
Software System Reset Occurred
flash manufacture id: ef, device id 40 19
find flash: W25Q256FV
*** Warning - bad CRC, using default environment============================================
Onion Omega2 UBoot Version: 4.3.0.3ASIC 7628_MP (Port5<->None)
DRAM component: 1024 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 128 MBytes
Flash component: SPI Flash
Date:Nov 18 2022 Time:19:21:40icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
CPU freq = 575 MHZ
Estimated memory size = 128 Mbytes
Resetting MT7628 PHY.
Initializing MT7688 GPIO system.
wifi mac address = 881E59033478.
- Hold Reset button for more options *
Boot Linux from Flash NO RESET PRESSED.
Booting image at bc050000 ...
Image Name: MIPS OpenWrt Linux-4.14.81
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1617567 Bytes = 1.5 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrdTransferring control to Linux (at address 80000000) ...
Giving linux memsize in MB, 128
Starting kernel ...
[ 0.000000] Linux version 4.14.81 (root@4bebe08665b4) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r0+7504-8c8c87ef8f)) #0 Mon Sep 9 15:48:40 2024
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7688 ver:1 eco:2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Onion Omega2+
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 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, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000d5e
[ 0.000000] Readback ErrCtl register=00000d5e
[ 0.000000] Memory: 124580K/131072K available (3708K kernel code, 207K rwdata, 920K rodata, 212K init, 205K bss, 6492K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] intc: using register map from devicetree
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] timer_probe: no matching timers found
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007674] Console: colour dummy device 80x25
[ 0.011931] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.073506] pid_max: default: 32768 minimum: 301
[ 0.078194] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.084537] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.098565] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.108060] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.114006] pinctrl core: initialized pinctrl subsystem
[ 0.119579] NET: Registered protocol family 16
[ 0.155797] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.161480] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.167004] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.173624] i2c-mt7621 10000900.i2c: clock 100 kHz
[ 0.183175] clocksource: Switched to clocksource MIPS
[ 0.195418] NET: Registered protocol family 2
[ 0.200550] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.207297] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.213400] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.219661] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.225294] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.231587] NET: Registered protocol family 1
[ 0.250227] Crashlog allocated RAM at address 0x3f00000
[ 0.257008] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.269313] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.274933] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.295037] io scheduler noop registered
[ 0.298769] io scheduler deadline registered (default)
[ 0.304811] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.312153] console [ttyS0] disabled
[ 0.315653] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[ 0.324376] console [ttyS0] enabled
[ 0.324376] console [ttyS0] enabled
[ 0.331370] bootconsole [early0] disabled
[ 0.331370] bootconsole [early0] disabled
[ 0.340170] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
[ 0.349844] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
[ 0.359359] cacheinfo: Failed to find cpu0 device node
[ 0.364606] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.371578] spi-mt7621 10000b00.spi: sys_freq: 193333333
[ 0.393129] m25p80 spi0.0: w25q256 (32768 Kbytes)
[ 0.398004] 5 fixed-partitions partitions found on MTD device spi0.0
[ 0.404459] Creating 5 MTD partitions on "spi0.0":
[ 0.409325] 0x000000000000-0x000000030000 : "u-boot"
[ 0.415310] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.421514] 0x000000040000-0x000000050000 : "factory"
[ 0.427562] 0x000000050000-0x000001f80000 : "firmware"
[ 0.522787] 2 uimage-fw partitions found on MTD device firmware
[ 0.528835] 0x000000050000-0x0000001daedf : "kernel"
[ 0.534810] 0x0000001daedf-0x000001f80000 : "rootfs"
[ 0.540616] mtd: device 5 (rootfs) set to be root filesystem
[ 0.547867] 1 squashfs-split partitions found on MTD device rootfs
[ 0.554210] 0x000000970000-0x000001f80000 : "rootfs_data"
[ 0.560619] 0x000001f80000-0x000002000000 : "user"
[ 0.567391] libphy: Fixed MDIO Bus: probed
[ 0.583243] rt3050-esw 10110000.esw: link changed 0x00
[ 0.590119] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 0.598818] i2c /dev entries driver
[ 0.604268] NET: Registered protocol family 10
[ 0.613114] Segment Routing with IPv6
[ 0.617020] NET: Registered protocol family 17
[ 0.621581] 8021q: 802.1Q VLAN Support v1.8
[ 0.632048] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 0.640427] Freeing unused kernel memory: 212K
[ 0.644964] This architecture does not have kernel memory protection.
[ 1.291638] SQUASHFS error: xz decompression failed, data probably corrupt
[ 1.298650] SQUASHFS error: squashfs_read_data failed to read block 0xd968a
[ 1.305720] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.312426] SQUASHFS error: Unable to read page, block d968a, size 1525c
[ 1.319261] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.325977] SQUASHFS error: Unable to read page, block d968a, size 1525c
[ 1.332784] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.339500] SQUASHFS error: Unable to read page, block d968a, size 1525c
[ 1.346320] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.353022] SQUASHFS error: Unable to read page, block d968a, size 1525c
[ 1.359848] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.366563] SQUASHFS error: Unable to read page, block d968a, size 1525c
Error loading sh[ 1.373739] SQUASHFS error: Unable to read fragment cache entry [d968a]
ared library lib[ 1.381627] SQUASHFS error: Unable to read page, block d968a, size 1525c
ubox.so: I/O err[ 1.389877] SQUASHFS error: Unable to read fragment cache entry [d968a]
or (needed by /s[ 1.397965] SQUASHFS error: Unable to read page, block d968a, size 1525c
bin/init)
[ 1.406178] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.413824] SQUASHFS error: Unable to read page, block d968a, size 1525c
[ 1.420630] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.427345] SQUASHFS error: Unable to read page, block d968a, size 1525c
[ 1.434166] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.440869] SQUASHFS error: Unable to read page, block d968a, size 1525c
Error loading shared library libubus.so: I/O error (needed by /sbin/init)
[ 1.577031] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.583820] SQUASHFS error: Unable to read page, block d968a, size 1525c
[ 1.590628] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.597343] SQUASHFS error: Unable to read page, block d968a, size 1525c
[ 1.604155] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.610859] SQUASHFS error: Unable to read page, block d968a, size 1525c
[ 1.617675] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.624390] SQUASHFS error: Unable to read page, block d968a, size 1525c
Error loading sh[ 1.631492] SQUASHFS error: Unable to read fragment cache entry [d968a]
ared library lib[ 1.639443] SQUASHFS error: Unable to read page, block d968a, size 1525c
blobmsg_json.so:[ 1.647655] SQUASHFS error: Unable to read fragment cache entry [d968a]
I/O error (need[ 1.655746] SQUASHFS error: Unable to read page, block d968a, size 1525c
ed by /sbin/init[ 1.663961] SQUASHFS error: Unable to read fragment cache entry [d968a]
)
[ 1.672038] SQUASHFS error: Unable to read page, block d968a, size 1525c
[ 1.679105] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.685822] SQUASHFS error: Unable to read page, block d968a, size 1525c
[ 1.692631] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.699346] SQUASHFS error: Unable to read page, block d968a, size 1525c
Error loading sh[ 1.706432] SQUASHFS error: Unable to read fragment cache entry [d968a]
ared library lib[ 1.714400] SQUASHFS error: Unable to read page, block d968a, size 1525c
json_script.so: [ 1.722626] SQUASHFS error: Unable to read fragment cache entry [d968a]
I/O error (neede[ 1.730696] SQUASHFS error: Unable to read page, block d968a, size 1525c
d by /sbin/init)[ 1.738915] SQUASHFS error: Unable to read fragment cache entry [d968a][ 1.747002] SQUASHFS error: Unable to read page, block d968a, size 1525c
[ 1.753980] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.760682] SQUASHFS error: Unable to read page, block d968a, size 1525c
[ 1.767505] SQUASHFS error: Unable to read fragment cache entry [d968a]
[ 1.774220] SQUASHFS error: Unable to read page, block d968a, size 1525c
Error loading sh[ 1.781225] SQUASHFS error: Unable to read fragment cache entry [d968a]
ared library lib[ 1.789254] SQUASHFS error: Unable to read page, block d968a, size 1525c
gcc_s.so.1: I/O error (needed by /sbin/init)
Error loading shared library libgcc_s.so.1: I/O error (needed by /usr/lib/libjson-c.so.2)
Error relocating /usr/lib/libjson-c.so.2: __nedf2: symbol not found
Error relocating /usr/lib/libjson-c.so.2: __unorddf2: symbol not found
Error relocating /usr/lib/libjson-c.so.2: __floatdidf: symbol not found
Error relocating /usr/lib/libjson-c.so.2: __fixdfsi: symbol not found
Error relocating /usr/lib/libjson-c.so.2: __ledf2: symbol not found
Error relocating /usr/lib/libjson-c.so.2: __ltdf2: symbol not found
Error relocating /usr/lib/libjson-c.so.2: __muldf3: symbol not found
Error relocating /usr/lib/libjson-c.so.2: [ 1.855106] random: fast init done
__floatsidf: symbol not found
Error relocating /usr/lib/libjson-c.so.2: __gtdf2: symbol not found
Error relocating /usr/lib/libjson-c.so.2: __fixdfdi: symbol not found
Error relocating /usr/lib/libjson-c.so.2: __sync_val_compare_and_swap_4: symbol not found
Error relocating /usr/lib/libjson-c.so.2: __gedf2: symbol not found
Error relocating /sbin/init: ulog: symbol not found
Error relocating /sbin/init: avl_strcmp: symbol not found
Error relocating /sbin/init: avl_init: symbol not found
Error relocating /sbin/init: uloop_timeout_cancel: symbol not found
Error relocating /sbin/init: avl_insert: symbol not found
Error relocating /sbin/init: uloop_process_add: symbol not found
Error relocating /sbin/init: blobmsg_check_attr: symbol not found
Error relocating /sbin/init: uloop_run_timeout: symbol not found
Error relocating /sbin/init: ulog_open: symbol not found
Error relocating /sbin/init: uloop_timeout_set: symbol not found
Error relocating /sbin/init: uloop_init: symbol not found
[ 1.973273] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[ 1.973273]
[ 1.984126] Rebooting in 1 seconds..
-
@MK said in Onion bricked? SQUASHFS error...:
[ 1.291638] SQUASHFS error: xz decompression failed, data probably corrupt
[ 1.298650] SQUASHFS error: squashfs_read_data failed to read block 0xd968aJudging by this error, it's likely there's data corruption on the flash, so the OS can't mount the filesystem during boot.
I would suggest trying to re-flash firmware using the bootloader web recovery. If it boots normally after that, it points to data corruption. If not, then that points to an issue with the flash.
Let me know how it goes and we can discuss next steps!