SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi, i have just installed the new 2.6.5 kernel with the standard procedure on slackware 9.1 but now when i boot, the system fails to start X11 session with this error: "can't find nvidia kernel modules".
i have a nvidia ge force mx 440 and time ago i installed the official drivers to get the 3d acceleration work... what can i do to use my graphic drive on the new kernel??
You have to install nvidia drivers again each time you recompile and install a new kernel.
Take also care to install the latest version of nvidia drivers as the 2.6 kernel series require minimum 1.0.5336 release.
Ciao
uhm....i have another problem:
i booted with 2.6 kernel, installed again the drivers, but now the 2.4 kernel module have been removed! so i think i cannot use 2 kernels?when i run the installation procedure the installed modules are found and removed....how can i install the drivers both on 2.4 kernel and on 2.6 kernel?!
I did several attempts having either 2.4 and and 2.6 nvidia modules working at boot,
but I've not been succesful, because as you mentioned the old driver is preliminarely removed by the script
I also tried to manually copy the modules within my 2.6.4 and 2.6.3 directories, but this leaded me to a mess.
It could be possible by compiling the drivers from sources, but I've never tried.
I set up a short script to be copied into /etc/rc.d/rc.local that enable a different driver (nv or nvidia) according to the kernel you choose at boot time.
If you're interested, I'll post it.
Ciao
It is a little problem with nvidia drivers, nvidia-installer by default remove the old driver.
try nvidia-installer -A --help
abd look at the -K, --kernel-module-only option
" Install a kernel module only, and don't uninstall the existing driver. This
is intended to be used to install kernel modules for additional kernels (in
cases where you might boot between several different kernels). To use this
option, you must already have a driver installed, and the version of the
installed driver must match the version of this kernel module."
"I set up a short script to be copied into /etc/rc.d/rc.local that enable a different driver (nv or nvidia) according to the kernel you choose at boot time.
If you're interested, I'll post it."
This is the script I use to load nvidia driver and nv according to what kernel I'm loading
For the purpose you have to create two different XF86Config files with different configurations.
The one you'll load with the nvidia module with his own config will be XF86Config_nvidia or whatever you like.
the second will be XF86Config_nv or vesa.
Basically this simple script means
Check what kernel has been loaded,
if different from the base kernel (2.6.4 in my case)
copy nv based config file to XF86Config
else
copy nvidia based config file to XF86Config
Very simple, if you need some extra info, please ask
Ciao
# Script per modificare il file /etc/XF86Config in modo da caricare il driver nvidia solo col Kernel di default
#
arch=$(uname -r)
kernel="2.6.4"
if [ "$arch" != "$kernel" ]; then
cp /etc/X11/XF86Config_nv /etc/X11/XF86Config
else
cp /etc/X11/XF86Config_nvidia /etc/X11/XF86Config
fi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.