From owner-freebsd-questions@FreeBSD.ORG Tue Feb 1 02:23:31 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 412E016A4CF for ; Tue, 1 Feb 2005 02:23:31 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD6D943D45 for ; Tue, 1 Feb 2005 02:23:30 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: by rproxy.gmail.com with SMTP id z35so931960rne for ; Mon, 31 Jan 2005 18:23:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Lwa2uj+PKilf4zIN7YzVAXUhoZLH+w3ce0ajQTnwXxd5NI3KAmGUSFFqpmEHA1g2pjtonCKNj8wuuwSZi6axBehw59mzdv6L/rF6Vrp0gC5CST0J6+ZCLlEm81Gx+UdgzLBxNhHBBUGtddBxsT5hbBUfhQlQ6knPGPgZuNLPxv4= Received: by 10.38.208.17 with SMTP id f17mr148881rng; Mon, 31 Jan 2005 18:23:27 -0800 (PST) Received: by 10.38.101.3 with HTTP; Mon, 31 Jan 2005 18:23:27 -0800 (PST) Message-ID: Date: Mon, 31 Jan 2005 20:23:27 -0600 From: Eric Kjeldergaard To: "Loren M. Lang" In-Reply-To: <20050131110432.GD8619@alzatex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20050131110432.GD8619@alzatex.com> cc: FreeBSD Mailing list Subject: Re: mounted ext2 fs causes bad shutdown X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eric Kjeldergaard List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2005 02:23:31 -0000 On Mon, 31 Jan 2005 03:04:32 -0800, Loren M. Lang wrote: > On a FreeBSD 5.3 system of mine that is dual boot with linux I have my > linux home partition which is ext3fs mounted on freebsd. Anytime I > reboot or halt freebsd while it is mounted, freebsd fails to sync all > it's buffers. The first message Syncing disks, vnodes remaining, starts > out at around 5 or 10 and descreases to 0, then the message Syncing > disks, buffers remaining... starts at 7 and stays at 7 the whole time > untill freebsd gives up and reboots or halts anyways. Whenever I first > unmount the ext2fs, the vnodes remaining message comes up as usually, > but the buffers remains never does and freebsd just reboots normally. I > could modify the shutdown scripts to unmount the fs manually I suppose, > but I'd like to solve the real problem. > > P.S. I'd love to debug this myself, but I'm not very familiar with the > freebsd source code yet, and I'm not sure how to use a debugger on it > yet. Any pointers would be appreciated. Well, there is a PR on this (I don't remember which, but I found it via a google search for the same problem with ext2fs. For lack of a better solution at the time, I put a umount in rc.shutdown. -- If I write a signature, my emails will appear more personalised.