Subject: kern/26435: soft-dependencies cause kernel hangs on system shutdown
To: None <gnats-bugs@gnats.NetBSD.org>
From: Matthias Scheler <firstname.lastname@example.org>
Date: 07/26/2004 18:56:55
>Synopsis: soft-dependencies cause kernel hangs on system shutdown
>Arrival-Date: Mon Jul 26 16:58:00 UTC 2004
>Release: NetBSD 2.0_BETA (happens also with NetBSD 1.6.2_STABLE)
Matthias Scheler http://scheler.de/~matthias/
System: NetBSD colwyn.zhadum.de 2.0_BETA NetBSD 2.0_BETA (COLWYN) #0: Mon Jul 26 12:22:36 CEST 2004 email@example.com:/src/sys/compile/COLWYN i386
Whenever I've rebooted my server after more than two weeks of uptime
the system didn't shutdown itself properly but frooze after printing
out "syncing disks.... ". I had to reset it manually resulting
a check of all filesystems and a resync of the two RAIDframe mirros
after the reboot. I initially blamed this on RAIDframe until I've
heard that it might be relaated to soft-dependencies. I've therefore
turned off soft-dependencies before the last reboot. When I rebooted
my server after 2 weeks of uptime today the shutdown completed without
any problems, the system rebooted fully automatically and neither
checked filesystems nor resynced the mirrors on system startup.
It appears that soft-dependences really were the cause for the
shutdown problems on my server.
Enable soft-dependencies on all partitions, cause medium file system
activity (news system, proxy server, package rebuilds, CVS updates)
for a few days and try to reboot it with "shutdown -r ..." afterwards.
The kernel will freeze after "syncing disks.... ".
Disabling soft-dependencies avoids the problem.