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/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel