写代码要加注释 2024-09-03 13:50 采纳率: 25%
浏览 14

linux 启动系统加载kernel后卡在Waiting for root device /dev/sda2...

grub.cfg

# Automatically created by OE
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
search --no-floppy --set=root -l 'boot'

default=boot
timeout=10

menuentry 'Ubuntu 20.04.1 LTS'{
#    linux /vmlinuz root=PARTUUID="630F0A08-33AD-EF48-8387-2B3ECDE6C2AA" rootwait rw console=ttyAMA1,115200
    linux /Image LABEL=boot root=/dev/sda2 rw rootwait console=ttyAMA1,115200
}

#set default="0"
#set timeout="5"

#menuentry "Buildroot" {
#       linux /Image root=PARTUUID="0a52c129-7e0f-43ad-989f-d96b07ccdbb2" rootwait rw console=ttyAMA0,115200
#}

linux kernel log


[    0.000000] Booting Linux on physical CPU 0x0000000200 [0x700f3034]
[    0.000000] Linux version 4.19.246-phytium-embedded-v2.1 (lts@lts-virtual-machine) (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #1 SMP PREEMPT Wed Aug 28 15:31:52 CST 2024
[    0.000000] Machine model: miniITX-E2000Q Board
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: EFI v2.70 by Cherry Platform
[    0.000000] efi:  SMBIOS=0xf6c30000  SMBIOS 3.0=0xf6c10000  MEMATTR=0xf8b56018  MEMRESERVE=0xf6f82e18
[    0.000000] cma: Reserved 32 MiB at 0x00000000f9c00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 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.2
[    0.000000] random: get_random_bytes called from start_kernel+0xa0/0x410 with crng_init=0
[    0.000000] percpu: Embedded 22 pages/cpu s53016 r8192 d28904 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2048000
[    0.000000] Kernel command line: BOOT_IMAGE=/Image LABEL=boot root=/dev/sda2 rw rootwait console=ttyAMA1,115200
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] software IO TLB: mapped [mem 0xf2960000-0xf6960000] (64MB)
[    0.000000] Memory: 8055800K/8323072K available (11580K kernel code, 698K rwdata, 3744K rodata, 704K init, 369K bss, 234504K reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    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] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 200 region 0:0x00000000308c0000
[    0.000000] ITS [mem 0x30820000-0x3083ffff]
[    0.000000] ITS@0x0000000030820000: allocated 65536 Devices @2176c80000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000002176c30000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000002176c40000
[    0.000000] arch_timer: cp15 timer(s) running at 50.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
[    0.000002] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
[    0.000207] Console: colour dummy device 80x25
[    0.000236] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=200000)
[    0.000243] pid_max: default: 32768 minimum: 301
[    0.000303] Security Framework initialized
[    0.000350] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.000370] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.001319] ASID allocator initialised with 32768 entries
[    0.001373] rcu: Hierarchical SRCU implementation.
[    0.001564] Platform MSI: gic-its@30820000 domain created
[    0.001686] PCI/MSI: /interrupt-controller@30800000/gic-its@30820000 domain created
[    0.001786] Remapping and enabling EFI services.
[    0.002062] smp: Bringing up secondary CPUs ...
[    0.026463] Detected VIPT I-cache on CPU1
[    0.026490] GICv3: CPU1: found redistributor 201 region 0:0x00000000308e0000
[    0.026522] GICv3: CPU1: using allocated LPI pending table @0x0000002176c50000
[    0.026554] CPU1: Booted secondary processor 0x0000000201 [0x700f3034]
[    0.053189] Detected PIPT I-cache on CPU2
[    0.053197] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64ISAR0_EL1. Boot CPU: 0x00011100012120, CPU2: 0x00000100012120
[    0.053203] CPU features: SANITY CHECK: Unexpected variation in SYS_MVFR0_EL1. Boot CPU: 0x00000010110222, CPU2: 0x00000010111222
[    0.053205] CPU features: Unsupported CPU feature variation detected.
[    0.053212] GICv3: CPU2: found redistributor 0 region 0:0x0000000030880000
[    0.053235] GICv3: CPU2: using allocated LPI pending table @0x0000002176c60000
[    0.053252] CPU2: Booted secondary processor 0x0000000000 [0x701f6643]
[    0.080090] Detected PIPT I-cache on CPU3
[    0.080096] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64ISAR0_EL1. Boot CPU: 0x00011100012120, CPU3: 0x00000100012120
[    0.080101] CPU features: SANITY CHECK: Unexpected variation in SYS_MVFR0_EL1. Boot CPU: 0x00000010110222, CPU3: 0x00000010111222
[    0.080107] GICv3: CPU3: found redistributor 100 region 0:0x00000000308a0000
[    0.080126] GICv3: CPU3: using allocated LPI pending table @0x0000002176c70000
[    0.080140] CPU3: Booted secondary processor 0x0000000100 [0x701f6643]
[    0.080184] smp: Brought up 1 node, 4 CPUs
[    0.080227] SMP: Total of 4 processors activated.
[    0.080233] CPU features: detected: GIC system register CPU interface
[    0.080237] CPU features: detected: 32-bit EL0 Support
[    0.080241] CPU features: detected: CRC32 instructions
[    0.083684] CPU: All CPU(s) started at EL2
[    0.083700] alternatives: patching kernel code
[    0.084904] devtmpfs: initialized
[    0.087836] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.087851] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.088599] pinctrl core: initialized pinctrl subsystem
[    0.089229] SMBIOS 3.3.0 present.
[    0.089244] DMI: PHYTIUM LTD E2000/E2000, BIOS 785c4adb-dirty Mar 14 2024
[    0.089470] NET: Registered protocol family 16
[    0.089718] audit: initializing netlink subsys (disabled)
[    0.089780] audit: type=2000 audit(0.032:1): state=initialized audit_enabled=0 res=1
[    0.090374] cpuidle: using governor ladder
[    0.090389] cpuidle: using governor menu
[    0.090606] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.091191] DMA: preallocated 256 KiB pool for atomic allocations
[    0.091299] Serial: AMBA PL011 UART driver
[    0.092358] 2800c000.uart: ttyAMA0 at MMIO 0x2800c000 (irq = 11, base_baud = 0) is a PL011 rev3
[    0.092790] 2800d000.uart: ttyAMA1 at MMIO 0x2800d000 (irq = 12, base_baud = 0) is a PL011 rev3
[    0.700553] console [ttyAMA1] enabled
[    0.704636] 2800e000.uart: ttyAMA2 at MMIO 0x2800e000 (irq = 13, base_baud = 0) is a PL011 rev3
[    0.713677] 2800f000.uart: ttyAMA3 at MMIO 0x2800f000 (irq = 14, base_baud = 0) is a PL011 rev3
[    0.735856] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.742816] cryptd: max_cpu_qlen set to 1000
[    0.747471] ACPI: Interpreter disabled.
[    0.752133] vgaarb: loaded
[    0.755023] SCSI subsystem initialized
[    0.759126] usbcore: registered new interface driver usbfs
[    0.764663] usbcore: registered new interface driver hub
[    0.770003] usbcore: registered new device driver usb
[    0.775391] pps_core: LinuxPPS API ver. 1 registered
[    0.780362] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.789502] PTP clock support registered
[    0.793545] EDAC MC: Ver: 3.0.0
[    0.796944] Registered efivars operations
[    0.801293] Advanced Linux Sound Architecture Driver Initialized.
[    0.807721] Bluetooth: Core ver 2.22
[    0.811311] NET: Registered protocol family 31
[    0.815754] Bluetooth: HCI device and connection manager initialized
[    0.822110] Bluetooth: HCI socket layer initialized
[    0.826988] Bluetooth: L2CAP socket layer initialized
[    0.832048] Bluetooth: SCO socket layer initialized
[    0.837274] clocksource: Switched to clocksource arch_sys_counter
[    0.843490] VFS: Disk quotas dquot_6.6.0
[    0.847447] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.854431] pnp: PnP ACPI: disabled
[    0.862005] NET: Registered protocol family 2
[    0.866555] IP idents hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.875259] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes)
[    0.883158] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[    0.890695] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.898042] TCP: Hash tables configured (established 65536 bind 65536)
[    0.904684] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[    0.910891] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[    0.917630] NET: Registered protocol family 1
[    0.922267] RPC: Registered named UNIX socket transport module.
[    0.928200] RPC: Registered udp transport module.
[    0.932899] RPC: Registered tcp transport module.
[    0.937598] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.944825] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.952744] kvm [1]: 8-bit VMID
[    0.956168] kvm [1]: vgic-v2@30860000
[    0.959841] kvm [1]: GIC system register CPU interface enabled
[    0.965723] kvm [1]: vgic interrupt IRQ1
[    0.969716] kvm [1]: Hyp mode initialized successfully
[    0.977564] Initialise system trusted keyrings
[    0.982122] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[    0.992862] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.999219] NFS: Registering the id_resolver key type
[    1.004299] Key type id_resolver registered
[    1.008478] Key type id_legacy registered
[    1.012492] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.019188] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.026582] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.036064] NET: Registered protocol family 38
[    1.040582] Key type asymmetric registered
[    1.044681] Asymmetric key parser 'x509' registered
[    1.049597] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.056993] io scheduler noop registered
[    1.060911] io scheduler deadline registered
[    1.065302] io scheduler cfq registered (default)
[    1.070006] io scheduler mq-deadline registered
[    1.074531] io scheduler kyber registered
[    1.079469] gpio-phytium-platform 28034000.gpio: Phytium GPIO controller @0x0000000028034000 registered
[    1.089183] gpio-phytium-platform 28035000.gpio: Phytium GPIO controller @0x0000000028035000 registered
[    1.098859] gpio-phytium-platform 28036000.gpio: Phytium GPIO controller @0x0000000028036000 registered
[    1.108324] gpio-phytium-platform 28037000.gpio: no irq is found.
[    1.114559] gpio-phytium-platform 28037000.gpio: Phytium GPIO controller @0x0000000028037000 registered
[    1.124023] gpio-phytium-platform 28038000.gpio: no irq is found.
[    1.130235] gpio-phytium-platform 28038000.gpio: Phytium GPIO controller @0x0000000028038000 registered
[    1.139689] gpio-phytium-platform 28039000.gpio: no irq is found.
[    1.145904] gpio-phytium-platform 28039000.gpio: Phytium GPIO controller @0x0000000028039000 registered
[    1.156067] pci-host-generic 40000000.pcie: host bridge /soc/pcie@40000000 ranges:
[    1.163670] pci-host-generic 40000000.pcie:    IO 0x50000000..0x50efffff -> 0x00000000
[    1.171594] pci-host-generic 40000000.pcie:   MEM 0x58000000..0x7fffffff -> 0x58000000
[    1.179512] pci-host-generic 40000000.pcie:   MEM 0x1000000000..0x1fffffffff -> 0x1000000000
[    1.188013] pci-host-generic 40000000.pcie: ECAM at [mem 0x40000000-0x4fffffff] for [bus 00-ff]
[    1.196804] pci-host-generic 40000000.pcie: PCI host bridge to bus 0000:00
[    1.203679] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.209165] pci_bus 0000:00: root bus resource [io  0x0000-0xefffff]
[    1.215515] pci_bus 0000:00: root bus resource [mem 0x58000000-0x7fffffff]
[    1.222388] pci_bus 0000:00: root bus resource [mem 0x1000000000-0x1fffffffff]
[    1.232591] pci 0000:00:00.0: BAR 14: assigned [mem 0x58000000-0x581fffff]
[    1.239480] pci 0000:00:00.0: BAR 15: assigned [mem 0x1000000000-0x10001fffff 64bit pref]
[    1.247656] pci 0000:00:02.0: BAR 0: assigned [mem 0x1000200000-0x10002fffff 64bit pref]
[    1.255753] pci 0000:00:02.0: BAR 14: assigned [mem 0x58200000-0x583fffff]
[    1.262627] pci 0000:00:02.0: BAR 15: assigned [mem 0x1000300000-0x10004fffff 64bit pref]
[    1.270802] pci 0000:00:00.0: BAR 0: assigned [mem 0x58400000-0x58400fff]
[    1.277588] pci 0000:00:00.0: BAR 13: assigned [io  0x1000-0x1fff]
[    1.283767] pci 0000:00:02.0: BAR 13: assigned [io  0x2000-0x2fff]
[    1.289946] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.294912] pci 0000:00:00.0:   bridge window [io  0x1000-0x1fff]
[    1.301006] pci 0000:00:00.0:   bridge window [mem 0x58000000-0x581fffff]
[    1.307792] pci 0000:00:00.0:   bridge window [mem 0x1000000000-0x10001fffff 64bit pref]
[    1.315878] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.320839] pci 0000:00:02.0:   bridge window [io  0x2000-0x2fff]
[    1.326929] pci 0000:00:02.0:   bridge window [mem 0x58200000-0x583fffff]
[    1.333713] pci 0000:00:02.0:   bridge window [mem 0x1000300000-0x10004fffff 64bit pref]
[    1.342307] EINJ: ACPI disabled.
[    1.347656] Serial: Phytium PCI UART driver
[    1.352401] random: fast init done
[    1.352627] arm-smmu-v3 30000000.iommu: ias 40-bit, oas 40-bit (features 0x00001faf)
[    1.355823] random: crng init done
[    1.363769] arm-smmu-v3 30000000.iommu: allocated 65536 entries for cmdq
[    1.373922] arm-smmu-v3 30000000.iommu: allocated 32768 entries for evtq
[    1.381895] arm-smmu-v3 30000000.iommu: msi_domain absent - falling back to wired irqs
[    1.391139] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.397757] [drm] No driver support for vblank timestamp query.
[    1.436711] [drm] Cannot find any crtc or sizes
[    1.441325] [drm] Initialized dc 1.1.0 20201220 for 32000000.dc on minor 0
[    1.463207] [drm] aux(1) read reply timeout
[    1.482999] [drm] aux(1) read reply timeout
[    1.502786] [drm] aux(1) read reply timeout
[    1.522574] [drm] aux(1) read reply timeout
[    1.542361] [drm] aux(1) read reply timeout
[    1.562148] [drm] aux(1) read reply timeout
[    1.581935] [drm] aux(1) read reply timeout
[    1.601722] [drm] aux(1) read reply timeout
[    1.621508] [drm] aux(1) read reply timeout
[    1.641295] [drm] aux(1) read reply timeout
[    1.661082] [drm] aux(1) read reply timeout
[    1.680870] [drm] aux(1) read reply timeout
[    1.700658] [drm] aux(1) read reply timeout
[    1.720446] [drm] aux(1) read reply timeout
[    1.740232] [drm] aux(1) read reply timeout
[    1.760019] [drm] aux(1) read reply timeout
[    1.779806] [drm] aux(1) read reply timeout
[    1.799593] [drm] aux(1) read reply timeout
[    1.819380] [drm] aux(1) read reply timeout
[    1.839166] [drm] aux(1) read reply timeout
[    1.858953] [drm] aux(1) read reply timeout
[    1.878739] [drm] aux(1) read reply timeout
[    1.898526] [drm] aux(1) read reply timeout
[    1.918313] [drm] aux(1) read reply timeout
[    1.938100] [drm] aux(1) read reply timeout
[    1.957887] [drm] aux(1) read reply timeout
[    1.977673] [drm] aux(1) read reply timeout
[    1.997460] [drm] aux(1) read reply timeout
[    2.017246] [drm] aux(1) read reply timeout
[    2.037035] [drm] aux(1) read reply timeout
[    2.056823] [drm] aux(1) read reply timeout
[    2.076611] [drm] aux(1) read reply timeout
[    2.080801] [drm:phytium_dp_needs_link_retrain] *ERROR* failed to get link status(DP_LANE0_1_STATUS)
[    2.104931] [drm] aux(1) read reply timeout
[    2.124719] [drm] aux(1) read reply timeout
[    2.144508] [drm] aux(1) read reply timeout
[    2.164295] [drm] aux(1) read reply timeout
[    2.184082] [drm] aux(1) read reply timeout
[    2.203869] [drm] aux(1) read reply timeout
[    2.223656] [drm] aux(1) read reply timeout
[    2.243443] [drm] aux(1) read reply timeout
[    2.263230] [drm] aux(1) read reply timeout
[    2.283017] [drm] aux(1) read reply timeout
[    2.302804] [drm] aux(1) read reply timeout
[    2.322591] [drm] aux(1) read reply timeout
[    2.342377] [drm] aux(1) read reply timeout
[    2.362163] [drm] aux(1) read reply timeout
[    2.381950] [drm] aux(1) read reply timeout
[    2.401737] [drm] aux(1) read reply timeout
[    2.421523] [drm] aux(1) read reply timeout
[    2.441310] [drm] aux(1) read reply timeout
[    2.461097] [drm] aux(1) read reply timeout
[    2.480883] [drm] aux(1) read reply timeout
[    2.500671] [drm] aux(1) read reply timeout
[    2.520459] [drm] aux(1) read reply timeout
[    2.540245] [drm] aux(1) read reply timeout
[    2.560032] [drm] aux(1) read reply timeout
[    2.579819] [drm] aux(1) read reply timeout
[    2.599605] [drm] aux(1) read reply timeout
[    2.619391] [drm] aux(1) read reply timeout
[    2.639178] [drm] aux(1) read reply timeout
[    2.658965] [drm] aux(1) read reply timeout
[    2.678752] [drm] aux(1) read reply timeout
[    2.698538] [drm] aux(1) read reply timeout
[    2.718325] [drm] aux(1) read reply timeout
[    2.722505] [drm:phytium_dp_get_dpcd] *ERROR* port 1 get DPCD capability fail
[    2.735507] brd: module loaded
[    2.743172] loop: module loaded
[    2.747901] ahci 31a40000.sata: SSS flag set, parallel bus scan disabled
[    2.754631] ahci 31a40000.sata: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    2.763160] ahci 31a40000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc sadm sds apst
[    2.773735] scsi host0: ahci
[    2.776855] ata1: SATA max UDMA/133 mmio [mem 0x31a40000-0x31a40fff] port 0x100 irq 82
[    2.784939] ahci 32014000.sata: SSS flag set, parallel bus scan disabled
[    2.791656] ahci 32014000.sata: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    2.800181] ahci 32014000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc sadm sds apst
[    2.810802] scsi host1: ahci
[    2.813869] ata2: SATA max UDMA/133 mmio [mem 0x32014000-0x32014fff] port 0x100 irq 83
[    2.824079] tun: Universal TUN/TAP device driver, 1.6
[    2.829316] CAN device driver interface
[    2.833501] thunder_xcv, ver 1.0
[    2.836744] thunder_bgx, ver 1.0
[    2.839995] nicpf, ver 1.0
[    2.842787] sky2: driver version 1.30
[    2.846585] PPP generic driver version 2.4.2
[    2.850967] PPP Deflate Compression module registered
[    2.856050] usbcore: registered new interface driver asix
[    2.861494] usbcore: registered new interface driver ax88179_178a
[    2.867607] usbcore: registered new interface driver cdc_ether
[    2.873454] usbcore: registered new interface driver net1080
[    2.879134] usbcore: registered new interface driver cdc_subset
[    2.885068] usbcore: registered new interface driver zaurus
[    2.890666] usbcore: registered new interface driver cdc_ncm
[    2.896341] usbcore: registered new interface driver qmi_wwan
[    2.902186] VFIO - User Level meta-driver version: 0.3
[    2.908112] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.914651] ehci-pci: EHCI PCI platform driver
[    2.919125] ehci-platform: EHCI generic platform driver
[    2.924416] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.930607] ohci-pci: OHCI PCI platform driver
[    2.935078] ohci-platform: OHCI generic platform driver
[    2.940537] usbcore: registered new interface driver cdc_acm
[    2.946198] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.954221] usbcore: registered new interface driver cdc_wdm
[    2.959907] usbcore: registered new interface driver usb-storage
[    2.965966] usbcore: registered new interface driver ch341
[    2.971465] usbserial: USB Serial support registered for ch341-uart
[    2.977748] usbcore: registered new interface driver option
[    2.983331] usbserial: USB Serial support registered for GSM modem (1-port)
[    3.009848] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
[    3.016017] i2c /dev entries driver
[    3.020783] rtc-ds1307 0-0068: registered as rtc1
[    3.026156] rtc-ds1307: probe of 1-0068 failed with error -121
[    3.032634] Bluetooth: HCI UART driver ver 2.3
[    3.037105] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    3.043665] sdhci: Secure Digital Host Controller Interface driver
[    3.049851] sdhci: Copyright(c) Pierre Ossman
[    3.054346] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.060200] ledtrig-cpu: registered to indicate activity on CPUs
[    3.067212] usbcore: registered new interface driver usbhid
[    3.072795] usbhid: USB HID core driver
[    3.076821] phytium-mbox 32a00000.mailbox: Phytium SoC Mailbox registered
[    3.086600] NET: Registered protocol family 17
[    3.091077] can: controller area network core (rev 20170425 abi 9)
[    3.097282] ft-hda 28006000.hda: no codecs found!
[    3.099390] ata1: SATA link down (SStatus 0 SControl 300)
[    3.100227] NET: Registered protocol family 29
[    3.100273] Key type dns_resolver registered
[    3.100670] registered taskstats version 1
[    3.100673] Loading compiled-in X.509 certificates
[    3.101491] iommu: Adding device 0000:00:00.0 to group 0
[    3.101870] pcieport 0000:00:00.0: Signaling PME with IRQ 95
[    3.101949] pcieport 0000:00:00.0: AER enabled with IRQ 95
[    3.102009] pciehp 0000:00:00.0:pcie004: Slot #0 AttnBtn- PwrCtrl+ MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Interlock- NoCompl- LLActRep+
[    3.137737] ata2: SATA link down (SStatus 0 SControl 300)
[    3.159652] iommu: Adding device 0000:00:02.0 to group 1
[    3.165341] pcieport 0000:00:02.0: Signaling PME with IRQ 96
[    3.171081] pcieport 0000:00:02.0: AER enabled with IRQ 96
[    3.176625] pciehp 0000:00:02.0:pcie004: Slot #0 AttnBtn- PwrCtrl+ MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Interlock- NoCompl- LLActRep+
[    3.189721] arm-scmi firmware:scmi: SCMI Protocol v2.0 'Phytium:E2000' Firmware version 0x2050000
[    3.199137] OF: /sound/simple-audio-card,codec: could not find phandle
[    3.205670] asoc-simple-card sound: parse error -22
[    3.210554] asoc-simple-card: probe of sound failed with error -22
[    3.216984] OF: /cpus/cpu@0: could not find phandle
[    3.221865] cpu cpu0: failed to add opps to the device
[    3.227035] OF: /cpus/cpu@1: could not find phandle
[    3.231912] cpu cpu1: failed to add opps to the device
[    3.237076] OF: /cpus/cpu@100: could not find phandle
[    3.242128] cpu cpu2: failed to add opps to the device
[    3.247292] OF: /cpus/cpu@101: could not find phandle
[    3.252342] cpu cpu3: failed to add opps to the device
[    3.282106] rtc-efi rtc-efi: setting system clock to 2024-09-03 05:43:11 UTC (1725342191)
[    3.290286] of_cfs_init
[    3.292751] of_cfs_init: OK
[    3.295639] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.304318] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.310907] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.313283] ALSA device list:
[    3.319519] cfg80211: failed to load regulatory.db
[    3.322485]   No soundcards found.
[    3.330812] uart-pl011 2800d000.uart: no DMA platform data
[    3.336430] Waiting for root device /dev/sda2...

  • 写回答

