Skip to content
Snippets Groups Projects
  1. Jul 06, 2021
  2. Jul 01, 2021
    • Jens Wiklander's avatar
      qemu_v8: xen: replace virt-make-fs with mke2fs · fc2747c2
      Jens Wiklander authored
      
      Replaces virt-make-fs with mke2fs since it's more robust on Ubuntu and
      also a bit faster.
      
      Fixes build problems like:
      virt-make-fs -t ext4
      /home/jens/work/repos/qemu_v8_xen/build/../out/bin/xen_files
      /home/jens/work/repos/qemu_v8_xen/build/../out/bin/xen.ext4
      Image Name:   Root file system
      Created:      Wed Jun 30 19:34:06 2021
      Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
      Data Size:    31978230 Bytes = 31228.74 KiB = 30.50 MiB
      Load Address: 44000000
      Entry Point:  44000000
      libguestfs: error: tar_in: tar subcommand failed on directory: /: tar:
      ./rootfs.cpio.gz: Wrote only 6144 of 10240 bytes
      tar: Exiting with failure status due to previous errors
      make: *** [Makefile:362: xen-create-image] Error 1
      
      Reviewed-by: default avatarJerome Forissier <jerome@forissier.org>
      Tested-by: default avatarJerome Forissier <jerome@forissier.org>
      Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
      fc2747c2
  3. Jun 30, 2021
  4. Jun 29, 2021
  5. Jun 28, 2021
    • Jerome Forissier's avatar
      qemu_v8.mk: xen: pass -t ext4 instead of -t vfat to make-virt-fs · 271ecf35
      Jerome Forissier authored
      
      make-virt-fs is used to generate xen.ext4 but is passed '-t vfat'
      instead of '-t ext4'. Fix that.
      
      In fact '-t vfat' happens to be working in general, presumably because
      the actual format of the image is detected at runtime. However, I could
      not manage to make a VFAT image work in a Docker container based on
      Ubuntu 21.04 and with the following kernel image package installed:
      
        linux-image-kvm/hirsute-updates,now 5.11.0.1009.9 amd64 [installed]
      
      The error messages are as follows:
      
      root@32b61ad4d7f3:~/optee_repo_qemu_v8/build# LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 virt-make-fs -t vfat /root/optee_repo_qemu_v8/build/../out/bin/xen_files /root/optee_repo_qemu_v8/build/../out/bin/xen.ext4
      [...]
      libguestfs: trace: mount_options "utf8" "/dev/sda" "/"
      guestfsd: => mkfs (0x116) took 0.47 secs
      guestfsd: <= mount_options (0x4a) request length 68 bytes
      commandrvf: stdout=n stderr=y flags=0x0
      commandrvf: udevadm --debug settle -E /dev/sda
      SELinux enabled state cached to: disabled
      No filesystem is currently mounted on /sys/fs/cgroup.
      Failed to determine unit we run in, ignoring: No data available
      command: mount '-o' 'utf8' '/dev/sda' '/sysroot//'
      [   11.673076] squashfs: Unknown parameter 'utf8'
      [   11.694908] fuseblk: Unknown parameter 'utf8'
      command: mount returned 32
      command: mount: stderr:
      mount: /sysroot: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.
      ocaml_exn: 'mount_options' raised 'Failure' exception
      guestfsd: error: mount exited with status 32: mount: /sysroot: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.
      guestfsd: => mount_options (0x4a) took 0.40 secs
      libguestfs: trace: mount_options = -1 (error)
      libguestfs: error: mount_options: mount exited with status 32: mount: /sysroot: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.
      libguestfs: trace: close
      libguestfs: closing guestfs handle 0x55f423503430 (state 2)
      [...]
      
      With '-t ext4', the issue is gone.
      
      Signed-off-by: default avatarJerome Forissier <jerome@forissier.org>
      Acked-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
      Acked-by: default avatarRuchika Gupta <ruchika.gupta@linaro.org>
      271ecf35
    • Jerome Forissier's avatar
      github: update links in issue/PR templates · 89302b9e
      Jerome Forissier authored
      
      Update broken URLs in the issue and PR templates.
      
      Signed-off-by: default avatarJerome Forissier <jerome@forissier.org>
      Reviewed-by: default avatarJoakim Bech <joakim.bech@linaro.org>
      Reviewed-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
      89302b9e
  6. Jun 25, 2021
  7. Jun 24, 2021
  8. Jun 21, 2021
  9. Jun 15, 2021
  10. Jun 14, 2021
  11. Jun 11, 2021
  12. Jun 10, 2021
  13. May 06, 2021
  14. May 03, 2021
  15. Apr 28, 2021
  16. Apr 26, 2021
  17. Apr 22, 2021
  18. Apr 16, 2021
  19. Apr 13, 2021
  20. Mar 18, 2021
Loading