From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aurelien Jarno Subject: Re: 32-bit FreeBSD under 64-bit KVM Date: Wed, 7 Mar 2007 18:47:37 +0100 Message-ID: <20070307174737.GA8340@farad.aurel32.net> References: <45E38511.9000006@aurel32.net> <45E3D902.7000102@qumranet.com> <20070301214843.GA28822@volta.aurel32.net> <45E92B4D.8030501@qumranet.com> <45EECD2D.20209@aurel32.net> <45EECD5A.5090801@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Avi Kivity Return-path: Content-Disposition: inline In-Reply-To: <45EECD5A.5090801-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 On Wed, Mar 07, 2007 at 04:34:02PM +0200, Avi Kivity wrote: > Aurelien Jarno wrote: > >>> > >>> > >>Are you sure you set 'dbg = 0'? There aren't supposed to be any logs, > >>except if an error is found during audit (that's what the '#define > >>AUDIT' is for). > >> > >> > > > >Oh sorry, I did that wrong. > > > >I have tried with dbg = = 0 and #define AUDIT, and it is indeed far less > >verbose. > > > >However I experienced the same problem as with DEBUG, ie when the guest > >is running slower (in that case due to AUDIT), the problem get away and > >the guest is running correctly, but very slowly. > > > >I guess it will be difficult to debug such a thing, so I think I will > >have to wait until another way to trigger the bug is found. > > > > It shouldn't say anything under audit unless something is wrong. Can > you post your dmesg? Yep. Here are what I get in my dmesg. The lines below are output when the kernel is started (just after the bootloader): Mar 3 16:50:35 joule kernel: assertion failed /usr/local/src/kvm-15/kernel/mmu.c:722: (gpa & HPA_ERR_MASK) == 0 Mar 3 16:50:35 joule kernel: audit error: (pre page fault) levels 2 gva 444000 gpa ffffffffffffffff hpa ffffffffffffffff ent 3e369021 Mar 3 16:50:36 joule kernel: assertion failed /usr/local/src/kvm-15/kernel/mmu.c:722: (gpa & HPA_ERR_MASK) == 0 Mar 3 16:50:36 joule kernel: audit error: (post page fault (fixed)) levels 2 gva 444000 gpa ffffffffffffffff hpa ffffffffffffffff ent 3e369021 Then the kernel takes a huge time to boot, and at then end of the kernel boot, or maybe when trying to start init, the following lines are printed hundred thousand of time: Mar 3 18:40:30 joule kernel: audit error: (pre page fault) levels 2 gva ffffffffbfbfe000 gpa 1e81e000 hpa 4749c000 ent 564ca825 Mar 3 18:40:30 joule kernel: audit error: (post page fault (fixed)) levels 2 gva ffffffffbfbfe000 gpa 1e81e000 hpa 4749c000 ent 564ca825 -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org | aurelien-rXXEIb44qovR7s880joybQ@public.gmane.org `- people.debian.org/~aurel32 | www.aurel32.net ------------------------------------------------------------------------- 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