SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I will quote the relevant text from that post, for those using search engines:
Quote:
Originally Posted by agx
I will assume that you have the 2.6.17.13-smp kernel and modules installed.
Boot into your 2.6.17.13-smp system.
Log in as root, and install the 2.6.17.13 source package from /extra.
Following Pat's instructions from the README, copy the SMP config file: cd /usr/src/linux-2.6.17.13 cp /boot/config-generic-smp-2.6.17.13 ./.config
Again following Pat's instructions, re-configure the source for SMP: make oldconfig
Now, just for laughs, take a look at include/linux/version.h: cat include/linux/version.h
Notice the first line:
#define UTS_RELEASE "2.6.17.13"
That's wrong - it needs updating: make include/linux/version.h
The output of that last command should be:
CHK include/linux/version.h
UPD include/linux/version.h
Look what happened: cat include/linux/version.h
Notice the first line:
#define UTS_RELEASE "2.6.17.13-smp"
Now that the release version string is correct, the nvidia installer will work. Your module actually compiled OK, it just wouldn't load because of the errant UTS_RELEASE string.
EDIT: You don't need the 2.6.17.13 headers installed. The headers are irrelevant, as the NVidia installer doesn't use them - since it's building a kernel module, it uses the kernel's source code directly. As others here have mentioned, it's a very good idea to keep the 2.4.33 headers in place unless you really know what you're doing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.