From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id DBB323075C for ; Wed, 4 Apr 2001 11:37:55 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f34FdjG23587 for axp-list@listman.redhat.com; Wed, 4 Apr 2001 11:39:45 -0400 Received: from ellpspace.math.ualberta.ca (IDENT:michal@ellpspace.math.ualberta.ca [129.128.207.67]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f34FdiV23583 for ; Wed, 4 Apr 2001 11:39:44 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id JAA30131 for axp-list@redhat.com; Wed, 4 Apr 2001 09:37:41 -0600 Date: Wed, 4 Apr 2001 09:37:41 -0600 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: 2.4 kernel comments for alpha Message-ID: <20010404093741.B30097@ellpspace.math.ualberta.ca> References: <20010402225316.A27555@ellpspace.math.ualberta.ca> <5808.010404@ksu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5808.010404@ksu.ru>; from gshamov@ksu.ru on Wed, Apr 04, 2001 at 07:23:35PM +0400 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: > > 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