From owner-freebsd-current@FreeBSD.ORG Wed Jul 23 15:38:07 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AC2A106564A for ; Wed, 23 Jul 2008 15:38:07 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (gloom.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id B48888FC16 for ; Wed, 23 Jul 2008 15:38:06 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id B978E6D41E; Wed, 23 Jul 2008 17:38:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([213.34.49.2]) by localhost (gloom.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QkSHz7KSYi06; Wed, 23 Jul 2008 17:38:49 +0200 (CEST) Received: by mx1.rink.nu (Postfix, from userid 1000) id 4BA166D41B; Wed, 23 Jul 2008 17:38:49 +0200 (CEST) Date: Wed, 23 Jul 2008 17:38:49 +0200 From: Rink Springer To: Attilio Rao Message-ID: <20080723153849.GA5117@rink.nu> References: <487F32C6.5030502@lobraun.de> <3bbf2fe10807171306y59d30b13y868c1e27697412a7@mail.gmail.com> <48805EEE.90109@lobraun.de> <48806684.4000908@FreeBSD.org> <4880921C.10700@lobraun.de> <3bbf2fe10807190827k24c738c9s4f258ac006035b75@mail.gmail.com> <48833C50.8030507@lobraun.de> <3bbf2fe10807200904y32cc6d04n94bc262aa3c6c2be@mail.gmail.com> <3bbf2fe10807200926k5aa8fd2an7b2689f92bbba05d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3bbf2fe10807200926k5aa8fd2an7b2689f92bbba05d@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Lothar Braun , freebsd-current@freebsd.org Subject: Re: panic: __lockmgr_args: unknown lockmgr request 0x0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2008 15:38:07 -0000 On Sun, Jul 20, 2008 at 06:26:04PM +0200, Attilio Rao wrote: > 2008/7/20, Attilio Rao : > > 2008/7/20, Lothar Braun : > > > > > Hi Attilio, > > > > > > > > > > > > > can you please try this on the top of -CURRENT: > > > > http://www.freebsd.org/~attilio/xfs2.diff > > > > > > > > > > Thank you for the patch. The panic and the dead lock disappeard, but there > > > is a new problem insteed. The commands > > > > > > mkfs.xfs /dev/ad8s4 > > > mount -t xfs /dev/ad8s4 /home > > > mkdir /home/lothar > > > chown lothar:lothar /home/lothar > > > > > > For what I remind, it is likely XFS is still not ready for writing. > > This means you should only use it in read-only. > > Speaking of which, I think we should mark it again like a read-only fs > until writing is not 100% ready. NTFS suffers from the same issue; it 'kind of' supports writes. The result is that it supports writes in so limited circumstances that the write support is mostly useless (and it even tends to lead to panics...) I think a better solution is to mount such filesystems r/o by default, and only mount them r/w if explicitely asked to do so, for example by '-o rw' - it would make things a lot clearer for our users when trying to use filesystems, and brave souls are always welcome to force r/w that way. What do you think? -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder