From owner-freebsd-current@FreeBSD.ORG Sun Jul 10 12:27:37 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D0ED16A41C; Sun, 10 Jul 2005 12:27:37 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BD4143D46; Sun, 10 Jul 2005 12:27:35 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.3/8.13.3/NinthNine) with SMTP id j6ACRQck086292; Sun, 10 Jul 2005 21:27:26 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sun, 10 Jul 2005 21:27:26 +0900 (JST) Message-Id: <200507101227.j6ACRQck086292@sakura.ninth-nine.com> From: Norikatsu Shigemura To: Antony T Curtis In-Reply-To: <1120993828.46929.7.camel@pcgem.xiphis.org> References: <20050704010715.A36404@saturn.kn-bremen.de> <200507040037.j640bg0v085158@gate.bitblocks.com> <200507100439.j6A4dlMK074874@sakura.ninth-nine.com> <1120993828.46929.7.camel@pcgem.xiphis.org> X-Mailer: Sylpheed version 2.0.0beta5 (GTK+ 2.6.8; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (sakura.ninth-nine.com [219.127.74.121]); Sun, 10 Jul 2005 21:27:29 +0900 (JST) X-Mailman-Approved-At: Sun, 10 Jul 2005 13:26:17 +0000 Cc: craig@xfoil.gank.org, jhb@FreeBSD.org, alc@FreeBSD.org, jeff@FreeBSD.org, nork@FreeBSD.org, qemu-devel@nongnu.org, freebsd-current@FreeBSD.org, bakul@BitBlocks.com, qemu-l@jelal.kn-bremen.de Subject: Re: [Qemu-devel] kqemu freebsd host smp problems? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2005 12:27:37 -0000 On Sun, 10 Jul 2005 12:10:28 +0100 Antony T Curtis wrote: > > I confirmed that qemu on latest FreeBSD 6-current got more > > stability!!, but more little slowly:-( and a panic:-( too. > IMO, That flag is not the cause of the panics and that it should(tm) > work without requiring GIANT... > I think it is possible that the kqemu code is freeing a page without > unlocking it so that when another process does file IO which requires > pages to be allocated, attempts to wire those pages results in failure > and so a panic occurrs. > Perhaps if a different method for allocating memory rather than > contigmalloc/contigfree should be used by the kernel module. Hummm... I can't fix this issue. Please, please:-). > > Offtopic - but am I the only person who has modified the if_tap driver > to permit opening by non-superuser? Did you modify if_tap driver? I didn't, I set follwoing setting. 1. Add following lines to /etc/devfs.conf # Allow a user in the wheel group to query the if_tap device perm tap* 0660 2. Add following line to /etc/sysctl.conf net.link.tap.user_open=1