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 cannot compile the NVIDIA-Linux-x86-190.53-pkg1 against kernel 2.6.33. It does compile against 2.6.32.9. Here is what I get when attempting to compile against 2.6.33:
Code:
./nvidia-kernel.SlackBuild
Creating directory NVIDIA-Linux-x86-190.53-pkg1
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 190.53............................................................................................................................................................................................................................................................................................................
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.
If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.
Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
*** Unable to determine the target kernel version. ***
make: *** [select_makefile] Error 1
sh-3.1#
I use the nvidia-kernel.slackbuild script from slackbuilds.org. I have set the KERNEPATH variable to /lib/modules/2.6.33-mai/build and I do have such a directory on the system, I copied the kernel sources there:
Code:
sh-3.1# ls /lib/modules/2.6.33-mai/build
COPYING Module.symvers crypto ipc net usr
CREDITS README drivers kernel samples virt
Documentation REPORTING-BUGS firmware lib scripts vmlinux
Kbuild System.map fs mm security vmlinux.o
MAINTAINERS arch include modules.builtin sound
Makefile block init modules.order tools
sh-3.1#
This is because some header files are in different directories in the new kernel tree (autoconf.h being one of them).
If you want to compile the nvidia kernel module use this patch
This is because some header files are in different directories in the new kernel tree (autoconf.h being one of them).
If you want to compile the nvidia kernel module use this patch
Regards
Thank you very much for your reply.
Unfortunately this didn't work. There was an API version mismatch error.
Maybe I should wait until they release an nvidia driver version compatible with the 2.6.33 kernel version.
It works for me with NVIDIA-Linux-x86-190.53-pkg1.run driver (32bit). I'm using it since 2.6.33-rc7. Maybe it's because of the slackbuild.
Anyway if you want to use the Nvidia driver and not the slackbuild, you have to do this:
Code:
sh NVIDIA-Linux-x86-190.53-pkg1.run --extract-only
cd NVIDIA-Linux-x86-190.53-pkg1
patch -p0 < /path/to/nvidia-betasam-2.6.33.patch.txt
./nvidia-installer
It works for me with NVIDIA-Linux-x86-190.53-pkg1.run driver (32bit). I'm using it since 2.6.33-rc7. Maybe it's because of the slackbuild.
Anyway if you want to use the Nvidia driver and not the slackbuild, you have to do this:
Code:
sh NVIDIA-Linux-x86-190.53-pkg1.run --extract-only
cd NVIDIA-Linux-x86-190.53-pkg1
patch -p0 < /path/to/nvidia-betasam-2.6.33.patch.txt
./nvidia-installer
Dear bathory,
I solved the problem. I had forgotten to update the nvidia-driver package.
Now I have 190.53 and 2.6.33 working together. Thank you!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.