Bug#613798: nvidia-kernel-dkms: build fails with 2.6.38-rc kernels

Andy Wettstein ajw1980 at gmail.com
Sat Mar 19 19:22:19 UTC 2011


Package: nvidia-kernel-dkms
Version: 260.19.44-1
Followup-For: Bug #613798

This still doesn't build correctly on 2.6.38. There is an included file
that no longer exists. In nv-linux.h this line should be commented:
#include <linux/smp_lock.h>

http://www.nvnews.net/vbulletin/showthread.php?t=160714

-- Package-specific info:
uname -a:
Linux bob 2.6.38-0.slh.5-aptosid-amd64 #1 SMP PREEMPT Sat Mar 19 00:10:17 UTC 2011 x86_64 GNU/Linux

/proc/version:
Linux version 2.6.38-0.slh.5-aptosid-amd64 (Debian 2.6.38-5) (s.l-h at gmx.de) (gcc version 4.5.2 (Debian 4.5.2-6) ) #1 SMP PREEMPT Sat Mar 19 00:10:17 UTC 2011

/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module  260.19.44  Sun Feb 27 22:41:03 PST 2011
GCC version:  gcc version 4.5.2 (Debian 4.5.2-6) 

lspci 'VGA compatible controller [0300]':
01:00.0 VGA compatible controller [0300]: nVidia Corporation GT215 [GeForce GT 240] [10de:0ca3] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: XFX Pine Group Inc. Device [1682:3001]
	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 47
	Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at ce000000 (64-bit, prefetchable) [size=32M]
	Region 5: I/O ports at d800 [size=128]
	[virtual] Expansion ROM at fe580000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia

OpenGL and NVIDIA library files installed:
lrwxrwxrwx 1 root root       37 Sep 25 21:19 /etc/alternatives/ia32-libGL.so -> /usr/lib32/nvidia/diversions/libGL.so
lrwxrwxrwx 1 root root       28 Sep 25 21:19 /etc/alternatives/ia32-libGL.so.1 -> /usr/lib32/nvidia/libGL.so.1
lrwxrwxrwx 1 root root       35 Sep 25 21:19 /etc/alternatives/libGL.so -> /usr/lib/nvidia/diversions/libGL.so
lrwxrwxrwx 1 root root       26 Mar 19 10:21 /etc/alternatives/libGL.so.1 -> /usr/lib/nvidia/libGL.so.1
lrwxrwxrwx 1 root root       26 Sep 25 21:19 /usr/lib/libGL.so -> /etc/alternatives/libGL.so
lrwxrwxrwx 1 root root       28 Mar 19 10:21 /usr/lib/libGL.so.1 -> /etc/alternatives/libGL.so.1
lrwxrwxrwx 1 root root       26 Mar 19 09:47 /usr/lib/libnvidia-cfg.so.1 -> libnvidia-cfg.so.260.19.44
-rw-r--r-- 1 root root   132664 Feb 28 00:59 /usr/lib/libnvidia-cfg.so.260.19.44
-rw-r--r-- 1 root root 27089296 Feb 28 00:56 /usr/lib/libnvidia-glcore.so.260.19.44
-rw-r--r-- 1 root root     5936 Feb 28 00:58 /usr/lib/libnvidia-tls.so.260.19.44
lrwxrwxrwx 1 root root       31 Sep 25 21:19 /usr/lib32/libGL.so -> /etc/alternatives/ia32-libGL.so
lrwxrwxrwx 1 root root       33 Sep 25 21:19 /usr/lib32/libGL.so.1 -> /etc/alternatives/ia32-libGL.so.1
-rw-r--r-- 1 root root 23726100 Feb 27 23:46 /usr/lib32/libnvidia-glcore.so.260.19.44
-rw-r--r-- 1 root root     4436 Feb 27 23:49 /usr/lib32/libnvidia-tls.so.260.19.44

/usr/lib/nvidia:
total 6252
drwxr-xr-x   3 root root    4096 Mar 19 09:47 .
drwxr-xr-x 237 root root  135168 Mar 19 10:21 ..
-rwxr-xr-x   1 root root    1294 Feb 22 12:37 check-for-conflicting-opengl-libraries
drwxr-xr-x   2 root root    4096 Mar 19 09:47 diversions
lrwxrwxrwx   1 root root      18 Mar 19 09:47 libGL.so.1 -> libGL.so.260.19.44
-rw-r--r--   1 root root  980368 Feb 28 00:56 libGL.so.260.19.44
lrwxrwxrwx   1 root root      19 Mar 19 09:47 libglx.so -> libglx.so.260.19.44
-rw-r--r--   1 root root 5259592 Feb 28 00:58 libglx.so.260.19.44
-rwxr-xr-x   1 root root     441 Feb 22 12:37 pre-install

