[U-Boot] [BUG] Linux kernel oops when booting from U-Boot via GRUB-EFI on qemu-x86_defconfig

Heinrich Schuchardt heinrich.schuchardt at gmx.de
Thu May 2 18:09:36 UTC 2019


Today I tried to boot Debian Buster on qemu-x86_defconfig via GRUB-efi
and got an oops in drivers/firmware/efi/runtime-wrappers.c when trying
to enter SetVariable().

Did this ever work?

[    0.210599] Calibrating delay loop (skipped) preset value.. 3992.42
BogoMIPS (lpj=7984856)
[    0.211971] pid_max: default: 32768 minimum: 301
[    0.212950] BUG: unable to handle kernel paging request at bff585b8
[    0.214101] *pdpt = 0000000000000000 *pde = 0246000008c00000
[    0.214591] Oops: 0000 [#1] SMP NOPTI
[    0.214591] CPU: 0 PID: 0 Comm: swapper/0 Not tainted
4.19.0-4-686-pae #1 Debian 4.19.28-2
[    0.214591] Hardware name: emulation qemu-x86/qemu-x86, BIOS
2019.07-rc1-00108-g97105c097a-dirty 05/02/2019
[    0.214591] EIP: virt_efi_set_variable_nonblocking+0x56/0xb0
[    0.214591] Code: 8b 15 4c 56 a4 d8 83 c8 01 b9 48 00 00 00 90 90 ff
15 fc 56 8b d8 89 45 f0 a1 a0 47 94 d8 8b 40 38 ff 75 0c ff 75 08 57 56
53 <8b> 40 38 e8 5a e4 16 0f
[    0.214591] EAX: bff58580 EBX: d86989b8 ECX: 00000048 EDX: 00000000
[    0.214591] ESI: d88a3f30 EDI: 00000007 EBP: d88a3f20 ESP: d88a3efc
[    0.214591] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00210202
[    0.214591] CR0: 80050033 CR2: bff585b8 CR3: 18a3c000 CR4: 000006b0
[    0.214591] Call Trace:
[    0.214591]  ? virt_efi_reset_system+0xa0/0xa0
[    0.214591]  efi_delete_dummy_variable+0x4f/0x70
[    0.214591]  efi_enter_virtual_mode+0x455/0x462
[    0.214591]  start_kernel+0x3c5/0x45f
[    0.214591]  i386_start_kernel+0xac/0xb0
[    0.214591]  startup_32_smp+0x164/0x168
[    0.214591] Modules linked in:
[    0.214591] CR2: 00000000bff585b8
[    0.214591] ---[ end trace be120570f6f2d3a7 ]---
[    0.214591] EIP: virt_efi_set_variable_nonblocking+0x56/0xb0
[    0.214591] Code: 8b 15 4c 56 a4 d8 83 c8 01 b9 48 00 00 00 90 90 ff
15 fc 56 8b d8 89 45 f0 a1 a0 47 94 d8 8b 40 38 ff 75 0c ff 75 08 57 56
53 <8b> 40 38 e8 5a e4 16 0f
[    0.214591] EAX: bff58580 EBX: d86989b8 ECX: 00000048 EDX: 00000000
[    0.214591] ESI: d88a3f30 EDI: 00000007 EBP: d88a3f20 ESP: d8a43dfc
[    0.214591] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00210202
[    0.214591] CR0: 80050033 CR2: bff585b8 CR3: 18a3c000 CR4: 000006b0
[    0.214591] Kernel panic - not syncing: Attempted to kill the idle task!
[    0.214591] ---[ end Kernel panic - not syncing: Attempted to kill
the idle task! ]---

Best regards

Heinrich


More information about the U-Boot mailing list