LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   mdk le 2005 nvidia driver installation error (https://www.linuxquestions.org/questions/mandriva-30/mdk-le-2005-nvidia-driver-installation-error-364312/)

kuser:) 09-17-2005 04:23 PM

mdk le 2005 nvidia driver installation error
 
:newbie: Hi linukers!

During my distro installation i chose vesa generic driver (the only one working fine).
I'm trying to install nvidia driver now - watching my CRT screen at 60 Hz is really tiring.
Here's what i do:
1. CTRL + ALT + F1
2. su (i don't have password set up not to make everything more difficult)
3. i go to the folder containing my downloaded 'NVIDIA-Linux-x86-1.0-7676-pkg1.run' file -
destination is /bin/bart.
4. sh NVIDIA-Linux-x86-1.0-7676-pkg1.run
5. I accept the license
6.No precompiled kernel interface was found to match your kernel; would you like the installer to attempt to download a kernel interface for your kernel from NVIDIA ftp site ( f t p : / / d o w n l o a d . n v i d i a . c o m)? - I confirm.
7.Building kernel module - it gets all the way to 100 % (no problems here)
8.
Code:

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 the correct kernel source files are installed, you may specify the kernel source path with the 'kernel-source-path' commandline option.
- i confirm
9.
Code:

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 w w w . n v i d i a . c o m.
- i confirm
10. Nvidia installer ends work here.

Thanks for your time solving this :)

PTrenholme 09-17-2005 05:13 PM

Well, in your step "8," the install program told you the problem and how to fix it. Just install the correct kernel-devel RPM package.

[retract]A simpler way to install the drivers to to load the driver RPM from the livna repository.[/retract]

Opps -- Just noticed that you are in the Mandivia forum -- I was replying to a Fedora question. Sorry, I was confused.


kuser:) 09-18-2005 03:15 AM

Honestly, I don't know how to do that... :Pengy:
I'm working in KDE 3.3.

In Menu->System->Configuration->Packages->Software Installation I typed 'kernel' in the search bar and what I found is:
kernel-2.6.11.12mdk-1-1mdk
kernel-i586-up-1GB-2.6.11.12mdk-1-1mdk
kernel-i586-up-1GB-2.6.11.6mdk-1-1mdk
kernel-i686-up-4GB-2.6.11.12mdk-1-1mdk
kernel-i686-up-4GB-2.6.11.6mdk-1-1mdk
kernel-smp-2.6.11.12mdk-1-1mdk
kernel-smp-2.6.11.6mdk-1-1mdk
kernel-source-2.6-2.6.11-12mdk
kernel-source-stripped-2.6-2.6.11-12mdk
kernel-xbox-2.6.11.12mdk-1-1mdk
kernel-xbox-2.6.11.6mdk-1-1mdk

is it one of theese I should install ?

P.S.
If I use cat /proc/version command in terminal, the outcome is:
Code:

Linux version 2.6.11-6.mdk (gb@n2.mandrakesoft.com) (gcc version 3.4.3 (Mandrakelinux 10.2  3.4.3-3mdk)) #1 True Mar 22 16.04.32 CET 2005

PTrenholme 09-18-2005 03:22 PM

Sorry. I don't use Mandriva.

I suspect that you need to install the "stripped" one.

If that list you displayed is what's available, it looks like you're running a 2.6.11.6 kernel, but that the most recent kernel is 2.6.11.12. Perhaps you should first upgrade to the newer kernel.

But, as I said, I'm just guessing. Try looking in the Mandriva web site for help with upgrading and compiling kernel modules. (Note: To compile a module, you don't need the full kernel sources, only the "headers" that describe the entry points. That's why I guessed that the "stripped" source was what you needed. But that's just a guess.)

kuser:) 09-18-2005 06:43 PM

