LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-18-2003, 01:47 PM   #1
spank
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Ubuntu 6.06
Posts: 278

Rep: Reputation: 30
patch-2.4.22.bz2


I've recently downloaded http://www.kernel.org/pub/linux/kern...-2.4.22.bz2... and I would need some help in applying this patch. I've tryed to install according to kernel-howto but that is only for tar.gz archived paches. Maybe you could take some time in guideing me in upgareding my kernel.

PS: excuse my english and my rudeness
 
Old 09-18-2003, 04:00 PM   #2
MrSmee
Member
 
Registered: Sep 2003
Location: Plano, TX
Distribution: Slack
Posts: 84

Rep: Reputation: 15
sounds like your prob starts with not using bunzip2 to unpack the sources.... in the kernel how to, where it says gzip -whatever whatever you should replace it with bunzip2
 
Old 09-18-2003, 09:03 PM   #3
rolando
LQ Newbie
 
Registered: Sep 2003
Location: Germany
Posts: 23

Rep: Reputation: 15
there is a gz, too

hi .. just get the patch-xxx.gz from kernel.org ftp.
should work then.
by the way, when u applied it, tell me the command line u used, because i cant make it work here...
 
Old 09-18-2003, 09:12 PM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Easiest way to extract from *.tar.bz2 files:

Code:
tar xjf filename.tar.bz2
 
Old 09-19-2003, 12:28 PM   #5
spank
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Ubuntu 6.06
Posts: 278

Original Poster
Rep: Reputation: 30
the patches name is patch-2.4.22.bz2 ... ok I unpack it... How do I apply it ?
 
Old 09-19-2003, 01:59 PM   #6
spank
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Ubuntu 6.06
Posts: 278

Original Poster
Rep: Reputation: 30
root@dumbrava.com /usr/src/linux-2.4.20-8 # bzip2 -dc patch-2.4.22.bz2 | patch -p0
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.21/CREDITS linux-2.4.22/CREDITS
|--- linux-2.4.21/CREDITS 2003-06-13 07:51:29.000000000 -0700
|+++ linux-2.4.22/CREDITS 2003-08-25 04:44:39.000000000 -0700
--------------------------
File to patch:

my kernel version is 2.4.20. Could smbdy please help me ? pleeeeeaaaase
 
Old 09-19-2003, 04:54 PM   #7
rolando
LQ Newbie
 
Registered: Sep 2003
Location: Germany
Posts: 23

Rep: Reputation: 15
just use the tar.gz

why do you not use the patch-2.4.22.gz from the ftp mirror ??

gcat works just fine there

Last edited by rolando; 09-19-2003 at 04:55 PM.
 
Old 09-20-2003, 08:25 AM   #8
spank
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Ubuntu 6.06
Posts: 278

Original Poster
Rep: Reputation: 30
I have a very bad internet connection. I don't have time or money to download another patch. please help.
 
  


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
Can someone email me "madwifi-2.6.8_and_-mm-040821.patch.bz2"? (madwifi 2.6.8 patch) 95se Linux - Wireless Networking 0 09-01-2004 10:34 AM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-20-2004 11:14 PM
tar -xjf patch-2.6.4.bz2 ... cxtech Linux - Newbie 1 03-28-2004 09:35 PM
I've got "patch-2.6.2.bz2"... now what? reiggin Linux - Newbie 1 02-12-2004 08:11 PM
patch-2.4.22.bz2 spank Red Hat 3 09-24-2003 12:50 PM


All times are GMT -5. The time now is 02:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration