From owner-freebsd-smp Sat Mar 23 1: 7:18 2002 Delivered-To: freebsd-smp@freebsd.org Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by hub.freebsd.org (Postfix) with ESMTP id 0B1FE37B419; Sat, 23 Mar 2002 01:07:14 -0800 (PST) Received: (from jake@localhost) by k6.locore.ca (8.11.6/8.11.6) id g2N9GPs13782; Sat, 23 Mar 2002 04:16:25 -0500 (EST) (envelope-from jake) Date: Sat, 23 Mar 2002 04:16:24 -0500 From: Jake Burkholder To: John Baldwin Cc: Andy Isaacson , freebsd-smp@FreeBSD.ORG Subject: Re: FreeBSD 4.5: Second CPU Not Working on Dell PowerEdge 1650 Message-ID: <20020323041624.S90182@locore.ca> References: <20020321210532.C22667@hexapodia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.ORG on Fri, Mar 22, 2002 at 10:05:27AM -0500 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Apparently, On Fri, Mar 22, 2002 at 10:05:27AM -0500, John Baldwin said words to the effect of; > > On 22-Mar-2002 Andy Isaacson wrote: > > On Thu, Mar 21, 2002 at 05:35:58PM -0800, Lars Eggert wrote: > >> Barney Wolff wrote: > >> > Remember that in computing, counting begins at 0. :) > >> > You have 2 cpu's running fine. > >> > >> Since this has come up a few times already, maybe we should change the > >> message to read: > >> > >> SMP: Another CPU (AP CPU #1) Launched! > > > > How about > > SMP: AP CPU #1 Launched, 2 running > > > > Or just stick a "%d CPUs running" at the end of the launch loop. > > In current you get a 'FreeBSD/SMP: Multiprocessor system: X cpus' message > during startup that is identical on all platforms. How about we remove both of these messages altogether and print identify lines for all cpus in the system. They can even look something like newbus device probes. cpu0: Sun Microsystems UltraSparc-II Processor (450.07 MHZ CPU) cpu1: Sun Microsystems UltraSparc-II Processor (450.07 MHZ CPU) cpu2: Sun Microsystems UltraSparc-II Processor (450.07 MHZ CPU) cpu3: Sun Microsystems UltraSparc-II Processor (450.07 MHZ CPU) nexus0: The SMP: AP CPU #%d Launched! message is dangerous because it is printed before the non-boot cpus can safely acquire Giant; most architectures do it wrong. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message