Hey all, I have been trying to recompile my kernel to add netfilter support, but I am confused. I have tried this with the 2.4.0 kernel that comes with SuSE 7.1 Professional, and also with the 2.4.9 kernel I pulled from www.kernel.org. When I run a "uname -r" on my box right now (running the kernel that SuSE built), I get back the following: 2.4.0-64GB-SMP When I recompile the kernel, I choose the 4GB option for memory support, and SMP (its a dual CPU box). I also went through and trimmed out all of the crap I didn't think was required... I wanted to go with the 2.4.9 kernel, so I'll elaborate on that one. The machine boots fine. modprobe complains a few times because I didn't compile in sound card support (it was killing the compile, so I figured I'd deal with it later), but the box came up great. However, when I run a "uname -r" it returns the following: 2.4.9 If I run a top on the box, both CPU's are present and being used. I don't understand. I would have expected the "uname -r" to return "2.4.9-4GB-SMP". Is there a place I am supposed to specify this, or should it be automatic? Thanks for any information! Joseph Hobbs Compaq Web Services / GEAE Team Backup Team Lead Tier II/III Web Support Joseph.Hobbs@ae.ge.com hobbsj@somecrazyfool.com
Hi, Normally (that is, when using the vanilla kernel source), only the version number is shown by uname -r. Probably, your configuration is perfectly alright. The SuSE kernels are patched. In the SuSE-2.4.7 kernel source tree I found the following: tim@gaia:/usr/src > grep -r '2.4.7-4GB' linux-2.4.7.SuSE linux-2.4.7.SuSE/.kversion:2.4.7-4GB linux-2.4.7.SuSE/include/linux/version.h:#define UTS_RELEASE "2.4.7-4GB" Apparently, one of these files determines the file version as reported by uname after building. Tim On Sat, Sep 15, 2001 at 11:24:36AM -0400, Joseph Hobbs wrote:
When I run a "uname -r" on my box right now (running the kernel that SuSE built), I get back the following:
2.4.0-64GB-SMP
When I recompile the kernel, I choose the 4GB option for memory support, and SMP (its a dual CPU box). I also went through and trimmed out all of the crap I didn't think was required... I wanted to go with the 2.4.9 kernel, so I'll elaborate on that one.
The machine boots fine. modprobe complains a few times because I didn't compile in sound card support (it was killing the compile, so I figured I'd deal with it later), but the box came up great. However, when I run a "uname -r" it returns the following:
2.4.9
If I run a top on the box, both CPU's are present and being used. I don't understand. I would have expected the "uname -r" to return "2.4.9-4GB-SMP". Is there a place I am supposed to specify this, or should it be automatic?
participants (2)
-
Joseph Hobbs
-
Tim van Venrooij