From owner-freebsd-current@FreeBSD.ORG Sat Jul 9 13:16:57 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AB3B16A420 for ; Sat, 9 Jul 2005 13:16:57 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mail22.sea5.speakeasy.net (mail22.sea5.speakeasy.net [69.17.117.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D19D43E88 for ; Sat, 9 Jul 2005 13:10:25 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 22911 invoked from network); 9 Jul 2005 13:10:25 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender ) by mail22.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 9 Jul 2005 13:10:24 -0000 Received: from slimer.baldwin.cx (slimer.baldwin.cx [192.168.0.16]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j69DAE0G031149; Sat, 9 Jul 2005 09:10:17 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Sat, 9 Jul 2005 09:10:23 -0400 User-Agent: KMail/1.8 References: <42C098B0.5060004@voicenet.com> <42C342F7.9080905@comcast.net> <42C34640.6040305@samsco.org> In-Reply-To: <42C34640.6040305@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507090910.25502.jhb@FreeBSD.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx Cc: Adam K Kirchhoff , rsh.lists@comcast.net Subject: Re: Portupgrade, -CURRENT & SMP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 13:16:57 -0000 On Wednesday 29 June 2005 09:09 pm, Scott Long wrote: > Sean wrote: > > Scott Long wrote: > >>> Which, yes, is quite annoying and, IMHO, is a pretty critical bug > >>> that needs fixing. It makes SMP on -CURRENT nearly unusable if you > >>> want to regularly update your ports. > >>> > >>> Adam > >> > >> Well, you can disable SMP at boot via > >> > >> set hw.apic.0.disable=1 > >> > >> But yes, it's some sort of a bug and it needs to be fixed. I'll track > >> the PR. > >> > >> Scott > > > > Scott, > > > > I checked and doing several searches through the sysctl options do not > > see any such option as you list above, > set hw.apic.0.disable=1 > > > > I am running amd64, is this perhaps just an option for i386? > > I do see a kern.smp.disabled: 0, would this instead be for amd64? > > > > Exactly how on boot do I break in to enter this option? > > Or do I set it, then boot? > > Then afterwards reset then boot again? > > > > Thanks > > Sean > > Sorry, it's > > hw.apic.0.disabled=1 > > I missed the 'd'. It's not a sysctl, it's a tunable (they share the > same namespace and often overlap, but not always). kern.smp.disabled > works too. You'll need to either put these settings into > /boot/loader.conf, or manually set them in the loader by hitting the > space bar during the 10 second timeout. 5.x had a nice menu for doing > this, but it because controversial over silly reasons and was removed. And s/hw/hint/. I think the menu should be brought back though. The folks who didn't want it had an easy knob to turn it off. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org