[pkg-nvidia-devel] Bug#585695: nvidia-kernel-source: Manual built of module does not consider already set KVERS and KSRC environment variables

Edgar Sippel for.your.spam.only at web.de
Sun Jun 13 08:29:48 UTC 2010


Package: nvidia-kernel-source
Version: 195.36.24-1
Severity: important
Tags: squeeze

The latest change in debian/rules applies a new behaviour of the build script which makes manual building the module not working anymore according to documentation README.debian method #3:
I'm using several different kernels on my machine, and normally I build the nvidia packages for all of them by just setting the respective environment variables KVERS and KSRC to the different values and then building the modules one after another manually by calling /usr/src/modules/nvidia-kernel/debian/rules binary_modules.
The latest changes in version 195.36.24-2 do not consider these already set variables anymore but, as far as I understood the script takes the version from the target of /usr/src/linux, which, on my machine always points to the 'main' kernel, meaning the one currently in testing. So, compiling for different versions always needs a change of that symlink including the risk of letting this point to a wrong version afterwards when forgetting to re-set it.
Please, either update the documentation to give the user a hint why building does not work as he's used to or (preferrably) let the script check if these variables are already set and consider them.

Best regards,
Edgar

-- Package-specific info:
uname -a:
Linux blechtrottel 2.6.32-3-amd64 #1 SMP Thu Feb 25 07:33:41 UTC 2010 x86_64 GNU/Linux

/proc/version:
Linux version 2.6.32-3-amd64 (Debian 2.6.32-9) (maks at debian.org) (gcc version 4.3.4 (Debian 4.3.4-8) ) #1 SMP Thu Feb 25 07:33:41 UTC 2010

/proc/driver/nvidia/version: 
NVRM version: NVIDIA UNIX x86_64 Kernel Module  195.36.24  Thu Apr 22 19:10:14 PDT 2010
GCC version:  gcc version 4.3.4 (Debian 4.3.4-10) 

lspci 'VGA compatible controller [0300]':
01:00.0 VGA compatible controller [0300]: nVidia Corporation G80 [GeForce 8800 GTS] [10de:0193] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: eVga.com. Corp. Device [3842:e825]
	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 25
	Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at fa000000 (64-bit, non-prefetchable) [size=32M]
	Region 5: I/O ports at bc00 [size=128]
	[virtual] Expansion ROM at fe6e0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     7.4.20     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.033      A utility for building Linux kerne
ii  module-assistant             0.11.3      tool to make module package creati
ii  nvidia-glx                   195.36.24-1 NVIDIA binary Xorg driver
ii  nvidia-kernel-common         20100522+1  NVIDIA binary kernel module suppor

nvidia-kernel-source suggests no packages.

-- no debconf information





More information about the Pkg-nvidia-devel mailing list