Am Wed, 04 Nov 2020 15:40:24 +0000 schrieb Ben Hutchings <b...@decadent.org.uk>:
> Control: tag -1 moreinfo > > On Wed, 2020-11-04 at 12:27 +0100, deb...@gregor-horvath.com wrote: > [...] > > Starting kernel ... > > ��r���º��/cpus/cpu@0 missing clock-frequency property > > [ 0.072909] /cpus/cpu@1 missing clock-frequency property > > [ 1.806132] sr_init: platform driver register failed for SR > > [ 1.816144] Failed to execute /init (error -2) > > Are these error messages also logged by the working kernel, or are > they new? boot message of the working kernel: U-Boot 2016.11+dfsg1-4 (Mar 27 2017 - 18:39:51 +0000) Allwinner Technology CPU: Allwinner A20 (SUN7I) Model: Olimex A20-Olinuxino Micro I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 *** Warning - bad CRC, using default environment Setting up a 1024x768 vga console (overscan 0x0) In: serial Out: vga Err: vga SCSI: Target spinup took 0 ms. AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part ccc apst Net: eth0: ethernet@01c50000 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:2... Found U-Boot script /boot.scr 2464 bytes read in 73 ms (32.2 KiB/s) ## Executing script at 43100000 Mainline u-boot / new-style environment detected. 3836080 bytes read in 502 ms (7.3 MiB/s) 35271 bytes read in 232 ms (148.4 KiB/s) 16947432 bytes read in 1488 ms (10.9 MiB/s) Booting Debian 4.9.0-13-armmp-lpae from mmc 0:2... ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 48fd6000, end 49fff8e8 ... OK Loading Device Tree to 48fca000, end 48fd59c6 ... OK Starting kernel ... [ 0.073034] /cpus/cpu@0 missing clock-frequency property [ 0.073073] /cpus/cpu@1 missing clock-frequency property [ 1.792129] sr_init: platform driver register failed for SR [ 2.742847] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 8, RTO !! [ 2.761214] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 8, RTO !! eth set gpio 17 to 0 /dev/mmcblk0p3: clean, 74944/402400 files, 806103/1608192 blocks [ 5.739075] ata1: exception Emask 0x10 SAct 0x0 SErr 0x10002 action 0xe frozen [ 5.746414] ata1: irq_stat 0x00400000, PHY RDY changed [ 5.751605] ata1: SError: { RecovComm PHYRdyChg } Debian GNU/Linux 9 SrvInt01 ttyS0 > > > [ 1.820753] Kernel panic - not syncing: No working init found. > > Try passing init= option to kernel. See Linux > > Documentation/init.txt for guidance. [ 1.833873] CPU: 1 PID: 1 > > Comm: swapper/0 Not tainted 4.9.0-14-armmp-lpae #1 Debian 4.9.240-2 > > [ 1.842385] Hardware name: Allwinner sun7i (A20) Family > > [ 1.847645] [<c0231ab8>] (unwind_backtrace) from [<c022bae0>] > > (show_stack+0x20/0x24) [ 1.855391] [<c022bae0>] (show_stack) > > from [<c0549eb0>] (dump_stack+0xc4/0xd8) [ 1.862617] > > [<c0549eb0>] (dump_stack) from [<c038d30c>] (panic+0x100/0x28c) > > [ 1.869585] [<c038d30c>] (panic) from [<c0935644>] > > (kernel_init+0x110/0x120) [ 1.876633] [<c0935644>] (kernel_init) > > from [<c0227380>] (ret_from_fork+0x14/0x34) [ 1.884205] CPU0: > > stopping > > This suggest to me that the initramfs is incomplete. Is the /boot > partition (or root partition, if /boot is not separate) full? no, see: $ df -h Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf udev 482M 0 482M 0% /dev tmpfs 100M 7,9M 92M 8% /run /dev/mmcblk0p3 6,0G 3,0G 2,8G 52% / tmpfs 499M 4,0K 499M 1% /dev/shm tmpfs 5,0M 0 5,0M 0% /run/lock tmpfs 499M 0 499M 0% /sys/fs/cgroup /dev/mmcblk0p2 237M 58M 167M 26% /boot /dev/mapper/inthdd_crypt 294G 70G 209G 26% /mnt/inthdd tmpfs 100M 0 100M 0% /run/user/1000 Thank you! Greg
pgp0XrQca5MVZ.pgp
Description: Digitale Signatur von OpenPGP