public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* Macbook 5,1 Ubuntu Lucid resume issue
@ 2010-02-04 18:04 Chase Douglas
  2010-02-04 22:05 ` Rafael J. Wysocki
  0 siblings, 1 reply; 5+ messages in thread
From: Chase Douglas @ 2010-02-04 18:04 UTC (permalink / raw)
  To: linux-pm

Hello all,

I'm testing resume from s3 suspend on Ubuntu Lucid on my macbook
(version 5,1; nvidia MCP 79 internals). On Ubuntu Karmic, resume
(usually) works without a hitch. However, on Lucid when I resume the
disk resumes and the system is partly running, but the display
(backlight and LCD I think) and ethernet networking do not come back up.
This occurs when resuming back to X or to a virtual terminal without X
started. It occurs whether the nvidia or nv kernel modules are loaded or
unloaded.

What is most interesting is the dependent variable in all of this is not
the kernel but the user-space. If I run Karmic with the Lucid kernel it
resumes correctly. If I run Lucid with the Karmic kernel it does not
resume correctly. I have run a script which essentially does:

1. suspend (using pm-suspend)
2. wait 60 seconds (during which time I resume the machine)
3. save dmesg output to the hard disk

I have pored over the dmesg logs from good and bad resumes, but I
haven't found anything to suggest what the real issue may be. Right now
I am at a loss as to what I should try next. Does anyone have any
thoughts as to what I can try to debug this?

Thanks,
Chase

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

* Re: Macbook 5,1 Ubuntu Lucid resume issue
  2010-02-04 18:04 Macbook 5,1 Ubuntu Lucid resume issue Chase Douglas
@ 2010-02-04 22:05 ` Rafael J. Wysocki
  2010-02-04 23:00   ` Chase Douglas
  0 siblings, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2010-02-04 22:05 UTC (permalink / raw)
  To: Chase Douglas; +Cc: linux-pm

On Thursday 04 February 2010, Chase Douglas wrote:
> Hello all,
> 
> I'm testing resume from s3 suspend on Ubuntu Lucid on my macbook
> (version 5,1; nvidia MCP 79 internals). On Ubuntu Karmic, resume
> (usually) works without a hitch. However, on Lucid when I resume the
> disk resumes and the system is partly running, but the display
> (backlight and LCD I think) and ethernet networking do not come back up.
> This occurs when resuming back to X or to a virtual terminal without X
> started. It occurs whether the nvidia or nv kernel modules are loaded or
> unloaded.
> 
> What is most interesting is the dependent variable in all of this is not
> the kernel but the user-space. If I run Karmic with the Lucid kernel it
> resumes correctly. If I run Lucid with the Karmic kernel it does not
> resume correctly. I have run a script which essentially does:
> 
> 1. suspend (using pm-suspend)
> 2. wait 60 seconds (during which time I resume the machine)
> 3. save dmesg output to the hard disk
> 
> I have pored over the dmesg logs from good and bad resumes, but I
> haven't found anything to suggest what the real issue may be. Right now
> I am at a loss as to what I should try next. Does anyone have any
> thoughts as to what I can try to debug this?

It sounds like the distro is using a specific user-space quirk to handle your
machine.

Please try if the machine can be suspended by "echo mem > /sys/power/state"
and resumed correctly.

Rafael

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

* Re: Macbook 5,1 Ubuntu Lucid resume issue
  2010-02-04 22:05 ` Rafael J. Wysocki
@ 2010-02-04 23:00   ` Chase Douglas
  2010-02-05 22:10     ` Rafael J. Wysocki
  0 siblings, 1 reply; 5+ messages in thread
From: Chase Douglas @ 2010-02-04 23:00 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-pm

On Thu, 2010-02-04 at 23:05 +0100, Rafael J. Wysocki wrote:
> On Thursday 04 February 2010, Chase Douglas wrote:
> > Hello all,
> > 
> > I'm testing resume from s3 suspend on Ubuntu Lucid on my macbook
> > (version 5,1; nvidia MCP 79 internals). On Ubuntu Karmic, resume
> > (usually) works without a hitch. However, on Lucid when I resume the
> > disk resumes and the system is partly running, but the display
> > (backlight and LCD I think) and ethernet networking do not come back up.
> > This occurs when resuming back to X or to a virtual terminal without X
> > started. It occurs whether the nvidia or nv kernel modules are loaded or
> > unloaded.
> > 
> > What is most interesting is the dependent variable in all of this is not
> > the kernel but the user-space. If I run Karmic with the Lucid kernel it
> > resumes correctly. If I run Lucid with the Karmic kernel it does not
> > resume correctly. I have run a script which essentially does:
> > 
> > 1. suspend (using pm-suspend)
> > 2. wait 60 seconds (during which time I resume the machine)
> > 3. save dmesg output to the hard disk
> > 
> > I have pored over the dmesg logs from good and bad resumes, but I
> > haven't found anything to suggest what the real issue may be. Right now
> > I am at a loss as to what I should try next. Does anyone have any
> > thoughts as to what I can try to debug this?
> 
> It sounds like the distro is using a specific user-space quirk to handle your
> machine.
> 
> Please try if the machine can be suspended by "echo mem > /sys/power/state"
> and resumed correctly.

