[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Installing nvidia driver ; Detecting ethernet card with new kernel



Hi,

I just installed woody.  The installation discs installed kernel
2.2.20-compact.  I have been struggling with installing the nvidia Riva
TNT-2 driver.  I downloaded the package
"NVIDIA-Linux-x86-1.0-4496-pkg2.run" from the nvidia site.

I tried the following steps :

1) As per instructions, I tried to run "sh
NVIDIA-Linux-x86-4496-pkg2.run".  This told me that a precompiled image
was not available for the above kernel-image

2) So, I downloaded the kernel-headers for 2.2.20-compact and tried to use
the "-kernel-include-path=" option while installing the driver.  This
failed with the following error

    "Failed cc sanity check.  Bailing out" (I have gcc 2.95.4)

3) So, I decided to upgrade my kernel.  I download kernel version 2.4.18
(image only) and again tried step (1).  Again, a precompiled kernel wasn't
found with the nvidia installer.

4) So, I again downloaded kernel-headers and kernel-sources and tried
using "--kernel-include-path=" option while installing the driver.  This
again failed with the following error :

  "Unable to load kernel module nvidia.o.  This is most likely because the
kernel module was built using the wrong kernel header files.".

I am attaching the nvidia-installer.log files associated with Steps (2)
and Steps (4) at the end of this email.

Can someone help me with this ?

Also, another related question with kernel upgrade.  After installing
kernel 2.4.18 (didnt compile it from souce, just used the image), when I
boot in the new kernel, the OS doesnt detect my ethernet card anymore
(the card is detected by the old kernel - 2.2.20-compact).  It is a 3Com
3c905 card.

Question : Do I need to reconfigure stuff for the new kernel so that it
detects the card again ?  If so, how do I do it ?

Thanks in advance,
Shriram Ramanathan.

***************************************************************************
nvidia-installer1b.log associated with "--include-kernel-path" option with
kernel 2.2.20-compact
-------------------------------------------------------------------------
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Sep 16 20:34:32 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     : /usr/src/kernel-headers-2.2.20-compact/include
  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: 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.
-> Using the kernel include path
   '/usr/src/kernel-headers-2.2.20-compact/include' as specified by the
   '--kernel-include-dir' commandline option.
-> Kernel include path: '/usr/src/kernel-headers-2.2.20-compact/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=/usr/src/kernel-header
   s-2.2.20-compact/include'...

   You appear to be compiling the NVIDIA kernel module with
   a compiler different from the one that was used to compile
   the running kernel. This may be perfectly fine, but there
   are cases where this can lead to unexpected behaviour and
   system crashes.

   If you know what you are doing and want to override this
   check, you can do so by setting IGNORE_CC_MISMATCH.

   In any other case, set the CC environment variable to the
   name of the compiler that was used to compile the kernel.

   *** Failed cc sanity check. Bailing out! ***
   make: *** [gcc-check] Error 1
-> 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.
*****************************************************************************

*****************************************************************************
nvidia-installer.log with "--include-kernel-path" with kernel version
2.4.18
-----------------------------------------------------------------------------
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Sep 15 20:16:04 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     : /usr/src/kernel-headers-2.4.18/include/
  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: 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 include path '/usr/src/kernel-headers-2.4.18/include/' as
   specified by the '--kernel-include-dir' commandline option.
