when you install redhat linux, you can select to install the
kernel-include and kernel-source
but I think the kernel include files come with redhat7 (i am not sure
about rh6) won't let you to compile a kernel module by using
/usr/include/linux (they ask you to use /usr/src/linux-xxx)
you can dnl
I have a important question about compile driver here, sometimes we install
RedHat Linux
When you boot the system , it will not include the kernel source, if we
don't have kernel source ,
whether can we compile the driver (NIC).
I am confused, beacuse we need include many kernel header file, if yo
<[EMAIL PROTECTED]> 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 buil
Yiping Chen <[EMAIL PROTECTED]> writes:
>
> So, I have two question now,
> 1. how to determine whether your kernel support SMP?
Type "uname -a", as you did before:
> Linux lab5-1 2.4.2-2 #1 SMP Wed Apr 25 18:56:05 CST 2001 i686 unknown
^^^
SMP appears here i
It seems to me that you never installed the new kernel. Try 'make install'
or manually cp'ing the vmlinuz and system.map yourself.
On approximately Thu, Apr 26, 2001 at 10:59:44PM +0800, Yiping Chen wrote:
>
> I know it's not proper ask such question here. But I don't know where can I
> post th
On Fri, 27 Apr 2001, Yiping Chen wrote:
> Where the uname command extract the kernel version information(eg:
> 2.4.2-2smp or 2.2.16)?
uname [the shell command] is a wrapper around the uname system call:
man 1 uname
man 2 uname
> I means from which file, or use which system call?
>From a stra
27, 2001 12:03 AM
To: Yiping Chen
Cc: 'Vivek Dasmohapatra'; '[EMAIL PROTECTED]'
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?
Vivek Dasmohapatra <[EMAIL PROTECTED]> writes:
> /proc/stat will contain n cpuN lines, where n is the number of processors
> in your box, I think, or no such lines [just a cpu line] on a UP box.
No, I see
cpu 830711 916 708342 3323709
cpu0 830711 916 708342 3323709
and
# CONFIG_SMP is not
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 sm
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.
Try:
cat /proc/stat
or
cat /proc/cpuinfo
/proc/cpuinfo should contain 1
process
this time, when I rebuild kernel
2.4.2-2 , it didn't appear.
Why?
Anyway, thanks for Vivek's answer.
-Original Message-
From: Vivek Dasmohapatra [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 11:20 PM
To: Yiping Chen
Cc: '[EMAIL PROTECTED]'
Subject: Re:
On Thu, 26 Apr 2001, Yiping Chen wrote:
> My question is why the result of 'uname -r' is not "2.4.2-2smp" , but
> "2.4.2-2"
This is just the label as defined by the entries in the top-level
Makefile, eg:
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 3
EXTRAVERSION = -ac5
> Whether I forgot to do somet
I know it's not proper ask such question here. But I don't know where can I
post this question.
I download RedHat 7.1 last week, and install it in my dual-CPU enviroment.
I try to rebuild kernel that support SMP in kernel 2.4.2 today , but it
failed.
The following is what I did.
=
13 matches
Mail list logo