[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-18 Thread Joseph Salisbury
** Tags removed: kernel-key

** Tags added: kernel-da-key

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-09 Thread Albert Damen
As both the error message and the commit message refer to "big real mode" I 
tried a locally build 3.5.3 kernel with commit "KVM: VMX: Fix KVM_SET_SREGS 
with big real mode segments" reverted.
With an unmodified local build 3.5.3 I could reproduce the original error.
With the local build 3.5.3 with the reverted commit the vm boots fine. It 
passes pxe and boots successfully from cdrom (server beta1 iso). Also the 
installed server boots fine with the revert.
NB: I left the module parameters at their default values, so especially 
emulate_invalid_guest_state=n for this test.

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-08 Thread Dave Gilbert
Joseph:
  From comment #9
 3.5.2 version works
 3.5.3 fails

Dave

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-08 Thread Dave Gilbert
Albert:
  Still on 3.5.0-13, if I use the emulate_invalid_guest_state=y it does survive 
the iPXE boot,
although if I leave it to fall through iPXE to the DVD boot it fails 
differently below.

Dave

KVM internal error. Suberror: 1
emulation failure
EAX= EBX=a715 ECX= EDX=4e8c
ESI=57fc EDI=58c8 EBP=7b9e ESP=7b9e
EIP=a72b EFL=00010046 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =   f300 DPL=3 DS16 [-WA]
CS =0020   00c09b00 DPL=0 CS32 [-RA]
SS =   f300 DPL=3 DS16 [-WA]
DS =   f300 DPL=3 DS16 [-WA]
FS =   
GS =   
LDT=   8200 DPL=0 LDT
TR = feffd000 2088 8b00 DPL=0 TSS32-busy
GDT= aa80 002f
IDT= 30b8 07ff
CR0=0011 CR2= CR3= CR4=
DR0= DR1= DR2= 
DR3= 
DR6=0ff0 DR7=0400
EFER=
Code=29 02 74 01 fb ff 55 2e 66 bb 26 9d eb 20 31 c0 8e e0 8e e8 <0f> 00 d0 b0 
28 8e c0 8e d8 8e d0 b0 08 0f 00 d8 8b 25 bc ae 00 00 89 e8 ff e3 fa fc 89 25
qemu: terminating on signal 15 from pid 1699

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-07 Thread Albert Damen
I am seeing this same error message when I start kvm with an empty disk 
attached right when pxe kicks in. With kernel v3.6-rc3 it works fine, with 
v3.5.3it still fails.
I found a comment from the upstream developer at 
http://www.mail-archive.com/kvm@vger.kernel.org/msg73419.html:
"We'll try to get emulate_invalid_guest_state=1 to be the default for 3.6."

3.6-rc3 indeed has emulate_invalid_guest_state enabled, with 3.5.3 and 
3.5.0-13-generic it is disabled (as shown with cat 
/sys/module/kvm_intel/parameters/emulate_invalid_guest_state).
Unloading kvm_intel and reloading it with emulate_invalid_guest_state=y gives 
me a working kvm again, not crashing when pxe kicks in.

Dave, could you test if setting emulate_invalid_guest_state=y solves the
issue for you too? (sudo rmmod kvm_intel and sudo modprobe kvm-intel
emulate_invalid_guest_state=y)

If that works for Dave as well, I guess the winning upstream commit is
"KVM: VMX: Emulate invalid guest state by default"  (a27685c33a on main
tree from kernel.org).

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-04 Thread Joseph Salisbury
Thanks, Tim.

Can folks first test the following two kernels instead of the one's
mentioned in comment #7?

v3.5.2: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5.2-quantal/
v3.5.3: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5.3-quantal/

I can then build some test kernels if we find that the bug is fixed in
v3.5.3.

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-04 Thread Tim Gardner
Joe - The big difference from 3.5.0-12 to 3.5.0-13 is the rebase from
stable v3.5.2 to v3.5.3. These commits from v3.5.3 jump out at me as
possible root cause:

KVM: VMX: Fix KVM_SET_SREGS with big real mode segments
KVM: x86 emulator: fix byte-sized MOVZX/MOVSX
KVM: VMX: Fix ds/es corruption on i386 with preemption
KVM: x86: apply kvmclock offset to guest wall clock time
KVM: PIC: call ack notifiers for irqs that are dropped form irr

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-04 Thread Joseph Salisbury
I'd like to perform a "Reverse" bisect to identify the commit that fixed
this bug in v3.6-rc4.  Would it be possible for folks affected by this
bug to assist in the reverse bisect by testing some kernels?

If so, we first need to identify which release candidate in v3.6
introduced the fix.   If you can reproduce this bug, it would be great
if you can test the following kernels and report back the first release
candidate that fixes the bug:

v3.6-rc1: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc1-quantal/
v3.6-rc2: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc2-quantal/
v3.6-rc3: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc3-quantal/

You will need to install both the linux-image and linux-image-extra .deb
packages.

There no need to test all of those kernels, just up until you find the
first one that does not have the bug.

Thanks in advance!

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-04 Thread Joseph Salisbury
** Tags added: kernel-key

** Tags added: kernel-fixed-upstream

** Changed in: linux (Ubuntu)
   Status: Confirmed => Triaged

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-04 Thread James Page
I picked this up when trying to run iscsi tests for beta-1 quantal

reverting to the previous kernel version fixed this problem.

For information I can reproduce this on demand using the scripts that I
use for iscsi root testing.

** Tags added: release-q-incoming

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-04 Thread Serge Hallyn
** Changed in: linux (Ubuntu)
   Importance: Undecided => Critical

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-02 Thread Dave Gilbert
** Tags added: regression-release

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-02 Thread Brad Figg
** Changed in: linux (Ubuntu)
   Status: New => Confirmed

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-02 Thread Dave Gilbert
Works correctly with the linux-
headers-3.6.0-030600rc4_3.6.0-030600rc4.201209011435_all.deb kernel
(3.6.0-030600rc4-generic #201209011435 SMP Sat Sep 1 18:36:00) from
http://kernel.ubuntu.com/~kernel-ppa/mainline/

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-02 Thread Dave Gilbert
This looks like it's kernel not qemu:
works when the host is running 3.5.0-12-generic #12-Ubuntu SMP Fri Aug 24 
18:28:43
fails with 3.5.0-13-generic #14-Ubuntu SMP Wed Aug 29 16:48:44

** Package changed: qemu-kvm (Ubuntu) => linux (Ubuntu)

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-02 Thread Dave Gilbert
hmm, works when the host is running 3.5.0-12-generic #12-Ubuntu SMP Fri Aug 24 
18:28:43
fails with 3.5.0-13-generic #14-Ubuntu SMP Wed Aug 29 16:48:44

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

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

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-02 Thread Dave Gilbert
** Attachment added: "log file showing it working fine for the last few times"
   
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1045027/+attachment/3289249/+files/client1.log

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1045027/+subscriptions

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


[Bug 1045027] Re: iPXE kills kvm with KVM: entry failed, hardware error 0x80000021

2012-09-02 Thread Dave Gilbert
** Attachment added: "xml description of guest"
   
https://bugs.launchpad.net/bugs/1045027/+attachment/3289235/+files/client1.xml

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

Title:
  iPXE kills kvm with KVM: entry failed, hardware error 0x8021

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1045027/+subscriptions

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