[ltp] R40 and ACPI with Suspend/Resume

Guenther Rackl linux-thinkpad@linux-thinkpad.org
Thu, 03 Jun 2004 15:58:13 +0200


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