I have, but the results are the same.

Thanks,
Chase

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

* Re: Macbook 5,1 Ubuntu Lucid resume issue
  2010-02-04 23:00   ` Chase Douglas
@ 2010-02-05 22:10     ` Rafael J. Wysocki
  2010-02-05 22:13       ` Chase Douglas
  0 siblings, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2010-02-05 22:10 UTC (permalink / raw)
  To: Chase Douglas; +Cc: linux-pm

On Friday 05 February 2010, Chase Douglas wrote:
> On Thu, 2010-02-04 at 23:05 +0100, Rafael J. Wysocki wrote:
> > On Thursday 04 February 2010, Chase Douglas wrote:
> > > Hello all,
> > > 
> > > I'm testing resume from s3 suspend on Ubuntu Lucid on my macbook
> > > (version 5,1; nvidia MCP 79 internals). On Ubuntu Karmic, resume
> > > (usually) works without a hitch. However, on Lucid when I resume the
> > > disk resumes and the system is partly running, but the display
> > > (backlight and LCD I think) and ethernet networking do not come back up.
> > > This occurs when resuming back to X or to a virtual terminal without X
> > > started. It occurs whether the nvidia or nv kernel modules are loaded or
> > > unloaded.
> > > 
> > > What is most interesting is the dependent variable in all of this is not
> > > the kernel but the user-space. If I run Karmic with the Lucid kernel it
> > > resumes correctly. If I run Lucid with the Karmic kernel it does not
> > > resume correctly. I have run a script which essentially does:
> > > 
> > > 1. suspend (using pm-suspend)
> > > 2. wait 60 seconds (during which time I resume the machine)
> > > 3. save dmesg output to the hard disk
> > > 
> > > I have pored over the dmesg logs from good and bad resumes, but I
> > > haven't found anything to suggest what the real issue may be. Right now
> > > I am at a loss as to what I should try next. Does anyone have any
> > > thoughts as to what I can try to debug this?
> > 
> > It sounds like the distro is using a specific user-space quirk to handle your
> > machine.
> > 
> > Please try if the machine can be suspended by "echo mem > /sys/power/state"
> > and resumed correctly.
> 
> I have, but the results are the same.

Do you use s2disk for hibernation?

Rafael

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

* Re: Macbook 5,1 Ubuntu Lucid resume issue
  2010-02-05 22:10     ` Rafael J. Wysocki
@ 2010-02-05 22:13       ` Chase Douglas
  0 siblings, 0 replies; 5+ messages in thread
From: Chase Douglas @ 2010-02-05 22:13 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-pm

On Fri, 2010-02-05 at 23:10 +0100, Rafael J. Wysocki wrote:
> On Friday 05 February 2010, Chase Douglas wrote:
> > On Thu, 2010-02-04 at 23:05 +0100, Rafael J. Wysocki wrote:
> > > On Thursday 04 February 2010, Chase Douglas wrote:
> > > > Hello all,
> > > > 
> > > > I'm testing resume from s3 suspend on Ubuntu Lucid on my macbook
> > > > (version 5,1; nvidia MCP 79 internals). On Ubuntu Karmic, resume
> > > > (usually) works without a hitch. However, on Lucid when I resume the
> > > > disk resumes and the system is partly running, but the display
> > > > (backlight and LCD I think) and ethernet networking do not come back up.
> > > > This occurs when resuming back to X or to a virtual terminal without X
> > > > started. It occurs whether the nvidia or nv kernel modules are loaded or
> > > > unloaded.
> > > > 
> > > > What is most interesting is the dependent variable in all of this is not
> > > > the kernel but the user-space. If I run Karmic with the Lucid kernel it
> > > > resumes correctly. If I run Lucid with the Karmic kernel it does not
> > > > resume correctly. I have run a script which essentially does:
> > > > 
> > > > 1. suspend (using pm-suspend)
> > > > 2. wait 60 seconds (during which time I resume the machine)
> > > > 3. save dmesg output to the hard disk
> > > > 
> > > > I have pored over the dmesg logs from good and bad resumes, but I
> > > > haven't found anything to suggest what the real issue may be. Right now
> > > > I am at a loss as to what I should try next. Does anyone have any
> > > > thoughts as to what I can try to debug this?
> > > 
> > > It sounds like the distro is using a specific user-space quirk to handle your
> > > machine.
> > > 
> > > Please try if the machine can be suspended by "echo mem > /sys/power/state"
> > > and resumed correctly.
> > 
> > I have, but the results are the same.
> 
> Do you use s2disk for hibernation?

I haven't tried hibernation actually. My issue is strictly suspend to
ram related. If it would help debugging generally I can try to hibernate
and see how things go.

Thanks,
Chase

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

end of thread, other threads:[~2010-02-05 22:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-04 18:04 Macbook 5,1 Ubuntu Lucid resume issue Chase Douglas
2010-02-04 22:05 ` Rafael J. Wysocki
2010-02-04 23:00   ` Chase Douglas
2010-02-05 22:10     ` Rafael J. Wysocki
2010-02-05 22:13       ` Chase Douglas

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