** Tags removed: verification-needed-jammy verification-needed-lunar
** Tags added: verification-done-jammy verification-done-lunar

-- 
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/2023071

Title:
  [Azure] Fix VM crash/hang issues due to fast VF add/remove events

Status in linux-azure package in Ubuntu:
  New
Status in linux-azure source package in Jammy:
  In Progress
Status in linux-azure source package in Lunar:
  In Progress

Bug description:
  SRU Justification

  [Impact]

  A Linux guest on Hyper-V/Azure can occasionally crash during early Linux 
kernel boot due to a strange host behavior:
  1. The host assigns a VF to the guest;
  2. The host immediately unassigns the VF from the guest; //Dexuan: due to 
some race conditions bug in Linux vPCI driver, Linux can crash.
  3. The host assigns the VF to the guest again.
  I'm asking the Hyper-V team to investigate the host behavior, but I'm not 
sure when they'll get that fixed.

  Starting late 2022 (around Nov 2022), Linux guests on Azure started to
  crash more frequently due to a host side update at that time: a new
  host/hypervisor feature of handling "correctable memory errors" can
  cause a lot of successive VF remove/add events, so the race conditions
  bug in Linux vPCI driver can surface much more easily. The Hyper-V
  team is implementing a batching mechanism so that the guest will get
  much less VF remove/add events (ETA: June 2023), but meanwhile we
  should also get the Linux race condition bugs fixed so that Linux
  guests won't crash even if it receives the successive VF remove/add
  events.

  [Test Plan]

  MSFT tested

  [Regression potential]

  Guests may continue to crash.

  [Other Info]

  SF: #00349076

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/2023071/+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

Reply via email to