View previous topic :: View next topic |
Author |
Message |
The_P Apprentice
Joined: 13 Mar 2004 Posts: 248
|
Posted: Sun Sep 24, 2006 10:22 am Post subject: suspend2 ibm thinkpad T43 problems |
|
|
I have problems suspending the ibm T43. It is telling that there are not enought extra pages it needs 1534 but there are only 500. What does this mean?
I am using 2.6.17-beyond4. I have an ati mobility x300. I am using the fglrx driver 8.28.8. |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Sun Sep 24, 2006 10:47 am Post subject: |
|
|
What is the output of: Code: | cat /proc/suspend2/extra_pages_allowance |
And if you are suspending to swap, how big is your swap and how much memory does your laptop have? |
|
Back to top |
|
|
The_P Apprentice
Joined: 13 Mar 2004 Posts: 248
|
Posted: Sun Sep 24, 2006 11:22 am Post subject: |
|
|
I do not have a /proc/suspend2 directory.
I am using swap for suspending. My swap is 512 MB and I have 512 MB Memory. But I have to add to this that with the 2.6.15 kernels suspend2 worked. There I also used older versions of the hibernate script. |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Sun Sep 24, 2006 11:32 am Post subject: |
|
|
I also have problems with suspending since kernel 2.6.15 (sometimes it works, often it doesn't) As far as I know the pages allowance thing means that it doesn't have enough free space/allocates enough free space. For me that proc file controls how much pages it will allocate for suspending. Strange that you don't have /proc/suspend2. |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Mon Sep 25, 2006 2:28 am Post subject: |
|
|
I have suspend to ram and suspend to disk working well here on a T43 (ati x300), with suspend2-sources-2.6.17. Perhaps my configuration files will help you:
Code: | ~> grep -v "^#" ram.conf | grep -v "^$"
UseSysfsPowerState mem
Include common.conf
~> grep -v "^#" hibernate.conf | grep -v "^$"
TryMethod suspend2.conf
~> grep -v "^#" suspend2.conf | grep -v "^$"
UseSuspend2 yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 1
Compressor lzf
Encryptor none
ProcSetting userui_program /sbin/suspend2ui_fbsplash
ProcSetting expected_compression 50
ProcSetting extra_pages_allowance 7500
FullSpeedCPU yes
Include common.conf
~> grep -v "^#" common.conf | grep -v "^$"
Verbosity 2
LogFile /var/log/hibernate.log
LogVerbosity 1
Distribution gentoo
SaveClock restore-only
IbmAcpi yes
OnSuspend 10 sudo /usr/local/sbin/windows_mount unmount
OnSuspend 20 sudo /usr/local/sbin/stopnet
OnResume 20 sudo /usr/local/sbin/startnet
OnResume 10 sudo /usr/local/sbin/windows_mount mount
GentooModulesAutoload yes
RestartServices alsasound
SwitchToTextMode yes
|
|
|
Back to top |
|
|
The_P Apprentice
Joined: 13 Mar 2004 Posts: 248
|
Posted: Mon Sep 25, 2006 7:41 am Post subject: |
|
|
I added the line
Code: |
ProcSetting extra_pages_allowance 7500
|
to my config. It is working now. Thanks a lot |
|
Back to top |
|
|
number_nine Tux's lil' helper
Joined: 05 May 2005 Posts: 136
|
Posted: Fri Feb 02, 2007 3:55 am Post subject: |
|
|
ppurka wrote: | I have suspend to ram and suspend to disk working well here on a T43 (ati x300), with suspend2-sources-2.6.17. Perhaps my configuration files will help you:
...
|
Any chance you could also post your kernel config? And your /etc/hibernate/blacklisted-modules and perhaps the output of "lsmod"?
Thanks!
Matt |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Fri Feb 02, 2007 6:39 am Post subject: |
|
|
number_nine wrote: | Any chance you could also post your kernel config? And your /etc/hibernate/blacklisted-modules and perhaps the output of "lsmod"? | Hmm... that is a pretty old post,- I am sure a lot has changed in between. Anyway:
1. Kernel config. Currently the laptop is running on 2.6.19-suspend2-r1. I would suggest you upgrade to 2.6.19 since it has newer SATA drivers which have good power management (no more random non-resumes from suspend to ram).
2. blacklisted-modules. This is just the default file, no modifications made by me.
3. lsmod. This contains only those modules which I did not put into the kernel either due to necessity (agpgart, intel_agp) or because I am not using the in-kernel drivers (alsa, ipw2200). |
|
Back to top |
|
|
number_nine Tux's lil' helper
Joined: 05 May 2005 Posts: 136
|
Posted: Sat Feb 10, 2007 1:38 am Post subject: |
|
|
ppurka wrote: | number_nine wrote: | Any chance you could also post your kernel config? And your /etc/hibernate/blacklisted-modules and perhaps the output of "lsmod"? | Hmm... that is a pretty old post,- I am sure a lot has changed in between. Anyway:
1. Kernel config. Currently the laptop is running on 2.6.19-suspend2-r1. I would suggest you upgrade to 2.6.19 since it has newer SATA drivers which have good power management (no more random non-resumes from suspend to ram).
2. blacklisted-modules. This is just the default file, no modifications made by me.
3. lsmod. This contains only those modules which I did not put into the kernel either due to necessity (agpgart, intel_agp) or because I am not using the in-kernel drivers (alsa, ipw2200). |
A million thank yous! Your config just worked for me. I diff'ed mine and yours, and there were so many differences that it's not obvious what "the" difference was. Doesn't matter---it works!
Thank you so much! |
|
Back to top |
|
|
|