Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 2006 21:49:38 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: LOR, 23/Nov/2006 sources, RELENG_6
Message-ID:  <20061203194938.GF35681@deviant.kiev.zoral.com.ua>
In-Reply-To: <20061203132940.X18597@thebighonker.lerctr.org>
References:  <20061203132940.X18597@thebighonker.lerctr.org>

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

--b8GWCKCLzrXbuNet
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Dec 03, 2006 at 01:30:41PM -0600, Larry Rosenman wrote:
> This may already be fixed, known, but...
>=20
> Dec  3 13:14:41 thebighonker kernel: lock order reversal:
> Dec  3 13:14:41 thebighonker kernel: 1st 0xffffff0093904c00 kqueue (kqueu=
e)=20
> @ /usr/src/sys/kern/kern_event.c:1547
> Dec  3 13:14:41 thebighonker kernel: 2nd 0xffffff007ffb16a8 struct mount=
=20
> mtx (struct mount mtx) @ /usr/src/sys/ufs/ufs/ufs_vnops.c:138
> Dec  3 13:14:41 thebighonker kernel: KDB: stack backtrace:
> Dec  3 13:14:41 thebighonker kernel: witness_checkorder() at=20
> witness_checkorder+0x4da
> Dec  3 13:14:41 thebighonker kernel: _mtx_lock_flags() at=20
> _mtx_lock_flags+0x5c
> Dec  3 13:14:41 thebighonker kernel: ufs_itimes() at ufs_itimes+0x58
> Dec  3 13:14:41 thebighonker kernel: ufs_getattr() at ufs_getattr+0x1f
> Dec  3 13:14:41 thebighonker kernel: VOP_GETATTR_APV() at=20
> VOP_GETATTR_APV+0x74
> Dec  3 13:14:41 thebighonker kernel: filt_vfsread() at filt_vfsread+0x74
> Dec  3 13:14:41 thebighonker kernel: knote() at knote+0xd5
> Dec  3 13:14:41 thebighonker kernel: VOP_WRITE_APV() at VOP_WRITE_APV+0x1=
7d
> Dec  3 13:14:41 thebighonker kernel: vn_write() at=20
> Dec  3 13:14:41 thebighonker kernel: vn_write+0x1ec
> Dec  3 13:14:41 thebighonker kernel:=20
> Dec  3 13:14:41 thebighonker kernel: dofilewrite() at dofilewrite+0x87
> Dec  3 13:14:41 thebighonker kernel: kern_writev() at kern_writev+0x51
> Dec  3 13:14:41 thebighonker kernel: write() at write+0x4a
> Dec  3 13:14:41 thebighonker kernel: syscall() at syscall+0x4b2
> Dec  3 13:14:41 thebighonker kernel: Xfast_syscall() at Xfast_syscall+0xa8
> Dec  3 13:14:41 thebighonker kernel: --- syscall (4, FreeBSD ELF64, write=
),=20
> rip =3D 0x4363dc, rsp =3D 0x7fffffffdd08, rbp =3D 0x1e ---

Please, try the patch
http://people.freebsd.org/~kib/kqueue-lor.1.patch

--b8GWCKCLzrXbuNet
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFcypRC3+MBN1Mb4gRAti1AJ93AS7W43TtXaZPEQ9qpT+W1En6WQCfZKjs
zJf4jjFZzAhA7EGvrsZepsc=
=g6o4
-----END PGP SIGNATURE-----

--b8GWCKCLzrXbuNet--



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