From owner-freebsd-arm@FreeBSD.ORG Sun Mar 22 16:37:32 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D34F889; Sun, 22 Mar 2015 16:37:32 +0000 (UTC) Received: from biz112.inmotionhosting.com (biz112.inmotionhosting.com [66.117.4.135]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F34F3DF; Sun, 22 Mar 2015 16:37:31 +0000 (UTC) Received: from 75-37-201-71.lightspeed.snmtca.sbcglobal.net ([75.37.201.71]:57193 helo=SB2) by biz112.inmotionhosting.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.82) (envelope-from ) id 1YZisS-00074u-7k; Sun, 22 Mar 2015 09:37:28 -0700 From: "Sven Brehmer" To: "'Ian Lepore'" References: <000001d0642f$56f59540$04e0bfc0$@polycoresoftware.com> <1427039443.49126.2.camel@freebsd.org> In-Reply-To: <1427039443.49126.2.camel@freebsd.org> Subject: RE: Booting < 4 SMP cores on Wandboard-Quad? Date: Sun, 22 Mar 2015 09:37:27 -0700 Message-ID: <009701d064be$7c030180$74090480$@polycoresoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQEsdGUjPXSCio/q0oMIxBwLp45fEQG9GLyDnmKrL9A= Content-Language: en-us X-OutGoing-Spam-Status: No, score=-102.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - biz112.inmotionhosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - polycoresoftware.com X-Get-Message-Sender-Via: biz112.inmotionhosting.com: authenticated_id: sven.brehmer@polycoresoftware.com Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2015 16:37:32 -0000 Ian, Great, thank you! Regards, Sven -----Original Message----- From: Ian Lepore [mailto:ian@freebsd.org] Sent: Sunday, March 22, 2015 08:51 To: Sven Brehmer Cc: freebsd-arm@freebsd.org Subject: Re: Booting < 4 SMP cores on Wandboard-Quad? On Sat, 2015-03-21 at 16:32 -0700, Sven Brehmer wrote: > Hello, > > > > We are working with FreeBSD on the Wandboard and we are trying to boot > less than 4 cores in SMP mode. We have tried a number of way's with > settings in sysctl.conf, loader.conf and customizing the kernel build > with "options MAXCPU=2", but without success. > > > > Any advice would be appreciated. Set the hw.ncpu tunable to the number you want. If you have forth enabled add to loader.conf: hw.ncpu=2 otherwise (no forth) add to loader.rc: set hw.ncpu=2 I'm not sure there's good error checking, so don't set it to more cores than you actually have. :) -- Ian