Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 1998 05:28:35 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        current@FreeBSD.ORG, finrod@ewox.org
Subject:   Re: Strange CAM panics [LONG]
Message-ID:  <199809201928.FAA00683@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Another problem I have (which I think is softupdates related) is that
>after a panic, the computer refuses to mount / even after 'fsck -p'.
>After a second reboot, all file systems are reported clean and are
>mounted properly. Here is a boot log:

It's premature-compatibility-slice-avoidance related.  fsck actually
honours the devices specified in /etc/fstab.  When the root device
specified in /etc/fstab doesn't match reality, due to it being the
compatibility slice but the kernel having mounted root on a real slice,
fsck doesn't know that the specified root device is mounted and doesn't
tell the kernel to reload it.  This results in the copy in the kernel
remaining inconsistent with the disk copy and unclean.  mount(8) uses the
buggy ROOTSLICE_HUNT hack to hide this problem.  Fortunately, mount fails
unless forced so the inconsistent state doesn't cause further damage.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809201928.FAA00683>