public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* general protection fault
@ 2012-01-18  4:40 Dyweni - KVM
  2012-01-18  5:22 ` Dyweni - KVM
  2012-02-02 12:40 ` Avi Kivity
  0 siblings, 2 replies; 6+ messages in thread
From: Dyweni - KVM @ 2012-01-18  4:40 UTC (permalink / raw)
  To: KVM, Qemu Devel, Oprofile-List, Linux-Kernel

 Hi All,

 I'm not sure who this falls to, so I've included all all parties that I 
 thought may be relevant.

 I'm getting the following error from my guest kernel when running 
 oprofile within qemu-kvm:

 general protection fault: 0000 [#1]
 Modules linked in:

 Pid: 896, comm: oprofiled Not tainted 3.2.0-rc7-20120117-0605 #1 Bochs 
 Bochs
 EIP: 0060:[<c14069ae>] EFLAGS: 00010086 CPU: 0
 EIP is at nmi_cpu_setup.clone.6+0x2e/0xb0
 EAX: 00000000 EBX: df89894c ECX: c0010005 EDX: 00000000
 ESI: 00000001 EDI: c168e5c0 EBP: df8addf4 ESP: df8adde4
  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
 Process oprofiled (pid: 896, ti=df8ac000 task=df82f780 
 task.ti=df8ac000)
 Stack:
  df898980 00000004 fffffff0 d4520880 df8ade08 c1406d4b c1618dfa 
 00000000
  00000000 df8ade14 c140464f dc792de0 df8ade28 c1405963 d4520880 
 dc792de0
  00000000 df8ade4c c1111bfa c111c7fe df84c000 df8ade44 dc77ef80 
 df8adeec
 Call Trace:
  [<c1406d4b>] nmi_setup+0xab/0xd0
  [<c140464f>] oprofile_setup+0x2f/0xb0
  [<c1405963>] event_buffer_open+0x63/0x90
  [<c1111bfa>] __dentry_open.clone.17+0x1aa/0x2d0
  [<c111c7fe>] ? do_lookup+0x3e/0x370
  [<c1112c82>] nameidata_to_filp+0x52/0x70
  [<c1405900>] ? event_buffer_release+0x40/0x40
  [<c111f1b6>] do_last+0x1e6/0x740
  [<c111f7ea>] path_openat+0x9a/0x320
  [<c10fd854>] ? page_add_new_anon_rmap+0x74/0x80
  [<c111fb60>] do_filp_open+0x30/0x80
  [<c112904c>] ? alloc_fd+0x2c/0xd0
  [<c1112d8b>] do_sys_open+0xeb/0x1c0
  [<c1112e89>] sys_open+0x29/0x40
  [<c14b0f8c>] sysenter_do_call+0x12/0x22
 Code: 57 56 53 83 ec 04 a1 90 e5 68 c1 8b 3d 44 a5 78 c1 8b 1d 8c e5 68 
 c1 89 45 f0 8b 07 85 c0 74 1d 31 f6 8d 76 00 8b 0b 85 c9 74 08 <0f> 32 
 89 43 04 89 53 08 83 c6 01 83 c3 0c 3b 37 72 e8 8b 77 04
 EIP: [<c14069ae>] nmi_cpu_setup.clone.6+0x2e/0xb0 SS:ESP 0068:df8adde4
 ---[ end trace e22f1adcb9f592c1 ]---




 My setup is:

 QEMU-KVM = 0.14.1-r2
 Host Linux Kernel = 3.1.6
 Guest Linux Kernel = 3.2-rc7
 OProfile = 0.9.6-r1



-- 
 Thanks,
 Dyweni

^ permalink raw reply	[flat|nested] 6+ messages in thread
* A minor cleanup
@ 2007-05-18  5:34 Dong, Eddie
       [not found] ` <10EA09EFD8728347A513008B6B0DA77A0174CF0E-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Dong, Eddie @ 2007-05-18  5:34 UTC (permalink / raw)
  To: kvm-devel

[-- Attachment #1: Type: text/plain, Size: 625 bytes --]




commit 2927aaddf9d5b83cf894e409c98eeaf8563359a5
Author: root <root@vt32-pae.(none)>
Date:   Fri May 18 13:31:58 2007 +0800

    Cleanup redundant code in MSR set
    
    Signed-off-by: Yaozu (Eddie) Dong <eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 5386461..33f6024 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -642,8 +642,6 @@ static int vmx_set_msr(struct kvm_vcpu *vcpu, u32
msr_index, u64 data)
 			break;
 		}
 		return kvm_set_msr_common(vcpu, msr_index, data);
-		msr->data = data;
-		break;
 	}
 
 	return 0;

[-- Attachment #2: cleanup.patch --]
[-- Type: application/octet-stream, Size: 567 bytes --]

commit 2927aaddf9d5b83cf894e409c98eeaf8563359a5
Author: root <root@vt32-pae.(none)>
Date:   Fri May 18 13:31:58 2007 +0800

    Cleanup redundant code in MSR set
    
    Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>

diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 5386461..33f6024 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -642,8 +642,6 @@ static int vmx_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data)
 			break;
 		}
 		return kvm_set_msr_common(vcpu, msr_index, data);
-		msr->data = data;
-		break;
 	}
 
 	return 0;

[-- Attachment #3: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #4: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

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

end of thread, other threads:[~2012-02-02 12:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-18  4:40 general protection fault Dyweni - KVM
2012-01-18  5:22 ` Dyweni - KVM
2012-02-02 12:15   ` [Qemu-devel] " Robert Richter
2012-02-02 12:40 ` Avi Kivity
  -- strict thread matches above, loose matches on Subject: below --
2007-05-18  5:34 A minor cleanup Dong, Eddie
     [not found] ` <10EA09EFD8728347A513008B6B0DA77A0174CF0E-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-05-18 20:59   ` general protection fault Andrey Dmitriev
2007-05-20  7:21     ` Dor Laor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox