DDB

Kris Kennaway kris at obsecurity.org
Fri May 20 23:35:34 PDT 2005


On Fri, May 20, 2005 at 11:30:26PM +0200, Goran Gajic wrote:
> 
> 
> 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:
> 
> options         KDB
> options         KDB_TRACE
> options         DDB
> 
> 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!
> 
> top shows that processes are running only on CPU's 0 and 2.
> systat also shows:
> 
> root     idle: cpu0 XXXXXXXXXXXXXXXXXXX
> nobody        squid XXXXXXXXXXXXXXXXXX
> root     idle: cpu2 XXXXXXXXXXX
> root      swi1: net X
> 
> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050520/930ef6f9/attachment.bin


More information about the freebsd-questions mailing list