From owner-freebsd-ports@FreeBSD.ORG Wed Feb 22 09:26:24 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id EAD131065672; Wed, 22 Feb 2012 09:26:24 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-197-151.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id A2BA614F123; Wed, 22 Feb 2012 09:26:24 +0000 (UTC) Message-ID: <4F44B4BF.5070402@FreeBSD.org> Date: Wed, 22 Feb 2012 01:26:23 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: Andriy Gapon References: <4F44147C.8050905@FreeBSD.org> <4F442E1E.4010501@FreeBSD.org> <4F446391.4070101@FreeBSD.org> <4F44B362.7000103@FreeBSD.org> In-Reply-To: <4F44B362.7000103@FreeBSD.org> X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org, decke@FreeBSD.org, FreeBSD ports list Subject: Re: Virtualbox 4.1.8 vboxdrv instantly panics on 8-stable i386 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2012 09:26:25 -0000 On 02/22/2012 01:20, Andriy Gapon wrote: > on 22/02/2012 05:40 Doug Barton said the following: >> On 02/21/2012 15:51, Andriy Gapon wrote: >>> Could you please substitute the attached patch file for the corresponding file >>> in the port and re-test the port? >> >> Good news, the kernel didn't panic. Bad news: >> >> supdrvGipCreate: failed to allocate the GIP page. rc=-8 >> vboxdrv: supdrvInitDevExt failed, rc=-8 >> module_register_init: MOD_LOAD (vboxdrv, 0xc66f33e0, 0) error 12 > > Yeah, I kind of expected something like this, because the original panic was in > a memory allocation failure path. > As to why the memory allocation fails I have no immediate insights. Maybe you > genuinely don't have enough contiguous pages below 4GB boundary... It's i386, no PAE, so you could be on to something. I do have more than 4G in the box though: real memory = 6442450944 (6144 MB) avail memory = 3148255232 (3002 MB) Meanwhile, the 4.0 version worked on this same system ... > Perhaps you can add a printf in > src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c right after the > vm_phys_alloc_contig() call to examine/validate its input parameters and return > value. patch? I am sort of short on time atm. Either way, thanks again for looking into it. -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/