[pkg-nvidia-devel] Bug#476504: more information

jcarter at mindmerge.net jcarter at mindmerge.net
Sat May 24 15:05:38 UTC 2008


mentat:~# lshw -c video
  *-display UNCLAIMED     
       description: VGA compatible controller
       product: GeForce 7900 GS
       vendor: nVidia Corporation
       physical id: 0
       bus info: pci at 0000:01:00.0
       version: a2
       width: 32 bits
       clock: 66MHz
       capabilities: pm agp agp-3.0 bus_master cap_list
       configuration: latency=32 maxlatency=1 mingnt=5



Module Assistant output below...

mentat:~# module-assistant -ftv update
Updating info about acx100-source
Updating info about affix-source
Updating info about alsa-source
Updating info about arla-modules-source
Updating info about at76c503a-source
Updating info about bcm4400-source
Updating info about bcm5700-source
Updating info about cdfs-src
Updating info about cipe-source
Updating info about cloop-src
Updating info about comedi-source
Updating info about cpad-kernel-source
Updating info about cryptoapi-core-source
Updating info about cryptoloop-source
Updating info about dazuko-source
Updating info about ddrmat-source
Updating info about device3dfx-source
Updating info about drbd0.7-module-source
Updating info about drbd8-module-source
Updating info about dvb-driver-source
Updating info about e100-source
Updating info about eagle-usb-modules-source
Updating info about em8300-source
Updating info about exmap-modules-source
Updating info about fglrx-kernel-src
Updating info about freeswan-modules-source
Updating info about ftape-source
Updating info about ftpfs-src
Updating info about fuse-source
Updating info about fwatch-modules-src
Updating info about gpib-modules-source
Updating info about hostap-source
Updating info about hubcot-source
Updating info about i2c-source
Updating info about ieee80211-source
Updating info about ipw2100-source
Updating info about ipw2200-source
Updating info about ivtv-source
Updating info about kqemu-source
Updating info about linux-uvc-source
Updating info about linux-wlan-ng-source
Updating info about lirc-modules-source
Updating info about lm-sensors-source
Updating info about loop-aes-ciphers-source
Updating info about loop-aes-source
Updating info about lufs-source
Updating info about madwifi-source
Updating info about mga-vid-source
Updating info about misdn-kernel-source
Updating info about ndiswrapper-source
Updating info about nozomi-source
Updating info about nvidia-kernel-legacy-source
Updating info about nvidia-kernel-source
Updating info about openafs-modules-source
Updating info about openswan-modules-source
Updating info about ov511-source
Updating info about pcmcia-source
Updating info about plex86-kernel-src
Updating info about ppscsi-source
Updating info about qc-usb-source
Updating info about qla2x00-source
Updating info about realtime-lsm-source
Updating info about rt2400-source
Updating info about rt2500-source
Updating info about rt2570-source
Updating info about rtai-source
Updating info about shfs-source
Updating info about sl-modem-source
Updating info about spca5xx-source
Updating info about squashfs-source
Updating info about sysprof-module-source
Updating info about thinkpad-source
Updating info about tidev-modules-source
Updating info about translucency-source
Updating info about tun-source
Updating info about unicorn-source
Updating info about unionfs-source
Updating info about userlink-source
Updating info about vaiostat-source
Updating info about video4linux-nw802-source
Updating info about wacom-kernel-source
Updating info about xdslusb-source
Updating info about xlibmesa-drm-src
Updating info about zaptel-source
Updating info about zd1211-source


Updated infos about 85 packages



mentat:~# module-assistant -ftv prepare
Getting source for kernel version: 2.6.25-2-amd64
Kernel headers available in /lib/modules/2.6.25-2-amd64/build
apt-get install build-essential 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
The following packages were automatically installed and are no longer
required:
  libpoppler2 libpoppler-glib2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done!



mentat:~# module-assistant -ftv get nvidia-kernel-source
download 
 apt-get -y --force-yes --reinstall install nvidia-kernel-source
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  libpoppler2 libpoppler-glib2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not
upgraded.
Need to get 0B/5048kB of archives.
After this operation, 0B of additional disk space will be used.
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 201504 files and directories currently installed.)
Preparing to replace nvidia-kernel-source 169.12-1 (using
.../nvidia-kernel-source_169.12-1_amd64.deb) ...
Unpacking replacement nvidia-kernel-source ...
Setting up nvidia-kernel-source (169.12-1) ...
Updating info about nvidia-kernel-source

Updated infos about 1 packages



mentat:~# module-assistant -ftv build nvidia-kernel-source
unpack 
Extracting the package tarball, /usr/src/nvidia-kernel.tar.bz2, please
wait...
 action tar --bzip2 -x -f /usr/src/nvidia-kernel.tar.bz2
 tar --bzip2 -x -f /usr/src/nvidia-kernel.tar.bz2
"/usr/share/modass/packages/nvidia-kernel-source" build
KVERS=2.6.25-2-amd64 KSRC=/lib/modules/2.6.25-2-amd64/build
KDREV=2.6.25-3 kdist_image
 debian/rules kdist_clean
/usr/bin/make  -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true
if [ 6 = 6  ]; then \
	     cd /usr/src/modules/nvidia-kernel/nv ; \
	     ln -s Makefile.kbuild Makefile ; \
	     cd .. ; \
	fi
if [  6 = 4  ]; then \
	     cd /usr/src/modules/nvidia-kernel/nv ; \
	     ln -s Makefile.nvidia Makefile ; \
	     cd .. ; \
	fi
if [ -e patch-stamp ]; then \
	   dpatch deapply-all ; \
	   rm -rf patch-stamp debian/patched ; \
	fi   
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
		cp  /usr/src/modules/nvidia-kernel/debian/control.template
/usr/src/modules/nvidia-kernel/debian/control; \
	fi
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean SYSSRC=/lib/modules/2.6.25-2-amd64/build -C
/usr/src/modules/nvidia-kernel/nv -f Makefile 
make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true; 	
rm /usr/src/modules/nvidia-kernel/nv/gcc-check
rm /usr/src/modules/nvidia-kernel/nv/cc-sanity-check
dh_clean
rm /usr/src/modules/nvidia-kernel/debian/control
rm /usr/src/modules/nvidia-kernel/debian/dirs
rm: cannot remove `/usr/src/modules/nvidia-kernel/debian/dirs': No such
file or directory
make[1]: [clean] Error 1 (ignored)
rm /usr/src/modules/nvidia-kernel/debian/override
rm: cannot remove `/usr/src/modules/nvidia-kernel/debian/override': No
such file or directory
make[1]: [clean] Error 1 (ignored)
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
 debian/rules KVERS=2.6.25-2-amd64
KSRC=/lib/modules/2.6.25-2-amd64/build KDREV=2.6.25-3 kdist_image
echo "ROOT_CMD = "
ROOT_CMD = 
/usr/bin/make  -f debian/rules binary_modules
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true
if [ 6 = 6  ]; then \
	     cd /usr/src/modules/nvidia-kernel/nv ; \
	     ln -s Makefile.kbuild Makefile ; \
	     cd .. ; \
	fi
if [  6 = 4  ]; then \
	     cd /usr/src/modules/nvidia-kernel/nv ; \
	     ln -s Makefile.nvidia Makefile ; \
	     cd .. ; \
	fi
if ! gcc-4.1 -v 2> /dev/null  ; then \
	   echo "Compiler gcc-4.1 does not exist on the system" ; \
	   exit 1; \
	fi   
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
		cp  /usr/src/modules/nvidia-kernel/debian/control.template
/usr/src/modules/nvidia-kernel/debian/control; \
	fi
if [ "x86_64" = "x86_64" ]; then \
		cp /usr/src/modules/nvidia-kernel/nv-kernel.o.x86_64
/usr/src/modules/nvidia-kernel/nv/nv-kernel.o ; \
	fi   
touch configure-stamp
dh_testdir
dh_testroot
PATCHLEVEL = 6 
Kernel compiler version : 4.1.2
Detected compiler version : 4.1.2
Using compiler gcc-4.1 version 4.1.2
touch /usr/src/modules/nvidia-kernel/nv/gcc-check
touch /usr/src/modules/nvidia-kernel/nv/cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.1" /usr/bin/make -C
/usr/src/modules/nvidia-kernel/nv -f Makefile
SYSSRC=/lib/modules/2.6.25-2-amd64/build   KBUILD_PARAMS="-C
/lib/modules/2.6.25-2-amd64/build
SUBDIRS=/usr/src/modules/nvidia-kernel/nv" module;
make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
NVIDIA: calling KBUILD...
make CC=gcc-4.1 -C /lib/modules/2.6.25-2-amd64/build
SUBDIRS=/usr/src/modules/nvidia-kernel/nv modules
/bin/sh:
/usr/src/linux-headers-2.6.25-2-amd64/scripts/gcc-x86_64-has-stack-protector.sh:
No such file or directory
/bin/sh:
/usr/src/linux-headers-2.6.25-2-amd64/scripts/gcc-x86_64-has-stack-protector.sh:
No such file or directory
make[3]: Entering directory `/usr/src/linux-headers-2.6.25-2-amd64'
  CC [M]  /usr/src/modules/nvidia-kernel/nv/nv.o
In file included from include/asm/dma-mapping_64.h:9,
                 from include/asm/dma-mapping.h:4,
                 from include/linux/dma-mapping.h:52,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from include/asm/pci.h:90,
                 from include/linux/pci.h:945,
                 from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:86,
                 from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:199: warning: pointer of type 'void *' used
in arithmetic
In file included from include/asm/pci.h:90,
                 from include/linux/pci.h:945,
                 from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:86,
                 from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/asm-generic/pci-dma-compat.h: In function 'pci_map_page':
include/asm-generic/pci-dma-compat.h:49: warning: pointer of type 'void
*' used in arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:109,
                 from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:134: warning: pointer of type 'void *' used in
arithmetic
include/linux/highmem.h:137: warning: pointer of type 'void *' used in
arithmetic
In file included from include/linux/compat.h:14,
                 from include/asm/mtrr.h:135,
                 from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:121,
                 from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/asm/compat.h: In function 'compat_alloc_user_space':
include/asm/compat.h:210: warning: pointer of type 'void *' used in
arithmetic
/usr/src/modules/nvidia-kernel/nv/nv.c: In function
'__nv_setup_pat_entries':
/usr/src/modules/nvidia-kernel/nv/nv.c:944: warning: comparison between
signed and unsigned
/usr/src/modules/nvidia-kernel/nv/nv.c: In function
'__nv_restore_pat_entries':
/usr/src/modules/nvidia-kernel/nv/nv.c:970: warning: comparison between
signed and unsigned
/usr/src/modules/nvidia-kernel/nv/nv.c: In function
'nv_kern_cpu_callback':
/usr/src/modules/nvidia-kernel/nv/nv.c:1283: warning: comparison between
signed and unsigned
/usr/src/modules/nvidia-kernel/nv/nv.c:1290: warning: comparison between
signed and unsigned
  CC [M]  /usr/src/modules/nvidia-kernel/nv/nv-vm.o
In file included from include/asm/dma-mapping_64.h:9,
                 from include/asm/dma-mapping.h:4,
                 from include/linux/dma-mapping.h:52,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from include/asm/pci.h:90,
                 from include/linux/pci.h:945,
                 from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:86,
                 from /usr/src/modules/nvidia-kernel/nv/nv-vm.c:14:
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:199: warning: pointer of type 'void *' used
in arithmetic
In file included from include/asm/pci.h:90,
                 from include/linux/pci.h:945,
                 from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:86,
                 from /usr/src/modules/nvidia-kernel/nv/nv-vm.c:14:
include/asm-generic/pci-dma-compat.h: In function 'pci_map_page':
include/asm-generic/pci-dma-compat.h:49: warning: pointer of type 'void
*' used in arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:109,
                 from /usr/src/modules/nvidia-kernel/nv/nv-vm.c:14:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:134: warning: pointer of type 'void *' used in
arithmetic
include/linux/highmem.h:137: warning: pointer of type 'void *' used in
arithmetic
In file included from include/linux/compat.h:14,
                 from include/asm/mtrr.h:135,
                 from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:121,
                 from /usr/src/modules/nvidia-kernel/nv/nv-vm.c:14:
include/asm/compat.h: In function 'compat_alloc_user_space':
include/asm/compat.h:210: warning: pointer of type 'void *' used in
arithmetic
/usr/src/modules/nvidia-kernel/nv/nv-vm.c: In function
'nv_set_page_attrib_uncached':
/usr/src/modules/nvidia-kernel/nv/nv-vm.c:64: warning:
'change_page_attr' is deprecated (declared at
include/asm/cacheflush.h:28)
/usr/src/modules/nvidia-kernel/nv/nv-vm.c: In function
'nv_set_page_attrib_cached':
/usr/src/modules/nvidia-kernel/nv/nv-vm.c:79: warning:
'change_page_attr' is deprecated (declared at
include/asm/cacheflush.h:28)
/usr/src/modules/nvidia-kernel/nv/nv-vm.c: In function
'nv_flush_caches':
/usr/src/modules/nvidia-kernel/nv/nv-vm.c:364: error: implicit
declaration of function 'global_flush_tlb'
make[4]: *** [/usr/src/modules/nvidia-kernel/nv/nv-vm.o] Error 1
make[3]: *** [_module_/usr/src/modules/nvidia-kernel/nv] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.25-2-amd64'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
make: *** [kdist_image] Error 2
BUILD FAILED!
See
/var/cache/modass/nvidia-kernel-source.buildlog.2.6.25-2-amd64.1211640427
for details.
Build failed. Press Return to continue...



James Carter
jcarter at mindmerge.net
http://www.mindmerge.net

"The right of the citizens to keep and bear arms has justly been
considered as the palladium of the liberties of a republic; since it
offers a strong moral check against usurpation and arbitrary power of
rulers; and will generally, even if these are successful in the first
instance, enable the people to resist and triumph over them."
-- Supreme Court Justice Joseph Story of the John Marshall Court







More information about the Pkg-nvidia-devel mailing list