I installed the' stripped' one and nothing changed - i get the same errors.
But maybe my nvidia-installer log will be of some help (it's quite long :/ )

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Sep 19 01:30:53 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: '/lib/modules/2.6.11-6mdk/source'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.11-6mdk/sou
rce SYSOUT=/lib/modules/2.6.11-6mdk/build'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.11-6mdk/build KBUILD_VERBOSE=1 -C
/lib/modules/2.6.11-6mdk/source SUBDIRS=/root/tmp/selfgz28048/NVIDIA-Linux-x
86-1.0-7676-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.11-6mdk/build \
KBUILD_SRC=/usr/src/linux-2.6.11-6mdk KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676
-pkg1/usr/src/nv" \
-f /usr/src/linux-2.6.11-6mdk/Makefile modules
mkdir -p /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/.tm
p_versions
make -f /usr/src/linux-2.6.11-6mdk/scripts/Makefile.build obj=/root/tmp/self
gz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz280
48/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv
/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/inclu
de -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/include -
I/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -Wstr
ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestandin
g -O2 -fno-omit-frame-pointer -pipe -mpreferred-stack-boundary=2 -fno-unit-a
t-a-time -march=i686 -I/usr/src/linux-2.6.11-6mdk/include/asm-i386/mach-defa
ult -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -I/root/t
mp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -Wimplicit -W
return-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arit
h -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -W
no-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D
_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VE
RSION=0 -DNV_PATCHLEVEL=7676 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RL
IM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISAB
LE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D
KBUILD_BASENA
ME=nv -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1
.0-7676-pkg1/usr/src/nv/nv.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676
-pkg1/usr/src/nv/nv.c
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/nv-linux.h:69,
from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/nv.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: In fun
ction `nvidia_init_module':
/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1073: w
arning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1170: w
arning: `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: In fun
ction `nvidia_exit_module':
/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1227: w
arning: `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
cc -Wp,-MD,/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv
/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/in
clude -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/include
-I/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -Ws
trict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestand
ing -O2 -fno-omit-frame-pointer -pipe -mpreferred-stack-boundary=2 -fno-unit
-at-a-time -march=i686 -I/usr/src/linux-2.6.11-6mdk/include/asm-i386/mach-de
fault -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -I/root
/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -Wimplicit
-Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
ith -Wno-multichar -Werror -O -fno-common -MD -W
sign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -D
MODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV
_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676 -UDEBUG -U_DEBUG
-DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PA
GE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -
DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia
-c -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv-vm.
o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv-vm.c
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/nv-linux.h:69,
from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/nv-vm.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
cc -Wp,-MD,/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv
/.os-agp.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/i
nclude -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/includ
e -I/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -
Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreesta
nding -O2 -fno-omit-frame-pointer -pipe -mpreferred-stack-boundary=2 -fno-un
it-at-a-time -march=i686 -I/usr/src/linux-2.6.11-6mdk/include/asm-i386/mach-
default -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -I/ro
ot/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -Wimplici
t -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-
arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qua
l -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURC
E -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINO
R_VERSION=0 -DNV_PATCHLEVEL=7676 -UDEBUG -U_D
EBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHAN
GE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRES
ENT -DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=os_agp -DKBUILD_MODNAME=n
vidia -c -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/
os-agp.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/os-
agp.c
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/nv-linux.h:69,
from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/os-agp.c:24:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
cc -Wp,-MD,/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv
/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3
.4.3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/
include -I/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -
Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ff
reestanding -O2 -fno-omit-frame-pointer -pipe -mpreferred-stack-boundary=2 -
fno-unit-at-a-time -march=i686 -I/usr/src/linux-2.6.11-6mdk/include/asm-i386
/mach-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-I/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -Wim
plicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoi
nter-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cas
t-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_
SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV
_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_
STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_
PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -D
MODULE -DKBUILD_BASENAME=os_interfa
ce -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-
7676-pkg1/usr/src/nv/os-interface.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1
.0-7676-pkg1/usr/src/nv/os-interface.c
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/nv-linux.h:69,
from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/os-interface.c:26:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
cc -Wp,-MD,/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv
/.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.
4.3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/i
nclude -I/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -W
all -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffr
eestanding -O2 -fno-omit-frame-pointe
r -pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -I/usr/
src/linux-2.6.11-6mdk/include/asm-i386/mach-default -Iinclude/asm-i386/mach-
default -Wdeclaration-after-statement -I/root/tmp/selfgz28048/NVIDIA-Linux-
x86-1.0-7676-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wforma
t -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O
-fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAM
ES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERN
EL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676
-UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESE
NT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GE
T_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=os_registry -
DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676
-pkg1/usr/src/nv/os-registry.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-76
76-pkg1/usr/src/nv/os-registry.c
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/nv-linux.h:69,
from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/os-registry.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
ld -m elf_i386 -r -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1
/usr/src/nv/nvidia.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/us
r/src/nv/nv-kernel.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/us
r/src/nv/nv.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/n
v/nv-vm.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/os
-agp.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/os-in
terface.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/os
-registry.o
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.11-6mdk/scripts/Makefile.modpost
scripts/mod/modpost -i /usr/src/linux-2.6.11-6mdk/Module.symvers /root/t
mp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nvidia.o
cc -Wp,-MD,/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv
/.nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4
.3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/in
clude -I/usr/src/linux-2.6.11-6mdk/ -I -Wall -Wstrict-prototypes -Wno-trigra
phs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-poin
ter -pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -I/us
r/src/linux-2.6.11-6mdk/include/asm-i386/mach-default -Iinclude/asm-i386/mac
h-default -Wdeclaration-after-statement -DKBUILD_BASENAME=nvidia -DKBUILD_M
ODNAME=nvidia -DMODULE -c -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676
-pkg1/usr/src/nv/nvidia.mod.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-767
6-pkg1/usr/src/nv/nvidia.mod.c
ld -m elf_i386 -r -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/
usr/src/nv/nvidia.ko /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/us
r/src/nv/nvidia.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/s
rc/nv/nvidia.mod.o
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
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 No such device
-> Kernel messages:
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600,
10640 bytes, v3).
bootsplash: status on console 4 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600,
10640 bytes, v3).
bootsplash: status on console 5 changed to on
Shorewall:FORWARD:REJECT:IN=eth0 OUT=eth0 SRC=218.93.201.37 DST=82.160.35.67
LEN=458 TOS=0x00 PREC=0x00 TTL=41 ID=0 DF PROTO=UDP SPT=36541 DPT=1027
LEN=438
nvidia: module license 'NVIDIA' taints kernel.
PCI: IRQ 0 for device 0000:01:00.0 doesn't match PIRQ mask - try
pci=usepirqmask
PCI: No IRQ known for interrupt pin A of device 0000:01:00.0. Please try
using pci=biosirq.
NVRM: Can't find an IRQ for your NVIDIA card!
NVRM: Please check your BIOS settings.
NVRM: [Plug & Play OS] should be set to NO
NVRM: [Assign IRQ to VGA] should be set to YES
nvidia: probe of 0000:01:00.0 failed with error -1
NVRM: The NVIDIA probe routine failed for 1 device(s).
NVRM: None of the NVIDIA graphics adapters were initialized!
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.

