OpenSUSE Hardware :: Configure The Kernel Source Files In Order To Be Able To Install Nvidia Driver?
Jun 27, 2011
When trying to install the nvidia graphics driver I get the following error-message:
ERROR: The kernel header file '/usr/src/linux/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/usr/src/linux' have not been configured. How do I configure the kernel source files?
In order to configure a dual display in a fresh 11.4 installation, I am attempting to install the nVidia driver according to the instructions in SDB:NVIDIA the hard way - openSUSE. I have not previously compiled or configured a kernel so I largely followed the instructions from OpenSUSE 11.2 - How to compile a Kernel for Newbies.The currently installed kernel is 188.8.131.52-1.2-desktop. The graphics card is an ASUS EN9600GSO (512MB).
In Yast, I installed gcc, make, kernel-devel (v. 184.108.40.206-1.2) and kernel-desktop-devel (v. 220.127.116.11-1.2). Per the "hard way" instructions, I did not install kernel-source.
So after getting around the Fakeraid bug, and the grub bug, and all the other bugs killing my system fixed and then i moved on to install my video driver. There was nothing in Administration>Hardware Drivers, so i downloaded the latest driver for my two 8600m gt cards. Did the whole ctrl+alt+f2 and then stopping xserver and then running the driver install only to run into yet another damn bug(see log below)
I have tried fixing it by doing what other threads have said to do e.g:[URL] still nothing. Below is the Nvidia log.
I installed the latest kernel liquorix (2.6.35) but when i want to install the Nvidia driver downloaded on the Nvidia website (256.53), i have an error message because Nvidia doesn't found the kernel source tree.
I install linux-image-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb, linux-headers-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb and build-essential. I don't understand why the installation doesn't works.
I have made a full install of Slack 13.37.0. When I try to run the installer of the NVIDIA GF 8400GS card (NVIDIA-Linux-x86-180.29-pkg1.run) downloaded from [URL], I receive an error message. It says that the kernel source cannot be indetified/found. /lib/modules/18.104.22.168-smp/source and .../build links to /usr/src/linux-22.214.171.124-smp, which contains the full kernel source (can be compiled), including the header .h files in include/linux. The same NVIDIA installer can be run successfully on my previous Slack 11.
I am running Ubuntu 11.04 with a Dlink DGE-530T NIC. My browsing in Ubuntu on ALL browsers is horribly slow. It works perfectly fine on windows and other PCs on the LAN. So I know for sure my router and my internet line is fine.I figured it could be a problem with my NIC drivers and decided to install the drivers from the CD. (All this while it was running on the default drivers that ship with Ubuntu). I'm trying to install the sk98lin drivers and my understanding of the kernel so far is still very weak. When I try to run the install.sh script it gives me an error saying :
Code: Create tmp dir (/tmp/Sk98IknhDHEiLKnkWUSoYMTLi) [ OK ] Check user id (0) [ OK ] Check kernel version (2.6.38-8-generic) [ OK ] Check kernel symbol file (/proc/kallsyms) [ OK ] Check kernel type (SMP) [ OK ] Check number of CPUs (2)
But the installation script is still not able to find it. I tried searching a few threads on google but wasn't able to make too much sense of whats going on because of my lack of understanding of the linux kernel.
When we expect a new rpm from current 195.36.15 nvidia driver? And if it is possible someone to get my a link to this rpm,build for my. like step by step "How to build rpm from nvidia source driver.All this is because i don`t like to install after every update!
I've been trying to install the latest driver NVIDIA-Linux-x86_64-256.35.run. I do ctrl+alt+f1 and login, then sudo sh ./NVIDIA-Linux-x86_64-256.35.run and it gives me the license agreement, but after I accept and right after it gets to 100% it says it can't install the kernel or access or whatever. Has anyone done this installation and had the same problem but figured it out??
After upgrading kernel package to 2.6.32-5 NVIDIA installation gave me ERROR:Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb/nvidiafb is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU installed in this system is not supported by this NVIDIA Linux graphics driver release.
I've built a new kernel (2.6.34) on our workstation at work. It boots and runs beautifully, but there is one minor problem. I created the kernel as a Debian package along with the kernel headers. Upon installing both and attempting to build the nVidia driver for said kernel, the installer tells me that it cannot determine the version and quits. This happens even if I manually specify the path to the headers. What's going on here, did I miss something during my compilation of the new kernel?
I am fairly new to Linux. My machine is running Debian 5.0.5 with gcc version 4.3. When I try to install the Nvidia QuadroFX 3450 driver I got from the Nvidia web site I get an error saying: "The compiler used to compile the kernel (gcc 4.1) does not exactly match the current compiler (gcc 4.3)....." Does this mean my gcc version is too new for the driver? if so, how do I roll back to a older version?
I just dual booted Open SUSE on my computer, and am pretty happy with it. But, in order to use my wireless card for it, I need to install a driver. The wireless card is a Realtek 8191 SE. I've downloaded a driver, but I have no idea how to configure it. I've tried pasting the files into /lib/firmware, but it won't allow me to edit or paste any files into the folder.
I had somewhat of a simple questioned I tried out the latest revision to the Kernel of Day for Opensuse 11.2 built against the master. kernel-default-2.6.36-rc3.10.1.i586.rpm however looking at the tree it appears Novell/Suse doesn't release the source.rpm thinking I could recompile it to support the dependencies that I'm missing. See the message below-
Kernel image: /boot/vmlinuz-2.6.36-rc3-10-default Initrd image: /boot/initrd-2.6.36-rc3-10-default Root device: /dev/disk/by-id/ata-MAXTOR_6L020J1_6612-part1 (/dev/sda1) (mounted on / as ext4)Resume device: /dev/disk/by-id/ata-MAXTOR_6L020J1_661-part2 (/dev/sda2) modprobe: Module via82cxxx not found.
my problem is on installing nvidia driver on fc12 32bit but, first of all, as i understood the pae kernel requires more than 4gb of ram,i have a 2.2 ghz cpu with 2 gb ram,but when i run command:uname -r it answers: 126.96.36.199-127.PAE [i have fc12 32 bit] when we try to download linux we have a 32bit edition or 64bit edition,do we have an edition which is only for pae? or when we install for example the 32bit edition on a computer with more than 4gb of ram then the kernel automatically will change to be a pae kernel??
I installed on my laptop NVIDIA driver from the opensuse repository. After restart i am not geting the GUI.The screen blinks while booting and finally ends in command line login. Error shows that gdm lasted for only few seconds. Max number of try exceeded.
HP pavillion ZV5000 64b processor NVIDIA GEForce4 440 64m
Code: Linux quad 2.6.33 #1 SMP Sun Mar 7 18:22:02 CET 2010 x86_64 GNU/Linux I am using Trisquel GNU/Linux 3.0. I am asking my questions here, since this involves non-free drivers. I succesfully installed the nvidia driver on the default kernel. But the default kernel has removed all support for DVB USB sticks, so I had to compile my own kernel.
I got the newest version from kernel.org. Saved the archieve to /usr/src/. unzipped the file in the directory (so my kernel source is now in /usr/src/linux-2.6.33/.) Made a symlink with ln -s linux-2.6.33 linux. I compiled the kernel succesfully. Did a "make install" and "make modules_install" and ran "update-grub". Restarted system. Cd'ed to my source directory and ran "make headers_install" succesfully. Looking at my timestamps, it looks like the kernel headers has been installed to /usr/src/linux-2.6.33/usr/include/linux/. I downloaded the latest x86_64 drivers from nvidias website. Went to console 1 and closed up X. If I start the installer without any parameters (sh NVIDIA*.run) I get the following error:
Code: ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.33/source'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option. lib/modules/2.6.33/source is a symlink which point to /usr/src/linux-2.6.33
I get the same error if using --kernel-source-path=/usr/src/linux/, /usr/src/linux-2.6.33/ and similar options which link to this directory through symlinks. If I use --kernel-source-path=/usr/src/linux-2.6.33/usr/include, I get the following error:
* My Graphics card is a NVIDIA Geforce 7900 GTX. I am running OpenSUSE 11.2. I have attempted to install the Propriety NVIDIA Drivers (without success). I have added the repository to YAST, then proceeded to install the NVIDIA software.
I then proceeded to reboot my computer into "init 3" mode. I ran the nvidia-xconfig tool as described in the openSUSE Graphic Card Practical Theory Guide for Users site I then proceeded to type "startx" and it failed to load.
dkms is a facility which lets you to install drivers as module and it'll compatible with kernel upgrade.Driver will live as its source code in system,so after each kernel upgrade , driver module will recompile itself to work properly with new kernel.I read about dkms , but I have no experience to configure it by myself. I want to install nvidia driver using dkms,but I don't know how and where I can find source code of nvidia driver.
I installed openSuSE 11.2 three days ago, the first time, and have been trying to get the nvidia video driver to work ever since. So far, no luck. I have a dual-boot system with Windows 2k (legacy programs) and the graphics card works fine there, so the problem isn't hardware related. The nv driver also works under 11.2, but not well.The graphics card is a GeForce 6200, and the computer is an old Tyan Thunder S2885 with dual Opteron processors. I'm in 64 bit mode for the Linux install.
I've tried installing the video drivers by:Doing a fresh install, loading in the nvidia repository, then doing online update. The two nvidia drivers were loaded (nvidia-gfxG02-kmp-desktop and x11-video-nvidiaG02), but when I tried to reboot I end up with a blank screen and no sync to the monitor (Hitachi SuperScan Elite 751 CRT type). Rebooting in safe mode brings up the nv driver, which works. Doing a fresh install, doing online update,then loading in the nvidia repository, refreshing it, and installing the same two RPMs . . . with the same result. Doing a fresh install and using the "one click" install from this web site. Same result.
Doing a fresh install, doing online update, selecting the pattern "Linux Kernel Development" and installing it, downloading the Nvidia installer NVIDIA-Linux-x86_64-190.53-pkg2.run and installing it. Same result.
Same as above, but then using Sax2 -r -m 0=nvidia, even though Sax is depreciated. Same result. I've tried modprobe nvidia. Nothing. Over the last two days I've probably tried several other iterations as well, and forgot them, but nothing worked, it's always the same result.
Another weirdness, when I have YaST do "Hardware Information" it has no trouble identifying the monitor a getting it's info, but when I click the Display icon on the panel it tells me that it can't identify the monitor.
Here's the basic system info:
Directory: /home/BillyDoc/Desktop Tue Feb 16 09:21:23 CST 2010 BillyDoc@linux-k7w3:~/Desktop> lsmod | grep nvidia nvidia 9647368 0 BillyDoc@linux-k7w3:~/Desktop> su
I'm definitely a novice to this sort of thing, and at this point I haven't a clue what's going on. It looks like the nvidia driver get's installed alright, but X simply doesn't know it's there. Oh, and another thing. When I go into YaST to look for the "Graphics Card and Monitor" program . it's missing! I assume this is because Sax is depreciated, but what's the substitute?
I did an upgrade of Nvidia(Latest version v.196) and KDE-base4 to KDE 4.4.4(I think) in Yast2. Now when I reboot the X doesnt start. I claim it can't find any nvidia-module. I thing the upgrade of Nvidia v.196 failed, so I need to know how to reinstall Nvidia in console(CLI). It only boot up in cli. I thought it is so simple to just download the latest driver and install in CLI, but my NetworkManager doesnt start eighter so I don't have any network.
OpenSUSE 11.2 64bits KDE 4.4.x Nvidia NV140 Quadro 512MB
I guess my mistake was to upgrade both KDE and Nvidia in the same operation.
I have recently installed openSUSE 11.4 x86_64 on my laptop, with NVIDIA driver (260.19.44,Geforce 9300M GS).Performance is good, but it slows the boot process: The NVidia logo appears and stays on the screen for 10 seconds aproximately.KDE start is very slow also. I have tried to fix it by adding nomodeset to menu.lst and settting sysconfig variable NO_KMS_IN_INITRD to yes,with no success.
This morning, I authorized an update as almost every day. I saw that the nvidia driver was on the list but in recent years, I no longer fear these driver updates since everything usually works well...
Except that this time, no! I turn on my pc this afternoon and more 3d effects. I run "Nvidia X Server Settings" which tells me I do not use the nvidia driver and must run as root the command "nvidia-xconfig," what I do. I restart X and no display at all, only the prompt in text mode!