public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Johan Kullstam" <kullstam@ne.mediaone.net>
To: linux-kernel@vger.kernel.org
Subject: Re: About rebuild 2.4.x kernel to support SMP.
Date: 27 Apr 2001 07:27:31 -0400	[thread overview]
Message-ID: <m2u23ashuk.fsf@euler.axel.nom> (raw)
In-Reply-To: <Pine.LNX.3.96.1010426120128.28828A-100000@kanga.kvack.org>
In-Reply-To: <Pine.LNX.3.96.1010426120128.28828A-100000@kanga.kvack.org>

<kernel@kvack.org> writes:

> On Thu, 26 Apr 2001, Yiping Chen wrote:
> 
> > So, I have two question now, 
> > 1. how to determine whether your kernel support SMP?
> >     Somebody taugh me that you can type  "uname -r", but it seems not
> > correct.
> 
> No, it's correct: the Red Hat RPM is build from the kernel.spec file which
> adds the smp string to the version.

"uname -a" will show SMP status.

euler(jk)$ uname -a
Linux euler.axel.nom 2.4.4-pre5 #1 SMP Thu Apr 19 19:20:40 EDT 2001 i686 unknown

this is on a redhat system, but i think it will work on any linux
system.

> > 2. I remember in 2.2.x, when I rebuild the kernel which support SMP, the
> > compile
> >     argument will include -D__SMP__ , but this time, when I rebuild kernel
> > 2.4.2-2 , it didn't  appear.
> >     Why? 
> 
> Because you've made an assumption that holds no value.  2.4 kernels rely
> on CONFIG_SMP instead of __SMP__.

it's probably easiest to download the latest kernel (2.4.3 at the time
of this writing) from ftp.XX.kernel.org (XX being your country code).
then configure using "make xconfig" or "make menuconfig".  choose SMP
in one of the first menus.  there's a kernel-howto which explains this
stuff.  btw there is no problem running your own kernels on a redhat
system bypassing rpm.

in a source tree in which you've compiled SMP and want UP or
vice-versa, i think to do a "make distclean" in between switching.

-- 
J o h a n  K u l l s t a m
[kullstam@ne.mediaone.net]
Don't Fear the Penguin!

  reply	other threads:[~2001-04-27 11:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-26 15:36 About rebuild 2.4.x kernel to support SMP Yiping Chen
2001-04-26 15:48 ` Vivek Dasmohapatra
2001-04-26 16:11   ` Alan Shutko
2001-04-26 16:03 ` kernel
2001-04-27 11:27   ` Johan Kullstam [this message]
2001-04-27  6:02 ` Kevin Buhr
  -- strict thread matches above, loose matches on Subject: below --
2001-04-27 11:53 Yiping Chen
2001-04-27 13:01 ` Feng Xian
2001-04-26 16:24 Yiping Chen
2001-04-26 16:41 ` Vivek Dasmohapatra
2001-04-26 14:59 Yiping Chen
2001-04-26 15:20 ` Vivek Dasmohapatra
2001-04-26 20:16 ` Josh McKinney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2u23ashuk.fsf@euler.axel.nom \
    --to=kullstam@ne.mediaone.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox