You are not logged in.

#1 2006-02-23 16:38:33

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Flushing RAM

I'm having problems getting suspend/resume to work consistently on my laptop.  One thing I'm trying to test is to see if the contents/size of ram is affecting the success/failure.  Is it possible to flush or erase the contents of ram before suspending? 

I know this partially reduces the benefit of suspend vs shutdown but I'd like to eliminate this as the cause of my problems.

Thanks in advance..

Offline

#2 2006-02-23 21:56:38

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Flushing RAM

Whats the problem with it working consistently? any error messages?

Offline

#3 2006-02-24 19:33:20

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: Flushing RAM

Generally one of two things happens.  Either 1. the screen lights up (and displays inu in yellow) but the sleep button stays on OR 2. the system comes back up and functions fine until I try to go back into X via startx.  At that stage the cursor disappears and no keys seem to work except the power button which does shut the system down.

Sometimes my system suspends/resumes once fine but then the second time I have one of the above two things happen.  I haven't been able to figure out a pattern yet.  I thought it might be related to wireless networks changing between moves but even if I modprobe -r ipw2200 before suspending it doesn't help the situation.

As for errors, if the system does come back I see this on the console:

Allocated buffer at 0x11010 (base is 0x0)
ES: 0x1101 EBX: 0x0000
Calling INT 0x15 (F000:654B)
  EAX is 0x5F20
Error: Something went wrong when performing real mode call

But, like I said, I get that error when the system comes back -- even though sometimes startx works and sometimes it does not.

I have 1GB of ram and my swap is 1077 MB big.  My swap had been only 128MB big a few weeks back but I increased it to see if it would help but it hasn't.  (Also, I should note that I'm using the CK kernel b/c I need the sata patch!)

Offline

#4 2006-02-24 20:16:12

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Flushing RAM

what scripts are you using to suspend?

Offline

#5 2006-02-24 20:19:38

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: Flushing RAM

Hibernate scripts..

I posted my hibernate.conf in this thread.  If you could help me figure this out I'd be mighty grateful!

http://bbs.archlinux.org/viewtopic.php?t=18752

Offline

#6 2006-02-24 20:35:52

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Flushing RAM

try enabling unload all modules, and the dummy x server option down the bottom.

Offline

#7 2006-02-26 23:52:52

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: Flushing RAM

I did the unload all modules thing and now when I suspend I get a lot of device busy errors.  On resume it's been the case where I get the yellow 'inu' and it stays suspended with the backlight on.  I haven't been able successfully resume since so far..  I will keep those options enabled to gather some more data points but my initial impression is that it's a step back.

Any other ideas?

Offline

Board footer

Powered by FluxBB