LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Problem installing nVidia graphic card (https://www.linuxquestions.org/questions/linux-hardware-18/problem-installing-nvidia-graphic-card-526152/)

ashkael 02-06-2007 02:17 PM

Problem installing nVidia graphic card
 
I want to install driver for Ge Force 4 MX440 64mb on slackware 11, but all I can get is some errors about kernel, then setup creates something like nvidia.o but says that cant load :/

P.S. I'm newbie on linux, so I'll be greatfull if you told me whats wrong. And sorry for my English.

jolphil 02-07-2007 01:35 PM

Hello,
I am not a slackware user but I have installed the Nvidia driver in fedora,mandriva and suse..I can only speak in generalities..
What I do is first make sure I have installed the kernel-source for your distro..Make sure you also have a complier unstalled (ithink Qt) but I am not absolutly sure..
Once thats done I do a ctrl-alt-f3 and logon as user then su and give the proper passwords..you should see a # sign after the logon information..I then go to init 3 by issueing the init 3 command..I log on again till I get the # sign again..I then cd /home/your user name
if thats where you downloaded the driver..I generally then issue the command ls to see whats in my directory..You shoild see the Nvidia
driver..Follow the readme instructions but I generally type the command ./ NVIDIA then hit the tab key to fill in the rest of the
driver..
If it starts it will ask you to accept the ULA for the driver then ask to download a kernel source that has never been able to find one so I type in No and enter to let it compile a new one..If sucessful and the software will ask if you want it to write a new Xorg.config file
and I usually say yes..At that point I like to restart the system by typing the command shutdown -r now that will reboot the computer and hopfully you will see the nvidia logo and you are set to go..
You can also type in a terminal glxgears to see what your framerate is.. generall it is over 2500 frames /5seconds..
I know there may be a better way or experts will ammend this but thats
how I have done it..(I'm no expert)
Goodluck,
jolphil
:twocents:

J.W. 02-08-2007 12:00 AM

Quote:

Originally Posted by ashkael
I want to install driver for Ge Force 4 MX440 64mb on slackware 11, but all I can get is some errors about kernel, then setup creates something like nvidia.o but says that cant load

Please be much more specific about what exact error messages you are seeing - that will be really helpful in trying to determine what might be wrong

ashkael 02-08-2007 05:40 AM

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Feb 8 13:37:02 2007

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : 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
no kernel module : false
force SELinux : default
no X server check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
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 : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
WARNING: The NVIDIA GeForce4 MX 440 GPU installed in this system is supported
through the NVIDIA 1.0-96xx legacy Linux graphics drivers. Please
visit http://www.nvidia.com/object/unix.html for more information.
The 1.0-9746 NVIDIA Linux graphics driver will ignore this GPU.
WARNING: You do not appear to have an NVIDIA GPU supported by the 1.0-9746
NVIDIA Linux graphics driver installed in this system. For further
details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in
the README available on the Linux driver download page at
www.nvidia.com.
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.4.33.3/build'
-> Kernel output path: '/lib/modules/2.4.33.3/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen 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-i2c.o nv-linux.
o nv_compiler.h *.d NVdriver nvidia.o
rm -f stprof stprof.o symtab.h
rm -f Makefile
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.4.33.3/build
SYSOUT=/lib/modules/2.4.33.3/build'...
sh ./conftest.sh "cc" "cc" /lib/modules/2.4.33.3/build /lib/modules/2.4.33.3
/build cc_sanity_check full_output
sh ./conftest.sh "cc" "cc" /lib/modules/2.4.33.3/build /lib/modules/2.4.33.3
/build select_makefile full_output
make --no-print-directory -f Makefile module
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 -msoft-f
loat -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERN
EL_NAMES -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=97
46 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_
4_PRESENT -DNV_I2C_ADAPTER_INC_USE_PRESENT -I. -I/lib/modules/2.4.33.3/buil
d/include -Wsign-compare -Wno-cast-qual -Wno-error nv.c
In file included from /lib/modules/2.4.33.3/build/include/linux/vmalloc.h:8,
from nv-linux.h:64,
from nv.c:14:
/lib/modules/2.4.33.3/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.33.3/build/include/linux/highmem.h:20: warning: pointer of
type `void *' used in arithmetic
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-f
loat -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERN
EL_NAMES -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=97
46 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_
4_PRESENT -DNV_I2C_ADAPTER_INC_USE_PRESENT -I. -I/lib/modules/2.4.33.3/buil
d/include -Wsign-compare -Wno-cast-qual -Wno-error nv-vm.c
In file included from /lib/modules/2.4.33.3/build/include/linux/vmalloc.h:8,
from nv-linux.h:64,
from nv-vm.c:14:
/lib/modules/2.4.33.3/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.33.3/build/include/linux/highmem.h:20: warning: pointer of
type `void *' used in arithmetic
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-f
loat -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERN
EL_NAMES -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=97
46 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_
4_PRESENT -DNV_I2C_ADAPTER_INC_USE_PRESENT -I. -I/lib/modules/2.4.33.3/buil
d/include -Wsign-compare -Wno-cast-qual -Wno-error os-agp.c
In file included from /lib/modules/2.4.33.3/build/include/linux/vmalloc.h:8,
from nv-linux.h:64,
from os-agp.c:24:
/lib/modules/2.4.33.3/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.33.3/build/include/linux/highmem.h:20: warning: pointer of
type `void *' used in arithmetic
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-f
loat -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERN
EL_NAMES -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=97
46 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_
4_PRESENT -DNV_I2C_ADAPTER_INC_USE_PRESENT -I. -I/lib/modules/2.4.33.3/buil
d/include -Wsign-compare -Wno-cast-qual -Wno-error os-interface.c
In file included from /lib/modules/2.4.33.3/build/include/linux/vmalloc.h:8,
from nv-linux.h:64,
from os-interface.c:26:
/lib/modules/2.4.33.3/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.33.3/build/include/linux/highmem.h:20: warning: pointer of
type `void *' used in arithmetic
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-f
loat -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERN
EL_NAMES -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=97
46 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAG
E_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DNV_I2C_ADAPTER_INC_USE_PRESENT -I. -I/
lib/modules/2.4.33.3/build/include -Wsign-compare -Wno-cast-qual -Wno-error
os-registry.c
In file included from /lib/modules/2.4.33.3/build/include/linux/vmalloc.h:8,
from nv-linux.h:64,
from os-registry.c:14:
/lib/modules/2.4.33.3/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.33.3/build/include/linux/highmem.h:20: warning: pointer of
type `void *' used in arithmetic
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-f
loat -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERN
EL_NAMES -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=97
46 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_
4_PRESENT -DNV_I2C_ADAPTER_INC_USE_PRESENT -I. -I/lib/modules/2.4.33.3/buil
d/include -Wsign-compare -Wno-cast-qual -Wno-error nv-i2c.c
In file included from /lib/modules/2.4.33.3/build/include/linux/vmalloc.h:8,
from nv-linux.h:64,
from nv-i2c.c:8:
/lib/modules/2.4.33.3/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.33.3/build/include/linux/highmem.h:20: warning: pointer of
type `void *' used in arithmetic
ld -r -o nv-linux.o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2
c.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 happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: Warning: loading ./usr/src/nv/nvidia.o will taint
the kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted
modules
./usr/src/nv/nvidia.o: init_module: No such device
./usr/src/nv/nvidia.o: Hint: insmod errors can be caused by incorrect module
parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
-> Kernel messages:
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
scsi singledevice 0 0 0 0
scsi singledevice 0 0 1 0
scsi singledevice 0 0 2 0
scsi singledevice 0 0 3 0
scsi singledevice 0 0 4 0
scsi singledevice 0 0 5 0
scsi singledevice 0 0 6 0
scsi singledevice 0 0 7 0
NVRM: The NVIDIA GeForce4 MX 440 GPU installed in this system is
NVRM: supported through the NVIDIA 1.0-96xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 1.0-9746 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
NVRM: No NVIDIA graphics adapter found!
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.

J.W. 02-08-2007 02:36 PM

Quote:

ERROR: Unable to load the kernel module 'nvidia.o'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).
Do you have the correct kernel sources?

CaptainInsane 02-08-2007 03:03 PM

Quote:

Originally Posted by ashkael
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Feb 8 13:37:02 2007
.
.
.
NVRM: The NVIDIA GeForce4 MX 440 GPU installed in this system is
NVRM: supported through the NVIDIA 1.0-96xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 1.0-9746 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
NVRM: No NVIDIA graphics adapter found!

There is your key. For that video card, you need to get the 1.0.9631
nvidia driver.


All times are GMT -5. The time now is 12:52 PM.