tkedwards 09-18-2005 09:16 PM

All you need to do is install the kernel-source package. Goto easyurpmi (see my sig) and setup access to the repositories and then use the Install Software program you opened before to install the package named 'kernel-source-2.6'. Now try it again.

kuser:) 09-19-2005 07:25 AM

Ok, I admit: linux is eally hard for me:
I have NO IDEA how to operate http://easyurpmi.zarb.org - which options should I select?
I tried to find any description - nothing :(

Could You please guide me and tell me step by step how to perform what You suggested:Pengy:

reddazz 09-19-2005 07:53 AM

Select the version of Mandriva/mandrake that you are using, then select mirror sites for main, contrib, updates and plf. Enter the commands that will be printed as root. Once thats done, do
Code:

#urpmi --auto-select --auto
#urpmi kernel kernel-source


kuser:) 09-19-2005 02:25 PM

reddazz, thank You very much for taking a look into my problem :)
I did all what You said but still nothing changed...
At least I know something new about urpmi.

I've been thinking:
maybe instead of resolving new problems that come out when I try to install this cursed driver, it would be better to make pre-install check of all (like in a space-shuttle before lunching it). Then when we'll be sure if everything is ready, we'll try to install the driver. I mean: "before you install this, check if you have this set up like... and that like..." and then to start installing.

reddazz 09-19-2005 02:33 PM

Wha are the results of running
Code:

$rpm -qa | grep -i kernel

kuser:) 09-19-2005 02:56 PM

They are:
Code:

kernel-2.6.11.6mdk-1-1mdk
kernel-source-stripped-2.6-2.6.11-12mdk
kernel-source-2.6-2.6.11-6mdk


reddazz 09-19-2005 04:05 PM

Remove the stripped kernel source package,
Code:

#rpm -e kernel-source-stripped-2.6-2.6.11-12mdk
After that try installing the nvidia driver.

kuser:) 09-19-2005 06:21 PM

I removed this package and still nothing changed (the same error messages).
I really appreciate Your help - if You'll have time and will to still try to resolve this, I'd be glad.
Now I'm going to sleep (01:17 a.m. here - my eyes are closing...) bye-bye

PDR60 09-19-2005 09:45 PM

Try this How-To. http://www.linuxloader.com/modules.p...howpage&pid=17 It will get you through. The Nvidia module isn't too hard to get going once you see haow to install it.

PDR60

PTrenholme 09-20-2005 09:26 AM

At the end of your long log output was
Code:

NVRM: Can't find an IRQ for your NVIDIA card!
NVRM: Please check your BIOS settings.
NVRM: [Plug & Play OS] should be set to NO
NVRM: [Assign IRQ to VGA] should be set to YES
nvidia: probe of 0000:01:00.0 failed with error -1
NVRM: The NVIDIA probe routine failed for 1 device(s).
NVRM: None of the NVIDIA graphics adapters were initialized!

Now, again, I just guessing, but, when the loader tells you it can't find the nVIDIA card, perhaps that's your problem.

Have you done as suggested and checked (and, if necessary, changed) your BIOS settings? Note particularly the comment that Assign IRQ to VGA should be turned on in your BIOS.

Typically you access the BIOS by pressing one of Del, F1, or Esc during your initial boot (before Linux loads). Also typically the BIOS displays a brief message telling you how to access the BIOS settings when you first turn on your computer (or when you reboot). That message is often never seen unless you reboot because it's displayed before your monitor is "warmed up" enough to display anything.

kuser:) 09-20-2005 12:44 PM

Hi again,
In BIOS I found only: Plug & Play OS option and switched it to NO - this didn't help.
I can't find the Assign IRQ to VGA option...
You can download my motherboard's manual from here (pdf 2,7 MBytes)

P.S. first I should check if PDR60's post will help me - I'll do it now :)
edit:
or not - server's down I guess

PTrenholme 09-20-2005 02:38 PM

Go to your "Chip Configuration" BIOS screen and verify that all the AGP settings are correct for your card. The defaults listed in the manual do not appear to be the ones you'd want.

Note: As before, I'm guessing. In fact, I don't even know what the "drive N" and "drive P" settings mean.

In the "PCI Configuration" BIOS screen, check that you have set the "Primary VGA BIOS" correctly. (It should, I guess, be AGP.)

I, too, don't see any IRQ to VGA setting, although there is an IRQ assignment screen.

courtrrb 09-20-2005 02:59 PM

I had this problem untill I ran
rpmdrake-remove
searched for nvidia in the software to remove
removed all reference to nvidia
and then did what you did in your first post.
for some reason this nvidia kernel won't let the latest drivers compile & load on some machines

PDR60 09-20-2005 04:20 PM

Try the How-to from the preivious post. It works. Most users follow a method just like the one in the How-to.

PDR60

kuser:) 09-20-2005 04:26 PM

Quote:

I don't even know what the "drive N" and "drive P" settings mean
I mailed ASUS for this, 'coz I can't find it too.

cortrrb - I have nothing in rpmdrake if I search for: nvidia

PDR60 09-20-2005 04:32 PM

I can only lead you there I can't force you to use this.

http://www.linuxloader.com/modules.p...howpage&pid=17

If you use it, it will work

PDR60

PTrenholme 09-20-2005 05:03 PM

But, guys, from his nVidia install log, the driver compiled fine and built the .so module.

His only problem is that the driver can't find his G-Force card.

I don't think that that's an installation problem, it's more like a configuration problem.

kuser:) 09-21-2005 03:58 AM

PDR60,
I have problem with Software Media Manager described on http://www.linuxloader.com/modules.p...howpage&pid=17
I run rpmdrake, in the serch field I type: kernel-source. The results of searching are:
Code:

kernel-source-2.6-2.6.11-12mdk
kernel-source-stripped-2.6-2.6.11-12mdk
kernel-source-stripped-2.6-2.6.11-6mdk
openafs-kernel-source-1.3.81-1mdk

so, I suppose I should install the kernel-source-2.6-2.6.11-12mdk, but when i try to do it, I get this message:
Code:

The following packages have bad signatures:
kernel-source-2.6-2.6.11-12mdk.i586.rpm: Missing signature (Unable to read rpm file)
Do you want to continue the installation? Yes/No

I chose NO, because I don't know if I should install it despite of this message...
------------------------
On another forum they say to use:
#export CC=gcc-3.4 (I don't even know what it does :p)
before:
#sh NVIDIA-Linux-x86_64-1.0-7676-pkg2.run
Do You guys think it will work ?
oh and this thread seems to be common with mine (only is about 64-bit CPU and mine is 32-bit) - maybe You can tell what You think about it too.
Something tells me, the vesa driver I chose during Mandriva installation, spoils everything... but it's only a feeling...

PDR60 09-21-2005 07:26 AM

Go ahead and install it. That error is very common among the mirrors.

You could go to the console and update your sources then try it again. Like this.

Code:

urpmi.update -a
Let it run to up date the database and signatures the run

Code:

uname -r
Check the version of the kernel and then type in the correct kernel source with

Code:

urpmi kernel-source-2.6-2.6.11-12mdk
That should get your kernel source code in to allow you to compile the driver.

PDR60

kuser:) 09-21-2005 08:11 AM

I tried to insall but:
Code:

There was a problem during the installation: unable to install package /var/cache/urpmi/rpms/kernel-source-2.6-2.6.11-12mdk.i586.rpm
So, should I continue with:
urpmi.update -a
ah I ran it anyways - we'll se what happens :P
---------------
$uname -r
gives:
2.6.11-6mdk

kuser:) 09-22-2005 05:16 PM

The older NVIDIA driver 7667 gives the same 'nvidia.ko' errors
Reply form ASUS:
Quote:

AGP Drive Strength P or N Ctrl

Options : 0 to F (Hex number)

These options are slaved to the AGP 4X Drive Strength BIOS function. If you set the AGP 4X Drive Strength to Auto, then the values you set here won't have any effect. In order for these BIOS options to work, you need to set the AGP 4X Drive Strength to Manual.

The AGP Drive Strength P Ctrl and N Ctrl options work hand-in-hand to determine the signal strength of the AGP bus. The AGP Drive Strength is represented by Hex values from 00 to FF. The higher the value, the stronger the signal.

As you can see, P Ctrl only has values from 0 to F. Therefore, it can only set the first part of the actual AGP Drive Strength value. The N Ctrl function also has values from 0 to F and thus, provides the remaining part of the actual AGP Drive Strength value. Confused? Here's the gist :-

The AGP Drive Strength is controlled by two Hex values (xx) ranging from 00 to FF (0 to 255 in decimal values). P Ctrl controls the first Hex value (Xx) while N Ctrl controls the second Hex value (xX). Together, they set the AGP Drive Strength value. For example, if you want to set an AGP Drive Strength of D4 (212), you will have to set P Ctrl to D and N Ctrl to 4.

