Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 2010 16:14:53 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-acpi@FreeBSD.org
Cc:        "Moore, Robert" <robert.moore@intel.com>, jhb@FreeBSD.org, avg@FreeBSD.org
Subject:   Re: MacBookPro 5,1
Message-ID:  <201011051615.24705.jkim@FreeBSD.org>
In-Reply-To: <201010121209.06397.hselasky@c2i.net>
References:  <201010121209.06397.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 12 October 2010 06:09 am, Hans Petter Selasky wrote:
> Hi,
>
> My MacBookPro 5,1 does not boot using -current because memory
> inside the ACPI kernel module is used after free.
>
> The following patch temporily mitigates the problem:
>
> /usr/src/sys/dev/acpica/Osd/OsdMemory.c
>
> void
> AcpiOsFree(void *Memory)
> {
> + if (cold == 0)
>     free(Memory, M_ACPICA);
> }
>
> Is there any way to debug this from user-land?

FYI, this problem should be fixed in r214848.

While I am here, I'd like to give many thanks to hps for trying out 
patches, to avg for the great in-depth analysis and initial patch, to 
ACPICA developers for continuous support and invaluable comments!

Thank you, all folks!

Jung-uk Kim



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