From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 16 07:20:01 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DCFF106566C for ; Fri, 16 Apr 2010 07:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 367D08FC19 for ; Fri, 16 Apr 2010 07:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3G7K1KP011105 for ; Fri, 16 Apr 2010 07:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3G7K1Fc011104; Fri, 16 Apr 2010 07:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 16 Apr 2010 07:20:01 GMT Resent-Message-Id: <201004160720.o3G7K1Fc011104@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Harald Schmalzbauer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 613EA1065679 for ; Fri, 16 Apr 2010 07:10:28 +0000 (UTC) (envelope-from harry@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id AB2B38FC23 for ; Fri, 16 Apr 2010 07:10:27 +0000 (UTC) Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3]) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id o3G7ALuR095324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 16 Apr 2010 09:10:26 +0200 (CEST) (envelope-from harry@titan.flintsbach.schmalzbauer.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1]) by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id o3G7ALiL040091 for ; Fri, 16 Apr 2010 09:10:21 +0200 (CEST) (envelope-from harry@titan.flintsbach.schmalzbauer.de) Received: (from harry@localhost) by titan.flintsbach.schmalzbauer.de (8.14.3/8.14.3/Submit) id o3G7ALOe001986; Fri, 16 Apr 2010 09:10:21 +0200 (CEST) (envelope-from harry) Message-Id: <201004160710.o3G7ALOe001986@titan.flintsbach.schmalzbauer.de> Date: Fri, 16 Apr 2010 09:10:21 +0200 (CEST) From: Harald Schmalzbauer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/145750: unionfs locks the machine X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Harald Schmalzbauer List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2010 07:20:01 -0000 >Number: 145750 >Category: kern >Synopsis: unionfs locks the machine >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 16 07:20:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Harald Schmalzbauer >Release: FreeBSD 8.0-RELEASE-p2 amd64 >Organization: >Environment: System: FreeBSD devweb.dmz.sand.spsnetz.de 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #2: Fri Feb 5 15:06:19 CET 2010 admin@devweb.dmz.sand.spsnetz.de:/usr/obj/usr/src/sys/DELL-PE840 amd64 >Description: There are several LORs with unionfs reported. One seems to lead to a hard lock. For example I used to mount /usr/local/etc via unionfs over read-only unerlaying ufs. There are reproducably hanging processes with status D+ ofter a short time. This used to work with FreeBSD-7, but also causes problems on -current (see kern/141950) >How-To-Repeat: mount_unionfs /somedir/anotherdir /usr/local/etc and try starting lighttpd with php-fastcgi for example. mount_unionfs /somedir /root while / is readonly. Su will hang and force yout to hard reset the machine. >Fix: >Release-Note: >Audit-Trail: >Unformatted: