![]() |
|
|
|
#1 | |
|
Registered User
Join Date: Jul 2008
Location: Poland
Posts: 3
|
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.
|
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Jul 2008
Posts: 1
|
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
Greetings |
|
|
|
|
| Sponsored Ads - Guests Only | ||
|
|
|
|
#3 |
|
Registered User
Join Date: Jul 2008
Location: Poland
Posts: 3
|
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 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. |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Aug 2008
Location: Cairns, Queensland, Australia
Posts: 6
|
Good morning
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 11:24 AM. Reason: To make an addition. |
|
|
|
|
|
#5 | |||
|
Registered User
Join Date: Jul 2008
Location: Poland
Posts: 3
|
Quote:
![]() Quote:
Quote:
|
|||
|
|
|
|
|
#6 | ||
|
Registered User
Join Date: Aug 2008
Location: Cairns, Queensland, Australia
Posts: 6
|
Good morning
Quote:
- consistency, you know; don't need to change my mind three times a day (hehehehe)Quote:
Romane |
||
|
|
|
|
|
#7 |
|
Registered User
Join Date: Jan 2008
Posts: 247
|
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.
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Mar 2004
Posts: 13
|
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. |
|
|
|
|
|
#9 |
|
Registered User
Join Date: Aug 2008
Posts: 1
|
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)
|
|
|
|
|
|
#10 |
|
Registered User
|
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 |
|
|
|
![]() |
| Shop Online | |
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|