LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-27-2005, 10:22 PM   #16
anthony1101
Member
 
Registered: Aug 2004
Location: Texas
Distribution: FC3
Posts: 59

Rep: Reputation: 15
NVIDIA Driver


Man...I wouldn't being saying that your a RHCT too loudly then. Perhaps they should take away your 'DRIVER" license. This is a VERY simple fix and the driver works great (OpenGL and all!!).

Don't shoot me NVIDIA if I get some part of this wrong.
For some time now, NVIDIA has been using a simplified driver installation. In so much as they don't have to keep making up new packages for each Linux distribution that comes along. Therefore in order to compile this driver for your version of Linux the kernel drivers (found in the development packages) are necessary. You can use your favorite method of getting the package (apt, yum, up2date etc) but you need to make sure you get the one (and only one) for the kernel you are running.

Verify your kernel with uname -a and your package should be similar.
Output:
uname -a
Linux [machinename] 2.6.11-1.1369_FC4 .........

you would then get kerenel-devel-2.6.11-1.1369_FC4.ix86.rpm

for example.


-Good Luck
 
Old 06-28-2005, 12:37 PM   #17
Tomasfuego
Member
 
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Rep: Reputation: 30
Look at 6/19/2005 ..... macarthor did a rpm -qa | grep kernel and found that the package is already installed. Building the package is not the problem. Please refer to the thread i posted earlier.
 
Old 06-28-2005, 01:31 PM   #18
brainfry
LQ Newbie
 
Registered: Oct 2003
Location: Manchester UK
Distribution: Dapper 64
Posts: 25

Rep: Reputation: 15
Hi. Not sure if this will help but I've got SElinux set to 'warn' (did it in the install to see what would happen) and the nvidia driver installs and works fine for me so maybe the post about disabling it is on the right track.

I'm only mentioning it because this is the 2nd time I've installed FC4 and the 1st time I tried SElinux was enabled and all I got was an nvidia splash screen followed by the FC boot screen and nothing but a blank screen after that.
 
Old 06-29-2005, 07:25 PM   #19
sckain
Newbie
 
Registered: Jul 2003
Posts: 12

Rep: Reputation: 0
Nvidia

OK, here is my 2 cents,

remove the current exisiting nvidia.ko

install the (3) Nvidia packages from livna

reboot

all should be well.

If you cant find livna Google <Livna rpm>

Keep us posted, also, if anything for DVD support and NVIDIA driver support it may be a good idea to add an entry to you yum RPMs for livna.

If it works dont forget to say thanks.
 
Old 07-02-2005, 07:20 PM   #20
browser
Member
 
Registered: Aug 2004
Location: Australia,NSW
Distribution: CalculateLinux, FreeBSD, Makulu, OpenSuse
Posts: 269

Rep: Reputation: 30
G,Day there Mcarthor, im sorry 4 my late reply as I forgot my post I posted inregards to installing Automatically using "yum" or even Synaptic & Smart Package Manager, My favourite is Smart, which still isnt fully commited to Fedora4 just yet but is perfect for Fedora3,but you can modify Repos with the Fedora4 version, .as it also has a big load of repos that are already installed along with it when Smart is installed which saves having to search for the repos. AnyWay my advice is to just use yum for moment & use the "search" function on this forum using the term "repositories" or "yum repositories" & add the ones you can find for Fedora4 to your /etc/yum/sources.list .make sure you can find the livna repo & then maybe Dries,Dag etc to add and then look for the "livna glx" package and install it along with whatever dependencies it wants automatically without having to search for them . I give this example as I am now mainly using Smart Package Manager & Synaptic instead of yum, so I cant show you my Sources.list. If you have already done all this somehow before I wrote this then maybe it will be usefull for other Newbies, AnyWay my point is if you can add the right repos "Livna" etc & then install "nvidia glx" etc using YUM then all should be well , it takes al;ot of hassles out when done using YUM etc I found anyway. You could also just google using the term " yum repositories " or " Fedora4 yum repositories" ect.
 
Old 07-02-2005, 07:33 PM   #21
linuxted
LQ Newbie
 
Registered: Jan 2004
Distribution: Fedora
Posts: 20

Rep: Reputation: 0
Re: FC4 - Fail to install nVidia driver

Quote:
Originally posted by macarthor
hi all,

i've installed Fedora Core 4 on my box which has a Geforce2 MMX 400 card.

now i have nVidia 7664 driver also.

i invoke this command:
./NVIDIA-7664-pkg1.run --add-this-kernel
and no error occurs.

then i run
./NVIDIA-7664-pkg1-custom.run
and it gives error which is detailed in /var/log/nvidia-install.log

