From: Yiping Chen <YipingChen@via.com.tw>
To: "'kernel@kvack.org'" <kernel@kvack.org>,
Yiping Chen <YipingChen@via.com.tw>
Cc: "'Vivek Dasmohapatra'" <vivek@etla.org>,
"'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: RE: About rebuild 2.4.x kernel to support SMP.
Date: Fri, 27 Apr 2001 00:24:01 +0800 [thread overview]
Message-ID: <611C3E2A972ED41196EF0050DA92E0760265D56C@EXCHANGE2> (raw)
Thanks for your reply.
I am interested in where can find the linux kernel spec. file, and where Red
Hat add the smp string?
Where the uname command extract the kernel version information(eg:
2.4.2-2smp or 2.2.16)?
I means from which file, or use which system call?
I am a linux driver writer, and I am writing Makefile now. I hope the
Makefile can install driver
to the correct directory automatically (user run 'make install').
The linux driver modules always put in /lib/modules/<kernel_version>/...
before (in kernel 2.2.16),
but in kernel 2.4.x, the path change to
/lib/modules/<kernel_version>/kernel/drivers/...
I don't know where to get the kernel_version information. I need some help.
Thanks!!
may I use uname? I worry that the driver will install to incorrect path, and
user will complain it.
thanks!!
-----Original Message-----
From: kernel@kvack.org [mailto:kernel@kvack.org]
Sent: Friday, April 27, 2001 12:03 AM
To: Yiping Chen
Cc: 'Vivek Dasmohapatra'; 'linux-kernel@vger.kernel.org'
Subject: RE: About rebuild 2.4.x kernel to support SMP.
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.
> 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__.
-ben
next reply other threads:[~2001-04-26 16:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-26 16:24 Yiping Chen [this message]
2001-04-26 16:41 ` Vivek Dasmohapatra
-- 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 15:36 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
2001-04-27 6:02 ` Kevin Buhr
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=611C3E2A972ED41196EF0050DA92E0760265D56C@EXCHANGE2 \
--to=yipingchen@via.com.tw \
--cc=kernel@kvack.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vivek@etla.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
all inboxes | Powered by JetHome®