From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: KVM oops in svm_vcpu_run with 2.6.24-rc7 Date: Wed, 23 Jan 2008 14:03:16 +0100 Message-ID: <200801231403.16604.ak@suse.de> References: <200801222008.57667.ak@suse.de> <479724C6.8090204@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Avi Kivity Return-path: In-Reply-To: <479724C6.8090204-atKUWr5tajBWk0Htik3J/w@public.gmane.org> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Wednesday 23 January 2008 12:28:06 Avi Kivity wrote: > Andi Kleen wrote: > > While starting a kernel > > > > Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP: > > [] :kvm_amd:svm_vcpu_run+0x35/0x30d > > Can you disassemble svm_vcpu_run() so we see where this ist Pretty much at the beginning. It's the first reference of the first argument 00000000000008c8 : 8c8: 65 8b 0c 25 24 00 00 mov %gs:0x24,%ecx 8cf: 00 8d0: 48 63 c1 movslq %ecx,%rax 8d3: 48 89 fe mov %rdi,%rsi 8d6: 48 c7 c2 00 00 00 00 mov $0x0,%rdx 8dd: 48 8b 04 c5 00 00 00 mov 0x0(,%rax,8),%rax 8e4: 00 8e5: 48 8b 40 08 mov 0x8(%rax),%rax 8e9: 48 8b 3c 02 mov (%rdx,%rax,1),%rdi 8ed: 48 8b 86 f0 0d 00 00 mov 0xdf0(%rsi),%rax 8f4: c6 40 5c 00 movb $0x0,0x5c(%rax) 8f8: 39 4e 40 cmp %ecx,0x40(%rsi) 8fb: 75 0d jne 90a 8fd: 48 8b 47 08 mov 0x8(%rdi),%rax Last instruction faulted -Andi ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/