LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   FC12 kernel source PAE, building proprietary nvidia (https://www.linuxquestions.org/questions/linux-software-2/fc12-kernel-source-pae-building-proprietary-nvidia-788105/)

wikopl 02-09-2010 07:01 PM

FC12 kernel source PAE, building proprietary nvidia
 
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?

Elv13 02-09-2010 09:02 PM

Try to find a Nvidia RPM for your kernel, I had the same problem and it was quite a job to fix by hand. You have to generate and RPM with leight123 src.rpm from fedoraforum. It is not a really good way to install a driver. It is much easier in any other Linux distro, but the installer just fail in Fedora.

paulsm4 02-09-2010 09:41 PM

Strong suggestion: don't use PAE, unless there's absolutely no alternative. It's cheaper and more reliable just to buy a 64-bit CPU: you'll be happier in the short term; you'll be happier in the long run.

PAE is just a kludge.

IMHO .. PSM

eckirchn 02-09-2010 09:44 PM

FC12 kernel source PAE, building proprietary nvidia
 
Why not use AKMODS?<br>

su
yum --enablerepo=rp*g install kmod-nvidia-PAE xorg-x11-drv-nvidia-libs.i686 \
xorg-x11-drv-nvidia-libs.x86_64
shutdown -r now


Or (akmod builds the required kmod on bootup)

su
yum --enablerepo=rp*g install akmod-nvidia \
xorg-x11-drv-nvidia-libs.i686 xorg-x11-drv-nvidia-libs.x86_64

wikopl 02-10-2010 05:53 PM

Thanks for your answers.

Answering this part:
Quote:

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?
I have noticed this link:
http://www.nvnews.net/vbulletin/show....php?p=2182643

yum install kernel-PAE-devel
gave me /usr/src/kernels/2.6.31.12-174.2.3.fc12.i686.PAE

Then nvidia driver, which I build, could not be loaded into memory as per that link.

And I was to follow eckirchn advice first, as was worried that I will need to reinstall this distribution with no PAE kernel, as per paulsm4 (indeed I have no need for PAE version) when I noticed in my grub.conf 2.6.31.12-174.2.3.fc12.i686 entry next to the 2.6.31.12-174.2.3.fc12.i686.PAE.
This happened probably yesterday when I did run: yum install kernel.
I did not know this was so easy. I thought I will have to download whole DVD, burn it, install again to get rid of PAE.

So I rebooted to that kernel version (same number, no PAE) and successfully created nvidia driver, which seems to be working fine.

I wonder why this PAE distribution has been attached to LINUX Format magazine? Who is having interest in it then? There must be some other than over 4GB memory addressing pros?

John VV 02-10-2010 10:11 PM

first off WHY this driver
173.14.22-
the 173 is for the VERY VERY old geforce 5 card
and if you are using the pae kernel you have MORE that 4 gig's of ram and this is a NEW 64 bit computer with a OLD 32 bit 3d card

this dose not add up

please read the fedora forum STICKY on installing the fedora rpm for the nvidia card
http://forums.fedoraforum.org/showthread.php?t=204752
this help page IS KEEP UP TO DATE -- so use it!


All times are GMT -5. The time now is 02:23 AM.