From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 26 10:48:57 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 D07DA1065670 for ; Sat, 26 Nov 2011 10:48:57 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from dash.upc.es (dash.upc.es [147.83.2.50]) by mx1.freebsd.org (Postfix) with ESMTP id 54C648FC0A for ; Sat, 26 Nov 2011 10:48:56 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by dash.upc.es (8.14.1/8.13.1) with ESMTP id pAQAmrjJ003848 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 26 Nov 2011 11:48:54 +0100 Received: from portgus.lan ([80.31.114.86]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id pAQAmm6p011018 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 26 Nov 2011 11:48:53 +0100 Message-ID: <4ED0C40D.5010307@entel.upc.edu> Date: Sat, 26 Nov 2011 11:48:45 +0100 From: =?ISO-8859-1?Q?Gustau_P=E9rez?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111111 Thunderbird/8.0 MIME-Version: 1.0 To: Michael Butler References: <4ECF7440.4070300@entel.upc.edu> <4ECF8F05.8000007@protected-networks.net> In-Reply-To: <4ECF8F05.8000007@protected-networks.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (dash.upc.es [147.83.2.50]); Sat, 26 Nov 2011 11:48:54 +0100 (CET) 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: Sat, 26 Nov 2011 10:48:57 -0000 >> 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 :-( > I've been checking those revisions and all they do is offer a new interface by generalizing the definition of functions already there. The old interface will use the new functions (the new interface are of the form like sx_lock_(), the older ones like sx_xlock will expand to sx_xlock_() which will expand to _sx_xlock or __sx_xlock as they did previously). So perhaps I'm missing something (I just took a brief look at the code) but I fear they are not the problem. I will try an older kernel (as the problem has to with sx I'm going to try with r227785) just in case. Moreover I see some discussion in freebsd-ports@ at the of October related to the D_PSEUDO issue where one posters made Virtualbox to work but reported a dmesg where I can the same messages I have. At that time the new {sx|mx} interface wasn't there. Will report my findings soon...