Date: Sun, 09 Jul 2000 14:52:17 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.ORG> To: hackers@FreeBSD.ORG Subject: RE: Lovely FFS panic on 4.x-stable Message-ID: <200007092152.OAA00568@john.baldwin.cx> In-Reply-To: <200007092131.OAA00514@john.baldwin.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <Address 0x3fffff0f out of bounds>
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 <jhb@FreeBSD.org> -- 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-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007092152.OAA00568>
