Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2005 23:35:33 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Goran Gajic <ggajic@sbb.co.yu>
Cc:        freebsd-questions@www.freebsd.org
Subject:   Re: DDB
Message-ID:  <20050521063533.GA51798@xor.obsecurity.org>
In-Reply-To: <Pine.BSF.4.62.0505202329450.2797@mail.sbb.co.yu>
References:  <Pine.BSF.4.62.0505202329450.2797@mail.sbb.co.yu>

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

--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--



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