MacBookPro 5,1

Hans Petter Selasky hselasky at c2i.net
Tue Oct 12 12:23:50 UTC 2010


On Tuesday 12 October 2010 13:15:26 Andriy Gapon wrote:
> on 12/10/2010 13:09 Hans Petter Selasky said the following:
> > 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?
> 
> I think that the best way is to get a backtrace at least or better a
> crashdump.

The crashdump is not helpful. It crashes at init time, while the actual free 
happens very early during boot.

--HPS


More information about the freebsd-acpi mailing list