Subject: kern/11583: UBC and softdep can't unmount fs on shutdown
To: None <email@example.com>
From: Martin Husemann <firstname.lastname@example.org>
Date: 11/28/2000 10:58:11
>Synopsis: UBC and softdep can't unmount fs on shutdown
>Arrival-Date: Tue Nov 28 10:58:00 PST 2000
>Originator: Martin Husemann
>Release: 1.5L (cvs updated minutes after the renaming to 1.5L)
System: NetBSD night-porter.duskware.de 1.5L NetBSD 1.5L (PORTER) #0: Mon Nov 27 15:02:02 MET 2000 email@example.com:/usr/src/sys-i4b/arch/i386/compile/PORTER i386
With this fs mounted
/dev/wd0a on / type ffs (NFS exported, local, soft dependencies)
/dev/wd0e on /usr type ffs (NFS exported, local, soft dependencies)
kernfs on /kern type kernfs (local)
procfs on /proc type procfs (local)
mfs:83 on /tmp type mfs (asynchronous, local, nodev, nosuid)
the kernel fails to unmount the fs when doing "shutdown -r now".
It says something like
syncing disks 5 5 5 5 5 5 5 5 5 2 2 2 2 2 giving up
and the filesystems on / and /usr are not marked clean.
Removing the "softdep" from the mount fixes this.
Doing a "shutdown now" and then, after login in as root on the console in
single user mode doing imediately "reboot" works (i.e. unmounts the file
systems after a shorter sequences like "syncing disks 1 1 1 1 1 1\nrebooting")
Mount a ffs with softdeps on root and use UBC, do "shutdown -r now".