How to install kernel source on Suse 9 with/without Yast2
Hi everyone,
Could anyone tell me how to install the kernel source packages for Suse 9.0 both with AND without Yast2. I am trying to load the drivers for my NVIDIA GeForce FX Go5200 card on Inspiron 5150. The driver I am using is NVIDIA-Linux-x86.1.0-4496-pkg2.run The log is as follows: ----------------------------------------------------------------------- nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Tue Jan 6 12:06:11 2004 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false no precompiled interface: false no ncurses color : false query latest driver ver : false OpenGL header files : false no questions : false silent : false XFree86 install prefix : /usr/X11R6 OpenGL install prefix : /usr Installer install prefix: /usr kernel include path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp site : Using: nvidia-installer ncurses user interface -> License accepted. -> No precompiled kernel interface was found to match your kernel; would you like the installer to attempt to download a kernel interface for your kernel from the NVIDIA ftp site ])? (Answer: No) -> No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel interface. ERROR: 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 include path with the '--kernel-include-path' commandline option. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at ------------------------------------------------------------------------ ---- I am unable to locate the kernel source in /usr/src Should I use the latest kernel/nvidia drivers? I think I will get the same problem again. I have tried searching all possible forums and groups. Since I am a total newbie, some of the posts are too complicated for me. I hope someone can help me before my patience and resources run out and I have to abandon my linux endeavour and retun to MS products.. Please advice.. Thanks Sachin :( :confused: |
I had the sam e problem. I used Yast to install the source. Start up Yast and go to install/remove software. Search for kernel-source, check the boxes and install. It will actually put them in the /lib/modules/'uname -r'/(can't remember the rest of the path) directory.
Now use the Yast Online update to update your sources to the same as your kernel that's running. Now go into console mode, log in as root and change the init level to 3. CD to the directory where the NVIDIA script is and run it. When it says the precompiled version doesn't match and asks if it can download one say YES. It will fail and then try to compile. It will compile the driver. This thread has alot more detail. raynet11 helped me out there. http://www.linuxquestions.org/questi...9.0+and+Nvidia |
yast2->install/remove programs->type kernel in the search box, select "kernel-source", click accept.
|
Thanks for the help. I did manage to load the new drivers and now the card is working fine. I have another question.
With windows, my laptop and card support a maximum resolution of 1400x1050 but with Suse I am getting only 1024x768. Can I get a greater resolution that this, something on par with windows.(that was the whole point of paying extra for this card!!) Do I need to modify my XF86Config file for this? Can someone tell me the exact changes that I would have to make.. Thanks once again to all those who helped.. I appreciate it.. |
i've got 1400x1050 under the generic 'lcd' selection , you could try that instead of the actual monitor model or
yast->hardware->graphics card and monitor, select change, select virtual resolution. |
All times are GMT -5. The time now is 02:40 PM. |