-> Kernel include path: '/usr/src/kernel-headers-2.4.18/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=/usr/src/kernel-header
   s-2.4.18/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/usr/src/kernel-headers-2.4.18/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/usr/src/kernel-headers-2.4.18/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/usr/src/kernel-headers-2.4.18/include/ -Wno-cast-qual os-
   interface.c
   os-interface.c:729: warning: `wb_list' defined but not used
   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/usr/src/kernel-headers-2.4.18/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
   __get_free_pages_Rsmp_4784e424
   ./usr/src/nv/nvidia.o: unresolved symbol free_irq_Rsmp_f20dabd8
   ./usr/src/nv/nvidia.o: unresolved symbol strncpy_from_user_Rsmp_24428be5
   ./usr/src/nv/nvidia.o: unresolved symbol proc_root_driver_Rsmp_f4ba6fd1
   ./usr/src/nv/nvidia.o: unresolved symbol smp_call_function_Rsmp_0014bfd1
   ./usr/src/nv/nvidia.o: unresolved symbol boot_cpu_data_Rsmp_0657d037
   ./usr/src/nv/nvidia.o: unresolved symbol securebits_Rsmp_abe77484
   ./usr/src/nv/nvidia.o: unresolved symbol pci_read_config_dword_Rsmp_1372ae4e
   ./usr/src/nv/nvidia.o: unresolved symbol irq_stat_Rsmp_6586a399
   ./usr/src/nv/nvidia.o: unresolved symbol del_timer_Rsmp_fc62f16d
   ./usr/src/nv/nvidia.o: unresolved symbol create_proc_entry_Rsmp_b5e3694a
   ./usr/src/nv/nvidia.o: unresolved symbol
   __global_restore_flags_Rsmp_54dd1dcb
   ./usr/src/nv/nvidia.o: unresolved symbol mod_timer_Rsmp_1f13d309
   ./usr/src/nv/nvidia.o: unresolved symbol iounmap_Rsmp_5fb196d4
   ./usr/src/nv/nvidia.o: unresolved symbol
   pci_write_config_dword_Rsmp_af4ae244
   ./usr/src/nv/nvidia.o: unresolved symbol
   inter_module_get_request_Rsmp_b69f826b
   ./usr/src/nv/nvidia.o: unresolved symbol
   __generic_copy_to_user_Rsmp_d523fdd3
   ./usr/src/nv/nvidia.o: unresolved symbol pci_read_config_byte_Rsmp_3bd38f74
   ./usr/src/nv/nvidia.o: unresolved symbol pci_read_config_word_Rsmp_013f4ee4
   ./usr/src/nv/nvidia.o: unresolved symbol unregister_chrdev_Rsmp_c192d491
   ./usr/src/nv/nvidia.o: unresolved symbol mem_map_Rsmp_e42ca2c5
   ./usr/src/nv/nvidia.o: unresolved symbol __vmalloc_Rsmp_79995c5b
   ./usr/src/nv/nvidia.o: unresolved symbol pci_find_slot_Rsmp_56ea9be1
   ./usr/src/nv/nvidia.o: unresolved symbol __global_cli_Rsmp_64576b05
   ./usr/src/nv/nvidia.o: unresolved symbol sprintf_Rsmp_1d26aa98
   ./usr/src/nv/nvidia.o: unresolved symbol schedule_timeout_Rsmp_17d59d01
   ./usr/src/nv/nvidia.o: unresolved symbol __ioremap_Rsmp_9eac042a
   ./usr/src/nv/nvidia.o: unresolved symbol pm_unregister_Rsmp_eccd1e64
   ./usr/src/nv/nvidia.o: unresolved symbol __wake_up_Rsmp_127fda83
   ./usr/src/nv/nvidia.o: unresolved symbol printk_Rsmp_1b7d4074
   ./usr/src/nv/nvidia.o: unresolved symbol kfree_Rsmp_037a0cba
   ./usr/src/nv/nvidia.o: unresolved symbol tq_immediate_Rsmp_0da0dcd1
   ./usr/src/nv/nvidia.o: unresolved symbol inter_module_get_Rsmp_f6a0ce24
   ./usr/src/nv/nvidia.o: unresolved symbol remap_page_range_Rsmp_69d01e73
   ./usr/src/nv/nvidia.o: unresolved symbol __global_save_flags_Rsmp_5d902e96
   ./usr/src/nv/nvidia.o: unresolved symbol pci_find_class_Rsmp_78d109cb
   ./usr/src/nv/nvidia.o: unresolved symbol tqueue_lock_Rsmp_b7a0c0b5
   ./usr/src/nv/nvidia.o: unresolved symbol free_pages_Rsmp_9941ccb8
   ./usr/src/nv/nvidia.o: unresolved symbol kill_proc_Rsmp_932da67e
   ./usr/src/nv/nvidia.o: unresolved symbol pci_write_config_byte_Rsmp_c19e8242
   ./usr/src/nv/nvidia.o: unresolved symbol vfree_Rsmp_2fd1d81c
   ./usr/src/nv/nvidia.o: unresolved symbol inter_module_put_Rsmp_6b99f7d8
   ./usr/src/nv/nvidia.o: unresolved symbol remove_proc_entry_Rsmp_dd4655a7
   ./usr/src/nv/nvidia.o: unresolved symbol kmalloc_Rsmp_93d4cfe6
   ./usr/src/nv/nvidia.o: unresolved symbol init_mm_Rsmp_a08a12c7
   ./usr/src/nv/nvidia.o: unresolved symbol smp_num_cpus_Rsmp_3b86334d
   ./usr/src/nv/nvidia.o: unresolved symbol __const_udelay_Rsmp_eae3dfd6
   ./usr/src/nv/nvidia.o: unresolved symbol register_chrdev_Rsmp_fd911478
   ./usr/src/nv/nvidia.o: unresolved symbol __udelay_Rsmp_9e7d6bd0
   ./usr/src/nv/nvidia.o: unresolved symbol high_memory_Rsmp_8a7d1c31
   ./usr/src/nv/nvidia.o: unresolved symbol pm_register_Rsmp_8dbab11c
   ./usr/src/nv/nvidia.o: unresolved symbol vsprintf_Rsmp_13d9cea7
   ./usr/src/nv/nvidia.o: unresolved symbol
   __generic_copy_from_user_Rsmp_116166aa
   ./usr/src/nv/nvidia.o: unresolved symbol jiffies_Rsmp_0da02d67
   ./usr/src/nv/nvidia.o: unresolved symbol __pollwait_Rsmp_ebc765eb
   ./usr/src/nv/nvidia.o: unresolved symbol request_irq_Rsmp_0c60f2e0
   ./usr/src/nv/nvidia.o: unresolved symbol bh_task_vec_Rsmp_284177b8
   ./usr/src/nv/nvidia.o: unresolved symbol pci_find_device_Rsmp_8b4d5816
   ./usr/src/nv/nvidia.o: unresolved symbol do_gettimeofday_Rsmp_72270e35
   ./usr/src/nv/nvidia.o: unresolved symbol pci_write_config_word_Rsmp_c7c3e0a9
   ./usr/src/nv/nvidia.o: unresolved symbol __tasklet_hi_schedule_Rsmp_60ea5fe7
   ./usr/src/nv/nvidia.o:
   Hint: You are trying to load a module without a GPL compatible license
   and it has unresolved symbols.  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.
******************************************************************************



Reply to: