LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-17-2005, 04:23 PM   #1
kuser:)
Member
 
Registered: Sep 2005
Location: Olsztyn, Poland
Distribution: Slackware 14.1
Posts: 168

Rep: Reputation: 99
mdk le 2005 nvidia driver installation error


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
 
Old 09-17-2005, 05:13 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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.


Last edited by PTrenholme; 09-17-2005 at 05:18 PM.
 
Old 09-18-2005, 03:15 AM   #3
kuser:)
Member
 
Registered: Sep 2005
Location: Olsztyn, Poland
Distribution: Slackware 14.1
Posts: 168

Original Poster
Rep: Reputation: 99
Honestly, I don't know how to do that...
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

Last edited by kuser:); 09-18-2005 at 03:20 AM.
 
Old 09-18-2005, 03:22 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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.)
 
Old 09-18-2005, 06:43 PM   #5
kuser:)
Member
 
Registered: Sep 2005
Location: Olsztyn, Poland
Distribution: Slackware 14.1
Posts: 168

Original Poster
Rep: Reputation: 99
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.

Last edited by kuser:); 09-18-2005 at 06:49 PM.
 
Old 09-18-2005, 09:16 PM   #6
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
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.
 
Old 09-19-2005, 07:25 AM   #7
kuser:)
Member
 
Registered: Sep 2005
Location: Olsztyn, Poland
Distribution: Slackware 14.1
Posts: 168

Original Poster
Rep: Reputation: 99
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
 
Old 09-19-2005, 07:53 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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
 
Old 09-19-2005, 02:25 PM   #9
kuser:)
Member
 
Registered: Sep 2005
Location: Olsztyn, Poland
Distribution: Slackware 14.1
Posts: 168

Original Poster
Rep: Reputation: 99
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.
 
Old 09-19-2005, 02:33 PM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Wha are the results of running
Code:
$rpm -qa | grep -i kernel
 
Old 09-19-2005, 02:56 PM   #11
kuser:)
Member
 
Registered: Sep 2005
Location: Olsztyn, Poland
Distribution: Slackware 14.1
Posts: 168

Original Poster
Rep: Reputation: 99
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
 
Old 09-19-2005, 04:05 PM   #12
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 09-19-2005, 06:21 PM   #13
kuser:)
Member
 
Registered: Sep 2005
Location: Olsztyn, Poland
Distribution: Slackware 14.1
Posts: 168

Original Poster
Rep: Reputation: 99
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
 
Old 09-19-2005, 09:45 PM   #14
PDR60
Member
 
Registered: Aug 2003
Location: Oakland, TN
Distribution: Debian, Kubuntu
Posts: 257

Rep: Reputation: 30
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
 
Old 09-20-2005, 09:26 AM   #15
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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.
 
  


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 problems with Gentoo 2005.1 AMD64 MrDunk Linux - Hardware 2 10-30-2005 04:25 AM
installing nvidia driver in mandriva 2005? greythorne Mandriva 4 05-23-2005 06:10 AM
X does not startup automatically on mandriva LE 2005 after Nvidia driver is installed Sparks71 Mandriva 7 05-03-2005 07:57 PM
Nvidia driver installation error. RoaCh Of DisCor Linux - Software 1 10-24-2004 01:31 AM
nvidia driver installation error XYNaPSE Linux - Newbie 5 07-15-2003 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:16 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