From owner-freebsd-hackers Sun Jul 9 14:51:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from server.baldwin.cx (server.geekhouse.net [64.81.6.52]) by hub.freebsd.org (Postfix) with ESMTP id 9369E37B9E6; Sun, 9 Jul 2000 14:51:32 -0700 (PDT) (envelope-from john@baldwin.cx) Received: from john.baldwin.cx (root@john.baldwin.cx [192.168.1.18]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id OAA16246; Sun, 9 Jul 2000 14:51:31 -0700 (PDT) (envelope-from john@baldwin.cx) Received: (from john@localhost) by john.baldwin.cx (8.9.3/8.9.3) id OAA00568; Sun, 9 Jul 2000 14:52:17 -0700 (PDT) (envelope-from john) Message-Id: <200007092152.OAA00568@john.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200007092131.OAA00514@john.baldwin.cx> Date: Sun, 09 Jul 2000 14:52:17 -0700 (PDT) From: John Baldwin To: hackers@FreeBSD.ORG Subject: RE: Lovely FFS panic on 4.x-stable Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 09-Jul-00 John Baldwin wrote: > IdlePTD 3407872 > initial pcb at 2c07e0 > panicstr: ffs_clusteralloc: map mismatch > panic messages: > --- > panic: ffs_clusteralloc: map mismatch >#0 boot (howto=256) at ../../kern/kern_shutdown.c:302 > 302 dumppcb.pcb_cr3 = rcr3(); Some more info related to ffs_isblock(): (kgdb) p got - run + i $2 = 2160 (kgdb) p i $3 = 1 (kgdb) p len $4 = 4 (kgdb) p fs->fs_frag $5 = 8 (kgdb) p (unsigned char *)blksfree[got - run + i] $7 = (unsigned char *) 0x3fffff0f
From ffs_subr.c: int ffs_isblock(fs, cp, h) struct fs *fs; unsigned char *cp; ufs_daddr_t h; { unsigned char mask; switch ((int)fs->fs_frag) { case 8: return (cp[h] == 0xff); ... } -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message