LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 11-09-2002, 03:03 PM   #1
Jack Lord
LQ Newbie
 
Registered: Nov 2002
Posts: 2

Rep: Reputation: 0
Debian kernel source


I have been unable to run the X window manager after installing Debian Woody. Part of the problem may be the drivers for my videocard, a Geforce 2 MX, and so I am trying to install the nVidia drivers for it.

Running make install gives the error: nv-linux.h:24: linux/modversions.h No such file or directory.

I found various internet pages (on other driver installations) that said that this was because the source code for the kernel was not in the /usr/src/linux directory; and sure enough it isn't. As I understand it (badly), I need to put the source file in /usr/src/linux and then make config and [make dep[/I] to generate modversions.h. Am I right so far?

Secondly, the source itself. When I do uname -r (learnt something new today ) I get back 2.4.18-bf2.4 - the kernel I chose at installation, but I am having trouble getting this source file. http://ftp.uk.debian.org/debian/pool...source-2.4.18/ has various files including kernel-source-2.4.18_2.4.18-5_all.deb Is this going to contain the file I need? I'm on dial-up so it's a big download if I'm wrong. And finally Debian prompted to me to remove PCMIA support from the kernel and I did - is this going to complicate matters?

Sorry if this post is long and rambling, but I'm not sure what is significant and what isn't just yet.
 
Old 11-09-2002, 03:20 PM   #2
gboutwel
Member
 
Registered: May 2001
Location: Norton, KS
Distribution: Mandrake, Xandros, and Debian 3.0 (Woody) as a proxy
Posts: 103

Rep: Reputation: 15
Re: Debian kernel source

Jack,

Check the CD-rom that you installed from. Does it have an kernel-source-2.4.18 file for the installation kernel?

Check /usr/src. Is the a kernel-???.tar.bz2 file? If you don't that's what will be installed when/if you get an kernel-source deb installed. If so, then you need to unpack it to get the linux directory (you might need to symlink or rename what's unpacked)

HTH,
 
Old 11-09-2002, 03:28 PM   #3
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
First of all - I don't have a nvidia card.
You can try apt-get install nvidia-glx-src and apt-get install nvidia-kernel-src.
Maybe that works.
 
Old 11-09-2002, 03:33 PM   #4
Jack Lord
LQ Newbie
 
Registered: Nov 2002
Posts: 2

Original Poster
Rep: Reputation: 0
George,

I have the binaries on CD-ROM, the source on DVD. Naturally I don't have a DVD drive: my rationale being that I would never, ever need the source files. /usr/src/ and all sub-directories are empty, sadly, so it looks like I'll have to bite the download bullet, or get a DSL enabled friend to do it for me.

Thanks a lot for your help.

Jack
 
Old 11-10-2002, 05:22 AM   #5
Donald1000
Member
 
Registered: Oct 2002
Location: Germany
Distribution: Debian, Non-Linux: Solaris, FreeBSD
Posts: 107

Rep: Reputation: 15
It's enough to download the Kernel-Headers to get modversions.h
You can get them from the Debian Homepage. So you don't need to make a "make dep" from the full Kernel Source.

To install the nVidia drivers, look here:

http://channel.debian.de/faq/ch-confighw.html#s-nvidia
 
  


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
Debian woody-wheres my kernel source ? da_zombie Linux - Software 1 10-17-2004 09:22 AM
how to link to kernel source for Debian ndiswrapper installation case1984 Linux - Newbie 0 09-10-2004 10:32 AM
how to properly install kernel source in Debian ? kix_vn Debian 8 03-20-2004 01:30 PM
installig kernel source with debian Bullzeye Linux - Newbie 8 08-28-2003 11:39 PM
Debian kernel source tenn_eric Linux - Hardware 2 05-29-2003 10:25 PM

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

All times are GMT -5. The time now is 08:51 AM.

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