LinuxQuestions.org
Visit Jeremy's Blog.
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 09-15-2008, 08:20 PM   #1
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
What kernel to install for K7?


I want to upgrade my kernel as a preparation to do a dist-upgrade from Etch to Lenny.

This proves to be difficult. In Etch 2.6.24 is available, but when I install linux-image-2.6-k7, apt installs linux-image-2.6.18-6-k7, which is way too old.

Changing the repositories to testing does give me a valid linux-image-2.6.22-3-K7 to install, BUT when I want to install the kernel headers, apt fails on linux-kbuild-2.6.22 not being available. I need the headers to compile the nvidia driver.

There is no other K7 kernel available in Testing. When I try to install linux-image-2.6-k7, apt wants to install an i386 version kernel.

All in all, this is strange. I am running other Testing (Lenny) systems happily running kernel 2.6.24 which was available at the time of installation.

I can't really find out why Lenny isn't offering a decent K7 kernel, or why linux-kbuild-2.6.22 is not available while the kernel is still in the repositories.

Any ideas?

jlinkels
 
Old 09-16-2008, 03:27 AM   #2
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
I think Debian did away with the K7 kernels, you can just install the 2.6.26-686 kernel or whatever the latest kernel is.
 
Old 09-16-2008, 07:27 PM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I'll try that. Just wondering if it has a performance impact. The alternative is to compile my own kernel I presume? Or is the complete K7 option gone from the kernel? I could check that myself, isn't it?

jlinkels
 
Old 09-17-2008, 01:46 PM   #4
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
I heard in another forum that Debian stopped maintaining the K7 kernels and going with 686 kernels. I went through what you going through and that's when I heard about it. I just went ahead and installed the 686 kernel. I don't see any difference.
 
Old 09-17-2008, 03:06 PM   #5
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
OK, cool that there seems to be no speed penalty.

I am in the process of upgrading now. Yesterday I installed kernel 2.6.26+16 using linux-image-2.6-K7 which installed fine. Not booted into that kernel yet though.

Then I installed linux-headers-2.6-K7, but that required uninstall of a few hundred packages, including KDE etc. I wonder why apt insisted on removing all those packages instead of upgrading them. I think dist-upgrade would have upgraded all those packages, but then again, dist-upgrade did not propose to install a new kernel. On other machines I did a dist upgrade from Lenny to Lenny, and there a new kernel was installed. (and caused driver problems)

Weird anyway that a new kernel does not require removing packages, and installing the headers does. I would not be surprised if it had something to do with a dependency on libc6 or so.

Tonight I'll continue with the installation of KDE and will see what happens next.

jlinkels
 
Old 09-20-2008, 10:06 PM   #6
bcwagne
Member
 
Registered: Feb 2008
Distribution: Debian Testing
Posts: 169

Rep: Reputation: 32
K7 is the socket 462 processors (socket A), right? I just used stock i386 kernels on those when I had them, and had no problems. Of course, rolling your own would be the quickest, but not always practical.
 
Old 09-21-2008, 02:37 AM   #7
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Thanks for the answer.

However, I have problems getting 2.6.26 running on my box. It hasn't anyhting to do with processor type, but it can't mount my root file system. No matter what I did with labels, UUID and whatever. 2.6.22 boots fine, but 2.6.26 does NOT.

I filed this bug report about it.

jlinkels
 
  


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
how to install kernel-syms and kernel-source on fedora 6 aw_wolfe Linux - Newbie 5 03-24-2008 02:03 PM
Can't run kernel config after APT kernel install rollo Debian 9 04-12-2006 05:06 PM
Configure kernel source for standard debian kernel (module install) twinkers Debian 2 12-22-2005 11:19 AM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
10.1 install kernel and kernel-source different - build fails Feebles Mandriva 2 06-10-2005 06:58 PM

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

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