LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-06-2004, 03:10 AM   #1
maitre
LQ Newbie
 
Registered: May 2003
Location: MA
Distribution: RedHat, SuSE, Mandrake, Slack
Posts: 17

Rep: Reputation: 0
Exclamation NVIDIA / x86_64 or i386 / SuSE 9.1 SOLUTION


This is in response to someone's post on another site, hopefully someone here finds it useful. Specifically, I could not get the NVIDIA driver working with custom kernels on SuSE 9.1. My solution follows:

************************************************************************
Solution
I was having the exact same problem. On my x86_64 machine, I always use custom kernels so I can hack on them a bit, trim them down, whatever. Here's the steps I took to get it to work:

1: From SuSE default kernel, use a package from www.minion.de to get nvidia up and running for the stock kernel. This step (I THINK) is only important because my solution does not build GLX. Once it compiles fine, and nvidia driver gets probed, you can configure a custom kernel.

2: Before rebooting with your custom kernel, grab the pkg0.run file from NVIDIA's website and the x86_64 5332 diff file from http://www.minion.de. Make sure you've got those in a good location since you won't have X when you use your new kernel.

3: Reboot with your new kernel and go into the directory you have the pk0.run and the diff. Now just like minion.de's site states:
--> install the kernel module (as root):
# sh NVIDIA-Linux-x86_64-1.0-5332-pkg0.run --extract-only
# cd NVIDIA-Linux-x86_64-1.0-5332-pkg0
# cd usr/src/nv
# patch -p1 < ../../../../NVIDIA_kernel-1.0-5332-2.6.diff
# ln -s Makefile.kbuild Makefile
# make install

4: You shouldn't see the errors you saw previously, and even lsmod (for me) showed the nvidia module loaded. At this point, you should have the nvidia module loaded and X should work. I was runlevel 3 so switching to 5 brought me to the beautiful nvidia logo.

5: As an aside, the custom kernel you're now using does not include submount, just download the submount 0.9 tar from submount.sourceforge.net and build the subfs module for your new kernel.

Cheers! Hope this helps someone.
-Nick Bargnesi
u_nbargnesi@umassd.edu
 
  


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
x86_64 and i386 neouto SUSE / openSUSE 3 09-08-2005 05:15 AM
i386 or x86_64? rssguy Linux - Newbie 2 04-20-2005 07:42 AM
Install SuSE 9.2 i386 on x86_64 PC? hkctr SUSE / openSUSE 17 01-10-2005 01:12 AM
Opteron, SuSE 8.2 x86_64, NVidia driver problem professorpayne Linux - Software 0 09-24-2003 04:41 PM
Cant find Suse 8.1 i386 nvidia drivers MadKatMk2 Linux - Newbie 3 04-02-2003 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:42 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration