LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2004, 01:04 AM   #1
FrostBot
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Kubuntu 10.10
Posts: 134

Rep: Reputation: 15
Unable To Install NVIDIA 1.0-6106 On SuSE 9.1 Pro


When I try typing "rmmod rivafb", it says there's no such module. I also tried typing "rmmod nvidia" before installing and the same happened. Anyway it has to do with building the "nvidia.ko" file. I have looked everywhere and haven't come across a solution. I've done everything NVIDA and SuSE have said to do. This is my installation process. First I "init 3", then as root type "sh NVIDIA-Linux-x86-1.0-6106-pckg1.run --kernel-src-path=/usr/src/linux". Below you find the log file created after the installation was unsuccessful.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Aug 5 02:37:05 2004

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 : false
no questions : false
silent : false
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : /usr/src/linux
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
5336). As part of installing this driver (version: 1.0-6106), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> 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)
ERROR: Unable to connect to download.nvidia.com (temporary DNS error (try again
later))
-> 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.
-> Using the kernel source path '/usr/src/linux' as specified by the
'--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux'
-> Performing cc_version_check with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING:
Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
ce.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 *~
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux'...

Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!

*** Failed rivafb module sanity check, but continuing! ***


NVIDIA: calling KBUILD...
mkdir -p /tmp/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.tmp_vers
ions

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.104/Module.symvers is m
issing, modules will have CONFIG_MODVERSIONS disabled.

make -f scripts/Makefile.build obj=/tmp/selfgz6391/NVIDIA-Linux-x86-1.0-6106
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz6391/NVI
DIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.nv.o
.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-pro
totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -
mpreferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -march=i586 -m
regparm=3 -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -I/tmp/s
elfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv -Wall -Wimplicit -Wretur
n-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -W
no-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOS
E_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_N
AMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_P
ATCHLEVEL=6106 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -
DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT -DMODULE -DKBUILD_BA
SENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz6391/NVIDIA-Linux-x86-1.0
-6106-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pk
g1/usr/src/nv/nv.c
cc -Wp,-MD,/tmp/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict
-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-flo
at -mpreferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -march=i58
6 -mregparm=3 -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -I/t
mp/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv -Wall -Wimplicit -Wr
eturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith
-Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_L
OOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNE
L_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DN
V_PATCHLEVEL=6106 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86
-DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT -DMODULE -DKBUILD_
BASENAME=os_agp -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz6391/NVIDIA-Linux-x
86-1.0-6106-pkg1/usr/src/nv/.tmp_os-agp.o /tmp/selfgz6391/NVIDIA-Linux-x86-1
.0-6106-pkg1/usr/src/nv/os-agp.c
cc -Wp,-MD,/tmp/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.os-i
nterface.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mso
ft-float -mpreferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -mar
ch=i586 -mregparm=3 -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer
-I/tmp/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv -Wall -Wimplici
t -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-
arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-erro
r -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=6106 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X8
6 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT -DMODULE -D
KBUILD_BASENAME=os_interface -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz6391/N
VIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.tmp_os-interface.o /tmp/selfgz6391
/NVIDIA-Linux-x86-1.0-
6106-pkg1/usr/src/nv/os-interface.c
cc -Wp,-MD,/tmp/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.os-r
egistry.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Ws
trict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msof
t-float -mpreferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -marc
h=i586 -mregparm=3 -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer
-I/tmp/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv -Wall -Wimplicit
-Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
ith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error
-D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_K
ERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
-DNV_PATCHLEVEL=6106 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86
-DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT -DMODULE -DKBUI
LD_BASENAME=os_registry -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz6391/NV
IDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.tmp_os-registry.o /tmp/selfgz6391/N
VIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/os-registry.c
ld -m elf_i386 -r -o /tmp/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/s
rc/nv/nvidia.o /tmp/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv-
kernel.o /tmp/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.o /tmp
/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/os-agp.o /tmp/selfgz63
91/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/os-interface.o /tmp/selfgz6391/
NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/os-registry.o
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.5-7.104/scripts/Makefile.modpost
scripts/modpost -i /usr/src/linux-2.6.5-7.104/Module.symvers -s /dev/null
/tmp/selfgz6391/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nvidia.o
/bin/sh: line 1: scripts/modpost: No such file or directory
make[3]: *** [__modpost] Error 127
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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.
 
Old 08-05-2004, 01:28 AM   #2
JARofHERB
Member
 
Registered: Apr 2004
Location: Pacific Northwest
Distribution: Debian unstable
Posts: 60

Rep: Reputation: 15
One hell of an "output" you included,,,hehe,,,,well anyhow,,,it is vital that the agp gart module is loaded by the linux kernel,,,so if you have the know how?,,you need to recompile the kernel with "agp gart" support,this is the "key" to most anything you want to get working right as far as video card drivers go,the kernel has to be able to support the driver calls////
 
Old 08-05-2004, 01:29 AM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Did you try installing Nvidia from YaST? You can easily install it from the Online Update...
 
Old 08-05-2004, 01:30 AM   #4
FrostBot
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Kubuntu 10.10
Posts: 134

Original Poster
Rep: Reputation: 15
Yeah but it only installs version 5336. Not the newer and much better 6106...
 
Old 08-07-2004, 05:23 PM   #5
redmac5
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
Actually, it is quite simple once you've found the problem. It took me a while though.

