Launching a 2 CPU 2G VM with lxc often cause a KVM internal error during boot.
Reproducer: lxc launch ubuntu:20.04 dannf-test2 -t c2-m2 --vm
QEMU will exit with a KVM internal error:
KVM internal error. Suberror: 3 extra data[0]: 800000ec extra data[1]: 31 extra data[2]: 81 extra data[3]: 30000 RAX=0000000000000000 RBX=0000000000000001 RCX=0000000000000001 RDX=000000000000021e RSI=ffff88807851cba8 RDI=0000000000000001 RBP=ffffc90000077e90 RSP=ffffc90000077e78 R8 =0000000029417eca R9 =0000000000000000 R10=0000000000000400 R11=0000000000000400 R12=0000000000000001 R13=ffff8880001c8c80 R14=0000000000000000 R15=0000000000000000 RIP=ffffffff81757a74 RFL=00000246 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 ffffffff 00c00000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0000 0000000000000000 ffffffff 00c00000 DS =0000 0000000000000000 ffffffff 00c00000 FS =0000 0000000000000000 ffffffff 00c00000 GS =0000 ffff888078500000 ffffffff 00c00000 LDT=0000 0000000000000000 ffffffff 00c00000 TR =0040 fffffe0000036000 0000206f 00008b00 DPL=0 TSS64-busy GDT= fffffe0000034000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=00000000ffffffff CR3=000000000240a000 CR4=001006a0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000d01 Code=00 85 c0 7e 07 0f 00 2d 16 93 4b 00 fb f4 8b 05 14 61 78 00 <65> 44 8b 25 b4 86 8b 7e 85 c0 0f 8f 85 00 00 00 5b 41 5c 41 5d 5d c3 65 8b 05 9e 86 8b 7e
The last lines on the console: acpi PNP0A08:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3] acpi PNP0A08:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI] PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] pci_bus 0000:00: root bus resource [mem 0x7a100000-0xafffffff window] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] pci_bus 0000:00: root bus resource [mem 0x800000000-0xfffffffff window] pci_bus 0000:00: root bus resource [bus 00-ff] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 pci 0000:00:01.0: [1b36:000c] type 01 class 0x060400 pci 0000:00:01.0: reg 0x10: [mem 0xc1245000-0xc1245fff] pci 0000:00:01.1: [1b36:000c] type 01 class 0x060400 pci 0000:00:01.1: reg 0x10: [mem 0xc1244000-0xc1244fff] pci 0000:00:01.2: [1b36:000c] type 01 class 0x060400 pci 0000:00:01.2: reg 0x10: [mem 0xc1243000-0xc1243fff] pci 0000:00:01.3: [1b36:000c] type 01 class 0x060400
Launching a 2 CPU 2G VM with lxc often cause a KVM internal error during boot.
Reproducer:
lxc launch ubuntu:20.04 dannf-test2 -t c2-m2 --vm
QEMU will exit with a KVM internal error:
KVM internal error. Suberror: 3 00000 RBX=00000000000 00001 RCX=00000000000 00001 RDX=00000000000 0021e 1cba8 RDI=00000000000 00001 RBP=ffffc900000 77e90 RSP=ffffc900000 77e78 00400 R11=00000000000 00400 00001 R13=ffff8880001 c8c80 R14=00000000000 00000 R15=00000000000 00000 57a74 RFL=00000246 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 fffff CR3=00000000024 0a000 CR4=001006a0 00000 DR1=00000000000 00000 DR2=00000000000 00000 DR3=00000000000 00000 f0ff0 DR7=00000000000 00400 000d01
extra data[0]: 800000ec
extra data[1]: 31
extra data[2]: 81
extra data[3]: 30000
RAX=00000000000
RSI=ffff8880785
R8 =0000000029417eca R9 =0000000000000000 R10=00000000000
R12=00000000000
RIP=ffffffff817
ES =0000 0000000000000000 ffffffff 00c00000
CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
SS =0000 0000000000000000 ffffffff 00c00000
DS =0000 0000000000000000 ffffffff 00c00000
FS =0000 0000000000000000 ffffffff 00c00000
GS =0000 ffff888078500000 ffffffff 00c00000
LDT=0000 0000000000000000 ffffffff 00c00000
TR =0040 fffffe0000036000 0000206f 00008b00 DPL=0 TSS64-busy
GDT= fffffe0000034000 0000007f
IDT= fffffe0000000000 00000fff
CR0=80050033 CR2=00000000fff
DR0=00000000000
DR6=00000000fff
EFER=0000000000
Code=00 85 c0 7e 07 0f 00 2d 16 93 4b 00 fb f4 8b 05 14 61 78 00 <65> 44 8b 25 b4 86 8b 7e 85 c0 0f 8f 85 00 00 00 5b 41 5c 41 5d 5d c3 65 8b 05 9e 86 8b 7e
The last lines on the console: 0x000bffff window] 0xafffffff window] 0xfebfffff window] 0xfffffffff window] 0xc1245fff] 0xc1244fff] 0xc1243fff]
acpi PNP0A08:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
acpi PNP0A08:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
pci_bus 0000:00: root bus resource [mem 0x000a0000-
pci_bus 0000:00: root bus resource [mem 0x7a100000-
pci_bus 0000:00: root bus resource [mem 0xc0000000-
pci_bus 0000:00: root bus resource [mem 0x800000000-
pci_bus 0000:00: root bus resource [bus 00-ff]
pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000
pci 0000:00:01.0: [1b36:000c] type 01 class 0x060400
pci 0000:00:01.0: reg 0x10: [mem 0xc1245000-
pci 0000:00:01.1: [1b36:000c] type 01 class 0x060400
pci 0000:00:01.1: reg 0x10: [mem 0xc1244000-
pci 0000:00:01.2: [1b36:000c] type 01 class 0x060400
pci 0000:00:01.2: reg 0x10: [mem 0xc1243000-
pci 0000:00:01.3: [1b36:000c] type 01 class 0x060400