From owner-freebsd-questions@FreeBSD.ORG Sat May 21 06:35:34 2005 Return-Path: Delivered-To: freebsd-questions@www.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E4D116A4CE for ; Sat, 21 May 2005 06:35:34 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id A66B143D62 for ; Sat, 21 May 2005 06:35:33 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5079A5144F; Fri, 20 May 2005 23:35:33 -0700 (PDT) Date: Fri, 20 May 2005 23:35:33 -0700 From: Kris Kennaway To: Goran Gajic Message-ID: <20050521063533.GA51798@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@www.freebsd.org Subject: Re: DDB X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2005 06:35:34 -0000 --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 20, 2005 at 11:30:26PM +0200, Goran Gajic wrote: >=20 >=20 > I have compiled my kernel with options SMP and with following > options in hope that I will be able to drop into debuuger > after fatal trap 12 (FreeBSD-5.4-STABLE). I have added following > lines to my config: >=20 > options KDB > options KDB_TRACE > options DDB >=20 > Although dmesg | grep SMP says > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > SMP: AP CPU #3 Launched! > SMP: AP CPU #1 Launched! > SMP: AP CPU #2 Launched! >=20 > top shows that processes are running only on CPU's 0 and 2. > systat also shows: >=20 > root idle: cpu0 XXXXXXXXXXXXXXXXXXX > nobody squid XXXXXXXXXXXXXXXXXX > root idle: cpu2 XXXXXXXXXXX > root swi1: net X >=20 >=20 > Is this normal, or am I missing something? Do you really have 4 CPUs, or 2 CPUs with hyperthreading, which is now disabled by default (see the recent security advisory)? Kris --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCjta0Wry0BWjoQKURAqlLAJ9HW/XVPVwwAiErLoiavNnucUmj1ACfSWZd SdXu/0H2UzrOlqnRMsPihBs= =eW9+ -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--