From owner-freebsd-current@FreeBSD.ORG Tue Mar 25 11:20:52 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A188F1065671 for ; Tue, 25 Mar 2008 11:20:52 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 295008FC1B for ; Tue, 25 Mar 2008 11:20:51 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1204652nfb.33 for ; Tue, 25 Mar 2008 04:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4onysIRoMRQRmTia3bR67/riYEBkechqRqWrbCa6nBE=; b=j+72NblysuCpEEwEDbXvZcuFrLLKRXxXlcSmXvLAlh4IhW9JZoqMCP8UthDVaBezMyo+d4012Zmh1h+GXX0sUa2HBFxNP5cbKCsS62pLnOLLaiyWWiMD3WFGn36Ov/HzzxC7IgQHb3H8Y+sRCtzOnMo5gxUEVlqEk3EbITZxeQk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jf9+0MYUw/QMO99O0lQGkP/XBk1FtjobAq2XjjrtIGFwBazjvBvmOCYJhoLFWe4LGvetigAoUtsU34sSvcy48K+GnzaIJQNttUGW7ZOqERO3e22n181MzOWlsNOkC7JtcSTGvawOkIS5mppghSF69KmmCnkzDTJWobmXTbjPhpk= Received: by 10.78.157.15 with SMTP id f15mr24841304hue.2.1206444050804; Tue, 25 Mar 2008 04:20:50 -0700 (PDT) Received: by 10.78.53.4 with HTTP; Tue, 25 Mar 2008 04:20:50 -0700 (PDT) Message-ID: Date: Tue, 25 Mar 2008 14:20:50 +0300 From: pluknet To: "Attilio Rao" In-Reply-To: <3bbf2fe10803181145m79e89955re785e1b5048cafd7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3bbf2fe10803181145m79e89955re785e1b5048cafd7@mail.gmail.com> Cc: freebsd-current@freebsd.org, Alex Goncharov Subject: Re: Seeing lock order reversal 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: Tue, 25 Mar 2008 11:20:52 -0000 On 18/03/2008, Attilio Rao wrote: > 2008/3/18, pluknet : > > > On 18/03/2008, Alex Goncharov wrote: > > > [ Sorry if this is old news or not useful ] > > > > > > I am trying to source-upgrade one of my 7.0 systems to 8.0-CURRENT. > > > > > > In the following, when I say "build", it means "csup and build right > > > away". > > > > > > The very first 8.0 build (this morning) gave me the kernel that didn't > > > boot. Built it again, finishing about 15 minutes ago. This one > > > booted all right but I see this in `/var/log/messages': > > > > > > > [there was stripped LORs] > > > > It's due to recent WITNESS lockmgr support that unhides existing LORs. > > > > Thought taking that into account I could obtain a new one yesterday. I > > didn't see this before. > > > > Mar 17 03:17:14 pl sudo: pluknet : TTY=ttyv1 ; PWD=/usr/home/pluknet > > ; USER=root ; COMMAND=/usr/libexec/getty 3wire.9600 ttyd0 > > Mar 17 03:17:14 pl kernel: lock order reversal: > > Mar 17 03:17:14 pl kernel: 1st 0xc07e9274 proctree (proctree) @ > > /usr/src/sys/kern/kern_exit.c:291 > > Mar 17 03:17:14 pl kernel: 2nd 0xc2fc49e8 devfs (devfs) @ > > /usr/src/sys/kern/vfs_subr.c:2158 > > > This one seems interesting. > Next time you experience it can you please drop in DDB and print-out > the correct order revealed by WITNESS? > > Thanks, > Attilio > btw, I also see this message in dmesg after LOR: sio0: 170 more interrupt-level buffer overflows (total 170) - pluknet