nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   2.6.0-test5 kernel and 4496 patched driver install problems (http://www.nvnews.net/vbulletin/showthread.php?t=17772)

freelsjd 09-10-03 01:49 PM

2.6.0-test5 kernel and 4496 patched driver install problems
 
I am running the 2.6.0-test5 kernel. I am trying to use the driver patches from
http://www.minion.de/nvidia.html and receive link error messages:

make install
make[1]: Entering directory `/sources/linux-2.6.0-test5'
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > /commercial/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nv_compiler.h
CC [M] /commercial/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nv.o
/commercial/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nv.c: In function `nv_kern_open':
/commercial/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nv.c:1113: warning: implicit declaration of function `kdev_val'
CC [M] /commercial/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/os-agp.o
CC [M] /commercial/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/os-interface.o
CC [M] /commercial/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/os-registry.o
LD [M] /commercial/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nvidia.o
Building modules, stage 2.
MODPOST
*** Warning: "kdev_val" [/commercial/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nvidia.ko] undefined!
CC /commercial/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nvidia.mod.o
LD [M] /commercial/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nvidia.ko
make[1]: Leaving directory `/sources/linux-2.6.0-test5'
Architecture-specific modutils configuration not found, using defaults
FATAL: Error inserting nvidia (/lib/modules/2.6.0-test5/kernel/drivers/video/nvidia.o): Unknown symbol in module, or unknown parameter (see dmesg)
make: *** [package-install] Error 1
fea# gcc --version
2.95.4

Any idea of the cause ?

zander 09-10-03 04:17 PM

You're using an old patch, use the one posted on 09/05/2003 (it addresses the kdev_t changes originally introduced by 2.6.0-test4-mm6).

dpw2atox 09-10-03 09:35 PM

no its not the old patch. I had the same error as well with the latest patch. I hope minion.de will update the patch soon.

freelsjd 09-10-03 10:25 PM

got it working
 
I used the latest patch (dated 9/5/3) from zander's web page and got things working fine. However, I tried using the new instructions and
it did not work. However, if I used the old instructions that I was used to using prior, it was a clean install as before. I think the instructions on zander's web page are confusing !

zander 09-11-03 04:14 AM

There are no references to kdev_val() in the current patch(es), the September 5 update specifically addresses these kdev_t changes. Which instructions do not work, and how are they confusing, specifically (I can't fix/improve them unless I know what the problem is).

LordMorgul 09-11-03 07:50 AM

Download of the patch by this link from minion.de as of 4:30am PST Sept 11 has the error:

Code:

root|05:39:15| nv$: make install
make[1]: Entering directory

*** Warning: "kdev_val" [/usr/src/nvidia/2.6.0-minion.de/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nvidia.ko] undefined!


This is using the patch as described for previous successful installs in 2.4 kernels (GLX is present and working). The patch built cleanly just prior to patching to test5.

The patched source does reference kdev_val() in nv-linux.h at line 360 within
#ifdef KERNEL_2_5

using offiicial pkg2 release patched as instructed :)

zander 09-11-03 08:07 AM

The patch at this location does not reference this macro; make sure your client and/or any proxies you may be using are not caching the old patch; the correct md5 checksum for the 09/05/2003 1.0-4496 Linux 2.6 patch is 6d98825a3cf78f4a5ce42d4f4decab89.

LordMorgul 09-11-03 08:11 AM

Thank you for the md5, its definitely not the correct patch I'm using. I'm getting it again from a separate/disconnected machine now.

WhaHOOoO!
/me kicks myself for hours of nonsense over that cache issue

Thanks, and to clarify for others, make sure you've got the new patch by checking the md5sum of yours.

md5sum NVIDIA_kernel-1.0-4496-2.6.diff

freelsjd 09-11-03 09:27 PM

the confusing instructions
 
OK. Let's start from the top: the top section is entitled: NVIDIA 1.0-4496 Linux x86 Driver Patches which is what I should be using. Everything reads OK, I get down to the download section and I see
NVIDIA-Linux-x86-1.0-4496-pkg0.tar.gz

Confusing: what is pkg0 ? The current download from nvidia is pkg2. I don't even have a pkg0 anywhere on my system.

So, I download anyway. I untar, and I see a .manfest and a nvidia-installer. The only thing in the .tar.gz file.

Confusing: Does this mean I am supposed to copy these files over to the stuff that is --extracted-only from the pkg2 file ? I tried this, but maybe this is what caused things to fail when compiled ?

Confusing: Now we get down another level to the part that actually works; that is, the patches dated 9/5/03. They are listed as applicable to the
(2.6.0-test4) kernel. But, they also work for the new kernel -test5. I know this by installing it and trying it not by the instructions in the README.

I am not trying to be harsh at all. I am very grateful for these patches becuase they WORK !
I am just saying in order to get them to work, I can;t just follow the instructions, I have to get help from somewhere else like here, or get lucky on my own !

zander 09-12-03 03:25 AM

I assumed that the difference between the different -pkg# suffixes was known to users since it is documented in the official NVIDIA README; since this question has been asked several times, however, I included a short note in the instructions (http://www.minion.de/files/NVIDIA_ke....0-4496.README). I agree that it wasn't obvious how to use NVIDIA-Linux-x86-1.0-4496-pkg0.tar.gz with packages other than -pkg0; I made changes to the file and the instructions to make it easier to use different package revisions interchangeably. Last, I updated the download page to list -test5 instead of -test4.

freelsjd 09-12-03 09:01 AM

thanks
 
zander, thanks for all your great work in this area. You are providing extremely valuable work/software for those of us who enjoy both nvidia hardware and experimenting with the new kernels. I am most grateful !


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

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