[pkg-nvidia-devel] Bug#582748: nvidia-kernel-dkms: fails to build module due to missing files

Alexander Heinlein alexander.heinlein at web.de
Sun May 23 11:13:13 UTC 2010

Package: nvidia-kernel-dkms
Version: 195.36.24-1
Severity: important


building the kernel moduel fails with the following error message:
 fixdep: /var/lib/dkms/nvidia/195.36.24/build/.nv_gvi.o.d: No such file or directory

The same message occurs when running the nvidia install script manually. The
only solution for me is to run the following commands to create the relevant
symlinks inside the build directory (during the run of the installer script
resp. nvidia-kernel-dkms with the help of a little loop):
 ln -s .tmp_nv_gvi.d .nv_gvi.o.d
 ln -s .tmp_nv-vm.d .nv-vm.o.d
 ln -s .tmp_os-agp.d .os-agp.o.d
 ln -s .tmp_os-interface.d .os-interface.o.d
 ln -s .tmp_os-registry.d .os-registry.o.d
 ln -s .tmp_nv-i2c.d .nv-i2c.o.d
 ln -s .tmp_nvacpi.d .nvacpi.o.d
 ln -s .nvidia.mod.o.tmp .nvidia.mod.o.d

Afterwards, the installation succeeds.

Haven't figured out yet why the installer creates the wrong file names, but
this problem also occurs a few times when searching the web.


-- Package-specific info:
uname -a:
Linux scy 2.6.32-3-686-bigmem #1 SMP Thu Feb 25 06:54:30 UTC 2010 i686 GNU/Linux

Linux version 2.6.32-3-686-bigmem (Debian 2.6.32-9) (maks at debian.org) (gcc version 4.3.4 (Debian 4.3.4-8) ) #1 SMP Thu Feb 25 06:54:30 UTC 2010

NVRM version: NVIDIA UNIX x86 Kernel Module  190.53  Tue Dec  8 18:51:41 PST 2009
GCC version:  gcc version 4.3.4 (Debian 4.3.4-8) 

lspci 'VGA compatible controller [0300]':
01:00.0 VGA compatible controller [0300]: nVidia Corporation G86 [GeForce 8500 GT] [10de:0421] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Micro-Star International Co., Ltd. NX8500GT-TD512EH/M2 [1462:0960]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at e2000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at e0000000 (64-bit, non-prefetchable) [size=32M]
	Region 5: I/O ports at b000 [size=128]
	[virtual] Expansion ROM at e3000000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (950, 'unstable'), (850, 'testing'), (750, 'stable'), (600, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nvidia-kernel-dkms depends on:
ii  dkms                  Dynamic Kernel Module Support Fram
ii  nvidia-kernel-common     20100216+3+nmu1 NVIDIA binary kernel module common

Versions of packages nvidia-kernel-dkms recommends:
pn  nvidia-glx                    <none>     (no description available)

nvidia-kernel-dkms suggests no packages.

-- no debconf information

More information about the Pkg-nvidia-devel mailing list