By default, the AGP Drive Strength is set to C5 (197) but if you are using an AGP card based on the NVIDIA GeForce2 line of GPUs, then it's recommended that you set the AGP Driving Value to the higher value of EA (234).

Due to the nature of this BIOS option, it's possible to use it as an aid in overclocking the AGP bus. The AGP bus is sensitive to overclocking, especially in AGP4X mode and with sidebanding enabled. As such, a higher AGP Driving Value may be just what you need to overclock the AGP higher than normally possible. By raising the signal strength of the AGP bus, you can improve its stability at overclocked speeds.

But be very, very circumspect when you increase the AGP Drive Strength on an overclocked AGP bus as your AGP card may be irreversibly damaged in the process!

BTW, contrary to some reports, increasing the AGP Driving Value won't improve the performance of the AGP bus. It is not a performance enhancing option so you shouldn't increase the value unless you need to.

reddazz 09-23-2005 03:35 AM

You should have just installed the kernel source, the error you got just means that urpmi did not have the gpg key of the developer who built the package.

kuser:) 09-23-2005 05:03 AM

What should I do ? (step-by-step commands please)

reddazz 09-23-2005 07:56 AM

Simply follow the instructions posted by PDR60.

kuser:) 09-23-2005 08:09 AM

belive me i did and after all this i am at the stating point, so thanks all for your help bye-bye

PDR60 09-23-2005 05:06 PM

Quote:

Originally posted by kuser:)
belive me i did and after all this i am at the stating point, so thanks all for your help bye-bye
Going somewhere???? It takes about 20-40 minutes to do an install. Why not start over, do a fresh install, and then after an update, install the nvidia driver. This should'nt be this difficult. Just take your time and follow either my How-To or any one of the others by fellow Mandriva sites and you'll be successful.

PDR60

kuser:) 09-24-2005 05:23 PM

hi again,
I calmed down and I'm doing all again. Right now I'm at post #8. I used command:
Code:

#urpmi --auto-select --auto
This will take ages...
Tak a look: http://img367.imageshack.us/my.php?i...apshot17wv.jpg
Can I stop it, turn off my computer and continue again after some time?

tkedwards 09-24-2005 09:37 PM

Yes. Start it off overnight before you go to bed or something. That's an incredibly slooooooooow connection you've got there! :)

kuser:) 09-25-2005 02:57 PM

weeeeeeeeeeeeeeeeeeee! it's done!
now I don't know what to choose:
Code:

#urpmi kernel kernel-source (from the 1st page of this topic)
One of the following packages is needed:
 1-kernel-source-2.6-2.6.11-12mdk.i586 : The source code for the Linux kernel. (to install)
 2-kernel-source-stripped-2.6-2.6.11-12mdk.i586 : The source code of the Linux kernel stripped for post build. (to install)

1 or 2 ?

reddazz 09-25-2005 03:00 PM

kernel-source-2.6-2.6.11-12mdk.i586

kuser:) 09-26-2005 03:17 AM

WARNING! THIS POST IS WRONG!! PLS GO TO POST #42 \/
ok now it all seems to be fine so far, command:
Code:

$rpm -qa | grep -i kernel
gives:
Code:

kernel-2.6.11.6mdk-1-1mdk
kernel-2.6-2.6.11-12mdk

what should I do next?

tkedwards 09-26-2005 03:41 AM

Follow the instructions in that HOWTO PDR60 pointed you to earlier: http://www.linuxloader.com/modules.p...howpage&pid=17

Start from after the bit where you install the kernel source - that's where you're up to. Good luck

reddazz 09-26-2005 03:58 AM

Quote:

Originally posted by kuser:)
ok now it all seems to be fine so far, command:
Code:

$rpm -qa | grep -i kernel
gives:
Code:

kernel-2.6.11.6mdk-1-1mdk
kernel-2.6-2.6.11-12mdk

what should I do next?

Reboot, then make sure you are runnning the new kernel then install the nvidia drivers. Did you install the kernel-source because it should also be listed.

kuser:) 09-26-2005 06:34 AM

