Fedora Linux Support Community & Resources Center
  #1  
Old 17th January 2007, 02:50 AM
scotta3234 Offline
Registered User
 
Join Date: Sep 2005
Location: Fairfax, VA
Posts: 1,280
Custom kernel+Nvidia

Hello all,

I have finally got my dv2120 with broadcom 1390 pci-e working with a recent patch and using a custom kernel
2.6.19-1.2894.2.1.jwltest.17.homer.1 My question is, how do i get nvidia support for this custom kernel. I'm sure I'm probably able to build some type of driver support but if somebody could point me in the right direction of which sources i need to download it would be very helpful.
Reply With Quote
  #2  
Old 17th January 2007, 03:09 AM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 56
Posts: 12,371
Hello Scotta:
Do you have a rpm build environment set up?
If so, IMO the easiest is to download the src rpm and then re-do / amend the spec file and then rebuild the rpm .
Then install the rpm
Or you can try a direct install of the freshrpms nvidia driver
http://zod.freshrpms.net/rpm.html?id=855

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)

Last edited by Seve; 17th January 2007 at 03:14 AM.
Reply With Quote
  #3  
Old 17th January 2007, 03:26 AM
scotta3234 Offline
Registered User
 
Join Date: Sep 2005
Location: Fairfax, VA
Posts: 1,280
Thanks Seve,
I do not have an rpm build environment set up, but something tells me that's what I'll be doing shortly.

I've never really had the need to build an rpm until now, so if you could provide me some basic steps or information that would be great.
Reply With Quote
  #4  
Old 17th January 2007, 03:49 AM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 56
Posts: 12,371
Hello Scotta:
Sure no problem.
There are different ways of doing this, however, I like this one the best. [quick and painless]
First:
yum groupinstall "Development Tools"
this should cover off any potential missing packages.

then as a normal user open a terminal and then:
$ cp -r /usr/src/redhat /home/username
then:
$ mkdir -p /home/username/redhat/tmp

Then you need to create a file name .rpmmacros in your home directory. I have attached the one I use, just change the "Your Name Here" and "Scotta" to something appropriate for you.

Then you are finished, so any time you download a src rpm save it to your /home/username/redhat directory and then always logged in as a user and not as root run rpm -ivh package.src.rpm
and it will install in your build environment creating a folder and inside that folder will be at least 1 spec file and 1 tar ball etc.
When you want to rebuild the rpm the run
rpmbuild -ba packagename.spec --target=i686 <-- or whatever arch you want

Seve
Attached Files
File Type: txt sample.txt (523 Bytes, 74 views)
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #5  
Old 17th January 2007, 03:55 AM
mwette Offline
Registered User
 
Join Date: Nov 2005
Location: Los Angeles area
Posts: 887
Another option is to get the nvidia driver for 2.6.19-1.2894.fcX (assuming you
have that kernel installed) and then just copy over the modules from
/lib/modules/2.6.19-1.2894.fcX to your /lib/modules/2.6.19-1.2894.2.1....
More of a hack than building your own RPMs, but sometimes hacks save time
Reply With Quote
  #6  
Old 17th January 2007, 04:12 AM
scotta3234 Offline
Registered User
 
Join Date: Sep 2005
Location: Fairfax, VA
Posts: 1,280
Thanks very much both of you. I will try and post back my results.
Reply With Quote
Reply

Tags
custom, kernel, nvidia

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to build kmod-nvidia on custom kernel therainbow Using Fedora 9 12th September 2008 10:36 PM
livna nvidia driver with custom kernel? Flintz Hardware & Laptops 5 30th December 2007 08:02 PM
Custom nvidia module for a Custom kernel jbkt23 Using Fedora 0 2nd October 2007 04:01 AM
Nvidia 9625 drivers on custom kernel ? tfindlay Installation, Upgrades and Live Media 2 31st October 2006 11:46 AM
How to install nvidia-glx for custom kernels? Saturnyne Using Fedora 3 4th August 2006 09:56 PM


Current GMT-time: 15:51 (Tuesday, 30-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat