* kernel patch problem
@ 2002-07-18 0:45 Daniel Lim
2002-07-18 0:51 ` Brandon Low
2002-07-18 11:39 ` Alan Cox
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Lim @ 2002-07-18 0:45 UTC (permalink / raw)
To: linux-kernel
Hi,
I have Redhat 7.1 kernel 2.4.2-2 and I wish to apply all latest
incremental patches from 2.4.3 -> 2.4.18 to resolve a kernel issue but I
am having problem to apply the 1st patch which is 2.4.3, I got the
patch-2.4.3.gz from http://www.linuxhq.com/kernel
Enclosed below is what I did and followed by whole heaps of failed
mesages? Any suggestion please.
Thanks in advance.
Regards,
Daniel
# cd /usr/src
# zcat patch-2.4.3.gz | patch -p0
patching file linux/CREDITS
Hunk #2 FAILED at 316.
Hunk #4 FAILED at 676.
Hunk #5 succeeded at 1015 (offset -4 lines).
Hunk #7 FAILED at 2182.
3 out of 7 hunks FAILED -- saving rejects to file linux/CREDITS.rej
patching file linux/Documentation/Changes
patching file linux/Documentation/Configure.help
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n] y
Hunk #1 FAILED at 1521.
Hunk #2 succeeded at 2042 (offset 62 lines).
Hunk #3 succeeded at 2131 with fuzz 2 (offset 87 lines).
Hunk #4 succeeded at 5749 (offset 188 lines).
Hunk #5 succeeded at 5708 (offset 87 lines).
Hunk #6 succeeded at 5818 (offset 188 lines).
Hunk #7 succeeded at 5754 (offset 87 lines).
Hunk #8 succeeded at 5876 (offset 188 lines).
Hunk #9 succeeded at 5787 (offset 87 lines).
Hunk #10 succeeded at 7662 (offset 188 lines).
Hunk #11 FAILED at 8712.
Hunk #12 succeeded at 8662 (offset 126 lines).
Hunk #13 FAILED at 8745.
Hunk #14 FAILED at 9663.
Hunk #15 FAILED at 9703.
Hunk #16 FAILED at 9718.
Hunk #17 FAILED at 9728.
Hunk #18 FAILED at 9738.
Hunk #19 FAILED at 9754.
Hunk #20 succeeded at 10850 (offset 198 lines).
9 out of 20 hunks FAILED -- saving rejects to file
linux/Documentation/Configure.help.rej
patching file linux/Documentation/DMA-mapping.txt
patching file linux/Documentation/DocBook/kernel-api.tmpl
Hunk #1 FAILED at 34.
1 out of 1 hunk FAILED -- saving rejects to file
linux/Documentation/DocBook/kernel-api.tmpl.rej
patching file linux/Documentation/SAK.txt
patching file linux/Documentation/arm/SA1100/Brutus
Reversed (or previously applied) patch detected! Assume -R? [n]
This e-mail message (and attachments) is confidential, and / or privileged and is intended for the use of the addressee only. If you are not the intended recipient of this e-mail you must not copy, distribute, take any action in reliance on it or disclose it to anyone. Any confidentiality or privilege is not waived or lost by reason of mistaken delivery to you. DPWS is not responsible for any information not related to the business of DPWS. If you have received this e-mail in error please destroy the original and notify the sender.
For information on services offered by DPWS, please visit our website at www.dpws.nsw.gov.au
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel patch problem
2002-07-18 0:45 kernel patch problem Daniel Lim
@ 2002-07-18 0:51 ` Brandon Low
2002-07-18 11:39 ` Alan Cox
1 sibling, 0 replies; 3+ messages in thread
From: Brandon Low @ 2002-07-18 0:51 UTC (permalink / raw)
To: Daniel Lim; +Cc: linux-kernel
Redhat doesn't use the vanilla kernel, therefore the vanilla incrimental
diffs will not work against their kernels. Please either get a newer
RedHat kernel, or download a vanilla source-ball (for instance
http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.18.tar.bz2 )
to use.
Luck to you,
--Brandon
On Thu, 07/18/02 at 10:45:49 +1000, Daniel Lim wrote:
> Hi,
> I have Redhat 7.1 kernel 2.4.2-2 and I wish to apply all latest
> incremental patches from 2.4.3 -> 2.4.18 to resolve a kernel issue but I
> am having problem to apply the 1st patch which is 2.4.3, I got the
> patch-2.4.3.gz from http://www.linuxhq.com/kernel
>
> Enclosed below is what I did and followed by whole heaps of failed
> mesages? Any suggestion please.
> Thanks in advance.
>
> Regards,
> Daniel
>
> # cd /usr/src
> # zcat patch-2.4.3.gz | patch -p0
>
> patching file linux/CREDITS
> Hunk #2 FAILED at 316.
> Hunk #4 FAILED at 676.
> Hunk #5 succeeded at 1015 (offset -4 lines).
> Hunk #7 FAILED at 2182.
> 3 out of 7 hunks FAILED -- saving rejects to file linux/CREDITS.rej
> patching file linux/Documentation/Changes
> patching file linux/Documentation/Configure.help
> Reversed (or previously applied) patch detected! Assume -R? [n]
> Apply anyway? [n] y
> Hunk #1 FAILED at 1521.
> Hunk #2 succeeded at 2042 (offset 62 lines).
> Hunk #3 succeeded at 2131 with fuzz 2 (offset 87 lines).
> Hunk #4 succeeded at 5749 (offset 188 lines).
> Hunk #5 succeeded at 5708 (offset 87 lines).
> Hunk #6 succeeded at 5818 (offset 188 lines).
> Hunk #7 succeeded at 5754 (offset 87 lines).
> Hunk #8 succeeded at 5876 (offset 188 lines).
> Hunk #9 succeeded at 5787 (offset 87 lines).
> Hunk #10 succeeded at 7662 (offset 188 lines).
> Hunk #11 FAILED at 8712.
> Hunk #12 succeeded at 8662 (offset 126 lines).
> Hunk #13 FAILED at 8745.
> Hunk #14 FAILED at 9663.
> Hunk #15 FAILED at 9703.
> Hunk #16 FAILED at 9718.
> Hunk #17 FAILED at 9728.
> Hunk #18 FAILED at 9738.
> Hunk #19 FAILED at 9754.
> Hunk #20 succeeded at 10850 (offset 198 lines).
> 9 out of 20 hunks FAILED -- saving rejects to file
> linux/Documentation/Configure.help.rej
> patching file linux/Documentation/DMA-mapping.txt
> patching file linux/Documentation/DocBook/kernel-api.tmpl
> Hunk #1 FAILED at 34.
> 1 out of 1 hunk FAILED -- saving rejects to file
> linux/Documentation/DocBook/kernel-api.tmpl.rej
> patching file linux/Documentation/SAK.txt
> patching file linux/Documentation/arm/SA1100/Brutus
> Reversed (or previously applied) patch detected! Assume -R? [n]
>
>
>
>
>
>
> This e-mail message (and attachments) is confidential, and / or privileged and is intended for the use of the addressee only. If you are not the intended recipient of this e-mail you must not copy, distribute, take any action in reliance on it or disclose it to anyone. Any confidentiality or privilege is not waived or lost by reason of mistaken delivery to you. DPWS is not responsible for any information not related to the business of DPWS. If you have received this e-mail in error please destroy the original and notify the sender.
>
> For information on services offered by DPWS, please visit our website at www.dpws.nsw.gov.au
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel patch problem
2002-07-18 0:45 kernel patch problem Daniel Lim
2002-07-18 0:51 ` Brandon Low
@ 2002-07-18 11:39 ` Alan Cox
1 sibling, 0 replies; 3+ messages in thread
From: Alan Cox @ 2002-07-18 11:39 UTC (permalink / raw)
To: Daniel Lim; +Cc: linux-kernel
On Thu, 2002-07-18 at 01:45, Daniel Lim wrote:
> Hi,
> I have Redhat 7.1 kernel 2.4.2-2 and I wish to apply all latest
> incremental patches from 2.4.3 -> 2.4.18 to resolve a kernel issue but I
> am having problem to apply the 1st patch which is 2.4.3, I got the
> patch-2.4.3.gz from http://www.linuxhq.com/kernel
>
Last I checked 2.4.18 was smaller than the set of patches. Where did you
get your 2.4.2 base tree from. The Red Hat one has patches to fix a lot
of 2.2 bugs, but you can find the original tar ball (plus patches) if
you install the kernel source RPM and look in /usr/src/redhat/SOURCES
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-18 10:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-18 0:45 kernel patch problem Daniel Lim
2002-07-18 0:51 ` Brandon Low
2002-07-18 11:39 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®