LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-06-2002, 04:59 AM   #1
el_felipe
Member
 
Registered: Dec 2001
Location: Sicily (Italy)
Distribution: DEBIAN! - (also used: Red Hat, Mandrake, Slackware, SuSE, BestLinux, EasyLinux, muLinux...)
Posts: 92

Rep: Reputation: 15
Post Kernel Patches


Hey,

I've recently patched my 2.4.16 to 17, all I want to know is: is it safe to apply more than one patch, say 2.4.18 in this case, to the same sources? I got a fresh brand new kernel on CD every month, however.

Don't ask me the need of updating so frequently, it's just like: is it possible/safe? Thank you!

el_felipe
 
Old 02-06-2002, 05:35 AM   #2
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
I have updated my kernel from 2.4.9 to 2.4.17 all ok. I am pretty sure u must apply each patch in sequence.
 
Old 02-06-2002, 10:02 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
generally, you're better of building a new kernel from scratch, unless you have a specific reason not to, like a slow onnection, or maybe a freaky config you can't get right.
 
Old 02-06-2002, 02:59 PM   #4
el_felipe
Member
 
Registered: Dec 2001
Location: Sicily (Italy)
Distribution: DEBIAN! - (also used: Red Hat, Mandrake, Slackware, SuSE, BestLinux, EasyLinux, muLinux...)
Posts: 92

Original Poster
Rep: Reputation: 15
OK, many thanks! I liked this, since I didn't know I could upgrade my kernel by downloading just a 500k patch.

el_felipe
 
Old 02-06-2002, 04:54 PM   #5
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
theoretically, you should be able to patch as long as there's still patches to be applied. you'll only run into trouble if you start patching the kernel with any other patches not included in the main kernel tree.
 
Old 02-07-2002, 07:20 AM   #6
SlCKB0Y
Member
 
Registered: Oct 2001
Location: Sydney
Distribution: Arch
Posts: 295

Rep: Reputation: 96
before you apply each patch, you might like to check to make sure it wont stuff your source up, which can be done by performing a dry run.

cat /path/to/patch | patch -p1 --dry-run
from the /usr/src/linux directory.

or use zcat if its compressed.

if you dont get any errors about hunks, then all is cool
 
Old 02-07-2002, 09:44 AM   #7
el_felipe
Member
 
Registered: Dec 2001
Location: Sicily (Italy)
Distribution: DEBIAN! - (also used: Red Hat, Mandrake, Slackware, SuSE, BestLinux, EasyLinux, muLinux...)
Posts: 92

Original Poster
Rep: Reputation: 15
ok that sounds good SICKB0Y!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
kernel patches? cuchumino Linux - Newbie 1 11-10-2004 05:28 PM
kernel patches dominant Slackware 7 08-26-2004 09:22 AM
kernel patches _mu_ Debian 1 02-15-2004 09:20 AM
kernel patches? e1000 Linux - General 2 01-07-2004 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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