VIM3 Pro 之前硬盘一直正常使用,运行一段时间后突然不认M.2固态硬盘

Which Khadas SBC do you use?

VIM3 Pro

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu

Which version of system do you use? Khadas official images, self built images, or others?

VIM3_pro_Ubuntu-server-focal_Linux-4.9_arm64_EMMC_V1.0.9-211217.img

Please describe your issue below:

主板突然不认M.2固态硬盘,断电重启也没有用。

Post a console log of your issue below:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.241 (build@fenix) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #18 SMP PREEMPT Fri Dec 17 17:10:53 CST 2021
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: Khadas VIM3
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: __reserved_mem_alloc_size, start:0x0000000005000000, end:0x0000000005400000, len:4 MiB
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000005000000, size 4 MiB
[    0.000000] OF: reserved mem: initialized node linux,secmon, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: __reserved_mem_alloc_size, start:0x000000007f800000, end:0x0000000080000000, len:8 MiB
[    0.000000] Reserved memory: created CMA memory pool at 0x000000007f800000, size 8 MiB
[    0.000000] OF: reserved mem: initialized node linux,meson-fb, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000e5800000, size 128 MiB
[    0.000000] OF: reserved mem: initialized node linux,ion-dev, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000e3000000, size 40 MiB
[    0.000000] OF: reserved mem: initialized node linux,di_cma, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000e3000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node linux,ppmgr, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000cfc00000, size 308 MiB
[    0.000000] OF: reserved mem: initialized node linux,codec_mm_cma, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: initialized node linux,codec_mm_reserved, compatible id amlogic, codec-mm-reserved
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000cbc00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,vdin0_cma, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000c7c00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,vdin1_cma, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000c6c00000, size 16 MiB
[    0.000000] OF: reserved mem: initialized node linux,galcore, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000a7c00000, size 496 MiB
[    0.000000] OF: reserved mem: initialized node linux,isp_cma, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000a4c00000, size 48 MiB
[    0.000000] OF: reserved mem: initialized node linux,adapt_cma, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000a0c00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,gdc_cma, compatible id shared-dma-pool
[    0.000000] cma: Reserved 8 MiB at 0x00000000a0400000
[    0.000000] On node 0 totalpages: 972800
[    0.000000]   DMA zone: 15200 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 972800 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 25 pages/cpu s64984 r8192 d29224 u102400
[    0.000000] pcpu-alloc: s64984 r8192 d29224 u102400 alloc=25*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 957600
[    0.000000] Kernel command line: root=UUID=fcf262b6-6f24-45d3-bd72-8a60bb683b38 rootfstype=ext4 rootflags=data=writeback rw ubootpart=NULL console=ttyS0,115200n8  no_console_suspend consoleblank=0 loglevel=0 logo=osd0,loaded,0x3d800000,panel vout=panel,enable hdmimode=1080p60hz  fbcon=rotate:0 fsck.repair=yes net.ifnames=0  wol_enable=0 max_freq_a53=1800 max_freq_a73=2208 jtag=disable mac=c8:63:14:72:4a:64  fan=auto khadas_board=VIM3 hwver=VIM3.V12 coherent_pool=2M pci=pcie_bus_perf reboot_mode=normal imagetype=EMMC uboottype=vendor splash quiet plymouth.ignore-serial-consoles vt.handoff=7 
[    0.000000] fb: osd0
[    0.000000] fb: loaded
[    0.000000] fb: 0x3d800000
[    0.000000] fb: panel
[    0.000000] vout: panel
[    0.000000] vout: enable: 1
[    0.000000] vout: get hdmimode: 1080p60hz
[    0.000000] init_wol_state, wol_enable=0
[    0.000000] max cpufreq of cluster0 : 1800MHz
[    0.000000] max cpufreq of cluster1 : 2208MHz
[    0.000000] jtag: jtag select disable
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Memory: 2502768K/3891200K available (15036K kernel code, 1874K rwdata, 6008K rodata, 5568K init, 1514K bss, 110480K reserved, 1277952K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8009080000 - 0xffffff8009f30000   ( 15040 KB)
[    0.000000]     .rodata : 0xffffff8009f30000 - 0xffffff800a520000   (  6080 KB)
[    0.000000]       .init : 0xffffff800a520000 - 0xffffff800aa90000   (  5568 KB)
[    0.000000]       .data : 0xffffff800aa90000 - 0xffffff800ac64a00   (  1875 KB)
[    0.000000]        .bss : 0xffffff800ac64a00 - 0xffffff800addf2c4   (  1515 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf03b60000   (    59 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc0ed800000   (  3800 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] irq_meson_gpio: 100 to 8 gpio interrupt mux initialized
[    0.000000] g12a_aoclkc_init: register ao clk ok!
[    0.000000] Meson chip version = RevB (29:B - 10:0)
[    0.000000] meson_g12a_sdemmc_init: register amlogic sdemmc clk
[    0.000000] meson_g12a_sdemmc_init: register amlogic sdemmc clk
[    0.000000] meson_g12a_gpu_init: register meson gpu clk
[    0.000000] meson_g12a_media_init: register meson media clk
[    0.000000] meson_g12a_misc_init: register amlogic g12a misc clks
[    0.000000] meson_g12a_misc_init: done.
[    0.000000] g12a_clkc_init initialization complete
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000041] meson_bc_timer: mclk->mux_reg =ffffff800800c190,mclk->reg =ffffff800800e194
[    0.000704] Console: colour dummy device 80x25
[    0.000720] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000728] pid_max: default: 32768 minimum: 301
[    0.000763] thread_stack_cache_init, vmap:ffffffc09b87a780, bitmap:ffffffc09b874000, cache page:9b880
[    0.000770] thread_stack_cache_init, allocation vm area:ffffffc09b83b780, addr:ffffff8020000000, size:20001000
[    0.000774] cpu 0, vmap_stack:[ffffffc0a02fbb20-ffffffc0a02ffb10]
[    0.000777] cpu 0, irq_stack: [ffffffc0a02f2060-ffffffc0a02f6050]
[    0.000780] cpu 1, vmap_stack:[ffffffc0a0314b20-ffffffc0a0318b10]
[    0.000783] cpu 1, irq_stack: [ffffffc0a030b060-ffffffc0a030f050]
[    0.000786] cpu 2, vmap_stack:[ffffffc0a032db20-ffffffc0a0331b10]
[    0.000788] cpu 2, irq_stack: [ffffffc0a0324060-ffffffc0a0328050]
[    0.000791] cpu 3, vmap_stack:[ffffffc0a0346b20-ffffffc0a034ab10]
[    0.000794] cpu 3, irq_stack: [ffffffc0a033d060-ffffffc0a0341050]
[    0.000797] cpu 4, vmap_stack:[ffffffc0a035fb20-ffffffc0a0363b10]
[    0.000800] cpu 4, irq_stack: [ffffffc0a0356060-ffffffc0a035a050]
[    0.000803] cpu 5, vmap_stack:[ffffffc0a0378b20-ffffffc0a037cb10]
[    0.000806] cpu 5, irq_stack: [ffffffc0a036f060-ffffffc0a0373050]
[    0.000869] Security Framework initialized
[    0.000875] SELinux:  Initializing.
[    0.000915] SELinux:  Starting in permissive mode
[    0.000945] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.000951] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.001608] ftrace: allocating 48516 entries in 190 pages
[    0.090453] sched-energy: Sched-energy-costs installed from DT
[    0.090464] CPU0: update cpu_capacity 631
[    0.090476] ASID allocator initialised with 65536 entries
[    0.150275] secmon: clear_range:5100000 200000
[    0.151100] EFI services will not be available.
[    0.198668] Detected VIPT I-cache on CPU1
[    0.198719] CPU1: update cpu_capacity 631
[    0.198721] CPU1: Booted secondary processor [410fd034]
[    0.231212] Detected VIPT I-cache on CPU2
[    0.231254] CPU2: update cpu_capacity 1192
[    0.231256] CPU2: Booted secondary processor [410fd092]
[    0.262774] Detected VIPT I-cache on CPU3
[    0.262797] CPU3: update cpu_capacity 1192
[    0.262800] CPU3: Booted secondary processor [410fd092]
[    0.294868] Detected VIPT I-cache on CPU4
[    0.294891] CPU4: update cpu_capacity 1192
[    0.294893] CPU4: Booted secondary processor [410fd092]
[    0.326956] Detected VIPT I-cache on CPU5
[    0.326978] CPU5: update cpu_capacity 1192
[    0.326980] CPU5: Booted secondary processor [410fd092]
[    0.327065] Brought up 6 CPUs
[    0.327074] SMP: Total of 6 processors activated.
[    0.327082] CPU features: detected feature: 32-bit EL0 Support
[    0.327219] CPU: All CPU(s) started at EL2
[    0.327260] alternatives: patching kernel code
[    0.329330] addr:ffffff80200c3e16 is in kernel, size fix 4096->10, data:mode=0755
[    0.329497] devtmpfs: initialized
[    0.344225] DMI not present or invalid.
[    0.344464] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.344477] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.344631] pinctrl core: initialized pinctrl subsystem
[    0.345323] NET: Registered protocol family 16
[    0.347442] schedtune: init normalization constants...
[    0.347451] schedtune: CLUSTER[0-1]      min_pwr:     0 max_pwr:    42
[    0.347456] schedtune: CPU[0]            min_pwr:     0 max_pwr:   279
[    0.347461] schedtune: CPU[1]            min_pwr:     0 max_pwr:   279
[    0.347466] schedtune: CLUSTER[2-5]      min_pwr:     0 max_pwr:   110
[    0.347470] schedtune: CPU[2]            min_pwr:     0 max_pwr:  1048
[    0.347474] schedtune: CPU[3]            min_pwr:     0 max_pwr:  1048
[    0.347478] schedtune: CPU[4]            min_pwr:     0 max_pwr:  1048
[    0.347482] schedtune: CPU[5]            min_pwr:     0 max_pwr:  1048
[    0.347485] schedtune: SYSTEM            min_pwr:     0 max_pwr:  4902
[    0.347490] schedtune: using normalization constants mul: 2882587190 sh1: 1 sh2: 12
[    0.347494] schedtune: verify normalization constants...
[    0.347498] schedtune: max_pwr/2^0: 4902 => norm_pwr:  1024
[    0.347502] schedtune: max_pwr/2^1: 2451 => norm_pwr:   512
[    0.347505] schedtune: max_pwr/2^2: 1225 => norm_pwr:   255
[    0.347509] schedtune: max_pwr/2^3:  612 => norm_pwr:   127
[    0.347512] schedtune: max_pwr/2^4:  306 => norm_pwr:    63
[    0.347516] schedtune: max_pwr/2^5:  153 => norm_pwr:    31
[    0.347519] schedtune: configured to support 5 boost groups
[    0.363049] cpuidle: using governor menu
[    0.363125] register canvas platform driver
[    0.363165] register rdma platform driver
[    0.363198] aml_vdac_init: module init
[    0.364780] vdso: 2 pages (1 code @ ffffff8009f37000, 1 data @ ffffff800aa95000)
[    0.364790] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.366265] DMA: preallocated 2048 KiB pool for atomic allocations
[    0.366395] clkmsr: clkmsr: driver init
[    0.366399] codec_mm_module_init
[    0.366425] media_configs_system_init
[    0.366790] pstore: using zlib compression
[    0.366820] console [pstore-1] enabled
[    0.366844] pstore: Registered ramoops as persistent store backend
[    0.366849] ramoops: attached 0x100000@0x7400000, ecc: 0/0
[    0.366853] ramoops: ramoops_io_en:0 1 old:0x0 ftrace_size:0x40000
[    0.368517] aml_iomap: amlogic iomap probe done
[    0.368929] vpu: driver version: v20190314(8-g12b)
[    0.368935] vpu: load vpu_clk: 666666667Hz(7)
[    0.369122] vpu: clktree_init
[    0.369158] vpu: vpu_probe OK
[    0.373614] clkmsr: msr_clk_reg0=ffffff800836d004,msr_clk_reg2=ffffff800837c00c
[    0.373623] clkmsr ffd18004.meson_clk_msr: failed to get msr ring reg0
[    0.378849] aml_vdac_probe:probe start.cpu_id:6,name:meson-g12ab-vdac
[    0.379069] aml_vdac_probe: ok
[    0.379211] canvas_probe reg=00000000ff638000,size=2000
[    0.379221] canvas maped reg_base =ffffff8008452000
[    0.384659] rdma_probe,cpu_type:0, ver:0, len:8
[    0.384893] rdma_register, rdma_table_addr ffffff8008475000 rdma_table_addr_phy a0600000 reg_buf ffffffc09b218000
[    0.384898] rdma_register success, handle 1 table_size 32768
[    0.384902] set_rdma_handle video rdma handle = 1.
[    0.384905] g12b revb!!!!
[    0.384947] rdma_register, rdma_table_addr ffffff8008491000 rdma_table_addr_phy a0608000 reg_buf ffffffc09b220000
[    0.384951] rdma_register success, handle 2 table_size 32768
[    0.384955] set_rdma_handle video rdma handle = 2.
[    0.385940] aml_snd_reg_map[0], reg:ff640000, size:2000
[    0.385954] aml_snd_reg_map[1], reg:ff642000, size:2000
[    0.385967] aml_snd_reg_map[2], reg:ff64a000, size:2000
[    0.385979] aml_snd_reg_map[3], reg:ff656000, size:1800
[    0.385993] aml_snd_reg_map[4], reg:ffd01000, size:1000
[    0.385997] amlogic auge_snd_iomap probe done
[    0.388669] codec_mm codec_mm: assigned reserved memory node linux,codec_mm_cma
[    0.388735] codec_mm codec_mm: assigned reserved memory node linux,codec_mm_cma
[    0.388738] codec_mm_probe ok
[    0.547773] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.548388] vgaarb: loaded
[    0.548604] SCSI subsystem initialized
[    0.548803] usbcore: registered new interface driver usbfs
[    0.548852] usbcore: registered new interface driver hub
[    0.548918] usbcore: registered new device driver usb
[    0.549017] Linux video capture interface: v2.00
[    0.549093] pps_core: LinuxPPS API ver. 1 registered
[    0.549097] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.549115] PTP clock support registered
[    0.549402] dmi: Firmware registration failed.
[    0.549708] secmon: reserve_mem_size:0x300000
[    0.549786] secmon secmon: assigned reserved memory node linux,secmon
[    0.550196] secmon: get page:ffffffbf00140000, 5000
[    0.550202] secmon: share in base: 0xffffffc0050fe000, share out base: 0xffffffc0050ff000
[    0.550206] secmon: phy_in_base: 0x50fe000, phy_out_base: 0x50ff000
[    0.550998] hdmitx: system: amhdmitx_probe start
[    0.551002] hdmitx: system: Ver: 20190624
[    0.551028] hdmitx: system: hdmitx_device.chip_type : 11
[    0.551057] hdmitx: system: not find match pwr-ctl
[    0.551086] hdmitx: system: not find drm_amhdmitx
[    0.551109] hdmitx: system: hpd irq = 37
[    0.551209] hdmitx: system: hdcp22_tx_skp failed to probe
[    0.551214] hdmitx: system: hdcp22_tx_esm failed to probe
[    0.551575] vout: vout1: register server: hdmitx_vout_server
[    0.551580] vout: vout2: register server: hdmitx_vout2_server
[    0.552042] hdmitx: hdmitx20: Mapped PHY: 0xffd00000
[    0.552054] hdmitx: hdmitx20: Mapped PHY: 0xff634400
[    0.552064] hdmitx: hdmitx20: Mapped PHY: 0xff900000
[    0.552081] hdmitx: hdmitx20: Mapped PHY: 0xff800000
[    0.552087] hdmitx: hdmitx20: Mapped PHY: 0xff63c000
[    0.552092] hdmitx: hdmitx20: Mapped PHY: 0xffd00000
[    0.552097] hdmitx: hdmitx20: Mapped PHY: 0xff608000
[    0.552102] hdmitx: hdmitx20: Mapped PHY: 0xff600000
[    0.552108] hdmitx: hdmitx20: Mapped PHY: 0xffe01000
[    0.552116] hdmitx: hw: hdmitx_get_format:0x0
[    0.552120] hdmitx: hw: P_HHI_HDMI_CLK_CNTL :0x100
[    0.552124] hdmitx: hw: P_HHI_HDMI_PLL_CNTL :0x20000000
[    0.552347] hdmitx: hw: avmute set to 1
[    0.552353] hdmitx: system: fmt_attr default
[    0.552417] hdmitx: system: amhdmitx_probe end
[    0.552881] lcd: driver version: 20181012(5-g12a)
[    0.552970] lcd: detect mode: tablet, fr_auto_policy: 0, key_valid: 0
[    0.552975] lcd: detect lcd_clk_path: 1
[    0.553194] lcd: lcd_clktree_probe
[    0.553198] lcd: status: 3
[    0.553204] vout: vout1: register server: lcd_vout_server
[    0.553208] vout: vout2: register server: lcd_vout2_server
[    0.553213] lcd: lcd_get_config from dts
[    0.553218] lcd: error: failed to get null
[    0.553233] lcd: , invalid, 0bit, 1080x1920
[    0.553239] lcd: error: Out of clock range, reset to default setting
[    0.553315] lcd: error: lcd_debug_info_if is null
[    0.553435] lcd: lcd_fops_create OK
[    0.553469] lcd: request lcd_vsync_irq successful
[    0.553497] lcd: request lcd_vsync2_irq successful
[    0.553501] lcd: lcd_probe ok
[    0.553764] vout: create vout attribute OK
[    0.553862] vout: vout_fops_create OK
[    0.553867] vout: vout1: register server: nulldisp_vout_server
[    0.553942] vout: tvout monitor interval:500(ms), timeout cnt:20
[    0.553959] vout: vout_func_update_viu: 1, mux_sel=2, clk_sel=0
[    0.553963] hdmitx: hdmitx_set_current_vmode[3725]
[    0.553967] hdmitx: system: recalc before 1080p60hz 60 1
[    0.553972] hdmitx: system: recalc after 1080p60hz 2997 50
[    0.553975] hdmitx: alread display in uboot
[    0.553979] vout: init mode 1080p60hz set ok
[    0.553982] vout: aml_tvout_mode_monitor
[    0.553992] vout: aml_vout_probe OK
[    0.554394] amlogic-pcie-v2 fc000000.pcieA: amlogic_pcie_probe!
[    0.556630] OF: PCI: host bridge /pcieA@fc000000 ranges:
[    0.556648] OF: PCI:    IO 0xfc600000..0xfc9fffff -> 0x00000000
[    0.556657] OF: PCI:   MEM 0xfca00000..0xfdffffff -> 0xfca00000
[    0.557424] amlogic-pcie-v2 fc000000.pcieA: Set the RC Bus Master, Memory Space and I/O Space enables.
[    0.557429] amlogic-pcie-v2 fc000000.pcieA: normal gpio
[    0.557452] amlogic-pcie-v2 fc000000.pcieA: GPIO normal: amlogic_pcie_assert_reset
[    0.649127] amlogic-pcie-v2 fc000000.pcieA: Error: Wait linkup timeout.
[    0.825290] amlogic-pcie-v2 fc000000.pcieA: Error: Wait linkup timeout.
[    1.001460] amlogic-pcie-v2 fc000000.pcieA: Error: Wait linkup timeout.
[    1.177608] amlogic-pcie-v2 fc000000.pcieA: Error: Wait linkup timeout.
[    1.353762] amlogic-pcie-v2 fc000000.pcieA: Error: Wait linkup timeout.
[    1.529915] amlogic-pcie-v2 fc000000.pcieA: Error: Wait linkup timeout.
[    1.706068] amlogic-pcie-v2 fc000000.pcieA: Error: Wait linkup timeout.
[    1.882218] amlogic-pcie-v2 fc000000.pcieA: Error: Wait linkup timeout.
[    2.058364] amlogic-pcie-v2 fc000000.pcieA: Error: Wait linkup timeout.
[    2.234518] amlogic-pcie-v2 fc000000.pcieA: Error: Wait linkup timeout.
[    2.328988] amlogic-pcie-v2 fc000000.pcieA: phy link never came up
[    2.329124] amlogic-pcie-v2 fc000000.pcieA: PCI host bridge to bus 0000:00
[    2.329132] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.329138] pci_bus 0000:00: root bus resource [io  0x0000-0x3fffff]
[    2.329144] pci_bus 0000:00: root bus resource [mem 0xfca00000-0xfdffffff]
[    2.329172] amlogic-pcie-v2 fc000000.pcieA: link timeout, disable PCIE PLL
[    2.329187] amlogic-pcie-v2 fc000000.pcieA: power down pcie phy
[    2.329466] chip type:0x29

Delete this line and post your log here.

之前硬盘一直正常,运行一段时间后,启动后无法找到M.2硬盘,没有/dev/nvme0n1
使用 echo 1 > /sys/class/mcu/usb_pcie_switch_mode
切换也模式也不起作用。

将M.2硬盘拿出来,使用移动硬盘(支持M.2)测试,硬盘状态正常。

Hello @jelly

有试过别的硬盘在这个板子上可以用吗?

不是每次都不可用,有时可以有时不行,运行着可以,过一段时间后,设备有可能会掉硬盘,也有可能重启后找不到硬盘。