Bug 114113

Summary: [acpi] [patch] ACPI kernel panic during S3 suspend / resume
Product: Base System Reporter: Alan Grow <alangrow+b9d2265c>
Component: kernAssignee: freebsd-acpi (Nobody) <acpi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Alan Grow 2007-06-29 00:30:09 UTC
A -CURRENT build from yesterday panics every time on S3 suspend / resume:

panic: _mtx_lock_sleep: recursed on non_recursive mutex acpi subsystem GPE lock @ ../../../dev/acpica/Osd/OsdSynch.c

Fix: The tip-off is in sys/contrib/dev/acpica/CHANGES.txt: "All interfaces to the global lock now allow the same thread to acquire the lock multiple times." However, mtx_init() is still called without the MTX_RECURSE flag in sys/dev/acpica/Osd/OsdSynch.c. The following patch fixes it for me:

How-To-Repeat: $ acpiconf -s 3
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2007-06-29 05:46:02 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-acpi
Comment 2 Takanori Watanabe freebsd_committer freebsd_triage 2008-04-06 03:42:51 UTC
State Changed
From-To: open->closed

I encountered same problem, and fixed with the same way.