public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Software Suspend status in latest GIT?
       [not found]   ` <Pine.LNX.4.64.0808051653440.7367@hp9800.localdomain>
@ 2008-08-06 12:35     ` Rafael J. Wysocki
  2008-08-06 15:55       ` Kenneth Crudup
                         ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2008-08-06 12:35 UTC (permalink / raw)
  To: Kenneth Crudup; +Cc: pavel, pm list

On Wednesday, 6 of August 2008, Kenneth Crudup wrote:
> 
> On Wed, 6 Aug 2008, Rafael J. Wysocki wrote:
> 
> > They all are 64-bit.  Except from this, they are quite different.
> > http://www.sisk.pl/kernel/debug/mainline/2.6.27-rc1-git6-dirty/M3A32-MVP-config
> 
> Thanks for that.
> 
> I'd made the only obvious change I could see differently (I'd specified a
> resume-to swap partition explicitly) but that had no effect.
> 
> Essentially what happens is I begin the suspend (very generically, by
> writing "disk" to /sys/power/state), and it appears to start, but hangs
> up. I have my syslog also redirected to tty12, and if I switch over to
> that, I see:
> 
> ----
> Aug  5 16:35:49 hp9800 kernel: [   71.049504] PM: Marking nosave pages: 000000000009f000 - 0000000000100000
> Aug  5 16:35:49 hp9800 kernel: [   71.049508] PM: Marking nosave pages: 00000000bfed0000 - 0000000100000000
> Aug  5 16:35:49 hp9800 kernel: [   71.054734] PM: Basic memory bitmaps created
> ---
> 
> ... then it just hangs, no apparent disk activity. All of a sudden
> (~20 sec(?) later), a series of errors spit out from syslog, mostly related
> to trying to write to the disk, then I get a large number when it tries
> to remount/access my root (XFS) which fails due to I/O errors.
> Unfortunately these can't be saved and scrolling up the screen won't
> work (there's too much output anyway).
> 
> One guess is that the suspend is stopping my hard drive (/dev/sda, SATA
> on the AHCI driver) and therefore nothing can continue. I wish I had
> more, but I'd have to find another box and see if that "serial console
> on USB" stuff actually works.
> 
> So, based on *that* nearly-as-useless bug report, anything else I could
> try? This config works mostly w/o molestation on 2.6.26 generic (and with
> the TuxOnIce version, as well). I've attached both .config files, just
> in case.

Can you try with the patch from
http://bugzilla.kernel.org/show_bug.cgi?id=11178#c10
please?

Rafael

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Software Suspend status in latest GIT?
  2008-08-06 12:35     ` Software Suspend status in latest GIT? Rafael J. Wysocki
@ 2008-08-06 15:55       ` Kenneth Crudup
  2008-08-06 16:04         ` Rafael J. Wysocki
  2008-08-06 16:20       ` Kenneth Crudup
  2008-08-07  0:21       ` Nigel Cunningham
  2 siblings, 1 reply; 6+ messages in thread
From: Kenneth Crudup @ 2008-08-06 15:55 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: pavel, pm list


On Wed, 6 Aug 2008, Rafael J. Wysocki wrote:

> Can you try with the patch from
> http://bugzilla.kernel.org/show_bug.cgi?id=11178#c10
> please?

Well- I can suspend now! Make sure that patch goes in for sure!

... but the resume fails. It doesn't seem to see the signature in the
swapspace and begins a regular boot. Let me make sure it's not something
on my end.

The kernel command-line (and boot kernel) is exactly the same when
resuming, right? (Hmmm ... do I explicitly need a "resume=" parameter?)

	-Kenny

-- 
Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Los Angeles
O: 3630 S. Sepulveda Blvd. #138, L.A., CA 90034-6809      (888) 454-8181

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Software Suspend status in latest GIT?
  2008-08-06 15:55       ` Kenneth Crudup
@ 2008-08-06 16:04         ` Rafael J. Wysocki
  0 siblings, 0 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2008-08-06 16:04 UTC (permalink / raw)
  To: Kenneth Crudup; +Cc: pavel, pm list

On Wednesday, 6 of August 2008, Kenneth Crudup wrote:
> 
> On Wed, 6 Aug 2008, Rafael J. Wysocki wrote:
> 
> > Can you try with the patch from
> > http://bugzilla.kernel.org/show_bug.cgi?id=11178#c10
> > please?
> 
> Well- I can suspend now! Make sure that patch goes in for sure!
> 
> ... but the resume fails. It doesn't seem to see the signature in the
> swapspace and begins a regular boot. Let me make sure it's not something
> on my end.
> 
> The kernel command-line (and boot kernel) is exactly the same when
> resuming, right? (Hmmm ... do I explicitly need a "resume=" parameter?)

It's better to always put the resume= parameter into the kernel command line
if you use the /sys/power/state interface.

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Software Suspend status in latest GIT?
  2008-08-06 12:35     ` Software Suspend status in latest GIT? Rafael J. Wysocki
  2008-08-06 15:55       ` Kenneth Crudup
@ 2008-08-06 16:20       ` Kenneth Crudup
  2008-08-07  0:21       ` Nigel Cunningham
  2 siblings, 0 replies; 6+ messages in thread
From: Kenneth Crudup @ 2008-08-06 16:20 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: pavel, pm list



Doh! Explicitly setting the "resume" parameter fixed the resume issue
(which, co-incidentally is what I'd pulled out for testing :)

	-Kenny

-- 
Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Los Angeles
O: 3630 S. Sepulveda Blvd. #138, L.A., CA 90034-6809      (888) 454-8181

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Software Suspend status in latest GIT?
  2008-08-06 12:35     ` Software Suspend status in latest GIT? Rafael J. Wysocki
  2008-08-06 15:55       ` Kenneth Crudup
  2008-08-06 16:20       ` Kenneth Crudup
@ 2008-08-07  0:21       ` Nigel Cunningham
  2008-08-07 16:39         ` Rafael J. Wysocki
  2 siblings, 1 reply; 6+ messages in thread
From: Nigel Cunningham @ 2008-08-07  0:21 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: pavel, Kenneth Crudup, pm list

Hi.

On Wed, 2008-08-06 at 14:35 +0200, Rafael J. Wysocki wrote:
> Can you try with the patch from
> http://bugzilla.kernel.org/show_bug.cgi?id=11178#c10
> please?

This fixes things for me, too.

Regards,

Nigel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Software Suspend status in latest GIT?
  2008-08-07  0:21       ` Nigel Cunningham
@ 2008-08-07 16:39         ` Rafael J. Wysocki
  0 siblings, 0 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2008-08-07 16:39 UTC (permalink / raw)
  To: Nigel Cunningham; +Cc: pavel, Kenneth Crudup, pm list

On Thursday, 7 of August 2008, Nigel Cunningham wrote:
> Hi.
> 
> On Wed, 2008-08-06 at 14:35 +0200, Rafael J. Wysocki wrote:
> > Can you try with the patch from
> > http://bugzilla.kernel.org/show_bug.cgi?id=11178#c10
> > please?
> 
> This fixes things for me, too.

The patch is on its way to Linus, AFAICS.

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-08-07 16:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.64.0808051552401.4955@hp9800.localdomain>
     [not found] ` <200808060114.31881.rjw@sisk.pl>
     [not found]   ` <Pine.LNX.4.64.0808051653440.7367@hp9800.localdomain>
2008-08-06 12:35     ` Software Suspend status in latest GIT? Rafael J. Wysocki
2008-08-06 15:55       ` Kenneth Crudup
2008-08-06 16:04         ` Rafael J. Wysocki
2008-08-06 16:20       ` Kenneth Crudup
2008-08-07  0:21       ` Nigel Cunningham
2008-08-07 16:39         ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox