Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2008 19:45:45 +0100
From:      "Attilio Rao" <attilio@freebsd.org>
To:        pluknet <pluknet@gmail.com>
Cc:        freebsd-current@freebsd.org, Alex Goncharov <alex-goncharov@comcast.net>
Subject:   Re: Seeing lock order reversal
Message-ID:  <3bbf2fe10803181145m79e89955re785e1b5048cafd7@mail.gmail.com>
In-Reply-To: <a31046fc0803171959n65faaf0oc9fc248ebdd8abd3@mail.gmail.com>
References:  <E1JbP4P-0000hU-L3@daland.home> <a31046fc0803171959n65faaf0oc9fc248ebdd8abd3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2008/3/18, pluknet <pluknet@gmail.com>:
> On 18/03/2008, Alex Goncharov <alex-goncharov@comcast.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10803181145m79e89955re785e1b5048cafd7>