From owner-freebsd-bugs@freebsd.org Fri Oct 30 09:51:44 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DBE9DA21E16 for ; Fri, 30 Oct 2015 09:51:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C7C61164D for ; Fri, 30 Oct 2015 09:51:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9U9pifl005432 for ; Fri, 30 Oct 2015 09:51:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 204141] lock order reversal: (Giant after non-sleepable) Date: Fri, 30 Oct 2015 09:51:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vikashb@where-ever.za.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2015 09:51:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204141 Bug ID: 204141 Summary: lock order reversal: (Giant after non-sleepable) Product: Base System Version: 11.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: vikashb@where-ever.za.net SMP: AP CPU #1 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #4 Launched! Sleeping on "acmtx" with the following non-sleepable locks held: exclusive sleep mutex intr sources (intr sources) r = 0 (0xffffffff81c6be30) locked @ /usr/src/sys/x86/x86/intr_machdep.c:540 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff824236c0 witness_warn() at witness_warn+0x495/frame 0xffffffff82423780 _sleep() at _sleep+0x6d/frame 0xffffffff82423820 AcpiOsAcquireMutex() at AcpiOsAcquireMutex+0xc8/frame 0xffffffff82423880 AcpiUtAcquireMutex() at AcpiUtAcquireMutex+0x3a/frame 0xffffffff824238b0 AcpiExEnterInterpreter() at AcpiExEnterInterpreter+0xb/frame 0xffffffff824238c0 AcpiNsEvaluate() at AcpiNsEvaluate+0x1cb/frame 0xffffffff82423900 AcpiEvaluateObject() at AcpiEvaluateObject+0x174/frame 0xffffffff82423960 acpi_GetInteger() at acpi_GetInteger+0x3d/frame 0xffffffff824239c0 dmar_find_hpet() at dmar_find_hpet+0x81/frame 0xffffffff82423a00 iommu_map_msi_intr() at iommu_map_msi_intr+0x2d/frame 0xffffffff82423a50 msi_map() at msi_map+0x171/frame 0xffffffff82423a90 hpet_remap_intr() at hpet_remap_intr+0xb5/frame 0xffffffff82423ae0 msi_assign_cpu() at msi_assign_cpu+0x1c7/frame 0xffffffff82423b30 intr_shuffle_irqs() at intr_shuffle_irqs+0x73/frame 0xffffffff82423b50 mi_startup() at mi_startup+0x108/frame 0xffffffff82423b70 btext() at btext+0x2c lock order reversal: (Giant after non-sleepable) 1st 0xffffffff81c6be30 intr sources (intr sources) @ /usr/src/sys/x86/x86/intr_machdep.c:540 2nd 0xffffffff81cc1540 Giant (Giant) @ /usr/src/sys/kern/kern_synch.c:244 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff824236b0 witness_checkorder() at witness_checkorder+0xe79/frame 0xffffffff82423730 __mtx_lock_flags() at __mtx_lock_flags+0xa4/frame 0xffffffff82423780 _sleep() at _sleep+0x3ba/frame 0xffffffff82423820 AcpiOsAcquireMutex() at AcpiOsAcquireMutex+0xc8/frame 0xffffffff82423880 AcpiUtAcquireMutex() at AcpiUtAcquireMutex+0x3a/frame 0xffffffff824238b0 AcpiExEnterInterpreter() at AcpiExEnterInterpreter+0xb/frame 0xffffffff824238c0 AcpiNsEvaluate() at AcpiNsEvaluate+0x1cb/frame 0xffffffff82423900 AcpiEvaluateObject() at AcpiEvaluateObject+0x174/frame 0xffffffff82423960 acpi_GetInteger() at acpi_GetInteger+0x3d/frame 0xffffffff824239c0 dmar_find_hpet() at dmar_find_hpet+0x81/frame 0xffffffff82423a00 iommu_map_msi_intr() at iommu_map_msi_intr+0x2d/frame 0xffffffff82423a50 msi_map() at msi_map+0x171/frame 0xffffffff82423a90 hpet_remap_intr() at hpet_remap_intr+0xb5/frame 0xffffffff82423ae0 msi_assign_cpu() at msi_assign_cpu+0x1c7/frame 0xffffffff82423b30 intr_shuffle_irqs() at intr_shuffle_irqs+0x73/frame 0xffffffff82423b50 mi_startup() at mi_startup+0x108/frame 0xffffffff82423b70 btext() at btext+0x2c Timecounter "TSC-low" frequency 1097483264 Hz quality 1000 WARNING: WITNESS option enabled, expect reduced performance. Root mount waiting for: usbus2 usbus1 usbus0 uhub2: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub0: 21 ports with 21 removable, self powered FreeBSD m3800.where-ever.za.net 11.0-CURRENT FreeBSD 11.0-CURRENT #8 r290186: Fri Oct 30 11:37:30 SAST 2015 root@m3800.where-ever.za.net:/usr/obj/usr/src/sys/GENERIC amd64 -- You are receiving this mail because: You are the assignee for the bug.