All of lore.kernel.org
 help / color / mirror / Atom feed
* general protection fault
@ 2012-01-18  4:40 ` Dyweni - KVM
  0 siblings, 0 replies; 12+ 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] 12+ messages in thread
* General Protection fault
@ 2008-11-30  2:49 ADITYA KRISHNAN
  0 siblings, 0 replies; 12+ messages in thread
From: ADITYA KRISHNAN @ 2008-11-30  2:49 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2909 bytes --]

Hello,
I was trying to boot xen-3.0-testing.hg compiled with debug info on fedora
core5.(I know both are out-dated). It gives me general protection fault. I
am new to this. Can someone please decipher this debugged ouptut and
enlighten me of what is causing the protection fault.
If someone would be kind enough to give me pointers to solve the problem
that would be great.

Setting clock  (localtime): Thu Nov 27 22:38:38 EST 2008 [  OK  ]
Starting udev: general protection fault: 0000 [1] SMP
CPU 1
Modules linked in: tg3 i2c_core ext3 jbd sata_sil
Pid: 457, comm: modprobe Not tainted 2.6.16.13-xen #1
RIP: e030:[<ffffffff801c4332>] <ffffffff801c4332>{create_dir+34}
RSP: e02b:ffff8800ef3cfc28  EFLAGS: 00010296
RAX: ffffffff88039010 RBX: ffff8800efd12400 RCX: ffff8800ef3cfc60
RDX: ffff8800efd12400 RSI: 90666690666666c3 RDI: ffff8800efd123f8
RBP: ffff8800efd123f8 R08: 00000000fffffffe R09: ffff8800eff2b889
R10: ffff8800efd12000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8800efd123e8 R14: ffffffff88039010 R15: ffffffff804049e0
FS:  00002b49a3774210(0000) GS:ffffffff804a9080(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000
Process modprobe (pid: 457, threadinfo ffff8800ef3ce000, task
ffff8800efcc09b0)
Stack: ffff8800efd123f8 ffff8800efd123e8 0000000000000000 ffff8800efd123e8
       ffffffff88039010 ffffffff801c4b28 ffffffff88039010 0000000000000000
       ffff8800efd123f8 ffffffff801f52ea
Call Trace: <ffffffff88039010>{:tg3:tg3_disable_ints+0}
       <ffffffff801c4b28>{sysfs_create_dir+88}
<ffffffff88039010>{:tg3:tg3_disable_ints+0}
       <ffffffff801f52ea>{kobject_add+234}
<ffffffff88039000>{:tg3:tg3_write32+0}
       <ffffffff80251cf9>{class_device_add+185}
<ffffffff802f72d1>{netdev_register_sysfs+81}
       <ffffffff802ed2d2>{netdev_run_todo+242}
<ffffffff802ec634>{register_netdev+100}
       <ffffffff88044b07>{:tg3:tg3_init_one+3175}
<ffffffff801297f3>{__wake_up+67}
       <ffffffff80204269>{pci_device_probe+89}
<ffffffff80250d75>{driver_probe_device+101}
       <ffffffff80250e50>{__driver_attach+0}
<ffffffff80250eb0>{__driver_attach+96}
       <ffffffff80250e50>{__driver_attach+0}
<ffffffff80250619>{bus_for_each_dev+73}
       <ffffffff802501f8>{bus_add_driver+136}
<ffffffff802044d0>{__pci_register_driver+128}
       <ffffffff8014fdd2>{sys_init_module+258}
<ffffffff8010b2fe>{system_call+134}
       <ffffffff8010b278>{system_call+0}

Code: 48 8b 7e 10 49 89 cc 49 89 f6 48 81 c7 c0 00 00 00 e8 88 33
RIP <ffffffff801c4332>{create_dir+34} RSP <ffff8800ef3cfc28>
 udevd-event[456]: run_program: '/sbin/modprobe' abnormal exit
eepro100.c:v1.09j-t 9/29/99 Donald Becker
http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <
saw@saw.sw.com.sg> and others
sd 0:0:0:0: Attached scsi generic sg0 type 0
Unable to handle kernel paging request at ffffffff8807c000 RIP:



Thanks in advance,

Aditya

[-- Attachment #1.2: Type: text/html, Size: 3964 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread
* A minor cleanup
@ 2007-05-18  5:34 Dong, Eddie
       [not found] ` <10EA09EFD8728347A513008B6B0DA77A0174CF0E-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 12+ 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] 12+ messages in thread

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

Thread overview: 12+ 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  4:40 ` [Qemu-devel] " Dyweni - KVM
2012-01-18  5:22 ` Dyweni - KVM
2012-01-18  5:22   ` [Qemu-devel] " Dyweni - KVM
2012-02-02 12:15   ` Robert Richter
2012-02-02 12:15     ` Robert Richter
2012-02-02 12:15     ` Robert Richter
2012-02-02 12:40 ` Avi Kivity
2012-02-02 12:40   ` [Qemu-devel] " Avi Kivity
  -- strict thread matches above, loose matches on Subject: below --
2008-11-30  2:49 General Protection fault ADITYA KRISHNAN
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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.