LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 02-09-2010, 07:01 PM   #1
wikopl
LQ Newbie
 
Registered: Jul 2007
Posts: 12

Rep: Reputation: 0
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?
 
Old 02-09-2010, 09:02 PM   #2
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
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.
 
Old 02-09-2010, 09:41 PM   #3
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 02-09-2010, 09:44 PM   #4
eckirchn
LQ Newbie
 
Registered: Feb 2010
Location: Colorado
Distribution: Fedora
Posts: 16

Rep: Reputation: 1
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
 
Old 02-10-2010, 05:53 PM   #5
wikopl
LQ Newbie
 
Registered: Jul 2007
Posts: 12

Original Poster
Rep: Reputation: 0
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?
 
Old 02-10-2010, 10:11 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 12,669

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Build driver failed in PAE platform with linux kernel 2.6.27.19-5-pae steven215 Programming 3 01-19-2014 05:11 PM
[SOLVED] Nvidia Driver fails to load after Kernel Update (2.6.30.9-90.fc11.i686.PAE) nivantha Linux - Laptop and Netbook 3 11-10-2009 09:52 AM
KERNEL PANIC: Cannot execute a PAE-enabled kernel on a PAE-less CPU! ovais370 Linux - Laptop and Netbook 7 10-13-2007 05:49 PM
Building nvidia-kernel-source error log jonasan Linux - Software 1 05-28-2006 09:52 PM
Building kernel module from multiple source file in 2.6 kernel yogeshwar_s Programming 1 12-20-2004 09:31 AM


All times are GMT -5. The time now is 01:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration