LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   FC4 - Fail to install nVidia driver (https://www.linuxquestions.org/questions/fedora-35/fc4-fail-to-install-nvidia-driver-335134/)

macarthor 06-19-2005 09:33 AM

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.


macemoneta 06-19-2005 11:41 AM

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.

macarthor 06-19-2005 06:04 PM

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

macemoneta 06-19-2005 06:13 PM

What happens when you run the installer and it attempts to compile the kernel module instead of downloading it?

greg108 06-19-2005 06:40 PM

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.

macarthor 06-19-2005 07:46 PM

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?

greg108 06-19-2005 10:46 PM

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

macarthor 06-20-2005 01:04 AM

i'll be looking to it

thx

adriaanbw 06-20-2005 01:53 AM

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!

macarthor 06-21-2005 09:27 AM

dear all:

i follow all your kind suggestions, but none works

plz give more help ~~~

adriaanbw 06-21-2005 06:08 PM

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??

browser 06-21-2005 08:31 PM

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?

macarthor 06-23-2005 07:05 AM

yum list nvidia

it gives nothing

would u plz give your detailed procedure?

thx

Tomasfuego 06-25-2005 11:47 PM

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.

Tomasfuego 06-26-2005 12:02 AM

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.


All times are GMT -5. The time now is 03:53 PM.