kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 42563] rhel5u5 guest panic when booting up
       [not found] <bug-42563-28872@https.bugzilla.kernel.org/>
@ 2012-01-12  1:58 ` bugzilla-daemon
  2012-01-12  2:11 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-01-12  1:58 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=42563


xudong <xudong.hao@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xudong.hao@intel.com




--- Comment #2 from xudong <xudong.hao@intel.com>  2012-01-12 01:58:02 ---
Qemu-kvm used "qemu64" model by default, the level is defined to 4, so only the
0~4 CPUID function is programmed, the PMU function 0xA(Gleb's patch
a0fa82085e...) did not execute at all.

If changes the level to 10 for "qemu64" model and patch a0fa82085e..., RHEL5u5
can boot up.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42563] rhel5u5 guest panic when booting up
       [not found] <bug-42563-28872@https.bugzilla.kernel.org/>
  2012-01-12  1:58 ` [Bug 42563] rhel5u5 guest panic when booting up bugzilla-daemon
@ 2012-01-12  2:11 ` bugzilla-daemon
  2012-01-12  5:41 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-01-12  2:11 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=42563





--- Comment #3 from xudong <xudong.hao@intel.com>  2012-01-12 02:11:08 ---
(In reply to comment #1)
> wrmsr 0x186 generates #GP. Can you try loading kvm.ko with ignore_msrs=y and
> retry? ("echo Y > /sys/module/kvm/parameters/ignore_msrs" may do the trick
> too).

I think it should work with ignore_msrs=y, but then we will miss
kvm_pmu_set_msr().

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42563] rhel5u5 guest panic when booting up
       [not found] <bug-42563-28872@https.bugzilla.kernel.org/>
  2012-01-12  1:58 ` [Bug 42563] rhel5u5 guest panic when booting up bugzilla-daemon
  2012-01-12  2:11 ` bugzilla-daemon
@ 2012-01-12  5:41 ` bugzilla-daemon
  2012-01-12 14:02 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-01-12  5:41 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=42563





--- Comment #4 from Jay Ren <yongjie.ren@intel.com>  2012-01-12 05:41:21 ---
(In reply to comment #1)
> wrmsr 0x186 generates #GP. Can you try loading kvm.ko with ignore_msrs=y and
> retry? ("echo Y > /sys/module/kvm/parameters/ignore_msrs" may do the trick
> too).

Yes. With 'ignore_msrs=y' added when loading kvm module, rhel5.x guest can boot
up now. As it will effect all the RHEL5.x (e.g.5.3, 5.3) guest, this issue
still need to be fixed.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42563] rhel5u5 guest panic when booting up
       [not found] <bug-42563-28872@https.bugzilla.kernel.org/>
                   ` (2 preceding siblings ...)
  2012-01-12  5:41 ` bugzilla-daemon
@ 2012-01-12 14:02 ` bugzilla-daemon
  2012-01-13  7:21 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-01-12 14:02 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=42563





--- Comment #5 from Avi Kivity <avi@redhat.com>  2012-01-12 14:02:38 ---
(In reply to comment #4)

> Yes. With 'ignore_msrs=y' added when loading kvm module, rhel5.x guest can boot
> up now. As it will effect all the RHEL5.x (e.g.5.3, 5.3) guest, this issue
> still need to be fixed.

Agree.  Gleb, I think we need to restore the perf msrs behaviour to what it was
before, when the PMU is not enabled.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42563] rhel5u5 guest panic when booting up
       [not found] <bug-42563-28872@https.bugzilla.kernel.org/>
                   ` (3 preceding siblings ...)
  2012-01-12 14:02 ` bugzilla-daemon
@ 2012-01-13  7:21 ` bugzilla-daemon
  2012-01-31  1:37 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-01-13  7:21 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=42563