it seems that the installer cannot insmod nVidia's driver module, and that the error relates to gcc-4.0 and 4K stack, but i don't know what to do.

plz help me...

thx

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Jun 19 21:53:51 2005

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no backup               : false
  kernel module only      : false
  sanity                  : false
  add this kernel         : false
  no runlevel check       : false
  no network              : false
  no ABI note             : false
  no RPMs                 : false
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  compat32 install prefix : (not specified)
  installer install prefix: /usr
  utility install prefix  : /usr
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : /usr/src/kernels
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : ftp://download.nvidia.com
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> A precompiled kernel interface for kernel 'Linux 2.6.11-1.1369_FC4 #1 Thu
   Jun 2 22:55:56 EDT 2005 i686' has been found here:
   ./usr/src/nv/precompiled/precompiled-nv-linux.o-1.0-7664.1119188878.
   executing: 'cd ./usr/src/nv; /usr/bin/ld -d -r -o nvidia.ko precompiled-nv-l
   inux.o nv-kernel.o'...
-> Kernel module linked successfully.
ERROR: Unable to load the kernel module 'nvidia.ko'.  This is most likely
       because the kernel module was built using the wrong kernel source files.
       Please make sure you have installed the kernel source files for your
       kernel; on Red Hat Linux systems, for example, be sure you have the
       'kernel-source' rpm installed.  If you know the correct kernel source
       files are installed, you may specify the kernel source path with the
       '--kernel-source-path' commandline option.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
   -1 Invalid module format
-> Kernel messages:
   Disabled Privacy Extensions on device c03e6820(lo)
   IPv6 over IPv4 tunneling driver
   parport: PnPBIOS parport detected.
   parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
   lp0: using parport0 (interrupt-driven).
   lp0: console ready
   eth0: no IPv6 routers present
   nvidia: no version for "struct_module" found: kernel tainted.
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.
Here's what works for me:
0) Check on the Nvidia website if there is a newer run package than
the one you may have downloaded. If there is, download it and use it
as the run file in section 3 instead.

1) As root, modify the /boot/grub/grub.conf such that the timeout is
10 to give you time to modify the command line

2) restart the computer. When the timeout for the kernel selection
starts, hit any key to stop the timer, then "a" and add a " 3
selinux=0" (this tells the computer to disable the X server). Hit
return.

3) Login as root and type
"./NVIDIA-Linux-x86_64-*.run"

4) Hit "Yes" or "Ok" for everything

5) Modify /etc/X11/xorg.conf as follows (only the "dri", "nvidia" and
"GeForce 2" lines are changed):
___________________________________________________________________________
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "record"
Load "freetype"
Load "type1"
# Load "dri"
Load "glx"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 2 MX (generic)"
EndSection
_____________________________________________________________

6) Change /boot/grub/grub.conf so that the timeout is 0 (I hate
waiting ).

7) type "reboot". YOU MAY HAVE TO REBOOT TWICE BECAUSE OF SELINUX
WEIRDNESS

8) You're done.

I have a Best Data Arcade FX GeForce 2 MX 400 and runs at 4x on the
AGP port.

Good luck!
 
Old 07-10-2005, 01:52 AM   #22
Cap'n Skyler
Member
 
Registered: Sep 2004
Location: Aurora,Colorado
Distribution: SUSE 9.1 (puke) Fedora Core 3
Posts: 41

Rep: Reputation: 15
Talking Nvidia Help

after all my own headaches,i found the best Nvidia help to be in the Nvidia read me file.i had nothing but headaches to install my 3d drivers,and then followed Nvidia's instructions and had it working fine.it seems to me,the help here was over complicated(just like linux) and un necessary.
follow Nvidia's explicit instructions,and see how that goes.if I can do it,anyone can!!!***
wanted to add,i had to fix libs issues i did not know about--ie which libs i neded,so i installed EVERYTHING so when the installer re complied it had everything it needed.
if i knew more about the libs,and how to determine what i do and dont need,i would have only installed exactly what i needed.**** good luck !!!
scott

Last edited by Cap'n Skyler; 07-10-2005 at 01:57 AM.
 
  


Reply



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
NVidia Driver + FC4 AARRGHHHhhhh!!!! Wynand1 Fedora 16 10-25-2005 03:40 AM
Black screen after NVIDIA driver install in FC4 dark_prancer Linux - Hardware 10 09-26-2005 06:53 AM
2.6.10-1.770_FC3 Reboot Fail with Nvidia 7174 Driver HikingFool Fedora 2 04-12-2005 10:10 AM
Driver Fail on install jjreid Linux - Software 2 03-24-2004 02:04 PM
nvidia driver install fail flump Linux - Software 2 08-28-2003 07:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:55 PM.

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