Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-13-08, 07:50 PM   #1
ultr
Registered User
 
ultr's Avatar
 
Join Date: Jul 2008
Location: Poland
Posts: 18
Unhappy nVidia drivers on Debian Lenny with 2.6.25-2 kernel

I use Debian Lenny and nVidia drivers installed from official *.run installers.

Today I have upgraded my kernel from 2.6.24-1 to 2.6.25-2, but after reboot I couldn't reinstall the drivers.
I tried NVIDIA-Linux-x86-169.12-pkg1.run, NVIDIA-Linux-x86-173.14.05-pkg1.run and NVIDIA-Linux-x86-173.14.09-pkg1.run.
All of them complained about Xen kernel. When i exported IGNORE_XEN_PRESENCE=1, there was no warning, but module failed to build.

Temporally I restored the old kernel and use 169.12 drivers.

How can I install the drivers on the new kernel?

Here is the log file:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Jul 14 01:54:55 2008
installer version: 1.0.7

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : false
  no backup               : false
  kernel module only      : false
  sanity                  : false
  add this kernel         : false
  no runlevel check       : false
  no network              : false
  no ABI note             : false
  no RPMs                 : false
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  no cc version check     : false
  force tls               : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : ftp://download.nvidia.com
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 173.14.09.
-> There appears to already be a driver installed on your system (version: 169.
   12).  As part of installing this driver (version: 173.14.09), the existing d
   river will be uninstalled.  Are you sure you want to continue? ('no' will ab
   ort installation) (Answer: Yes)
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
   this means that the installer will need to compile a kernel interface for
   your kernel.