/usr/lib/nvidia/diversions:
total 888
drwxr-xr-x 2 root root   4096 Mar 19 09:47 .
drwxr-xr-x 3 root root   4096 Mar 19 09:47 ..
-rw-r--r-- 1 root root    189 Mar 17 00:39 dummy.txt
lrwxrwxrwx 1 root root     10 Mar 19 09:46 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     12 Mar 19 09:46 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 477408 Feb 16 06:05 libGL.so.1.2
-rw-r--r-- 1 root root 416168 Mar  7 09:48 libglx.so

/usr/lib32/nvidia:
total 808
drwxr-xr-x  3 root root   4096 Mar 19 09:47 .
drwxr-xr-x 39 root root  53248 Mar 19 09:56 ..
drwxr-xr-x  2 root root   4096 Mar 19 09:49 diversions
lrwxrwxrwx  1 root root     18 Mar 19 09:47 libGL.so.1 -> libGL.so.260.19.44
-rw-r--r--  1 root root 758308 Feb 27 23:47 libGL.so.260.19.44

/usr/lib32/nvidia/diversions:
total 404
drwxr-xr-x 2 root root   4096 Mar 19 09:49 .
drwxr-xr-x 3 root root   4096 Mar 19 09:47 ..
lrwxrwxrwx 1 root root     10 Mar 19 09:49 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     12 Mar 19 09:49 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 401528 Jul 15  2010 libGL.so.1.2

Files from nvidia-installer:



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-0.slh.5-aptosid-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages nvidia-kernel-dkms depends on:
ii  dkms                          2.1.1.2-6  Dynamic Kernel Module Support Fram
ii  nvidia-kernel-common          20110213+1 NVIDIA binary kernel module suppor

Versions of packages nvidia-kernel-dkms recommends:
ii  nvidia-glx [nvidia-glx]      260.19.44-1 NVIDIA binary Xorg driver

nvidia-kernel-dkms suggests no packages.

Versions of packages nvidia-glx depends on:
ii  dpkg                       1.15.8.10     Debian package management system
ii  libc6                      2.11.2-13     Embedded GNU C Library: Shared lib
ii  libgl1-nvidia-glx [libgl1- 260.19.44-1   NVIDIA binary OpenGL libraries
ii  libglx-nvidia-alternatives 260.19.44-1   simplifies replacing Xorg module l
ii  nvidia-common              20110213+1    NVIDIA binary graphics driver supp
ii  nvidia-kernel-dkms [nvidia 260.19.44-1   NVIDIA binary kernel module DKMS s
ii  xserver-xorg-core [xorg-vi 2:1.9.4.901-1 Xorg X server - core server

Versions of packages nvidia-glx recommends:
ii  nvidia-vdpau-driver          260.19.44-1 NVIDIA vdpau driver

Versions of packages nvidia-glx suggests:
ii  nvidia-settings              195.36.24-1 Tool for configuring the NVIDIA gr

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     8.1.2      helper programs for debian/rules
ii  make                          3.81-8     An utility for Directing compilati
ii  quilt                         0.48-7     Tool to work with series of patche

Versions of packages nvidia-kernel-source recommends:
ii  kernel-package               12.036+nmu1 A utility for building Linux kerne
ii  module-assistant             0.11.3      tool to make module package creati
ii  nvidia-kernel-common         20110213+1  NVIDIA binary kernel module suppor

Versions of packages nvidia-kernel-source suggests:
ii  nvidia-glx [nvidia-glx]      260.19.44-1 NVIDIA binary Xorg driver

Versions of packages nvidia-kernel-dkms is related to:
ii  binutils               2.21.0.20110302-2 The GNU assembler, linker and bina
pn  binutils-gold          <none>            (no description available)
ii  linux-headers-2.6.36-2 2.6.36-18         Header files for Linux 2.6.36-2.sl
ii  linux-headers-2.6.37-0 2.6.37-7          Header files for Linux 2.6.37-0.sl
ii  linux-headers-2.6.38-0 2.6.38-5          Header files for Linux 2.6.38-0.sl
ii  nvidia-glx [nvidia-glx 260.19.44-1       NVIDIA binary Xorg driver
ii  nvidia-kernel-common   20110213+1        NVIDIA binary kernel module suppor
ii  nvidia-kernel-dkms [nv 260.19.44-1       NVIDIA binary kernel module DKMS s
ii  nvidia-kernel-source   260.19.44-1       NVIDIA binary kernel module source
ii  xserver-xorg           1:7.6+4           the X.Org X server
ii  xserver-xorg-core      2:1.9.4.901-1     Xorg X server - core server

-- no debconf information





More information about the pkg-nvidia-devel mailing list