From owner-freebsd-current@FreeBSD.ORG Tue Aug 10 20:16: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 A442A16A4CE for ; Tue, 10 Aug 2004 20:16:14 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 575DA43D31 for ; Tue, 10 Aug 2004 20:16:14 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 15580 invoked from network); 10 Aug 2004 20:16:14 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 10 Aug 2004 20:16:13 -0000 Received: from 10.50.40.208 (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i7AKG9Xg085610; Tue, 10 Aug 2004 16:16:10 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org, root@mediamonks.net Date: Tue, 10 Aug 2004 15:59:19 -0400 User-Agent: KMail/1.6 References: <200408102141323.SM01804@manrikigusari> In-Reply-To: <200408102141323.SM01804@manrikigusari> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408101559.19800.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx Subject: Re: Lock order reversal in 5.2-CURRENT 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: Tue, 10 Aug 2004 20:16:14 -0000 On Tuesday 10 August 2004 03:40 pm, Terrence Koeman wrote: > > -----Original Message----- > > From: John Baldwin [mailto:jhb@FreeBSD.org] > > Sent: Tuesday, August 10, 2004 21:35 > > To: freebsd-current@FreeBSD.org > > Cc: Colin Percival; root@mediamonks.net > > Subject: Re: Lock order reversal in 5.2-CURRENT > > > > On Tuesday 10 August 2004 02:45 pm, Colin Percival wrote: > > > At 11:29 10/08/2004, Terrence Koeman wrote: > > > >lock order reversal > > > > 1st 0xc0645aa0 sched lock (sched lock) @ > > > > /usr/src/sys/vm/vm_zeroidle.c:156 2nd 0xc06748c0 sio (sio) @ > > > > /usr/src/sys/dev/sio/sio.c:3039 > > > > > > > >This LOR is not on > > > > http://sources.zabbadoz.net/freebsd/lor.html, so I'm > > > > > >guessing this one locked up my system. > > > > > > This is LOR #013 on bzeeb's list. There isn't any solution > > > > yet, but there > > > > > is a simple workaround: unplug the serial console. > > > > The real problem is that mi_switch panic'd: > > > > calltrap() at calltrap+0x5 > > --- trap 0xc, eip = 0xc04b3ed2, esp = 0xd4dd7c90, ebp = 0xd4dd7ce0 --- > > mi_switch(1,0,c060d2be,9c,dbba0) at mi_switch+0x102 > > > > Does the original poster have a debug kernel built? > > Yes I have, but I have no experience with the debugger. I'll be happy to > carry out whatever's needed. Just pull up gdb on the kernel.debug file in the kernel build directory and do 'l *0xc04b3ed2' (the value is the eip from above) to list the source line associated with the fault. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org