-> Performing CC sanity check with CC="/usr/bin/gcc-4.1".
-> Performing CC version check with CC="/usr/bin/gcc-4.1".
-> Kernel source path: '/lib/modules/2.6.25-2-686/build'
-> Kernel output path: '/lib/modules/2.6.25-2-686/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.25-2-686/bu
   ild SYSOUT=/lib/modules/2.6.25-2-686/build'...
   NVIDIA: calling KBUILD...
   make CC=/usr/bin/gcc-4.1  KBUILD_VERBOSE=1 -C /lib/modules/2.6.25-2-686/buil
   d SUBDIRS=/tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
   	echo;								\
   	echo "  ERROR: Kernel configuration is invalid.";		\
   	echo "         include/linux/autoconf.h or include/config/auto.conf are mis
   sing.";	\
   	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";	\
   	echo;								\
   	/bin/false)
   mkdir -p /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/.tmp_ver
   sions ; rm -f /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/.tm
   p_versions/*
   make -f scripts/Makefile.build obj=/tmp/selfgz5465/NVIDIA-Linux-x86-173.14.0
   9-pkg1/usr/src/nv
     /usr/bin/gcc-4.1 -Wp,-MD,/tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/u
   sr/src/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/incl
   ude -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef 
   -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-
   implicit-function-declaration -Os  -fno-stack-protector -m32 -msoft-float -m
   regparm=3 -freg-struct-return -mpreferred-stack-boundary=2  -march=i686 -ffr
   eestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-
   compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dn
   ow -Iinclude/asm-x86/mach-default -fomit-frame-pointer -Wdeclaration-after-s
   tatement -Wno-pointer-sign   -I/tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pk
   g1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscr
   ipts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD   -Wsign-compa
   re -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRIN
   G=\"173.14.09\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"
   KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o
   /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/.tmp_nv.o /tmp/se
   lfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/n
   v.c
   In file included from include/linux/list.h:8,
                    from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:49,
                    from include/linux/seqlock.h:29,
                    from include/linux/time.h:8,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:54,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/nv/nv-linux.h:19,
                    from /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/asm/dma-mapping_32.h:5,
                    from include/asm/dma-mapping.h:2,
                    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 /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/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 /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/nv/nv-linux.h:109,
                    from /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/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 a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/nv/nv.c:14:
   /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv-linux.h:112:23
   : error: asm/maddr.h: Nie ma takiego pliku ani katalogu
   In file included from /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/nv/nv-linux.h:113,
                    from /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/nv/nv.c:14:
   include/xen/interface/memory.h: At top level:
   include/xen/interface/memory.h:32: error: expected specifier-qualifier-list 
   before ‘GUEST_HANDLE’
   include/xen/interface/memory.h:53: warning: data definition has no type or s
   torage class
   include/xen/interface/memory.h:53: warning: type defaults to ‘int’ in de
   claration of ‘DEFINE_GUEST_HANDLE_STRUCT’
   include/xen/interface/memory.h:53: warning: parameter names (without types) 
   in function declaration
   include/xen/interface/memory.h:89: error: expected specifier-qualifier-list 
   before ‘GUEST_HANDLE’
   include/xen/interface/memory.h:97: warning: data definition has no type or s
   torage class
   include/xen/interface/memory.h:97: warning: type defaults to ‘int’ in de
   claration of ‘DEFINE_GUEST_HANDLE_STRUCT’
   include/xen/interface/memory.h:97: warning: parameter names (without types) 
   in function declaration
   include/xen/interface/memory.h:107: error: expected specifier-qualifier-list
   before ‘domid_t’
   include/xen/interface/memory.h:120: warning: data definition has no type or 
   storage class
   include/xen/interface/memory.h:120: warning: type defaults to ‘int’ in d
   eclaration of ‘DEFINE_GUEST_HANDLE_STRUCT’
   include/xen/interface/memory.h:120: warning: parameter names (without types)
   in function declaration
   include/xen/interface/memory.h:129: error: expected specifier-qualifier-list
   before ‘domid_t’
   include/xen/interface/memory.h:143: warning: data definition has no type or 
   storage class
   include/xen/interface/memory.h:143: warning: type defaults to ‘int’ in d
   eclaration of ‘DEFINE_GUEST_HANDLE_STRUCT’
   include/xen/interface/memory.h:143: warning: parameter names (without types)
   in function declaration
   /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.c: In function
   ‘nv_kern_open’:
   /tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.c:2044: error:
   implicit declaration of function ‘HYPERVISOR_memory_op’
   make[3]: *** [/tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.
   o] Błąd 1
   make[2]: *** [_module_/tmp/selfgz5465/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/nv] Błąd 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Błąd 1
   make: *** [module] Błąd 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.
ultr is offline   Reply With Quote
Old 07-14-08, 06:38 AM   #2
calimocho
Registered User
 
Join Date: Jul 2008
Posts: 1
Default Re: nVidia drivers on Debian Lenny with 2.6.25-2 kernel

try this
Code:
cd /lib/modules/`uname -r`
grep CONFIG_XEN . -Rl | xargs -i sed -i -e 's/CONFIG_XEN/CONFIG_LUPO/g' {}
export IGNORE_XEN_PRESENCE=1
sh NVIDIA-Linux-x86-169.12-pkg1.run
worked here: Debian Lenny, kernel 2.6.25-2 with NVIDIA-Linux-x86-173.14.05-pkg1.run

Greetings
calimocho is offline   Reply With Quote
Old 08-14-08, 11:38 AM   #3
ultr
Registered User
 
ultr's Avatar
 
Join Date: Jul 2008
Location: Poland
Posts: 18
Arrow Re: nVidia drivers on Debian Lenny with 2.6.25-2 kernel

I have created a simple patch for 173.14.12. Instead of modifying your local files, you get a modified installer that works on all versions of kernel (or at least it should ).
To patch the installer type:
Code:
NVIDIA-Linux-x86-173.14.12-pkg1.run --apply-patch NVIDIA-Linux-x86-173.14.12-pkg1-ultr-patch.diff.txt
@nVidia team
Couldn't you modify the installer in a way similar to that in my patch, so that users just get warned about the Xen, but are still able to install the driver?
After kernel 2.6.25 CONFIG_XEN is no longer a reliable way of determining whether it is a Xen kernel or not.
Attached Files
File Type: txt NVIDIA-Linux-x86-173.14.12-pkg1-ultr-patch.diff.txt (6.7 KB, 758 views)
ultr is offline   Reply With Quote
Old 08-28-08, 09:12 AM   #4
romane
Registered User
 
Join Date: Aug 2008
Location: Cairns, Queensland, Australia
Posts: 6
Smile Re: nVidia drivers on Debian Lenny with 2.6.25-2 kernel

Good morning

Quote:
Originally Posted by ultr View Post
To patch the installer type:
My many thanks for this. Found it after beating my head for some weeks now about the xen issue and the nvidia drivers.

For some good news - running Debian Lenny with kernel 2.6.25-2-686, and the beta Nvidia driver 177.68 - the patch works for this file too.

After running the patch, ran the resulting 'custom' file. There was a quick error message that flashed past (well, hung around for a few seconds, but I was too busy thinking "O %^%$#, now I've crashed it", to note too much) about an .so file that was not symbolically linked or some such. Anyhow, the installer continued, and with a sense of relief I found that it all worked when I restarted X.

Now, if someone will tell me where the heck I can find the log file for that install, I can post it and you can see if you may save me a heart attack at a later date (romane laughing)

By the way, I had lost all OpenGL screensavers (and probably all other OpenGL schtuff) when Lenny (we won't blame me, now, will we ) upgraded the kernel a few weeks ago but with no change to the kernel number, a few weeks ago. With the (now successful) re-install of the nVidia driver, I have them back.

Romane

Edit: Ok, found the log file, and here is the relevant line.

ERROR: File '/usr/lib/xorg/modules/extensions/libglx.so' is not a symbolic link.

There were lots of warnings and what have you. Any use to you? Should I still post the log file? And in what thread, if this one is not appropriate?

Romane

Last edited by romane; 08-28-08 at 09:24 AM. Reason: To make an addition.
romane is offline   Reply With Quote
Old 08-28-08, 09:22 AM   #5
ultr
Registered User
 
ultr's Avatar
 
Join Date: Jul 2008
Location: Poland
Posts: 18
Default Re: nVidia drivers on Debian Lenny with 2.6.25-2 kernel

Quote:
Good morning
Good afternoon

Quote:
about an .so file that was not symbolically linked or some such
This file is /usr/lib/xorg/modules/extensions/libglx.so and it is installed from xserver-xorg-core package. When you update this package, the link gets overwritten and next time you run nVidia installer you get this warning. Just continue - there is nothing to worry about.

Quote:
Now, if someone will tell me where the heck I can find the log file for that install
/var/log/nvidia-installer.log
ultr is offline   Reply With Quote
Old 08-28-08, 09:38 AM   #6
romane
Registered User
 
Join Date: Aug 2008
Location: Cairns, Queensland, Australia
Posts: 6
Smile Re: nVidia drivers on Debian Lenny with 2.6.25-2 kernel

Good morning

Quote:
Good afternoon
Yeah - consistency, you know; don't need to change my mind three times a day (hehehehe)

Quote:
Originally Posted by ultr View Post
When you update this package, the link gets overwritten and next time you run nVidia installer you get this warning. Just continue - there is nothing to worry about.
Thanks for that. Now at least won't have heart-in-mouth symptoms next time it runs.

Romane
romane is offline   Reply With Quote
Old 08-28-08, 10:44 AM   #7
ledoc
Registered User
 
Join Date: Jan 2008
Posts: 330
Default Re: nVidia drivers on Debian Lenny with 2.6.25-2 kernel

Did anyone ever figure out how to properly create the nvidia*.deb packages from the installers? The debian guys won't package any betas, I think.
ledoc is offline   Reply With Quote
Old 08-28-08, 11:01 AM   #8
marakaid
Registered User
 
marakaid's Avatar
 
Join Date: Mar 2004
Posts: 13
Wink Re: nVidia drivers on Debian Lenny with 2.6.25-2 kernel

I got nearly the same problem, updated my Debian Lenny 64 bits and kernel 2.6.26 was installed, next reboot it could not load the newly compiled module "nvidia.ko" .
Before updating Lenny I used 8800GT with 173.14.12 driver and after updating I tried with 280GTX and 177.68 driver
----------------------------------------------------------------
Problem solved, the update did not include the matching headers, so the installer compiled with 2.6.25 instead of 2.6.26 ones.
__________________
DFI PS83-BL, P4 2800 (Bus 533), 512 MB DDR; Gforce3 ti200 128 MB; Audigy, Windows 2000 SP4.
marakaid is offline   Reply With Quote

Old 08-29-08, 06:29 AM   #9
neekofab
Registered User
 
Join Date: Aug 2008
Posts: 1
Default Re: nVidia drivers on Debian Lenny with 2.6.25-2 kernel

patch works as advertised after an 'export CC=gcc-4.1' with the new 2.6.26-1 kernel (2.6.26-1-686-bigmem)
neekofab is offline   Reply With Quote
Old 08-29-08, 10:55 AM   #10
rb26dett
Registered User
 
Join Date: Dec 2007
Posts: 6
Send a message via AIM to rb26dett Send a message via MSN to rb26dett
Default Re: nVidia drivers on Debian Lenny with 2.6.25-2 kernel

Thank you! I'll be trying that with a 2.6.26 kernel soon, I'll report back with what I find.

Fred.
__________________
Asus A6KM Turion 64 single core with geforce go 7300 on debian unstable with 2.6.17 custom dsdt initrd kernel
rb26dett is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
Reinstalling nVidia Drivers after a kernel compile Rukkh NVIDIA Linux 5 08-22-02 01:29 AM
Do I have to reinstall NVIDIA drivers after every kernel upgrade? supernaut NVIDIA Linux 3 07-31-02 06:50 PM

All times are GMT -5. The time now is 02:00 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.