how to make sure I'm running the new kernel-source? which kernel is it? Only those from my previous post are listed...
Here is how my Software Media Maneger window looks now:
http://img74.imageshack.us/img74/825/snapshot28jd.jpg

PDR60 09-26-2005 11:06 AM

First of all uncheck the CD's ( provided you have broadband) you won't need them because you have a "main" source loaded.
Then go to the console and type
Code:

uname -r
This will tell you which kernel is loaded and running. Then install that version of the source rpm.
with
Code:

urpmi package name
When this completes continue the how-to. If the console comes back and says everything is installed then you've already completed the source install. Just be sure to NOT install the stripped kernel source.

reddazz 09-26-2005 01:33 PM

Quote:

Originally posted by kuser:)
how to make sure I'm running the new kernel-source? which kernel is it? Only those from my previous post are listed...
Here is how my Software Media Maneger window looks now:
http://img74.imageshack.us/img74/825/snapshot28jd.jpg

When you install a new kernel, it becaomes the default, so rebooting should run the new kernel. As for the kernel source, if its correctly installed, you should get something like this when you search for the word "kernel" using rpm
Code:

vusi@musasa ~ $ rpm -qa | grep -i kernel
kernel-source-2.6-2.6.12-12mdk
kernel-2.6.12.12mdk-1-1mdk
vusi@musasa ~ $

If you have something similar to that, then you are ready to install the nvidia drivers.

kuser:) 09-26-2005 03:39 PM

dang!
my post #36 is wrong!
Code:

$rpm -qa | grep -i kernel
gives:
Code:

kernel-2.6.11.6mdk-1-1mdk
kernel-source-2.6-2.6.11-12mdk

sorry for this!

and
Code:

uname -r
gives this:
Code:

2.6.11-6mdk

tkedwards 09-26-2005 05:49 PM

FIrst update your kernel to the latest version following these instructions: http://www.mandriva.com/security/kernelupdate

Then reboot and you'll be right to go.

kuser:) 09-27-2005 03:53 AM

I did:
Code:

urpmi.update -a
and now my packages look like this: http://img301.imageshack.us/img301/7...apshot38uu.jpg
I don't know what to put here:
Code:

urmpi kernel-HERE

tkedwards 09-27-2005 04:21 AM

You already have the latest kernel-source installed you need to install the latest kernel package - the kernel isn't automatically updated with Mandrake Update AFAIk whereas the kernel-source is which is why you have mis-match in the versions.

just do
Code:

urpmi kernel
It will give you a list of kernels but I think the default normal one is number 1. Anyway just do
Code:

uname -a
to see which kernel you have.

kuser:) 09-27-2005 04:30 AM

Code:

uname -a
Linux 82-160-67-69.ols.vectranet.pl 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 20 i686 AMD Athlon(TM) XP 2400+ unknown GNU/Linux
#urpmi kernel
The package(s) are already installed


reddazz 09-27-2005 05:42 AM

Try installing the nvidia drivers now.

kuser:) 09-27-2005 05:54 AM

still the same errors :/

Dsoyertoy 10-26-2005 06:33 PM

i'm having the same trouble see if this helps...
open a terminal and type rpm -qa | grep -i kernel.. that should list all of the kernel software installed
uninstall all but kernel-2.6.11.6mdk-1-1mdk (goto menu/system/configuation/packaging/remove software.
type in kernel hit seach button then remove.. then go here to download kernel-source-2.6-2.6.11-6mdk http://rpmfind.net/linux/RPM/mandrak...6mdk.i586.html install this after in downloads.
then run the nvidia-linux file as per nvidia




I used kernel-source-2.6-2.6.11-6mdk
I had kernel-source-2.6-2.6.11-12mdk

tkedwards 10-26-2005 07:33 PM

The difference in versions if because kernel updates are not automatically installed in Mandriva, whereas the kernel-source package is automatically updated when you run MandrakeUpdate.

To update to the latest kernel do:
Code:

urpmi.update -a
urpmi kernel

Then reboot


All times are GMT -5. The time now is 10:33 AM.