From owner-freebsd-emulation@FreeBSD.ORG Fri Nov 25 12:50:18 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E366106566B for ; Fri, 25 Nov 2011 12:50:18 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 1BCBE8FC1B for ; Fri, 25 Nov 2011 12:50:18 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb@protected-networks.net) by sarah.protected-networks.net (Postfix) with ESMTPSA id 088B16160; Fri, 25 Nov 2011 07:50:15 -0500 (EST) DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:content-type:content-transfer-encoding; b=kcr9R3AeOFtdYpERi4EaAS8eIwFygaSN+KdmrlAt8NWSfPE83KJ79HA8oAjj/Nk1e qU2t+4rRBA9E8jqGEg9uNQxdDuLMMCCQzpD+1qTbc2QvDjzH6psN7VTv2JWECle Message-ID: <4ECF8F05.8000007@protected-networks.net> Date: Fri, 25 Nov 2011 07:50:13 -0500 From: Michael Butler User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111111 Thunderbird/8.0 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Gustau_P=E9rez?= References: <4ECF7440.4070300@entel.upc.edu> In-Reply-To: <4ECF7440.4070300@entel.upc.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-emulation@freebsd.org Subject: Re: Freeze with 10.0 and VirtualBox {4.1.4|4.1.6|4.1.51r38464} X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 12:50:18 -0000 On 11/25/11 05:56, Gustau Pérez wrote: > > Hi, > > I'm seeing freezes with AMD64/CURRENT r227817 (as of Nov 22th). The > machine freezes hard when starting a virtual machine. It used work a few > weeks ago. > > I've been using Bernhard's from a lot of time. 4.1.4 from a month ago > freezes. I had to apply the patch to fix the D_PSEUDO problem. I see it > was posted in the vbox mailing lists and commited upstream. So I > yesterday picked last virtualbox-port.tar.gz version at > http://svn.bluelife.at/nightlies. 4.1.6 included there also freezes the > machine. > > So I recompiled the kernel with WITNESS, DEADLKRES and friends I see a > deadlock. This is the trace I got in my messages after rebooting the > machine: > > Nov 25 08:57:06 portgus kernel: acquiring duplicate lock of same type: > "IPRT Fast Mutex Semaphore" > Nov 25 08:57:06 portgus kernel: acquiring duplicate lock of same type: > "IPRT Fast Mutex Semaphore" > Nov 25 08:57:06 portgus kernel: 1st IPRT Fast Mutex Semaphore @ \ > /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.6_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/semfastmutex-r0drv-freebsd.c:100 > > > I don't know if I'll have time to check this. I will try the versions in > the ports tree (4.012?) but if it works it will allow us to work until > 4.1.X gets into the tree. This appears to be related to recent changes in the locking mechanisms - specifically, SVN r227758 and r227788. I have not had time to explore further :-( imb