Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2002 11:40:24 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Jake Burkholder <jake@locore.ca>
Cc:        freebsd-smp@FreeBSD.ORG, Andy Isaacson <adi@hexapodia.org>
Subject:   Re: FreeBSD 4.5: Second CPU Not Working on Dell PowerEdge 1650
Message-ID:  <XFMail.20020325114024.jhb@FreeBSD.org>
In-Reply-To: <20020323041624.S90182@locore.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

On 23-Mar-2002 Jake Burkholder wrote:
> 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.

Some folks would like CPU's to be proper new-bus devices.  I wouldn't mind
these types of messages.

> 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: <OpenFirmware Nexus device>
> 
> 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.

Hmmmm.  Well, we really need proper printf locking (which probably shouldn't
use blocking locks).

> Jake

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020325114024.jhb>