From: Bernhard Kohl Subject: Re: Problems with kvm-73 on PAE host Date: Mon, 8 Sep 2008 09:07:32 +0000 (UTC) Message-ID: References: <48C38E15.10508@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from main.gmane.org ([80.91.229.2]:53411 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751983AbYIHJHr (ORCPT ); Mon, 8 Sep 2008 05:07:47 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kccih-0003Vn-P9 for kvm@vger.kernel.org; Mon, 08 Sep 2008 09:07:40 +0000 Received: from proxy1-nsn.nsn-inter.net ([217.115.75.229]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Sep 2008 09:07:39 +0000 Received: from Bernhard.Kohl by proxy1-nsn.nsn-inter.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Sep 2008 09:07:39 +0000 Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity qumranet.com> writes: > > Bernhard Kohl wrote: > > Bernhard Kohl nsn.com> writes: > > > > > >> Hi, > >> > >> I'm trying to run kvm-73 on a Linux PAE host. I'm using Fedora 8 on the > >> > > host, > > > >> installed kernel-PAE and kernel-PAE-devel (2.6.25.14-69.fc8.i686), built and > >> installed KVM: > >> > >> make distclean > >> ./configure > >> make > >> make install > >> > >> > > Did you remember to reload the modules? maybe you are using some stale > modules. Yes of course. Sorry, I forgot this in my description above. I'm doing that usually in a little script: ... modprobe -vr kvm-intel make install modprobe -v kvm-intel > >> Immediately after starting any VM the following error occurs. Did I miss > >> anything? No problems with the non PAE kernels. > >> > >> kvm_run: failed entry, reason 7 > >> kvm_run returned -8 > >> > > > > Hi again, > > > > some more infos about this topic: > > As I could find out this is an VM-instruction error (VM entry with invalid > > control field(s)). Is this a bug in KVM when running on a PAE kernel? Or are > > there special configuration options necessary for building KVM for a PAE > > kernel. > > There is no output in dmesg. > > > > How much memory does the host have? It has currently 8 GB. The host Linux sees all this memory. We plan to expand this to 16 GB and run 4 guests with a legacy 32-bit OS. Is it possible that these guest see 3 GB or is there still a 2 GB limit for 32-bit guests on 32- bit hosts? I searched a lot about this topic in this mailing list, but I'm not quite sure. Unfortunately we currently need to use several hosts with CPUs that don't support 64-bit. So I got the idea to use the PAE Linux on these hosts.