RE: About rebuild 2.4.x kernel to support SMP.

From: Vivek Dasmohapatra (
Date: Thu Apr 26 2001 - 11:41:07 EST

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 strace -v of uname:

       version="#9 Wed Jan 3 13:48:37 GMT 2001",
       machine="i686"}) = 0

> 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.

You can [and may] use uname to get the kernel version string. I am less
certain about the exact layout of the module tree under 2.4.3.

I dunno about the Big Bang. The Big Kludge I can believe in.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:15 EST