public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* swsusp problems with 2.6.17-1.2139_FC5
@ 2006-06-29 17:15 Johan Vromans
  2006-06-29 19:25 ` Rafael J. Wysocki
  2006-06-30 18:01 ` Pavel Machek
  0 siblings, 2 replies; 5+ messages in thread
From: Johan Vromans @ 2006-06-29 17:15 UTC (permalink / raw)
  To: Linux Kernel Mailing List, linux-acpi

swsusp has problems resumeing after upgrading my Acer Travelmate
4001WLMi from 2.6.16 to 2.6.17. Note that I'm running a Fedora 5
kernel, with the ATI proprietary video driver.
On this 512Mb system, I have typically 60% of memory in use when I go
into hibernate. This is with X, wm, Emacs, some xterms, wireless.

With 2.6.16, when I initiate a hibernate with

  echo shutdown > /sys/power/disk; echo disk > /sys/power/state

I get switched back to vt1(?), the "stopping tasks" messages, and so
on, until the system shuts down in ordinary fashion. 

With 2.6.17, when I initiate the hibernate, I get no apparent reaction
(although the flashing disk led reveals what's going on) and the
system shuts down.

Upon reboot, I get

  Trying to resume from /dev/hda4
  Resuming from /dev/hda4.
  Attempting manual resume

and then the console does a half-hearted attemtp to restore X and
freezes. The system is alive, I can login via the network. Restarting
the X server (from another tty, the console remains stuck) seems to
'cure' the problem. However, when exiting X the console stays
connected to vt7 and needs to be put back to vt1 manually.

It seems to be a problem with the video switching out/in X. 
When I change to a vt out of X, then suspend/resume seems to give no
problem and after resume I can switch back to vt7 into X.

Any suggestions to cure this problem? Is it a know regression?

Thanks,
        Johan


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

* Re: swsusp problems with 2.6.17-1.2139_FC5
  2006-06-29 17:15 swsusp problems with 2.6.17-1.2139_FC5 Johan Vromans
@ 2006-06-29 19:25 ` Rafael J. Wysocki
  2006-06-30 18:01 ` Pavel Machek
  1 sibling, 0 replies; 5+ messages in thread
From: Rafael J. Wysocki @ 2006-06-29 19:25 UTC (permalink / raw)
  To: Johan Vromans; +Cc: Linux Kernel Mailing List, linux-acpi, Pavel Machek

Hi,

On Thursday 29 June 2006 19:15, Johan Vromans wrote:
> swsusp has problems resumeing after upgrading my Acer Travelmate
> 4001WLMi from 2.6.16 to 2.6.17. Note that I'm running a Fedora 5
> kernel, with the ATI proprietary video driver.
> On this 512Mb system, I have typically 60% of memory in use when I go
> into hibernate. This is with X, wm, Emacs, some xterms, wireless.
> 
> With 2.6.16, when I initiate a hibernate with
> 
>   echo shutdown > /sys/power/disk; echo disk > /sys/power/state
> 
> I get switched back to vt1(?), the "stopping tasks" messages, and so
> on, until the system shuts down in ordinary fashion. 
> 
> With 2.6.17, when I initiate the hibernate, I get no apparent reaction
> (although the flashing disk led reveals what's going on) and the
> system shuts down.
> 
> Upon reboot, I get
> 
>   Trying to resume from /dev/hda4
>   Resuming from /dev/hda4.
>   Attempting manual resume
> 
> and then the console does a half-hearted attemtp to restore X and
> freezes. The system is alive, I can login via the network. Restarting
> the X server (from another tty, the console remains stuck) seems to
> 'cure' the problem. However, when exiting X the console stays
> connected to vt7 and needs to be put back to vt1 manually.
> 
> It seems to be a problem with the video switching out/in X. 
> When I change to a vt out of X, then suspend/resume seems to give no
> problem and after resume I can switch back to vt7 into X.
> 
> Any suggestions to cure this problem? Is it a know regression?

It is not known, thanks for the report.

Pavel, is the recent Linus' patch likely to cause this?

Rafael

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

* Re: swsusp problems with 2.6.17-1.2139_FC5
  2006-06-29 17:15 swsusp problems with 2.6.17-1.2139_FC5 Johan Vromans
  2006-06-29 19:25 ` Rafael J. Wysocki
@ 2006-06-30 18:01 ` Pavel Machek
  2006-06-30 20:22   ` Johan Vromans
  1 sibling, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2006-06-30 18:01 UTC (permalink / raw)
  To: Johan Vromans; +Cc: Linux Kernel Mailing List, linux-acpi

Hi!

> swsusp has problems resumeing after upgrading my Acer Travelmate
> 4001WLMi from 2.6.16 to 2.6.17. Note that I'm running a Fedora 5
> kernel, with the ATI proprietary video driver.

Stop right here. Can you reproduce the problem without ATI driver?
Reproducing it on vanilla kernel (not -FC5) would be nice, too.

								Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: swsusp problems with 2.6.17-1.2139_FC5
  2006-06-30 18:01 ` Pavel Machek
@ 2006-06-30 20:22   ` Johan Vromans
  2006-06-30 21:16     ` Pavel Machek
  0 siblings, 1 reply; 5+ messages in thread
From: Johan Vromans @ 2006-06-30 20:22 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Linux Kernel Mailing List, linux-acpi

Pavel Machek <pavel@suse.cz> writes:

> Stop right here. Can you reproduce the problem without ATI driver?
> Reproducing it on vanilla kernel (not -FC5) would be nice, too.

A lot of suspend/reboot/resumes later...

The problem does not seem to be related to the ATI driver, but whether
or not the pm-suspend program is used. With the Xorg driver I get the
same problem when I suspend with

  echo shutdown > /sys/power/disk; echo disk > /sys/power/state

When I use pm-hibernate suspend/resume seems works okay (with Xorg and
ATI driver).

With 2.6.16, I did not have the need to use pm-hibernate. So something
changed here.

As mentioned in my OP using pm-hibernate does not give any feedback
what is going on (except for the disk led). I find this annoying.
Another annoyance is that pm-hibernate locks this kernel for the next
reboot, so it is not possible to boot something else and resume
later.

Apart from that, suspend/resume is a life saver!

(Now it would be nice to get suspend to memory working. It seems to
suspend okay, but I haven't found out how to resume...)

-- Johan

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

* Re: swsusp problems with 2.6.17-1.2139_FC5
  2006-06-30 20:22   ` Johan Vromans
@ 2006-06-30 21:16     ` Pavel Machek
  0 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2006-06-30 21:16 UTC (permalink / raw)
  To: Johan Vromans; +Cc: Linux Kernel Mailing List, linux-acpi

Hi!

> > Stop right here. Can you reproduce the problem without ATI driver?
> > Reproducing it on vanilla kernel (not -FC5) would be nice, too.
> 
> A lot of suspend/reboot/resumes later...
> 
> The problem does not seem to be related to the ATI driver, but whether
> or not the pm-suspend program is used. With the Xorg driver I get the
> same problem when I suspend with

>   echo shutdown > /sys/power/disk; echo disk > /sys/power/state
> 
> When I use pm-hibernate suspend/resume seems works okay (with Xorg and
> ATI driver).

What is pm-suspend and pm-hibernate, anyway?

> With 2.6.16, I did not have the need to use pm-hibernate. So something
> changed here.

Okay, find out 

> As mentioned in my OP using pm-hibernate does not give any feedback
> what is going on (except for the disk led). I find this annoying.
> Another annoyance is that pm-hibernate locks this kernel for the next
> reboot, so it is not possible to boot something else and resume
> later.

grub lockup is a distro problem. Turn up console loglevel to see  the
messages.

> Apart from that, suspend/resume is a life saver!
> 
> (Now it would be nice to get suspend to memory working. It seems to
> suspend okay, but I haven't found out how to resume...)

Resume is always harder :-). Is resume completely broken, or does it
"only" break video?
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

end of thread, other threads:[~2006-06-30 21:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-29 17:15 swsusp problems with 2.6.17-1.2139_FC5 Johan Vromans
2006-06-29 19:25 ` Rafael J. Wysocki
2006-06-30 18:01 ` Pavel Machek
2006-06-30 20:22   ` Johan Vromans
2006-06-30 21:16     ` Pavel Machek

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