another thread about 3d Hardware acceleration wih NVIDIA
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
unable to find the kernel header files for the currently running kernel. Please make sure you have installed the kernel header files for your kernel; on red hat linux systems, for example, be sure you have the 'kernel-source' rpm installed. If you know the correct kernel header files are installed, you may specify the kernel inlude path with the '--kernel-include-path command line option
You're trying to compile the kernel?
Shouldn't need to do that.Just install the kernel sources rpm from Suse for the kernel you got - don't compile anything.
You can find out the version of the kernel with uname -a
Last edited by crashmeister; 10-02-2003 at 09:28 AM.
I am downloading Suse right now.This seems like too much fun to miss but it's going real slow.Check if there is a rpm that calls itself something like 'kernel-headers'.Those are seperate with some distros.
I'm pretty impressed with SuSE. It's my first introduction to Linux (1month ago) & I'm not particularly computer literate. Got an old machine & tried it out without touching the laptop I do my work on.
It would be nice to get the 3D hardware accleration working. Maybe I will give up and try again with suse 9.0 which will come out in 3 wks time. Maybe it'll be easier then..........
the suse instructions say "Kernel sources must be installed and configured. Usually this means installing the 'kernel source' package with YaST2, update it - if not already done - via YaST2 online update (YOU) and configure it with the following commands:
cd /usr/src/linux
make cloneconfig && make dep
am I doing something wrong installing the rpm?
I click on the rpm (in my home directory) and then click on "install with YaST", enter root password, and it does the rest. Do I have to specify a directory etc???
there is no rpm called kernel headers that i could see on the suse site
Last edited by thegreatgatsby; 10-02-2003 at 11:03 AM.
It should be under /usr/src/linux but it's always installed there.It shouldn't be necessary to compile the kernel but if the Suse folks say so they should be right - it's their distro after all.
I just looked in their handbook and supposedly you go to the kernel directory:
cd /usr/src/linux and then do:
make oldconfig
then you do:
make menuconfig
At that point the original configuration of the kernel 'should' be in there and there shouldn't be any need to change something.Just save the configuration and next issue the command:
make dep && make clean bzImage modules modules_install
After that you'll need to do:
make bzlilo
if you use lilo.
If you use grub you'll need to do this:
cp /boot/vmlinuz /boot/vmlinuz.old
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz
After that you have a new kernel in /boot
After that you should add vmlinuz.old to lilo.conf and run 'lilo'.That way you can boot into the old kernel in case things went not good.
That whole stuff is also in the Administrator handbook.
I don't have that handbook. I'll get the pro version of 9.0 with it.
usr/src/linux doestn't exist
where else could I look?
usr/include/linux seems to have some header files in it though none relating to nvidia, and above instructions don't work
thanks for all your help, I am starting to understand why people get emotional about these NVIDIA drivers
.................................................................................................... .................
le@linux:~> cd usr/src/linux
bash: cd: usr/src/linux: No such file or directory
linux:/home/le# cd /usr/include/linux
linux:/usr/include/linux # make oldconfig
make: *** No rule to make target `oldconfig'. Stop.
linux:/usr/include/linux #
Thats just the nvidia driver - not the kernel.The kernel has to be under /usr/src/linux-something with it own directory.About the circles - yeah you'll get dizzy soon,lol.
Try this:
bash-2.05b$ cd /usr/src/
bash-2.05b$ ls
linux linux-2.4.20-gentoo-r5 linux-2.4.22-ck1 pc
linux-2.4.20-ck6 linux-2.4.20-gentoo-r7 linux-beta
This is all I got in there:linux is a symlink to the kernel I actually use,the others are five different kernels and pc is for rpm's.You should have at least a symlink or some other directory in there that reads linux otherwise you don't have any kernel sources installed.
it seems that I have no kernel sources installed.
I have the NVIDIA kernel 1.0-4496.src.rpm sitting in my home directory & I have tried to install it with YaST.
maybe this is the wrong nvidia kernel rpm?
there wasn't one specifically for suse8.2
there is no directory usr/src/linux anything, all there is is usr/src/packages
thanks for helping me.
le@linux:~> bash-2.05b$ cd/usr/src
bash: bash-2.05b$: command not found
le@linux:~> su
Password:
linux:/home/le # bash-2.05b$ cd/usr/src
bash: bash-2.05b$: command not found
linux:/home/le # bash-2.05b$ ls
bash: bash-2.05b$: command not found
linux:/home/le # linux linux-2.4.20-gentoo-r5 linux-2.4.22-ck1 pc
bash: linux: command not found
linux:/home/le # linux-2.4.20-ck6 linux-2.4.20-gentoo-r7 linux-beta
bash: linux-2.4.20-ck6: command not found
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.