From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jiikw-00036V-Hh for qemu-devel@nongnu.org; Mon, 07 Apr 2008 00:14:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jiiku-00035Q-Mv for qemu-devel@nongnu.org; Mon, 07 Apr 2008 00:14:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jiiku-00035K-9s for qemu-devel@nongnu.org; Mon, 07 Apr 2008 00:14:52 -0400 Received: from rn-out-0910.google.com ([64.233.170.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jiiku-00006N-3X for qemu-devel@nongnu.org; Mon, 07 Apr 2008 00:14:52 -0400 Received: by rn-out-0910.google.com with SMTP id i6so1189911rng.2 for ; Sun, 06 Apr 2008 21:14:51 -0700 (PDT) Message-ID: <47F99FB4.7050403@gmail.com> Date: Mon, 07 Apr 2008 00:14:44 -0400 From: Jake Myers MIME-Version: 1.0 Subject: Re: [Qemu-devel] QEMU refusing to die on FreeBSD host References: <47F857CB.1000502@gmail.com> <20080406163440.GA47504@saturn.kn-bremen.de> In-Reply-To: <20080406163440.GA47504@saturn.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Juergen Lock wrote: > 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 > > > > I disabled SMP in my kernel, rebuilt the kqemu module, and tried to run it again. The same issue occurs. Regards Jacob Myers