LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2003, 06:55 AM   #1
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Rep: Reputation: 15
[DEBIAN] That freakin NVIDIA trouble


Hi, there.

First of all, I'm not completely a noob, yet neither an expert.
I read bunch of docs and I can handle simple jobs, but helping me I just ask you to speak plain, ok?

So, I got Debian 3.0r1 and I want to make my GeForce4 work.

The *.run can't complete its task, I don't know exactly why. I've just understand there's some problem with the kernel, but it means the linux kernel (I got v2.4.18-bf2.4)?

Of course I quit X before any try and I lowered the init level to 3, but nothing seems useful to make it work.

Any Idea?
 
Old 10-24-2003, 07:00 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Do you have kernel sources installed?
what's the error message you get from the Nvidia installer?
 
Old 10-24-2003, 07:02 AM   #3
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
You need the kernel headers for your kernel installed.http://packages.debian.org/unstable/....18-bf2.4.html
Might need the source,too.
 
Old 10-24-2003, 07:09 AM   #4
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
Ehr... If I remember well the kernel-source is already installed.
Yeah, the message said something about the headers files, I gonna try that link even though I have a stable.
 
Old 10-24-2003, 07:25 AM   #5
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
You need those headers for the 2.4.18-bf2.4 kernel.Funny that those are still in unstable when they fix to release kernel 2.6 - debian needs to do something to get moving again.
 
Old 10-24-2003, 09:25 AM   #6
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
Ok, I checked out.

Now, both kernel-source and kernel-headers are installed, yet the *.run file (I tried v4363) doesn't work.
I don't understand why, in fact the error message is the same: it talks about kernel-headers.

How can I fix it?
 
Old 10-24-2003, 12:54 PM   #7
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
First of all try 4496.Thats the latest version.Whats the error message?Kernel headers not found or something different?
 
Old 10-24-2003, 01:09 PM   #8
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
As root, type dpkg -l | grep kernel and post back what it says.

crashmeister: 2.4.18-bf24 is from the current stable release (Woody). The fact that it's not deprecated and removed in Unstable doesn't really mean anything else than Debian tries to keep some level of backwards compatibility. If you check the current testing tree (which isn't less stable than stable Mandrake/SuSE/Redhat releases) you'll see that it's fairly up to date.
The link you posted is not relevant to a system running Woody since the headers are from a different build.

This package probably corresponds to your running kernel if you use the security updates from security.debian.org (which you probably do - it's encouraged during the installation): http://packages.debian.org/stable/de....18-bf2.4.html

Håkan
 
Old 10-24-2003, 01:34 PM   #9
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
also make sure you're using the same version of gcc that was used to compile the kernel...

to check try:

cat /proc/version

gcc -v
 
Old 10-24-2003, 01:50 PM   #10
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Quote:
Originally posted by hw-tph
As root, type dpkg -l | grep kernel and post back what it says.

crashmeister: 2.4.18-bf24 is from the current stable release (Woody). The fact that it's not deprecated and removed in Unstable doesn't really mean anything else than Debian tries to keep some level of backwards compatibility. If you check the current testing tree (which isn't less stable than stable Mandrake/SuSE/Redhat releases) you'll see that it's fairly up to date.
The link you posted is not relevant to a system running Woody since the headers are from a different build.
Not as the default - default kernel is 2.2.xx
I merely put the link for illustrative reasons so he nows what the thing is called.I figure when you run debian you'll install it with apt and then it will pull it from stable anyway if it is in there and his apt sources are ok - right?
 
Old 10-24-2003, 03:20 PM   #11
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
It gave me an error message about kernel headers not found, but I installed the package unstable from the first posted link.
Now I gonna try those command you were talkin' about and substitute the wrong package with the good one.
See ya later.
 
Old 10-25-2003, 03:05 AM   #12
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
Post

First of all I inserted this line: "dpkg -l | grep kernel".
The answer was:

ii kernel-headers 2.4.18-6
ii kernel-package 7.107
ii kernel-source- 2.4.18-5
ii nfs-kernel-ser 1.0-2
ii pciutils 2.1.9-4

Then I passed these commands:

cat /proc/version
-------> both these lines answered 2.95.4 20011002
gcc -v

Finally I uninstalled the wrong kernel-headers (it belonged to the unstable) and installed the correct one (belonging to the stable), so the first command showed kernel-headers 2.4.18-5.

I thought everything was right so I launched the 4496 Nvidia driver with "sh" but it said the kernel was wrong and its effort recompiling it was useless because it wasn't able to find the kernel-headers, something like this anyway.

What do you think about that?
 
Old 10-25-2003, 03:39 AM   #13
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
what does "uname -r" say?
 
Old 10-25-2003, 04:45 AM   #14
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
Before this jobs it said 2.4.18-bf2.4, but I didn't try after to be fair.
 
Old 10-25-2003, 05:13 AM   #15
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Have a look at this http://www.madcow404.com/buyle/Nvidi...ebian_3_0.html
 
  


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
trouble with forcedeth driver (have nvidia nforce chipset) under debian "sarge" baldy1324 Linux - Networking 1 10-17-2005 09:06 AM
freakin' sound doesn't work sodaking663rd Linux - Newbie 3 08-19-2005 05:26 PM
Why is 10.1 so freakin' slow? matthewa Slackware 42 07-04-2005 03:06 PM
Can't build nvidia.ko on MEPIS3.3. Read /usr.../nvidia-kernelsource/README.debian digorykirke Linux - Software 0 03-16-2005 03:10 AM
Trouble with new nVidia driver installation...no nvidia logo and KDE no start up mdb Linux - Software 8 08-18-2004 10:45 AM


All times are GMT -5. The time now is 08:27 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