Date: Sun, 24 Jun 2012 22:13:48 +0400 From: Ruslan Bukin <br@bsdpad.com> To: Jung-uk Kim <jkim@FreeBSD.org> Cc: Konstantin Belousov <kostikbel@gmail.com>, 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... Message-ID: <20120624181348.GA54897@jail.io> In-Reply-To: <4FE494FA.1030907@FreeBSD.org> References: <201206220040.q5M0ejNk045397@svn.freebsd.org> <20120622095847.GC2337@deviant.kiev.zoral.com.ua> <4FE494FA.1030907@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120624181348.GA54897>