2003-08-06 19:40:14

by Micha

[permalink] [raw]
Subject: suspend fails under load

Under kernel 2.6.0-test2 I get the behaviour that when trying to suspend
under load, I get all the way to the black screen, after which I am
supposed to see the writing pages to disk message.
Instead I see an error message flashing by to fast to read and
everything wakes up, although only part way.
I can switch consoles, but the keyboard doesn't type anything to screen,
and if I switch to X everything locks up.
If I suspend with less applications running, everything works fine.
A sufficient load to cause the problem is running X (with gnome),
evolution, matlab and gnome-multi-terminal.
Could find any error logs under /var/log.
Under 2.4 and the swsusp patch the kernel does suspend with those
problems.
Any idea how to proceed in locating the problem?

--
Micha Feigin
[email protected]


2003-08-11 12:59:50

by Pavel Machek

[permalink] [raw]
Subject: Re: suspend fails under load

Hi!

> Under kernel 2.6.0-test2 I get the behaviour that when trying to suspend
> under load, I get all the way to the black screen, after which I am
> supposed to see the writing pages to disk message.
> Instead I see an error message flashing by to fast to read and

that's easy: add mdelays to suspend.c :-)
--
Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...

2003-08-12 11:02:27

by Micha

[permalink] [raw]
Subject: Re: suspend fails under load

On Fri, 2003-08-08 at 16:50, Pavel Machek wrote:
> Hi!
>
> > Under kernel 2.6.0-test2 I get the behaviour that when trying to suspend
> > under load, I get all the way to the black screen, after which I am
> > supposed to see the writing pages to disk message.
> > Instead I see an error message flashing by to fast to read and
>
> that's easy: add mdelays to suspend.c :-)

Would like to, but couldn't tell where the message was coming from so
that I can put it in the right location ;)
If I could read the message then I would be able to know what to grep
for, kind of the chicken and the egg.
--
Micha Feigin
[email protected]

2003-08-28 18:48:07

by Pavel Machek

[permalink] [raw]
Subject: Re: suspend fails under load

Hi!

> > > Under kernel 2.6.0-test2 I get the behaviour that when trying to suspend
> > > under load, I get all the way to the black screen, after which I am
> > > supposed to see the writing pages to disk message.
> > > Instead I see an error message flashing by to fast to read and
> >
> > that's easy: add mdelays to suspend.c :-)
>
> Would like to, but couldn't tell where the message was coming from so
> that I can put it in the right location ;)
> If I could read the message then I would be able to know what to grep
> for, kind of the chicken and the egg.

So add mdelays to all messages.
--
Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...