LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-19-2005, 09:33 AM   #1
macarthor
Member
 
Registered: Jun 2004
Posts: 37

Rep: Reputation: 15
Question FC4 - Fail to install nVidia driver


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.
 
Old 06-19-2005, 11:41 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Install the kernel-devel package (via yum or up2date), and run the nvidia installer with no options. You'll be given the choice to try to download a matching module - say no. The driver installer will then compile a kernel module on your machine, which should load and run fine.
 
Old 06-19-2005, 06:04 PM   #3
macarthor
Member
 
Registered: Jun 2004
Posts: 37

Original Poster
Rep: Reputation: 15
thx for you kind reply, but it seems that i've got that installed

Code:
[mcarthor@McArthor ~]$ rpm -qa | grep kernel
kernel-doc-2.6.11-1.1369_FC4
kernel-2.6.11-1.1369_FC4
kernel-devel-2.6.11-1.1369_FC4
also, through some thread, i configure selinux as disabled, but it doesn't work either
 
Old 06-19-2005, 06:13 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
What happens when you run the installer and it attempts to compile the kernel module instead of downloading it?
 
Old 06-19-2005, 06:40 PM   #5
greg108
Member
 
Registered: Aug 2003
Location: CA USA
Distribution: FC2, FC4, Mandrake 10, Slackware 10, RedHat 9, Suse 9.1, College Linux, Debian Sarge, Gentoo
Posts: 170

Rep: Reputation: 30
Aren't you supposed to run command:

sh NVIDIA-Linux-x86-1.0-7664-pkg1.run

and I think you have to run command 'setenforce 0' before you install the driver. It has something to do with SElinux.
 
Old 06-19-2005, 07:46 PM   #6
macarthor
Member
 
Registered: Jun 2004
Posts: 37

Original Poster
Rep: Reputation: 15
to macemoneta:

when i run
./NVIDIA-7664-pkg1.run
and select "no" for ftp download, it can then compile the driver but seems to fail to insmod the nvidia driver module - a red block appears on the screen and says "... (too long to post here, but same as the red "ERROR" in my first post)".

===============

to greg108:

do u mean to modify /etc/sysconfig/selinux, and change the last line to 0 or diabled or something like this?
 
Old 06-19-2005, 10:46 PM   #7
greg108
Member
 
Registered: Aug 2003
Location: CA USA
Distribution: FC2, FC4, Mandrake 10, Slackware 10, RedHat 9, Suse 9.1, College Linux, Debian Sarge, Gentoo
Posts: 170

Rep: Reputation: 30
I mean as a shell command.
I am not an expert on this one though. You can find more on that in this thread: http://www.linuxquestions.org/questi...hreadid=333111
 
Old 06-20-2005, 01:04 AM   #8
macarthor
Member
 
Registered: Jun 2004
Posts: 37

Original Poster
Rep: Reputation: 15
i'll be looking to it

thx
 
Old 06-20-2005, 01:53 AM   #9
adriaanbw
Member
 
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Rep: Reputation: 16
Head on over to this thread for FC3. It should be very similar for FC4. I am not sure if you will still need to remove the xorg-x11-Mesa library.

http://www.linuxquestions.org/questi...hreadid=259917.

Have a go and see what happens. I would suggest commenting out the lines in the xorg.conf file rather than deleting. That way if it doesn't work you can always uncomment them and restore the file and still get back to graphical login.

Alternative, make a copy of your xorg.conf file!
 
Old 06-21-2005, 09:27 AM   #10
macarthor
Member
 
Registered: Jun 2004
Posts: 37

Original Poster
Rep: Reputation: 15
dear all:

i follow all your kind suggestions, but none works

plz give more help ~~~
 
Old 06-21-2005, 06:08 PM   #11
adriaanbw
Member
 
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Rep: Reputation: 16
Well I am curious, does anyone know how much extra performance macarthor would get by installing the offical nVidia drivers as opposed to just using the built in Geforce MX (generic) driver??

macarthor, do you need that extra performance??
 
Old 06-21-2005, 08:31 PM   #12
browser
Member
 
Registered: Aug 2004
Location: Australia,NSW
Distribution: CalculateLinux, FreeBSD, Makulu, OpenSuse
Posts: 269

Rep: Reputation: 30
Hi there, I am not a linux WIZ or anything ,but I have installed my nvidia driver "nvidia glx" etc through yum or apt ,on multiple occasions , and havn't had to change or modify a thing after apt or yum have installed Nvidia and then rebooted to find the nvidia screen popup everytime , Maybe some times a person might have to do it manually on Fedora ,but since Fedora3 came out I think it is, that I havnt had to ,but have had it installed AutoMatically through Yum or Apt. AnyWay maybe you have a reason to do it manually?
 
Old 06-23-2005, 07:05 AM   #13
macarthor
Member
 
Registered: Jun 2004
Posts: 37

Original Poster
Rep: Reputation: 15
yum list nvidia

it gives nothing

would u plz give your detailed procedure?

thx
 
Old 06-25-2005, 11:47 PM   #14
Tomasfuego
Member
 
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Rep: Reputation: 30
Hey ....
i was just installing NVIDIA on my little brother's machine and I am coming up with the same problems and I am a RHCT!

Its too late for me to want to look at anything to exhaustively or to try to re-compile the kernel itself, but if you comment out the
Load "glx"

with a # it will get X working for ya but without the OpenGL stuff.

I read a Red Hat thread that said that if you appended "selinux=0" to the end of the kernel line in /etc/grub.conf that you could then uncomment the Load "glx" line .... but it hasnt worked for me. I'll give a better try tomorrow.
 
Old 06-26-2005, 12:02 AM   #15
Tomasfuego
Member
 
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Rep: Reputation: 30
Here is an interesting thread to read:

http://www.nvnews.net/vbulletin/showthread.php?t=51972

the guy from NVIDIA at the very bottom seems to imply that this is that 7667 is a crappy driver and you should use the previous version.

Last edited by Tomasfuego; 06-26-2005 at 12:04 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 12:59 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