From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0pmI-0000jc-GY for qemu-devel@nongnu.org; Mon, 26 May 2008 23:23:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0pmH-0000iF-MN for qemu-devel@nongnu.org; Mon, 26 May 2008 23:23:09 -0400 Received: from [199.232.76.173] (port=60025 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0pmH-0000i9-Cg for qemu-devel@nongnu.org; Mon, 26 May 2008 23:23:09 -0400 Received: from ti-out-0910.google.com ([209.85.142.189]:61796) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0pmH-0004nv-0I for qemu-devel@nongnu.org; Mon, 26 May 2008 23:23:09 -0400 Received: by ti-out-0910.google.com with SMTP id y6so1819367tia.18 for ; Mon, 26 May 2008 20:23:03 -0700 (PDT) Message-ID: <483B7E8C.7040907@gmail.com> Date: Mon, 26 May 2008 23:22:52 -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> <200804071914.m37JEKM2041182@saturn.kn-bremen.de> <20080419152147.GA43563@saturn.kn-bremen.de> In-Reply-To: <20080419152147.GA43563@saturn.kn-bremen.de> Content-Type: text/plain; charset=UTF-8; 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 Mon, Apr 07, 2008 at 09:14:20PM +0200, Juergen Lock wrote: > >> In article <47F99FB4.7050403@gmail.com> you write: >> >>> 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. >>> >> Hmm okay, then its not an SMP issue, thanks for the information! >> [...] >> > > OK, I just committed a fix, please try updating your kqemu port and > tell me if it works for you then. > > Thanx, > Juergen > > Sorry for my very belated paste, I was away on vacation. It all works flawlessly now, thank you very much :-). Regards Jacob Myers