Subject: bin/20858: Softdeps, GENERIC kernel and mount_ffs
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 03/23/2003 10:36:27
>Synopsis: Softdeps, GENERIC kernel and mount_ffs combine to make some systems unbootable.
>Arrival-Date: Sun Mar 23 07:39:01 PST 2003
>Originator: John Franklin
>Release: NetBSD 1.6P (kernel) NetBSD 1.6.1 RC2 (userland)
ICBM: 35°43'56"N 78°53'27"W
System: NetBSD deathmitten 1.6P NetBSD 1.6P (DM.ACPI) #0: Wed Feb 26 09:30:42 EST 2003 franklin@deathmitten:/usr/src2/sys/arch/i386/compile/DM.ACPI i386
The GENERIC kernel is prudently kept around by many administrators as a
failsafe kernel. However, there is an issue that arises from a combination
of softdeps and GENERIC kernel.
In a nutshell:
1. The GENERIC kernel doesn't have softdep support built in.
2. mount_ffs will fail to mount a partition if softdeps is included in
the options field of /etc/fstab and softdeps is not supported by the kernel.
This leads to an unbootable system situation if the GENERIC kernel is used
for failsafe purposes.
Install 1.6.1 RC2 GENERIC kernel. Enable softdeps in /etc/fstab. Reboot.
The kernel or mount_ffs should issue a warning that softdeps are not
supported and then allow the mount anyway with softdeps disabled.