From: Pavel Machek <pavel@suse.cz>
To: fchabaud@free.fr
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: swsusp is at it... again and again
Date: Thu, 7 Mar 2002 22:00:15 +0100 [thread overview]
Message-ID: <20020307210013.GB451@elf.ucw.cz> (raw)
In-Reply-To: <20020306233509.GA576@elf.ucw.cz> <200203071402.g27E2rr12847@colombe.home.perso>
In-Reply-To: <200203071402.g27E2rr12847@colombe.home.perso>
Hi!
> >> > After about 20 resume cycles (compiled kernel with swsusp making
> >> > machine suspend/resume) I got that nasty FS corruption, again.
> >> >
> >> > So...
> >> >
> >> > 1) Maybe your ext3 patches are not at fault.
> >>
> >> I suspect all this come from suspension failure and immediate resume. I
> >> have reenabled your panic ! I believe that if a task isn't stopped and
> >> suspension is aborted (calling thaw_process and so on) something is
> >> altered. Maybe resuming assumes implicitely a state that is not
> >> completely reached when a task cannot be stopped.
> >
> > I don't think that's it. But I have another suspect:
> >
> > mark_swapfiles in do_magic_resume_2. Oh, and you should also kill it
> > from do_magic_suspend_*. Its writing on filesystem during resume, and
> > it does not seem too safe.
>
> Sh... That's a mail I sent you and that was lost: all the oops I have
> observed occur with calltrace
> c0123398 t do_magic_resume_2
> c0123694 t do_magic
> c012389c t do_software_suspend
> c011a8bc T __run_task_queue
> with EIP
> c0122754 t mark_swapfiles
>
> Do you mean we should simply not call mark_swapfiles any more ?
I gave it second thought...
We *must* write to swapfiles during suspend. Doing it during resume
should be very similar to writing during suspend....
If you simply comment it out, it will refuse to suspend second
time. If you comment out even "SWAP-FILE" check, it should work... I'd
be very interested if it helps, but it would also confuse me a lot.
Pavel
--
(about SSSCA) "I don't say this lightly. However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
prev parent reply other threads:[~2002-03-07 21:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20020227113556.GE25104@atrey.karlin.mff.cuni.cz>
[not found] ` <200202271516.g1RFGMs11398@fuji.home.perso>
2002-03-04 23:06 ` swsusp is at it... again Pavel Machek
2002-03-05 16:18 ` fchabaud
2002-03-05 20:59 ` Pavel Machek
2002-03-07 9:54 ` fchabaud
2002-03-07 22:10 ` Pavel Machek
2002-03-06 23:35 ` swsusp is at it... again and again Pavel Machek
[not found] ` <200203071402.g27E2rr12847@colombe.home.perso>
2002-03-07 21:00 ` Pavel Machek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020307210013.GB451@elf.ucw.cz \
--to=pavel@suse.cz \
--cc=fchabaud@free.fr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®