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: Entering directory `/sources/linux-2.6.0-test5'
make: `arch/i386/kernel/asm-offsets.s' is up to date.
*** Warning: Overriding SUBDIRS on the command line can cause
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.
*** Warning: "kdev_val" [/commercial/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nvidia.ko] undefined!
LD [M] /commercial/nvidia/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nvidia.ko
make: 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
Any idea of the cause ?
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).
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.
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 !
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).
Download of the patch by this link from minion.de as of 4:30am PST Sept 11 has the error:
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
using offiicial pkg2 release patched as instructed :)
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.
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.
/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.
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
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 !
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.
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 12:07 AM.|
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.