|
|
#1 | |
|
Registered User
Join Date: Feb 2004
Location: New Haven, CT
Posts: 2
|
Two questions. I had to recompile my Red Hat 9 kernel (2.4.20-20.9-athlon) to enable usb storage debugging. I ran the nvidia driver updater in the new kernel, which is fine, but now (1) X won't start on the old kernel and (2) the script can't compile the driver on the old kernel since it can't locate nvidia.o due to not knowing where the linux source is. This is odd, because I didn't change the linux source (I compiled from the same kernel source that corresponded to what was running on my computer).
Question 1: Is there no way to have the nvidia driver set up to work in multipe kernels on the same machine? Question 2: Why can't the script recompile the driver in the old kernel? I gather that the process of making and installing the new kernel changed something that makes it impossible for the nvidia install to work with the old kernel. One annoying possibility would be, I guess, to recompile the original kernel again (Red Hat provides the config files). Surely there's a better way. Thanks, duke |
|
|
|
|
|
|
#2 | |
|
[DEADAGAIN]blueworm
Join Date: Mar 2003
Posts: 416
|
You can have as many kernels as you want.
What you did was... make modules modules_install. This overwrites /lib/modules/2.4.X Once you have re-installed the nvidia driver it will work in both kernel as long as they share the same /lib/modules in other words if they are in fact the same kernel but with differrent options built. If you want to compile different kernel versions, You will have to boot the new kernel and install the kernel module so that it is in the new /lib/modules/2.4.XX. |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Feb 2004
Location: New Haven, CT
Posts: 2
|
Thank you for the reply. You are exactly right, I did a make modules_install after I did make modules.
I'm afraid I'm enough of a novice that I don't understand how to fix the problem. I take it that now that I have different /lib/modules directories, I have to do the latter of your suggestions, boot the the new kernel and install ther kernel module from so that it's in /lib/modules/2.4.blah. I obviously don't understand, because this is what I thought I did, by rerunning the nvidia package in the new kernel. This is what caused X on the old kernel to stop working and also, I guess, prevented me from rerunning the nvidia package in the old kernel. How do I restore X on that kernel? Also, what *should* I have done? Not done 'make modules_install' if the kernels are builds of the same version? Thank you! duke |
|
|
|
|
|
#4 | |
|
[DEADAGAIN]blueworm
Join Date: Mar 2003
Posts: 416
|
if both kernels are 2.4.20-20.9-athlon they will share /lib/modules/2.4.20-20.9-athlon.
Therefore if the nvidia kernel module is installed for 1 it is for both. |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jan 2004
Posts: 31
|
Run the NVIDIA installer script with the --help flag, there's and option there to install it for additional kernels without it uninstalling previously installed drivers for different kernel versions.
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Feb 2004
Location: wa?brzych
Posts: 1
|
But don't You think it should be a question in FAQ... I came a long way to read those posts and I think it's basic security to be able to run an old kernel.
|
|
|
|
|
|
|
#7 | |
|
[DEADAGAIN]blueworm
Join Date: Mar 2003
Posts: 416
|
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| nvidia driver quality decrease? | legluondunet | NVIDIA Linux | 17 | 06-26-12 10:03 AM |
| Should we reinstall nvidia driver for new kernels? | Bersam | NVIDIA Linux | 5 | 05-27-12 04:42 PM |
| Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 | Ferianto85 | NVIDIA Linux | 0 | 05-18-12 08:35 PM |
| Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) | Katchina404 | NVIDIA Linux | 9 | 01-12-03 08:49 AM |
| nvidia + 2.4.19 gentoo = messed up | ulukay | NVIDIA Linux | 18 | 11-01-02 11:58 PM |