From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 14 12:13:58 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 509F9219 for ; Sun, 14 Sep 2014 12:13:58 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 38673F09 for ; Sun, 14 Sep 2014 12:13:58 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s8ECDwxl023505 for ; Sun, 14 Sep 2014 12:13:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 193634] New: vtdev / ttymtx LOR when loading i915 driver Date: Sun, 14 Sep 2014 12:13:58 +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 Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Needs Triage 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.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2014 12:13:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193634 Bug ID: 193634 Summary: vtdev / ttymtx LOR when loading i915 driver Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: emaste@freebsd.org Reported by kib. fbd0 on drmn0 VT: Replacing driver "vga" with new "fb". lock order reversal: 1st 0xffffffff8084bab8 vtdev (vtdev) @ /usr/home/kostik/work/build/bsd/DEV/src/sys/dev/vt/vt_core.c:2322 2nd 0xfffff8000d69ac08 ttymtx (ttymtx) @ /usr/home/kostik/work/build/bsd/DEV/src/sys/kern/subr_terminal.c:236 KDB: stack backtrace: db_trace_self_wrapper() at 0xffffffff80288ffb = db_trace_self_wrapper+0x2b/frame 0xfffffe081e6220c0 witness_checkorder() at 0xffffffff803a2ad2 = witness_checkorder+0xdc2/frame 0xfffffe081e622150 __mtx_lock_flags() at 0xffffffff80334f46 = __mtx_lock_flags+0xa6/frame 0xfffffe081e6221c0 terminal_mute() at 0xffffffff80397f42 = terminal_mute+0x52/frame 0xfffffe081e6221e0 vt_allocate() at 0xffffffff802c9bc3 = vt_allocate+0xe3/frame 0xfffffe081e622220 vt_fb_attach() at 0xffffffff802c37d6 = vt_fb_attach+0x16/frame 0xfffffe081e622230 fbd_register() at 0xffffffff802a7531 = fbd_register+0x101/frame 0xfffffe081e622270 device_attach() at 0xffffffff8037be7f = device_attach+0x38f/frame 0xfffffe081e6222d0 drm_fb_helper_single_fb_probe() at 0xffffffff813096a6 = drm_fb_helper_single_fb_probe+0x2a6/frame 0xfffffe081e622320 drm_fb_helper_initial_config() at 0xffffffff813098b4 = drm_fb_helper_initial_config+0xc4/frame 0xfffffe081e622360 intel_fbdev_init() at 0xffffffff812c3161 = intel_fbdev_init+0x81/frame 0xfffffe081e622390 i915_driver_load() at 0xffffffff812970a0 = i915_driver_load+0x9f0/frame 0xfffffe081e622420 drm_attach() at 0xffffffff81304ce5 = drm_attach+0x935/frame 0xfffffe081e6224b0 device_attach() at 0xffffffff8037be7f = device_attach+0x38f/frame 0xfffffe081e622510 bus_generic_driver_added() at 0xffffffff8037d2c6 = bus_generic_driver_added+0x96/frame 0xfffffe081e622530 devclass_driver_added() at 0xffffffff80379a3a = devclass_driver_added+0x7a/frame 0xfffffe081e622570 devclass_add_driver() at 0xffffffff80379967 = devclass_add_driver+0x187/frame 0xfffffe081e6225b0 module_register_init() at 0xffffffff80333b40 = module_register_init+0xb0/frame 0xfffffe081e6225e0 linker_load_module() at 0xffffffff80327395 = linker_load_module+0xca5/frame 0xfffffe081e622910 kern_kldload() at 0xffffffff80328a97 = kern_kldload+0xa7/frame 0xfffffe081e622950 sys_kldload() at 0xffffffff80328b5b = sys_kldload+0x5b/frame 0xfffffe081e622980 amd64_syscall() at 0xffffffff80560fd9 = amd64_syscall+0x289/frame 0xfffffe081e622ab0 Xfast_syscall() at 0xffffffff8054407b = Xfast_syscall+0xfb/frame 0xfffffe081e622ab0 --- syscall (304, FreeBSD ELF64, sys_kldload), rip = 0x8023ee6ba, rsp = 0x7fffffffe288, rbp = 0x7fffffffe290 --- -- You are receiving this mail because: You are the assignee for the bug.