From owner-svn-src-all@FreeBSD.ORG Sun Jun 24 18:14:08 2012 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29001106566C; Sun, 24 Jun 2012 18:14:08 +0000 (UTC) (envelope-from br@jail.io) Received: from mx.bsdpad.com (mx.bsdpad.com [46.4.68.80]) by mx1.freebsd.org (Postfix) with ESMTP id D47108FC12; Sun, 24 Jun 2012 18:14:07 +0000 (UTC) Received: from mx.bsdpad.com ([46.4.68.80] helo=jail.io) by mx.bsdpad.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SirJk-000EIy-Ta; Sun, 24 Jun 2012 22:13:49 +0400 Received: (from br@localhost) by jail.io (8.14.5/8.14.5/Submit) id q5OIDmKx054991; Sun, 24 Jun 2012 18:13:48 GMT (envelope-from br) Date: Sun, 24 Jun 2012 22:13:48 +0400 From: Ruslan Bukin To: Jung-uk Kim Message-ID: <20120624181348.GA54897@jail.io> References: <201206220040.q5M0ejNk045397@svn.freebsd.org> <20120622095847.GC2337@deviant.kiev.zoral.com.ua> <4FE494FA.1030907@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4FE494FA.1030907@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Konstantin Belousov , svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r237412 - in head: sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/contrib/dev/acpica/components/disa... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2012 18:14:08 -0000 On Fri, Jun 22, 2012 at 11:53:30AM -0400, Jung-uk Kim wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2012-06-22 05:58:47 -0400, Konstantin Belousov wrote: > > On Fri, Jun 22, 2012 at 12:40:45AM +0000, Jung-uk Kim wrote: > >> Author: jkim Date: Fri Jun 22 00:40:44 2012 New Revision: 237412 > >> URL: http://svn.freebsd.org/changeset/base/237412 > >> > >> Log: Merge ACPICA 20120620. > > > > I think it is caused by import, malloc is called while spinlock is > > held: > > > > ACPI: Executed 1 blocks of module-level executable AML code acpi0: > > Power Button (fixed) panic: blockable sleep lock (sleep mutex) 16 @ > > /usr/home/kostik/work/build/bsd/DEV/src/sys/vm/uma_core.c:2040 > > cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at > > 0xffffffff80279d0a = db_trace_self_wrapper+0x2a panic() at > > 0xffffffff80325a28 = panic+0x1d8 witness_checkorder() at > > 0xffffffff80377938 = witness_checkorder+0x1d8 _mtx_lock_flags() at > > 0xffffffff80313777 = _mtx_lock_flags+0x87 uma_zalloc_arg() at > > 0xffffffff804db97a = uma_zalloc_arg+0x2ea malloc() at > > 0xffffffff8030f7cd = malloc+0xbd AcpiUtAllocate() at > > 0xffffffff802704f1 = AcpiUtAllocate+0x31 AcpiUtAllocateZeroed() at > > 0xffffffff80270559 = AcpiUtAllocateZeroed+0x19 > > AcpiSetupGpeForWake() at 0xffffffff8025becc = > > AcpiSetupGpeForWake+0xfc acpi_probe_child() at 0xffffffff802848e9 = > > acpi_probe_child+0x2b9 AcpiNsWalkNamespace() at 0xffffffff802686ef > > = AcpiNsWalkNamespace+0x15f AcpiWalkNamespace() at > > 0xffffffff80268c0f = AcpiWalkNamespace+0xbf acpi_attach() at > > 0xffffffff80283e43 = acpi_attach+0x993 device_attach() at > > 0xffffffff8035ab62 = device_attach+0x72 bus_generic_attach() at > > 0xffffffff8035bd3a = bus_generic_attach+0x1a nexus_acpi_attach() at > > 0xffffffff804fbd89 = nexus_acpi_attach+0x69 device_attach() at > > 0xffffffff8035ab62 = device_attach+0x72 bus_generic_new_pass() at > > 0xffffffff8035bf46 = bus_generic_new_pass+0xd6 bus_set_pass() at > > 0xffffffff803597ba = bus_set_pass+0x7a configure() at > > 0xffffffff804fd51a = configure+0xa mi_startup() at > > 0xffffffff802d5c17 = mi_startup+0x77 btext() at 0xffffffff802531cc > > = btext+0x2c KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped > > at 0xffffffff8035fffb = kdb_enter+0x3b: movq > > $0,0x1027d62(%rip) db> show alllocks Process 0 (kernel) thread > > 0xffffffff80837cc0 (100000) exclusive sleep mutex Giant (Giant) r = > > 0 (0xffffffff8133a900) locked @ > > /usr/home/kostik/work/build/bsd/DEV/src/sys/kern/kern_module.c:116 > > exclusive spin mutex ACPI lock (0xfffffe000321da80) (ACPI lock > > (0xfffffe000321da80)) r = 0 (0xfffffe000321da80) locked @ > > /usr/home/kostik/work/build/bsd/DEV/src/sys/dev/acpica/Osd/OsdSynch.c:535 > > Hmm... > > > I was afraid it might happen. I'll look into it ASAP. > > Sorry for the trouble, > I have the same problem on server & laptop -Ruslan