Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1216830

Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot failures

From Xiao Guangrong <guangrong.xiao@linux.intel.com>
Newsgroups linux.kernel
Subject Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot failures
Date 2015-09-01 15:10 +0200
Message-ID <q3Tu3-7qR-9@gated-at.bofh.it> (permalink)
References (3 earlier) <q3Oum-7o-19@gated-at.bofh.it> <q3PgK-1hp-31@gated-at.bofh.it> <q3Pqq-1sL-3@gated-at.bofh.it> <q3PA7-1Ef-29@gated-at.bofh.it> <q3QFQ-3qt-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 09/01/2015 06:04 PM, Markus Trippelsdorf wrote:
> On 2015.09.01 at 10:56 +0200, Ingo Molnar wrote:
>>
>> * Markus Trippelsdorf <markus@trippelsdorf.de> wrote:
>>> As I wrote in my other reply. The boot failure is nondeterministic (boot
>>> succeeds roughly every sixth time). So the bisection and the patch is
>>> just bogus (,but the boot failure is real).
>>>
>>> Sorry.
>>
>> No problem. Please let us know if any of these commits does turn out to be the
>> culprit. (Which is always a possibility.)
>
> I'm pretty sure commit 3c2e7f7de3 is the culprit.
>
> commit 3c2e7f7de3240216042b61073803b61b9b3cfb22
> Author: Paolo Bonzini <pbonzini@redhat.com>
> Date:   Tue Jul 7 14:32:17 2015 +0200
>
>      KVM: SVM: use NPT page attributes
>
> I've booted ten times in a row successfully with the following patch:
>
> diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
> index 74d825716f4f..3190173a575f 100644
> --- a/arch/x86/kvm/svm.c
> +++ b/arch/x86/kvm/svm.c
> @@ -989,7 +989,7 @@ static __init int svm_hardware_setup(void)
>   	} else
>   		kvm_disable_tdp();
>
> -	build_mtrr2protval();
> +//	build_mtrr2protval();
>   	return 0;
>
>   err:
>
> Paolo, your commit causes nondeterministic boot failure on my machine.
> It sometimes crashes early with the following backtrace:
>

Did it trigger the BUG()/BUG_ON() in mtrr2protval()/fallback_mtrr_type()?
If yes, could you please print the actual value out?

BTW, you may change BUG() to WARN() to get the print info more easier.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 09:20 +0200
  Re: [GIT PULL] scheduler changes for v4.3 Ingo Molnar <mingo@kernel.org> - 2015-09-01 09:30 +0200
    Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 09:50 +0200
      Re: [GIT PULL] scheduler changes for v4.3 Ingo Molnar <mingo@kernel.org> - 2015-09-01 10:40 +0200
        Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 10:50 +0200
          Re: [GIT PULL] scheduler changes for v4.3 Ingo Molnar <mingo@kernel.org> - 2015-09-01 11:00 +0200
            Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 12:10 +0200
              Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-01 15:10 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 16:00 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-02 00:40 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-02 06:00 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-02 11:30 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-02 11:40 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-02 12:40 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-02 13:00 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-02 13:10 +0200
        Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 11:00 +0200
    Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 10:20 +0200
      Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 10:40 +0200

csiph-web