LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-01-2008, 02:23 PM   #1
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
No kernel headers for 2.6.24-1-amd64 Lenny


Hello all,
Just finished a fresh install of Lenny using a 2.6.24-1-amd64 kernel.
I have just come to install the Nvidia driver(with the Nvidia installer),but the kernel headers are missing for this kernel version from the Debian repositories?
After googling i found the following link:

http://packages.debian.org/lenny/linux-libc-dev

Am i right in thinking that this package replaces the kernel headers?
I tried the following:

Code:
aptitude install build-essential module-assistant
Then:

Code:
module-assistant prepare
I then got an error message saying "cannot find kernel headers"
Any ideas on how to proceed with this kernel?
Regards.
The trooper.
 
Old 10-01-2008, 02:56 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Why not upgrade to the latest Lenny kernel (2.6.26) and try again ?

http://packages.debian.org/search?ke...ng&section=all

Code:
it-etch:~$ apt-cache policy linux-source-2.6.24
linux-source-2.6.24:
  Installed: (none)
  Candidate: (none)
  Version table:

it-etch:~$ apt-cache policy linux-source-2.6.26
linux-source-2.6.26:
  Installed: (none)
  Candidate: 2.6.26-5
  Version table:
     2.6.26-5 0
        500 http://ftp.uwsg.indiana.edu lenny/main Packages

Last edited by farslayer; 10-01-2008 at 03:00 PM.
 
Old 10-01-2008, 03:24 PM   #3
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Original Poster
Rep: Reputation: Disabled
I was thinking along those lines....
I can only find Linux-image-2.6.26-1-amd64 via aptitude.I assume this is the most recent?
Your post shows 2.6.26.5 for Linux-source.

Last edited by the trooper; 10-01-2008 at 03:36 PM.
 
Old 10-01-2008, 03:55 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Install the one you found.. it will all work out...

Code:
it-etch:~$ apt-cache policy linux-image-2.6.26-1-amd64
linux-image-2.6.26-1-amd64:
  Installed: (none)
  Candidate: 2.6.26-5
  Version table:
     2.6.26-5 0
        500 http://ftp.uwsg.indiana.edu lenny/main Packages


it-etch:~$ apt-cache policy linux-headers-2.6.26-1-amd64
linux-headers-2.6.26-1-amd64:
  Installed: (none)
  Candidate: 2.6.26-5
  Version table:
     2.6.26-5 0
        500 http://ftp.uwsg.indiana.edu lenny/main Packages
 
Old 10-01-2008, 04:20 PM   #5
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Original Poster
Rep: Reputation: Disabled
Using the later kernel now,with the Nvidia driver.
Thanks Farslayer.
 
Old 10-03-2008, 10:56 AM   #6
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Original Poster
Rep: Reputation: Disabled
Just to update on this post.
After installing the 2.6.26-1-amd64 kernel and Nvidia driver it hangs at boot for about 30 t0 40 seconds.
Here is the output of dmesg:

Code:
[   19.165444] ata3: link is slow to respond, please be patient (ready=0)
[   24.881079] ata3: COMRESET failed (errno=-16)
After about 30 seconds the system then boots as normal.
After googling,i have seen posts on other forums relating this problem to the kernel.
Has anyone else got this problem,or more importantly found a fix?
I have filed a bug report with Debian,but in the mean time i have gone back to using the 2.6.24 kernel with the "nv" driver.
Any thoughts would be appreciated.
Regards.
The trooper

Last edited by the trooper; 10-03-2008 at 02:25 PM.
 
Old 10-03-2008, 03:29 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
It does appear to be a bug in the kernel related to libata
http://bugzilla.kernel.org/show_bug.cgi?id=11445
the fix is pending in the 2.6.27 kernel


https://bugs.launchpad.net/ubuntu/+s...ux/+bug/256637
Fix was included in Ubuntu-2.6.27-3.4

nothing for Debian yet it appears,,
 
Old 10-03-2008, 03:44 PM   #8
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Original Poster
Rep: Reputation: Disabled
Hello Farslayer,
Thanks for the links.
Haven't had the bug report accepted as yet by Debian.
I will post back any developments......
Just out of curiosity what kernel are you running in Sid?
 
Old 10-03-2008, 06:03 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Sid is currently at 2.6.26-1

http://packages.debian.org/sid/linux-image-2.6-686
 
Old 10-03-2008, 06:18 PM   #10
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Are you sure you don't have the 2.6.24 headers?

apt-cache search linux-headers-$(uname -r)

If not, you can still create the files you need, but you will need to install the source and configure the kernel. I can't remember if you also need to build it just to get the files needed.
 
Old 10-03-2008, 06:34 PM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
2.6.24 source and headers are no longer in the repositories..

maybe they are archived somewhere ?

debs might even be on the install media...... hadn't thought about that.
 
Old 10-04-2008, 06:39 AM   #12
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Original Poster
Rep: Reputation: Disabled
I used the net-install cd version,so probably no .deb's on there.
 
Old 10-04-2008, 07:43 AM   #13
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Ugh ... that's one of the few annoyances with net installs; I guess the lesson is install the headers as soon as you install a kernel.
 
Old 10-04-2008, 08:27 AM   #14
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I wish that were true... some kernels are still available but the headers are not installable because of dependencies, or the headers are not available at all. So a slight refinement to the otherwise good advise: install the headers immediately when installing the kernel, if the headers do not install, drop the kernel!

jlinkels
 
Old 10-05-2008, 04:49 AM   #15
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Original Poster
Rep: Reputation: Disabled
Another update to this thread......
I was searching through some old discs ,and came across the full install DVD(disc1) for Lenny.
As Farslayer suggested this had the kernel headers for the 2.6.24 kernel on it.
Installed those packages from the disc,and installed the Nvidia driver.
Thanks to Farslayer,Pinniped and jlinkels for your replys.
Just waiting to hear what Debian say regarding the bug report......

Best Regards.
The trooper.
 
  


Reply

Tags
amd64, at, boot, debian, hangs, kernel



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 Lenny AMD64 Intel IWL4965 WiFi WolfCub Linux - Wireless Networking 9 02-25-2009 07:03 AM
Installing 32bit programs on amd64 (lenny) war1025 Debian 2 03-29-2008 02:28 PM
ATI Drivers Not Installing Correctly On Lenny .22-3-amd64 Christopher Debian 1 03-21-2008 01:21 PM
lenny +ipw3945 +amd64 not working cybrjackle Debian 5 08-05-2007 09:36 AM
NVidia driver missing libc on Lenny (2.6.21-2-amd64) krassi Debian 5 07-28-2007 11:08 AM

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

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