Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 03-06-2004, 10:32 AM   #1
LQ Newbie
Registered: Feb 2002
Location: Slovenia
Distribution: Slackware 8.0
Posts: 11

Rep: Reputation: 0
kernel 2.6.3--bk8 and NVIDIA-Linux-x86-1.0-5336 video driver from Nvidia

I tried to install NVIDIA-Linux-x86-1.0-5336 video driver from Nvidia on my Slackware 9.1 distro with kernel 2.6.3--bk8.
At compilig the driver I got error:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Mar 6 13:05:21 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
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp

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-5336), 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 ? (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.
-> Kernel source path: '/lib/modules/2.6.3-bk8/build'
-> Performing cc_version_check with CC="cc".
-> 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=/lib/modules/2.6.3-bk8/build
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz972/NVID
CC [M] /tmp/selfgz972/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o
/tmp/selfgz972/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1185: warning:
initialization from incompatible pointer type
CC [M] /tmp/selfgz972/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.o
CC [M] /tmp/selfgz972/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-interf
CC [M] /tmp/selfgz972/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-regist
LD [M] /tmp/selfgz972/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nvidia.o
Building modules, stage 2.
arch/i386/kernel/.msr.mod.o.cmd:1: warning: NUL character seen; rest of line
arch/i386/kernel/.msr.mod.o.cmd:2: warning: NUL character seen; rest of line
arch/i386/kernel/.msr.mod.o.cmd:2: *** missing separator. Stop.
make[2]: *** [modules] Error 2
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 nvidia.

What is wrong? Is there any chance to compile and instal the driver.

Please help.

The driver compiles and works on my current working kernel 2.4.23-pre6.

Zdenko from Slovenia
Old 03-06-2004, 12:46 PM   #2
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
get the 2.6 series specific drivers from try patched older drivers from
Old 03-09-2004, 06:38 AM   #3
LQ Newbie
Registered: Feb 2002
Location: Slovenia
Distribution: Slackware 8.0
Posts: 11

Original Poster
Rep: Reputation: 0
Thank, you!

I solved the problem. I eliminated MSR from compiling (none: in or module).

for the kernel version:

I use Philips SAA7134 based TV card, for which the kernel patch for that particular subversion was available. (At the end I finished with that subversion with dead TV card - module returned i2c errors).

In the feature I'll stick with more reliable versions.
k 2.6.x was for curiosity, else I use 2.4.23 kernel.



p.s.: Regarding Nvidia video driver compiling/installing: I had troubles with executable.
So I used -x and unpack it. After "make install" all was completed without a single error!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 ( undef00 Linux - Hardware 8 08-21-2005 03:35 PM
RH9 Nvidia driver upgrade from 5336 to 6106, GLX problems ZeeMan Red Hat 2 08-25-2004 12:13 PM
NVIDIA driver 5336 FB console simbolo Linux - Hardware 0 02-26-2004 12:02 PM
NVIDIA driver 5336 FB console simbolo Linux - Software 0 02-24-2004 09:46 PM
NVIDIA 1.0 5336 driver issues! CliffLandin Linux - Hardware 1 02-03-2004 11:54 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration