All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: Pavel Machek <pavel@suse.cz>
Cc: Voicu Liviu <pacman@mscc.huji.ac.il>, linux-kernel@vger.kernel.org
Subject: Re: Wow.  Suspend to disk works for me in test8. :)
Date: Fri, 24 Oct 2003 04:15:36 -0500	[thread overview]
Message-ID: <200310240415.36991.rob@landley.net> (raw)
In-Reply-To: <20031024075600.GC1519@elf.ucw.cz>

On Friday 24 October 2003 02:56, Pavel Machek wrote:
> Hi!
>
> > > > A couple of down sides I've noticed: I have to run "hwclock
> > > > --hctosys" after a resume because the time you saved at is the time
> > > > the system thinks it is when you resume (ouch).  And because of that,
> > > > things that should time out and renew themselves (like dhcp leases)
> > > > have to be thumped manually.
> > >
> > > I sent fix for that yesterday... but you'd need to fix swsusp.c's
> > > sysdev handling and mtrr-s => better wait.
> > > 			Pavel
> >
> > It's largely working for me.  My laptop's backed up regularly, so I'm not
> > risking too much data.  It reliably fails trying to suspend if I close
> > the lid, and if I don't close the lid every once in a while the power
> > down step won't power down immediately and the sucker will boot back up
> > to the desktop and inform me that my dhcp lease file is corrupt, and then
> > suddenly power down right from the desktop.  (I reboot and force a full
> > fsck in this circumstance.)
>
> Well, this looks like ACPI problems to me. You might want to set it to
> reboot and hit powerswitch manually.

Why should it be an ACPI problem?  Shutdown has never had trouble powering 
down since I got the laptop.  Before Patrick forked off a suspend that 
actually worked for me, I'd shut down every time I wanted to move the laptop.  
(Ctrl-alt-backspace, ctrl-alt-delete was the fast way, I tweaked inittab to 
make that call shutdown -h.)  I'd start a shutdown, and while red hat was 
running it's 8 gazillion unnecessary scripts I'd close the lid, put the thing 
in my backpack, and forget about it.  It shut down every time, all the way 
back to at least -test3 (first version I installed on this laptop).

Now I have to leave the lid open until it's finished suspending...

> > I've also had it just hang there, on both suspend and resume, for upwards
> > of 30 seconds doing nothing I can see until I start holding the power
> > button down: after ten seconds it'll hard power off, but after two or
> > three it suddenly wakes up and continues with the suspend or resume. 
> > (Suspend usually hangs in "snapshotting memory" or something like that. 
> > Resume hangs printing ........::::::::] at the end of the boot log, right
> > before it would otherwise clear the screen and rerun the end of the power
> > down phase.
>
> Not sure what is going on there.

Me neither.  If I get some time this weekend I'll stick beep calls into the 
code and try to force it to fail.  If I open the lid after it's hung the 
display is powered off, so I can't see any printout.  No serial port on this 
machine to rig up a serial console.  The "march of progress".  Sigh...

> I have similar hangs on omnibook xe3 when I do not load ohci driver
> (but they happen during regular operation)....

Nah.  My usb scanner works on this puppy just fine when I bother to modprobe 
scanner.  But I haven't plugged that in in a week.  (And that has nothing to 
do with closing the lid, if USB was a problem you'd think it would happen 
when it was open.)

I only had it fail to suspend (booting back up to the desktop with the 
filesystem horked) exactly once, and that was when I let the battery drop 
down to 0% charged.  (It'll keep going for 15 minutes when it's like that, 
there's a reserve for suspend-to-ram.  That might have been an ACPI problem 
somehow, yet if I'd told it to shutdown it would have (it always does, I've 
done it a lot, yes with the battery at 0%), and presumably ACPI is only being 
used to power the puppy off, the rest should just be a variant of module 
unloading, checkpointing process state, and flushing memory to swap...

> 									Pavel

Rob

  reply	other threads:[~2003-10-24  9:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-20  7:25 Wow. Suspend to disk works for me in test8. :) Rob Landley
2003-10-20 10:45 ` Voicu Liviu
2003-10-20 20:56   ` Rob Landley
2003-10-22 18:43     ` [2.6.0-test8] swsusp errors (was: Wow. Suspend to disk works for me in test8.) Marek Habersack
2003-10-22 21:40       ` Rob Landley
2003-10-23 13:55     ` Wow. Suspend to disk works for me in test8. :) Pavel Machek
2003-10-24  7:09       ` Rob Landley
2003-10-24  7:56         ` Pavel Machek
2003-10-24  9:15           ` Rob Landley [this message]
2003-10-24  8:33         ` Nigel Cunningham
2003-10-25 16:08           ` [Swsusp-devel] " Dr Aldo Medina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200310240415.36991.rob@landley.net \
    --to=rob@landley.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pacman@mscc.huji.ac.il \
    --cc=pavel@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.