Manjaro-arm-installer does not install rpi4 btrfs correctly

Kernel panic when trying to boot a sd-card created with manjaro-arm-installer.

ext4: unknown parameter 'subvol'

And:

Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(179:2)

Does the kernel not get compiled with btrfs support?

I select minimum version in the installer.

Complete output
$ sudo bash manjaro-arm-installer
==> Proceeding....
  -> Getting package lists ready for rpi4 minimal edition...
==> Getting /dev/sdc ready with btrfs for rpi4...
==> Creating install for rpi4...
  -> Used device is /dev/sdc
  -> Downloading latest aarch64 rootfs...
Manjaro-ARM-aarch64-latest.tar.gz                    100%[======================================================================================================================>] 203,27M  1,22MB/s    in 2m 46s  
  -> Extracting aarch64 rootfs...
  -> Setting up keyrings...
  -> Generating mirrorlist...
  -> Installing packages for minimal on rpi4...
:: Synchronizing package databases...
 core                                                                                               259.9 KiB   348 KiB/s 00:01 [#############################################################################] 100%
 extra                                                                                                9.2 MiB  1065 KiB/s 00:09 [#############################################################################] 100%
 community                                                                                           29.0   B  85.0   B/s 00:00 [#############################################################################] 100%
warning: systemd-libs-254.5-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
:: There are 3 providers available for initramfs:
:: Repository core
   1) mkinitcpio
:: Repository extra
   2) booster  3) dracut

Enter a number (default=1): 
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency

Packages (126) archlinux-keyring-20231026-1  argon2-20190702-5  binutils-2.38-5.1  cairo-1.18.0-1  cantarell-fonts-1:0.303.1-1  cryptsetup-2.6.1-3  dbus-1.14.10-1  device-mapper-2.03.22-2  diffutils-3.10-1
               dnssec-anchors-20190629-3  duktape-2.7.0-6  ell-0.59-1  file-5.45-1  fontconfig-2:2.14.2-1  freetype2-2.13.2-1  fribidi-1.0.13-2  fuse-common-3.16.2-1  fuse2-2.9.9-4  gdk-pixbuf2-2.42.10-2
               graphite-1:1.3.14-3  groff-1.23.0-5  gzip-1.13-2  harfbuzz-8.2.2-1  hwdata-0.375-2  iproute2-6.5.0-1  iptables-1:1.8.9-1  iputils-20221126-2  iw-5.19-2  jbigkit-2.1-7  kbd-2.6.3-1  kmod-31-1
               ldns-1.8.3-2  less-1:643-1  libbpf-1.2.2-1  libbsd-0.11.7-1  libdatrie-0.2.13-4  libdrm-2.4.117-1  libedit-20230828_3.1-1  libelf-0.189-3  libjpeg-turbo-3.0.1-1  libmd-1.1.0-1  libmnl-1.0.5-1
               libnetfilter_conntrack-1.0.9-1  libnfnetlink-1.0.2-1  libnftnl-1.2.6-1  libnl-3.8.0-1  libnotify-0.8.3-1  libpcap-1.10.4-1  libpciaccess-0.17-1  libpipeline-1.5.7-1  libpng-1.6.40-2
               libseccomp-2.5.4-2  libthai-0.1.29-3  libtiff-4.6.0-1  libutempter-1.2.1-4  libx11-1.8.7-1  libxau-1.0.11-2  libxcb-1.16-1  libxdmcp-1.1.4-2  libxext-1.3.5-1  libxft-2.3.8-1  libxrender-0.9.11-1
               licenses-20231011-1  linux-firmware-whence-20230918.3672ccab-1  lsb-release-1.4-13  lzo-2.10-5  mkinitcpio-36-1  mkinitcpio-busybox-1.36.1-1  numactl-2.0.16-1  pango-1:1.51.1-1  pciutils-3.10.0-1
               pcsclite-2.0.0-1  pixman-0.42.2-1  polkit-123-1  popt-1.19-1  procps-ng-4.0.4-2  psmisc-23.6-1  sed-4.9-3  shadow-4.14.2-1  shared-mime-info-2.3-1  systemd-sysvcompat-254.5-1  tar-1.35-2
               uboot-tools-2023.01-1  util-linux-2.39.2-1  xcb-proto-1.16.0-1  xorgproto-2023.2-1  base-3-2  bash-completion-2.11-3  btrfs-progs-6.5.3-2  dhcpcd-10.0.4-1  exfatprogs-1.2.2-1  f2fs-tools-1.16.0-2
               firmware-raspberrypi-20231021-1  generic-post-install-20220704-1  inxi-3.3.31.2-1  irqbalance-1.9.2-1  iwd-2.8-1  linux-firmware-20230918.3672ccab-1  linux-rpi4-6.1.58-5
               linux-rpi4-headers-6.1.58-5  linux-rpi5-6.1.58-5  linux-rpi5-headers-6.1.58-5  man-db-2.12.0-1  man-pages-6.05.01-2  manjaro-hotfixes-2018.08-6  manjaro-release-23.02-1  manjaro-system-20230303-1
               nano-7.2-1  ncdu-2.3-1  ntfs-3g-2022.10.3-1  openssh-9.5p1-1  parted-3.6-1  plymouth-22.02.122-14  plymouth-theme-manjaro-1-1  raspberrypi-bootloader-20231019-1
               raspberrypi-bootloader-x-20231019-1  raspberrypi-utils-20231026-1  rpi-overlays-6.1.58-5  rpi4-post-install-20220603-1  sudo-1.9.14.p3-1  systemd-254.5-1  systemd-libs-254.5-1  usbutils-017-1
               wireless-regdb-2023.09.01-1  wpa_supplicant-2:2.10-8  zswap-arm-1-1

Total Installed Size:  911.33 MiB
Net Upgrade Size:      907.99 MiB

:: Proceed with installation? [Y/n] 
(126/126) checking keys in keyring                                                                                              [#############################################################################] 100%
(126/126) checking package integrity                                                                                            [#############################################################################] 100%
(126/126) loading package files                                                                                                 [#############################################################################] 100%
(126/126) checking for file conflicts                                                                                           [#############################################################################] 100%
(126/126) checking available disk space                                                                                         [#############################################################################] 100%
:: Processing package changes...
(  1/126) installing file                                                                                                       [#############################################################################] 100%
(  2/126) reinstalling systemd-libs                                                                                             [#############################################################################] 100%
(  3/126) installing procps-ng                                                                                                  [#############################################################################] 100%
(  4/126) installing sed                                                                                                        [#############################################################################] 100%
(  5/126) installing tar                                                                                                        [#############################################################################] 100%
(  6/126) installing hwdata                                                                                                     [#############################################################################] 100%
(  7/126) installing kmod                                                                                                       [#############################################################################] 100%
(  8/126) installing pciutils                                                                                                   [#############################################################################] 100%
Optional dependencies for pciutils
    which: for update-pciids
    grep: for update-pciids [installed]
    curl: for update-pciids [installed]
(  9/126) installing psmisc                                                                                                     [#############################################################################] 100%
( 10/126) installing libmd                                                                                                      [#############################################################################] 100%
( 11/126) installing libbsd                                                                                                     [#############################################################################] 100%
( 12/126) installing shadow                                                                                                     [#############################################################################] 100%
( 13/126) installing libutempter                                                                                                [#############################################################################] 100%
( 14/126) installing util-linux                                                                                                 [#############################################################################] 100%
Optional dependencies for util-linux
    words: default dictionary for look
( 15/126) installing gzip                                                                                                       [#############################################################################] 100%
Optional dependencies for gzip
    less: zless support [pending]
    util-linux: zmore support [installed]
    diffutils: zdiff/zcmp support [pending]
( 16/126) installing licenses                                                                                                   [#############################################################################] 100%
( 17/126) installing archlinux-keyring                                                                                          [#############################################################################] 100%
gpg: Warning: using insecure memory!
==> Appending keys from archlinux.gpg...
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
==> Locally signing trusted keys in keyring...
  -> Locally signed 6 keys.
==> Importing owner trust values...
gpg: Warning: using insecure memory!
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
  -> Disabled 41 keys.
==> Updating trust database...
gpg: Warning: using insecure memory!
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:  28  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:  28  signed:  95  trust: 0-, 0q, 0n, 28m, 0f, 0u
gpg: depth: 2  valid:  72  signed:  27  trust: 72-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2023-12-07
( 18/126) installing device-mapper                                                                                              [#############################################################################] 100%
( 19/126) installing popt                                                                                                       [#############################################################################] 100%
( 20/126) installing argon2                                                                                                     [#############################################################################] 100%
( 21/126) installing cryptsetup                                                                                                 [#############################################################################] 100%
( 22/126) installing dbus                                                                                                       [#############################################################################] 100%
( 23/126) installing libmnl                                                                                                     [#############################################################################] 100%
( 24/126) installing libnftnl                                                                                                   [#############################################################################] 100%
( 25/126) installing libnl                                                                                                      [#############################################################################] 100%
( 26/126) installing libpcap                                                                                                    [#############################################################################] 100%
( 27/126) installing libnfnetlink                                                                                               [#############################################################################] 100%
( 28/126) installing libnetfilter_conntrack                                                                                     [#############################################################################] 100%
( 29/126) installing iptables                                                                                                   [#############################################################################] 100%
( 30/126) installing kbd                                                                                                        [#############################################################################] 100%
( 31/126) installing libelf                                                                                                     [#############################################################################] 100%
( 32/126) installing libseccomp                                                                                                 [#############################################################################] 100%
( 33/126) installing systemd                                                                                                    [#############################################################################] 100%
warning: directory permissions differ on /var/log/journal/
filesystem: 755  package: 2755
Initializing machine ID from container UUID.
Creating group 'sys' with GID 3.
Creating group 'mem' with GID 8.
Creating group 'ftp' with GID 11.
Creating group 'mail' with GID 12.
Creating group 'log' with GID 19.
Creating group 'smmsp' with GID 25.
Creating group 'proc' with GID 26.
Creating group 'games' with GID 50.
Creating group 'lock' with GID 54.
Creating group 'network' with GID 90.
Creating group 'floppy' with GID 94.
Creating group 'scanner' with GID 96.
Creating group 'power' with GID 98.
Creating group 'nobody' with GID 65534.
Creating group 'adm' with GID 999.
Creating group 'wheel' with GID 998.
Creating group 'utmp' with GID 997.
Creating group 'audio' with GID 996.
Creating group 'disk' with GID 995.
Creating group 'input' with GID 994.
Creating group 'kmem' with GID 993.
Creating group 'kvm' with GID 992.
Creating group 'lp' with GID 991.
Creating group 'optical' with GID 990.
Creating group 'render' with GID 989.
Creating group 'sgx' with GID 988.
Creating group 'storage' with GID 987.
Creating group 'tty' with GID 5.
Creating group 'uucp' with GID 986.
Creating group 'video' with GID 985.
Creating group 'users' with GID 984.
Creating group 'groups' with GID 983.
Creating group 'systemd-journal' with GID 982.
Creating group 'rfkill' with GID 981.
Creating group 'bin' with GID 1.
Creating user 'bin' (n/a) with UID 1 and GID 1.
Creating group 'daemon' with GID 2.
Creating user 'daemon' (n/a) with UID 2 and GID 2.
Creating user 'mail' (n/a) with UID 8 and GID 12.
Creating user 'ftp' (n/a) with UID 14 and GID 11.
Creating group 'http' with GID 33.
Creating user 'http' (n/a) with UID 33 and GID 33.
Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534.
Creating group 'dbus' with GID 81.
Creating user 'dbus' (System Message Bus) with UID 81 and GID 81.
Creating group 'systemd-coredump' with GID 980.
Creating user 'systemd-coredump' (systemd Core Dumper) with UID 980 and GID 980.
Creating group 'systemd-network' with GID 979.
Creating user 'systemd-network' (systemd Network Management) with UID 979 and GID 979.
Creating group 'systemd-oom' with GID 978.
Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 978 and GID 978.
Creating group 'systemd-journal-remote' with GID 977.
Creating user 'systemd-journal-remote' (systemd Journal Remote) with UID 977 and GID 977.
Creating group 'systemd-journal-upload' with GID 976.
Creating user 'systemd-journal-upload' (systemd Journal Upload) with UID 976 and GID 976.
Creating group 'systemd-resolve' with GID 975.
Creating user 'systemd-resolve' (systemd Resolver) with UID 975 and GID 975.
Creating group 'systemd-timesync' with GID 974.
Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 974 and GID 974.
Creating group 'tss' with GID 973.
Creating user 'tss' (tss user for tpm2) with UID 973 and GID 973.
Creating group 'uuidd' with GID 68.
Creating user 'uuidd' (n/a) with UID 68 and GID 68.
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target.
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
   bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Optional dependencies for systemd
    libmicrohttpd: systemd-journal-gatewayd and systemd-journal-remote
    quota-tools: kernel-level quota management
    systemd-sysvcompat: symlink package to provide sysvinit binaries [pending]
    systemd-ukify: combine kernel and initrd into a signed Unified Kernel Image
    polkit: allow administration as unprivileged user [pending]
    python: Unified Kernel Image with ukify [installed]
    curl: systemd-journal-upload, machinectl pull-tar and pull-raw [installed]
    gnutls: systemd-journal-gatewayd and systemd-journal-remote [installed]
    libbpf: support BPF programs [pending]
    libfido2: unlocking LUKS2 volumes with FIDO2 token
    libp11-kit: support PKCS#11 [installed]
    tpm2-tss: unlocking LUKS2 volumes with TPM2 [installed]
( 34/126) installing systemd-sysvcompat                                                                                         [#############################################################################] 100%
( 35/126) installing iputils                                                                                                    [#############################################################################] 100%
( 36/126) installing libbpf                                                                                                     [#############################################################################] 100%
( 37/126) installing iproute2                                                                                                   [#############################################################################] 100%
Optional dependencies for iproute2
    db5.3: userspace arp daemon [installed]
    linux-atm: ATM support
    python: for routel [installed]
( 38/126) installing base                                                                                                       [#############################################################################] 100%
Optional dependencies for base
    linux: bare metal support [pending]
( 39/126) installing uboot-tools                                                                                                [#############################################################################] 100%
( 40/126) installing libpng                                                                                                     [#############################################################################] 100%
( 41/126) installing jbigkit                                                                                                    [#############################################################################] 100%
( 42/126) installing libjpeg-turbo                                                                                              [#############################################################################] 100%
( 43/126) installing libtiff                                                                                                    [#############################################################################] 100%
Optional dependencies for libtiff
    freeglut: for using tiffgt
( 44/126) installing shared-mime-info                                                                                           [#############################################################################] 100%
( 45/126) installing gdk-pixbuf2                                                                                                [#############################################################################] 100%
Optional dependencies for gdk-pixbuf2
    libwmf: Load .wmf and .apm
    libopenraw: Load .dng, .cr2, .crw, .nef, .orf, .pef, .arw, .erf, .mrw, and .raf
    libavif: Load .avif
    libheif: Load .heif, .heic, and .avif
    libjxl: Load .jxl
    librsvg: Load .svg, .svgz, and .svg.gz
    webp-pixbuf-loader: Load .webp
( 46/126) installing libnotify                                                                                                  [#############################################################################] 100%
( 47/126) installing manjaro-system                                                                                             [#############################################################################] 100%
( 48/126) installing lsb-release                                                                                                [#############################################################################] 100%
( 49/126) installing manjaro-release                                                                                            [#############################################################################] 100%
( 50/126) installing sudo                                                                                                       [#############################################################################] 100%
warning: directory permissions differ on /etc/sudoers.d/
filesystem: 755  package: 750
( 51/126) installing parted                                                                                                     [#############################################################################] 100%
( 52/126) installing dnssec-anchors                                                                                             [#############################################################################] 100%
( 53/126) installing ldns                                                                                                       [#############################################################################] 100%
Optional dependencies for ldns
    libpcap: ldns-dpa tool [installed]
( 54/126) installing libedit                                                                                                    [#############################################################################] 100%
( 55/126) installing openssh                                                                                                    [#############################################################################] 100%
Optional dependencies for openssh
    libfido2: FIDO/U2F support
    sh: for ssh-copy-id and findssl.sh [installed]
    x11-ssh-askpass: input passphrase in X
    xorg-xauth: X11 forwarding
( 56/126) installing inxi                                                                                                       [#############################################################################] 100%
Optional dependencies for inxi
    bind: dig: -i wlan IP
    binutils: strings: -I sysvinit version [pending]
    bluez-tools: bt-adapter: -E bluetooth data (if no hciconfig, btmgmt)
    bluez-utils: btmgmt: -E bluetooth data (if no hciconfig)
    curl: -i (if no dig); -w,-W; -U [installed]
    dmidecode: -M if no sys machine data; -m
    doas: -Dx hddtemp-user; -o file-user (alt for sudo)
    file: -o unmounted file system (if no lsblk) [installed]
    freeipmi: ipmi-sensors: -s IPMI sensors (servers)
    hddtemp: -Dx show hdd temp, if no drivetemp module
    iproute2: ip: -i ip LAN [installed]
    kmod: modinfo: Ax; -Nx module version [installed]
    ipmitool: -s IPMI sensors (servers)
    lvm2: lvs: -L LVM data
    lm_sensors: sensors: -s sensors output
    mdadm: -Ra advanced mdraid data
    mesa-utils: eglinfo: -G X11/Wayland EGL info / glxinfo: -G (X) glx info
    net-tools: ifconfig: -i ip LAN (deprecated)
    perl-cpanel-json-xs: Cpanel::JSON::XS: --output json (faster than JSON::PP)
    perl-json-xs: JSON::XS: --output json (legacy)
    perl-io-socket-ssl: IO::Socket::SSL: -U; -w,-W; -i (if dig not installed)
    smartmontools: smartctl: -Da advanced data
    systemd-sysvcompat: -I runlevel [installed]
    sudo: -Dx hddtemp-user; -o file-user [installed]
    tree: --debugger 20,21 /sys tree
    upower: -sx attached device battery info
    usbutils: lsusb: -A usb audio; -J (optional); -N usb networking [pending]
    vulkan-tools: vulkaninfo: -G Vulkan API info
    wget: -i (if no dig); -w,-W; -U
    wmctrl: -S active window manager (fallback)
    xorg-xdpyinfo: xdpyinfo: -G (X) Screen resolution, dpi; -Ga Screen size
    xorg-xdriinfo: xdriinfo: -G (X) DRI driver (if missing, fallback to Xorg log)
    xorg-xprop: xprop: -S (X) desktop data
    xorg-xrandr: xrandr: -G (X) monitors(s) resolution; -Ga monitor data
( 57/126) installing ncdu                                                                                                       [#############################################################################] 100%
( 58/126) installing nano                                                                                                       [#############################################################################] 100%
( 59/126) installing dhcpcd                                                                                                     [#############################################################################] 100%
Optional dependencies for dhcpcd
    openresolv: resolvconf support
( 60/126) installing man-pages                                                                                                  [#############################################################################] 100%
( 61/126) installing groff                                                                                                      [#############################################################################] 100%
Optional dependencies for groff
    netpbm: for use together with man -H command interaction in browsers
    psutils: for use together with man -H command interaction in browsers
    libxaw: for gxditview
    perl-file-homedir: for use with glilypond
( 62/126) installing libpipeline                                                                                                [#############################################################################] 100%
( 63/126) installing less                                                                                                       [#############################################################################] 100%
( 64/126) installing man-db                                                                                                     [#############################################################################] 100%
Optional dependencies for man-db
    gzip [installed]
( 65/126) installing fuse-common                                                                                                [#############################################################################] 100%
( 66/126) installing fuse2                                                                                                      [#############################################################################] 100%
( 67/126) installing ntfs-3g                                                                                                    [#############################################################################] 100%
( 68/126) installing usbutils                                                                                                   [#############################################################################] 100%
Optional dependencies for usbutils
    coreutils: for lsusb.py usage [installed]
    python: for lsusb.py usage [installed]
    sh: for usb-devices [installed]
( 69/126) installing zswap-arm                                                                                                  [#############################################################################] 100%
( 70/126) installing bash-completion                                                                                            [#############################################################################] 100%
( 71/126) installing numactl                                                                                                    [#############################################################################] 100%
( 72/126) installing irqbalance                                                                                                 [#############################################################################] 100%
( 73/126) installing lzo                                                                                                        [#############################################################################] 100%
( 74/126) installing btrfs-progs                                                                                                [#############################################################################] 100%
Optional dependencies for btrfs-progs
    python: libbtrfsutil python bindings [installed]
    e2fsprogs: btrfs-convert [installed]
    reiserfsprogs: btrfs-convert
( 75/126) installing f2fs-tools                                                                                                 [#############################################################################] 100%
( 76/126) installing exfatprogs                                                                                                 [#############################################################################] 100%
( 77/126) installing ell                                                                                                        [#############################################################################] 100%
( 78/126) installing iwd                                                                                                        [#############################################################################] 100%
Optional dependencies for iwd
    qrencode: for displaying QR code after DPP is started
( 79/126) installing manjaro-hotfixes                                                                                           [#############################################################################] 100%
( 80/126) installing mkinitcpio-busybox                                                                                         [#############################################################################] 100%
( 81/126) installing binutils                                                                                                   [#############################################################################] 100%
Optional dependencies for binutils
    debuginfod: for debuginfod server/client functionality
( 82/126) installing diffutils                                                                                                  [#############################################################################] 100%
( 83/126) installing mkinitcpio                                                                                                 [#############################################################################] 100%
Optional dependencies for mkinitcpio
    xz: Use lzma or xz compression for the initramfs image [installed]
    bzip2: Use bzip2 compression for the initramfs image [installed]
    lzop: Use lzo compression for the initramfs image
    lz4: Use lz4 compression for the initramfs image [installed]
    mkinitcpio-nfs-utils: Support for root filesystem on NFS
( 84/126) installing firmware-raspberrypi                                                                                       [#############################################################################] 100%
( 85/126) installing rpi-overlays                                                                                               [#############################################################################] 100%
( 86/126) installing linux-rpi4                                                                                                 [#############################################################################] 100%
===> Installing default config.txt to /boot/...
Optional dependencies for linux-rpi4
    wireless-regdb: Set the correct wireless channels of your country [pending]
    linux-firmware: Extra firmware that RPi or kernel does not provide [pending]
( 87/126) installing linux-rpi4-headers                                                                                         [#############################################################################] 100%
( 88/126) installing linux-rpi5                                                                                                 [#############################################################################] 100%
===> Modifing config.txt to load for pi3/4/5 kernels
Optional dependencies for linux-rpi5
    wireless-regdb: Set the correct wireless channels of your country [pending]
    linux-firmware: Extra firmware not provided by RPi or kernel [pending]
( 89/126) installing linux-rpi5-headers                                                                                         [#############################################################################] 100%
( 90/126) installing raspberrypi-bootloader-x                                                                                   [#############################################################################] 100%
( 91/126) installing raspberrypi-bootloader                                                                                     [#############################################################################] 100%
( 92/126) installing raspberrypi-utils                                                                                          [#############################################################################] 100%
( 93/126) installing graphite                                                                                                   [#############################################################################] 100%
Optional dependencies for graphite
    graphite-docs: Documentation
( 94/126) installing harfbuzz                                                                                                   [#############################################################################] 100%
Optional dependencies for harfbuzz
    harfbuzz-utils: utilities
( 95/126) installing freetype2                                                                                                  [#############################################################################] 100%
( 96/126) installing fontconfig                                                                                                 [#############################################################################] 100%
Creating fontconfig configuration...
Rebuilding fontconfig cache...
( 97/126) installing xcb-proto                                                                                                  [#############################################################################] 100%
( 98/126) installing xorgproto                                                                                                  [#############################################################################] 100%
( 99/126) installing libxdmcp                                                                                                   [#############################################################################] 100%
(100/126) installing libxau                                                                                                     [#############################################################################] 100%
(101/126) installing libxcb                                                                                                     [#############################################################################] 100%
(102/126) installing libx11                                                                                                     [#############################################################################] 100%
(103/126) installing libxext                                                                                                    [#############################################################################] 100%
(104/126) installing libxrender                                                                                                 [#############################################################################] 100%
(105/126) installing pixman                                                                                                     [#############################################################################] 100%
(106/126) installing cairo                                                                                                      [#############################################################################] 100%
(107/126) installing cantarell-fonts                                                                                            [#############################################################################] 100%
(108/126) installing libpciaccess                                                                                               [#############################################################################] 100%
(109/126) installing libdrm                                                                                                     [#############################################################################] 100%
Optional dependencies for libdrm
    cairo: needed for modetest tool [installed]
(110/126) installing fribidi                                                                                                    [#############################################################################] 100%
(111/126) installing libdatrie                                                                                                  [#############################################################################] 100%
(112/126) installing libthai                                                                                                    [#############################################################################] 100%
(113/126) installing libxft                                                                                                     [#############################################################################] 100%
(114/126) installing pango                                                                                                      [#############################################################################] 100%
(115/126) installing plymouth                                                                                                   [#############################################################################] 100%
Optional dependencies for plymouth
    gtk3: x11 renderer
    xf86-video-fbdev: Support special graphic cards on early startup
(116/126) installing plymouth-theme-manjaro                                                                                     [#############################################################################] 100%

==> To activate the theme, run as root:
==> plymouth-set-default-theme -R materia-manjaro

(117/126) installing iw                                                                                                         [#############################################################################] 100%
(118/126) installing wireless-regdb                                                                                             [#############################################################################] 100%
(119/126) installing linux-firmware-whence                                                                                      [#############################################################################] 100%
(120/126) installing linux-firmware                                                                                             [#############################################################################] 100%
(121/126) installing duktape                                                                                                    [#############################################################################] 100%
(122/126) installing polkit                                                                                                     [#############################################################################] 100%
(123/126) installing pcsclite                                                                                                   [#############################################################################] 100%
Optional dependencies for pcsclite
    python: API call trace logging with the pcsc-spy [installed]
    ccid: USB Chip/Smart Card Interface Devices driver
(124/126) installing wpa_supplicant                                                                                             [#############################################################################] 100%
(125/126) installing generic-post-install                                                                                       [#############################################################################] 100%
Configuring /boot in /etc/fstab...
Configuring Plymouth theme...
==> Building image from preset: /etc/mkinitcpio.d/linux-rpi4.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k 6.1.58-5-MANJARO-RPI4 -c /etc/mkinitcpio.conf -g /boot/initramfs8
==> Starting build: '6.1.58-5-MANJARO-RPI4'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs8'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-rpi5.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k 6.1.58-5-MANJARO-RPI5 -c /etc/mkinitcpio.conf -g /boot/initramfs_2712
==> Starting build: '6.1.58-5-MANJARO-RPI5'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs_2712'
==> Image generation successful
(126/126) installing rpi4-post-install                                                                                          [#############################################################################] 100%
Created symlink /etc/systemd/system/multi-user.target.wants/stop-dmesg.service → /usr/lib/systemd/system/stop-dmesg.service.
Editing mkinitcpio.conf...
Editing cmdline.txt...
sed: can't read /boot/cmdline.txt: No such file or directory
sed: can't read /boot/cmdline.txt: No such file or directory
Editing config.txt...
:: Running post-transaction hooks...
( 1/18) Creating system user accounts...
Creating group 'dhcpcd' with GID 972.
Creating user 'dhcpcd' (dhcpcd privilege separation) with UID 972 and GID 972.
Creating group 'polkitd' with GID 102.
Creating user 'polkitd' (PolicyKit daemon) with UID 102 and GID 102.
( 2/18) Updating journal message catalog...
( 3/18) Reloading system manager configuration...
  Skipped: Current root is not booted.
( 4/18) Updating udev hardware database...
( 5/18) Applying kernel sysctl settings...
  Skipped: Current root is not booted.
( 6/18) Creating temporary files...
( 7/18) Reloading device manager configuration...
  Skipped: Device manager is not running.
( 8/18) Arming ConditionNeedsUpdate...
( 9/18) Updating the MIME type database...
(10/18) Updating fontconfig configuration...
(11/18) Updating module dependencies...
(12/18) Updating linux-rpi4 module dependencies...
(13/18) Updating linux-rpi5 module dependencies...
(14/18) Updating linux-rpi4 initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-rpi4.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k 6.1.58-5-MANJARO-RPI4 -c /etc/mkinitcpio.conf -g /boot/initramfs8
==> Starting build: '6.1.58-5-MANJARO-RPI4'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs8'
==> Image generation successful
(15/18) Updating linux-rpi5 initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-rpi5.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k 6.1.58-5-MANJARO-RPI5 -c /etc/mkinitcpio.conf -g /boot/initramfs_2712
==> Starting build: '6.1.58-5-MANJARO-RPI5'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs_2712'
==> Image generation successful
(16/18) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-rpi4.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k 6.1.58-5-MANJARO-RPI4 -c /etc/mkinitcpio.conf -g /boot/initramfs8
==> Starting build: '6.1.58-5-MANJARO-RPI4'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs8'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-rpi5.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k 6.1.58-5-MANJARO-RPI5 -c /etc/mkinitcpio.conf -g /boot/initramfs_2712
==> Starting build: '6.1.58-5-MANJARO-RPI5'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs_2712'
==> Image generation successful
(17/18) Reloading system bus configuration...
  Skipped: Current root is not booted.
(18/18) Updating fontconfig cache...
  -> Enabling services...
Enabling systemd-networkd.service ...
Enabling dhcpcd.service ...
Enabling sshd.service ...
Enabling iwd.service ...
Enabling zswap-arm.service ...
Enabling systemd-oomd.service ...
Enabling irqbalance.service ...
bootsplash-hide-when-booted.service not found in rootfs. Skipping.
bootsplash-show-on-shutdown.service not found in rootfs. Skipping.
  -> Applying overlay for minimal...
  -> Setting up users...
  -> Setting password for root ...
  -> Adding user...
  -> Enabling user services...
No user services for minimal edition
  -> Setting up system settings...
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Generating locales...
  en_US.UTF-8... done
Generation complete.
Correcting permissions from overlay...
  -> Adding btrfs support to system...
  -> Cleaning install for unwanted files...
rm: cannot remove '/var/tmp/manjaro-arm-installer/root/var/log/audit': Is a directory
rm: cannot remove '/var/tmp/manjaro-arm-installer/root/var/log/journal': Is a directory
rm: cannot remove '/var/tmp/manjaro-arm-installer/root/var/log/old': Is a directory
rm: cannot remove '/var/tmp/manjaro-arm-installer/root/var/log/private': Is a directory
==> rpi4 minimal install complete
==> Writing bootloader and cleaning up after install...
  -> Set boot partition to df427760-01 in /etc/fstab...
  -> Set root partition to df427760-02 in the relevant boot script and /etc/fstab...
===> Installing default btrfs RPi cmdline.txt /boot...
===> Installing default config.txt file to /boot/...
  -> If you get an error stating 'failed to preserve ownership ... Operation not permitted', it's expected, since the boot partition is FAT32 and does not support ownership permissions...
==> Time : 9.38 minutes...

I tried with 2 sd-cards to make sure the card was not to blame, same thing.
I payed a little closer attention to the creation of the second card.
Outtakes from what was passed in terminal:

resolving dependencies...
:: There are 3 providers available for initramfs:
:: Repository core
   1) mkinitcpio
:: Repository extra
   2) booster  3) dracut

Enter a number (default=1):
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency

---------------------------------------

Editing mkinitcpio.conf...
Editing cmdline.txt...
sed: can't read /boot/cmdline.txt: No such file or directory
sed: can't read /boot/cmdline.txt: No such file or directory
Editing config.txt...
:: Running post-transaction hooks...

---------------------------------------

  -> Setting up system settings...
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Generating locales...

I have never used btrfs without an efi boot so I’m at a comlete loss here, but the cmdline.txt seems reasonable to me (I removed splash and quiet).

rootflags=subvol=@ root=PARTUUID=288d8732-02 rw rootwait console=serial0,115200 console=tty3 selinux=0 plymouth.ignore-serial-consoles smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=serial0,115200 usbhid.mousepoll=8 audit=0

config.txt:

# See /boot/overlays/README for all available options

#gpu_mem=64
initramfs initramfs-linux.img followkernel
kernel=kernel8.img
arm_64bit=1
disable_overscan=1

#enable sound
dtparam=audio=on
#hdmi_drive=2

#enable vc4
dtoverlay=vc4-kms-v3d
max_framebuffers=2
disable_splash=1

@/etc/fstab:

# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
PARTUUID=288d8732-01  /boot   vfat    defaults,noexec,nodev,showexec     0   0
PARTUUID=288d8732-02 / btrfs  subvol=@,compress=zstd,defaults,noatime  0  0
PARTUUID=288d8732-02 /home btrfs  subvol=@home,compress=zstd,defaults,noatime  0  0
$ lsblk /dev/sdc -lo path,size,partuuid
PATH        SIZE PARTUUID
/dev/sdc    7,5G 
/dev/sdc1 457,8M 288d8732-01
/dev/sdc2     7G 288d8732-02

How to solve?

The message indicates that for the ext4 filesystem the option/parameter subvol is unknown and expected in that combination.

Have you checked your fstab for the card in question?

Go drink a cup of cofee and read my initial message again. xD

I do not know why as I do not maintain manjaro-arm-installer but it seems it should have been this before your mods:

rootflags=subvol=@ rootfstype=btrfs root=PARTUUID=288d8732-02 rw rootwait console=serial0,115200 console=tty3 selinux=0 quiet splash plymouth.ignore-serial-consoles smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 usbhid.mousepoll=8 audit=0

This is normal because PARTUUID could not be obtained inside of chroot when the kernel is being installed. It is done at the post-install process.

sed: can't read /boot/cmdline.txt: No such file or directory
sed: can't read /boot/cmdline.txt: No such file or directory```

Ah, so that line WAS important, now I understand why the kernel gets compiled multiple times in the install. I thought it was ok since the second time cmdline.txt gets written it is done without errors.

Then it most likely is the btrfs support missing in the first kernel compile…?

rootfstype=btrfs was missing in your cmndline.txt. If you do not specify it; it will default to ext4.

I did notice that your fstab contains btrfs but it.

he-he :fox_face: I still wonder why the mount command thinks it is ext4 and in that case the message is valid - as the filesystem you try mount is btrfs.

That was what I thinking - a command somewhere assuming ext4

1 Like

Yeah, I tried with that too, but it changed nothing, I think I have to try to find out why the file can not be written to before the first compile.

Reading up on manjaro-arm-installer · master · manjaro-arm / applications / manjaro-arm-installer · GitLab right now.

edit
I see this comented out…

                #elif [ -f $TMPDIR/root/boot/cmdline.txt ]; then
                #    sed -i 's/^/rootflags=subvol=@ rootfstype=btrfs /' $TMPDIR/root/boot/cmdline.txt

But cmdline.txt is then only used one more time to be written to, this all seems very strange…

Pi OS in the past has never used an initramfs so the fstab was not visible at boot. It used to be you had to specify the ext4 also but since they use ext4 by default they put that in their firmware to try that first unless another filesystem is specified in the cmdline.txt but it seems something is amiss with that now.

Well, it DID remove the line complaining about the unknown parameter, but the kernel panic still happens.

And as I pointed out above, the line inserting rootfstype=btrfs is commented out in the script. But I found the reference in another post about a completely different os so I tried it never the less.

I have no idea what to do.
Might not even be the btrfs modules, they are in my mkinitcpio.conf:

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(usbhid xhci_hcd)
MODULES=(vc4 btrfs)

Here is where the cmdline.txt gets created. What kernel are you using so I can check the config.

https://gitlab.manjaro.org/manjaro-arm/applications/manjaro-arm-tools/-/blob/master/lib/functions.sh#L1168

I just use the script, and I think it is 6.1 kernels, stable, minimal install.

Edit
Yepp, the script installs:

linux-firmware-20230918.3672ccab-1  linux-rpi4-6.1.58-5  linux-rpi4-headers-6.1.58-5  linux-rpi5-6.1.58-5  linux-rpi5-headers-6.1.58-5

Edit 2

I got curious if the 179:2 would be the maj:min on a mmcblk rpi so I booted up a rpi os version from the usb and inserted the sd-card:

$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    1  14.6G  0 disk 
├─sda1        8:1    1   512M  0 part /boot/firmware
└─sda2        8:2    1  14.1G  0 part /
mmcblk0     179:0    0   7.5G  0 disk 
├─mmcblk0p1 179:1    0 457.8M  0 part 
└─mmcblk0p2 179:2    0     7G  0 part

So it identifies the correct device and partition…

I do not see anything wrong with that kernel config. Try renaming /boot/initramfs8 and reboot. If that does not work try another kernel by rebuilding on the unstable branch.

[type or paste code here](https://gitlab.manjaro.org/manjaro-arm/applications/manjaro-arm-installer.git)
cd manjaro-arm-installer
bash ./manjaro-arm-installer arm-unstable

What should I rename it to?

Edit
Also, I used pacman to install the manjaro-arm-installer, should I uninstall and clone the gitlab instead?

Anything just to take it out of the picture. The pi4’s firmware looks for a certain file name. There is an initramfs=auto in config.txt you can disable but I just want the file gone totally; just in case they have changed up things again.

ADDED:

Yes. @linux-aarhus made some changes so one can build on other branches and I do not think it has made it’s way to the stable branch yet.

I’m on unstable on my pc, does that change anything?
I’ll just keep the installed version and clone the gitlab to my /home…

Renaming changed nothing, still kernel panic.
I will try with unstable with the version from gitlabs and return with results.

Thinking about it I do not know if a new package got pushed. The package and git are 2 different animals but regardless it will build on stable by default unless you specify on the commandline a specific branch.

I use the gitlab version of the script and 6.1 is used on unstable as well, if that is a problem.

linux-firmware-20231030.2b304bfe-1  linux-rpi4-6.1.62-1  linux-rpi4-headers-6.1.62-1  linux-rpi5-6.1.62-1  linux-rpi5-headers-6.1.62-1

And why is this still a thing? xD

:: Synchronizing package databases...
 community                                                                                           29.0   B  70.0   B/s 00:00 [#############################################################################] 100%

Still running the install

Kernel 6.1 is what RPi considers to be their stable branch right now. In the near future they will move to the next LTS kernel 6.6. They will start with changes there and apply them to the other kernels as needed.

I checked yesterday here on mine in the pacman.conf.pacnew on unstable and it is still there. I have no clue why though.

Yepp, using unstable, or using the gitlab script was the difference and made it work.

$ lsblk -o name,fstype,mountpoints
NAME        FSTYPE MOUNTPOINTS
mmcblk0            
├─mmcblk0p1 vfat   /boot
└─mmcblk0p2 btrfs  /home
                   /
zram0              [SWAP]

$ inxi
CPU: quad core Model N/A (-MCP-) speed/min/max: 600/600/1800 MHz
Kernel: 6.1.62-1-MANJARO-RPI4 aarch64 Up: 4m Mem: 279.7 MiB/7.63 GiB (3.6%)
Storage: 7.5 GiB (12.4% used) Procs: 177 Shell: Bash inxi: 3.3.31

I will try a stable install from the gitlab script to see if it is the script or the branch.