LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-04-2004, 03:38 PM   #1
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Rep: Reputation: 15
problems with 2.6.5 kernel and nvidia


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??

thanks

matteo
 
Old 05-04-2004, 03:52 PM   #2
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
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
 
Old 05-04-2004, 03:56 PM   #3
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
nvidia driver compiled especially for 2.6 series kernels here:



http://www.sh.nu/download/nvidia/
 
Old 05-05-2004, 09:00 AM   #4
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Original Poster
Rep: Reputation: 15
thank you so much
 
Old 05-05-2004, 09:05 AM   #5
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Original Poster
Rep: Reputation: 15
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?!

thanks

matteo
 
Old 05-05-2004, 10:45 AM   #6
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
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
 
Old 05-05-2004, 10:49 AM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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."
 
Old 05-05-2004, 02:54 PM   #8
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Original Poster
Rep: Reputation: 15
"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."

ok thank you!

matteo
 
Old 05-05-2004, 04:32 PM   #9
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
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
 
Old 05-06-2004, 05:09 PM   #10
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Original Poster
Rep: Reputation: 15
Grazie vecchio!
now i try to use this script...

thank you again

matteo
 
  


Reply



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
Problems with Nvidia-driver and kernel 2.6.14 victorh Debian 26 11-28-2005 03:09 PM
nVidia Driver and Kernel Problems jCarlson917 Linux - Software 10 11-14-2005 06:37 AM
nvidia drivers on kernel 2.6.x problems ome bos Linux - Hardware 1 07-12-2005 10:11 AM
debian - kernel 2.4.22-1 - nvidia problems ertmann|CPH Debian 11 11-22-2003 08:50 AM
Could upgrading kernel 2.4.20-> 2.4.22 help w alsa and nvidia problems? wahwah Linux - Newbie 1 11-15-2003 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:34 PM.

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