From owner-freebsd-current@FreeBSD.ORG Sun Aug 9 21:46:24 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 385C51065677 for ; Sun, 9 Aug 2009 21:46:24 +0000 (UTC) (envelope-from jille@quis.cx) Received: from elvis.mayaxatl.org (ip13-124-174-82.adsl2.static.versatel.nl [82.174.124.13]) by mx1.freebsd.org (Postfix) with ESMTP id E831F8FC0A for ; Sun, 9 Aug 2009 21:46:23 +0000 (UTC) Received: by elvis.mayaxatl.org (Postfix, from userid 100) id DCC4922828; Sun, 9 Aug 2009 23:27:07 +0200 (CEST) Received: from [192.168.2.146] (56-64-223.ftth.xms.internl.net [85.223.64.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elvis.mayaxatl.org (Postfix) with ESMTPSA id 847C92280B for ; Sun, 9 Aug 2009 23:27:07 +0200 (CEST) Message-ID: <4A7F3F22.6090005@quis.cx> Date: Sun, 09 Aug 2009 23:26:58 +0200 From: Jille Timmermans User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Freeze while playing with unionfs 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: Sun, 09 Aug 2009 21:46:24 -0000 I was playing with unionfs (nearly everytime I do that I lose my uptime ;)). I somehow managed to get the same unionfs mount from and to the same dir. # mount -t unionfs -o copymode=transparent,whiteout=whenneeded,noatime bla1 bla2 both empty dirs; and after hitting some tab too much, my bash froze . Backtrace (shortened; each line was () at +0x): sched_switch() +0xdd mi_switch() +0x16f sleepq_wait() +0x42 __lockmgr_args() +0x7bb ffs_lock() + 0x8c VOP_LOCK1_APV() +0x46 unionfs_lock() + 0x327 VOP_LOCK1_APV() +0x46 unionfs_lock() + 0x1ac VOP_LOCK1_APV() +0x46 _vn_lock() +0x47 unionfs_readdir() +0x134 kern_getdirentries() +0x1fa getdirentries() +0x23 I will reboot this machine in a few minutes; but I think this is reproducable. -- Jille