From owner-freebsd-current Thu Jan 31 12:55:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 844FB37B404 for ; Thu, 31 Jan 2002 12:55:19 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 4EB0110DDFB; Thu, 31 Jan 2002 12:55:19 -0800 (PST) Date: Thu, 31 Jan 2002 12:55:19 -0800 From: Alfred Perlstein To: Michael Nottebrock Cc: freebsd-current@freebsd.org Subject: Re: panic in vfs_syscalls Message-ID: <20020131125519.F18604@elvis.mu.org> References: <3C59A6CD.6090102@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C59A6CD.6090102@gmx.net>; from michaelnottebrock@gmx.net on Thu, Jan 31, 2002 at 09:19:25PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Michael Nottebrock [020131 12:19] wrote: > I'm getting these kind of panics with yesterday's kernel every time I > try to use rpm. Thanks, I'm pretty sure I know what the fix is, but won't be able to take a shot until later tonight, for now you can just remove all FILEDESC_LOCK/UNLOCK calls from chroot_refuse_vdir_fds and that should keep you panic free. > > [root@kiste.localdomain]:~ > rpm -Uhv --root=/compat/linux > /home/lofi/libpng-1.0.9-1.i386.rpm > recursed on non-recursive lock (sleep mutex) filedesc structure @ > ../../../kern/vfs_syscalls.c:3573 > first acquired @ ../../../kern/vfs_syscalls.c:998 > panic: recurse > Debugger("panic") > Stopped at Debugger+0x44: pushl %ebx > db>trace > Debugger(c03f7828,c4219334,df5,c03fc830,0) at panic+0x70 > witness_lock(c4219334,8,c03fc830,df5,0) at witness_lock+0x1a6 > _mtx_lock_flags(c4219334,0,c03fc830,df5) at _mtx_lock_flags+0x72 > getvnode(c4219300,0,deb2dc74) at getvnode+0x31 > chroot_refuse_vdir_fds(c4219300,c4219334,0,c03fc830,41e) at > chroot_refuse_vdir_fds+0x3f > chroot(dea33104,deb2dd20,8131be0,bfbff7c8,8122,ec6) at chroot+0x78 > syscall(2f,2f,2f,8122ec6,bfbff7c8) at syscall+0x250 > syscall_with_err_pushed() at syscall_with_err_pushed+0x1b > --- syscall (61, FreeBSD ELF, chroot), eip = 0x80a4677, esp = > 0xbfbff75c, ebp > = 0xbfbff9b8 --- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message