Problem with Ubuntu Edgy and AMD X2
I am testing kvm on my new PC
MB is Asus M2NPV-VM with AMD CPU X2.
Installed OS is Ubuntu Edgy
I get kvm tarball and compiled it.
After installing gcc 3.4 I begin compile step
On Ubuntu Edgy there is no uuid/uuid.h file so I have grab it from tar file at Ubuntu repository and put it in qemu subdir of kvm
On Ubuntu Edgy libuuid is in /lib/libuuid.so.1 so I make a link from it to /lib/libuuid.so
After this, I got kvm compile and install.
I modprobe new module without any problem, create a disk image and begint to install Windows XP on that.
At formatting step it take a long time (about 25 min for a 6Gb of disk) with 90% of CPU and only very little i/o activity.At about 99%, exit from install with a message "impossible to format".
Using dmesg command I geta lot of this error:
[17192500.496000] kvm: unhandled rdmsr: 0xc0000081
I have also tried a workaround necessary for Xen on my MB. In install procedure of XP I hit F5 key and used "Standard PC" from menu choice, without any change
Booting with -no-acpi flag an image file made by qemu (for first install step) and by Xen (for install completition) boot and work but I am not able to activate network connection. I find a network adapter, I can configure it but I have no response pinging other LAN PC.
Regards
Franco Spinelli
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Franco Spinelli
I am testing kvm on my new PC
MB is Asus M2NPV-VM with AMD CPU X2.
Installed OS is Ubuntu EdgyI get kvm tarball and compiled it.
Quoted 8 lines
After installing gcc 3.4 I begin compile step
On Ubuntu Edgy there is no
uuid/uuid.hfile so I have grab it from tar file at Ubuntu repository and put it in qemu subdir of kvmOn Ubuntu Edgy libuuid is in
/lib/libuuid.so.1so I make a link from it to/lib/libuuid.so
You're probably missing a package. On Fedora Core, e2fsprogs-devel contains both libuuid.so and uuid.h.
Quoted 11 lines
After this, I got kvm compile and install.
I modprobe new module without any problem, create a disk image and begint to install Windows XP on that.
At formatting step it take a long time (about 25 min for a 6Gb of disk) with 90% of CPU and only very little i/o activity.At about 99%, exit from install with a message "impossible to format".Using dmesg command I geta lot of this error:
[17192500.496000] kvm: unhandled rdmsr: 0xc0000081
What cpu is this? A 32-bit Intel Core?
Quoted 10 lines
I have also tried a workaround necessary for Xen on my MB. In install procedure of XP I hit F5 key and used "Standard PC" from menu choice, without any change
Booting with -no-acpi flag an image file made by qemu (for first install step) and by Xen (for install completition) boot and work but I am not able to activate network connection. I find a network adapter, I can configure it but I have no response pinging other LAN PC.
Unless you use ethernet bridging, ping will not work. TCP from the guest to the outside world should work, but not from outside into the guest (in effect the guest is NATed by qemu).
See also http://compsoc.dur.ac.uk/~djw/qemu.html.
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): 457FB929.2030504-atKUWr5tajBWk0Htik3J/[email protected]
Quoted 11 lines
Quoted 9 lines · Franco Spinelli
I am testing kvm on my new PC
MB is Asus M2NPV-VM with AMD CPU X2.
Installed OS is Ubuntu EdgyI get kvm tarball and compiled it.
After installing gcc 3.4 I begin compile step
On Ubuntu Edgy there is no
uuid/uuid.hfile so I have grab it from
tar
Quoted 3 lines
Quoted 3 lines
file at Ubuntu repository and put it in qemu subdir of kvm
On Ubuntu Edgy libuuid is in
/lib/libuuid.so.1so I make a link from
it
Quoted 10 lines
Quoted 2 lines
to
/lib/libuuid.soYou're probably missing a package. On Fedora Core, e2fsprogs-devel contains both libuuid.so and
uuid.h.Quoted 4 lines
After this, I got kvm compile and install.
I modprobe new module without any problem, create a disk image and begint to install Windows XP on that.
At formatting step it take a long time (about 25 min for a 6Gb of
disk)
Quoted 9 lines
Quoted 7 lines
with 90% of CPU and only very little i/o activity.At about 99%, exit from install with a message "impossible to format".
Using dmesg command I geta lot of this error:
[17192500.496000] kvm: unhandled rdmsr: 0xc0000081What cpu is this? A 32-bit Intel Core?
If the above is correct it's AMD.
On 32-bit host it shouldn't matter.
On 64 bit we are handling it, so it's important to know the host OS type.
Quoted 3 lines
Quoted 3 lines
I have also tried a workaround necessary for Xen on my MB. In
install
Quoted 1 line
Quoted 1 line
procedure of XP I hit F5 key and used "Standard PC" from menu
choice,
Quoted 4 lines
Quoted 4 lines
without any change
Booting with -no-acpi flag an image file made by qemu (for first
install
Quoted 1 line
Quoted 1 line
step) and by Xen (for install completition) boot and work but I am
not
Quoted 9 lines
Quoted 3 lines
able to activate network connection. I find a network adapter, I can configure it but I have no response pinging other LAN PC.
Unless you use ethernet bridging, ping will not work. TCP from the guest to the outside world should work, but not from outside into the guest (in effect the guest is NATed by qemu).
See also http://compsoc.dur.ac.uk/~djw/qemu.html.
If you want a script that build a software bridge automatically use download the code from 'svn checkout svn://kvm.qumranet.com/kvm/trunk dirname'
Take the dirname/scripts/kvm and put it in /etc/init.d + chkconfig it + service kvm start.
The script add sw0 bridge and switches IP with eth0.
Now you can run qemu with a tap - use arguments Qemu ..... -net nic -net tap,script=dirname/scripts/qemu-ifup
After that you could ping/tcp the guest from outside.
Quoted 6 lines
--
error compilingcommittee.c: too many arguments to function
------------------------------------------------------------------------
-
Quoted 2 lines
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to
share
Quoted 3 lines
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
Quoted 4 lines
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Quoted 4 lines · Franco Spinelli
Using dmesg command I geta lot of this error:
[17192500.496000] kvm: unhandled rdmsr: 0xc0000081
The attached patch should fix it (we didn't handle MSR_STAR on 32-bit AMD hosts)
Signature · 1 line
error compiling committee.c: too many arguments to function
svm.c +3 -3
@@ -402,11 +402,11 @@set_msr_interception (msrpm_va,MSR_GS_BASE ,1 ,1 );set_msr_interception (msrpm_va,MSR_FS_BASE ,1 ,1 );set_msr_interception (msrpm_va,MSR_KERNEL_GS_BASE ,1 ,1 ); -set_msr_interception (msrpm_va,MSR_STAR ,1 ,1 );set_msr_interception (msrpm_va,MSR_LSTAR ,1 ,1 );set_msr_interception (msrpm_va,MSR_CSTAR ,1 ,1 );set_msr_interception (msrpm_va,MSR_SYSCALL_MASK ,1 ,1 );#endif +set_msr_interception (msrpm_va,MSR_K6_STAR ,1 ,1 );set_msr_interception (msrpm_va,MSR_IA32_SYSENTER_CS ,1 ,1 );set_msr_interception (msrpm_va,MSR_IA32_SYSENTER_ESP ,1 ,1 );set_msr_interception (msrpm_va,MSR_IA32_SYSENTER_EIP ,1 ,1 );
@@ -1098,10 +1098,10 @@case MSR_IA32_APICBASE : *data = vcpu->apic_base;break ; -#ifdef CONFIG_X86_64 -case MSR_STAR : +case MSR_K6_STAR : *data = vcpu->svm->vmcb->save.star;break ; +#ifdef CONFIG_X86_64 case MSR_LSTAR : *data = vcpu->svm->vmcb->save.lstar;break ;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel