Bug#631444: nvidia-kernel-legacy-96xx-source: Building module for 2.6.39
Wolfgang Becker
uafr at gmx.de
Thu Jun 23 22:27:41 UTC 2011
Package: nvidia-kernel-legacy-96xx-source
Version: 96.43.19-1
Severity: normal
To build nvidia-kernel-legacy-96xx-2.6.39-2-686-pae I had to apply
--- modules/nvidia-kernel-legacy-96xx/nv-linux.h.org 2011-06-23 23:51:51.000000000 +0200
+++ modules/nvidia-kernel-legacy-96xx/nv-linux.h 2011-06-23 23:59:53.000000000 +0200
@@ -80,7 +80,9 @@
#if !defined(KERNEL_2_4)
#include <linux/sched.h> /* suser(), capable() replacement */
#include <linux/moduleparam.h> /* module_param() */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,39)
#include <linux/smp_lock.h> /* kernel_locked */
+#endif
#include <asm/tlbflush.h> /* flush_tlb(), flush_tlb_all() */
#include <asm/kmap_types.h> /* page table entry lookup */
#endif
Then this builds a working nvidia module:
module-assistant --not-unpack -t -l 2.6.39-2-686-pae build nvidia-kernel-legacy-96xx
-- Package-specific info:
uname -a:
Linux greg 2.6.39-2-686-pae #1 SMP Wed Jun 8 11:33:14 UTC 2011 i686 GNU/Linux
/proc/version:
Linux version 2.6.39-2-686-pae (Debian 2.6.39-2) (ben at decadent.org.uk) (gcc version 4.4.6 (Debian 4.4.6-3) ) #1 SMP Wed Jun 8 11:33:14 UTC 2011
/proc/driver/nvidia/version:
NVRM version: NVIDIA Linux x86 Kernel Module 96.43.19 Wed Oct 27 19:01:34 PDT 2010
GCC version: gcc version 4.4.6 (Debian 4.4.6-6)
lspci 'VGA compatible controller [0300]':
01:05.0 VGA compatible controller [0300]: nVidia Corporation NV20 [GeForce3] [10de:0200] (rev a3) (prog-if 00 [VGA controller])
Subsystem: Giga-byte Technology Device [1458:3000]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 248 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at ee000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d8000000 (32-bit, prefetchable) [size=64M]
Region 2: Memory at ddc80000 (32-bit, prefetchable) [size=512K]
[virtual] Expansion ROM at efef0000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: nvidia
OpenGL and NVIDIA library files installed:
lrwxrwxrwx 1 root root 35 Nov 19 2010 /etc/alternatives/libGL.so -> /usr/lib/nvidia/diversions/libGL.so
lrwxrwxrwx 1 root root 26 Sep 10 2010 /etc/alternatives/libGL.so.1 -> /usr/lib/nvidia/libGL.so.1
lrwxrwxrwx 1 root root 26 Nov 19 2010 /usr/lib/libGL.so -> /etc/alternatives/libGL.so
lrwxrwxrwx 1 root root 28 Sep 10 2010 /usr/lib/libGL.so.1 -> /etc/alternatives/libGL.so.1
lrwxrwxrwx 1 root root 21 Apr 10 13:25 /usr/lib/libGLcore.so.1 -> libGLcore.so.96.43.19
-rw-r--r-- 1 root root 8961144 Oct 28 2010 /usr/lib/libGLcore.so.96.43.19
lrwxrwxrwx 1 root root 25 Apr 10 13:25 /usr/lib/libnvidia-cfg.so.1 -> libnvidia-cfg.so.96.43.19
-rw-r--r-- 1 root root 106308 Oct 28 2010 /usr/lib/libnvidia-cfg.so.96.43.19
lrwxrwxrwx 1 root root 25 Apr 10 13:25 /usr/lib/libnvidia-tls.so.1 -> libnvidia-tls.so.96.43.19
-rw-r--r-- 1 root root 2352 Oct 28 2010 /usr/lib/libnvidia-tls.so.96.43.19
/usr/lib/nvidia:
total 3040
drwxr-xr-x 3 root root 4096 May 8 13:47 .
drwxr-xr-x 409 root root 147456 Jun 23 21:39 ..
-rwxr-xr-x 1 root root 1294 Feb 22 19:37 check-for-conflicting-opengl-libraries
drwxr-xr-x 2 root root 4096 Jun 16 20:31 diversions
lrwxrwxrwx 1 root root 17 Apr 10 13:25 libGL.so.1 -> libGL.so.96.43.19
-rw-r--r-- 1 root root 564468 Oct 28 2010 libGL.so.96.43.19
lrwxrwxrwx 1 root root 18 Apr 10 13:23 libglx.so -> libglx.so.96.43.19
-rw-r--r-- 1 root root 2370296 Oct 28 2010 libglx.so.96.43.19
-rwxr-xr-x 1 root root 441 Feb 22 19:37 pre-install
/usr/lib/nvidia/diversions:
total 2288
drwxr-xr-x 2 root root 4096 Jun 16 20:31 .
drwxr-xr-x 3 root root 4096 May 8 13:47 ..
-rw-r--r-- 1 root root 189 Mar 22 07:38 dummy.txt
lrwxrwxrwx 1 root root 10 May 31 19:52 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 12 May 31 19:52 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 391152 May 31 19:52 libGL.so.1.2
-rw-r--r-- 1 root root 339608 Mar 26 08:55 libglx.so
-rw-r--r-- 1 root root 1584571 Mar 26 08:55 libglx.so.dbg
Files from nvidia-installer:
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (601, 'testing'), (500, 'testing-proposed-updates'), (480, 'unstable'), (9, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.39-2-686-pae (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages nvidia-kernel-legacy-96xx-source depends on:
ii debhelper 8.1.6 helper programs for debian/rules
ii make 3.81-8.1 An utility for Directing compilati
ii quilt 0.48-7 Tool to work with series of patche
Versions of packages nvidia-kernel-legacy-96xx-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 20110515+1 NVIDIA binary kernel module suppor
Versions of packages nvidia-kernel-legacy-96xx-source suggests:
ii nvidia-glx-legacy-96xx 96.43.19-1 NVIDIA binary Xorg driver (96xx le
Versions of packages nvidia-glx-legacy-96xx depends on:
ii dpkg 1.16.0.3 Debian package management system
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii libgl1-nvidia-legacy 96.43.19-1 NVIDIA binary OpenGL libraries (96
ii libglx-nvidia-altern 270.41.06-1 simplifies replacing Xorg module l
ii nvidia-common 20110426+1 NVIDIA binary graphics driver supp
ii nvidia-kernel-legacy 96.43.19-1+2.6.39-2 NVIDIA binary kernel module for Li
ii nvidia-kernel-legacy 96.43.19-1 NVIDIA binary kernel module DKMS s
ii xserver-xorg-core [x 2:1.9.5-1 Xorg X server - core server
Versions of packages nvidia-glx-legacy-96xx suggests:
ii nvidia-settings 270.41.06-1 Tool for configuring the NVIDIA gr
Versions of packages nvidia-kernel-legacy-96xx-dkms depends on:
ii dkms 2.1.1.2-6 Dynamic Kernel Module Support Fram
ii nvidia-kernel-common 20110515+1 NVIDIA binary kernel module suppor
Versions of packages nvidia-kernel-legacy-96xx-dkms recommends:
ii nvidia-glx-legacy-96xx 96.43.19-1 NVIDIA binary Xorg driver (96xx le
Versions of packages nvidia-kernel-legacy-96xx-source is related to:
ii binutils 2.21.52.20110606-2 The GNU assembler, linker and bina
pn binutils-gold <none> (no description available)
ii linux-headers-2.6-686 2.6.38+34 Header files for Linux 2.6-686 (me
ii linux-headers-2.6-686 2.6.39+35.1 Header files for Linux 2.6-686-pae
ii linux-headers-2.6.38- 2.6.38-5 Header files for Linux 2.6.38-2-68
ii linux-headers-2.6.39- 2.6.39-2 Header files for Linux 2.6.39-2-68
ii nvidia-glx-legacy-96x 96.43.19-1 NVIDIA binary Xorg driver (96xx le
ii nvidia-kernel-common 20110515+1 NVIDIA binary kernel module suppor
ii nvidia-kernel-legacy- 96.43.19-1 NVIDIA binary kernel module DKMS s
ii nvidia-kernel-legacy- 96.43.19-1 NVIDIA binary kernel module source
ii xserver-xorg 1:7.6+7 X.Org X server
ii xserver-xorg-core 2:1.9.5-1 Xorg X server - core server
-- no debconf information
More information about the pkg-nvidia-devel
mailing list