From owner-freebsd-current@FreeBSD.ORG Tue Mar 18 18:45:49 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 80A7C106566B for ; Tue, 18 Mar 2008 18:45:49 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id 10DDE8FC34 for ; Tue, 18 Mar 2008 18:45:48 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so37891fka.11 for ; Tue, 18 Mar 2008 11:45:47 -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:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=45OfsIeSyWP65DikMWqxY2OooneSMeW0Et7gOhcGei0=; b=idUfNaMEgDqiVv5uNfXnXEEjESenpndSwDlEkC9Vr50o8bg8hkKye1Sqt4MMSXCa1ZtZtVl0IiYUA29hrPM7+g4XmeFlOnyPxu3QxwdUfJ/ucznvtnwfEaju3KqnJJJGy4FF0At6vE9sFw8yQCpE0jsOD0O4+v+DYS/4OAfX+Mo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=hm81MVsfLkzEeTQg/vNbO8nF871Ln5SesbaSZeaQwqXVCgmgoyiiGPV2wXOiMEz+EsyGTHFEinXrxM7f0lxYaGVWol7y7pd+x2C4fvRN3hydbstc6z2rFlKqCojXjF7/ASCEr8u4g0694eF8zpZofFX5Opv9m0Uag7mCnyMhaGg= Received: by 10.82.116.15 with SMTP id o15mr3621155buc.11.1205865945528; Tue, 18 Mar 2008 11:45:45 -0700 (PDT) Received: by 10.86.30.17 with HTTP; Tue, 18 Mar 2008 11:45:45 -0700 (PDT) Message-ID: <3bbf2fe10803181145m79e89955re785e1b5048cafd7@mail.gmail.com> Date: Tue, 18 Mar 2008 19:45:45 +0100 From: "Attilio Rao" Sender: asmrookie@gmail.com To: pluknet In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 5c6fffa2384500dd 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, 18 Mar 2008 18:45:49 -0000 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 -- Peace can only be achieved by understanding - A. Einstein