Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2013 23:10:24 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        David Demelier <demelier.david@gmail.com>
Cc:        freebsd-acpi@FreeBSD.org
Subject:   Re: Kernel panic when playing games/iourbanterror
Message-ID:  <50F71740.4000402@FreeBSD.org>
In-Reply-To: <50DD67C5.60504@gmail.com>
References:  <50D85E24.7000108@gmail.com> <50D879A1.40206@FreeBSD.org> <50DD67C5.60504@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50F71740.4000402>