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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-29-03, 12:35 AM   #1
unhappy_mage
Registered User
 
Join Date: Aug 2003
Posts: 13
Send a message via AIM to unhappy_mage
Default 2.6.0-test4 kernel and nVidia drivers

Has anyone had any success compiling the video drivers with the 2.6.0-test4 kernel series? I am currently running my machine with rh9 and this kernel, and the drivers don't seem to support the new layout of the 2.6 stuff. Any unofficial/unsupported patches worth looking into?

Thanks in advance.
unhappy_mage is offline   Reply With Quote
Old 08-29-03, 03:16 AM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

The 2.6.0-test* development kernels are officially unsupported, but third-party patches exist to establish compatibility (http://www.minion.de/nvidia.html).
zander is offline   Reply With Quote
Old 08-29-03, 09:28 AM   #3
unhappy_mage
Registered User
 
Join Date: Aug 2003
Posts: 13
Send a message via AIM to unhappy_mage
Default

i tried those, but the latest nvidia kernel drivers are NVIDIA-Linux-x86-1.0-4496-pkg2.run, while the patches are for pkg0.run and thus the patches all fail. did these work with pkg0? my ftp client isn't working right now, but if the pkg0 patches did work, it's worth going out and getting the proxy server working.
unhappy_mage is offline   Reply With Quote
Old 08-29-03, 09:58 AM   #4
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

The actual driver is the same for -pkg0 and -pkg2, the two packages merely differ in the number of prebuilt kernel interface files included. The patches are indifferent towards this, since they operate on the source code for the interface layer rather than object files shipped for specific kernels. What's the exact procedure you followed to apply the patch(es) and what's the exact error message you received?
zander is offline   Reply With Quote
Old 08-30-03, 08:49 PM   #5
unhappy_mage
Registered User
 
Join Date: Aug 2003
Posts: 13
Send a message via AIM to unhappy_mage
Default

Quote:
What's the exact procedure you followed to apply the patch(es) and what's the exact error message you received?
whoops, my bad. it seems, upon careful re-reading of the README at minion, there's some other things i was missing.

# cd NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/
# make install
make[1]: Entering directory `/root/linux-2.6.0-test4'
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/root/linux-2.6.0-test4'
depmod: QM_MODULES: Function not implemented

make: *** [module-install] Error 1

this is the problem i get trying to modprobe any module, not just this one. have you run into this anywhere else? i just went out and got a new modutils which didn't fix it, so that's presumably not it. does it have to do with the new 'module unloading' code?

---edit---

i replaced my modprobe again and it works now, but after doing 'make install' and changing my X config, it doesn't see the module, which is in /lib/modules/2.6.0-test4/kernel/drivers/video/nvidia.ko . Is this the right place?

Last edited by unhappy_mage; 08-30-03 at 09:47 PM.
unhappy_mage is offline   Reply With Quote
Old 08-30-03, 10:54 PM   #6
unhappy_mage
Registered User
 
Join Date: Aug 2003
Posts: 13
Send a message via AIM to unhappy_mage
Default hoo-ahhh!

got it working!
edited usr/src/nv/Makefile to include:
nvidia.o: all
and then did the nvidia-installer thing. it worked. i would do a victory dance, and in fact i did, but you can't see any of that. feel glad.
unhappy_mage is offline   Reply With Quote
Old 08-31-03, 02:28 AM   #7
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

The module is installed to /lib/modules/2.6.0-test4/kernel/drivers/video/nvidia.ko by convention, where it should easily be found by depmod/modprobe. Also, there's a modified version of the NVIDIA installer with Linux 2.6 support, which supports the KBUILD Makefile's module target in place of the nvidia.o target in the original NVIDIA Makefile.
zander is offline   Reply With Quote
Old 09-03-03, 09:19 AM   #8
unhappy_mage
Registered User
 
Join Date: Aug 2003
Posts: 13
Send a message via AIM to unhappy_mage
Default

well, it is installed in /lib/modules/2.6.0-test4/kernel/drivers/video/nvidia.ko, but modprobe doesn't find it. i have to do 'insmod /lib/..../nvidia.ko' for it to work. any ideas on this? also, whenever i rebuild the kernel, the nvidia.ko gets deleted and i have to recopy it.
unhappy_mage is offline   Reply With Quote

Old 09-03-03, 10:26 AM   #9
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

I can't think of a good reason why modprobe wouldn't find it there; did you run depmod? Since this is the default installation location, it's also odd that nvidia.ko isn't installed correctly (i.e. to that location) on your system...
zander is offline   Reply With Quote
Old 09-05-03, 03:23 AM   #10
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default

Quote:
Originally posted by unhappy_mage

this is the problem i get trying to modprobe any module, not just this one. have you run into this anywhere else? i just went out and got a new modutils which didn't fix it, so that's presumably not it. does it have to do with the new 'module unloading' code?

---edit---

i replaced my modprobe again and it works now, but after doing 'make install' and changing my X config, it doesn't see the module, which is in /lib/modules/2.6.0-test4/kernel/drivers/video/nvidia.ko . Is this the right place?
For kernel 2.6.0-testx you should be using a changed set of module handling binaries. You need to install module-init-tools-0.9.9 or newer. When installing these you can save the old binaries by moving them, a command integrated in the tarball installation (don't know about rpm options).

Yes, you will have issues loading any module until you've installed these.

The module is installed in the correct location, but you need to make sure you've recompiled and relocated the nvidia.ko each time you change your kernel and recompile to be certain you didn't change anything related.

I'm working on getting this going myself, so I also am in the midst of the struggle, I have issues with the disk drivers at present.

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

I'm sure he's using the module-init-tools, he wouldn't be able to load modules at all on Linux 2.6.0-test* kernels if he wasn't. The transition from the old modutils should be relatively painless, however, depmod/modprobe should be able to find installed kernel modules without additional magic. The translation of modules.conf to the new modprobe.conf can be a little tricky for certain constructs, but the conversion script shipped with the module-init-tools should work fine for the entry pertainting to the NVIDIA module; either way, difficulties with modprobe.conf shouldn't affect explicit loading of the nvidia.ko kernel module with modprobe.
zander is offline   Reply With Quote
Old 09-08-03, 09:22 AM   #12
unhappy_mage
Registered User
 
Join Date: Aug 2003
Posts: 13
Send a message via AIM to unhappy_mage
Default modtools 0.9.9

i am using the new modutils, however, i do not have a modprobe.conf entry. i'm probably going to a cheap-o (tm) video card soon, as the gf2 doesn't seem to like me, and i don't particularly like the separate kernel module.

also, i'm giving up on redhat, i'm trying to go even more pure than gentoo. i'm gonna get all the packages myself and compile them. i know gentoo would be a lot easier, but oh well. i haven't got anything better to do. well, homework, but...

also, if you see me in a few years with a sign that says "ATI is my god" or something, shoot me.
unhappy_mage 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
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
Reinstalling nVidia Drivers after a kernel compile Rukkh NVIDIA Linux 5 08-22-02 01:29 AM
Do I have to reinstall NVIDIA drivers after every kernel upgrade? supernaut NVIDIA Linux 3 07-31-02 06:50 PM

All times are GMT -5. The time now is 11:10 AM.


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