[Kernel-packages] [Bug 1943841] Re: svm from ubuntu_kvm_unit_tests interrupt with "Unhandled exception 13 #GP at ip 00000000004027e3" on F-intel-5.13

2021-10-05 Thread Stefan Bader
Also happens with hirsute:linux 5.11.0-38.42 for sru-20210927 on that
host (gonzo).

** Tags added: 5.11 amd64 hirsute sru-20210927

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-intel-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1943841

Title:
  svm from ubuntu_kvm_unit_tests interrupt with "Unhandled exception 13
  #GP at ip 004027e3" on F-intel-5.13

Status in ubuntu-kernel-tests:
  New
Status in linux-intel-5.13 package in Ubuntu:
  New

Bug description:
  Failing with Focal Intel 5.13.0-1004.4 on node gonzo

  A bit like bug 1934939, but this time it looks like this has passed
  through more cases than that bug.

  Running 
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/svm'
   BUILD_HEAD=1593e88a
   timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot 
-nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 
-vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel 
/tmp/tmp.8QIXdsXIyJ -smp 2 -cpu max,+svm -m 4g # -initrd /tmp/tmp.VvuuwXHRuX
   enabling apic
   enabling apic
   paging enabled
   cr0 = 80010011
   cr3 = 10bf000
   cr4 = 20
   NPT detected - running all tests with NPT enabled
   PASS: null
   PASS: vmrun
   PASS: ioio
   PASS: vmrun intercept check
   PASS: rsm
   PASS: cr3 read intercept
   PASS: cr3 read nointercept
   PASS: cr3 read intercept emulate
   PASS: dr intercept check
   PASS: next_rip
   PASS: msr intercept check
   PASS: mode_switch
   PASS: asid_zero
   PASS: sel_cr0_bug
   PASS: npt_nx
   PASS: npt_np
   PASS: npt_us
   PASS: npt_rw
   PASS: npt_rw_pfwalk
   PASS: npt_l1mmio
   PASS: npt_rw_l1mmio
   PASS: tsc_adjust
   Latency VMRUN : max: 322434 min: 21233 avg: 36460
   Latency VMEXIT: max: 298726 min: 16889 avg: 17717
   PASS: latency_run_exit
   Latency VMRUN : max: 334040 min: 23446 avg: 36313
   Latency VMEXIT: max: 310725 min: 16935 avg: 17618
   PASS: latency_run_exit_clean
   Latency VMLOAD: max: 732466 min: 4675 avg: 4879
   Latency VMSAVE: max: 60901 min: 4565 avg: 4850
   Latency STGI:   max: 43057 min: 3726 avg: 3862
   Latency CLGI:   max: 723675 min: 3644 avg: 3724
   PASS: latency_svm_insn
   PASS: exception with vector 2 not injected
   PASS: divide overflow exception injected
   PASS: eventinj.VALID cleared
   PASS: exc_inject
   PASS: pending_event
   PASS: pending_event_cli
   PASS: direct interrupt while running guest
   PASS: intercepted interrupt while running guest
   PASS: direct interrupt + hlt
   PASS: intercepted interrupt + hlt
   PASS: interrupt
   PASS: direct NMI while running guest
   PASS: NMI intercept while running guest
   PASS: nmi
   PASS: direct NMI + hlt
   PASS: NMI intercept while running guest
   PASS: intercepted NMI + hlt
   PASS: nmi_hlt
   PASS: virq_inject
   PASS: No RIP corruption detected after 1 timer interrupts
   PASS: reg_corruption
   enabling apic
   PASS: svm_init_startup_test
   PASS: host_rflags
   PASS: CPUID.01H:ECX.XSAVE set before VMRUN
   PASS: svm_cr4_osxsave_test_guest finished with VMMCALL
   PASS: CPUID.01H:ECX.XSAVE set after VMRUN
   PASS: EFER.SVME: 1500
   PASS: EFER.SVME: 500
   PASS: Test EFER 9:8: 1700
   PASS: Test EFER 63:16: 11500
   PASS: Test EFER 63:16: 101500
   PASS: Test EFER 63:16: 1001500
   PASS: Test EFER 63:16: 10001500
   PASS: Test EFER 63:16: 11500
   PASS: Test EFER 63:16: 101500
   PASS: Test EFER 63:16: 1001500
   PASS: Test EFER 63:16: 10001500
   PASS: Test EFER 63:16: 11500
   PASS: Test EFER 63:16: 101500
   PASS: Test EFER 63:16: 1001500
   PASS: Test EFER 63:16: 10001500
   PASS: EFER.LME=1 (1500), CR0.PG=1 (80010011) and CR4.PAE=0 (4)
   PASS: EFER.LME=1 (1500), CR0.PG=1 and CR0.PE=0 (80010010)
   PASS: EFER.LME=1 (1500), CR0.PG=1 (80010011), CR4.PAE=1 (40020), CS.L=1 and 
CS.D=1 (699)
   PASS: Test CR0 CD=1,NW=0: c0010011
   PASS: Test CR0 CD=1,NW=1: e0010011
   PASS: Test CR0 CD=0,NW=0: 80010011
   PASS: Test CR0 CD=0,NW=1: a0010011
   PASS: Test CR0 63:32: 180010011
   PASS: Test CR0 63:32: 1080010011
   PASS: Test CR0 63:32: 10080010011
   PASS: Test CR0 63:32: 100080010011
   PASS: Test CR0 63:32: 180010011
   PASS: Test CR0 63:32: 1080010011
   PASS: Test CR0 63:32: 10080010011
   PASS: Test CR0 63:32: 100080010011
   PASS: Test CR3 63:0: 10010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 20010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 40010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 80010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 100010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 200010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 400010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 

