Ayufan 5.4.0 rc1 release - cannot boot
#1
After installing ayufans patched mainline kernel (I want panfrost) onto his minimal buster and bionic builds, I cannot boot past a certain point.  Here's what I see on serial console before it dies:

[   47.917722] Run /init as init process
Loading, please wait...
[   48.897918] tmpfs: Unknown parameter 'size'
mount: mounting tmpfs on /run failed: Invalid argument
starting version 237
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so skipping root file system
[   99.500975] EXT4-fs (mmcblk1p7): mounted filesystem with writeback data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
mount: mounting /run on /root/run failed: Invalid argument
[  104.987855] random: crng init done
[  106.115332] tmpfs: Unknown parameter 'mode'
[  106.119090] systemd[1]: Failed to mount tmpfs at /dev/shm: Invalid argument
[  106.143006] tmpfs: Unknown parameter 'mode'
[  106.145440] systemd[1]: Failed to mount tmpfs at /run: Invalid argument
[  106.169253] tmpfs: Unknown parameter 'mode'
[  106.172654] systemd[1]: Failed to mount tmpfs at /run/lock: Invalid argument
[  106.204518] tmpfs: Unknown parameter 'mode'
[  106.207772] systemd[1]: Failed to mount tmpfs at /sys/fs/cgroup: Invalid argument
[  106.257404] systemd[1]: Failed to mount cgroup at /sys/fs/cgroup/systemd: No such file or directory
[.[0;1;31m!!!!!!.[0m] Failed to mount API filesystems, freezing.
[  106.312466] systemd[1]: Freezing execution.


So it looks like we can't mount root with ayufans mainline.  Has anyone managed to get this working?
#2
Yeah, I tried the 0.9.16-11163 release: when I added the 5.4.0-rc1 kernel I could not boot either from just an SDcard nor from just eMMC. I don't have a serial console so cannot confirm my hangs are the same as yours but would guess so.

{I also have the same lack of progress with 5.3.0-rc4 }
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (5.14 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone BraveHeart now v1.2b 3/32Gb daily driver, dual boot via p-boot with Mobian/f2fs/Phosh on eMMC, Arch/ext4/Phosh on SDcard
  • PinePhone v1.2a 2G/16Gb that needs USB board replaced
#3
Its probably a bit late but in case somebody is still interested in it.

The Kernel should boot if you apply the following changes:
Edit file arch/arm64/configs/rockchip_linux_defconfig

Search for the following line:
CONFIG_TMPFS_POSIX_ACL=y

Replace it with the following config settings:
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y

Rebuild kernel with the new config settings and it should boot now.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Overlays not loading at boot - ROCKPRO64 on Armbian rookieone 0 108 09-28-2021, 04:10 AM
Last Post: rookieone
  Boot/Shutdown on timer captainmorgan 7 573 08-27-2021, 09:08 AM
Last Post: captainmorgan
Question cannot boot openSUSE - what am I doing wrong? Mentaluproar 2 370 08-12-2021, 04:58 AM
Last Post: igorp
  Compiling ayufan mainline - DT-overlay missing Mentaluproar 0 319 07-24-2021, 09:46 PM
Last Post: Mentaluproar
  Other boot options than Sdcard for linux 5.x kernel? MisterA 2 581 07-14-2021, 02:37 PM
Last Post: TRS-80
Big Grin Feature Complete Debian Desktop Release Mrfixit2001 158 83,200 05-29-2021, 04:05 AM
Last Post: twilite
  ayufan kernel update unbootable TheHunter 2 963 03-12-2021, 05:17 PM
Last Post: LMM
Question Ayufan RockPro64 updates? hemertje 3 2,635 10-22-2020, 01:16 PM
Last Post: dukla2000
  Kernel Update from 4.4 (Ayufan) on Ubuntu 20.04 db579 3 2,303 10-22-2020, 01:12 PM
Last Post: dukla2000
  Official Debian release won't boot!?! Faradn 4 3,134 07-06-2020, 09:29 AM
Last Post: Bullet64

Forum Jump:


Users browsing this thread: 1 Guest(s)