Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 1998 19:18:40 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        patton@sysnet.net (Matthew Patton)
Cc:        freebsd-smp@FreeBSD.ORG
Subject:   Re: determining SMP
Message-ID:  <199807040118.TAA21461@panzer.plutotech.com>
In-Reply-To: <l03110713b1c1d4042e3f@[192.168.1.10]> from Matthew Patton at "Jul 2, 98 08:27:34 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Patton wrote...
> How do I determine if my rebuilt kernel really is seeing 2 CPUs?
> I'm working off of 2.2.6 sources and defined
> 	options SMP
> 	options APIC_IO
> per http://www.freebsd.org/~fsmp/SMP/getstarted.html
> 
> dmesg says:
> CPU: Pentium Pro (231.78-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x619  Stepping=9
> 
> Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
r
> eal memory  = 134217728 (131072K bytes)
> avail memory = 129691648 (126652K bytes)
> 
> >From reading the archives I take it that SMP support has been around for
> quite some time and is not limited to 3.0. Am I correct?

	You are right that it has been around for a long time.  SMP is
limited to 3.0-current, so your 2.2.6 kernel doesn't support SMP.  You'll
know SMP is working when you get something like this upon booting a SMP
-current kernel:

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Sat Jun 27 19:50:55 MDT 1998
    ken@panzer.plutotech.com:/usr/home/ken/perforce/cam/sys/compile/panzer
Timecounter "i8254"  frequency 1193182 Hz  cost 3532 ns
CPU: Pentium Pro (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x617  Stepping=7
Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 134217728 (131072K bytes)
avail memory = 127840256 (124844K bytes)
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000

[ ... ]

IP packet filtering initialized, divert enabled, logging limited to 100 packets/entry
SMP: AP CPU #1 Launched!


> BTW, anyone know how to get sources via CVS? I'm having a devil of a time
> with anoncvs.freebsd.org. The error says:
> % cvs -d anoncvs@anoncvs.freebsd.org:/cvs up .
> select: protocol failure in circuit setup
> cvs [update aborted]: end of file from server (consult above messages if any)

	I would suggest using cvsup, my guess is that it'll be faster than
anoncvs.

Ken
-- 
Kenneth Merry
ken@plutotech.com

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?199807040118.TAA21461>