From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Andi Kleen <ak-l3A5Bk7waGM@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: KVM oops in svm_vcpu_run with 2.6.24-rc7
Date: Wed, 23 Jan 2008 15:12:32 +0200 [thread overview]
Message-ID: <47973D40.4060506@qumranet.com> (raw)
In-Reply-To: <200801231403.16604.ak-l3A5Bk7waGM@public.gmane.org>
Andi Kleen wrote:
> 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:
>>> [<ffffffff885698fd>] :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 <svm_vcpu_run>:
> 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 <svm_vcpu_run+0x42>
> 8fd: 48 8b 47 08 mov 0x8(%rdi),%rax
>
No, %rdi now points at per_cpu(svm_data, raw_smp_processor_id()); the
instruction is referencing asid_generation.
Have you hotplugged cpus on this machine? Maybe via suspend/resume?
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
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/
prev parent reply other threads:[~2008-01-23 13:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-22 19:08 KVM oops in svm_vcpu_run with 2.6.24-rc7 Andi Kleen
[not found] ` <200801222008.57667.ak-l3A5Bk7waGM@public.gmane.org>
2008-01-23 11:28 ` Avi Kivity
[not found] ` <479724C6.8090204-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-23 13:03 ` Andi Kleen
[not found] ` <200801231403.16604.ak-l3A5Bk7waGM@public.gmane.org>
2008-01-23 13:12 ` Avi Kivity [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47973D40.4060506@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=ak-l3A5Bk7waGM@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox