From owner-freebsd-hackers@freebsd.org Wed Apr 4 23:18:42 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C344BF7EC5D for ; Wed, 4 Apr 2018 23:18:42 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from xse.com (xse.com [IPv6:2607:f2f8:abb8::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "xse.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C14F79484; Wed, 4 Apr 2018 23:18:42 +0000 (UTC) (envelope-from leres@freebsd.org) Received-SPF: pass (dot.xse.com: authenticated connection) receiver=dot.xse.com; client-ip=2001:558:6045:10:9084:9e0:4b6d:eb99; helo=ice.ee.lbl.gov; envelope-from=leres@freebsd.org; x-software=spfmilter 2.001 http://www.acme.com/software/spfmilter/ with libspf2-1.2.10; Received: from ice.ee.lbl.gov (ice.xse.com [IPv6:2001:558:6045:10:9084:9e0:4b6d:eb99]) (authenticated bits=0) by dot.xse.com (8.15.2/8.15.2) with ESMTPSA id w34NIeI7079404 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 4 Apr 2018 16:18:41 -0700 (PDT) (envelope-from leres@freebsd.org) X-Authentication-Warning: dot.xse.com: Host ice.xse.com [IPv6:2001:558:6045:10:9084:9e0:4b6d:eb99] claimed to be ice.ee.lbl.gov Subject: Re: 11.1-RELEASE virtualbox-ose panic: ncpus is 0 with non-zero map To: Allan Jude , freebsd-hackers@freebsd.org References: <3fd9fbd1-26ef-c176-2c4b-cf02f89ea680@freebsd.org> <1288458d-d0dd-40d8-eaf9-32fcd0ca6137@freebsd.org> From: Craig Leres Message-ID: Date: Wed, 4 Apr 2018 16:18:40 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1288458d-d0dd-40d8-eaf9-32fcd0ca6137@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.99.4 at dot.xse.com X-Virus-Status: Clean X-GBUdb-Analysis: Unknown X-MessageSniffer-Rules: 0-0-0-2439-c X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2018 23:18:42 -0000 On 04/04/18 15:51, Allan Jude wrote: > The official packages are built for the GENERIC kernel, I think > specifically changing the MAXCPU will change the size of one of the > structs used by the module, causing this issue. I'm not so sure about that. I believe MAXCPU changes some data structure sizes and allows for kernels that have up to that many cores. I don't believe loadable drivers care what it is. They system I built the virtualbox-ose-kmod package on was running the same 64 MAXCPU kernel at the time (I built and booted the custom kernel before building packages). Craig