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

Re: NVIDIA card & lenny



On Tue November 13 2007, Florian Kulzer wrote:
> > is that enough info?
>
> Yes, it is. Install the gcc-4.1 package if it is not on your system
> already. Then run
>
> export CC=gcc-4.1

well, it went further insto the process, but still bombed out at the 
nvidia.ko :
-> Performing CC version check with CC="gcc-4.1".

 NVIDIA: calling KBUILD...
   make CC=gcc-4.1  KBUILD_VERBOSE=1 -C /usr/src/linux 
SUBDIRS=/tmp/selfgz11601
   /NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (         
\
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf 
are missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to 
fix it
   .";  \
        echo;                                                           \
        /bin/false)


-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most
       frequently when this kernel module was built against the wrong or
       improperly configured kernel sources, with a version of gcc that 
differs
       from the one used to build the target kernel, or if a driver such as
       rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
       obtaining ownership of the NVIDIA graphics device(s).
       
       Please see the log entries 'Kernel module load error' and 'Kernel
       messages' at the end of the file '/var/log/nvidia-installer.log' for
       more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
   -1 Invalid module format
-------------------
there is no /usr/src/nv...
 ls /usr/src
linux
linux-2.6.18.4
linux-headers-2.6.18-4
linux-headers-2.6.18-4-686
linux-headers-2.6.18-5
linux-headers-2.6.18-5-686
linux-kbuild-2.6.18
linux-OLDVERSION.1191720673
modules
nvidia-kernel-2.6.18-5-686_100.14.20+2.6.18.dfsg.1-13etch3_i386.deb
nvidia-kernel-source.tar.gz
pbc@paulandcilla:/var/log$ 



-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459



Reply to: