LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-11-2003, 07:16 AM   #1
drgreenthumb
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
Nvidia drivers dont work.


I`m a newbie :-)

The installation of the nvidia drivers failed:-

-> No precompled kernel interface was found to match your kernel

-> No matching recompiled kernel interface was found on the NVIDIA ftpsite, this means the installer will need to compile a kernel interface for your kernel.

ERROR: Unable to find the kernel header files for the currently running kernel.

ERROR: Installation has failed.

I am trying to install it on Debian (Woody).

How do I findout what kernel I have installed?
What kernel can i upgrade to, that is supported by the nvidia driver install so i can get a precompiled Kernel Interface? (The PC is connecting to the internet)
Are there any .deb packages that will do this in one easy step ie install the nvidia drivers for woody.

Please help I`m a newbie.


More info can be found here

http://www.linuxquestions.org/questi...threadid=80642

__________________
Dr.Greenthumb :-)
 
Old 08-11-2003, 07:36 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Moving to the Debian Forum

There are probably easier ways to do this, so I'm moving this to the Debian forum so you can get those answers quicker/easier.

You can find out what kernel you are currently running by opening up a terminal and typing:
uname -r

You can upgrade to any kernel you'd like, it's usually a good idea for most people to stay stable though, head over to:
www.kernel.org to find out what's available at any given moment. Right now 2.4.21 is the latest 'stable' version. Once you get that running (might take a while) you should then have no problems with the NVIDIA drivers. You can follow one of the kernel how-to's or like I said above, hold out for a 'debian' response.

Cool
 
Old 08-11-2003, 09:36 AM   #3
drgreenthumb
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
- I want to upgrade to kernel 2.4.21 with debian patches.

What is the best way to do this as I have kernel 2.2.20.

What will be broken by me doing this?

Can i keep my settings?

Is there a simple way for me to upgrade the kernel. I have been viewing howtos and its seems to be like a 12 step process.

Also when i installed debian it explained that binutils has a problem with kernel linking is this going to cause me any problems?

Do I need kernel headers for the debian upgrade to 2.4.21 and where can I find info on these.

also

I installed LILO in MBR so how could I edit the config for it to point to the new kernel?

help.

thanks in advance.

Last edited by drgreenthumb; 08-11-2003 at 09:38 AM.
 
Old 08-12-2003, 02:55 AM   #4
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
if you install the kernel in the debian way you shouldn't worry about that kind of things.

I personally recompile the kernel for my machine every time the "linux-way" (classical) till the make install step. Until a few months ago I did a copy of the bzImage and set up manually the lillo. On my debian box I did for the first time a make install and worked out fine.

Keep in mind that the recompilation might not work from the first time and don't "make install" from the first time. Put it with copy, set up things (lilo) and see if the kern is functional then make install

That's my opinion.
P.S.es:
I never tried the debian way of kern install.
I never installed successfully a precompiled kern, but the 2.2.20 - it came with woody.
I will not do it until I do need to recompile my kern, cause this one is working (2.4.16)
 
Old 08-12-2003, 07:40 AM   #5
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You don't have to upgrade the kernel to do this. 1stly identify your existing kernel and then using dselect or aptitude or synaptic locate the header files for your kernel. apt-get install the header files. They will be installed in /usr/src. I copied the files to a created directory /usr/inlcude/linux. Having done this run ./configure etc on your nvidia_kernel. Follow the directions for the readme from there on. You'll have to add the following to /etc/modules.conf "alias char-major-195 NVdriver" and mod your /etc/X11/XF86Config-4 as per the readme.
 
Old 08-14-2003, 12:03 AM   #6
js_530
Member
 
Registered: Jul 2003
Posts: 162

Rep: Reputation: Disabled
What is the exact apt-get name for the kernel source?
 
Old 08-14-2003, 02:00 AM   #7
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
It looks like u will have to download the kernel sources from www.kernel.org site.

I've looked over the packages that debian has - official site and saw only kernel headers and patches from previous versions.

I wonder: doesn't debian have the sources on their site?
 
Old 08-14-2003, 02:44 AM   #8
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
They do have source files but you need to add the following to your /etc/apt/sources.list;
deb-src http://ftp.uk.debian.org/debian/ stable main
deb-src http://non-us.debian.org/debian-non-US stable/non-US main
 
Old 08-14-2003, 05:28 AM   #9
drgreenthumb
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Hi,

I solved the problem.

I started again but this time bootup from the netinst cd for sarge.

It let me choose the latest kernel. This is not an option for everyone but my hardware problems where sorted.

I was about to destory my nvidia card :-).


Also I noticed the packages where installed from the stable version woody.

So latest kernel. Now I get into gdm fine no problems.


I would like to know how to switch off the x server so I get the terminal. I need to reduce my resolution. It seems it configures x for the highest res that was selected for default. I will need to edit the xf86config-4 file I guess.

Also during the setup I configured debconfig to control xfree86 functions so do I edit xf86config-4 or debconfig for x server settings.


Thanks for the help.

Last edited by drgreenthumb; 08-14-2003 at 06:06 AM.
 
Old 08-14-2003, 05:44 AM   #10
drgreenthumb
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
To get Kernel source if you have a network connection or have the cds.

apt-get install kernel( insert here the kernel number eg.2.4.21 that you want)

if it does not work you should get a list of options.

It will ask you for the correct cd or network location to download.

It dumps the sourcecode here /usr/src.

and it needs to be untared and unbziped.

I managed to get the kernel sources but the make command failed each time with "no rules" statement.

Hope this helps

Last edited by drgreenthumb; 08-14-2003 at 05:47 AM.
 
Old 08-14-2003, 06:01 AM   #11
drgreenthumb
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
I am using the default nv drivers for debian just now.

I will try and install the nvidia drivers at some point.

Also Is there a way to determine what services run when in the gui say KDE?

I installed apache at the begining but it does not show up as being loaded like if I run apache on windows (eg a feather in the system tray) how can I check it is running.

My gui defaults to gdm and then I switch to KDE is there a way to make KDE the default option it works but I dont think it is complete as it was not an option before.

Is there a way to ensure all KDE apps are installed at the latest version?

Also having selected the easy install method and selected x windows, desktop, file server, web server, sql database. How can I disable services that I do not need for example apple talk services is installed and I dont need it.
 
Old 08-14-2003, 11:31 AM   #12
js_530
Member
 
Registered: Jul 2003
Posts: 162

Rep: Reputation: Disabled
I forgot to mention that I have installed the kernel source and built the kernel but put it in the wrong place....... When I tried apt-getting the source, there was no options, is it an option passed from the commmand line?

Quote:
It dumps the sourcecode here /usr/src.
So I just got the source from kernel.org. Does the source have to be in /usr/bin or /usr/bin/kernel-.....or whatever the parent dir. in the gzipped archieve?
 
Old 08-15-2003, 01:07 AM   #13
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
http://www.linuxquestions.org/questi...threadid=81756
 
  


Reply


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
New Nvidia Drivers don't work... Roy-Svork Linux - Software 6 03-03-2008 03:46 AM
Still this problem: ATI drivers for Radeon9600 dont work Marc L. Linux - Hardware 3 07-19-2005 11:02 PM
Installed WiFi Drivers and now my Network card dont work Tomlewis007 Slackware 1 03-13-2004 11:01 PM
Nvidia Driver Dont Work!!! FearPasion710 Linux - General 1 07-31-2003 11:24 AM
Can't get new Nvidia drivers to work shnack Linux - Software 7 06-03-2003 07:33 PM

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

All times are GMT -5. The time now is 03:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration