Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: 2.4 kernel comments for alpha
Date: Wed, 4 Apr 2001 09:37:41 -0600	[thread overview]
Message-ID: <20010404093741.B30097@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <5808.010404@ksu.ru>; from gshamov@ksu.ru on Wed, Apr 04, 2001 at 07:23:35PM +0400

> 
> MJ> Try this:
> MJ> ftp://ftp.kernel.org/pub/linux/kernel/people/andrea/patches/v2.4/2.4.3/alpha-numa-2
> MJ> Use a fitting mirror - of course.
> 
> Ok, may be its a stupid question -- but:
> 
> How to apply this patch to the kernel?
> 
> "patch -p0 < alpha-numa-2" from my /usr/src/linux wont work.

Headers on "diff" lines in this patch say:

diff -urN 2.4.3/arch/alpha/.....

As your top level directory likely has a different than "2.4.3" name
then '-p0' will not work.  Change to a directory directly above "arch/"
and do

   patch -p1 < [path_to_wherever_needed]/alpha-numa-2

and this will work.  'man patch' will have more details but usually
using '-p1' from a proper location is a safe, or safer, thing to do.
In general look what is in patch you are trying to apply and how
many levels you have to drop.

  Michal




      reply	other threads:[~2001-04-04 15:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-03  0:05 2.4 kernel comments for alpha Speedracer
2001-04-03  1:06 ` Michal Jaegermann
2001-04-03  1:26 ` John Jasen
2001-04-03  3:25   ` Craig Tierney
2001-04-03  4:53     ` Michal Jaegermann
2001-04-03 15:53       ` Craig Tierney
2001-04-03 16:45         ` Michal Jaegermann
2001-04-04 15:23       ` Re[2]: " gshamov
2001-04-04 15:37         ` Michal Jaegermann [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox