[pkg-nvidia-devel] Bug#523947: Bug#523947: driver fails to build from nvidia-kernel-source-180.44

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Mon Apr 13 22:12:53 UTC 2009


On Mon, Apr 13, 2009 at 11:24:09PM +0300, Eftaxiopoulos Dimitrios wrote:
> Package: nvidia-kernel-source
> Version: 180.44-2
> Severity: important
> Justification: fails to build from source
> 
> Attached is the log file of the failure of module-assistant to build
> the nvidia graphics driver.
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (101, 'experimental')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.29-1-686-bigmem (SMP w/4 CPU cores)
> Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages nvidia-kernel-source depends on:
> ii  debhelper                     7.2.7      helper programs for debian/rules
> ii  dpatch                        2.0.31     patch maintenance system for Debia
> ii  make                          3.81-5     The GNU version of the "make" util
> ii  sed                           4.1.5-8    The GNU sed stream editor
> 
> Versions of packages nvidia-kernel-source recommends:
> ii  devscripts                    2.10.48    scripts to make the life of a Debi
> ii  kernel-package                12.006     A utility for building Linux kerne
> ii  nvidia-glx                    180.29-1   NVIDIA binary Xorg driver
> 
> nvidia-kernel-source suggests no packages.
> 
> -- no debconf information

> /usr/bin/make -C . LINUXDIR=/lib/modules/2.6.29-1-686-bigmem/build KVERREL=2.6.29-1-686-bigmem clean
> make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
> rm -rf *.o *.ko .depend .*.flags .*.d .*.cmd *.mod.c .tmp_versions
> make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
> dh_clean
> /usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
> make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
> /usr/bin/make -C . LINUXDIR=/lib/modules/2.6.29-1-686-bigmem/build KVERREL=2.6.29-1-686-bigmem clean
> make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
> make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
> dh_clean
> /usr/bin/make -w -f debian/rules configure
> make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
> sed 's/#KVERS#/2.6.29-1-686-bigmem/g' debian/control.template > /usr/src/modules/nvidia-kernel/debian/control
> sed 's/#KVERS#/2.6.29-1-686-bigmem/g' debian/dirs.template > /usr/src/modules/nvidia-kernel/debian/dirs
> sed 's/#KVERS#/2.6.29-1-686-bigmem/g' debian/override.template > /usr/src/modules/nvidia-kernel/debian/override
> make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
> sed 's/#KVERS#/2.6.29-1-686-bigmem/g' debian/control.template > /usr/src/modules/nvidia-kernel/debian/control
> sed 's/#KVERS#/2.6.29-1-686-bigmem/g' debian/dirs.template > /usr/src/modules/nvidia-kernel/debian/dirs
> sed 's/#KVERS#/2.6.29-1-686-bigmem/g' debian/override.template > /usr/src/modules/nvidia-kernel/debian/override
> dh_testroot
> dh_prep
> # Build the modules
> /usr/bin/make -C . LINUXDIR=/lib/modules/2.6.29-1-686-bigmem/build KVERREL=2.6.29-1-686-bigmem
> make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
> make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
> # Install the modules
> dh_installdirs
> install -m 0644 /usr/src/modules/nvidia-kernel/debian/override /usr/src/modules/nvidia-kernel/debian/nvidia-kernel-2.6.29-1-686-bigmem/usr/share/lintian/overrides/nvidia-kernel-2.6.29-1-686-bigmem
> install -m 0644 /usr/src/modules/nvidia-kernel/nvidia.ko /usr/src/modules/nvidia-kernel/debian/nvidia-kernel-2.6.29-1-686-bigmem/lib/modules/2.6.29-1-686-bigmem/nvidia/nvidia.ko ; \
> 
> install: cannot stat ??/usr/src/modules/nvidia-kernel/nvidia.ko??: ?????? ?????????????? ???????????? ???????????? ?? ??????????????????
> make[1]: *** [binary-modules] Error 1
> make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
> make: *** [kdist_build] Error 2

Did you 'rm -rf /usr/src/modules/nvidia-kernel' before starting?
Sometimes junk from a previous version causes big problems.

What exact command did you run to make it build?

And please set LANG to C before generating logs.

-- 
Len Sorensen





More information about the Pkg-nvidia-devel mailing list