only see cpu0 working after rebuilding kernel with SMP support

Andreas Rudisch cyb. at gmx.net
Fri Jul 22 09:10:40 GMT 2005


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:
> 
> All of the processes are running with CPU0 and none is working with CPU1

> Here is the steps and places I read and followed
> 
> 1. I followed the custom kernel documents from
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
> http://www.freebsddiary.org/smp.php
> 
> and compiled the custom kernel
> 
> and my kernel config:
> -------------------------------------------------
> ...
> options         SMP
> device          apic                    # I/O APIC
> ...
> -------------------------------------------------
> 
> 2. Then I compiled the custom kernel, and installed it
> 
> 3. I check the startup output, and found
> SMP: AP CPU #1 Launched!
> 
> So my question is, how come in top, only cpu0 is working, and no entry for cpu1?
> 
> Thanks in advance:)
> 
> Lei


Take a look at this:

ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc

Andreas.

-- 
GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050722/b1fde83d/attachment.bin


More information about the freebsd-questions mailing list