Jump to content

NVidia on Mandrake 10.1


Guest jelodavid
 Share

Recommended Posts

Guest jelodavid

Hello everyone! I'm a Linux newbie... I try installing nvidia software and this was i got........

 

[angelo@localhost angelo]$ uname -r

2.6.8.1-12mdk

[angelo@localhost angelo]$

[root@localhost NVIDIA-Linux-x86-1.0-7676-pkg1]# make install

cd usr/src/nv; make install

make[1]: Entering directory `/home/angelo/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv'

If you are using a Linux 2.4 kernel, please make sure

you either have configured kernel sources matching your

kernel or the correct set of kernel headers installed

on your system.

 

If you are using a Linux 2.6 kernel, please make sure

you have configured kernel sources matching your kernel

installed on your system. If you specified a separate

output directory using either the "KBUILD_OUTPUT" or

the "O" KBUILD parameter, make sure to specify this

directory with the SYSOUT environment variable or with

the equivalent nvidia-installer command line option.

 

Depending on where and how the kernel sources (or the

kernel headers) were installed, you may need to specify

their location with the SYSSRC environment variable or

the equivalent nvidia-installer command line option.

 

*** Unable to determine the target kernel version. ***

 

make[1]: *** [select_makefile] Error 1

make[1]: Leaving directory `/home/angelo/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv'

make: *** [kernel_module_install] Error 2

[root@localhost NVIDIA-Linux-x86-1.0-7676-pkg1]#

 

Please help me where i can find upgrade kernel source rpm that will work on this Nvidia installer, and also the proper way of upgrading kerner.

 

[moved from Software by spinynorman - welcome aboard :)]

Link to comment
Share on other sites

  • 2 weeks later...

Ok I have a similoar proble except that when I try to install it it says:

nvidia-installer log file '/var/log/nvidia-installer.log'

creation time: Wed Aug 31 21:43:28 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      : (not specified)

  kernel output path      : (not specified)

  kernel install path    : (not specified)

  proc mount point        : /proc

  ui                      : (not specified)

  tmpdir                  : /root/tmp

  ftp mirror              : ftp://download.nvidia.com

  RPM file list          : (not specified)

 

Using: nvidia-installer ncurses user interface

-> License accepted.

-> No precompiled kernel interface was found to match your kernel; would you li

  ke the installer to attempt to download a kernel interface for your kernel f

  rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)

-> No matching precompiled kernel interface was found on the NVIDIA ftp site;

  this means that the installer will need to compile a kernel interface for

  your kernel.

-> Kernel source path: '/usr/src/linux'

-> Performing CC test with CC="cc".

-> Performing rivafb check.

-> Cleaning kernel module build directory.

  executing: 'cd ./usr/src/nv; make clean'...

  rm -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o  nv-linux.o nv_comp

  iler.h *.d NVdriver nvidia.o

-> Building kernel module:

  executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux SYSOUT=/usr/s

  rc/linux'...

  echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h

  cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp

  arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -

  U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G

  NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1

  -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676  -DNV_REMAP_PAGE_RANGE_4_PRESENT -

  DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRE

  SENT  -I. -I/usr/src/linux/include -Wsign-compare -Wno-cast-qual -Wno-error

  nv.c

  cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp

  arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -

  U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G

  NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1

  -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676  -DNV_REMAP_PAGE_RANGE_4_PRESENT -

  DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_P

  CI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRESENT  -I. -I/usr/src/linux/include

  -Wsign-compare -Wno-cast-qual -Wno-error nv-vm.c

  cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp

  arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -

  U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G

  NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1

  -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676  -DNV_REMAP_PAGE_RANGE_4_PRESENT -

  DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRE

  SENT  -I. -I/usr/src/linux/include -Wsign-compare -Wno-cast-qual -Wno-error

  os-agp.c

  cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp

  arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -

  U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G

  NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1

  -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676  -DNV_REMAP_

  PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_P

  RESENT -DNV_VMAP_4_PRESENT  -I. -I/usr/src/linux/include -Wsign-compare -Wno

  -cast-qual -Wno-error os-interface.c

  cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp

  arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -

  U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G

  NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1

  -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676  -DNV_REMAP_PAGE_RANGE_4_PRESENT -

  DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRE

  SENT  -I. -I/usr/src/linux/include -Wsign-compare -Wno-cast-qual -Wno-error

  os-registry.c

  ld -r -o nv-linux.o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o

  ld -r -o nvidia.o nv-linux.o nv-kernel.o

-> done.

-> Kernel module compilation complete.

ERROR: Unable to load the kernel module 'nvidia.o'.  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.o':

  -1 Invalid module format

-> Kernel messages:

  IPv6 over IPv4 tunneling driver

  agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.

  agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode

  agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode

  agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.

  agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode

  agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode

  eth0: no IPv6 routers present

  cdrom: hdc: mmc-3 profile capable, current profile: 11h

  cdrom: hdc: mmc-3 profile capable, current profile: 11h

  ISO 9660 Extensions: Microsoft Joliet Level 3

  ISO 9660 Extensions: RRIP_1991A

  cdrom: This disc doesn't have any tracks I recognize!

  No module found in object

  No module found in object

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.

I kind of got stuck in installing.

Yes I used urpmi kernel-source

Link to comment
Share on other sites

@ ovidiu: Can you mention your actual nvidia card and the nvidia stock installer version?

Some older models aren't supported by the latest nvidia driver revisions anymore- you either have to use an older nvidia installer, or an unofficial installer which works with old nvidia hardware.

Link to comment
Share on other sites

@ ovidiu: Can you mention your actual nvidia card and the nvidia stock installer version?

Some older models aren't supported by the latest nvidia driver revisions anymore- you either have to use an older nvidia installer, or an unofficial installer which works with old nvidia hardware.

 

:oops: my bad. :cheesy:

 

It's a Leadtek FX5200 (WinFast A340 TD) and the driver version witch I am trying to install is

 

NVIDIA-Linux-x86-1.0-7676-pkg1.run

I am still trying to install on a 10.1 .

Edited by Ovidiu
Link to comment
Share on other sites

It's complaining that the kernel source doesn't match the kernel you are running. To check this post the output of:

 

$ uname -a

 

and:

 

$ rpm -qa | grep kernel-source

 

uname -a

Linux VEM 2.6.8.1-12 mdk #1 Fri. Oct. 1 12:53:41 CEST 2004 i686 AMD Sempron 2600+ unknown GNU/Linux

 

rpm -qa | grep kernel-source

kernel-source 2.4.27-0. pre2.1mdk

 

I need to have the same source as the one installed no ?

Why am I having the 2.6 kernel and the 2.4 kernel source ? is that right ?

 

 

:mdk:

Link to comment
Share on other sites

urpme kernel-source

Then find and install ( using MCC ) kernel-source 2.6.8.1* from Mandrake's "main" repository.

 

:thanks:

 

Every thing went smooth I continued the HW-01 and no problem.

17063 frames in 5.0 seconds = 3412.600 FPS

18391 frames in 5.0 seconds = 3678.200 FPS

13697 frames in 5.0 seconds = 2739.400 FPS

13664 frames in 5.0 seconds = 2732.800 FPS

11802 frames in 5.0 seconds = 2360.400 FPS

17683 frames in 5.0 seconds = 3536.600 FPS

32134 frames in 5.0 seconds = 6426.800 FPS

32306 frames in 5.0 seconds = 6461.200 FPS

20334 frames in 5.0 seconds = 4066.800 FPS

13729 frames in 5.0 seconds = 2745.800 FPS

 

 

But one last question for this topic.

 

When i boot into Linux the normal way and go to init 3 the whole text is corrupt but when i got to linux nonfb everything is ok.

Why?

Link to comment
Share on other sites

But one last question for this topic.

When i boot into Linux the normal way and go to init 3 the whole text is corrupt but when i got to linux nonfb everything is ok.

Why?

 

I really wish I knew, as I also have an FX5200 and facing the same problem, exactly- although I tried every possible framebuffer mode on more than 15 different distros...

My solution was the same as yours- I don't use framebuffer at all, the text may be somewhat large, but usable.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...