From owner-freebsd-questions@FreeBSD.ORG Mon Jul 13 21:37:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B461106566B for ; Mon, 13 Jul 2009 21:37:41 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 1832A8FC1E for ; Mon, 13 Jul 2009 21:37:40 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm24 with SMTP id 24so2157737fxm.43 for ; Mon, 13 Jul 2009 14:37:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LKVOX06O+LSMRlJ/YhCnt+AkwNczz6FSc5pQkQ4EfBE=; b=Rysfe+qjnf8D1MxfJOQJgNgeoa1LJeB/wsz537DduN4P6yx5+npUzd1+tqLJPOZnFP aiPeYRzMFjV7sti2qI4DU9L3uwbb50zNSNco8bRoF4ShvYYSWRjjpwAugok4GyGSNjgr eeljK/kQZSKjTYKAXV/Ve0GgaKPfuSmX9w3Ns= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OnY0aq48Ssz/7alwYHcVybtxvIjaKxbwhMLyVVYl4T6I0gzwuwff5V2XTPBZNQzs+E bSBn9oDhFIx6RnXxjgnv4aU3w6+iULRc5f/c+Xai3ZUsYUSDJLNkYHR2bibJ649ziize +EwTYUCGICBiFkrhErQJ1qBpp1jmF1IHcBrUE= MIME-Version: 1.0 Received: by 10.204.101.80 with SMTP id b16mr5592223bko.73.1247521059960; Mon, 13 Jul 2009 14:37:39 -0700 (PDT) In-Reply-To: <4ad871310907131428v533d5187p17fd6536224bcd21@mail.gmail.com> References: <1bd550a00907131347j118904b8j4dbc06b538283ae@mail.gmail.com> <4ad871310907131428v533d5187p17fd6536224bcd21@mail.gmail.com> Date: Mon, 13 Jul 2009 17:37:39 -0400 Message-ID: <4ad871310907131437p439bc099o243f578e9c6740e6@mail.gmail.com> From: Glen Barber To: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: User Questions Subject: Re: 8.0 BETA1 LOR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 21:37:41 -0000 2009/7/13 Glen Barber : > Hi, Fernando > > 2009/7/13 Fernando Apestegu=EDa : >> 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_checkord= er+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@. > This is why multitasking is not generally a good thing. I meant current@. Sorry for the noise. --=20 Glen Barber