Sudden boot problem

My server was working fine, but at one moment I found that I cannot connect to it.Previously it was booting from SD card, but not anymore. Should I try different card?

U-Boot SPL 2021.10 (Dec 25 2022 - 20:59:18 +0800)                                                                                                        
DDR version: dc2e84f0.                                                                                                                                   
Trying to boot from SPI                                                                                                                                  
                                                                                                                                                         
OpenSBI v1.0                                                                                                                                             
   ____                    _____ ____ _____                                                                                                              
  / __ \                  / ____|  _ \_   _|                                                                                                             
 | |  | |_ __   ___ _ __ | (___ | |_) || |                                                                                                               
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |                                                                                                               
 | |__| | |_) |  __/ | | |____) | |_) || |_                                                                                                              
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : StarFive VisionFive V2
Platform Features         : medeleg
Platform HART Count       : 5
Platform IPI Device       : aclint-mswi
Platform Timer Device     : aclint-mtimer @ 4000000Hz
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform Reboot Device    : ---
Platform Shutdown Device  : ---
Firmware Base             : 0x40000000
Firmware Size             : 360 KB
Runtime SBI Version       : 0.3

Domain0 Name              : root
Domain0 Boot HART         : 1
Domain0 HARTs             : 0*,1*,2*,3*,4*
Domain0 Region00          : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01          : 0x0000000040000000-0x000000004007ffff ()
Domain0 Region02          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address      : 0x0000000040200000
Domain0 Next Arg1         : 0x0000000042200000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 1
Boot HART Domain          : root
Boot HART Priv Version    : v1.11
Boot HART Base ISA        : rv64imafdcbx
Boot HART ISA Extensions  : none
Boot HART PMP Count       : 8
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 34
Boot HART MHPM Count      : 2
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109


U-Boot 2021.10 (Dec 25 2022 - 20:59:18 +0800), Build: jenkins-github_visionfive2-4

CPU:   rv64imacu
Model: StarFive VisionFive V2
DRAM:  8 GiB
MMC:   sdio0@16010000: 0, sdio1@16020000: 1
Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

StarFive EEPROM format v2

--------EEPROM INFO--------
Vendor : StarFive Technology Co., Ltd.
Product full SN: VF7110A1-2250-D008E000-00001435
data version: 0x2
PCB revision: 0xa1
BOM revision: A
Ethernet MAC0 address: 6c:cf:39:00:28:b7
Ethernet MAC1 address: 6c:cf:39:00:28:b8
--------EEPROM INFO--------

In:    serial@10000000
Out:   serial@10000000
Err:   serial@10000000
Model: StarFive VisionFive V2
Net:   eth0: ethernet@16030000, eth1: ethernet@16040000
switch to partitions #0, OK
mmc1 is current device
found device 1
bootmode flash device 1
Can't set block device
Failed to load '/boot/uEnv.txt'
Hit any key to stop autoboot:  0 
Can't set block device
Importing environment from mmc1 ...
## Warning: Input data exceeds 1048576 bytes - truncated
## Info: input data size = 1048578 = 0x100002
385 bytes read in 4 ms (93.8 KiB/s)
## Warning: defaulting to text format
## Error: "boot2" not defined
47546 bytes read in 7 ms (6.5 MiB/s)
47546 bytes written in 13 ms (3.5 MiB/s)
Retrieving file: /boot/extlinux/extlinux.conf
863 bytes read in 7 ms (120.1 KiB/s)
U-Boot menu
1:      Debian GNU/Linux bookworm/sid 5.15.0-starfive
2:      Debian GNU/Linux bookworm/sid 5.15.0-starfive (rescue target)
Enter choice: 1:        Debian GNU/Linux bookworm/sid 5.15.0-starfive
Retrieving file: /boot/initrd.img-5.15.0-starfive
9684944 bytes read in 802 ms (11.5 MiB/s)
Retrieving file: /boot/vmlinuz-5.15.0-starfive
8015160 bytes read in 343 ms (22.3 MiB/s)
append: root=/dev/mmcblk1p3 root=/dev/mmcblk1p3 rw console=tty0 console=ttyS0,115200 earlycon rootwait stmmaceth=chain_mode:1 selinux=0
Retrieving file: /boot/dtbs/starfive/jh7110-visionfive-v2.dtb
47546 bytes read in 8 ms (5.7 MiB/s)
   Uncompressing Kernel Image
