From owner-freebsd-fs@FreeBSD.ORG Mon Aug 1 16:17:49 2005 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C06A616A41F; Mon, 1 Aug 2005 16:17:49 +0000 (GMT) (envelope-from saturnero@freesbie.org) Received: from jail1-fbsd4.consiagnet.it (jail1-fbsd4.consiagnet.it [83.149.128.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 624AF43D45; Mon, 1 Aug 2005 16:17:48 +0000 (GMT) (envelope-from saturnero@freesbie.org) Received: from [192.168.0.3] (ppp-160-112.26-151.libero.it [151.26.112.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jail1-fbsd4.consiagnet.it (Postfix) with ESMTP id 42C505747; Mon, 1 Aug 2005 18:18:03 +0200 (CEST) Message-ID: <42EE4B08.8090107@freesbie.org> Date: Mon, 01 Aug 2005 18:17:12 +0200 From: Dario Freni User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org, fs@freebsd.org X-Enigmail-Version: 0.91.0.0 OpenPGP: url=http://www.saturnero.net/saturnero.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: More unionfs madness X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2005 16:17:49 -0000 Background: - Read-only compressed partition mounted on /var - Memory fs created on /mnt/union/var (using mount_md function of rc.subr) - Created the directory structure on the memory fs - mount_unionfs -o noatime /mnt/union/var /var (noatime is a suggested workaround for a bug I've already found, see fs@ archive) I'm getting panic during the init phase, when newsyslog script is called: Creating and/or trimming log files:panic: lockmgr: locking against myself cpuid = 0 KDB: enter: panic [thread pid 231 tid 100051 ] Stopped at kdb_enter+0x2b: nop db> tr Tracing pid 231 tid 100051 td 0xc1470480 kdb_enter(c08a550b) at kdb_enter+0x2b panic(c08a397e,c1470480,0,c0913fa0,c840a990) at panic+0x127 lockmgr(c1917058,2002,c191707c,c1470480,c840a970) at lockmgr+0x3da vop_stdlock(c840a990,2,c1917000,c840a9ac,c06cb648) at vop_stdlock+0x1e VOP_LOCK_APV(c0905ae0,c840a990) at VOP_LOCK_APV+0x87 vn_lock(c1917000,2,c1470480,0,13) at vn_lock+0xa8 union_allocvp(c840ac2c,c1455800,c1878550,c17f2990,c840ac40) at union_allocvp+0x25b union_lookup(c840ab38,c1878550,0,c840ab54,c06ba68a) at union_lookup+0x627 VOP_LOOKUP_APV(c0905ae0,c840ab38) at VOP_LOOKUP_APV+0x87 lookup(c840ac18,c1458044,0,c1470480,12b) at lookup+0x3d6 namei(c840ac18,1,0,c09861e8,c0985b30) at namei+0x35a kern_rename(c1470480,bfbfb730,8051100,0,c840ad30) at kern_rename+0xf4 rename(c1470480,c840ad04,2,1c,80296) at rename+0x15 syscall(3b,3b,3b,3,bfbfb730) at syscall+0x22f Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (128, FreeBSD ELF32, rename), eip = 0x280bbd47, esp = 0xbfbfb70c, ebp = 0xbfbfbba8 --- db> In know that unionfs is totally broken atm, but when will this be fixed? The unusability of unionfs is a step back for my project. Bye, Dario -- Dario Freni (saturnero@freesbie.org) FreeSBIE developer (http://www.freesbie.org) GPG Public key at http://www.saturnero.net/saturnero.asc