LinuxQuestions.org
Visit Jeremy's Blog.
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 01-28-2005, 11:00 AM   #1
utku
LQ Newbie
 
Registered: Jan 2005
Posts: 11

Rep: Reputation: 0
Missing Kernel Headers


Hi,
I am trying to install nforce drivers. But I can not download kernel headers via apt get. My kernel is 2.6.8-1
apt-get install kernel-headers-2.6.8-1-386 returns not found error.
I also edited sources.list, and tried with other mirrors.
 
Old 01-28-2005, 12:49 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Err...doesn't the Nvidia installer ask to see the kernel source, not the kernel headers?
 
Old 01-28-2005, 01:07 PM   #3
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
Take a look at this: http://home.comcast.net/~andrex/Debi...tallation.html It gives several routes to installing the nvidia module in Debian.
 
Old 01-29-2005, 04:32 AM   #4
utku
LQ Newbie
 
Registered: Jan 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Andrew Benton
Err...doesn't the Nvidia installer ask to see the kernel source, not the kernel headers?
Hi, Andrew, only Kernel headers are needed to build drivers.
 
Old 01-29-2005, 04:38 AM   #5
utku
LQ Newbie
 
Registered: Jan 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by m_yates
Take a look at this: http://home.comcast.net/~andrex/Debi...tallation.html It gives several routes to installing the nvidia module in Debian.
I already used those tutorials. My system was quite fresh sarge netinstall. But I could not found headers for stock kernel I've used. So I have upgraded kernel 2.6.8.-2.-686(it was 2.6.8.1-386). Downloaded headers and used many ways that are desribed on those tutorials. Al last I've builded and installed drivers. My box has nforce 1 chipset, I don't know if there is a problem with this chipset becouse when I use the drivers intalled I get just a blank screen and systems stops responding.
 
Old 01-29-2005, 04:40 AM   #6
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
have you edited the XF86Config-4 file as stated in
ftp://download.nvidia.com/XFree86/Li...629/README.txt
 
Old 01-29-2005, 08:28 AM   #7
utku
LQ Newbie
 
Registered: Jan 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by utanja
have you edited the XF86Config-4 file as stated in
ftp://download.nvidia.com/XFree86/Li...629/README.txt
Yes I did, first I ve used Nvidia installer to build and install drivers, and later uninstalled them and used Debian way as described in tutorials, but results are same... When I edit the F86Config-4 and startx system stops responding with blank screen, also nothing is written on logs...
 
Old 01-29-2005, 09:36 AM   #8
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 229

Rep: Reputation: 32
make sure your using the testing sources.. paste them if necessary.. they are in there.

Last edited by zuralin; 01-29-2005 at 09:37 AM.
 
Old 02-03-2005, 09:10 PM   #9
LegionAUS
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
Before I start I have NO IDEA how to fix this, as I am after the answer as well.

But...... The question is about how and where to find KERNEL-HEADERS-2.6.8-1-386 .. It is TOTALLY irrelavent what they are being used for. In this case it is nVIdia driver install, in my case it is ndiswrapper install.

This is not a problem with nVidia installers or installing or for ndiswrapper, or ALSA, it is a problem of the install scripts are asking for somthing (KERNEL-HEADERS-2.6.8-1-386) which DO NOT EXIST.

Trying to APT KERNEL-HEADERS-2.6.8-1-386 gives - nothing found- a manual search reveals KERNEL-HEADERS-2.6.8-2-386. While these with some wizardry may actually be the right ones, how can they be turned into something that install programs that require kernel-headers will recognise?

Anone who can sort this out will have my undying thanks.


And please......... don't post about procedures for nVidia or ndiwswrapper or whatever. They are not the problem, missing KERNEL-HEADERS-2.6.8-1-386 are.

And if I am a total numpty and they are available, then don't keep it secret, tell me where, exactly!!
 
Old 02-03-2005, 09:25 PM   #10
utku
LQ Newbie
 
Registered: Jan 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Sorry for taking subject to nvidia drivers. But I could not find them, and asked some other forums, and newsgroups, nope... It seems like they are erased from official depots. So I had to upgrade kernel. It was a pretty smooth operation...
 
Old 02-03-2005, 09:39 PM   #11
slayerboy
LQ Newbie
 
Registered: Sep 2003
Location: Rochester, NY
Distribution: Debian
Posts: 11

Rep: Reputation: 0
I had to go to unstable and upgrade to 2.6.8-10 and then get the headers that way. Not saying this will solve your problem. it seems this was fine until yesterday, as I was able to install the nvidia drivers, but then when I went to re-install them today, I had to upgrade my kernel through unstable.
 
Old 02-04-2005, 11:21 AM   #12
jordzz
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian Testing
Posts: 18

Rep: Reputation: 0
I have it too (2.6.8-1-386), with a fresh debain install!
I can't find it on debian.org. Maybe we need to download
the new iso from bittorent?
 
Old 02-04-2005, 02:35 PM   #13
^kossu
LQ Newbie
 
Registered: Jan 2005
Posts: 25

Rep: Reputation: 15
Is it possible to make headers my self? I compile kernel 2.6.10 and need kernel-headers-2.6.10 to get dri working...

There is kernel-headers-2.6.8-2-386 in "sarge" but no kernel-source-2.8.6-2-386. Why is that? I need both packets if i want use kernel 2.6.8-2-386 and use 3D Driver from the DRI...

Sorry my poor english...

King regards The N0ob
 
Old 02-04-2005, 05:20 PM   #14
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 153

Rep: Reputation: 17
Code:
 apt-get install linux-kernel-headers
 
Old 02-06-2005, 11:27 AM   #15
^kossu
LQ Newbie
 
Registered: Jan 2005
Posts: 25

Rep: Reputation: 15
Quote:
Originally posted by AXO
Code:
 apt-get install linux-kernel-headers
That should do what?
 
  


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
Missing headers (mqueue.h) / libraries in Cygwin Sambatyon Programming 0 07-29-2005 01:09 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM
devel packeges install. but all my source headers are missing !!! qwijibow Linux - Software 3 05-26-2004 12:21 AM
gaim...missing headers CamelofCamelot Linux - Software 0 10-19-2003 12:44 AM
nVidia Driver won't install because Kernel Headers are missing...Whats that me then? Stevetgn Linux - Newbie 3 08-24-2003 08:27 PM

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

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