** Description changed: + [ Impact ] + On RISC-V hardware offering the hypervisor extension GRUB crashes in virtual machines running under KVM due to missing accessibility of the counter register. For measuring time the RISC-V ISA provides the time register. Please, apply the following patch: [PATCH 1/1] riscv: use time register in grub_efi_get_time_ms() https://lists.gnu.org/archive/html/grub-devel/2024-08/msg00008.html + + [ Test Plan ] + + Run Ubuntu on QEMU according to https://wiki.ubuntu.com/RISC-V/QEMU. + + In GRUB press the <C>-key to enter the console. + + Execute 'sleep 10' and check that the console prompt is written after + approximately 10 seconds. + + Restart the VM with the 'reset' command. + + Check that the countdown in the Ubuntu menu runs at wall time speed. + + Check that the login prompt is reached. + + [ Where problems could occur ] + + The patch only concerns RISC-V. It changes how GRUB measures elapsed + time. + + Incorrect measuring of time could lead to the menu countdown or the + sleep command not working. + + [ Other Info ] + + n/a
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2076651 Title: [SRU] Crash on RISC-V in virtual machine using KVM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2076651/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