Moving Image from 0x44000000 to 0x40200000, end=41767000
## Flattened Device Tree blob at 48000000
   Booting using the fdt blob at 0x48000000
   Using Device Tree in place at 0000000048000000, end 000000004800e9b9

Starting kernel ...

clk u5_dw_i2c_clk_core already disabled
clk u5_dw_i2c_clk_apb already disabled
[    0.000000] Linux version 5.15.0-starfive (sw_buildbot@mdcsw02) (riscv64-unknown-linux-gnu-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP Wed Dec 21 03:56:12 EST 2022
[    0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000
[    0.000000] Machine model: StarFive VisionFive V2
[    0.000000] earlycon: uart0 at MMIO32 0x0000000010000000 (options '115200')
[    0.000000] printk: bootconsole [uart0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000080000000, size 512 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000040200000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000023fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040200000-0x00000000c010ffff]
[    0.000000]   node   0: [mem 0x00000000c0110000-0x00000000c01fffff]
[    0.000000]   node   0: [mem 0x00000000c0200000-0x000000023fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x000000023fffffff]
[    0.000000] SBI specification v0.3 detected
[    0.000000] SBI implementation ID=0x1 Version=0x10000
[    0.000000] SBI TIME extension detected
[    0.000000] SBI IPI extension detected
[    0.000000] SBI RFENCE extension detected
[    0.000000] SBI v0.2 HSM extension detected
[    0.000000] CPU with hartid=0 is not available
[    0.000000] CPU with hartid=0 is not available
[    0.000000] riscv: ISA extensions acdfim
[    0.000000] riscv: ELF capabilities acdfim
[    0.000000] percpu: Embedded 17 pages/cpu s31528 r8192 d29912 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2067975
[    0.000000] Kernel command line: root=/dev/mmcblk1p3 root=/dev/mmcblk1p3 rw console=tty0 console=ttyS0,115200 earlycon rootwait stmmaceth=chain_mode:1 selinux=0
[    0.000000] Unknown command line parameters: stmmaceth=chain_mode:1 selinux=0
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[    0.000000] Memory: 7582168K/8386560K available (9884K kernel code, 4982K rwdata, 4096K rodata, 2191K init, 401K bss, 280104K reserved, 524288K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] rcu:     RCU debug extended QS entry/exit.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] CPU with hartid=0 is not available
[    0.000000] riscv-intc: unable to find hart id for /cpus/cpu@0/interrupt-controller
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] plic: plic@c000000: mapped 136 interrupts with 4 handlers for 9 contexts.
[    0.000000] random: get_random_bytes called from start_kernel+0x4d0/0x6e2 with crng_init=0
[    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [1]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 881590404240 ns
[    0.000001] sched_clock: 64 bits at 4MHz, resolution 250ns, wraps every 2199023255500ns
[    0.009004] clocksource: timer@13050000.ch0: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.020328] clocksource: timer@13050000.ch1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.031661] clocksource: timer@13050000.ch2: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.042986] clocksource: timer@13050000.ch3: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.054476] Console: colour dummy device 80x25
[    0.060670] printk: console [tty0] enabled
[    0.065225] Calibrating delay loop (skipped), value calculated using timer frequency.. 8.00 BogoMIPS (lpj=40000)
[    0.076448] pid_max: default: 32768 minimum: 301
[    0.081731] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.090246] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.100542] ASID allocator disabled
[    0.104480] rcu: Hierarchical SRCU implementation.
[    0.109933] EFI services will not be available.
[    0.115317] smp: Bringing up secondary CPUs ...
[    0.121955] smp: Brought up 1 node, 4 CPUs
[    0.128397] devtmpfs: initialized
[    0.139628] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.150490] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.171808] pinctrl core: initialized pinctrl subsystem
[    0.178466] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.185692] cpuidle: using governor menu
[    0.211974] platform soc:dsi-output: Fixing up cyclic dependency with 29400000.dc8200
[    0.221151] platform 295d0000.mipi: Fixing up cyclic dependency with soc:dsi-output
[    0.229989] platform 29590000.hdmi: Fixing up cyclic dependency with 29400000.dc8200
[    0.250448] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.257832] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.268387] vgaarb: loaded
[    0.271614] SCSI subsystem initialized
[    0.276157] usbcore: registered new interface driver usbfs
[    0.282230] usbcore: registered new interface driver hub
[    0.288122] usbcore: registered new device driver usb
[    0.293967] mc: Linux media interface: v0.10
[    0.298718] videodev: Linux video capture interface: v2.00
[    0.304943] Advanced Linux Sound Architecture Driver Initialized.
[    0.312038] Bluetooth: Core ver 2.22
[    0.316000] NET: Registered PF_BLUETOOTH protocol family
[    0.321858] Bluetooth: HCI device and connection manager initialized
[    0.328855] Bluetooth: HCI socket layer initialized
[    0.334237] Bluetooth: L2CAP socket layer initialized
[    0.339808] Bluetooth: SCO socket layer initialized
[    0.345521] clocksource: Switched to clocksource riscv_clocksource
[    0.359845] NET: Registered PF_INET protocol family
[    0.366227] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.382048] tcp_listen_portaddr_hash hash table entries: 4096 (order: 5, 163840 bytes, linear)
[    0.391803] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.401383] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    0.412073] TCP: Hash tables configured (established 65536 bind 65536)
[    0.419546] UDP hash table entries: 4096 (order: 6, 393216 bytes, linear)
[    0.427447] UDP-Lite hash table entries: 4096 (order: 6, 393216 bytes, linear)
[    0.436056] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.442961] RPC: Registered named UNIX socket transport module.
[    0.449510] RPC: Registered udp transport module.
[    0.454686] RPC: Registered tcp transport module.
[    0.459872] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.467689] PCI: CLS 0 bytes, default 64
[    0.472692] Initialise system trusted keyrings
[    0.477833] workingset: timestamp_bits=62 max_order=21 bucket_order=0
[    0.478029] Unpacking initramfs...
[    0.490818] NFS: Registering the id_resolver key type
[    0.496435] Key type id_resolver registered
[    0.501051] Key type id_legacy registered
[    0.505593] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.512986] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.521210] ntfs: driver 2.1.32 [Flags: R/W].
[    0.526308] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    0.533502] fuse: init (API version 7.34)
[    0.576418] NET: Registered PF_ALG protocol family
[    0.581729] Key type asymmetric registered
[    0.586294] Asymmetric key parser 'x509' registered
[    0.591774] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.599969] io scheduler mq-deadline registered
[    0.604966] io scheduler kyber registered
[    0.711921] clk-starfive-jh7110 13020000.clock-controller: starfive JH7110 clkgen init successfully.
[    0.723187] L2CACHE: DataError @ 0x00000000.08040110
[    0.728764] L2CACHE: DataFail @ 0x00000000.0804005B
[    0.734231] L2CACHE: No. of Banks in the cache: 8
[    0.739450] L2CACHE: No. of ways per bank: 16
[    0.744255] L2CACHE: Sets per bank: 256
[    0.748504] L2CACHE: Bytes per cache block: 64
[    0.753415] L2CACHE: Index of the largest way enabled: 15
[    0.759714] jh7110-pmu 17030000.power-controller: registered 8 power domains
[    0.827678] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.837673] @@#########################@@
[    0.880062] @@ dev ptr:ffffffe0bff00000/1500/1
[    0.885213] PVR_K:  1: Read BVNC 36.50.54.182 from HW device registers
[    0.892506] PVR_K:  1: RGX Device registered BVNC 36.50.54.182 with 1 core in the system
[    0.902733] [drm] Initialized pvr 1.17.6210866 20170530 for 18000000.gpu on minor 0
[    0.922807] loop: module loaded
[    0.928807] spi-nor spi0.0: gd25lq128d (16384 Kbytes)
[    1.188003] Freeing initrd memory: 9456K
[    1.209018] 3 fixed-partitions partitions found on MTD device 13010000.spi.0
[    1.216846] Creating 3 MTD partitions on "13010000.spi.0":
[    1.222906] 0x000000000000-0x000000020000 : "spl"
[    1.229879] 0x000000100000-0x000000400000 : "uboot"
[    1.236827] 0x000000f00000-0x000001000000 : "data"
[    1.244742] libphy: Fixed MDIO Bus: probed
[    1.250757] CAN device driver interface
[    1.255599] starfive-eth-plat 16030000.ethernet: force_sf_dma_mode is ignored if force_thresh_dma_mode is set.
[    1.266996] starfive-eth-plat 16030000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[    1.275254] starfive-eth-plat 16030000.ethernet:     DWMAC4/5
[    1.281322] starfive-eth-plat 16030000.ethernet: DMA HW capability register supported
[    1.289965] starfive-eth-plat 16030000.ethernet: RX Checksum Offload Engine supported
[    1.298610] starfive-eth-plat 16030000.ethernet: Wake-Up On Lan supported
[    1.306096] starfive-eth-plat 16030000.ethernet: TSO supported
[    1.312526] starfive-eth-plat 16030000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.321752] starfive-eth-plat 16030000.ethernet: Enabled Flow TC (entries=1)
[    1.329529] starfive-eth-plat 16030000.ethernet: TSO feature enabled
[    1.336538] starfive-eth-plat 16030000.ethernet: Using 40 bits DMA width
[    1.595628] libphy: stmmac: probed
[    1.599405] YT8531 Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    1.610368] YT8531 Gigabit Ethernet stmmac-0:01: attached PHY driver (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    1.622525] starfive-eth-plat 16040000.ethernet: force_sf_dma_mode is ignored if force_thresh_dma_mode is set.
[    1.633935] starfive-eth-plat 16040000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[    1.642214] starfive-eth-plat 16040000.ethernet:     DWMAC4/5
[    1.648282] starfive-eth-plat 16040000.ethernet: DMA HW capability register supported
[    1.656927] starfive-eth-plat 16040000.ethernet: RX Checksum Offload Engine supported
[    1.665568] starfive-eth-plat 16040000.ethernet: Wake-Up On Lan supported
[    1.673042] starfive-eth-plat 16040000.ethernet: TSO supported
[    1.679492] starfive-eth-plat 16040000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.688734] starfive-eth-plat 16040000.ethernet: Enabled Flow TC (entries=1)
[    1.696514] starfive-eth-plat 16040000.ethernet: TSO feature enabled
[    1.703513] starfive-eth-plat 16040000.ethernet: Using 40 bits DMA width
[    1.961862] libphy: stmmac: probed
[    1.965668] YT8512B Ethernet stmmac-1:00: attached PHY driver (mii_bus:phy_addr=stmmac-1:00, irq=POLL)
[    1.975959] YT8512B Ethernet stmmac-1:03: attached PHY driver (mii_bus:phy_addr=stmmac-1:03, irq=POLL)
[    1.987796] Intel(R) Wireless WiFi driver for Linux
[    1.995115] cdns3-starfive 10210000.usbdrd: usb mode 2 2.0 probe success
[    2.003325] usbcore: registered new interface driver uas
[    2.009260] usbcore: registered new interface driver usb-storage
[    2.035861] starfive-rtc 17040000.rtc: registered as rtc0
[    2.041827] starfive-rtc 17040000.rtc: setting system clock to 2001-01-01T00:00:00 UTC (978307200)
[    2.051877] i2c_dev: i2c /dev entries driver
[    2.056846] usbcore: registered new interface driver uvcvideo
[    2.064352] starfive-wdt 13070000.wdog: Heartbeat: timeout=15, count/2=180000000 (0aba9500)
[    2.074106] Bluetooth: HCI UART driver ver 2.3
[    2.079035] Bluetooth: HCI UART protocol H4 registered
[    2.084911] starfive-cpufreq soc:starfive,jh7110-cpufreq: Failed to get regulator for cpu!
[    2.094051] starfive-cpufreq soc:starfive,jh7110-cpufreq: Failed to init starfive cpu dvfs info
[    2.104222] sdhci: Secure Digital Host Controller Interface driver
[    2.111064] sdhci: Copyright(c) Pierre Ossman
[    2.115909] Synopsys Designware Multimedia Card Interface Driver
[    2.122831] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.129897] jh7110-sec 16000000.crypto: Unable to request sec_m dma channel in DMA channel
[    2.139043] jh7110-sec 16000000.crypto: Cannot initial dma chan
[    2.145872] usbcore: registered new interface driver usbhid
[    2.152025] usbhid: USB HID core driver
[    2.156517] usbcore: registered new interface driver snd-usb-audio
[    2.171420] NET: Registered PF_PACKET protocol family
[    2.177067] can: controller area network core
[    2.181983] NET: Registered PF_CAN protocol family
[    2.187294] can: raw protocol
[    2.190568] can: broadcast manager protocol
[    2.195188] can: netlink gateway - max_hops=1
[    2.200352] Bluetooth: RFCOMM TTY layer initialized
[    2.205775] Bluetooth: RFCOMM socket layer initialized
[    2.211471] Bluetooth: RFCOMM ver 1.11
[    2.215666] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.221523] Bluetooth: BNEP filters: protocol multicast
[    2.227307] Bluetooth: BNEP socket layer initialized
[    2.232965] 9pnet: Installing 9P2000 support
[    2.237755] Key type dns_resolver registered
[    2.243231] Loading compiled-in X.509 certificates
[    2.284903] starfive_jh7110-pinctrl 13040000.gpio: SiFive GPIO chip registered 64 GPIOs
[    2.294542] starfive_jh7110-pinctrl 17020000.gpio: SiFive GPIO chip registered 4 GPIOs
[    2.303544] pl08xdmac 16008000.sec_dma: initialized 8 virtual memcpy channels
[    2.311462] pl08xdmac 16008000.sec_dma: initialized 16 virtual slave channels
[    2.320992] debugfs: Directory '16008000.sec_dma' with parent 'dmaengine' already present!
[    2.330163] pl08xdmac 16008000.sec_dma: DMA: PL080 rev0 at 0x16008000 irq 23
[    2.338214] ssp-pl022 10060000.spi: ARM PL022 driver for StarFive SoC platform, device ID: 0x00041022
[    2.348436] ssp-pl022 10060000.spi: mapped registers from 0x0000000010060000 to (____ptrval____)
[    2.358603] ssp-pl022 10060000.spi: Requested frequency: 10000000 Hz is unsupported,select by default 8250000 Hz
[    2.370216] ssp-pl022 10060000.spi: will use autosuspend for runtime pm, delay 100ms
[    2.380104] i2c 2-0045: Fixing up cyclic dependency with 295d0000.mipi
[    2.387589] seeed_panel 2-0045: Unknown Atmel firmware revision: 0x00
[    2.394896] i2c 2-0019: Fixing up cyclic dependency with 295d0000.mipi
[    2.403558] at24 5-0050: supply vcc not found, using dummy regulator
[    2.411378] at24 5-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
[    2.420733] axp15060-regulator 5-0036: Register mipi_0p9 done! vol range:900 ~ 900 mV
[    2.430873] axp15060-regulator 5-0036: Register hdmi_1p8 done! vol range:1800 ~ 1800 mV
[    2.441244] axp15060-regulator 5-0036: Register hdmi_0p9 done! vol range:900 ~ 900 mV
[    2.451437] axp15060-regulator 5-0036: Register cpu_vdd done! vol range:500 ~ 1540 mV
[    2.460866] i2c 6-0010: Fixing up cyclic dependency with 19800000.vin_sysctl
[    2.469073] imx219 6-0010: supply VANA not found, using dummy regulator
[    2.476503] imx219 6-0010: supply VDIG not found, using dummy regulator
[    2.483848] imx219 6-0010: supply VDDL not found, using dummy regulator
[    2.498675] imx219 6-0010: failed to read chip id 219
[    2.504464] imx219: probe of 6-0010 failed with error -5
[    2.512973] pcie_plda 2b000000.pcie: host bridge /soc/pcie@2B000000 ranges:
[    2.520742] pcie_plda 2b000000.pcie:      MEM 0x0030000000..0x0037ffffff -> 0x0030000000
[    2.529695] pcie_plda 2b000000.pcie:      MEM 0x0900000000..0x093fffffff -> 0x0900000000
[    2.538684] ATR entry: 0x0940000000 -> 0x0000000000 [0x0010000000] (param: 0x000001)
[    2.547252] ATR entry: 0x0030000000 -> 0x0030000000 [0x0008000000] (param: 0x000000)
[    2.555818] ATR entry: 0x0900000000 -> 0x0900000000 [0x0040000000] (param: 0x000000)
[    2.905622] pcie_plda 2b000000.pcie: Port link up.
[    2.911068] pcie_plda 2b000000.pcie: PCI host bridge to bus 0000:00
[    2.918006] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.924059] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    2.931662] pci_bus 0000:00: root bus resource [mem 0x900000000-0x93fffffff pref]
[    2.939955] pci 0000:00:00.0: [1556:1111] type 01 class 0x060400
[    2.946599] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0xffffffff 64bit pref]
[    2.954625] pci 0000:00:00.0: supports D1 D2
[    2.959343] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    2.970175] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.979164] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    2.985819] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    2.993383] pci 0000:01:00.0: PME# supported from D0 D3cold
[    3.002897] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.010234] pci 0000:00:00.0: BAR 0: no space for [mem size 0x100000000 64bit pref]
[    3.018703] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x100000000 64bit pref]
[    3.027554] pci 0000:00:00.0: BAR 8: assigned [mem 0x30000000-0x300fffff]
[    3.035039] pci 0000:01:00.0: BAR 0: assigned [mem 0x30000000-0x30000fff 64bit]
[    3.043134] pci 0000:00:00.0: PCI bridge to [bus 01]
[    3.048621] pci 0000:00:00.0:   bridge window [mem 0x30000000-0x300fffff]
[    3.056218] pci 0000:00:00.0: enabling device (0000 -> 0002)
[    3.062460] pci 0000:01:00.0: enabling device (0000 -> 0002)
[    3.068742] pci 0000:01:00.0: quirk_usb_early_handoff+0x0/0x9d4 took 12239 usecs
[    3.077131] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    3.082919] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    3.091487] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000040000000890
[    3.101647] pcie_plda 2b000000.pcie: msi#0 address_hi 0x0 address_lo 0x190
[    3.109600] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    3.115375] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    3.123565] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    3.131216] hub 1-0:1.0: USB hub found
[    3.135392] hub 1-0:1.0: 1 port detected
[    3.140782] hub 2-0:1.0: USB hub found
[    3.144957] hub 2-0:1.0: 4 ports detected
[    3.152230] pcie_plda 2c000000.pcie: host bridge /soc/pcie@2C000000 ranges:
[    3.159987] pcie_plda 2c000000.pcie:      MEM 0x0038000000..0x003fffffff -> 0x0038000000
[    3.168955] pcie_plda 2c000000.pcie:      MEM 0x0980000000..0x09bfffffff -> 0x0980000000
[    3.177947] ATR entry: 0x09c0000000 -> 0x0000000000 [0x0010000000] (param: 0x000001)
[    3.186518] ATR entry: 0x0038000000 -> 0x0038000000 [0x0008000000] (param: 0x000000)
[    3.195067] ATR entry: 0x0980000000 -> 0x0980000000 [0x0040000000] (param: 0x000000)
[    3.355573] usb usb2-port2: over-current condition
[    3.455600] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    3.515602] usb usb2-port4: over-current condition
[    3.555649] pcie_plda 2c000000.pcie: Port link up.
[    3.561124] pcie_plda 2c000000.pcie: PCI host bridge to bus 0001:00
[    3.568083] pci_bus 0001:00: root bus resource [bus 00-ff]
[    3.574138] pci_bus 0001:00: root bus resource [mem 0x38000000-0x3fffffff]
[    3.581740] pci_bus 0001:00: root bus resource [mem 0x980000000-0x9bfffffff pref]
[    3.590032] pci 0001:00:00.0: [1556:1111] type 01 class 0x060400
[    3.596679] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0xffffffff 64bit pref]
[    3.604704] pci 0001:00:00.0: supports D1 D2
[    3.609424] pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    3.620264] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.629249] pci 0001:01:00.0: [1987:5013] type 00 class 0x010802
[    3.635911] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    3.638222] hub 1-1:1.0: USB hub found
[    3.643536] pci 0001:01:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x1 link at 0001:00:00.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[    3.648563] hub 1-1:1.0: 4 ports detected
[    3.667405] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[    3.675796] pci 0001:00:00.0: BAR 0: no space for [mem size 0x100000000 64bit pref]
[    3.684250] pci 0001:00:00.0: BAR 0: failed to assign [mem size 0x100000000 64bit pref]
[    3.693098] pci 0001:00:00.0: BAR 8: assigned [mem 0x38000000-0x380fffff]
[    3.700593] pci 0001:01:00.0: BAR 0: assigned [mem 0x38000000-0x38003fff 64bit]
[    3.708688] pci 0001:00:00.0: PCI bridge to [bus 01]
[    3.714160] pci 0001:00:00.0:   bridge window [mem 0x38000000-0x380fffff]
[    3.722096] nvme nvme0: pci function 0001:01:00.0
[    3.727354] pci 0001:00:00.0: enabling device (0000 -> 0002)
[    3.733602] nvme 0001:01:00.0: enabling device (0000 -> 0002)
[    3.740064] pcie_plda 2c000000.pcie: msi#0 address_hi 0x0 address_lo 0x190
[    3.741011] clk-starfive-jh7110-vout 295c0000.clock-controller: starfive JH7110 clk_vout init successfully.
[    3.770042] clk-starfive-jh7110-isp 19810000.clock-controller: starfive JH7110 clk_isp init successfully.
[    3.781256] dw_axi_dmac_platform 16050000.dma-controller: DesignWare AXI DMA Controller, 4 channels
[    3.792313] printk: console [ttyS0] disabled
[    3.817274] 10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 17, base_baud = 1500000) is a 16550A
[    3.827127] printk: console [ttyS0] enabled
[    3.827127] printk: console [ttyS0] enabled
[    3.835934] printk: bootconsole [uart0] disabled
[    3.835934] printk: bootconsole [uart0] disabled
[    3.846340] jh7110-vin 19800000.vin_sysctl: stfcamss probe enter!
[    3.854816] jh7110-vin 19800000.vin_sysctl: stfcamss probe success!
[    3.863702] dwmmc_starfive 16010000.sdio0: IDMAC supports 32-bit address mode.
[    3.864261] jh7110-sec 16000000.crypto: will run requests pump with realtime priority
[    3.871044] dwmmc_starfive 16010000.sdio0: Using internal DMA controller.
[    3.879760] dwmmc_starfive 16020000.sdio1: IDMAC supports 32-bit address mode.
[    3.882148] jh7110-sec 16000000.crypto: Initialized
[    3.883235] starfive-i2s 120b0000.i2stx_4ch0:  designware: play supported
[    3.883245] starfive-i2s 120b0000.i2stx_4ch0: designware: i2s master mode supported
[    3.883419] sf-mipi-dphy-tx 295e0000.mipi-dphy: sf_dphy_probe begin
[    3.883428] sf-mipi-dphy-tx 295e0000.mipi-dphy: ===> sf_dphy_probe enter, 445 
[    3.883562] sf-mipi-dphy-tx 295e0000.mipi-dphy: control ECO
[    3.883582] sf-mipi-dphy-tx 295e0000.mipi-dphy: supply mipi_1p8 not found, using dummy regulator
[    3.883855] sf-mipi-dphy-tx 295e0000.mipi-dphy: sf_dphy_probe end
[    3.884044] cdns-dsi 295d0000.mipi: dsi_sys_clk = 297000000
[    3.884289] cdns-dsi 295d0000.mipi: starfive dsi bind end
[    3.885729] dwmmc_starfive 16010000.sdio0: Version ID is 290a
1;-1fdone.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so skipping root file system
[    7.546940] EXT4-fs (mmcblk1p3): recovery complete
[    7.551824] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    7.764568] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    7.772312] CPU: 3 PID: 1 Comm: init Not tainted 5.15.0-starfive #1
/sbin/init: error while loading shared libraries: /usr/lib/riscv64-linux-gnu/systemd/libsystemd-core-251.so: invalid ELF header
[    7.789889] Hardware name: StarFive VisionFive V2 (DT)
[    7.789895] Call Trace:
[    7.789904] [<ffffffff8000488e>] dump_backtrace+0x1c/0x24
[    7.789924] [<ffffffff809977c8>] dump_stack_lvl+0x40/0x58
[    7.789943] [<ffffffff809977f4>] dump_stack+0x14/0x1c
[    7.789956] [<ffffffff80994cc8>] panic+0xf4/0x29e
[    7.789968] [<ffffffff8000e024>] do_exit+0x7da/0x7e0
[    7.823063] [<ffffffff8000ed28>] do_group_exit+0x2a/0x7e
[    7.823069] [<ffffffff8000ed94>] __wake_up_parent+0x0/0x20
[    7.823076] [<ffffffff80003046>] ret_from_syscall+0x0/0x2
[    7.839256] SMP: stopping secondary CPUs
[    7.843190] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 ]---

TLDR: Yes, try with a new micro SD card.
I’m too lazy to really go into that log, but micro SD cards can fail quite quickly. I’ve seen plenty of reports of people killing micro SD cards with a Raspberry Pi.
Micro SD cards are not made for excessive writes.
Perhaps it’s a good thing to minimize logging and use noatime.

Looks like fsck is missing and /usr/lib/riscv64-linux-gnu/systemd/libsystemd-core-251.so is corrupt and that would strongly suggest that there is a major problem with your current SD card. If you have another Linux system that can access the SD card, I’d try a fsck.ext4 on the root partition of your SD card. Is it a new card or one that has been used a lot ?

And if it is really really badly corrupt you may even need to specify an alternative superblocks (e.g. dumpe2f /dev/disk/by-partuuid/bf9d7e73-02 | grep superblock) with the -b flag to fsck. But only do something like that if a normal fsck tells you to do so.

2 Likes

Weird, cards from this manufacturer work well in my phones and I was not expecting much disk I/O here. I ran gparted check and repair on this card and even copied new libsystemd-core-251.so file, but that didn’t worked. New card worked.
Oh well, I guess I need to update firmware and check if it is possible to setup boot from M.2.

1 Like