From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20788 invoked from network); 8 Sep 1999 21:23:25 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Sep 1999 21:23:25 -0000 Received: from batch3.csd.uwm.edu (root@batch3.csd.uwm.edu [129.89.7.226]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA15324 for ; Wed, 8 Sep 1999 17:23:25 -0400 Received: from alpha2.csd.uwm.edu (zlash@alpha2.csd.uwm.edu [129.89.169.2]) by batch3.csd.uwm.edu (8.8.4/8.6.8) with ESMTP id QAA06055 for ; Wed, 8 Sep 1999 16:23:20 -0500 (CDT) Received: (zlash@localhost) by alpha2.csd.uwm.edu (8.8.4/8.6.8) id QAA07647 for axp-list@redhat.com; Wed, 8 Sep 1999 16:23:20 -0500 (CDT) Date: Wed, 8 Sep 1999 16:23:20 -0500 From: Suyudi Koeswanto To: axp-list@redhat.com Subject: Re: get_nprocs() returns 0 (number of CPUs) Message-ID: <19990908162320.A26723@alpha2.csd.uwm.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: ; from Eran Guendelman on Wed, Sep 08, 1999 at 04:31:37PM -0400 On Wed, Sep 08, 1999 at 04:31:37PM -0400, Eran Guendelman wrote: > > I didn't compile the kernel. I'm using whichever one came with the Red > Hat distribution. How do I find out if it was compiled with CONFIG_SMP=y? > In general, how do I find out the options the kernel was compiled with, > because if I have to recompile it I want to make sure I only change > this specific setting. > Install the kernel-smp (i forgot the exact rpm package name but it's on the redhat cd, just do ls kernel* on RPMS directory on the CD) package. And then make the links on /boot directory points to the smp kernel (After you install the package, it will put the kernel and system map in /boot). And if you boot from /vmlinux.gz then just copy the one on /boot to /. I think the default from redhat is not SMP. But i could be wrong. Hope that helps. u!d ------------------------------------------------