[Bug 1788940] Re: armhf cloud image fails to boot kernel

dann frazier dann.frazier at canonical.com
Mon Aug 27 22:53:27 UTC 2018


This is now supported upstream, and I was able to backport the necessary
fixes to the GRUB in Debian/unstable (test builds at ppa:dannf/test).
However, I haven't been able to get them working on top of the Ubuntu
patches - that build just loops with the error:

Prefetch Abort Exception PC at 0x7D715000  CPSR 0x30000113
Prefetch Abort Exception PC at 0x7D715000  CPSR 0x30000113
Prefetch Abort Exception PC at 0x7D715000  CPSR 0x30000113
[...]

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

Title:
  armhf cloud image fails to boot kernel

Status in grub2 package in Ubuntu:
  Triaged

Bug description:
  If you try to boot a pristine Ubuntu cloud image in EFI mode in QEMU,
  GRUB will fail to boot the kernel.

  sudo qemu-system-aarch64 -enable-kvm -M virt,gic_version=host -smp 7
  -m 2048 -cpu host,aarch64=off -nographic -pflash AAVMF32_CODE.fd
  -pflash AAVMF32_VARS.fd -drive if=none,file=bionic-server-cloudimg-
  armhf.img,id=hd0 -device virtio-blk-device,drive=hd0 -drive
  if=none,file=my-seed.img,id=hd1      -device virtio-blk-
  device,drive=hd1      -netdev type=tap,id=net0      -device virtio-
  net-device,netdev=net0,mac=00:16:3e:12:2c:a8

  [...]
  FS1:\EFI\BOOT\> BOOTARM.EFI
  error: no suitable video mode found.

  
                               GNU GRUB  version 2.02

   /----------------------------------------------------------------------------\
   |*Ubuntu                                                                     | 
   | Advanced options for Ubuntu                                                |
   | System setup                                                               |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            | 
   \----------------------------------------------------------------------------/

        Use the ^ and v keys to select which entry is highlighted.          
        Press enter to boot the selected OS, `e' to edit the commands       
        before booting or `c' for a command-line.                           
                                                                                 
                                                                                 












  
  error: no such device: root.

  Press any key to continue...

  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  [...]

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



More information about the foundations-bugs mailing list