From owner-freebsd-current@FreeBSD.ORG Sat Jun 26 16:01:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E0CA16A4CE; Sat, 26 Jun 2004 16:01:40 +0000 (GMT) Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 916F643D2F; Sat, 26 Jun 2004 16:01:39 +0000 (GMT) (envelope-from schweikh@schweikhardt.net) Received: by bremen.shuttle.de (Postfix, from userid 10) id 5329C3BD84; Sat, 26 Jun 2004 18:01:28 +0200 (CEST) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) i5QG0mVk001778; Sat, 26 Jun 2004 18:00:48 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost)i5QG0mDO001777; Sat, 26 Jun 2004 18:00:48 +0200 (CEST) (envelope-from schweikh) Date: Sat, 26 Jun 2004 18:00:48 +0200 From: Jens Schweikhardt To: Lukas Ertl Message-ID: <20040626160048.GA1537@schweikhardt.net> References: <200406260905.55143.msch@snafu.de> <20040626135545.B666@korben.in.tern> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040626135545.B666@korben.in.tern> User-Agent: Mutt/1.5.6i cc: Matthias Schuendehuette cc: freebsd-current@FreeBSD.org Subject: Re: panic with vinum X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 26 Jun 2004 16:01:40 -0000 On Sat, Jun 26, 2004 at 01:56:25PM +0200, Lukas Ertl wrote: # On Sat, 26 Jun 2004, Matthias Schuendehuette wrote: # # >[...] # >vinum: loaded # >panic: unmount: dangling vnode # >syncing disks ....giving up on 185 buffers # > # >I *can* start vinum after the system has come up. It's working fine # >then. # # I'm quite sure that recent changes to vfs_mount.c cause this. I'm not # sure how to fix it, though. If it helps anyone, here's a trace I scribbled manually. I have vinum_load="YES" in /boot/loader.conf, but booted into single user. The root fs is plain UFS2. This is what I get when I start vinum: # vinum start panic: unmount: dangling vnode Debugger("panic") Stopped at Debugger+0x54: xchgl %ebx,in_Debugger.0 db> trace Debugger panic vfs_mount_destroy getdiskbyname open_drive init_drive read_drive check_drive vinum_scandisk vinum_super_ioctl vinumioctl spec_ioctl spec_vnoperate vn_ioctl syscall Xint0x80_syscall --- syscall (54, FreeBSD ELF32, ioctl) (with lots of arguments for each function that I can provide upon request). Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)