[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2024-04-27 Thread dfdfdf
backported to jammy, should be in the next kernel release
6.5.0-34.34~22.04.2

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2024-04-23 Thread Mattia Rizzolo
hwe is not handled by the backports team, so I'm unsubscribing us.

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2024-03-12 Thread dfdfdf
it was finally backported to mantic. Waiting for jammy's hwe-6.5 now.

https://git.launchpad.net/~ubuntu-
kernel/ubuntu/+source/linux/+git/mantic/commit/?h=master-
next&id=f22ef199e0d6128350b3f19b3cf3142d0a8e582a

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2024-02-02 Thread Ozzie
So what's the current status with this bug? Is it now fixed in 6.8rc1
kernel and above? Any older kernel has to be patched?

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2024-02-02 Thread dfdfdf
Also backported to 6.1.76
Can we get it into Mantic kernel?

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2024-01-25 Thread dfdfdf
Backported to Linux 6.7.2 and Linux 6.6.14

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2024-01-22 Thread dfdfdf
The patch is in 6.8-rc1, how can we make Canonical to cherry-pick that
patch into current 6.5 kernel?

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2024-01-04 Thread dfdfdf
It will be fixed in kernel 6.8
Let's hope for backports to -stable

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2023-12-01 Thread dfdfdf
> Applied to kvm-x86 svm, with a comment as suggested by Maxim.

> [1/2] Revert "nSVM: Check for reserved encodings of TLB_CONTROL in nested 
> VMCB"
> https://github.com/kvm-x86/linux/commit/a484755ab252

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2023-11-27 Thread NoOverflow
Can confirm, bug occurs with my setup too:

Host: Centos 9 Stream (5.14.0-352.el9.x86_64) 
Hypervisor: KVM (Openstack)
VM: ESXi 7.0u3

Patching the commit @lindt found, and recompiling a custom kernel
allowed me to start a VM in an ESXi VM nested in Openstack.

Be aware I needed to delete the previously crashing VM in ESXI and
create a new one. Failing to do so resulted in ESXi crashing completely
and restarting.

Can provide additional logs or data if needed.

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2023-06-25 Thread dfdfdf
Google is your friend. The commit you should revert is specified
earlier.

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2023-06-25 Thread Nicolas Ballet
Sorry for the noob question but how do I compile the custom kernel?
What is the fix please?

Any help would be greatly appreciated.
Thank you.

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2023-06-23 Thread dfdfdf
For now you can only compile the custom kernel to fix it.
Discussion in kvm mail list on this issue died out with no result so far.

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2023-06-23 Thread Nicolas Ballet
Hi, I’ve got the exact same problem on an AMD Epyc 7763.
Can do a nested ESXi 7.0+ (and start VMs on top of it) with kernel 5.15.
No longer works with kernel 6.2 (haven’t tried with 5.19).
Can’t even virtualize ESXi 8.0: this host supports AMD-V, but the AMD-V 
implementation is incompatible

I was also able to reproduce the issue with Debian 11 and 12.
Any help would be greatly appreciated, thanks

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2023-05-28 Thread Ricardo Esteves
Hi,

Does anyone knows if there is already a fix for this?
I have have same problem with kernel 6.2 with AMD EPYC 7313P CPU.

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2023-05-03 Thread dfdfdf
you can check it with bpftrace on kernel 5.19.0-41-generic #42~22.04.1-Ubuntu:
sudo bpftrace -e 'kprobe:__nested_vmcb_check_controls { printf("tlb_ctl: %d\n", 
*((uint8 *)arg1+60) )}'
and it ends like this:
...
tlb_ctl: 1
tlb_ctl: 0
tlb_ctl: 0
tlb_ctl: 0
tlb_ctl: 0
tlb_ctl: 0
tlb_ctl: 0
tlb_ctl: 0
tlb_ctl: 3  <<

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2023-05-01 Thread dfdfdf
ok, found the culprit:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=174a921b6975ef959dd82ee9e8844067a62e3ec1

"nSVM: Check for reserved encodings of TLB_CONTROL in nested VMCB"

I'll email author to revert it or fix this.

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2023-05-01 Thread dfdfdf
Ok, I've checked mainline ubuntu kernels as of today:
WORKS 5.15.110 
linux-image-unsigned-5.15.110-0515110-generic_5.15.110-0515110.202304302037_amd64.deb
BROKEN 5.16rc1 
linux-image-unsigned-5.16.0-051600rc1-generic_5.16.0-051600rc1.20242330_amd64.deb

so rc1 changes of 5.16 broke something here

PS and it's still broken on 6.3.1

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2023-04-11 Thread Juan S. Perales
Hi Everyone!

Found the same bug on my system:

Host: Ubuntu 22.04.02, kernel 5.15, Ryzen 5950x
Hypervisor: KVM
VM: ESXi 7.0u3

ESXi works fine and I'm able to start VMs on it (nested virtualization)

After updating the kernel to 5.19 or 6.0-oem I get this error anytime I try to 
start a VM on the ESXi:
vcpu-0:Invalid VMCB

I also found the same error/problems on other forums after the kernel
update (it seems to affect only AMD platforms).

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2008583] Re: VMware nested under KVM stopped working on 5.19 kernel on Ryzen: Invalid VMCB.

2023-02-25 Thread dfdfdf
** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

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

Title:
   VMware nested under KVM stopped working on 5.19 kernel on Ryzen:
  Invalid VMCB.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  My setup:

  Host: Ubuntu Linux 22.04.1, kernel 5.15, Ryzen 5900x
  Hypervisor: KVM
  Windows VM with VMware Workstation 16

  Running nested VMs in VMware works ok.

  It fails if Linux host kernel is updated to 5.19 (22.04.2) with

  MONITOR PANIC: Invalid VMCB.
  VMware Workstation unrecoverable error: (vcpu-0)
  vcpu-0:Invalid VMCB.

  If I update to Workstation 17 it fails with

  2023-02-24T15:21:35.112Z In(05) vmx The following features are required for 
SVM support in VMware Workstation; however, these features are not available on 
this host:
  2023-02-24T15:21:35.112Z In(05) vmxFlush by ASID.
  This host supports AMD-V, but the AMD-V implementation is incompatible with 
VMware Workstation.
  VMware Workstation does not support the user level monitor on this host.
  Module 'MonitorMode' power on failed.

   
  The same VM works ok on 5.19 kernel on my Intel PC.

  So it has to do with updated Linux kernel and AMD virtualization and
  VMware.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp