Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

redhat 7.2 - problem upgrading from kernel 2.4.7-10

Francisco Mancardi_1
Frequent Advisor

redhat 7.2 - problem upgrading from kernel 2.4.7-10

This is part 2 of my problem that began
with the question about memory problems.

I've downloaded and installed the rpm (see attachment).
Boot OK, but when I try to build VMWARE workstation, the script complain about not
finding the includes.

Then I've tried to find the sources
for 2.4.20-24.7, but was impossible.
I've downloaded 2.4.20 from

The vmware script continues to complain
now because it can't find version.h

I've tried:
1. copy from boot the configfile for the new kernel
2. make dep -> failed: no asm dir
3. I've created a link asm
4. make dep -> failed again
with a message abou no rule to make target autoconf

Any hint ?

best regards

Mark Grant
Honored Contributor

Re: redhat 7.2 - problem upgrading from kernel 2.4.7-10

Your problem is probably that vmware needs to find the kernel header files to build the modules it needs.

I don't think you need to install a new kernel or anything like that. Just have the kernel sources somewhere. It is possible that vmware just can't find where your header files are but it does actually ask you where they are. Normall, of course, they would be in /usr/src/linux/include but I imagine Red Hat would put them somewhere else.

Make sure that you have installed the kernel sources though!
Never preceed any demonstration with anything more predictive than "watch this"
Honored Contributor

Re: redhat 7.2 - problem upgrading from kernel 2.4.7-10

On Redhat 2.4.20-27.9 on wich I have the kernel source install I find many version.h but only two valid candidates.

and in

I found these with

#locate version.h | grep "/version.h"

in /usr/src/linux-2.4 there is a softlink to current kernel version "in my case 2.4.20-27.9"

I did a diff between the two files and found the following

diff /usr/include/linux/version.h /usr/src/linux-2.4.20-27.9/include/linux/version.h
< #define UTS_RELEASE "2.4.20"
> #include
> #if defined(__module__smp)
> #define UTS_RELEASE "2.4.20-27.9smp"
> #elif defined(__module__BOOT)
> #define UTS_RELEASE "2.4.20-27.9BOOT"
> #elif defined(__module__bigmem)
> #define UTS_RELEASE "2.4.20-27.9bigmem"
> #else
> #define UTS_RELEASE "2.4.20-27.9"
> #endif

I haven install VMWARE on this system so can not confirm that my system would be more succesfull, but I am hoping that this could somehow help you out ... in any case it answers Mark question ..

Smile I will feel the difference
Honored Contributor

Re: redhat 7.2 - problem upgrading from kernel 2.4.7-10

I should also have added the following

# rpm -ql kernel-source-2.4.20-27.9 | grep "version.h"

The above show me the version.h found in the rpm kernel-source that is installed on my system.

J-P (0 point for this added to... and may I added Happy new year to you lot !)

Smile I will feel the difference
Francisco Mancardi_1
Frequent Advisor

Re: redhat 7.2 - problem upgrading from kernel 2.4.7-10

Hi: there are news.
using red hat network I've downloaded
and installed:



I've not found -source-*.i686

reboot OK

now failed with this

the kernel defined by this directory
of header files is uniprocessor,
while your running kernel is multiprocessor.

anyone knows what include file i need
to modify ?

best regards
Trusted Contributor

Re: redhat 7.2 - problem upgrading from kernel 2.4.7-10

1) Looks like your running the SMP kernel, you can check this by typing -> uname -a. Vmware is trying to compile for a uniprocessor kernel.

2) If your you have a single processor machine, you might have a option at bootup to load the uniprocessor kernel.. If not, you have to modify your /etc/lilo.conf or /etc/grub file depending on your loader.

3) if you have a dual processor machine, you need to specify the correct directory when VMware looks for the C header files. it should be something like /usr/src/

hopefully this helps..
Steven E. Protter
Exalted Contributor

Re: redhat 7.2 - problem upgrading from kernel 2.4.7-10

You should probably get your kernels from Red HAt's update function. It should not make a difference, but readhats update program handles certain details correctly that you may have missed.

Try it that way and report back.

Steven E Protter
Owner of ISN Corporation
Martin P.J. Zinser
Honored Contributor

Re: redhat 7.2 - problem upgrading from kernel 2.4.7-10



is the source tree you need. The 686 for the build kernel is just a matter of compiler optimisations and maybe a config variable, but not an issue of the source itself.

Most probably your problem is that the source has been unpack to /usr/src/linux-2.4.20xx.
Make /usr/src/linux a link pointing to this and you should be fine.

Greetings, Martin