Re: MacBookPro 5,1

2010-11-05 Thread Jung-uk Kim
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
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org


Re: MacBookPro 5,1

2010-11-05 Thread Jung-uk Kim
On Friday 05 November 2010 04:14 pm, Jung-uk Kim wrote:
 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.

And r214849.  I forgot to change one line. :-(

Sorry,

Jung-uk Kim
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org