From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: 32-bit FreeBSD under 64-bit KVM Date: Sat, 03 Mar 2007 10:01:17 +0200 Message-ID: <45E92B4D.8030501@qumranet.com> References: <45E38511.9000006@aurel32.net> <45E3D902.7000102@qumranet.com> <20070301214843.GA28822@volta.aurel32.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Aurelien Jarno Return-path: In-Reply-To: <20070301214843.GA28822-pck4HO7xIi+4mUWUGf39/V6hYfS7NtTn@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 Aurelien Jarno wrote: >> Can you try turning the '#undef AUDIT' to '#define AUDIT' in mmu.c? >> Also, change 'int dbg = 1' to 'int dbg = 0' in the same file. Note kvm >> will be very slower after this. dmesg will show any issues (issue a >> 'echo 9 > /proc/sysrq-trigger' to make sure all messages are shown) >> >> > > Yep I confirm it is very slow, especially when your tty0 device is > actually a serial port running at 9600 bauds! > > I also got some problems, as it seems logging so much data slowed down > the machine, including the emulated machine. The segmentation violation > message disappeared, but the OS was like in an endless loop. So the > problem _may_ be due to a race condition. > > After a lot of tries, I found that I was able to get the segmentation > violation by sending the kernel log to another machine. The full log is > available on http://temp.aurel32.net/kvm-gnu_kfreebsd32.log.bz2. But I > don't know what to look for in a such big log. > 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). -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- 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