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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-10-03, 12:49 PM   #1
freelsjd
Registered User
 
Join Date: Feb 2003
Posts: 73
Default 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 ?
__________________
J D Freels
freelsjd is offline   Reply With Quote
Old 09-10-03, 03:17 PM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

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).
zander is offline   Reply With Quote
Old 09-10-03, 08:35 PM   #3
dpw2atox
Registered User
 
Join Date: May 2003
Posts: 170
Default

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.
dpw2atox is offline   Reply With Quote
Old 09-10-03, 09:25 PM   #4
freelsjd
Registered User
 
Join Date: Feb 2003
Posts: 73
Default 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 !
__________________
J D Freels
freelsjd is offline   Reply With Quote
Old 09-11-03, 03:14 AM   #5
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

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).
zander is offline   Reply With Quote
Old 09-11-03, 06:50 AM   #6
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default

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

Last edited by LordMorgul; 09-11-03 at 07:24 AM.
LordMorgul is offline   Reply With Quote
Old 09-11-03, 07:07 AM   #7
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

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.
zander is offline   Reply With Quote
Old 09-11-03, 07:11 AM   #8
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default

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

Last edited by LordMorgul; 09-11-03 at 07:23 AM.
LordMorgul is offline   Reply With Quote

Old 09-11-03, 08:27 PM   #9
freelsjd
Registered User
 
Join Date: Feb 2003
Posts: 73
Default 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 !
__________________
J D Freels
freelsjd is offline   Reply With Quote
Old 09-12-03, 02:25 AM   #10
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

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 is offline   Reply With Quote
Old 09-12-03, 08:01 AM   #11
freelsjd
Registered User
 
Join Date: Feb 2003
Posts: 73
Default 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 !
__________________
J D Freels
freelsjd 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


All times are GMT -5. The time now is 06:18 AM.


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