Subject: Re: mfs busted?
To: None <oster@cs.usask.ca>
From: Jun-ichiro itojun Hagino <itojun@itojun.org>
List: tech-kern
Date: 01/26/2004 13:24:49
> itojun@iijlab.net writes:
> > i've updated the kernel from 1.6ZH to 1.6ZI, and experienced a kernel
> > panic on mount_mfs (from /etc/fstab). i'm still using 1.6ZH
> > newfs/mount_mfs (i'm in process of updating). are there any important
> > incompatible changes made to newfs/mount_mfs? if so, it has to be
> > documented in doc/UPDATING.
>
> I *think* the problem is an (accidentally?) removed:
>
> bp->b_dev = vp->v_rdev;
>
> that should still exist before:
>
> return (VOP_STRATEGY(vp, bp));
>
> in ufs_strategy() in src/sys/ufs/ufs/ufs_vnops.c . If you add that
> "bp->b_dev = ..." line back in, it should make things work again...
the change solved the problem, thanks.
itojun