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

Re: nvidia drivers & kernel headers



I thought of this after I sent this out, but would
upgrading to testing resolve this problem? Knoppix 3.3
will "see" the video card I'm trying to install, and
Debian stable doesn't.

--- John Yurcik <jyyc73@yahoo.com> wrote:
> Thanks, after creating the symbolic link the nvidia
> shell script build the kernel interface but then
> stopped with the following response: (and also I
> believe that the headers are the correct ones for my
> kernel)
>  executing: 'cd ./usr/src/nv; make nvidia.o
> SYSINCLUDE=/usr/src/linux/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/linux/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/linux/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/linux/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/usr/src/linux/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 
>    devfs_register_chrdev_R20a18c11 
>    ./usr/src/nv/nvidia.o: unresolved symbol
> mem_map_R22d9a713 
>    ./usr/src/nv/nvidia.o: unresolved symbol
> devfs_register_R523235af 
>    ./usr/src/nv/nvidia.o: unresolved symbol
> irq_stat_R6cdfcf3e 
>    ./usr/src/nv/nvidia.o: unresolved symbol
> init_mm_R33601568 
>    ./usr/src/nv/nvidia.o: unresolved symbol
> devfs_unregister_R8e255fa4 
>    ./usr/src/nv/nvidia.o: unresolved symbol
> remove_proc_entry_R5d34571b 
>    ./usr/src/nv/nvidia.o: unresolved symbol
> __pollwait_Rf0ced4f0 
>    ./usr/src/nv/nvidia.o: unresolved symbol
> create_proc_entry_Rea80db1e 
>    ./usr/src/nv/nvidia.o: unresolved symbol
> proc_root_driver_R4e04d290 
>    ./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.
>  
> That line "Hint you are trying to load a module
> without GPL compatible licence..." is that the
> problem? And of course what do I do about it? 
> I always thought nvidia was ok because they provide
> drivers for linux. Should I be supporting some other
> video card maker? 
> 
> --- "Scott C. Linnenbringer" <sl@panix.com> wrote:
> > On Sat, 18 Oct 2003 11:19:34 -0700 (PDT), John
> > Yurcik <jyyc73@yahoo.com>
> > wrote: 
> > 
> > > Hi, I have installed kernel headers (athlon
> 990mhz
> > > running debian stable) Kernel-headers
> 2.4.18-1-k7
> > are
> > > in the /include/ directory. 
> > > Attempting to load the Nvidia drivers from the
> > shell
> > > command, 'Sh NVIDIA-Linux-X86-1.0-4496-pkg2.run'
> I
> > get
> > > the message: "Unable to find the kernel header
> > files
> > > for the currently running kernel. If you know
> the
> > > correct kernel header files are installed, you
> may
> > > specify the kernel include path with the
> > > '--kernel-include-path' commandline option.
> > > I don't know how to do that i.e., the
> commandline
> > > option and I don't know if that is what I need
> to
> > do
> > > to load the driver. Any suggestions? Thanks
> > 
> > This is happening because the NVIDIA installer is
> > looking for your
> > kernel headers in /usr/src/linux, which is often
> > just a symlink to your
> > kernel's source. However, the headers package
> won't
> > automatically make
> > the symlink.
> > 
> > So, just do the following:
> > 
> > ln -s /usr/src/kernel-headers-2.4.18-1-k7
> > /usr/src/linux
> > 
> > ... and you should be set.
> > 
> > 
> > -- 
> > scott c. linnenbringer    |  sl@panix.com
> > http://www.panix.com/~sl  | sl@moslug.org
> > jabber: sl@theoretic.com  |  irc: Jawoota
> > 
> > 
> 
> > ATTACHMENT part 2 application/pgp-signature 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product
> search
> http://shopping.yahoo.com
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com



Reply to: