VZLinuxBootLoader failed to boot Aarch64 64K kernel

Works:

runs-on: ubuntu-24.04-arm
    container:
      image: ubuntu:latest
      env:
        DEBIAN_FRONTEND: noninteractive
    steps:
      - uses: actions/checkout@v4
      - run: |
          apt-get --assume-yes update
          apt-get --assume-yes install linux-image-generic dracut binutils
      - run: |
          dracut --conf $(mktemp) \
            --confdir $(mktemp --directory) \
            --verbose \
            --modules "base bash" \
            --add-drivers "virtio-rng bcachefs btrfs virtiofs overlay xfs" \
            --kernel-cmdline "console=hvc0" \
            --no-early-microcode \
            --no-hostonly \
            --no-compress \
            --no-uefi \
            initramfs \
            $(ls /lib/modules/)
      - run: |
          cp /boot/vmlinuz-$(ls /lib/modules/) vmlinuz
      - uses: actions/upload-artifact@v4
        with:
          path: |
            vmlinuz
            initramfs

Will NOT work:

runs-on: ubuntu-24.04-arm
    container:
      image: ubuntu:latest
      env:
        DEBIAN_FRONTEND: noninteractive
    steps:
      - uses: actions/checkout@v4
      - run: |
          apt-get --assume-yes update
          apt-get --assume-yes install linux-image-generic-64k dracut binutils
      - run: |
          dracut --conf $(mktemp) \
            --confdir $(mktemp --directory) \
            --verbose \
            --modules "base bash" \
            --add-drivers "virtio-rng bcachefs btrfs virtiofs overlay xfs" \
            --kernel-cmdline "console=hvc0" \
            --no-early-microcode \
            --no-hostonly \
            --no-compress \
            --no-uefi \
            initramfs \
            $(ls /lib/modules/)
      - run: |
          cp /boot/vmlinuz-$(ls /lib/modules/) vmlinuz
      - uses: actions/upload-artifact@v4
        with:
          path: |
            vmlinuz
            initramfs

You can try it on Github Actions

Answered by Engineer in 833986022

The supported granules are the 4KB and 16KB. The 64KB granule isn't supported or advertised by the CPU.

The supported granules are the 4KB and 16KB. The 64KB granule isn't supported or advertised by the CPU.

VZLinuxBootLoader failed to boot Aarch64 64K kernel
 
 
Q