LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 02-28-2011, 07:46 AM   #1
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, CentOS, OpenSolaris, OpenBSD
Posts: 267

Rep: Reputation: 37
How apply a patch on a custom kernel from source on debian?


I would like build a custom kernel from source on debian squeeze.

At that moment the last stable release is the 2.6.37.2 but i'm problem.

Quote:
/usr/src/linux-2.6.37.2$ sudo patch < patch-2.6.37.2.bz2 -p1
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
Or perhaps on the linux-kernel-2.6.37.2 is already added the patch so isn't necessary?

Last edited by AleLinuxBSD; 02-28-2011 at 09:23 AM.
 
Old 03-01-2011, 02:55 PM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,059
Blog Entries: 3

Rep: Reputation: 236Reputation: 236Reputation: 236
Might you have to decompress the patch? It looks like it has a .bz2 extension, I've always used plain-text patches
 
1 members found this post helpful.
Old 03-02-2011, 03:36 AM   #3
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, CentOS, OpenSolaris, OpenBSD
Posts: 267

Original Poster
Rep: Reputation: 37
No i haven't decompress the patch ...
This is my first time that i compile a kernel without using kernelcheck (that don't work on debian and however i would like try a different way).

But it's possible that the package:
linux-kernel-2.6.37.2
already have the patch inside it?
What i mean if is it a linux-kernel-2.6.37 plus patch 2?
 
Old 03-03-2011, 02:00 AM   #4
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,059
Blog Entries: 3

Rep: Reputation: 236Reputation: 236Reputation: 236
I would understand that to mean that yes, it has already been applied
 
Old 03-03-2011, 02:14 AM   #5
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, CentOS, OpenSolaris, OpenBSD
Posts: 267

Original Poster
Rep: Reputation: 37
Thanks.
 
  


Reply

Tags
debian, kernel, patch


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apply a kernel patch android6011 Ubuntu 2 12-05-2007 05:57 PM
Problems to apply a custom patch kernel 2.6.18-1.2257.fc5 Ronin_tekorei Linux - Kernel 2 01-08-2007 08:08 AM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
Kernel Patch will not Apply. mudelf Linux - General 10 10-08-2003 05:22 AM
How To Apply Patch To Kernel WILLIAMATHOMAS Linux - Software 2 02-12-2003 12:57 PM


All times are GMT -5. The time now is 12:30 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration