Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2009 17:28:05 -0400
From:      Glen Barber <glen.j.barber@gmail.com>
To:        =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: 8.0 BETA1 LOR
Message-ID:  <4ad871310907131428v533d5187p17fd6536224bcd21@mail.gmail.com>
In-Reply-To: <1bd550a00907131347j118904b8j4dbc06b538283ae@mail.gmail.com>
References:  <1bd550a00907131347j118904b8j4dbc06b538283ae@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Fernando

2009/7/13 Fernando Apestegu=EDa <fernando.apesteguia@gmail.com>:
> Hi there,
>
> I downloaded FreeBSD 8.0 in order to help testing it. I have found
> several issues. This is the first one:
>
> Jul 13 18:37:43 beastie kernel: lock order reversal:
> Jul 13 18:37:43 beastie kernel: 1st 0xffffff0007d42ba8 ufs (ufs) @
> /usr/src/sys/kern/vfs_mount.c:1199
> Jul 13 18:37:43 beastie kernel: 2nd 0xffffff002e007270 devfs (devfs) @
> /usr/src/sys/fs/msdosfs/msdosfs_vfsops.c:944
> Jul 13 18:37:43 beastie kernel: KDB: stack backtrace:
> Jul 13 18:37:43 beastie kernel: db_trace_self_wrapper() at
> db_trace_self_wrapper+0x2a
> Jul 13 18:37:43 beastie kernel: _witness_debugger() at _witness_debugger+=
0x2e
> Jul 13 18:37:43 beastie kernel: witness_checkorder() at witness_checkorde=
r+0x81e
> Jul 13 18:37:43 beastie kernel: __lockmgr_args() at __lockmgr_args+0xcf3
> Jul 13 18:37:43 beastie kernel: vop_stdlock() at vop_stdlock+0x39
> Jul 13 18:37:43 beastie kernel: VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b
> Jul 13 18:37:43 beastie kernel: _vn_lock() at _vn_lock+0x47
> Jul 13 18:37:43 beastie kernel: msdosfs_sync() at msdosfs_sync+0x227
> Jul 13 18:37:43 beastie kernel: dounmount() at dounmount+0x2ca
> Jul 13 18:37:43 beastie kernel: unmount() at unmount+0x28a
> Jul 13 18:37:43 beastie kernel: syscall() at syscall+0x1af
> Jul 13 18:37:43 beastie kernel: Xfast_syscall() at Xfast_syscall+0xd0
> Jul 13 18:37:43 beastie kernel: --- syscall (22, FreeBSD ELF64,
> unmount), rip =3D 0x8006a09ac, rsp =3D 0x7fffffffdc38, rbp =3D 0 ---
> Jul 13 18:37:44 beastie gnome-keyring-daemon[61245]: removing
> removable location: volume_size_4144496640
>
> I got this while trying to unmount a USB device. The unmounting seemed
> to be fine, all the files were in the device and no corruption
> occurred. I found a very similar problem (maybe the same) here[1]. Any
> clues about this?
>
>
> Thanks in advance.
>
> PS: Is this the proper list for asking these questions?
>
> [1] http://forums.freebsd.org/showthread.php?p=3D31490

You can view reported lock order reversals here:

http://sources.zabbadoz.net/freebsd/lor.html

Questions about the -CURRENT branch should be asked on questions@.

--=20
Glen Barber



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