1条回答 默认 最新

  • 吃不了席 2024-09-03 18:03
    关注

    以下回复参考:皆我百晓生券券喵儿等免费微信小程序作答:

    Linux启动时遇到问题,主要可能有以下几个原因:

    1. 硬盘分区错误:检查硬盘是否正确分区,尤其是根分区。

    2. 文件系统损坏:尝试重新格式化硬盘,并且使用命令mkfs.ext4 /dev/sda2进行格式化。

    3. 驱动程序错误:检查是否有最新的驱动程序安装并启用,或者尝试更新硬件驱动。

    4. 系统文件冲突:检查是否有其他系统文件与当前文件冲突,可以尝试删除冲突文件。

    5. 操作系统版本不兼容:确保您的系统与操作系统兼容。

    为了解决这个问题,您可以按照以下步骤操作:

    1. 切换到单用户模式:
    sudo su
    
    1. 检查硬盘状态:
    lsblk
    
    1. 格式化硬盘:
    sudo mkfs.ext4 /dev/sda2
    
    1. 安装最新驱动程序:
    sudo apt update && sudo apt install libpci-dev libpciutils libpciutil libpci-tools
    
    1. 如果以上方法都不能解决问题,建议您联系专业的技术支持人员。

    如果您想查看详细的错误日志,可以运行以下命令:

    cat /var/log/syslog
    

    这应该能帮您解决Linux启动时遇到的问题。

    评论

报告相同问题?

问题事件

  • 修改了问题 9月3日
  • 修改了问题 9月3日
  • 创建了问题 9月3日

悬赏问题

  • ¥100 两个按钮控制一个LED
  • ¥15 用C语言写离散数学相关问题
  • ¥30 如何用python的GephiStreamer连接到gephi中,把Python和Gephi的具体操作过程都展示,重点回答Gephi软件的调试,以及如果代码的端口在浏览器中无法显示怎么处理
  • ¥15 ansys机翼建模肋参数
  • ¥15 Sumo软件无法运行
  • ¥15 如何在vscode里搭建stata的编辑环境?
  • ¥15 dify知识库创建问题
  • ¥15 如何用C#的chart画1000万个点不卡顿
  • ¥15 爬虫技术找到网上看过房源客户的电话
  • ¥20 代码:Python随机森林反演生物量数据处理问题