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

version graph

Package: src:kfreebsd-9; Maintainer for src:kfreebsd-9 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-9/9.0~svn223109-0.1

Fix blocked by 646997: kfreebsd-10: 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.

Added blocking bug(s) of 630783: 646997 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, unknown-package@qa.debian.org:
Bug#630783; Package kfreebsd-image-9.0-0-amd64. (Wed, 04 Jul 2012 15:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com>:
Extra info received and forwarded to list. Copy sent to unknown-package@qa.debian.org. (Wed, 04 Jul 2012 15:45:04 GMT) Full text and rfc822 format available.

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

From: "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com>
To: 652469@bugs.debian.org, 652448@bugs.debian.org, 630783@bugs.debian.org, 631613@bugs.debian.org, 652469-submitter@bugs.debian.org, 652448-submitter@bugs.debian.org, 630783-submitter@bugs.debian.org, 631613-submitter@bugs.debian.org, debian-bsd@lists.debian.org
Subject: Reassigning orphan bugs to existing packages
Date: Wed, 4 Jul 2012 16:44:07 +0100
reassign 652469 kfreebsd-image-686 9.0~svn228246-1
reassign 652448 kfreebsd-image-686 9.0~svn228246-1
reassign 630783 kfreebsd-image-amd64 9.0~svn223109-0.1
reassign 631613 kfreebsd-image-amd64 8.2-3
stop

Hi,

I am reassigning these orphan bugs (no maintainer, their package was
removed from the archive) to the closest existing packages that I
could find.

Please make sure that they are still valid, that they are now assigned
to the correct package.

Cheers.




Bug reassigned from package 'kfreebsd-image-9.0-0-amd64' to 'kfreebsd-image-amd64'. Request was from "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com> to control@bugs.debian.org. (Wed, 04 Jul 2012 15:45:33 GMT) Full text and rfc822 format available.

No longer marked as found in versions kfreebsd-9/9.0~svn223109-0.1. Request was from "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com> to control@bugs.debian.org. (Wed, 04 Jul 2012 15:45:34 GMT) Full text and rfc822 format available.

Marked as found in versions 9.0~svn223109-0.1. Request was from "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com> to control@bugs.debian.org. (Wed, 04 Jul 2012 15:45:34 GMT) Full text and rfc822 format available.

Message sent on to Jonathan Nieder <jrnieder@gmail.com>:
Bug#630783. (Wed, 04 Jul 2012 15:45:46 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#630783; Package kfreebsd-image-amd64. (Thu, 05 Jul 2012 18:27:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robert Millan <rmh@debian.org>:
Extra info received and forwarded to list. Copy sent to GNU/kFreeBSD Maintainers <debian-bsd@lists.debian.org>. (Thu, 05 Jul 2012 18:27:03 GMT) Full text and rfc822 format available.

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

From: Robert Millan <rmh@debian.org>
To: "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com>, 652469-quiet@bugs.debian.org
Cc: 652469@bugs.debian.org, 652448@bugs.debian.org, 630783@bugs.debian.org, 631613@bugs.debian.org, 652469-submitter@bugs.debian.org, 652448-submitter@bugs.debian.org, 630783-submitter@bugs.debian.org, 631613-submitter@bugs.debian.org, debian-bsd@lists.debian.org
Subject: Re: Bug#652469: Reassigning orphan bugs to existing packages
Date: Thu, 5 Jul 2012 20:25:26 +0200
reassign 652469 kfreebsd-image-9.0-1-686 9.0~svn228246-1
reassign 652448 kfreebsd-image-9.0-1-686 9.0~svn228246-1
reassign 630783 kfreebsd-image-9.0-1-amd64 9.0~svn223109-0.1
reassign 631613 kfreebsd-image-8.3-1-amd64 8.2-3
thanks

Hi,

2012/7/4 Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>:
> I am reassigning these orphan bugs (no maintainer, their package was
> removed from the archive) to the closest existing packages that I
> could find.
>
> Please make sure that they are still valid, that they are now assigned
> to the correct package.

The kfreebsd-image-686 one is a meta-package, I'm reassigning those.

Thanks

-- 
Robert Millan




Bug reassigned from package 'kfreebsd-image-amd64' to 'kfreebsd-image-9.0-1-amd64'. Request was from Robert Millan <rmh@debian.org> to control@bugs.debian.org. (Thu, 05 Jul 2012 18:27:15 GMT) Full text and rfc822 format available.

No longer marked as found in versions 9.0~svn223109-0.1. Request was from Robert Millan <rmh@debian.org> to control@bugs.debian.org. (Thu, 05 Jul 2012 18:27:16 GMT) Full text and rfc822 format available.

Marked as found in versions 9.0~svn223109-0.1. Request was from Robert Millan <rmh@debian.org> to control@bugs.debian.org. (Thu, 05 Jul 2012 18:27:16 GMT) Full text and rfc822 format available.

Message sent on to Jonathan Nieder <jrnieder@gmail.com>:
Bug#630783. (Thu, 05 Jul 2012 18:27:22 GMT) Full text and rfc822 format available.

Bug reassigned from package 'kfreebsd-image-9.0-1-amd64' to 'src:kfreebsd-9'. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Mon, 24 Sep 2012 02:42:03 GMT) Full text and rfc822 format available.

No longer marked as found in versions 9.0~svn223109-0.1. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Mon, 24 Sep 2012 02:42:04 GMT) Full text and rfc822 format available.

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. (Mon, 24 Sep 2012 02:42:04 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 25 07:11:31 2014; Machine Name: buxtehude.debian.org

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