Re: Problems with APM suspend and ext3

From: Andrew Morton (akpm@zip.com.au)
Date: Wed Nov 28 2001 - 14:44:40 EST


Kamil Iskra wrote:
>
> On Tue, 27 Nov 2001, Andrew Morton wrote:
>
> > I don't understand what can be causing the behaviour which you
> > report. Presumably, some application is generating disk writes,
> > and kjournald is thus performing disk IO every five seconds.
>
> The only such "application" could be syslogd or apmd. There is virtually
> nothing more running in single user mode.
>
> > If possible, could you please edit fs/jbd/journal.c and change
> >
> > journal->j_commit_interval = (HZ * 5);
> > to
> > journal->j_commit_interval = (HZ * 30);
>
> Just tried it. Unfortunately, it didn't improve anything. Consistent
> failure what doing "apm -s". I tried some 15 times or so in single user
> mode.
>
> Should you, or anybody else, have further suggestions, I'll be happy to
> try them out.

I'm stumped. Sorry. I was hoping Alan would leap in with
words of revelation.

Maybe you can turn on APM debugging with `apm=debug' on the
LILO command line, or `modprobe apm debug=1', see if that
provides a hint. APM debug mode doesn't seem to do much though.

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:32 EST