From owner-freebsd-questions@FreeBSD.ORG Wed Jun 21 03:51:53 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED12A16A479 for ; Wed, 21 Jun 2006 03:51:53 +0000 (UTC) (envelope-from dennyboy@cableone.net) Received: from S1.cableone.net (s1.cableone.net [24.116.0.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B20443D48 for ; Wed, 21 Jun 2006 03:51:53 +0000 (GMT) (envelope-from dennyboy@cableone.net) Received: from badboybox.cableone.net (unverified [69.92.6.58]) by S1.cableone.net (CableOne SMTP Service S1) with ESMTP id 63634052 for ; Tue, 20 Jun 2006 20:52:21 -0700 Date: Tue, 20 Jun 2006 22:51:46 -0500 (CDT) From: Denny White To: FreeBSD Questions In-Reply-To: <0578D634449883E0B7478DE4@Paul-Schmehls-Computer.local> Message-ID: References: <1150853032.16507.1.camel@localhost> <0578D634449883E0B7478DE4@Paul-Schmehls-Computer.local> X-GPG-PUBLIC_KEY: http//wwwkeys.nl.pgp.net X-GPG-FINGERPRINT: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-NotAscii: charset=us-ascii; X-IP-stats: Incoming Last 0, First 43, in=37, out=0, spam=0 X-External-IP: 69.92.6.58 X-Abuse-Info: Send abuse complaints to abuse@cableone.net Subject: Re: FreeBSD smp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 03:51:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > --On June 20, 2006 10:23:52 PM -0300 Sergio Lenzi wrote: > >> Hello, >> >> Is SMP enabled in the GENERIC kernel? I have a hyperthreading box, and >> on >> Linux it shows up with two cpus. When I do a top on the box in FreeBSD I >> still >> see only one CPU. Also, sysctl -a | grep cpu only shows a dev.cpu.0. >> Today Paul Schmehl wrote: > No, SMP is not enabled in the GENERIC kernel. You must add: > options SMP > to the GENERIC kernel. > > Paul Schmehl (pauls@utdallas.edu) > Adjunct Information Security Officer > The University of Texas at Dallas > http://www.utdallas.edu/ir/security/ > Okay, might be off base here, so someone correct me if I'm wrong. Don't you also have to remove the following #ifdef SMP #ifndef COMPILING_LINT #error DEVICE_POLLING is not compatible with SMP #endif #endif from /usr/src/sys/kern/kern_poll.c ? You'll get an error part of the way through building the kernel otherwise, right? Like I said, that's the way I remember it. Just trying to save someone some unnecessary work. GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (OpenBSD) iD8DBQFEmMJYy0Ty5RZE55oRAopwAKCDQTIJ/FtluG1Z8Oyg39aCktGzEACeJAn/ S91I6mzUdiq20//umC0+/xI= =EWQS -----END PGP SIGNATURE-----