From owner-freebsd-current@FreeBSD.ORG Sat Apr 10 04:34:14 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 173D916A4CE for ; Sat, 10 Apr 2004 04:34:14 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9BFFF43D3F for ; Sat, 10 Apr 2004 04:34:13 -0700 (PDT) (envelope-from cscotts@mindspring.com) Received: (qmail 74626 invoked from network); 10 Apr 2004 11:34:12 -0000 Received: from res-152-3-47-49.dorm.duke.edu (HELO mindspring.com) (152.3.47.49) by relay.pair.com with SMTP; 10 Apr 2004 11:34:12 -0000 X-pair-Authenticated: 152.3.47.49 Message-ID: <4077DB53.102@mindspring.com> Date: Sat, 10 Apr 2004 07:32:35 -0400 From: Scott Sipe User-Agent: Mozilla Thunderbird 0.5+ (Windows/20040312) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: sched lock/sleepq lock order reversal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 10 Apr 2004 11:34:14 -0000 I apologize in advance if this is a known ok LOR--I tried searching for past mention of it and couldn't find it though. Computer is running CURRENT from around March 28. It hard freezes on a fairly regular basis, generally when being accessed by NFS or Samba, and I saw this LOR show up (it's still running fine) after I attached a serial console to try to figure out the problem (it's headless). I'll provide any extra information if anyone needs it. here it is: lock order reversal 1st 0xc0750860 sched lock (sched lock) @ /usr/src/sys/kern/kern_sig.c:2029 2nd 0xc07535a4 sleepq chain (sleepq chain) @ /usr/src/sys/kern/subr_sleepqueue.c:193 Stack backtrace: backtrace(c06f5338,c07535a4,c06f468c,c06f468c,c06f4699) at backtrace+0x17 witness_checkorder(c07535a4,9,c06f4699,c1,c0755c20) at witness_checkorder+0x6f8 _mtx_lock_spin_flags(c07535a4,0,c06f4699,c1,c47f1c08) at _mtx_lock_spin_flags+0x9d sleepq_lookup(c47f1000,0,c0750860,c07577e0,c47f1c08) at sleepq_lookup+0x67 sleepq_broadcast(c47f1000,0,ffffffff,dcf15c54,c052881a) at sleepq_broadcast+0x38 wakeup(c47f1000,1,c06f1def,8b8,c47f1c08) at wakeup+0x21 stop(c47f1c08,0,c06f1def,7ed,178) at stop+0x4a ptracestop(c46ed540,5,c06f1def,82f,10) at ptracestop+0xde issignal(c46ed540,2,c06f1def,be,0) at issignal+0x207 cursig(c46ed540,0,c06f4acd,102,30800) at cursig+0xe8 ast(dcf15d48) at ast+0x510 doreti_ast() at doreti_ast+0x17 Scott uname -a FreeBSD ariovistus.scottsipe.com 5.2-CURRENT FreeBSD 5.2-CURRENT #5: Sun Mar 28 19:35:37 EST 2004 root@ariovistus.cap-press.com:/usr/obj/usr/src/sys/ARIOVISTUS i386