Anyway, make sure you also have the kernel source package of the 2.6.5-7.104 kernel installed.
Then as root
Code:
cd /usr/src/linux-2.6.5-7.104
Do a
Code:
make cloneconfig
to apply the current kernel configuration to the new kernel sources. Then
Code:
make modules
to recreate the kernel modules for the new kernel. It doesn't really make sense, as you don't have to actually install any of the modules that this will compile, but apparently the NVidia installer needs files that are created during that step. After that, run the NVidia installer with
Code:
sh NVIDIA-Linux-x86-1.0-6106-pckg1.run --kernel-src-path=/usr/src/linux-2.6.5-7.104
You can ignore the warning about the rivafb module. It's just saying that in case you DID load that module and trying to load the NVidia module at the same time, there would be problems.
 
Old 08-07-2004, 05:33 PM   #6
FrostBot
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Kubuntu 10.10
Posts: 134

Original Poster
Rep: Reputation: 15
Ok redmac5 I tried that already but I think I forgot the "make modules".

I'll try it again (hope it works).
 
Old 08-07-2004, 06:36 PM   #7
FrostBot
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Kubuntu 10.10
Posts: 134

Original Poster
Rep: Reputation: 15
What do ya know? It worked! Thanks a lot redmac5. Greatly appreciated.
 
Old 08-07-2004, 06:36 PM   #8
FrostBot
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Kubuntu 10.10
Posts: 134

Original Poster
Rep: Reputation: 15
Love the new nvidia-settings option.
 
Old 08-07-2004, 06:46 PM   #9
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
And it was his first post Hail redmac5!
 
Old 08-07-2004, 07:32 PM   #10
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Agreed - well done redmac5, and Welcome to LQ! -- J.W.
 
Old 08-08-2004, 02:22 AM   #11
redmac5
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
Heh, thanks everyone. I ran across this thread with google while I was searching for an answer myself.
And I've been around on linuxforen.de for some time, so I'm not a complete newbie
 
Old 08-12-2004, 01:13 PM   #12
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hey all!

Well, I've just did a fresh install of SuSE again, and decided to give a go with newest Nvidia's drivers. I did all as the above, but whereas I try to start the server, I get a display error saying that the card is not yet supported (it's a cheap Geforce 4 MX 440). I can post the error message later.

Question is, what did you do after installing the drivers? I've tried first editing the XF86Config, changing from "nv" to "nvidia", which worked with _all_ distributions I've tried so far and also running "sax2 -m 0=nvidia", as recommended by SuSE... Same error message is returned by both. Running only sax2 does not work either.(Same error again).

Any tips on this would be great!

Thanks in advance all...
 
Old 08-12-2004, 05:47 PM   #13
deadslota
LQ Newbie
 
Registered: May 2004
Distribution: ubuntu
Posts: 7

Rep: Reputation: 0
I'm having a similar prob to the one frost had but instead of it not being able to build the nvidia kernel module, mine can't load it. heres the last section of the nvidia-installation-log:

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
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've triple checked that i'm using the right kernel sources.
uname -a : 2.6.5-7.104-default
la -la usr/src: total 1
drwxr-xr-x 7 root root 280 2004-08-12 07:06 .
drwxr-xr-x 12 root root 344 2004-08-10 22:52 ..
lrwxrwxrwx 1 root root 17 2004-08-12 07:06 linux -> linux-2.6.5-7.104
drwxr-xr-x 21 root root 864 2004-08-13 08:32 linux-2.6.5-7.104
drwxr-xr-x 3 root root 72 2004-08-12 07:06 linux-2.6.5-7.104-obj
drwxr-xr-x 21 root root 832 2004-08-11 20:50 linux-2.6.5-7.95
drwxr-xr-x 3 root root 72 2004-08-11 20:15 linux-2.6.5-7.95-obj
lrwxrwxrwx 1 root root 21 2004-08-12 07:06 linux-obj -> linux-2.6.5-7.104-obj
drwxr-xr-x 7 root root 168 2004-08-10 22:57 packages

I've followed all the guides and posts I can find. can redmac5 pull another excellent answer out of the bag? lets hope so!

cheers,
 
Old 08-12-2004, 06:04 PM   #14
FrostBot
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Kubuntu 10.10
Posts: 134

Original Poster
Rep: Reputation: 15
Follow this and it should work.

1) Open a terminal (as root) and type "init 3"
2) "cd /usr/src/linux"
3) "make cloneconfig"
4) "make prepare-all"
5) "sh NVIDIA-Linux-x86-1.0-6111-pkg1.run --kernel-source-path=/usr/src/linux"
6) Don't worry about the "rivafb" module, just continue
7) "sax2 -m 0=nvidia"
8) "init 5"

Let me know if it works.
 
Old 08-12-2004, 06:06 PM   #15
FrostBot
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Kubuntu 10.10
Posts: 134

Original Poster
Rep: Reputation: 15
In the "sax2 -m 0=nvidia" line, 0 is zero.
 
  


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
Unable to install xchm on SuSE Pro 9.3 due to wxWidgets JimmyTheHutt Linux - Software 0 10-19-2005 03:46 PM
nvidia driver won't update in Yast after SuSE 9.3 Pro. install dobsey Linux - Newbie 1 07-06-2005 11:46 AM
nvidia 6106, kernel 2.6.7, slackware 10, failure to load nvidia.ko Tarball_Phreak Linux - Hardware 3 08-04-2004 03:16 PM
Nvidia 6106 DavidTempler Linux - Hardware 1 07-15-2004 12:42 PM
NVidia 6106 drivers noobtesting Linux - Hardware 3 07-12-2004 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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