Re: kernel bug in kvm_intel

2009-11-30 Thread Andrew Theurer
On Sun, 2009-11-29 at 16:46 +0200, Avi Kivity wrote: On 11/26/2009 03:35 AM, Andrew Theurer wrote: I just tried testing tip of kvm.git, but unfortunately I think I might be hitting a different problem, where processes run 100% in kernel mode. In my case, cpus 9 and 13 were stuck, running

Re: kernel bug in kvm_intel

2009-11-29 Thread Avi Kivity
On 11/26/2009 03:35 AM, Andrew Theurer wrote: I just tried testing tip of kvm.git, but unfortunately I think I might be hitting a different problem, where processes run 100% in kernel mode. In my case, cpus 9 and 13 were stuck, running qemu processes. A stack backtrace for both cpus are

Re: kernel bug in kvm_intel

2009-11-26 Thread Avi Kivity
On 11/26/2009 03:35 AM, Andrew Theurer wrote: NMI backtrace for cpu 9 CPU 9: Modules linked in: tun sunrpc af_packet bridge stp ipv6 binfmt_misc dm_mirror dm_region_hash dm_log dm_multipath scsi_dh dm_mod kvm_intel kvm uinput sr_mod cdrom ata_generic pata_acpi ata_piix joydev libata

Re: kernel bug in kvm_intel

2009-11-25 Thread Andrew Theurer
Tejun Heo wrote: Hello, 11/01/2009 08:31 PM, Avi Kivity wrote: Here is the code in question: 3ae7: 75 05 jne 3aeevmx_vcpu_run+0x26a 3ae9: 0f 01 c2vmlaunch 3aec: eb 03 jmp

Re: kernel bug in kvm_intel

2009-11-25 Thread Tejun Heo
Hello, 11/26/2009 10:35 AM, Andrew Theurer wrote: I just tried testing tip of kvm.git, but unfortunately I think I might be hitting a different problem, where processes run 100% in kernel mode. In my case, cpus 9 and 13 were stuck, running qemu processes. A stack backtrace for both cpus are

Re: kernel bug in kvm_intel

2009-11-18 Thread Tejun Heo
Hello, 11/01/2009 08:31 PM, Avi Kivity wrote: Here is the code in question: 3ae7: 75 05 jne 3aeevmx_vcpu_run+0x26a 3ae9: 0f 01 c2vmlaunch 3aec: eb 03 jmp 3af1vmx_vcpu_run+0x26d

Re: kernel bug in kvm_intel

2009-11-01 Thread Tejun Heo
Hello, Avi Kivity wrote: Only, that merge doesn't change virt/kvm or arch/x86/kvm. Tejun, anything known bad about that merge? ada3fa15 kills kvm. Nothing rings a bell at the moment. How does it kill kvm? One big difference caused by that merge is use of sparse areas near the top of

Re: kernel bug in kvm_intel

2009-11-01 Thread Avi Kivity
On 11/01/2009 12:00 PM, Tejun Heo wrote: Hello, Avi Kivity wrote: Only, that merge doesn't change virt/kvm or arch/x86/kvm. Tejun, anything known bad about that merge? ada3fa15 kills kvm. Nothing rings a bell at the moment. How does it kill kvm? One big difference caused by that

Re: kernel bug in kvm_intel

2009-11-01 Thread Tejun Heo
Hello, Avi Kivity wrote: We get a page fault immediately (next instruction) after returning from the guest when running with oprofile. The page fault address does not match anything the instruction does, so presumably it is one of the accesses the processor performs in order to service an

Re: kernel bug in kvm_intel

2009-11-01 Thread Avi Kivity
On 11/01/2009 12:45 PM, Tejun Heo wrote: Hello, Avi Kivity wrote: We get a page fault immediately (next instruction) after returning from the guest when running with oprofile. The page fault address does not match anything the instruction does, so presumably it is one of the accesses the

Re: kernel bug in kvm_intel

2009-10-31 Thread Avi Kivity
On 10/30/2009 08:07 PM, Andrew Theurer wrote: I have finally bisected and isolated this to the following commit: ada3fa15057205b7d3f727bba5cd26b5912e350f http://git.kernel.org/?p=virt/kvm/kvm.git;a=commit;h=ada3fa15057205b7d3f727bba5cd26b5912e350f Merge branch 'for-linus' of

Re: kernel bug in kvm_intel

2009-10-31 Thread Andrew Theurer
Avi Kivity wrote: On 10/30/2009 08:07 PM, Andrew Theurer wrote: I have finally bisected and isolated this to the following commit: ada3fa15057205b7d3f727bba5cd26b5912e350f http://git.kernel.org/?p=virt/kvm/kvm.git;a=commit;h=ada3fa15057205b7d3f727bba5cd26b5912e350f Merge branch

Re: kernel bug in kvm_intel

2009-10-31 Thread Avi Kivity
On 10/31/2009 06:25 PM, Andrew Theurer wrote: 5579 is not the preceding commit, it is the merged branch: commit ada3fa15057205b7d3f727bba5cd26b5912e350f Merge: 2f82af0 5579fd7 Author: Linus Torvalds torva...@linux-foundation.org Date: Tue Sep 15 09:39:44 2009 -0700 Merge branch

Re: kernel bug in kvm_intel

2009-10-31 Thread Avi Kivity
On 10/31/2009 06:32 PM, Avi Kivity wrote: On 10/31/2009 06:25 PM, Andrew Theurer wrote: 5579 is not the preceding commit, it is the merged branch: commit ada3fa15057205b7d3f727bba5cd26b5912e350f Merge: 2f82af0 5579fd7 Author: Linus Torvalds torva...@linux-foundation.org Date: Tue Sep 15

Re: kernel bug in kvm_intel

2009-10-30 Thread Andrew Theurer
On Thu, 2009-10-15 at 15:18 -0500, Andrew Theurer wrote: On Thu, 2009-10-15 at 02:10 +0900, Avi Kivity wrote: On 10/13/2009 11:04 PM, Andrew Theurer wrote: Look at the address where vmx_vcpu_run starts, add 0x26d, and show the surrounding code. Thinking about it, it probably _is_

Re: kernel bug in kvm_intel

2009-10-15 Thread Andrew Theurer
On Thu, 2009-10-15 at 02:10 +0900, Avi Kivity wrote: On 10/13/2009 11:04 PM, Andrew Theurer wrote: Look at the address where vmx_vcpu_run starts, add 0x26d, and show the surrounding code. Thinking about it, it probably _is_ what you showed, due to module page alignment. But please

Re: kernel bug in kvm_intel

2009-10-14 Thread Avi Kivity
On 10/13/2009 11:04 PM, Andrew Theurer wrote: Look at the address where vmx_vcpu_run starts, add 0x26d, and show the surrounding code. Thinking about it, it probably _is_ what you showed, due to module page alignment. But please verify this; I can't reconcile the fault address

Re: kernel bug in kvm_intel

2009-10-13 Thread Avi Kivity
On 10/12/2009 08:42 PM, Andrew Theurer wrote: On Sun, 2009-10-11 at 07:19 +0200, Avi Kivity wrote: On 10/09/2009 10:04 PM, Andrew Theurer wrote: This is on latest master branch on kvm.git and qemu-kvm.git, running 12 Windows Server2008 VMs, and using oprofile. I ran again without

Re: kernel bug in kvm_intel

2009-10-13 Thread Andrew Theurer
On Tue, 2009-10-13 at 08:50 +0200, Avi Kivity wrote: On 10/12/2009 08:42 PM, Andrew Theurer wrote: On Sun, 2009-10-11 at 07:19 +0200, Avi Kivity wrote: On 10/09/2009 10:04 PM, Andrew Theurer wrote: This is on latest master branch on kvm.git and qemu-kvm.git, running 12

Re: kernel bug in kvm_intel

2009-10-13 Thread Marcelo Tosatti
On Tue, Oct 13, 2009 at 08:50:07AM +0200, Avi Kivity wrote: On 10/12/2009 08:42 PM, Andrew Theurer wrote: On Sun, 2009-10-11 at 07:19 +0200, Avi Kivity wrote: On 10/09/2009 10:04 PM, Andrew Theurer wrote: This is on latest master branch on kvm.git and qemu-kvm.git, running 12

Re: kernel bug in kvm_intel

2009-10-12 Thread Andrew Theurer
On Sun, 2009-10-11 at 07:19 +0200, Avi Kivity wrote: On 10/09/2009 10:04 PM, Andrew Theurer wrote: This is on latest master branch on kvm.git and qemu-kvm.git, running 12 Windows Server2008 VMs, and using oprofile. I ran again without oprofile and did not get the BUG. I am wondering if

Re: kernel bug in kvm_intel

2009-10-10 Thread Avi Kivity
On 10/09/2009 10:04 PM, Andrew Theurer wrote: This is on latest master branch on kvm.git and qemu-kvm.git, running 12 Windows Server2008 VMs, and using oprofile. I ran again without oprofile and did not get the BUG. I am wondering if anyone else is seeing this. Thanks, -Andrew Oct 9

kernel bug in kvm_intel

2009-10-09 Thread Andrew Theurer
This is on latest master branch on kvm.git and qemu-kvm.git, running 12 Windows Server2008 VMs, and using oprofile. I ran again without oprofile and did not get the BUG. I am wondering if anyone else is seeing this. Thanks, -Andrew Oct 9 11:55:13 virtvictory-eth0 kernel: BUG: unable to