LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   After updating kernel, Nvidia module cannot be found. (https://www.linuxquestions.org/questions/suse-opensuse-60/after-updating-kernel-nvidia-module-cannot-be-found-261828/)

ccin1492 12-02-2004 02:03 PM

After updating kernel, Nvidia module cannot be found.
 
I just updated my kernel thru YOU, but when I rebooted my machine the X display won't come up. I think I know what the problem is, but I'm not sure how to fix it. The problem appears to be that the nvidia module is not being loaded in the new kernel, so when I do a modprobe is says that there is no nvidia module.

How do I create a nvidia module for the new kernel? Can I do a simple copy from the old kernel?

Thanks.

320mb 12-02-2004 02:09 PM

reinstall the nvidia driver..........

ccin1492 12-02-2004 02:12 PM

So is the rule of thumb then: reinstall the problem software? I have another module that is also not being loaded: Cisco VPN.

Thanks.

basileus 12-02-2004 02:50 PM

Quote:

Originally posted by ccin1492
So is the rule of thumb then: reinstall the problem software? I have another module that is also not being loaded: Cisco VPN.

Thanks.

Nvidia kernel modules have to be compiled to match the kernel. Therefore, if you compiled a new kernel, you also have to compile new kernel modules for it. Same goes for most other modules that are not part of the kernel tree.

Just re-run the nvidia-installer after having booted with your new kernel. Possibly you can also use some source-RPM's... can't help you with those.

With Cisco you probably have to obtain the source code somewhere (source RPM?), compile and install it.

ccin1492 12-02-2004 03:16 PM

Ok, thanks.

So I have to compile new kernel modules for Nvidia, Cisco, and VMWare... I have some work to do then...

Does this also mean I have to update the kernel sources as well ( I wonder if YOU did this automatically). Is there way to check to see if the kernel sources are in sync with the kernel?

nitroid 12-02-2004 04:13 PM

How did you install the drivers? If you got the install script from nvidia website, the drivers will dissappear every time YOU installs a kernel patch. To prevent this, install the nvidia driver via YOU. Just choose "manually select packages", select "fetchnvidia" from the package list and bob's your uncle.

HTH.

ccin1492 12-02-2004 04:57 PM

The driver is still installed: when I run the nvidia-install program it says that a driver is currently installed. So according to basileus I just need to rebuild the module, but the only way I know how to do that is reinstall the driver. No biggie...

I tried installing nvidia thru YOU, but that didn't work. I had to manually install the driver.

trickykid 12-04-2004 07:47 PM

Quote:

Originally posted by ccin1492
The driver is still installed: when I run the nvidia-install program it says that a driver is currently installed. So according to basileus I just need to rebuild the module, but the only way I know how to do that is reinstall the driver. No biggie...

I tried installing nvidia thru YOU, but that didn't work. I had to manually install the driver.

Yes, all of these mentioned are compiled and installed against the current kernel at that given time. When the kernel changes, you have to reinstall since they depend on the kernel to work properly.

ccin1492 12-05-2004 09:43 PM

Conclusion:

I re-installed the driver and inserted the module and now everything is working fine.

Thanks to all for your comments!

Tim


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