public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* rsyncing to Guest Ubuntu System
@ 2007-11-09  0:25 Clive Stewell
       [not found] ` <4733A8E7.8020201-hDdu9bXZKAcAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Clive Stewell @ 2007-11-09  0:25 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I have been testing KVM for eventual use in a production server 
environment and am running into some trouble when I attempt to rsync my 
data from the current production system to the test system. 
Specifically, whenever I hit a large file, the guest freezes and I get 
the following in the host's system log:

Nov  8 16:14:20 vcr1 kernel: [2847590.399951] kvm: 10680: cpu0 unhandled 
wrmsr: 0xc1
Nov  8 16:14:20 vcr1 kernel: [2847590.399959] inject_general_protection: 
rip 0xc01162ff

I have Googled the error, but can't see anything that leads me to 
believe that I've made any errors in the configuration. Other things 
seem to work fine, but I can reproduce this freeze every time. Here's a 
recap of my environment...

CPU Model: Intel Xeon 5130 2.0 Ghz
KVM Version: 50
Host Kernel: Linux version 2.6.20-16-generic (root@king) (gcc version 
4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Sep 23 18:31:23 UTC 2007
Host Kernel Arch: i386
Guest: Ubuntu Gutsy (i386)
QEMU Command Line: /opt/kvm/bin/qemu-system-x86_64 -hda 
/home/kvm/images.d/w5.img -boot c -m 384 -net 
nic,macaddr=00:14:1C:30:AF:03 -net tap,ifname=tap3,script=no -daemonize 
-vnc :3

Thanks for any pointers you can provide.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

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

* Re: rsyncing to Guest Ubuntu System
       [not found] ` <4733A8E7.8020201-hDdu9bXZKAcAvxtiuMwx3w@public.gmane.org>
@ 2007-11-09  0:34   ` Dor Laor
  2007-11-11 11:02   ` Avi Kivity
  1 sibling, 0 replies; 3+ messages in thread
From: Dor Laor @ 2007-11-09  0:34 UTC (permalink / raw)
  To: dba-hDdu9bXZKAcAvxtiuMwx3w; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Clive Stewell wrote:
> I have been testing KVM for eventual use in a production server 
> environment and am running into some trouble when I attempt to rsync my 
> data from the current production system to the test system. 
> Specifically, whenever I hit a large file, the guest freezes and I get 
> the following in the host's system log:
>
> Nov  8 16:14:20 vcr1 kernel: [2847590.399951] kvm: 10680: cpu0 unhandled 
> wrmsr: 0xc1
> Nov  8 16:14:20 vcr1 kernel: [2847590.399959] inject_general_protection: 
> rip 0xc01162ff
>
> I have Googled the error, but can't see anything that leads me to 
> believe that I've made any errors in the configuration. Other things 
> seem to work fine, but I can reproduce this freeze every time. Here's a 
> recap of my environment...
>
> CPU Model: Intel Xeon 5130 2.0 Ghz
> KVM Version: 50
> Host Kernel: Linux version 2.6.20-16-generic (root@king) (gcc version 
> 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Sep 23 18:31:23 UTC 2007
> Host Kernel Arch: i386
> Guest: Ubuntu Gutsy (i386)
> QEMU Command Line: /opt/kvm/bin/qemu-system-x86_64 -hda 
> /home/kvm/images.d/w5.img -boot c -m 384 -net 
> nic,macaddr=00:14:1C:30:AF:03 -net tap,ifname=tap3,script=no -daemonize 
> -vnc :3
>
> Thanks for any pointers you can provide.
>
>   
You can try this [Not tested]:

diff --git a/kernel/x86.c b/kernel/x86.c
index e905d46..71307cb 100644
--- a/kernel/x86.c
+++ b/kernel/x86.c
@@ -460,6 +460,7 @@ int kvm_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata)
 	case MSR_IA32_UCODE_REV:
 	case MSR_IA32_PERF_STATUS:
 	case MSR_IA32_EBL_CR_POWERON:
+	case 0xc1:
 		/* MTRR registers */
 	case 0xfe:
 	case 0x200 ... 0x2ff:


> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

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

* Re: rsyncing to Guest Ubuntu System
       [not found] ` <4733A8E7.8020201-hDdu9bXZKAcAvxtiuMwx3w@public.gmane.org>
  2007-11-09  0:34   ` Dor Laor
@ 2007-11-11 11:02   ` Avi Kivity
  1 sibling, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2007-11-11 11:02 UTC (permalink / raw)
  To: dba-hDdu9bXZKAcAvxtiuMwx3w; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Clive Stewell wrote:
> I have been testing KVM for eventual use in a production server 
> environment and am running into some trouble when I attempt to rsync my 
> data from the current production system to the test system. 
> Specifically, whenever I hit a large file, the guest freezes and I get 
> the following in the host's system log:
>
> Nov  8 16:14:20 vcr1 kernel: [2847590.399951] kvm: 10680: cpu0 unhandled 
> wrmsr: 0xc1
> Nov  8 16:14:20 vcr1 kernel: [2847590.399959] inject_general_protection: 
> rip 0xc01162ff
>
>   

The error probably appears even before the freeze (right after boot).

> I have Googled the error, but can't see anything that leads me to 
> believe that I've made any errors in the configuration. Other things 
> seem to work fine, but I can reproduce this freeze every time. Here's a 
> recap of my environment...
>
> CPU Model: Intel Xeon 5130 2.0 Ghz
> KVM Version: 50
> Host Kernel: Linux version 2.6.20-16-generic (root@king) (gcc version 
> 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Sep 23 18:31:23 UTC 2007
> Host Kernel Arch: i386
> Guest: Ubuntu Gutsy (i386)
> QEMU Command Line: /opt/kvm/bin/qemu-system-x86_64 -hda 
> /home/kvm/images.d/w5.img -boot c -m 384 -net 
> nic,macaddr=00:14:1C:30:AF:03 -net tap,ifname=tap3,script=no -daemonize 
> -vnc :3
>
> Thanks for any pointers you can provide.
>   

Please try '-net nic,model=rtl8139,...'

Though a long bug report on sourceforge doesn't indicate much chances of 
success.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

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

end of thread, other threads:[~2007-11-11 11:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09  0:25 rsyncing to Guest Ubuntu System Clive Stewell
     [not found] ` <4733A8E7.8020201-hDdu9bXZKAcAvxtiuMwx3w@public.gmane.org>
2007-11-09  0:34   ` Dor Laor
2007-11-11 11:02   ` Avi Kivity

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