From: Alistair John Strachan <s0348365@sms.ed.ac.uk>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Greg KH <greg@kroah.com>, Nick Warne <nick@linicks.net>,
"Randy.Dunlap" <rdunlap@xenotime.net>,
Jesper Juhl <jesper.juhl@gmail.com>,
linux-kernel@vger.kernel.org, webmaster@kernel.org
Subject: Re: 2.6.14.5 to 2.6.15 patch
Date: Thu, 5 Jan 2006 15:25:05 +0000 [thread overview]
Message-ID: <200601051525.05613.s0348365@sms.ed.ac.uk> (raw)
In-Reply-To: <43BC636D.3070109@zytor.com>
On Thursday 05 January 2006 00:08, H. Peter Anvin wrote:
> Alistair John Strachan wrote:
> > Re-read the thread. The confusion here is about "going back" to 2.6.14
> > before patching 2.6.15. This has nothing to do with "rc kernels". We have
> > this documented explicitly in the kernel but not on the kernel.org FAQ.
>
> If you can send me some suggested verbiage I'll put it in the FAQ. We
> can also make a page that's directly linked from the "stable release",
> kind of like we have info links for -mm patches etc.
I hope somebody else here can minimise my logic; I think the verbosity is
necessary to completely explain the "patch nightmare" to everybody concerned.
I'm getting warnings about "Reversed (or previously applied) patch detected!"
when I attempt to patch to an -rc, -mm or -stable kernel. How should this be
done?
*Terms*
A Linus mainline "release" kernel is given an x.y.z version number (e.g.
2.6.14). A -stable kernel is given an x.y.z.a version number (e.g.,
2.6.14.3).
*Patching*
New -stable or -rc patches are to be applied to Linus's mainline "release"
kernels, not -stable, -rc or -mm kernel versions.
New -mm patches are to be applied either to the "release" kernel, or the
applicable -rc kernel (whichever is newer), which are given an x.y.z-rcN
version number (e.g. 2.6.15-rc2).
- If you are on a -stable kernel, you need to revert the -stable patch before
applying either an -rc, a new -stable, or new Linus "release" patch.
- If you are on an -rc kernel, you need to revert the -rc patch if you want to
apply another -rc patch, a -stable patch, or a new Linus "release" patch.
- If you are on an -mm kernel, you need to revert the -mm patch and the -rc
patch (if applicable), before applying either an -rc, -stable or new Linus
"release" patch.
*Patch Process*
For example, to patch to 2.6.14-rc3-mm3, when you were previously on 2.6.13.4,
you would need to:
- Download the full Linux 2.6.13 "release" tarball, or reverse the 2.6.13.4
-stable patch.
tar jxvf linux-2.6.13.tar.bz2 OR
bzip2 -cd ../patch-2.6.13.4.bz2 | patch -Rp1 (whilst in linux directory).
- Apply the 2.6.14-rc3 patch.
bzip2 -cd ../patch-2.6.14-rc3.bz2 | patch -Np1 (whilst in linux directory).
- Apply the 2.6.14-rc3-mm3 patch.
bzip2 -cd ../2.6.14-rc3-mm3.bz2 | patch -Np1 (whilst in linux directory).
Most users will be confused by running a -stable kernel, and not being able to
patch to the latest Linus "release" kernel. If you are on 2.6.13.4, and you
want to go to 2.6.14, all you need to do is:
- Download the full Linux 2.6.14 "release" tarball. Done.
tar jxvf linux-2.6.14.tar.bz2
- OR, Reverse the 2.6.13.4 patch from your existing tree. This will return you
to Linus "release" 2.6.13.
bzip2 -cd ../patch-2.6.13.4.bz2 | patch -Rp1 (whilst in linux directory).
- Apply the 2.6.14 patch.
bzip2 -cd ../patch-2.6.14.bz2 | patch -Np1 (whilst in linux directory).
Alternatively, if the above is too much for you, check out Matt Mackall's
ketchup utility. This will automate the above process.
http://www.selenic.com/ketchup/
.. Okay, after writing that maybe Greg was correct. This will easily become
the largest FAQ entry, even if it is a complete description of the issue at
hand.
--
Cheers,
Alistair.
'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
next prev parent reply other threads:[~2006-01-05 15:28 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-04 17:10 Nick Warne
2006-01-04 17:18 ` Jesper Juhl
2006-01-04 17:28 ` Nick Warne
2006-01-04 17:36 ` Randy.Dunlap
2006-01-04 17:39 ` Nick Warne
2006-01-04 18:34 ` Alistair John Strachan
2006-01-04 19:53 ` Nick Warne
2006-01-04 20:10 ` Alistair John Strachan
2006-01-04 22:01 ` Greg KH
2006-01-04 22:10 ` Nick Warne
2006-01-04 22:15 ` Greg KH
2006-01-04 22:20 ` Nick Warne
2006-01-04 22:30 ` Greg KH
2006-01-04 22:30 ` Jesper Juhl
2006-01-04 22:36 ` Nick Warne
2006-01-04 23:10 ` Greg KH
2006-01-04 22:49 ` Grant Coady
2006-01-04 22:16 ` Randy.Dunlap
2006-01-04 22:31 ` Greg KH
2006-01-04 22:58 ` Alistair John Strachan
2006-01-04 23:13 ` Greg KH
2006-01-04 23:28 ` Alistair John Strachan
2006-01-04 23:31 ` Randy.Dunlap
2006-01-04 23:41 ` Greg KH
2006-01-04 23:42 ` Randy.Dunlap
2006-01-04 23:49 ` Jesper Juhl
2006-01-05 7:30 ` Jan Engelhardt
2006-01-04 22:49 ` Alistair John Strachan
2006-01-04 23:12 ` Greg KH
2006-01-04 23:26 ` Alistair John Strachan
2006-01-05 0:08 ` H. Peter Anvin
2006-01-05 15:25 ` Alistair John Strachan [this message]
2006-01-05 15:37 ` Jesper Juhl
2006-01-05 15:55 ` Alistair John Strachan
2006-01-05 16:42 ` H. Peter Anvin
2006-01-04 20:10 ` Matan Peled
2006-01-04 22:01 ` Greg KH
2006-01-04 22:50 ` Alistair John Strachan
2006-01-04 17:40 ` Jesper Juhl
2006-01-04 17:45 ` Nick Warne
2006-01-04 17:50 ` Jesper Juhl
2006-01-04 17:51 ` Randy.Dunlap
2006-01-04 17:56 ` Jesper Juhl
2006-01-04 18:08 ` Mark Lord
2006-01-04 18:13 ` Jesper Juhl
2006-01-04 21:13 ` Grant Coady
2006-01-04 21:20 ` Jesper Juhl
2006-01-04 17:56 ` Nick Warne
2006-01-04 18:27 ` Steven Rostedt
2006-01-04 21:17 ` Jesper Juhl
2006-01-04 21:48 ` Steven Rostedt
2006-01-04 22:20 ` Steven Rostedt
2006-01-04 17:19 ` Marc Haber
2006-01-04 17:29 ` Steven Rostedt
2006-01-04 17:29 ` YOSHIFUJI Hideaki / 吉藤英明
2006-01-04 18:15 ` Matthias Andree
2006-01-05 17:14 mreuther
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200601051525.05613.s0348365@sms.ed.ac.uk \
--to=s0348365@sms.ed.ac.uk \
--cc=greg@kroah.com \
--cc=hpa@zytor.com \
--cc=jesper.juhl@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nick@linicks.net \
--cc=rdunlap@xenotime.net \
--cc=webmaster@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®