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

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-12-06, 08:59 PM   #1
snaboofypop
Registered User
 
Join Date: Aug 2003
Posts: 29
Cool Changes to (very) recent Linux kernel break things.

Hi. I am posting this merely as a heads up to the Nvidia folk who are maintaining drivers. The very recent kernels broke the drivers (both 8774 and the experimental 9625). Both of those drivers worked (work) up to linux kernel 2.6.19-rc1-git5. Both fail to build on kernels kernel 2.6.19-rc1-git6 and kernel 2.6.19-rc1-git8 (kernels I've tried). I am happy to keep running 2.6.19-rc1-git5 (and am running it with the 9625 driver). Gears is running just over 2400 fps (Ti4200). My specific system is debian etch (updated with apt-get yesterday). The basic issue is that the installer fails to build the kernel. I haven't looked more into exactly what kernel change is breaking the installer. I know for certain it isn't a gcc incompatibility (I upgrade with apt-get *before* I build the kernel, so any new version of GCC for the kernel will be the same version I use to build the nvidia drivers (I always have to build and start a new kernel without accelerated drivers and then build the drivers against the current new kernel). I will likely build another new kernel tonight, and try to build drivers against it (and if I have any useful information, I will post it here). Thanks
'pop
snaboofypop is offline   Reply With Quote
Old 10-12-06, 09:07 PM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Changes to (very) recent Linux kernel break things.

Please post the installer log which includes the failure.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 10-13-06, 09:00 PM   #3
snaboofypop
Registered User
 
Join Date: Aug 2003
Posts: 29
Cool Re: Changes to (very) recent Linux kernel break things.

OK. This installer.log was generated by linux kernel 2.6.19-rc2 trying to install the 96.25 driver (date/time as given in the log). FYI, my kernel source path is in /data/kernel/temp. I keep nvidia drivers in /data/kernel/temp/nv. The kernel version really was 2.6.19-rc2, I set the install path to be 2.6.18 (full path is /data/kernel/temp/2.6.18), decompress a fresh version of 2.6.18, then apply the 2.6.19-rc2 patch, so when I head the Makefile at the top of the kernel source tree I get:
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 19
EXTRAVERSION =-rc2
NAME=Avast! A bilge rat!

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Oct 13 19:06:39 2006

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : false
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
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 : /data/kernel/temp/linux-2.6.18
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.
-> There appears to already be a driver installed on your system (version: 1.0-
9625). As part of installing this driver (version: 1.0-9625), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> Not probing for precompiled kernel interfaces.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Using the kernel source path '/data/kernel/temp/linux-2.6.18' as specified
by the '--kernel-source-path' commandline option.
-> Kernel source path: '/data/kernel/temp/linux-2.6.18'
-> Kernel output path: '/data/kernel/temp/linux-2.6.18'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nv.o nv
-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -f stprof stprof.o symtab.h Modules.symvers
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/data/kernel/temp/linux-2.6.
18 SYSOUT=/data/kernel/temp/linux-2.6.18'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /data/kernel/temp/linux-2.6.18 SUBDIRS=/data
/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-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 /data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/usr/src/nv/.tmp
_versions
rm -f /data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/usr/src/nv/.tmp_ve
rsions/*
make -f scripts/Makefile.build obj=/data/kernel/temp/nv/NVIDIA-Linux-x86-1.0
-9625-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /data/kernel/temp/n
v/NVIDIA-Linux-x86-1.0-9625-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/usr/src/nv/
.nv.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KE
RNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-p
rototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-f
loat -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4 -ffreestandi
ng -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI=1 -Iinclude/asm-i386/mach-default -fomi
t-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-poi
nter-sign -I/data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/usr/src/nv -
Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthe
ses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-float -MD
-Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL_
_ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL
=9625 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDG
E_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESE
NT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSE
RT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRE
SENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_S
TR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(n
vidia)" -c -o /data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/usr/src/nv
/nv.o /data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/usr/src/nv/nv.c
In file included from /data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/us
r/src/nv/nv.c:14:
/data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/usr/src/nv/nv-linux.h:17
:26: error: linux/config.h: No such file or directory
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/us
r/src/nv/nv-linux.h:19,
from /data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/us
r/src/nv/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_rangee’:
include/linux/prefetch.h:62: warning: pointer of type ‘void **’ used in a
rithmetic
/data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/usr/src/nv/nv.c: In func
tion ‘nv_kern_openn’:
/data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/usr/src/nv/nv.c:1845: wa
rning: passing argument 2 of ‘request_irqq’ from incompatible pointer typ
e
make[3]: *** [/data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/usr/src/nv
/nv.o] Error 1
make[2]: *** [_module_/data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9625-pkg1/us
r/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 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.

...It seems one guy wants a prototype that looks like:
irqreturn_t nv_kern_isr(int, void *, struct pt_regs *);
...and the other guy wants a prototype that looks like:
extern int request_irq(unsigned int, irq_handler_t handler,
unsigned long, const char *, void *);
(unless I'm a hundred miles off, which could be the case).
-pop
snaboofypop is offline   Reply With Quote
Old 10-13-06, 09:08 PM   #4
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Changes to (very) recent Linux kernel break things.

Actually, the reason this is failing is much further up:
error: linux/config.h: No such file or directory

This is a known issue (and was discussed in a few other threads last week). It will be resolved in the next driver release.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 10-14-06, 11:47 AM   #5
irens
Registered User
 
Join Date: May 2006
Posts: 12
Default Re: Changes to (very) recent Linux kernel break things.

Hi.



Ok. I added manualy the config.h file with dummy comments here: /usr/src/kernels/2.6.18-1.2784.fc6-x86_64/include/linux in FC6 rawhide and nothing happened. I still cann't compile this NVIDIA BETA DRIVER: NVIDIA-Linux-x86_64-1.0-9625-pkg2.run

What now. Compiz is nice eyecandy ... but now i can't use it because no hardware accl on my NVIDIA 6600 LE PCI-E card.

Irens
irens is offline   Reply With Quote
Old 10-14-06, 02:12 PM   #6
irens
Registered User
 
Join Date: May 2006
Posts: 12
Default Re: Changes to (very) recent Linux kernel break things.

ok, I found solution on this forum. I have symlink autoconf.h to config.h and compilation goes ok.

Bye
irens is offline   Reply With Quote
Old 10-15-06, 05:55 AM   #7
Athan
UK Goth Geek
 
Join Date: Apr 2004
Location: London, UK
Posts: 22
Default Re: Changes to (very) recent Linux kernel break things.

Alternatively see the patch I made, and linked to in this post.

-Ath
Athan is offline   Reply With Quote
Old 10-16-06, 06:29 AM   #8
gilboa
Linux addict...
 
Join Date: Jan 2004
Posts: 540
Default Re: Changes to (very) recent Linux kernel break things.

Quote:
Originally Posted by netllama
Actually, the reason this is failing is much further up:
error: linux/config.h: No such file or directory

This is a known issue (and was discussed in a few other threads last week). It will be resolved in the next driver release.

Thanks,
Lonni
Lonni,

Please be aware that config.h has been deprecated and will be removed from all future kernel.

- Gilboa
__________________
DEV-NG: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX680, F19/x86_64, Dell U2711.
DEV: Intel S5520SC, 2xX5680, 36GB, 5x320GB, GTX550, F19/x86_64, Dell U2711 (^).
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 4x2TB, 9800GTX, F19/x86-64, Dell U2412.
LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F19/x86_64.
gilboa is offline   Reply With Quote

Old 10-16-06, 11:41 AM   #9
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Changes to (very) recent Linux kernel break things.

Right. This will be resolved in the next driver release.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 10-29-06, 08:30 PM   #10
jborn
Registered User
 
Join Date: Oct 2005
Posts: 14
Default Re: Changes to (very) recent Linux kernel break things.

Question about the next driver release. I'm assuming that when you say this will be resolved in the next driver release your talking about 9625, since I just tried to install 8776 and it still had the issue.

I'm leaning towards using 9625, but have a few questions about using a beta driver.
Is this already fixed in the beta version of 9625, or is it something that will be fixed before it goes to a release version?
Is there anywhere I can go to, to get a release schedule?
If I install the beta, can I update this later?
Is there a yum repository that has this already packaged and ready to go? If so what is the repository and what is the yum command I run?

I know I'm asking a lot of question, so if there is somewhere else I should be asking these question please point me in the correct direction, and thanks many times over for the information.
jborn is offline   Reply With Quote
Old 10-29-06, 08:50 PM   #11
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Changes to (very) recent Linux kernel break things.

I was referring to a future driver release. 1.0-9625 was released over a month, and 1.0-9626 was released several weeks ago.
netllama is offline   Reply With Quote
Old 10-30-06, 08:03 AM   #12
jborn
Registered User
 
Join Date: Oct 2005
Posts: 14
Default Re: Changes to (very) recent Linux kernel break things.

I see that 1.0-9625 was released September 21 according to this link

http://www.nzone.com/object/nzone_do...etadriver.html

I don't see 1.0-9626 listed on the beta download section or the normal Unix Drivers Portal Page download area.

Where do I find 1.0-9626 to download? What changes were made to 1.0-9626 from 1.0-9625? When will it be available from the beta download area?

Thanks for the information
jborn 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
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
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
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

All times are GMT -5. The time now is 10:09 PM.


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