Date: Fri, 22 Jun 2012 12:58:47 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: Jung-uk Kim <jkim@freebsd.org> Cc: 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: <20120622095847.GC2337@deviant.kiev.zoral.com.ua> In-Reply-To: <201206220040.q5M0ejNk045397@svn.freebsd.org> References: <201206220040.q5M0ejNk045397@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--sh1CKz+Jfn6GrauW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > 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 =3D 0 KDB: stack backtrace: db_trace_self_wrapper() at 0xffffffff80279d0a =3D db_trace_self_wrapper+0x2a panic() at 0xffffffff80325a28 =3D panic+0x1d8 witness_checkorder() at 0xffffffff80377938 =3D witness_checkorder+0x1d8 _mtx_lock_flags() at 0xffffffff80313777 =3D _mtx_lock_flags+0x87 uma_zalloc_arg() at 0xffffffff804db97a =3D uma_zalloc_arg+0x2ea malloc() at 0xffffffff8030f7cd =3D malloc+0xbd AcpiUtAllocate() at 0xffffffff802704f1 =3D AcpiUtAllocate+0x31 AcpiUtAllocateZeroed() at 0xffffffff80270559 =3D AcpiUtAllocateZeroed+0x19 AcpiSetupGpeForWake() at 0xffffffff8025becc =3D AcpiSetupGpeForWake+0xfc acpi_probe_child() at 0xffffffff802848e9 =3D acpi_probe_child+0x2b9 AcpiNsWalkNamespace() at 0xffffffff802686ef =3D AcpiNsWalkNamespace+0x15f AcpiWalkNamespace() at 0xffffffff80268c0f =3D AcpiWalkNamespace+0xbf acpi_attach() at 0xffffffff80283e43 =3D acpi_attach+0x993 device_attach() at 0xffffffff8035ab62 =3D device_attach+0x72 bus_generic_attach() at 0xffffffff8035bd3a =3D bus_generic_attach+0x1a nexus_acpi_attach() at 0xffffffff804fbd89 =3D nexus_acpi_attach+0x69 device_attach() at 0xffffffff8035ab62 =3D device_attach+0x72 bus_generic_new_pass() at 0xffffffff8035bf46 =3D bus_generic_new_pass+0xd6 bus_set_pass() at 0xffffffff803597ba =3D bus_set_pass+0x7a configure() at 0xffffffff804fd51a =3D configure+0xa mi_startup() at 0xffffffff802d5c17 =3D mi_startup+0x77 btext() at 0xffffffff802531cc =3D btext+0x2c KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at 0xffffffff8035fffb =3D kdb_enter+0x3b: movq $0,0x1027= d62(%rip) db> show alllocks Process 0 (kernel) thread 0xffffffff80837cc0 (100000) exclusive sleep mutex Giant (Giant) r =3D 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 (0xfffffe000= 321da80)) r =3D 0 (0xfffffe000321da80) locked @ /usr/home/kostik/work/build= /bsd/DEV/src/sys/dev/acpica/Osd/OsdSynch.c:535 --sh1CKz+Jfn6GrauW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk/kQdcACgkQC3+MBN1Mb4gXzwCeN/jRIUQboKt1g/W+0Uc5oAws gjIAmwTHt3NNImKA4iuPfQ9W11p8l8jR =Cd8O -----END PGP SIGNATURE----- --sh1CKz+Jfn6GrauW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120622095847.GC2337>