Public bug reported:

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 report 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

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Changed in: linux (Ubuntu)
       Status: New => Confirmed

** Description changed:

  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:
+ QEMU will report 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 
+ 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

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

Title:
  lxc c2-m2 focal VM causes KVM internal error during PCI init

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to