2

FC12 kernel source PAE, building proprietary nvidia

view story
linux-howto

http://www.linuxquestions.org – Hi I have a problem with PAE kernel sources and builing nvidia driver. uname -a returns Linux myX 2.6.31.12-174.2.3.fc12.i686.PAE #1 SMP Mon Jan 18 20:06:44 UTC 2010 i686 athlon i386 GNU/Linux 1. I run ./NVIDIA-Linux-x86-173.14.22-pkg1.run and I get an error message that kernel sources cannot be found. 2. My folders: /lib/modules had these two subfolders 2.6.31.5-127.fc12.i686.PAE 2.6.31.12-174.2.3.fc12.i686.PAE so what I did, I run: yum install kernel and got inside /lib/modules this extra 3rd subfolder (no PAE) 2.6.31.12-174.2.3.fc12.i686 On the other hand /usr/src/kernels has one subdirectory (no PAE): 2.6.31.12-174.2.3.fc12.i686 3. Now, when I build nvidia driver, it still gives me the error, that no sources found, so I do ./NVIDIA-Linux-x86-173.14.22-pkg1.run --kernel-source-path /usr/src/kernels/2.6.31.12-174.2.3.fc12.i686 and get an error that this seems to be the incorrect version. And I guess this is true as I have no PAE sources. 4. Further, when I look at /lib/modules/2.6.31.12-174.2.3.fc12.i686.PAE/source it points to /lib/modules/2.6.31.12-174.2.3.fc12.i686.PAE/build and /lib/modules/2.6.31.12-174.2.3.fc12.i686.PAE/build points to /usr/src/kernels/2.6.31.12-174.2.3.fc12.i686.PAE which does not exist So how to get /usr/src/kernels/2.6.31.12-174.2.3.fc12.i686.PAE and why do I have /usr/src/kernels/2.6.31.12-174.2.3.fc12.i686 ? Also: [root@myX ~]# yum install kernel-PAE Loaded plugins: presto, refresh-packagekit Setting up Install Process Package kernel-PAE-2.6.31.12-174.2.3.fc12.i686 already installed and latest version Nothing to do I cannot see what is wrong, can you please? (HowTos)