From owner-freebsd-emulation@FreeBSD.ORG Fri Nov 25 12:36:04 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 E57D7106566B for ; Fri, 25 Nov 2011 12:36:04 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from violet.upc.es (violet.upc.es [147.83.2.51]) by mx1.freebsd.org (Postfix) with ESMTP id 5C7578FC17 for ; Fri, 25 Nov 2011 12:36:04 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by violet.upc.es (8.14.1/8.13.1) with ESMTP id pAPAu4Lt014004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 25 Nov 2011 11:56:05 +0100 Received: from portgus.lan ([147.83.40.234]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id pAPAu15V008265 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 25 Nov 2011 11:56:04 +0100 Message-ID: <4ECF7440.4070300@entel.upc.edu> Date: Fri, 25 Nov 2011 11:56:00 +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: freebsd-emulation@freebsd.org 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 (violet.upc.es [147.83.2.51]); Fri, 25 Nov 2011 11:56:05 +0100 (CET) Subject: 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:36:05 -0000 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. Any help will be appreciated. Gustau