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 08-14-2006, 08:29 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
patching debian stock kernel sources with -mm patch


Hi,

I am using the stock debian kernel(2.6.17-5) and recently I found out that there is a -mm patch(2.6.18-rc4-mm1) at kernel.org which has certain Hardware support that I require. Now the problem is that if I apply this patch to my 2.6.17-5 sources, it produces error. According to a kernel.org, I need to apply this patch to 2.6.17 sources and not 2.6.17-5 i.e. the source code of the previous full release with a 3-part version number.

I tried applying this patch to the VAnilla sources 2.6.17 and it worked fine, but it did not work for vanilla 2.6.17-8 also.

So now how do I patch my stock debian kernel sources with this patch? Is there any place from where I can get 2.6.17 sources? I tried http://snapshot.debian.net/ but it only has sources upto 2.6.17-1 and not 2.6.17.

Thanks
 
Old 08-15-2006, 01:36 PM   #2
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Quote:
Originally Posted by kushalkoolwal
Hi,

I am using the stock debian kernel(2.6.17-5) and recently I found out that there is a -mm patch(2.6.18-rc4-mm1) at kernel.org which has certain Hardware support that I require. Now the problem is that if I apply this patch to my 2.6.17-5 sources, it produces error. According to a kernel.org, I need to apply this patch to 2.6.17 sources and not 2.6.17-5 i.e. the source code of the previous full release with a 3-part version number.

I tried applying this patch to the VAnilla sources 2.6.17 and it worked fine, but it did not work for vanilla 2.6.17-8 also.

So now how do I patch my stock debian kernel sources with this patch? Is there any place from where I can get 2.6.17 sources? I tried http://snapshot.debian.net/ but it only has sources upto 2.6.17-1 and not 2.6.17.

Thanks
I am pretty sure 2.6.17-1 = 2.6.17
 
Old 08-15-2006, 05:52 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 JackieBrown
I am pretty sure 2.6.17-1 = 2.6.17

Nah, I tried that and it gave me errors..
 
Old 08-15-2006, 08:48 PM   #4
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Why not use the 2.6.18 kernel then? I tried it and it worked well (except I could not get nvidia drivers working - which would be a problem if you use nvidia drivers )

I usually compile my kernels anyways for bootsplash support - and to get rid of a lot of stuff that I do not use on machine.

If you make the kernel the debian way, you will still end up with the debs for installation.
 
Old 08-15-2006, 08:52 PM   #5
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
or I can actually answer your question

Here it is

http://ftp.debian.org/debian/pool/ma...17.orig.tar.gz

You might look at this package as well linux-patch-debian-2.6.17
 
  


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
HOWTO:Patching new ALSA sources into kernel source for new sound cards detection? deepclutch Debian 1 07-17-2005 11:49 AM
Patching 2.6.9 Kernel w/ Con Kolivas patch? (Many searches done) DreameR-X Linux - Newbie 2 12-17-2004 08:34 PM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
How to patch kernel sources to 2.6.0? sb73542 Linux - General 4 12-18-2003 05:10 PM
Patching SuSe stock kernel lacerto Linux - Software 0 10-28-2003 10:11 AM

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

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