Bug 204141 - lock order reversal: (Giant after non-sleepable)
Summary: lock order reversal: (Giant after non-sleepable)
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-30 09:51 UTC by Vikash Badal
Modified: 2018-02-14 16:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vikash Badal 2015-10-30 09:51:44 UTC
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