Skip to contentSkip to conversation

rsyncing to Guest Ubuntu System

DISCUSSION Clive Stewell 3 participants 3 messages Nov 9, 2007 – Nov 11, 2007 1 message not in the archive KVM

lore
Share & tools
lore
#0 lore raw

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/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 27 lines · Clive Stewell

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

Quoted 3 lines

Thanks for any pointers you can provide.

You can try this [Not tested]:

kernel/x86.c +1 -0
index e905d46..71307cb 100644
@@ -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:
Quoted 11 lines

-------------------------------------------------------------------------
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 [email protected]
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/

#3 lore raw
In reply to a message not in the archive
Quoted 6 lines · Clive Stewell

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:

Quoted 6 lines
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).

Quoted 16 lines

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

Quoted 2 lines

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.

Signature · 8 lines
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/