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 <[EMAIL PROTECTED]> -- 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to