Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jul 2005 09:17:03 +0200
From:      Mathieu CHATEAU <gollum123@free.fr>
To:        Lei Sun <lei.sun@gmail.com>
Cc:        Andreas Rudisch <"cyb."@gmx.net>, freebsd-questions@freebsd.org
Subject:   Re[2]: only see cpu0 working after rebuilding kernel with SMP support
Message-ID:  <43436185.20050723091703@free.fr>
In-Reply-To: <d396fddf05072211156e8bd7f3@mail.gmail.com>
References:  <d396fddf05072200121b068cd9@mail.gmail.com> <1122023424.525.1.camel@p4-3200.local> <d396fddf05072209474d9c7314@mail.gmail.com> <d396fddf05072211156e8bd7f3@mail.gmail.com>

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

it's working out great now !
thanks :)
=1 was missing in the previous post


Friday, July 22, 2005, 8:15:50 PM, you wrote:

LS> This thread helped

LS> http://archives.neohapsis.com/archives/freebsd/2005-05/0037.html


LS> On 7/22/05, Lei Sun <lei.sun@gmail.com> wrote:
>> Yes, I read that security advisory as well, and I see
>> 
>> -----------------------
>> NOTE:  For users that are certain that their environment is not affected
>> by this vulnerability, such as single-user systems, Hyper-Threading
>> Technology may be re-enabled by setting the tunable
>> "machdep.hyperthreading_allowed".
>> -----------------------
>> 
>> so I "echo "machdep.hyperthreading_allowed" >> /boot/load.conf", then reboot.
>> 
>> But still only 1 CPU is running.
>> 
>> Thanks in advance :)
>> 
>> Lei
>> 
>> On 7/22/05, Andreas Rudisch <"cyb."@gmx.net> wrote:
>> > 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
>> >
>> >
>> >
>> >
>> >
>> > -----BEGIN PGP SIGNATURE-----
>> > Version: GnuPG v1.4.1 (FreeBSD)
>> >
>> > iD8DBQBC4LgAaRsDctJfzIERAtX8AJ9fJBbODWbOxymKEFeHNpULtUrecACfYsWG
>> > IcmXfXCmO9ZpgCxDOlOwQWc=
>> > =zfk/
>> > -----END PGP SIGNATURE-----
>> >
>> >
>> >
>>
LS> _______________________________________________
LS> freebsd-questions@freebsd.org mailing list
LS> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
LS> To unsubscribe, send any mail to
LS> "freebsd-questions-unsubscribe@freebsd.org"



-- 
Best regards,
 Mathieu                            mailto:gollum123@free.fr




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