LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-22-2003, 03:09 PM   #1
yzrider210
Member
 
Registered: Oct 2003
Location: Nor Cal
Distribution: SuSE 9.0 Pro
Posts: 130

Rep: Reputation: 15
Install kernel source package


I'm trying to install the current NVIDIA driver for my FX 5200 card, and it just won't do it. I was told in another forum to install the kernel source package, but he didnt know how to or if that was necesarily the problem. If that is the problem, how do I do that. If it isn't the problem, what is? Here's the error log when I tried to install the driver:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Nov 20 18:40:58 2003

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 include path : (not specified)
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.
-> 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.
ERROR: Unable to find the kernel header files for the currently running kernel.
Please make sure you have installed the kernel header 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 header
files are installed, you may specify the kernel include path with the
'--kernel-include-path' commandline option.
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 11-22-2003, 03:35 PM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Quote:
kernel include path : (not specified)
kernel install path : (not specified)
find out which kernel you have by this command:
uname -r
then find and install the kernel source for youe specific kernel..do a search on this site you will find a lot of similar posts.
 
Old 11-22-2003, 03:39 PM   #3
Orwick Alefgard
LQ Newbie
 
Registered: Jun 2003
Location: Richmond, VA
Distribution: Mandrake 9.1
Posts: 16

Rep: Reputation: 0
EDIT: Looks like you posted 60 seconds before I did. I'll try that.

Hello all.

I am having the exact same problem, only on a Mandrake 9.2 box.

Here is a copy of my log file. Can anyone tell me what this means in English?

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Nov 22 12:25:12 2003

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 include path     : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /root/tmp
  ftp site                : ftp://download.nvidia.com

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 include path: '/lib/modules/2.4.22-10mdk/build/include'
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f nv.o os-agp.o os-interface.o os-registry.o  nv-linux.o nv_compiler.h *
   .d NVdriver nvidia.o
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/lib/modules/2.4.22-10
   mdk/build/include'...
   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 -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -
   DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_
   _KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE
   L=4496  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PA
   GE_RANGE_4  -I. -I/lib/modules/2.4.22-10mdk/build/include -Wno-cast-qual nv.
   c
   cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
   arentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -
   DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_
   _KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE
   L=4496  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PA
   GE_RANGE_4  -I. -I/lib/modules/2.4.22-10mdk/build/include -Wno-cast-qual os-
   agp.c
   cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
   arentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -
   DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_
   _KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE
   L=4496  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PA
   GE_RANGE_4  -I. -I/lib/modules/2.4.22-10mdk/build/include -Wno-cast-qual os-
   interface.c
   cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
   arentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -
   DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_
   _KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE
   L=4496  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PA
   GE_RANGE_4  -I. -I/lib/modules/2.4.22-10mdk/build/include -Wno-cast-qual os-
   registry.c
   ld -r -o nv-linux.o nv.o os-agp.o os-interface.o os-registry.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 is most likely
       because the kernel module was built using the wrong kernel header files.
       Please make sure you have installed the kernel header 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 header
       files are installed, you may specify the kernel include path with the
       '--kernel-include-path' commandline option.
-> Kernel module load error: ./usr/src/nv/nvidia.o: unresolved symbol
   init_mm_Rb238dcab
   ./usr/src/nv/nvidia.o: unresolved symbol __pollwait_R5cddb06a
   ./usr/src/nv/nvidia.o: unresolved symbol irq_stat_R346aa8e2
   ./usr/src/nv/nvidia.o: unresolved symbol change_page_attr_R1078ca32
   ./usr/src/nv/nvidia.o: unresolved symbol devfs_register_chrdev_Ra82ebff9
   ./usr/src/nv/nvidia.o: unresolved symbol devfs_unregister_Rfe126b72
   ./usr/src/nv/nvidia.o: unresolved symbol remove_proc_entry_Rf05ffaa5
   ./usr/src/nv/nvidia.o: unresolved symbol create_proc_entry_R74d25774
   ./usr/src/nv/nvidia.o: unresolved symbol proc_root_driver_R25661860
   ./usr/src/nv/nvidia.o: unresolved symbol devfs_register_R3cc4735c
   ./usr/src/nv/nvidia.o: unresolved symbol mem_map_R25c9af1e
   ./usr/src/nv/nvidia.o:
   Hint: You are trying to load a module without a GPL compatible license
   and it has unresolved symbols.  The module may be trying to access
   GPLONLY symbols but the problem is more likely to be a coding or
   user error.  Contact the module supplier for assistance, only they
   can help you.
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.
If you need any further information, just let me know and I'd be glad to provide it.

Thanks in advance for all of your help.

Orwick Alefgard

Last edited by Orwick Alefgard; 11-22-2003 at 03:41 PM.
 
  


Reply


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
new kernel compiled successfully, but the kernel-source package is the same old? luqman Red Hat 2 03-03-2005 09:41 AM
kernel-source package houston1981 DamnSmallLinux 0 12-01-2004 05:50 AM
FC3 - how to get and install kernel-source package? philou Fedora 2 11-14-2004 09:01 AM
what is this kernel source package? vrdhananjay Linux - Newbie 3 09-22-2004 01:37 AM
problem installing kernel source package ludwig W Linux - Newbie 1 03-23-2003 09:18 AM


All times are GMT -5. The time now is 10:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration