From owner-freebsd-current Mon Feb 4 8:50:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id CCE7237B41F for ; Mon, 4 Feb 2002 08:50:16 -0800 (PST) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.11.6/8.11.6) with UUCP id g14GoAg51916; Mon, 4 Feb 2002 16:50:10 GMT (envelope-from mark@grondar.za) Received: from greenpeace.grondar.org (greenpeace [192.168.42.2]) by gratis.grondar.org (Postfix) with ESMTP id 6728657; Mon, 4 Feb 2002 16:46:05 +0000 (GMT) Received: from grondar.za (localhost [127.0.0.1]) by greenpeace.grondar.org (8.11.6/8.11.6) with ESMTP id g14Gk5E56541; Mon, 4 Feb 2002 16:46:05 GMT (envelope-from mark@grondar.za) Message-Id: <200202041646.g14Gk5E56541@greenpeace.grondar.org> To: John Polstra Cc: current@FreeBSD.ORG Subject: Re: Panics in ffs_clusteracct with todays -current References: In-Reply-To: ; from John Polstra "Sun, 03 Feb 2002 20:52:49 PST." Date: Mon, 04 Feb 2002 16:46:00 +0000 From: Mark Murray 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 > The kernel from today's current (CVSupped 3 Feb 2002 around 17:40 > PST) can't stay up for more than a few minutes without getting a > page-not-present panic at line 1815 of ufs/ffs/ffs_alloc.c revision > 1.86. It is in this code: > > /* > * Find the size of the cluster going backward. > */ > start = blkno - 1; > end = start - fs->fs_contigsumsize; > if (end < 0) > end = -1; > mapp = &freemapp[start / NBBY]; > map = *mapp--; > ^^^^^ > BANG! I just reverted the "upgrade" of NBBY (to unsigned). M -- o Mark Murray \_ FreeBSD Services Limited O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message