public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Dave Young <hidave.darkstar@gmail.com>
Cc: Avi Kivity <avi@redhat.com>, Ingo Molnar <mingo@elte.hu>,
	Jan Kiszka <jan.kiszka@web.de>,
	kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [BUG] kvm: guest can not startup due to triple fault
Date: Mon, 18 Oct 2010 19:59:41 -0700	[thread overview]
Message-ID: <4CBD099D.2060500@zytor.com> (raw)
In-Reply-To: <AANLkTimLKjo+5BRFpOOb72qLrUnxfLXJQ6cwPwNsHHeB@mail.gmail.com>

On 10/18/2010 06:19 PM, Dave Young wrote:
> On Tue, Oct 19, 2010 at 2:47 AM, H. Peter Anvin <hpa@zytor.com> wrote:
>> On 10/18/2010 07:06 AM, Avi Kivity wrote:
>>>   On 10/18/2010 03:58 PM, Dave Young wrote:
>>>>>
>>>>>  Please patch hardware_setup() to show the value of
>>>>>  boot_cpu_has(X86_FEATURE_NX).
>>>>
>>>> It's 0
>>>
>>> Well, that's ridiculous.  Looking back at your /proc/cpuinfo:
>>>
>>>> processor    : 0
>>>> flags                : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida dts tpr_shadow vnmi flexpriority
>>>>
>>>> processor    : 1
>>>> flags                : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida dts tpr_shadow vnmi flexpriority
>>>
>>> processor 0 doesn't have nx.
>>>
>>> Ingo, Peter, any ideas?  Where did the missing feature go?
>>>
>>
>> I don't see the original report -- in particular I can't see the kernel
>> version -- but I suspect this *might* be an instance of the same bug
>> fixed in mainline by checkin d900329e20f4476db6461752accebcf7935a8055
>> (for backporting 1dedefd1a066a795a87afca9c0236e1a94de9bf6 is also
>> needed; these both should be in -stable or on the way there.)
> 
> The kernel is git version after 2.6.36-rc8, so I think the commits
> don't fix this problem.

OK.  Please install msr-tools on your system, and give us the outputs of:

rdmsr -p 0 -xc 0x1a0
rdmsr -p 1 -xc 0x1a0

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.


  reply	other threads:[~2010-10-19  3:00 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-17  8:54 [BUG] kvm: guest can not startup due to triple fault Dave Young
2010-10-17  8:56 ` Dave Young
2010-10-17  9:34 ` Avi Kivity
2010-10-17 10:14   ` Dave Young
2010-10-17 12:15     ` Avi Kivity
2010-10-18  4:43       ` Dave Young
2010-10-18  7:14         ` Jan Kiszka
2010-10-18  8:55           ` Avi Kivity
2010-10-18  8:58             ` Avi Kivity
2010-10-18 12:26               ` Steven Rostedt
2010-10-18 12:27                 ` Avi Kivity
2010-10-18  9:15           ` Avi Kivity
2010-10-18 12:58             ` Dave Young
2010-10-18 13:26               ` Avi Kivity
2010-10-18 13:45                 ` Dave Young
2010-10-18 13:46                   ` Avi Kivity
2010-10-18 13:50                     ` Avi Kivity
2010-10-18 13:58                       ` Dave Young
2010-10-18 14:06                         ` Avi Kivity
2010-10-18 14:11                           ` Dave Young
2010-10-18 14:13                             ` Avi Kivity
2010-10-18 14:15                               ` Dave Young
2010-10-18 14:17                                 ` Dave Young
2010-10-18 14:19                                 ` Avi Kivity
2010-10-18 14:25                                   ` Dave Young
2010-10-18 14:28                                     ` Avi Kivity
2010-10-18 18:47                           ` H. Peter Anvin
2010-10-19  1:19                             ` Dave Young
2010-10-19  2:59                               ` H. Peter Anvin [this message]
2010-10-19  6:55                                 ` Dave Young
2010-10-19  8:57                                   ` Avi Kivity
2010-10-19 11:52                                     ` Dave Young
2010-10-19 14:56                                     ` H. Peter Anvin
2010-10-19 15:04                                       ` Avi Kivity
2010-10-19 15:31                                         ` H. Peter Anvin
2010-10-18 13:51                     ` Dave Young

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=4CBD099D.2060500@zytor.com \
    --to=hpa@zytor.com \
    --cc=avi@redhat.com \
    --cc=hidave.darkstar@gmail.com \
    --cc=jan.kiszka@web.de \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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