[prev in list] [next in list] [prev in thread] [next in thread] 

List:       swsusp-devel
Subject:    Re: [Swsusp-devel] Unable to suspend
From:       Brad Campbell <brad () wasp ! net ! au>
Date:       2003-12-29 7:56:36
[Download RAW message or body]

Brad Campbell wrote:
> Michael Frank wrote:
> 
>> I also had this during "normal" use, but it did 300 cycles at loadavg 
>> of 37 and 20MB IO/s wo problems.
>>
>> This is specific to 3A and after.
>>
>> Regards
>> Michael
> 
> 
> I never had it occur under 3A, but by putting a bit of load on the 
> system I can reproduce it in under 20 cycles with 3B
> My loadavg never exceeds 3 and it's happening "randomly"
> For example, I have over half of my ram free now and my loadavg is 
> bugger all and it is still occuring.
> If I run a compile or something similar that moves memory around a bit 
> it will unlock and allow me to suspend.
> 

Further info with extra debugging enabled

echo 6 > /proc/swsusp/default_console_level
echo 31 > /proc/swsusp/debug_sections

bklaptop:~>uptime
  11:55:36 up  6:07,  8 users,  load average: 0.43, 1.10, 0.78

bklaptop:~>cat /proc/meminfo
         total:    used:    free:  shared: buffers:  cached:
Mem:  528084992 129388544 398696448        0  3358720 94720000
Swap: 1028149248 143511552 884637696
MemTotal:       515708 kB
MemFree:        389352 kB
MemShared:           0 kB
Buffers:          3280 kB
Cached:          64976 kB
SwapCached:      27524 kB
Active:          64104 kB
Inactive:        46240 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       515708 kB
LowFree:        389352 kB
SwapTotal:     1004052 kB
SwapFree:       863904 kB


Dec 29 11:53:32 bklaptop kernel: Swsusp 2.0-rc3B: Initiating a 
software_suspend cycle.
Dec 29 11:53:32 bklaptop kernel: LRU check at start of cycle...
Dec 29 11:53:32 bklaptop kernel: Done.
Dec 29 11:53:36 bklaptop kernel:
Dec 29 11:53:36 bklaptop kernel: ** Attempting to allocate memory for 
page flags.
Dec 29 11:53:36 bklaptop kernel: Preparing image.
Dec 29 11:53:36 bklaptop kernel:
Dec 29 11:53:36 bklaptop kernel: ** Freezing processes: Attempt 1
Dec 29 11:53:36 bklaptop kernel:
Dec 29 11:53:36 bklaptop kernel: ** Freezing processes: Waiting for 
activity to finish.
Dec 29 11:53:36 bklaptop kernel: 64|-184397|0
Dec 29 11:53:36 bklaptop kernel:
Dec 29 11:53:36 bklaptop kernel: (Freezer exit:) Swap needed calculated 
as 6311+25097+95+1=31505.
Dec 29 11:53:36 bklaptop kernel: -- Iteration 1.
Dec 29 11:53:36 bklaptop kernel: Unable to allocate page(s) for swap 
header info structures.
Dec 29 11:53:36 bklaptop kernel: Still need to get more swap pages for 
header.
Dec 29 11:53:36 bklaptop kernel: Free:197+99442+157=99796. 
Sets:6311,25097(25097). Header:95. Nosave:99451-0-99442=9. 
Storage:-1/31505(215902). Needed:-98564|-184397|0
Dec 29 11:53:36 bklaptop kernel:
Dec 29 11:53:36 bklaptop kernel: (Freezer exit:) Swap needed calculated 
as 6311+25097+95+1=31505.
Dec 29 11:53:36 bklaptop kernel: -- Iteration 1.
Dec 29 11:53:36 bklaptop kernel: Unable to allocate page(s) for swap 
header info structures.
Dec 29 11:53:36 bklaptop kernel: Still need to get more swap pages for 
header.
Dec 29 11:53:36 bklaptop kernel: Free:197+99442+157=99796. 
Sets:6311,25097(25097). Header:95. Nosave:99451-0-99442=9. 
Storage:-1/31505(215902). Needed:-98564|-184397|0
Dec 29 11:53:36 bklaptop kernel:


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
swsusp-devel mailing list
swsusp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swsusp-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic