From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Riepe Subject: Re: [ANNOUNCE] kvm userspace release 6 Date: Mon, 11 Dec 2006 18:39:57 +0100 Message-ID: <457D97ED.6090606@mr511.de> References: <457D42F3.3000000@qumranet.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030906030603010402090308" Return-path: To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org In-Reply-To: <457D42F3.3000000-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org This is a multi-part message in MIME format. --------------030906030603010402090308 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! I immediately tried the latest version (SVN release 4064) on my Thinkpad (Core Duo T2400, Linux 2.6.19) but I still have the same problems I had with release 5. Suse 10.1 (the German version) dies with: > exception 13 (0) > Aborted no matter if I boot from DVD or disk. OpenSolaris XXL gets hit even worse: > unhandled vm exit: 0x80000021 > rax 0000000060000010 rbx 0000000000002000 rcx 000000000102808c rdx 0000000000101e50 > rsi 0000000000004f15 rdi 0000000000000000 rsp 0000000000004ffc rbp 0000000001028064 > r8 00000000010113c8 r9 00000000000007ff r10 00000000e0000011 r11 b7f04674b7f03ff4 > r12 bfa68a80b7f044c8 r13 b7f04674b7efae3c r14 00000001b79a03f0 r15 0000000000000001 > rip 00000000000021ab rflags 00223002 > Aborted This one obviously points to an error on VM entry, according to the Intel docs. Maybe the Solaris bootloader is messing with registers it shouldn't touch? Windows XP Professional works, but only if I turn off ACPI (-no-acpi). The only thing that fails is poweroff/reboot (well, no ACPI, no way to turn off the power, right?) but you can do that manually. If I turn ACPI on, I get a bluescreen complaining about "IRQL_NOT_LESS_OR_EQUAL", whatever that means. On the other hand, some systems worked fine out of the box. So far I managed to boot and use Knoppix 5.0 and the latest Qemu-Puppy (2.01-3). All systems I tested work with -no-kvm (or the regular qemu 0.8.2). The patch I attached is not essential. It fixes two error messages that occur on a 32-bit host (where the offending registers don't exist). By the way: I get myriads of "kvm: unhandled rdmsr: c0000081" messages in my syslog, but they don't seem to cause any further harm. Please let me know if (and how, preferably) I can help debugging. -- Michael "Tired" Riepe X-Tired: Each morning I get up I die a little --------------030906030603010402090308 Content-Type: text/plain; name="kvm-4064.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kvm-4064.diff" Index: kernel/vmx.c =================================================================== --- kernel/vmx.c (revision 4064) +++ kernel/vmx.c (working copy) @@ -1175,8 +1175,10 @@ VM_ENTRY_CONTROLS, 0); vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, 0); /* 22.2.1 */ +#ifdef CONFIG_X86_64 vmcs_writel(VIRTUAL_APIC_PAGE_ADDR, 0); vmcs_writel(TPR_THRESHOLD, 0); +#endif vmcs_writel(CR0_GUEST_HOST_MASK, KVM_GUEST_CR0_MASK); vmcs_writel(CR4_GUEST_HOST_MASK, KVM_GUEST_CR4_MASK); --------------030906030603010402090308 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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 --------------030906030603010402090308 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --------------030906030603010402090308--