Subject: Re: dirty filesystem after shutdown/reboot
To: Wolfgang S. Rupprecht <wolfgang+gnus20040310T040937@dailyplanet.dontspam.wsrcc.com>
From: David Brownlee <abs@netbsd.org>
List: tech-kern
Date: 03/10/2004 13:17:24
On Wed, 10 Mar 2004, Wolfgang S. Rupprecht wrote:
>
> hubert@feyrer.de (Hubert Feyrer) writes:
> > Whenever I shutdown or reboot my -current/i386 machine, the filesystem is
> > dirty and I have to fsck several hundred GB - not fun. Is anyone else
> > experiencing this? I've seen this for several weeks in -current now,
> > trying different kernels.
>
> I'm seeing it too. Now perhaps it is my imagination, but hangs seem
> to happen much more frequently when I build a new kernel, install it
> and reboot. (It is almost like something is using the new kernel's
> symbol table to root around in kmem, but what would be doing that?)
>
> The 20-minute long fsck after a botched reboot was irritating enough a
> few years ago that I just put a long list of umounts in my
> /etc/rc.shutdown.local. One can't unmount any partition that contains
> daemons from that file (since it gets run before the kills are
> issued), but in my case nothing runs from the biggest partitions.
I've seen this on my laptop too... Seems to be much less common
if I 'shutdown now', then 'poweroff' once in single user.
Are you using NEW_BUFQ_STRATEGY?
--
David/absolute -- www.netbsd.org: No hype required --