Debian Bug report logs - #646997
kfreebsd-10: lock order reversal (bufwait vs dirhash) in ufs_direnter

version graph

Package: kfreebsd-10; Maintainer for kfreebsd-10 is GNU/kFreeBSD Maintainers <debian-bsd@lists.debian.org>;

Reported by: Jonathan Nieder <jrnieder@gmail.com>

Date: Fri, 17 Jun 2011 10:15:02 UTC

Severity: minor

Tags: upstream

Found in version kfreebsd-10/10.0~svn226872-1

Blocking fix for 630783: kfreebsd-9: lock order reversal (bufwait vs dirhash) in ufs_direnter

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#630783; Package kfreebsd-image-9.0-0-amd64. (Fri, 17 Jun 2011 10:15:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
New Bug report received and forwarded. Copy sent to unknown-package@qa.debian.org. (Fri, 17 Jun 2011 10:15:10 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Jonathan Nieder <jrnieder@gmail.com>
To: submit@bugs.debian.org
Subject: kfreebsd-9: lock order reversal (bufwait vs dirhash) in ufs_direnter
Date: Fri, 17 Jun 2011 05:12:48 -0500
[Message part 1 (text/plain, inline)]
Package: kfreebsd-image-9.0-0-amd64
Version: 9.0~svn223109-0.1
Severity: minor
Justification: cosmetic

Hi,

Typical experimental kfreebsd-amd64 system.  At bootup, I get this
scary message, with no other noticeable symptoms.

| lock order reversal:
|  1st 0xffffff803d300018 bufwait (bufwait) @ kern/vfs_bio.c:2658
|  2nd 0xfffffe000257e800 dirhash (dirhash) @ ufs/ufs/ufs_dirhash.c:284
| KDB: stack backtrace:
| db_trace_self_wrapper() at db_trace_self_wrapper+0x27
| kdb_backtrace() at kdb_backtrace+0x36
| _witness_debugger() at _witness_debugger+0x33
| _sx_xlock() at _sx_xlock+0x51
| ufsdirhash_acquire() at ufsdirhash_acquire+0x32
| ufsdirhash_add() at ufsdirhash_add+0x1f
| ufs_direnter() at ufs_direnter+0x6b5
| ufs_makeinode() at ufs_makeinode+0x2be
| VOP_CREATE_APV() at VOP_CREATE_APV+0x65
| vn_open_cred() at vn_open_cred+0x567
| kern_openat() at kern_openat+0x16d
| syscallenter() at syscallenter+0x1a4
| syscall() at syscall+0x3d
| Xfast_syscall() at Xfast_syscall+0xdd
| --- syscall (5, FreeBSD ELF64, open), rip = 0x800df1ec7, rsp = 0x7fffffffc9c8, rbp = 0x7fffffffcae0 ---

dmesg attached.  I don't mind it, but thought you might like to know.
[dmesg.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, GNU/kFreeBSD Maintainers <debian-bsd@lists.debian.org>:
Bug#630783; Package kfreebsd-image-9.0-0-amd64. (Sat, 29 Oct 2011 06:39:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
Extra info received and forwarded to list. Copy sent to GNU/kFreeBSD Maintainers <debian-bsd@lists.debian.org>. (Sat, 29 Oct 2011 06:39:03 GMT) Full text and rfc822 format available.

Message #10 received at 630783@bugs.debian.org (full text, mbox):

From: Jonathan Nieder <jrnieder@gmail.com>
To: 630783@bugs.debian.org
Subject: Re: kfreebsd-9: lock order reversal (bufwait vs dirhash) in ufs_direnter
Date: Sat, 29 Oct 2011 01:34:19 -0500
tags 630783 + upstream
clone 630783 -1
retitle -1 kfreebsd-10: lock order reversal (bufwait vs dirhash) in ufs_direnter
reassign -1 kfreebsd-10 kfreebsd-10/10.0~svn226872-1
# typical order: fix in CURRENT first, then mfc
block 630783 by -1
quit

Jonathan Nieder wrote:

> | lock order reversal:
> |  1st 0xffffff803d300018 bufwait (bufwait) @ kern/vfs_bio.c:2658
> |  2nd 0xfffffe000257e800 dirhash (dirhash) @ ufs/ufs/ufs_dirhash.c:284

Likewise in kfreebsd-10.  I don't think this code has been touched
recently.




Added tag(s) upstream. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 29 Oct 2011 06:39:05 GMT) Full text and rfc822 format available.

Bug 630783 cloned as bug 646997. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 29 Oct 2011 06:39:05 GMT) Full text and rfc822 format available.

Changed Bug title to 'kfreebsd-10: lock order reversal (bufwait vs dirhash) in ufs_direnter' from 'kfreebsd-9: lock order reversal (bufwait vs dirhash) in ufs_direnter' Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 29 Oct 2011 06:39:07 GMT) Full text and rfc822 format available.

Bug reassigned from package 'kfreebsd-image-9.0-0-amd64' to 'kfreebsd-10'. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 29 Oct 2011 06:39:08 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions kfreebsd-9/9.0~svn223109-0.1. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 29 Oct 2011 06:39:08 GMT) Full text and rfc822 format available.

Bug Marked as found in versions kfreebsd-10/10.0~svn226872-1. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 29 Oct 2011 06:39:09 GMT) Full text and rfc822 format available.

Added indication that bug 646997 blocks 630783 Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 29 Oct 2011 06:39:10 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, GNU/kFreeBSD Maintainers <debian-bsd@lists.debian.org>:
Bug#646997; Package kfreebsd-10. (Wed, 22 May 2013 14:45:15 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ed Maste <emaste@freebsd.org>:
Extra info received and forwarded to list. Copy sent to GNU/kFreeBSD Maintainers <debian-bsd@lists.debian.org>. (Wed, 22 May 2013 14:45:15 GMT) Full text and rfc822 format available.

Message #29 received at 646997@bugs.debian.org (full text, mbox):

From: Ed Maste <emaste@freebsd.org>
To: 646997@bugs.debian.org
Subject: kfreebsd-10: lock order reversal (bufwait vs dirhash) in ufs_direnter
Date: Wed, 22 May 2013 10:41:56 -0400
For now at least, the message can just be ignored.

Unfortunately there's no clean way to address it - the thread at
http://lists.freebsd.org/pipermail/svn-src-all/2013-May/068590.html
has some of the context.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 14:06:56 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.