From owner-freebsd-current@FreeBSD.ORG Wed Oct 8 23:07:08 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 971E61065699 for ; Wed, 8 Oct 2008 23:07:08 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2001:41c8:1:548a::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0EE058FC14 for ; Wed, 8 Oct 2008 23:07:08 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 0AFCB30126 for ; Thu, 9 Oct 2008 00:07:04 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on muon.cran.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.3 required=8.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 Received: from [IPv6:2a01:348:10f:0:458e:a283:81d8:aec2] (unknown [IPv6:2a01:348:10f:0:458e:a283:81d8:aec2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTP for ; Thu, 9 Oct 2008 00:07:03 +0100 (BST) Message-ID: <48ED3D0F.6050209@cran.org.uk> Date: Thu, 09 Oct 2008 00:06:55 +0100 From: Bruce Cran User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: LOR during boot (if_sis.c/kbdmux.c - Giant after non-sleepable) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 23:07:08 -0000 During boot I pressed Scroll Lock at the wrong time and got a LOR. Switching between consoles became really slow once the system was running, taking a couple of seconds each time. I'm running -current from a few days ago. lock order reversal: (Giant after non-sleepable) 1st 0xc4283e84 sis0 (network driver) @ /usr/src/sys/dev/sis/if_sis.c:2106 2nd 0xc0d0d430 Giant (Giant) @ /usr/src/sys/dev/kbdmux/kbdmux.c:1103 KDB: stack backtrace: db_trace_self_wrapper(c0bc49d7,c3ee27f0,c0837e85,4,c0bc0367,...) at db_trace_self_wrapper+0x26 kdb_backtrace(4,c0bc0367,c0b9b6f1,c411d1a0,c3ee2848,...) at kdb_backtrace+0x29 _witness_debugger(c0bc728c,c0d0d430,c0be0869,c411d1a0,c0b9b6f1,...) at _witness_debugger+0x25 witness_checkorder(c0d0d430,9,c0b9b6f1,44f,0,...) at witness_checkorder+0x800 _mtx_lock_flags(c0d0d430,0,c0b9b6f1,44f,c4167d20,...) at _mtx_lock_flags+0xc4 kbdmux_ioctl(c4221b00,40044b13,c3ee28c8,100202,7,...) at kbdmux_ioctl+0x76e update_kbd_state(c0bc0367,c0bbaf86,2,c44b08c0,c0c577a0,...) at update_kbd_state+0x44 sc_cnputc(c0c577a0,73,c3ee2a94,5,73,...) at sc_cnputc+0x39 cnputc(73,c3ee2a94,c3ee2944,c082a2a1,c0be63cd,...) at cnputc+0x5f putcons(c0be63cd,c0bbaf86,1000001,c41d9d6d,c082a240,...) at putcons+0x17 putchar(73,c3ee2a94,c0d11900,1,c41d9d6f,...) at putchar+0x61 kvprintf(c0b668aa,c082a240,c3ee2a94,a,c3ee2ac0,...) at kvprintf+0xa27 printf(c0b668aa,c41d9d6c,0,c4283e00,c4283e00,...) at printf+0x4e device_print_prettyname(c4277c80,c4289800,c4283e00,c4283e00,c3ee2b24,...) at device_print_prettyname+0x4c device_printf(c4277c80,c0bab5be,f4,0,c06da240,...) at device_printf+0x12 sis_initl(c4283e84,0,c0bab5a0,83a,80206910,...) at sis_initl+0x99d sis_ioctl(c428cc00,80206910,c45ab740,628,c428cc00,...) at sis_ioctl+0xa8 ifhwioctl(c44b08c0,c452122c,c0e4d6d0,c44b0964,c0e4d6d0,...) at ifhwioctl+0x3eb ifioctl(c4555ab8,80206910,c45ab740,c44b08c0,80206910,...) at ifioctl+0x305 soo_ioctl(c449f3b8,80206910,c45ab740,c4169400,c44b08c0,...) at soo_ioctl+0x397 kern_ioctl(c44b08c0,5,80206910,c45ab740,8318c0,...) at kern_ioctl+0x1dd ioctl(c44b08c0,c3ee2cf8,c,c0bf8ba3,c0c9b110,...) at ioctl+0x134 syscall(c3ee2d38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x281a9a23, esp = 0xbfbfe5bc, ebp = 0xbfbfe618 --- -- Bruce Cran