[Kernel-packages] [Bug 1943841] Re: svm from ubuntu_kvm_unit_tests interrupt with "Unhandled exception 13 #GP at ip 00000000004027e3" on F-intel-5.13

2021-09-16 Thread Po-Hsu Lin
This issue can be reproduced on the same node gonzo with F-intel 5.13.0-1003.3
Therefore this is not a regression.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-intel-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1943841

Title:
  svm from ubuntu_kvm_unit_tests interrupt with "Unhandled exception 13
  #GP at ip 004027e3" on F-intel-5.13

Status in ubuntu-kernel-tests:
  New
Status in linux-intel-5.13 package in Ubuntu:
  New

Bug description:
  Failing with Focal Intel 5.13.0-1004.4 on node gonzo

  A bit like bug 1934939, but this time it looks like this has passed
  through more cases than that bug.

  Running 
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/svm'
   BUILD_HEAD=1593e88a
   timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot 
-nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 
-vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel 
/tmp/tmp.8QIXdsXIyJ -smp 2 -cpu max,+svm -m 4g # -initrd /tmp/tmp.VvuuwXHRuX
   enabling apic
   enabling apic
   paging enabled
   cr0 = 80010011
   cr3 = 10bf000
   cr4 = 20
   NPT detected - running all tests with NPT enabled
   PASS: null
   PASS: vmrun
   PASS: ioio
   PASS: vmrun intercept check
   PASS: rsm
   PASS: cr3 read intercept
   PASS: cr3 read nointercept
   PASS: cr3 read intercept emulate
   PASS: dr intercept check
   PASS: next_rip
   PASS: msr intercept check
   PASS: mode_switch
   PASS: asid_zero
   PASS: sel_cr0_bug
   PASS: npt_nx
   PASS: npt_np
   PASS: npt_us
   PASS: npt_rw
   PASS: npt_rw_pfwalk
   PASS: npt_l1mmio
   PASS: npt_rw_l1mmio
   PASS: tsc_adjust
   Latency VMRUN : max: 322434 min: 21233 avg: 36460
   Latency VMEXIT: max: 298726 min: 16889 avg: 17717
   PASS: latency_run_exit
   Latency VMRUN : max: 334040 min: 23446 avg: 36313
   Latency VMEXIT: max: 310725 min: 16935 avg: 17618
   PASS: latency_run_exit_clean
   Latency VMLOAD: max: 732466 min: 4675 avg: 4879
   Latency VMSAVE: max: 60901 min: 4565 avg: 4850
   Latency STGI:   max: 43057 min: 3726 avg: 3862
   Latency CLGI:   max: 723675 min: 3644 avg: 3724
   PASS: latency_svm_insn
   PASS: exception with vector 2 not injected
   PASS: divide overflow exception injected
   PASS: eventinj.VALID cleared
   PASS: exc_inject
   PASS: pending_event
   PASS: pending_event_cli
   PASS: direct interrupt while running guest
   PASS: intercepted interrupt while running guest
   PASS: direct interrupt + hlt
   PASS: intercepted interrupt + hlt
   PASS: interrupt
   PASS: direct NMI while running guest
   PASS: NMI intercept while running guest
   PASS: nmi
   PASS: direct NMI + hlt
   PASS: NMI intercept while running guest
   PASS: intercepted NMI + hlt
   PASS: nmi_hlt
   PASS: virq_inject
   PASS: No RIP corruption detected after 1 timer interrupts
   PASS: reg_corruption
   enabling apic
   PASS: svm_init_startup_test
   PASS: host_rflags
   PASS: CPUID.01H:ECX.XSAVE set before VMRUN
   PASS: svm_cr4_osxsave_test_guest finished with VMMCALL
   PASS: CPUID.01H:ECX.XSAVE set after VMRUN
   PASS: EFER.SVME: 1500
   PASS: EFER.SVME: 500
   PASS: Test EFER 9:8: 1700
   PASS: Test EFER 63:16: 11500
   PASS: Test EFER 63:16: 101500
   PASS: Test EFER 63:16: 1001500
   PASS: Test EFER 63:16: 10001500
   PASS: Test EFER 63:16: 11500
   PASS: Test EFER 63:16: 101500
   PASS: Test EFER 63:16: 1001500
   PASS: Test EFER 63:16: 10001500
   PASS: Test EFER 63:16: 11500
   PASS: Test EFER 63:16: 101500
   PASS: Test EFER 63:16: 1001500
   PASS: Test EFER 63:16: 10001500
   PASS: EFER.LME=1 (1500), CR0.PG=1 (80010011) and CR4.PAE=0 (4)
   PASS: EFER.LME=1 (1500), CR0.PG=1 and CR0.PE=0 (80010010)
   PASS: EFER.LME=1 (1500), CR0.PG=1 (80010011), CR4.PAE=1 (40020), CS.L=1 and 
CS.D=1 (699)
   PASS: Test CR0 CD=1,NW=0: c0010011
   PASS: Test CR0 CD=1,NW=1: e0010011
   PASS: Test CR0 CD=0,NW=0: 80010011
   PASS: Test CR0 CD=0,NW=1: a0010011
   PASS: Test CR0 63:32: 180010011
   PASS: Test CR0 63:32: 1080010011
   PASS: Test CR0 63:32: 10080010011
   PASS: Test CR0 63:32: 100080010011
   PASS: Test CR0 63:32: 180010011
   PASS: Test CR0 63:32: 1080010011
   PASS: Test CR0 63:32: 10080010011
   PASS: Test CR0 63:32: 100080010011
   PASS: Test CR3 63:0: 10010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 20010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 40010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 80010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 100010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 200010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 400010bf000, wanted exit 0x, got 0x
   PASS: Test CR3 63:0: 800010bf000, wanted exit