From owner-freebsd-questions@FreeBSD.ORG Fri Jul 22 09:10:40 2005 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 9635116A421 for ; Fri, 22 Jul 2005 09:10:40 +0000 (GMT) (envelope-from "cyb."@gmx.net) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 357AD43D64 for ; Fri, 22 Jul 2005 09:10:27 +0000 (GMT) (envelope-from "cyb."@gmx.net) Received: (qmail invoked by alias); 22 Jul 2005 09:10:26 -0000 Received: from pD952E606.dip0.t-ipconnect.de (EHLO p4-3200.local) [217.82.230.6] by mail.gmx.net (mp011) with SMTP; 22 Jul 2005 11:10:26 +0200 X-Authenticated: #4870692 From: Andreas Rudisch To: Lei Sun In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1NdqRH8C6T/vRsDDZDXX" Date: Fri, 22 Jul 2005 11:10:24 +0200 Message-Id: <1122023424.525.1.camel@p4-3200.local> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org Subject: Re: only see cpu0 working after rebuilding kernel with SMP support 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: Fri, 22 Jul 2005 09:10:40 -0000 --=-1NdqRH8C6T/vRsDDZDXX Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2005-07-22 at 00:12 -0700, Lei Sun wrote: > Hi, > I wanted to enable the second logical CPU on my P4 HT. and... > Something seems to be strange to me as: >=20 > All of the processes are running with CPU0 and none is working with CPU1 > Here is the steps and places I read and followed >=20 > 1. I followed the custom kernel documents from > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-bu= ilding.html > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-co= nfig.html > http://www.freebsddiary.org/smp.php >=20 > and compiled the custom kernel >=20 > and my kernel config: > ------------------------------------------------- > ... > options SMP > device apic # I/O APIC > ... > ------------------------------------------------- >=20 > 2. Then I compiled the custom kernel, and installed it >=20 > 3. I check the startup output, and found > SMP: AP CPU #1 Launched! >=20 > So my question is, how come in top, only cpu0 is working, and no entry fo= r cpu1? >=20 > Thanks in advance:) >=20 > Lei Take a look at this: ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc Andreas. --=20 GnuPG key : 0xD25FCC81 | http://cyb.websimplex.de/pubkey.asc Fingerprint: D182 6F22 7EEC DD4C 0F6E 564C 691B 0372 D25F CC81 --=-1NdqRH8C6T/vRsDDZDXX Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC4LgAaRsDctJfzIERAtX8AJ9fJBbODWbOxymKEFeHNpULtUrecACfYsWG IcmXfXCmO9ZpgCxDOlOwQWc= =zfk/ -----END PGP SIGNATURE----- --=-1NdqRH8C6T/vRsDDZDXX--