Re: 2.4.19-pre8-ac5 swsusp panic

Kasper Dupont (kasperd@daimi.au.dk)
Fri, 24 May 2002 17:08:06 +0200


On my system I'm actually able to suspend and start
the system again using kernel 2.4.19-pre8-ac5. But
there are some problems.

If there is not enough free physical memory it
complaints about not enough free memory and system
continues without suspending. However runing this
program before suspending helps:

#define BUFSIZE (1024*1024*256)
int main()
{
char *buf = malloc(BUFSIZE);
int i;
for (i=0;i<BUFSIZE;i+=4096) buf[i]++;
return 0;
}

There is plenty of swap space on my system, so that
is not a problem.

When the system has been started again after a
suspend my PS/2 mouse and my serial logins are
all dead. Restarting gpm and sending a SIGHUP to
the serial logins get the connections to live up.
But if I start X all input devices die, but the
screen output is correct and keep getting updated.

Finally ntpd does complain about loosing sync.

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:razor-report@daimi.au.dk
-
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/