Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JiXqx-0007YX-9d for qemu-devel@nongnu.org; Sun, 06 Apr 2008 12:36:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JiXqv-0007VR-QZ for qemu-devel@nongnu.org; Sun, 06 Apr 2008 12:36:22 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiXqv-0007VF-G2 for qemu-devel@nongnu.org; Sun, 06 Apr 2008 12:36:21 -0400 Received: from gwyn.kn-bremen.de ([212.63.36.242]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JiXqv-0000jr-2N for qemu-devel@nongnu.org; Sun, 06 Apr 2008 12:36:21 -0400 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id m36GYfk1042018 for ; Sun, 6 Apr 2008 18:34:41 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id m36GYf3W041783 for qemu-devel@nongnu.org; Sun, 6 Apr 2008 18:34:41 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 6 Apr 2008 18:34:40 +0200 Subject: Re: [Qemu-devel] QEMU refusing to die on FreeBSD host Message-ID: <20080406163440.GA47504@saturn.kn-bremen.de> References: <47F857CB.1000502@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47F857CB.1000502@gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Sun, Apr 06, 2008 at 12:55:39AM -0400, Jake Myers wrote: > Hello, > > On FreeBSD 7-STABLE, qemu refuses to exit even after the window is closed. > It is stuck so badly that even kill -9 fails to stop it. I looked in top to > see what it was doing that would cause it to lock so badly: > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 34859 root 1 -8 20 433M 416M devdrn 9:49 0.00% qemu > > I believe the problem is that qemu for some reason refuses to stop trying > to use the kqemu device. > > I am running the latest qemu (0.9.1). I can provide a backtrace on request > (I'm really busy right now with other things, so I didn't have time to > attach one). Yeah this looks like its the same FreeBSD 7.x/SMP issue that I already got reports of (refcount problem, similar to what has already been fixed once, only this time it seems to be a race...) If it is, you should be able to work around it by using an uniprocessor host kernel until a fix is known. Sorry... Juergen