--- Comment #6 from Gleb <gleb@redhat.com>  2012-01-13 07:21:31 ---
(In reply to comment #5)
> (In reply to comment #4)
> 
> > Yes. With 'ignore_msrs=y' added when loading kvm module, rhel5.x guest can boot
> > up now. As it will effect all the RHEL5.x (e.g.5.3, 5.3) guest, this issue
> > still need to be fixed.
> 
> Agree.  Gleb, I think we need to restore the perf msrs behaviour to what it was
> before, when the PMU is not enabled.

Yes, they were special cased for a reason.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42563] rhel5u5 guest panic when booting up
       [not found] <bug-42563-28872@https.bugzilla.kernel.org/>
                   ` (4 preceding siblings ...)
  2012-01-13  7:21 ` bugzilla-daemon
@ 2012-01-31  1:37 ` bugzilla-daemon
  2012-01-31  9:39 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-01-31  1:37 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=42563





--- Comment #7 from Jay Ren <yongjie.ren@intel.com>  2012-01-31 01:37:57 ---
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > 
> > > Yes. With 'ignore_msrs=y' added when loading kvm module, rhel5.x guest can boot
> > > up now. As it will effect all the RHEL5.x (e.g.5.3, 5.3) guest, this issue
> > > still need to be fixed.
> > 
> > Agree.  Gleb, I think we need to restore the perf msrs behaviour to what it was
> > before, when the PMU is not enabled.
> 
> Yes, they were special cased for a reason.

I found the bug got fixed in kvm upstream. Gleb, you fixed it by the following
commit? 

commit 7f85a520ba8407af6384aac32d829988ab543ebf
Author: Gleb Natapov <gleb@redhat.com>
Date:   Sun Jan 15 14:17:22 2012 +0200

    KVM: do not #GP on perf MSR writes when vPMU is disabled

    Return to behaviour perf MSR had before introducing vPMU in case vPMU
    is disabled. Some guests access those registers unconditionally and do
    not expect it to fail.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42563] rhel5u5 guest panic when booting up
       [not found] <bug-42563-28872@https.bugzilla.kernel.org/>
                   ` (5 preceding siblings ...)
  2012-01-31  1:37 ` bugzilla-daemon
@ 2012-01-31  9:39 ` bugzilla-daemon
  2012-01-31  9:42 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-01-31  9:39 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=42563





--- Comment #8 from Gleb <gleb@redhat.com>  2012-01-31 09:39:50 ---
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > (In reply to comment #4)
> > > 
> > > > Yes. With 'ignore_msrs=y' added when loading kvm module, rhel5.x guest can boot
> > > > up now. As it will effect all the RHEL5.x (e.g.5.3, 5.3) guest, this issue
> > > > still need to be fixed.
> > > 
> > > Agree.  Gleb, I think we need to restore the perf msrs behaviour to what it was
> > > before, when the PMU is not enabled.
> > 
> > Yes, they were special cased for a reason.
> 
> I found the bug got fixed in kvm upstream. Gleb, you fixed it by the following
> commit? 

Yes.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42563] rhel5u5 guest panic when booting up
       [not found] <bug-42563-28872@https.bugzilla.kernel.org/>
                   ` (6 preceding siblings ...)
  2012-01-31  9:39 ` bugzilla-daemon
@ 2012-01-31  9:42 ` bugzilla-daemon
  2012-01-31  9:42 ` bugzilla-daemon
  2012-01-31  9:44 ` bugzilla-daemon
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-01-31  9:42 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=42563


Jay Ren <yongjie.ren@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |CODE_FIX




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42563] rhel5u5 guest panic when booting up
       [not found] <bug-42563-28872@https.bugzilla.kernel.org/>
                   ` (7 preceding siblings ...)
  2012-01-31  9:42 ` bugzilla-daemon
@ 2012-01-31  9:42 ` bugzilla-daemon
  2012-01-31  9:44 ` bugzilla-daemon
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-01-31  9:42 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=42563


Jay Ren <yongjie.ren@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 42563] rhel5u5 guest panic when booting up
       [not found] <bug-42563-28872@https.bugzilla.kernel.org/>
                   ` (8 preceding siblings ...)
  2012-01-31  9:42 ` bugzilla-daemon
@ 2012-01-31  9:44 ` bugzilla-daemon
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-01-31  9:44 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=42563


Jay Ren <yongjie.ren@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |CLOSED




--- Comment #9 from Jay Ren <yongjie.ren@intel.com>  2012-01-31 09:44:11 ---
verified and closed it.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-01-31  9:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-42563-28872@https.bugzilla.kernel.org/>
2012-01-12  1:58 ` [Bug 42563] rhel5u5 guest panic when booting up bugzilla-daemon
2012-01-12  2:11 ` bugzilla-daemon
2012-01-12  5:41 ` bugzilla-daemon
2012-01-12 14:02 ` bugzilla-daemon
2012-01-13  7:21 ` bugzilla-daemon
2012-01-31  1:37 ` bugzilla-daemon
2012-01-31  9:39 ` bugzilla-daemon
2012-01-31  9:42 ` bugzilla-daemon
2012-01-31  9:42 ` bugzilla-daemon
2012-01-31  9:44 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).