[Kernel-packages] [Bug 1904632] Re: Ubuntu 18.04 Azure VM host kernel panic

2021-08-17 Thread Marcelo Cerri
** Changed in: linux-azure (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-azure in Ubuntu. https://bugs.launchpad.net/bugs/1904632 Title: Ubuntu 18.04 Azure VM host kernel panic Status in l

[Kernel-packages] [Bug 1904632] Re: Ubuntu 18.04 Azure VM host kernel panic

2020-12-16 Thread Dexuan Cui
Sure, will do. But AFAICT, there is no ETA yet. Even if the fix was made today, it would take quite some time (at least a few months?) to deploy the fix to the whole Azure fleet. :-( -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-az

Re: [Kernel-packages] [Bug 1904632] Re: Ubuntu 18.04 Azure VM host kernel panic

2020-12-16 Thread Kaveh Moe
Yes, I am clear on this Dexuan. Had found the same info tonight, including the table of causes of VM exit. The issue is not the VM exit itself, it is that hyperv adversely affects the 32 bit programs state. Please keep posting the progress on fixing the issue if you could as this goes along. Regar

[Kernel-packages] [Bug 1904632] Re: Ubuntu 18.04 Azure VM host kernel panic

2020-12-16 Thread Dexuan Cui
VM exits are pretty frequent and normal. "VM exits occur in response to certain instructions and events in VMX non-root operation" (see CHAPTER 27 VM EXITS of https://software.intel.com/content/www/us/en/develop/download/intel-64-and-ia-32-architectures-sdm-volume-3c-system-programming-guide-part

Re: [Kernel-packages] [Bug 1904632] Re: Ubuntu 18.04 Azure VM host kernel panic

2020-12-16 Thread Kaveh Moe
Thanks Dexuan. I realized later and clarified my Q on the thread, suggesting the experiment I mentioned. I have not tried it, but anyway you guys are now zeroing in on the issue. On Wednesday, December 16, 2020, 6:30:48 PM PST, Dexuan Cui <1904...@bugs.launchpad.net> wrote: VM Exit is a

Re: [Kernel-packages] [Bug 1904632] Re: Ubuntu 18.04 Azure VM host kernel panic

2020-12-16 Thread Kaveh Moe
Hi Dexuan, To clarify my question: What is the cause of the VMexit (ie. trap to the hyperv) in this scenario? It might be worth it to do an experiment and reverse the order of operations i.e. first start the hello program in a loop and THEN start the nested VM via KVM. Then it would be the nested

[Kernel-packages] [Bug 1904632] Re: Ubuntu 18.04 Azure VM host kernel panic

2020-12-16 Thread Dexuan Cui
VM Exit is a term in the Intel CPU's Virtualization support (VMX). It means the execution of the guest CPU is interrupted and the execution "jumps" to some function in the hypervisor; the hypervisor analyzes the reason of the VM Exit, and handles the VM exit properly, and then the execution "jumps"

Re: [Kernel-packages] [Bug 1904632] Re: Ubuntu 18.04 Azure VM host kernel panic

2020-12-16 Thread Kaveh Moe
Thank you Dexuan. What does VMexit mean here please? Trying to see how the VM exit triggers a kernel panic, since we were just running a 32 bit hello world program, which should not cause a the host VM to "exit". Regards. On Wednesday, December 16, 2020, 5:11:37 PM PST, Dexuan Cui <1904...@b

[Kernel-packages] [Bug 1904632] Re: Ubuntu 18.04 Azure VM host kernel panic

2020-12-16 Thread Dexuan Cui
Hyper-V team just identified a bug where the Hyper-V hypervisor can truncate the host SYSENTER_ESP/EIP to 16 bits on VMexit for some reason. A further investigation is ongoing. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-azure in

[Kernel-packages] [Bug 1904632] Re: Ubuntu 18.04 Azure VM host kernel panic

2020-12-14 Thread Kaveh Moe
Hi Marcelo, This issue can also been seen on the latest Ubuntu 18.04 image. It is also seen in the 5.10-rc7 Linux kernel as well as 5.4. The issue can be reproduced 100% of the time using a more simple setup as described below. A basic "hello world" C program compiled for 32 bit crashes the Az

[Kernel-packages] [Bug 1904632] Re: Ubuntu 18.04 Azure VM host kernel panic

2020-12-10 Thread Marcelo Cerri
Thanks for reporting the issue, Kaveh. Do you have more information about the image you are using to create this Azure host? By your last comment, it doesn't seem the host is running one of the Ubuntu kernels. -- You received this bug notification because you are a member of Kernel Packages, whi

[Kernel-packages] [Bug 1904632] Re: Ubuntu 18.04 Azure VM host kernel panic

2020-11-17 Thread Kaveh Moe
Version info about the Azure Ubuntu Host VM: root@vm-5:~# uname -a Linux vm-5 4.15.18+test #1 SMP Mon Oct 29 03:40:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux root@vm-5:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 18.04.5 LTS Release:18.04