From f@7f000001.org  Fri Mar 20 12:05:50 2009
Return-Path: <f@7f000001.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7CE2B1065889
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Mar 2009 12:05:50 +0000 (UTC)
	(envelope-from f@7f000001.org)
Received: from roo.7f000001.org (office.digmia.com [92.60.50.242])
	by mx1.freebsd.org (Postfix) with ESMTP id 25AB98FC1C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Mar 2009 12:05:49 +0000 (UTC)
	(envelope-from f@7f000001.org)
Received: by roo.7f000001.org (Postfix, from userid 19508)
	id 058458061; Fri, 20 Mar 2009 10:36:08 +0100 (CET)
Message-Id: <20090320093609.058458061@roo.7f000001.org>
Date: Fri, 20 Mar 2009 10:36:08 +0100 (CET)
From: michal@hanu.la
Reply-To: michal@hanu.la
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: LOR between sysctl and acpi_ibm
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         132852
>Category:       kern
>Synopsis:       [lor] LOR between sysctl and acpi_ibm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 20 12:10:03 UTC 2009
>Closed-Date:    Sun Feb 07 20:02:36 UTC 2010
>Last-Modified:  Sun Feb 07 20:02:36 UTC 2010
>Originator:     User &
>Release:        FreeBSD 7.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD roo.7f000001.org 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #5: Thu Mar 19 12:52:23 CET 2009 root@roo.7f000001.org:/usr/obj/usr/src/sys/ROO i386

lock order reversal:
 1st 0xc08bc294 sysctl lock (sysctl lock) @ /usr/src/sys/kern/kern_sysctl.c:1501
 2nd 0xc0b1b184 ACPI IBM extras (ACPI IBM extras) @ /usr/src/sys/modules/acpi/acpi_ibm/../../../dev/acpi_support/acpi_ibm.c:484
KDB: stack backtrace:
db_trace_self_wrapper(c08345a1,c0b1b184,c0b19fe5,c0b19fe5,c0b19d90,...) at db_trace_self_wrapper+0x26
witness_checkorder(c0b1b184,9,c0b19d90,1e4,f4556b30,...) at witness_checkorder+0x555
_sx_xlock(c0b1b184,0,c0b19d90,1e4,c08bbcf0,...) at _sx_xlock+0x30
acpi_ibm_sysctl(c4e51180,c4e46080,0,f4556ba4,f4556ba4,...) at acpi_ibm_sysctl+0x3f
sysctl_root(f4556ba4,0,c083160f,5dd,c60d98c0,...) at sysctl_root+0xa2
userland_sysctl(c60d98c0,f4556c10,4,0,bfbfe4a4,...) at userland_sysctl+0xfb
__sysctl(c60d98c0,f4556cf8,18,c0835343,c0870a90,...) at __sysctl+0x9f
syscall(f4556d38) at syscall+0x18a
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (202, FreeBSD ELF32, __sysctl), eip = 0x2815b1ff, esp = 0xbfbfdbac, ebp = 0xbfbfdbd8 ---
>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gavin 
State-Changed-When: Sun Feb 7 20:00:46 UTC 2010 
State-Changed-Why:  
This was fixed in head in r197460 and has been merged so will be fixed in 
8.1-RELEASE and 7.3-RELEASE. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132852 
>Unformatted:
