From owner-freebsd-current@FreeBSD.ORG Sat Dec 6 08:49:04 2003 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 D923816A4CE for ; Sat, 6 Dec 2003 08:49:03 -0800 (PST) Received: from mta5-svc.business.ntl.com (mta5-svc.business.ntl.com [62.253.164.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE6B843FB1 for ; Sat, 6 Dec 2003 08:49:01 -0800 (PST) (envelope-from bruce@cran.org.uk) Received: from buffy.brucec.backnet ([81.107.205.100]) by mta5-svc.business.ntl.comESMTP <20031206164900.OFFZ23493.mta5-svc.business.ntl.com@buffy.brucec.backnet>; Sat, 6 Dec 2003 16:49:00 +0000 Received: from buffy.brucec.backnet (localhost.brucec.backnet [127.0.0.1]) hB6GmJVK004544; Sat, 6 Dec 2003 16:48:19 GMT (envelope-from bruce@buffy.brucec.backnet) Received: (from bruce@localhost) by buffy.brucec.backnet (8.12.10/8.12.10/Submit) id hB6GmINb004543; Sat, 6 Dec 2003 16:48:18 GMT (envelope-from bruce) Date: Sat, 6 Dec 2003 16:48:18 +0000 From: Bruce Cran To: Arjan van Leeuwen Message-ID: <20031206164818.GA4458@buffy.brucec.backnet> References: <20031126183744.GA9140@merlin.emma.line.org> <200312050055.16683.avleeuwen@piwebs.com> <20031206151011.S1934@gamplex.bde.org> <200312061047.48877.avleeuwen@piwebs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312061047.48877.avleeuwen@piwebs.com> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org Subject: Re: 5.2-BETA: giving up on 4 buffers (ata) 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, 06 Dec 2003 16:49:04 -0000 On Sat, Dec 06, 2003 at 10:47:46AM +0100, Arjan van Leeuwen wrote: Content-Description: signed data > On Saturday 06 December 2003 05:33, Bruce Evans wrote: > > On Fri, 5 Dec 2003, Arjan van Leeuwen wrote: > > > > On Thursday 27 November 2003 10:43, Stefan Ehmann wrote: > > > > > This is a known problem for nearly three months now (See PR 56675). > > > > > It happens to me every time I shut down the system if i don't unmount > > > > > my (read-only) ext2 file systems manually. > > > > > > FYI, I'm still seeing this problem on a -CURRENT system from today. Is > > > there any way I can help to diagnose the cause of this problem? Is there > > > already a fix available somewhere? > > > > No need. It was diagnosed over 3 months ago (see PR 56675). I don't know > > of any publicly available fix. My version of ext2fs avoids the bug by > > doing buffering differently. > > > > As a workaround, unmount ext2fs file systems before rebooting. > > Unmounting most file systems before rebooting should be the default > > anyway (handled by shutdown(8) and reboot(8)), since unmounting may > > fail and vfs_unmountall() in the kernel has no good way to log errors. > > Thanks. It won't help though, as I don't have any ext2fs file systems, only > UFS. Also, my problem isn't 3 months old - I'm only seeing it since a few > weeks. > I've been seeing this problem for a good few months now - if I boot into single-user mode (using boot -s), fsck the (UFS2 only) disks and then type 'reboot', the system will always give up on at least 1 buffer, sometimes even 4 or 5. Of course, since / was mounted ro the filesystem is still clean when the system is rebooted, but it seems something thinks there's data to be written to a read-only filesystem! The root filesystem is UFS2 without softupdates. -- Bruce Cran