[ltp] R40 and ACPI with Suspend/Resume

Jordi G. March linux-thinkpad@linux-thinkpad.org
Thu, 03 Jun 2004 16:05:56 -0400


--=-rxxPyckqSrOxu5lycinH
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Do you use swsusp-scripts (actually v.0.18) or just a call to /proc fs?
If not, try to use that first.

Jordi

El jue, 03-06-2004 a las 15:58, +0200, Guenther Rackl escribió:

> Hi,
> 
> > I've just tried with 2.6.6 & swsusp 2.0.0.81 + Win4Lin patches....
> > Works flawlessly. The only problem seems related to MTRRs when
> > switching back to X, causing a big impact in performance. Hopefully
> > this can be solved by tuning /proc/mtrr dynamically ;-)
> 
> swsusp complaings about not having enough swap available, what
> apparently isn't correct (more pages available than needed):
> 
> Jun  3 15:44:38 mars kernel: /critical section: handling
> highmem........................., counting pages to copy.[nosave pfn
> 0x393]....................................................... (pages
> needed: 53868+512=54380 free: 194309)
> Jun  3 15:44:38 mars kernel: Suspend Machine: There's not enough swap
> space available, on 54380 pages short
> Jun  3 15:44:38 mars kernel: Suspend Machine: Suspend failed, trying to
> recover...
> 
> Any idea what could be wrong?
> 
> Regards
> Günther
> 
> 
> -- 
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

-- 
http://www.devilmaster.org

--=-rxxPyckqSrOxu5lycinH
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.1.12">
</HEAD>
<BODY>
Do you use swsusp-scripts (actually v.0.18) or just a call to /proc fs?&nbsp; If not, try to use that first.<BR>
<BR>
Jordi<BR>
<BR>
El jue, 03-06-2004 a las 15:58, +0200, Guenther Rackl escribi&#243;:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi,</FONT>

<FONT COLOR="#000000">&gt; I've just tried with 2.6.6 &amp; swsusp 2.0.0.81 + Win4Lin patches....</FONT>
<FONT COLOR="#000000">&gt; Works flawlessly. The only problem seems related to MTRRs when</FONT>
<FONT COLOR="#000000">&gt; switching back to X, causing a big impact in performance. Hopefully</FONT>
<FONT COLOR="#000000">&gt; this can be solved by tuning /proc/mtrr dynamically ;-)</FONT>

<FONT COLOR="#000000">swsusp complaings about not having enough swap available, what</FONT>
<FONT COLOR="#000000">apparently isn't correct (more pages available than needed):</FONT>

<FONT COLOR="#000000">Jun  3 15:44:38 mars kernel: /critical section: handling</FONT>
<FONT COLOR="#000000">highmem........................., counting pages to copy.[nosave pfn</FONT>
<FONT COLOR="#000000">0x393]....................................................... (pages</FONT>
<FONT COLOR="#000000">needed: 53868+512=54380 free: 194309)</FONT>
<FONT COLOR="#000000">Jun  3 15:44:38 mars kernel: Suspend Machine: There's not enough swap</FONT>
<FONT COLOR="#000000">space available, on 54380 pages short</FONT>
<FONT COLOR="#000000">Jun  3 15:44:38 mars kernel: Suspend Machine: Suspend failed, trying to</FONT>
<FONT COLOR="#000000">recover...</FONT>

<FONT COLOR="#000000">Any idea what could be wrong?</FONT>

<FONT COLOR="#000000">Regards</FONT>
<FONT COLOR="#000000">G&#252;nther</FONT>


<FONT COLOR="#000000">-- </FONT>
<FONT COLOR="#000000">The linux-thinkpad mailing list home page is at:</FONT>
<A HREF="http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad"><FONT COLOR="#000000">http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad</FONT></A>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
<A HREF="http://www.devilmaster.org">http://www.devilmaster.org</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

--=-rxxPyckqSrOxu5lycinH--