Public bug reported:

Starting with Linux kernel 4.10, the kernel does some sanity checking on
the TSC_ADJUST MSR. Xen has implemented some support for that MSR in the
hypervisor (Xen 4.3 and later) for HVM guests. But boot and secondary
vCPUs are set up inconsistently. This causes the boot of a 4.10 HVM
guest to hang early on boot.

This was fixed in the hypervisor by:

  commit 98297f09bd07bb63407909aae1d309d8adeb572e
  x86/hvm: do not set msr_tsc_adjust on hvm_set_guest_tsc_fixed

That fix would be contained in 4.6.5 and 4.7.2 and would be in 4.8.1
(not released, yet) which mean that Ubuntu 14.04/16.04/16.10 and 17.04
currently are affected.

** Affects: xen (Ubuntu)
     Importance: High
     Assignee: Stefan Bader (smb)
         Status: Triaged

** Affects: xen (Ubuntu Trusty)
     Importance: High
         Status: Triaged

** Affects: xen (Ubuntu Xenial)
     Importance: High
         Status: Triaged

** Affects: xen (Ubuntu Yakkety)
     Importance: High
         Status: Triaged

** Affects: xen (Ubuntu Zesty)
     Importance: High
     Assignee: Stefan Bader (smb)
         Status: Triaged

** Patch added: "Upstream fix (verified for 16.04)"
   
https://bugs.launchpad.net/bugs/1671760/+attachment/4835140/+files/0001-x86-hvm-do-not-set-msr_tsc_adjust-on-hvm_set_guest_t.patch

** Also affects: xen (Ubuntu Zesty)
   Importance: High
     Assignee: Stefan Bader (smb)
       Status: Triaged

** Also affects: xen (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: xen (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Also affects: xen (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: xen (Ubuntu Yakkety)
   Importance: Undecided => High

** Changed in: xen (Ubuntu Yakkety)
       Status: New => Triaged

** Changed in: xen (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: xen (Ubuntu Xenial)
       Status: New => Triaged

** Changed in: xen (Ubuntu Trusty)
   Importance: Undecided => High

** Changed in: xen (Ubuntu Trusty)
       Status: New => Triaged

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

Title:
  Xen HVM guests running linux 4.10 fail to boot on Intel hosts

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

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

Reply via email to