← Back to team overview

kernel-packages team mailing list archive

[Bug 1550596] [NEW] kvm fails to boot GNU Hurd kernels with 4.4 Xenial kernel

 

Public bug reported:

Since 4.4, I have not been able to boot GNU Hurd Kernels using KVM QEMU.
I tracked this regression down to commit e8dd2d2d641c ("Silence compiler
warning in arch/x86/kvm/emulate.c", 2015-09-06)

This has been recently fixed with upstream commit
0c1d77f4ba5cc9c05a29adca3d6466cdf4969b70:

KVM: x86: fix conversion of addresses to linear in 32-bit protected mode

Commit e8dd2d2d641c ("Silence compiler warning in arch/x86/kvm/emulate.c",
2015-09-06) broke boot of the Hurd.  The bug is that the "default:"
case actually could modify "la", but after the patch this change is
not reflected in *linear.

The bug is visible whenever a non-zero segment base causes the linear
address to wrap around the 4GB mark.

Fixes: e8dd2d2d641cb2724ee10e76c0ad02e04289c017
Cc: stable@xxxxxxxxxxxxxxx
Reported-by: Aurelien Jarno <aurelien@xxxxxxxxxxx>
Tested-by: Aurelien Jarno <aurelien@xxxxxxxxxxx>
Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>

** Affects: linux (Ubuntu)
     Importance: High
     Assignee: Colin Ian King (colin-king)
         Status: In Progress

** Changed in: linux (Ubuntu)
       Status: New => In Progress

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

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Colin Ian King (colin-king)

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

Title:
  kvm fails to boot GNU Hurd kernels with 4.4 Xenial kernel

Status in linux package in Ubuntu:
  In Progress

Bug description:
  Since 4.4, I have not been able to boot GNU Hurd Kernels using KVM
  QEMU. I tracked this regression down to commit e8dd2d2d641c ("Silence
  compiler warning in arch/x86/kvm/emulate.c", 2015-09-06)

  This has been recently fixed with upstream commit
  0c1d77f4ba5cc9c05a29adca3d6466cdf4969b70:

  KVM: x86: fix conversion of addresses to linear in 32-bit protected
  mode

  Commit e8dd2d2d641c ("Silence compiler warning in arch/x86/kvm/emulate.c",
  2015-09-06) broke boot of the Hurd.  The bug is that the "default:"
  case actually could modify "la", but after the patch this change is
  not reflected in *linear.

  The bug is visible whenever a non-zero segment base causes the linear
  address to wrap around the 4GB mark.

  Fixes: e8dd2d2d641cb2724ee10e76c0ad02e04289c017
  Cc: stable@xxxxxxxxxxxxxxx
  Reported-by: Aurelien Jarno <aurelien@xxxxxxxxxxx>
  Tested-by: Aurelien Jarno <aurelien@xxxxxxxxxxx>
  Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>

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


Follow ups