您尚未登录。

楼主 #1 2020-05-25 10:05:08

tuyu
会员
注册时间: 2020-05-24
已发帖子: 2
积分: 2

v3s 启动内核后总是重启

显示错误Starting init: /sbin/init exists but couldn't execute it (error -8)
求大神帮忙看看什么原因。。。。。

U-Boot SPL 2019.10 (May 25 2020 - 00:36:33 +0800)
DRAM: 64 MiB
Trying to boot from MMC1


U-Boot 2019.10 (May 25 2020 - 00:36:33 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   mmc@01c0f000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
Hit any key to stop autoboot:  0 
3828480 bytes read in 174 ms (21 MiB/s)
9328 bytes read in 3 ms (3 MiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dff46f ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.15-licheepi-zero+ (howe@machine) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP Mon May 25 01:13:16 CST 2020
[    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:Machine model: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @c3f63000 s24716 r8192 d24436 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 55152K/65536K available (6144K kernel code, 199K rwdata, 1388K rodata, 1024K init, 259K bss, 10384K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff800000   ( 944 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a31e00   ( 200 kB)
[    0.000000]        .bss : 0xc0a33000 - 0xc0a73f0c   ( 260 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000137] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000346] Console: colour dummy device 80x30
[    0.000382] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000396] pid_max: default: 32768 minimum: 301
[    0.000532] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000545] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001233] CPU: Testing write buffer coherency: ok
[    0.001628] /cpus/cpu@0 missing clock-frequency property
[    0.001651] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002004] Setting up static identity map for 0x40100000 - 0x40100058
[    0.002741] smp: Bringing up secondary CPUs ...
[    0.002760] smp: Brought up 1 node, 1 CPU
[    0.002768] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002775] CPU: All CPU(s) started in SVC mode.
[    0.003540] devtmpfs: initialized
[    0.006466] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006741] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006770] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.006919] pinctrl core: initialized pinctrl subsystem
[    0.007895] NET: Registered protocol family 16
[    0.008324] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009542] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009559] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.020882] SCSI subsystem initialized
[    0.021173] usbcore: registered new interface driver usbfs
[    0.021236] usbcore: registered new interface driver hub
[    0.021333] usbcore: registered new device driver usb
[    0.021554] pps_core: LinuxPPS API ver. 1 registered
[    0.021562] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.021582] PTP clock support registered
[    0.021813] Advanced Linux Sound Architecture Driver Initialized.
[    0.023575] clocksource: Switched to clocksource arch_sys_counter
[    0.034239] NET: Registered protocol family 2
[    0.034845] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.034875] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.034899] TCP: Hash tables configured (established 1024 bind 1024)
[    0.034987] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.035033] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.035241] NET: Registered protocol family 1
[    0.035846] RPC: Registered named UNIX socket transport module.
[    0.035865] RPC: Registered udp transport module.
[    0.035871] RPC: Registered tcp transport module.
[    0.035876] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.038049] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.047013] NFS: Registering the id_resolver key type
[    0.047067] Key type id_resolver registered
[    0.047075] Key type id_legacy registered
[    0.050960] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.050982] io scheduler noop registered
[    0.050988] io scheduler deadline registered
[    0.051185] io scheduler cfq registered (default)
[    0.055412] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.121494] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.124925] console [ttyS0] disabled
[    0.145201] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 32, base_baud = 1500000) is a U6_16550A
[    0.699911] console [ttyS0] enabled
[    0.704119] [drm] Initialized
[    0.708886] libphy: Fixed MDIO Bus: probed
[    0.713203] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.719820] ehci-platform: EHCI generic platform driver
[    0.725161] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.731362] ohci-platform: OHCI generic platform driver
[    0.737070] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.746567] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    0.755481] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.762275] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.766939] i2c /dev entries driver
[    0.771239] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.833616] sunxi-mmc 1c0f000.mmc: base:0xc485b000 irq:22
[    0.880697] mmc0: host does not support reading read-only switch, assuming write-enable
[    0.890691] mmc0: new high speed SDHC card at address 0007
[    0.896691] sunxi-mmc 1c10000.mmc: base:0xc485f000 irq:23
[    0.902943] usbcore: registered new interface driver usbhid
[    0.908607] usbhid: USB HID core driver
[    0.913440] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 52, RE !!
[    0.919139] mmcblk0: mmc0:0007 SD16G 14.6 GiB 
[    0.924426] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 52, RE !!
[    0.932341] NET: Registered protocol family 17
[    0.937019] Key type dns_resolver registered
[    0.941422] Registering SWP/SWPB emulation handler
[    0.948862]  mmcblk0: p1 p2
[    0.951690] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 8, RE !!
[    0.957882] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 5, RE !!
[    0.963798] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 5, RE !!
[    0.969986] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 5, RE !!
[    0.976066] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 5, RE !!
[    0.984776] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 55, RE !!
[    0.991455] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    0.999459] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.005316] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.013550] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 55, RE !!
[    1.019514] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 55, RE !!
[    1.025521] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 55, RE !!
[    1.031501] hub 1-0:1.0: USB hub found
[    1.035329] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 1, RE !!
[    1.042005] hub 1-0:1.0: 1 port detected
[    1.046735] using random self ethernet address
[    1.051186] using random host ethernet address
[    1.056676] usb0: HOST MAC 92:b7:a9:b2:68:f1
[    1.060993] usb0: MAC f2:9b:9a:fa:45:6c
[    1.064952] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.072428] g_cdc gadget: g_cdc ready
[    1.076380] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:06 UTC (6)
[    1.084547] vcc5v0: disabling
[    1.087519] ALSA device list:
[    1.090481]   No soundcards found.
[    1.096996] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.107291] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    2.143872] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 52, RE !!
[    2.149857] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 52, RE !!
[    2.159237] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 8, RE !!
[    2.165083] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 5, RE !!
[    2.170914] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 5, RE !!
[    2.176753] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 5, RE !!
[    2.182579] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 5, RE !!
[    2.188352] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 55, RE !!
[    2.194202] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 55, RE !!
[    2.200049] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 55, RE !!
[    2.205905] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 55, RE !!
[    2.211816] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 1, RE !!
[    2.648920] random: fast init done
[    2.680637] EXT4-fs (mmcblk0p2): recovery complete
[    2.690857] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.699087] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.706739] devtmpfs: mounted
[    2.710889] Freeing unused kernel memory: 1024K
[    2.741830] request_module: runaway loop modprobe binfmt-0000
[    2.752110] Starting init: /sbin/init exists but couldn't execute it (error -8)
[    2.776726] request_module: runaway loop modprobe binfmt-0000
[    2.787075] Starting init: /bin/sh exists but couldn't execute it (error -8)
[    2.794289] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[    2.808447] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.10.15-licheepi-zero+ #1
[    2.815744] Hardware name: Allwinner sun8i Family
[    2.820482] [<c010e2fc>] (unwind_backtrace) from [<c010b098>] (show_stack+0x10/0x14)
[    2.828226] [<c010b098>] (show_stack) from [<c03366a4>] (dump_stack+0x84/0x98)
[    2.835447] [<c03366a4>] (dump_stack) from [<c01a6ccc>] (panic+0xdc/0x248)
[    2.842322] [<c01a6ccc>] (panic) from [<c064956c>] (kernel_init+0xfc/0x10c)
[    2.849281] [<c064956c>] (kernel_init) from [<c0107638>] (ret_from_fork+0x14/0x3c)
[    2.856851] Rebooting in 5 seconds..

离线

楼主 #4 2020-05-25 15:40:44

tuyu
会员
注册时间: 2020-05-24
已发帖子: 2
积分: 2

Re: v3s 启动内核后总是重启

哇酷小二 说:

TF卡第二个分区作为根文件系统?

你的根文件系统有问题, 文件貌似没有执行权限。

谢谢,发现自己根文件系统里面的文件内容大小只有0,重新弄了一下就可以了。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn