LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-17-2007, 11:28 AM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Where to install 2.6.20 from?


Hi guys,

I am using Debian (etch) system with kernel 2.6.18. I would like to upgrade to kernel 2.6.20. The problem is that I cannot find Debian Kernel source file (.deb file) for 2.6.20. All I can find is 2.6.21 and onwards right now at packages.debian.org.

I know I can use the plain vanilla kernel but I would prefer to use the Kernel with debian patches. Any ideas from where I can get the source file?
 
Old 08-17-2007, 02:32 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by kushalkoolwal View Post
Hi guys,

I am using Debian (etch) system with kernel 2.6.18. I would like to upgrade to kernel 2.6.20. The problem is that I cannot find Debian Kernel source file (.deb file) for 2.6.20. All I can find is 2.6.21 and onwards right now at packages.debian.org.

I know I can use the plain vanilla kernel but I would prefer to use the Kernel with debian patches. Any ideas from where I can get the source file?
That is the newest version of the kernel that you will get for etch from official Debian sources. If you want a kernel that will install properly on your Etch system then try seeing what they have at http://www.backports.org they have newer packages that are built for Etch.
 
Old 08-17-2007, 02:45 PM   #3
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by HappyTux View Post
That is the newest version of the kernel that you will get for etch from official Debian sources. If you want a kernel that will install properly on your Etch system then try seeing what they have at http://www.backports.org they have newer packages that are built for Etch.

THanks Happy Tux. I checked the backports and this is what I found for 2.6.20:

Code:
linux-2.6_2.6.20-3~bpo.1.diff.gz   27-Apr-2007 06:32  3.4M 
linux-2.6_2.6.20-3~bpo.1.dsc      27-Apr-2007 06:32  4.7K 
linux-2.6_2.6.20.orig.tar.gz            12-Apr-2007 08:17   53M
How do I proceed from here? I know the kernel compilation steps. What I need is how to incorporate the changes made by debian kernel people into the linux-2.6_2.6.20.orig.tar.gz.

Thanks a lot for your reply.
 
Old 08-17-2007, 06:54 PM   #4
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by kushalkoolwal View Post
THanks Happy Tux. I checked the backports and this is what I found for 2.6.20:

Code:
linux-2.6_2.6.20-3~bpo.1.diff.gz   27-Apr-2007 06:32  3.4M 
linux-2.6_2.6.20-3~bpo.1.dsc      27-Apr-2007 06:32  4.7K 
linux-2.6_2.6.20.orig.tar.gz            12-Apr-2007 08:17   53M
How do I proceed from here? I know the kernel compilation steps. What I need is how to incorporate the changes made by debian kernel people into the linux-2.6_2.6.20.orig.tar.gz.

Thanks a lot for your reply.
anyone????
 
Old 08-17-2007, 07:18 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by kushalkoolwal View Post
THanks Happy Tux. I checked the backports and this is what I found for 2.6.20:

Code:
linux-2.6_2.6.20-3~bpo.1.diff.gz   27-Apr-2007 06:32  3.4M 
linux-2.6_2.6.20-3~bpo.1.dsc      27-Apr-2007 06:32  4.7K 
linux-2.6_2.6.20.orig.tar.gz            12-Apr-2007 08:17   53M
How do I proceed from here? I know the kernel compilation steps. What I need is how to incorporate the changes made by debian kernel people into the linux-2.6_2.6.20.orig.tar.gz.

Thanks a lot for your reply.
Those are the file you would get if you used the apt-get source linux-2.6_2.6.20 command to build the kernel .deb you need to put a line in your sources.list like below then apt-get update and install the linux-image file that matches it.

Code:
## Etch backports
deb http://www.backports.org/debian etch-backports main contrib non-free
 
Old 08-17-2007, 07:24 PM   #6
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by HappyTux View Post
Those are the file you would get if you used the apt-get source linux-2.6_2.6.20 command to build the kernel .deb you need to put a line in your sources.list like below then apt-get update and install the linux-image file that matches it.

Code:
## Etch backports
deb http://www.backports.org/debian etch-backports main contrib non-free
I already have the sources in my sources.lst file. I am just wondering what command to give to download the patched kernel sources.

So for example, if I do:
Code:
apt-get source -t etch-backports linux-2.6_2.6.20
Will it give me a .deb package (or a tar ball) of patched 2.6.20 Kernel sources?

Thanks a lot for all your help HappyTux. I think I am almost there. just waiting for your next reply..
 
Old 08-17-2007, 07:40 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by kushalkoolwal View Post
I already have the sources in my sources.lst file. I am just wondering what command to give to download the patched kernel sources.

So for example, if I do:
Code:
apt-get source -t etch-backports linux-2.6_2.6.20
Will it give me a .deb package (or a tar ball) of patched 2.6.20 Kernel sources?

Thanks a lot for all your help HappyTux. I think I am almost there. just waiting for your next reply..

Using the apt-get source command will download those three files into the current directory then unpack it to its own directory and apply the patches to that source directory it created. You would then need to change into the directory that was created then build the linux-image-???.deb file with a command like fakeroot debian/rules binary or dpkg-buildpackage -rfakeroot -us -uc your probably just better off using apt-get install linux-image-2.6_2.6.20 or whatever it is called from there. In order to be able to use the apt-get source command your line you have in the sources.list must start with deb-src instead of the deb line I posted above.
 
Old 08-18-2007, 06:41 AM   #8
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by HappyTux View Post
Using the apt-get source command will download those three files into the current directory then unpack it to its own directory and apply the patches to that source directory it created. You would then need to change into the directory that was created then build the linux-image-???.deb file with a command like fakeroot debian/rules binary or dpkg-buildpackage -rfakeroot -us -uc your probably just better off using apt-get install linux-image-2.6_2.6.20 or whatever it is called from there. In order to be able to use the apt-get source command your line you have in the sources.list must start with deb-src instead of the deb line I posted above.
Hmmm..I tried the following command after adding etch backports to my sources.lst file:

Code:
bian:/usr/src# apt-get -t etch-backports source linux-2.6_2.6.20
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to find a source package for linux-2.6_2.6.20
debian:/usr/src#
Why it is not able to get the package. I tried quite a few combinations like:
Code:
linux-2.6_2.6.20-3
linux-2.6_2.6.20*
linux-2.6_2.6.20-3~bpo.1
Any ideas?
 
  


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
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 05:16 PM
fc3 install doesnt install grub properly onto sata drive sabo Linux - Newbie 4 02-03-2007 04:04 PM
SuSE 9 Install Freezes when swapping CDs during VMWare based Install barkout SUSE / openSUSE 2 02-09-2006 07:36 AM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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