LOR, 23/Nov/2006 sources, RELENG_6

Kostik Belousov kostikbel at gmail.com
Sun Dec 3 11:49:45 PST 2006


On Sun, Dec 03, 2006 at 01:30:41PM -0600, Larry Rosenman wrote:
> This may already be fixed, known, but...
> 
> Dec  3 13:14:41 thebighonker kernel: lock order reversal:
> Dec  3 13:14:41 thebighonker kernel: 1st 0xffffff0093904c00 kqueue (kqueue) 
> @ /usr/src/sys/kern/kern_event.c:1547
> Dec  3 13:14:41 thebighonker kernel: 2nd 0xffffff007ffb16a8 struct mount 
> 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 
> witness_checkorder+0x4da
> Dec  3 13:14:41 thebighonker kernel: _mtx_lock_flags() at 
> _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 
> 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+0x17d
> Dec  3 13:14:41 thebighonker kernel: vn_write() at 
> Dec  3 13:14:41 thebighonker kernel: vn_write+0x1ec
> Dec  3 13:14:41 thebighonker kernel: 
> 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), 
> rip = 0x4363dc, rsp = 0x7fffffffdd08, rbp = 0x1e ---

Please, try the patch
http://people.freebsd.org/~kib/kqueue-lor.1.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061203/059eae9a/attachment.pgp


More information about the freebsd-stable mailing list