From owner-freebsd-questions@FreeBSD.ORG Mon Jan 31 11:04:34 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 B032F16A4CE for ; Mon, 31 Jan 2005 11:04:34 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0AC343D1F for ; Mon, 31 Jan 2005 11:04:33 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j0VB4WYs009462 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 31 Jan 2005 03:04:33 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j0VB4WKb009460 for freebsd-questions@freebsd.org; Mon, 31 Jan 2005 03:04:32 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Mon, 31 Jan 2005 03:04:32 -0800 From: "Loren M. Lang" To: FreeBSD Mailing list Message-ID: <20050131110432.GD8619@alzatex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C Subject: mounted ext2 fs causes bad shutdown X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2005 11:04:34 -0000 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. -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C