Public bug reported:

I tried to boot our preinstalled RISC-V server images with EDK II using
the following command:

qemu-system-riscv64 \
-machine virt \
-m 8192 \
-nographic \
-smp 8,sockets=2,cores=4,threads=1 \
-numa node,cpus=0-3,mem=4096 \
-numa node,cpus=4-7,mem=4096 \
-drive 
if=pflash,format=raw,unit=0,file=/usr/share/qemu-efi-riscv64/RISCV_VIRT_CODE.fd,readonly=on
 \
-drive if=pflash,format=raw,unit=1,file=RISCV_VIRT_VARS.fd \
-device virtio-net-device,netdev=eth0 \
-netdev user,id=eth0 \
-device virtio-rng-pci \
-drive file=ubuntu-24.04.2-preinstalled-server-riscv64.img,format=raw,if=virtio

I tried these combinations:

Feb 15 11:10 ubuntu-24.04.2-preinstalled-server-riscv64.img.xz with EDK II 
2025.02-3ubuntu1 from plucky
Feb 15 11:10 ubuntu-24.04.2-preinstalled-server-riscv64.img.xz with EDK II 
2024.02-2 from noble
Mar 31 08:14 plucky-preinstalled-server-riscv64.img with EDK II 
2025.02-3ubuntu1 from plucky
Mar 31 08:14 plucky-preinstalled-server-riscv64.img with EDK II 2024.02-2 from 
noble

On all of these GRUB fails with `relocation overflow`.

I am using QEMU 1:9.2.1+ds-1ubuntu4 on a amd64 Plucky system.

** Affects: edk2 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: grub2 (Ubuntu)
     Importance: Undecided
     Assignee: Adriano Cordova Fedeli (adrianoco)
         Status: New

** Changed in: grub2 (Ubuntu)
     Assignee: (unassigned) => Adriano Cordova Fedeli (adrianoco)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2106208

Title:
  Relocation overflow in GRUB when booting with RISC-V EDK II and
  emulating NUMA.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/2106208/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to