From owner-freebsd-acpi@FreeBSD.ORG Wed Jan 16 21:10:28 2013 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 23AABB7F for ; Wed, 16 Jan 2013 21:10:28 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 6CC97E2D for ; Wed, 16 Jan 2013 21:10:27 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA04726; Wed, 16 Jan 2013 23:10:24 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TvaFc-000Odu-It; Wed, 16 Jan 2013 23:10:24 +0200 Message-ID: <50F71740.4000402@FreeBSD.org> Date: Wed, 16 Jan 2013 23:10:24 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: David Demelier Subject: Re: Kernel panic when playing games/iourbanterror References: <50D85E24.7000108@gmail.com> <50D879A1.40206@FreeBSD.org> <50DD67C5.60504@gmail.com> In-Reply-To: <50DD67C5.60504@gmail.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2013 21:10:28 -0000 on 28/12/2012 11:35 David Demelier said the following: > > I'm not used to the patch / diff files, how do you apply it? I selected all the > patch text from the mail and wrote it in a acpi.patch file, but when I tried to > do patch -p1 < acpi.patch inside /usr/src I got this error: > > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |--- a/sys/dev/acpica/Osd/OsdMemory.c > |+++ b/sys/dev/acpica/Osd/OsdMemory.c > -------------------------- > Patching file sys/dev/acpica/Osd/OsdMemory.c using Plan A... > Hunk #1 succeeded at 39 with fuzz 2. > patch: **** malformed patch at line 12: Value, UINT32 Width) You are doing everything right, but apparently some long lines got wrapped around in the gmane interface. Here is a patch that should not be mangled: http://people.freebsd.org/~avg/acpi-uma-cache.diff -- Andriy Gapon