微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

内核恐慌 - 未同步:请求的 init /linuxrc 失败错误 -8

如何解决内核恐慌 - 未同步:请求的 init /linuxrc 失败错误 -8

1.BusyBox应该没问题,因为我把rootfs放在mmcblk0p6上,用raminitfs挂载mmcblk0p6后,可以手动挂载mmcblk0p6,执行所有./ls ./pwd等

  1. 我使用引导参数, bootargs = "mem=4064M console=ttyS1,230400n8 earlyprintk=dw_uart,
    0x04992000 initcall_debug=0 loglevel=8 root=/dev/mmcblk0p6 rw rootwait rootfstype=ext4 init=/linuxrc
    blkdevparts=mmcblk0:512K(spl),1M(uboot),1M(dtb),32M(kernel),5M(param),128M(rootfs)";

        ▒[    0.000000] Booting Linux on physical cpu 0x0
     [    0.000000] Linux version 4.19.125 (wuqianlong@axcnshbussrv03p) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #33 SMP Mon Jul 19 14:02:59 CST 2021
     [    0.000000] cpu: ARMv7 Processor [410fc075] revision 5 (ARMv7),cr=10c5387d
     [    0.000000] cpu: div instructions available: patching division code
     [    0.000000] cpu: PIPT / VIPT nonaliasing data cache,VIPT aliasing instruction cache
     [    0.000000] OF: fdt: King: Machine model: axera,mc20
     [    0.000000] Truncating memory at 0x40000000 to fit in 32-bit physical address space
     [    0.000000] Memory policy: Data cache writealloc
     [    0.000000] Reserved memory: created CMA memory pool at 0xefc00000,size 256 MiB
     [    0.000000] OF: reserved mem: initialized node linux,cma,compatible id shared-dma-pool
     [    0.000000] On node 0 totalpages: 786431
     [    0.000000]   normal zone: 1536 pages used for memmap
     [    0.000000]   normal zone: 0 pages reserved
     [    0.000000]   normal zone: 196608 pages,LIFO batch:63
     [    0.000000]   HighMem zone: 589823 pages,LIFO batch:63
     [    0.000000] random: get_random_bytes called from start_kernel+0x98/0x478 with crng_init=0
     [    0.000000] percpu: Embedded 15 pages/cpu s31692 r8192 d21556 u61440
     [    0.000000] pcpu-alloc: s31692 r8192 d21556 u61440 alloc=15*4096
     [    0.000000] pcpu-alloc: [0] 0 [0] 1
     [    0.000000] Built 1 zonelists,mobility grouping on.  Total pages: 784895
     [    0.000000] Kernel command line: mem=4064M console=ttyS1,230400n8 noinitrd earlyprintk=dw_uart,0x04992000 initcall_debug=0 loglevel=8 root=/dev/mmcblk0p6 rw rootwait rootfstype=ext4 init=/linuxrc                blkdevparts=mmcblk0:512K(spl),128M(rootfs),1024M(soc),6208M(opt)
     [    0.000000] cmdline:mmcblk0:512K(spl),6208M(opt)
     [    0.000000] Dentry cache hash table entries: 131072 (order: 7,524288 bytes)
     [    0.000000] Inode-cache hash table entries: 65536 (order: 6,262144 bytes)
     [    0.000000] Memory: 2840952K/3145724K available (6144K kernel code,393K rwdata,1424K rodata,8192K init,285K bss,42628K reserved,262144K cma-reserved,2097148K highmem)
     [    0.000000] Virtual kernel memory layout:
     [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
     [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
     [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
     [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
     [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
     [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
     [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (7136 kB)
     [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (8192 kB)
     [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 394 kB)
     [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 286 kB)
     [    0.000000] SLUB: HWalign=64,Order=0-3,MinObjects=0,cpus=2,Nodes=1
     [    0.000000] rcu: Hierarchical RCU implementation.
     [    0.000000] rcu:     RCU event tracing is enabled.
     [    0.000000] NR_IRQS: 16,nr_irqs: 16,preallocated irqs: 16
     [    0.000000] GIC: Using split EOI/Deactivate mode
     [    0.000000] arch_timer: cp15 timer(s) running at 10.00MHz (phys).
     [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x24e6a1710,max_idle_ns: 440795202120 ns
     [    0.000519] sched_clock: 56 bits at 10MHz,resolution 100ns,wraps every 4398046511100ns
     [    0.001434] Switching to timer-based delay loop,resolution 100ns
     [    0.030131] Console: colour dummy device 80x30
     [    0.032875] Calibrating delay loop (skipped),value calculated using timer frequency.. 20.00 BogoMIPS (lpj=100000)
     [    0.034982] pid_max: default: 32768 minimum: 301
     [    0.046407] Mount-cache hash table entries: 2048 (order: 1,8192 bytes)
     [    0.047770] Mountpoint-cache hash table entries: 2048 (order: 1,8192 bytes)
     [    0.091057] cpu: Testing write buffer coherency: ok
     [    0.109085] /cpus/cpu@0 missing clock-frequency property
     [    0.111760] /cpus/cpu@1 missing clock-frequency property
     [    0.112715] cpu0: thread -1,cpu 0,socket 0,mpidr 80000000
     [    0.152462] Setting up static identity map for 0x40100000 - 0x40100060
     [    0.162427] rcu: Hierarchical SRCU implementation.
     [    0.211498] smp: Bringing up secondary cpus ...
     [    0.249059] smp: brought up 1 node,1 cpu
     [    0.249979] SMP: Total of 1 processors activated (20.00 BogoMIPS).
     [    0.250538] cpu: All cpu(s) started in HYP mode.
     [    0.251006] cpu: Virtualization extensions available.
     [    0.337313] devtmpfs: initialized
     [    0.650445] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
     [    0.661023] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,max_idle_ns: 19112604462750000 ns
     [    0.662427] futex hash table entries: 512 (order: 3,32768 bytes)
     [    1.474806] pinctrl core: initialized pinctrl subsystem
     [    1.500889] NET: Registered protocol family 16
     [    1.646473] DMA: preallocated 256 KiB pool for atomic coherent allocations
     [    1.853424] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
     [    1.854337] hw-breakpoint: maximum watchpoint size is 8 bytes.
     [    5.080245] SCSI subsystem initialized
     [    5.099208] usbcore: registered new interface driver usbfs
     [    5.104853] usbcore: registered new interface driver hub
     [    5.109368] usbcore: registered new device driver usb
     [    5.183520] Advanced Linux Sound Architecture Driver Initialized.
     [    5.521222] clocksource: Switched to clocksource arch_sys_counter
     [   10.833653] NET: Registered protocol family 2
     [   10.876495] tcp_listen_portaddr_hash hash table entries: 512 (order: 0,6144 bytes)
     [   10.879909] TCP established hash table entries: 8192 (order: 3,32768 bytes)
     [   10.889421] TCP bind hash table entries: 8192 (order: 4,65536 bytes)
     [   10.901831] TCP: Hash tables configured (established 8192 bind 8192)
     [   10.910614] UDP hash table entries: 512 (order: 2,16384 bytes)
     [   10.914030] UDP-Lite hash table entries: 512 (order: 2,16384 bytes)
     [   10.926438] NET: Registered protocol family 1
     [   10.982039] RPC: Registered named UNIX socket transport module.
     [   10.982889] RPC: Registered udp transport module.
     [   10.983436] RPC: Registered tcp transport module.
     [   10.983967] RPC: Registered tcp NFSv4.1 backchannel transport module.
     [   51.012520] workingset: timestamp_bits=30 max_order=20 bucket_order=0
     [   52.224620] squashfs: version 4.0 (2009/01/31) Phillip Lougher
     [   52.460262] bounce: pool size: 64 pages
     [   52.461604] io scheduler noop registered (default)
     [   52.462261] io scheduler mq-deadline registered
     [   52.462873] io scheduler kyber registered
     [   52.709246] gpio-dwapb 49a8000.gpio: no irq for port0
     [   52.766854] gpio-dwapb 10010000.gpio: no irq for port0
     [   52.875136] axera_dma 1920000.dw_dmac: DesignWare AXI DMA Controller,2 channels
     [   53.681239] Serial: 8250/16550 driver,4 ports,IRQ sharing disabled
     [   53.862575] 4990000.dw_uart: ttyS0 at MMIO 0x4990000 (irq = 25,base_baud = 625000) is a 16550A
     [   53.940927] 4992000.dw_uart: ttyS1 at MMIO 0x4992000 (irq = 26,base_baud = 625000) is a 16550A
     [   54.379444] console [ttyS1] enabled
     [   54.502978] King:enter rescan_partitions
     [   54.513878] King:check_partition,1
     [   54.520818] King:check_partition,0
     [   54.523409] King: enter cmdline_partition
     [   54.526289] King:cmdline = mmcblk0:512K(spl),6208M(opt)
     [   54.536497] King:check_partition,1
     [   54.602654] null: module loaded
     [   54.625507] libphy: Fixed Mdio Bus: probed
     [   54.699569] stmmaceth 4970000.ethernet: probe axera emac
     [   54.711890] stmmaceth 4970000.ethernet: emac bus clock: 10000000Hz
     [   54.716263] stmmaceth 4970000.ethernet: reset axera emac and phy...
     [   54.960183] don't support this emac phy interface
     [   55.242496] stmmaceth 4970000.ethernet: User ID: 0x10,Synopsys ID: 0x52
     [   55.249529] stmmaceth 4970000.ethernet:      DWMAC4/5
     [   55.253127] stmmaceth 4970000.ethernet: DMA HW capability register supported
     [   55.258904] stmmaceth 4970000.ethernet: RX Checksum Offload Engine supported
     [   55.263678] stmmaceth 4970000.ethernet: TX Checksum insertion supported
     [   55.269020] stmmaceth 4970000.ethernet: Wake-Up On Lan supported
     [   55.273208] stmmaceth 4970000.ethernet: TSO supported
     [   55.276850] stmmaceth 4970000.ethernet: Enable RX Mitigation via HW Watchdog Timer
     [   55.283489] stmmaceth 4970000.ethernet (unnamed net_device) (uninitialized): device MAC address 36:6a:ec:54:f4:2e
     [   55.290980] stmmaceth 4970000.ethernet: TSO feature enabled
     [   55.304861] libphy: stmmac: probed
     [   55.572001] cdns-usb3 4800000.usb: start cdns3 probe
     [   55.576024] cdns-usb3 4800000.usb: axera usb init
     [   55.591519] cdns-usb3 4800000.usb: usb otg init
     [   55.749029] cdns-usb3 4800000.usb: switch usb role: NONE -> HOST
     [   55.761126] cdns-usb3 4800000.usb: cdns3 core probe succeed!
     [   55.791107] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
     [   55.796600] xhci-hcd xhci-hcd.0.auto: new USB bus registered,assigned bus number 1
     [   55.930782] xhci-hcd xhci-hcd.0.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000000000010010
     [   55.941003] xhci-hcd xhci-hcd.0.auto: irq 47,io mem 0x04810000
     [   55.974589] usb usb1: New USB device found,idvendor=1d6b,idProduct=0002,bcdDevice= 4.19
     [   55.981379] usb usb1: New USB device strings: Mfr=3,Product=2,SerialNumber=1
     [   55.986333] usb usb1: Product: xHCI Host Controller
     [   55.990751] usb usb1: Manufacturer: Linux 4.19.125 xhci-hcd
     [   55.994754] usb usb1: SerialNumber: xhci-hcd.0.auto
     [   56.051475] hub 1-0:1.0: USB hub found
     [   56.070451] hub 1-0:1.0: 1 port detected
     [   56.102442] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
     [   56.108410] xhci-hcd xhci-hcd.0.auto: new USB bus registered,assigned bus number 2
     [   56.114148] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
     [   56.145466] usb usb2: We don't kNow the algorithms for LPM for this host,disabling LPM.
     [   56.169909] usb usb2: New USB device found,idProduct=0003,bcdDevice= 4.19
     [   56.175667] usb usb2: New USB device strings: Mfr=3,SerialNumber=1
     [   56.181516] usb usb2: Product: xHCI Host Controller
     [   56.185132] usb usb2: Manufacturer: Linux 4.19.125 xhci-hcd
     [   56.189905] usb usb2: SerialNumber: xhci-hcd.0.auto
     [   56.245864] hub 2-0:1.0: USB hub found
     [   56.263698] hub 2-0:1.0: 1 port detected
     [   56.307083] usbcore: registered new interface driver cdc_acm
     [   56.312130] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
     [   56.375806] usbcore: registered new interface driver uas
     [   56.391025] usbcore: registered new interface driver usb-storage
     [   56.403158] usbcore: registered new interface driver usbserial_generic
     [   56.410858] usbserial: USB Serial support registered for generic
     [   56.419042] usbcore: registered new interface driver ch341
     [   56.425055] usbserial: USB Serial support registered for ch341-uart
     [   56.433286] usbcore: registered new interface driver pl2303
     [   56.440405] usbserial: USB Serial support registered for pl2303
     [   56.457046] i2c /dev entries driver
     [   56.640652] sdhci: Secure Digital Host Controller Interface driver
     [   56.644995] sdhci: copyright(c) Pierre Ossman
     [   56.649066] sdhci-pltfm: SDHCI platform and OF driver helper
     [   56.672933] mmc0: UnkNown controller version (3). You may experience problems.
     [   56.810445] mmc0: SDHCI controller on 10000000.sdhc [10000000.sdhc] using ADMA 64-bit
     [   56.838938] mmc1: UnkNown controller version (3). You may experience problems.
     [   56.950532] mmc1: SDHCI controller on 4940000.sdhc [4940000.sdhc] using ADMA 64-bit
     [   57.065302] usbcore: registered new interface driver usbhid
     [   57.070392] usbhid: USB HID core driver
     [   57.409090] oprofile: no performance counters
     [   57.412580] oprofile: using timer interrupt.
     [   57.434549] NET: Registered protocol family 17
     [   57.456522] Registering SWP/SWPB emulation handler
     [   57.697189] mmc0: new high speed MMC card at address 0001
     [   57.781334] King:mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
     [   57.825466] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
     [   57.871142] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
     [   57.889969] hctosys: unable to open rtc device (rtc0)
     [   57.905219] ALSA device list:
     [   57.909642]   No soundcards found.
     [   57.922552] Warning: unable to open an initial console.
     [   57.939565] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB,chardev (249:0)
     [   57.991581] King:enter rescan_partitions
     [   58.003547] King:check_partition,1
     [   58.008862] King:check_partition,0
     [   58.011382] King: enter cmdline_partition
     [   58.014209] King:cmdline = (null)
     [   58.019607] King: mmcblk0: p1(spl) p2(uboot) p3(dtb) p4(kernel) p5(param) p6(rootfs) p7(soc) p8(opt)
     [   59.414466] EXT4-fs (mmcblk0p6): 1 orphan inode deleted
     [   59.420428] EXT4-fs (mmcblk0p6): recovery complete
     [   59.622048] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
     [   59.630390] VFS: Mounted root (ext4 filesystem) on device 179:6.
     [   60.479968] Freeing unused kernel memory: 8192K
     [   60.498062] Run /linuxrc as init process
     [   61.567235] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50),for module binfmt-0000,throttling...
     [   66.598658] request_module: modprobe binfmt-0000 cannot be processed,kmod busy with 50 threads for more than 5 seconds Now
     [   66.916458] Kernel panic - not syncing: Requested init /linuxrc Failed (error -8).
     [   66.928563] cpu: 0 PID: 1 Comm: swapper/0 Not tainted 4.19.125 #33
     [   66.932624] Hardware name: Generic DT based system
     [   66.937404] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
     [   66.943220] [] (show_stack) from [] (dump_stack+0x94/0xa8)
     [   66.948805] [] (dump_stack) from [] (panic+0xf0/0x25c)
     [   66.953986] [] (panic) from [] (kernel_init+0xa0/0x10c)
     [   66.959033] [] (kernel_init) from [] (ret_from_fork+0x14/0x2c)
     [   66.963962] Exception stack(0xee0b3fb0 to 0xee0b3ff8)
     [   66.967717] 3fa0:                                     00000000 00000000 00000000 00000000
     [   66.973372] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
     [   66.978910] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
     [   66.983988] ---[ end Kernel panic - not syncing: Requested init /linuxrc Failed (error -8). ]---
    
     

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。