Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-25-2004, 03:46 PM   #1
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
Two different kernels working with nvidia drivres

I've installed two different kernels on my box (2.4.22 and 2.6.4)
The 2.6.4 kernel with nvidia drivers is working perfecty well, but, of course, when I try to boot with 2.4.22 kernel, the X server hangs not finding a proper module to load.
Is there a method to have my 2.4.22 working with nvidia drivers (or nv or vesa as well) at the same time?
I've looked around by some internet searchs and Xfree site doumentation but I did not find something useful
Old 04-25-2004, 03:54 PM   #2
Senior Member
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
I believe this may help. It's from the readme on the Nvidia site.

Q: I just upgraded my kernel, and now the NVIDIA kernel module will not
load. What is wrong?

A: The kernel interface layer of the NVIDIA kernel module must be
compiled specifically for the configuration and version of your kernel.
If you upgrade your kernel, then the simplest solution is to reinstall
the driver.

ADVANCED: You can install the NVIDIA kernel module for a non
running kernel (for example: in the situation where you just built
and installed a new kernel, but have not rebooted yet) with a command
line such as this:

sh --kernel-name='KERNEL_NAME'

Where 'KERNEL_NAME' is what `uname -r` would report if the target
kernel were running.
Old 04-25-2004, 04:41 PM   #3
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Original Poster
Rep: Reputation: 43
when you run the install script, it tells you you already have the driver installed and deletes it before the new istallation, and you're back to the previous situation (reverted of course).
Thank you anyway shilo
Old 04-25-2004, 11:41 PM   #4
LQ Newbie
Registered: Jan 2004
Distribution: slackware
Posts: 17

Rep: Reputation: 0
Do a search on this forum, find out how to extract the source from the script and then just compile and install as usual so you wont lose your first module. The quick way is to rename your module (/lib/modules/(kernel)/drivers/video/nvidia.o) and rename it back once your done but i'll become a pain after a few times


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia trouble with multiple kernels slackware 10.1 salviadud Slackware 8 07-20-2005 07:48 PM
nvidia driver for multiple kernels Cornholio Linux - Hardware 4 04-02-2005 01:35 AM
NVidia driver with different kernels theonebeyond Linux - General 2 11-22-2004 11:13 AM
nvidia grafic driver solution running multiple kernels bstrik Slackware 4 09-02-2004 10:19 AM
Nvidia drivers with multiple kernels linuxhaxz Slackware 9 05-24-2004 02:36 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration