[Bug 204614] LOR In mpr(4)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 16 23:38:54 UTC 2015


            Bug ID: 204614
           Summary: LOR In mpr(4)
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: pete at nomadlogic.org

I am seeing the following LOR on 11.0-CURRENT:

lock order reversal:
 1st 0xfffff8000d26bc60 CAM device lock (CAM device lock) @
 2nd 0xfffffe00012911c0 MPR lock (MPR lock) @ /usr/src/sys/cam/cam_xpt.c:2620
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe04608ec890
witness_checkorder() at witness_checkorder+0xe79/frame 0xfffffe04608ec910
__mtx_lock_flags() at __mtx_lock_flags+0xa4/frame 0xfffffe04608ec960
xpt_action_default() at xpt_action_default+0xb6c/frame 0xfffffe04608ec9b0
scsi_scan_bus() at scsi_scan_bus+0x1d5/frame 0xfffffe04608eca20
xpt_scanner_thread() at xpt_scanner_thread+0x15c/frame 0xfffffe04608eca70
fork_exit() at fork_exit+0x84/frame 0xfffffe04608ecab0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe04608ecab0
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---

Here is my system info:
[pwright at srd0013 ~]$ uname -ar
FreeBSD srd0013 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r290942: Mon Nov 16
12:01:20 PST 2015     root at srd0013:/usr/obj/usr/src/sys/GENERIC  amd64
[pwright at srd0013 ~]$ cd /usr/src/ && svn info
Path: .
Working Copy Root Path: /usr/src
URL: https://svn.freebsd.org/base/head
Relative URL: ^/head
Repository Root: https://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 290942
Node Kind: directory
Schedule: normal
Last Changed Author: rodrigc
Last Changed Rev: 290942
Last Changed Date: 2015-11-16 09:28:04 -0800 (Mon, 16 Nov 2015)

I have rebuild kernel+world several times over the past week and can reproduce

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list