I just got RedHat 7.3 for my Pentium4 PC, but I've been struggling for over week to get X windows up and running. I've surfed the web including these forums and I've found other people with the very same problem I'm having, but what worked for them isn't working for me (or just as likely, I don't know what I'm doing).
The problem is I can't get the NVIDIA driver to install properly. Instead, I get the dreaded
(EE) NVIDIA(0): Failed to initialize the NVdriver kernel module!
(EE) NVIDIA(0): *** Aborting ***
message. I understand from the directions this means I must build the driver under my current kernel (2.4.18-3) so I got the source rpm's and tried to build the kernel first:
rpm -rebuild NVIDIA_kernel-1.0-3123.src.rpm
but the build fails because some header files are missing, I get errors like, e.g.
In file included from /usr/include/linux/timex.h:152
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
The files it couldn't find were indeed missing so I tried to rebuild the kernel source that came on my redhat CD, and that did leave the proper files in
I then tried to install the NVIDIA kernel from a tar file using
make install SYSINCLUDE=/usr/src/redhat/BUILD/kernel-2.4.18/linux/include
but now the make fails because it tries to include a bunch of .ver files and comes back with error messages like:
/usr/src/redhat/BUILD/kernel-2.4.18/linux/modversions.h:4:36: linux/modules/53c700.ver: No such file or directory
At this point I feel like I'm in way over my head given how little I know. What I'm doing seems too complicated and I think I'm chasing red herrings all over the place. Does someone out there known what I should do to get the driver to compile without running into problems with missing header files? Many thanks in advance...