On Sun, 18 Apr 2004, Lars Ellenberg wrote:
To: suse-security@suse.com From: Lars Ellenberg <l.g.e@web.de> Subject: Re: [suse-security] Kernel source not matching kernel update
This is a guess only, and it may or may not work, but probably the symlink /lib/modules/`uname -r`/build , which is most likely /lib/modules/2.4.21-203-default/build points to /usr/src/linux-2.4.21-203-include or something. you could try to force a symlink to the right kernel headers/kernel source here: ln -sf /usr/src/linux /lib/modules/`uname -r`/build and try again.
assuming that -201 and -203 are basically only different builds and not something actually changed in the kernel sources, this should work well.
Thanks Lars. Got it working now! The problem was make did NOT like different version names in the source code and the compiled version. Only doing it's job properly anyway! In /usr/src/ I copied kernel source code linux-2.4.21-201 to -203. Copied kernel include code linux-2.4.21-201-include to -203. delete the old symlinks to -201 patch. made 2 new symlinks to the -203 files. linux -> linux-2.4.21-203 linux-include -> linux-2.4.21-203-include Then continued as normal. Then in /usr/src/linux I did: make cloneconfig && make dep Then I changed to the NVIDIA installer directory, and compiled the nvidia driver using the nvidia-installer - which worked ok. Then cd'ed to NVIDIA-Linux-x86-1.0-5336/usr/src/nv and did: make install depmod -a And that was it compiled and installed ok. FYI, if you use the nvidia-installer WITHOUT running the last 2 commands, the GLX module will not be installed. This will leave you with a partly completed unstable installation, and cause weird control characters to be written to the VDU, and hang your system. I don't quite understand why the nvidia installer does not finish the job properly. Anyway, thanks for your help Lars. Kind Regards - Keith Roberts