Bug#610589: regression: broken hibernate after upgrade to linux-image-2.6.32-5-686 (2.6.32-30)

2011-05-23 Thread Andrey Tataranovich
23:05 Sun 22 May, Moritz Muehlenhoff wrote:
 On Thu, Jan 20, 2011 at 10:55:51AM +0200, Andrey Tataranovich wrote:
  Package: linux-2.6
  Version: 2.6.32-30
  Severity: normal
  Tags: squeeze upstream
  
  After upgrade linux-image-2.6.32-5-686 to 2.6.32-30, completely broken 
  hibernate
  on my laptop. I using pm-hibernate from pm-utils (on top of uswsusp). I 
  think this bug related
  to:
 
  commit 012f9fdfd2965f573171f848d1aa46531cab7062
  Author: Takashi Iwai
  Date:   Fri Dec 10 00:16:39 2010 +0100
 
  PM / Hibernate: Fix PM_POST_* notification with user-space suspend
 
  commit 1497dd1d29c6a53fcd3c80f7ac8d0e0239e7389e upstream.
 
  The user-space hibernation sends a wrong notification after the image   
  

  restoration because of thinko for the file flag check.  RDONLY
  corresponds to hibernation and WRONLY to restoration, confusingly.
 
After downgrading to 2.6.32-29 everything works properly.
 
 Does this still occur with the current Squeeze kernel or later kernel
 revisions?
 
 Cheers,
 Moritz

  My ASUS EeePC 1000H still immediately reboots after resume from hibernate.
Currently I use linux-image-2.6.32-5-686 (2.6.32-34 from proposed-updates).

Suspend to ram works as expected.

  I do some tests to find a cause of this problem. With KMS disabled (I use
vesa in X11 and console without framebuffer) hibernate works perfectly.

P.S. While using linux-image-2.6.32-5-686 = 2.6.32-29 I found that some
programs failed to run after resume from hibernate - segfaults in dmesg like

May 13 07:16:25 dragoncore kernel: [ 4374.516022] egrep[10517]: segfault at 
9eef73d ip 080510fa sp bfcd5a8c error 6 in egrep[8048000+18000]
May 18 07:22:56 dragoncore kernel: [10412.759167] urxvt[22902]: segfault at 
42a648c8 ip b70e7020 sp bf95d2a0 error 6 in libperl.so.5.10.1[b70a9000+14a000]

Also debsums report about broken files, when I ran it after resume (this fixes 
by
rebooting and reran debsums)

This happens in about 20-25% of resume from hibernate and completely eliminates
if I disable KMS and using VESA.

---

WBR, Andrey.



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110523092530.GA29969@blackice.local



Bug#610589: regression: broken hibernate after upgrade to linux-image-2.6.32-5-686 (2.6.32-30)

2011-05-23 Thread Frédéric Boiteux
Le Mon, 23 May 2011 12:25:30 +0300,
Andrey Tataranovich and...@tataranovich.com a écrit :

   My ASUS EeePC 1000H still immediately reboots after resume from
 hibernate. Currently I use linux-image-2.6.32-5-686 (2.6.32-34 from
 proposed-updates).
 
 Suspend to ram works as expected.
 
  …

Hello,

  Perhaps it's related to a similar bug I've identified on my EeePC
1002HA, see #622259 : you could try to revert given patch...

Fred.



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110523130614.1abf0e9c@prem6s



Bug#610589: regression: broken hibernate after upgrade to linux-image-2.6.32-5-686 (2.6.32-30)

2011-05-23 Thread Andrey Tataranovich
13:06 Mon 23 May, Frédéric Boiteux wrote:
 Le Mon, 23 May 2011 12:25:30 +0300,
 Andrey Tataranovich and...@tataranovich.com a écrit :
 
My ASUS EeePC 1000H still immediately reboots after resume from
  hibernate. Currently I use linux-image-2.6.32-5-686 (2.6.32-34 from
  proposed-updates).
  
  Suspend to ram works as expected.
  
   …
 
 Hello,
 
   Perhaps it's related to a similar bug I've identified on my EeePC
 1002HA, see #622259 : you could try to revert given patch...
 
 Fred.

Hi.

  I try to play with linux-2.6 (2.6.32-34) sources - this kernel I currently
using. I downloaded sources and apply debian patches via ./debian/rules setup

Then I didn't found any peace of code, that you removed by reverting this patch.

I think that this patch was reverted in some previous release.

---

WBR, Andrey.



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110523133007.GA11991@blackice.local



Bug#610589: regression: broken hibernate after upgrade to linux-image-2.6.32-5-686 (2.6.32-30)

2011-05-23 Thread Frédéric Boiteux
Le Mon, 23 May 2011 16:30:07 +0300,
Andrey Tataranovich and...@tataranovich.com a écrit :

 13:06 Mon 23 May, Frédéric Boiteux wrote:
  Le Mon, 23 May 2011 12:25:30 +0300,
  Andrey Tataranovich and...@tataranovich.com a écrit :
  
 My ASUS EeePC 1000H still immediately reboots after resume from
   hibernate. Currently I use linux-image-2.6.32-5-686 (2.6.32-34
   from proposed-updates).
   
   Suspend to ram works as expected.
   
…
  
  Hello,
  
Perhaps it's related to a similar bug I've identified on my EeePC
  1002HA, see #622259 : you could try to revert given patch...
  
  Fred.
 
 Hi.
 
   I try to play with linux-2.6 (2.6.32-34) sources - this kernel I
 currently using. I downloaded sources and apply debian patches
 via ./debian/rules setup
 
 Then I didn't found any peace of code, that you removed by reverting
 this patch.
 
 I think that this patch was reverted in some previous release.

Ah, I didn't tried yet with -34 version, I've always running -31. I'll
give it a try when have some spare time.

  Thanks for the information,
Fred.




--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110523172357.21098049@prem6s



Bug#610589: regression: broken hibernate after upgrade to linux-image-2.6.32-5-686 (2.6.32-30)

2011-05-22 Thread Moritz Muehlenhoff
On Thu, Jan 20, 2011 at 10:55:51AM +0200, Andrey Tataranovich wrote:
 Package: linux-2.6
 Version: 2.6.32-30
 Severity: normal
 Tags: squeeze upstream
 
 After upgrade linux-image-2.6.32-5-686 to 2.6.32-30, completely broken 
 hibernate 
   
 on my laptop. I using pm-hibernate from pm-utils (on top of uswsusp). I think 
 this bug related  
  
 to:   
   
  
   
   
  
 commit 012f9fdfd2965f573171f848d1aa46531cab7062   
   
  
 Author: Takashi Iwai  
   
  
 Date:   Fri Dec 10 00:16:39 2010 +0100
   
  
   
   
  
 PM / Hibernate: Fix PM_POST_* notification with user-space suspend
   
  
   
   
  
 commit 1497dd1d29c6a53fcd3c80f7ac8d0e0239e7389e upstream. 
   
  
   
   
  
 The user-space hibernation sends a wrong notification after the image 
   
  
 restoration because of thinko for the file flag check.  RDONLY
   
  
 corresponds to hibernation and WRONLY to restoration, confusingly.
   
  
   
   
  
   After downgrading to 2.6.32-29 everything works properly.   
   
  

Does this still occur with the current Squeeze kernel or later kernel
revisions?

Cheers,
Moritz



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110522210510.gb14...@inutil.org



Bug#610589: regression: broken hibernate after upgrade to linux-image-2.6.32-5-686 (2.6.32-30)

2011-02-10 Thread Sebastian Andrzej Siewior
* Sebastian Andrzej Siewior | 2011-02-02 21:54:44 [+0100]:

* Andrey Tataranovich | 2011-01-20 10:55:51 [+0200]:

After upgrade linux-image-2.6.32-5-686 to 2.6.32-30, completely broken 
hibernate
on my laptop. I using pm-hibernate from pm-utils (on top of uswsusp). I think 
this bug related

Now, I rebuilt v2.6.32-30 and the only change made I was:
 * drop drm/i915: Free hardware status page on unload when physically mapped.
 * drop drm/i915/overlay: Ensure that the reg_bo is in the GTT prior  to 
 writing.

The kernel I made is available at [0]. Do you mind testing it or
rebuilding it yourself so I/we know if this bug is a the same as
#611750?

[0] http://download.breakpoint.cc/deb_bug_611750/

Sebastian



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110210170702.ga26...@chamillionaire.breakpoint.cc



Bug#610589: regression: broken hibernate after upgrade to linux-image-2.6.32-5-686 (2.6.32-30)

2011-02-02 Thread Sebastian Andrzej Siewior
* Andrey Tataranovich | 2011-01-20 10:55:51 [+0200]:

Package: linux-2.6
Version: 2.6.32-30
Severity: normal
Tags: squeeze upstream

After upgrade linux-image-2.6.32-5-686 to 2.6.32-30, completely broken 
hibernate
on my laptop. I using pm-hibernate from pm-utils (on top of uswsusp). I think 
this bug related

Not sure if this is the same Problem or something different. lspci says
here:
|00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML 
Express Graphics Controller (rev 03)

During resume I see Tux sleeping in a small resolution. Once the
progress bar is at 100% the resolution changes to whatever I use and I
still see Tux but this time it does not fill the screen anymore. A few
seconds after that the screen gets black due to xscreensaver (Yes I use
X). This was the case until 2.6.32-29. Since 2.6.32-30 tux does not
disapear and I can't enter X. I still see tux and my X mouse cursor
moves within this image. Changing the terminal does not really work: I
get to the framebuffer (CTRL+ALT+F1) but the tux image is still there.
Switching back to X does not change a thing (it is still black).
Executing
 xrandr -d :0.0 -q

makes the TuX image disappear however I still can't access my X session.
The only thing that works so far is killing X and restart it.

This is a regression since 2.6.32-29 (installing it fixes the problem).

Now, I rebuilt v2.6.32-30 and the only change made I was:
 * drop drm/i915: Free hardware status page on unload when physically mapped.
 * drop drm/i915/overlay: Ensure that the reg_bo is in the GTT prior  to 
writing.

Both of them were by maximilian so that is why you end up in To: :) Any
idea how we fix this?

Sebastian



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110202205444.ga18...@chamillionaire.breakpoint.cc



Bug#610589: regression: broken hibernate after upgrade to linux-image-2.6.32-5-686 (2.6.32-30)

2011-01-20 Thread Andrey Tataranovich
Package: linux-2.6
Version: 2.6.32-30
Severity: normal
Tags: squeeze upstream

After upgrade linux-image-2.6.32-5-686 to 2.6.32-30, completely broken 
hibernate   

on my laptop. I using pm-hibernate from pm-utils (on top of uswsusp). I think 
this bug related
   
to: 

 


 
commit 012f9fdfd2965f573171f848d1aa46531cab7062 

 
Author: Takashi Iwai

 
Date:   Fri Dec 10 00:16:39 2010 +0100  

 


 
PM / Hibernate: Fix PM_POST_* notification with user-space suspend  

 


 
commit 1497dd1d29c6a53fcd3c80f7ac8d0e0239e7389e upstream.   

 


 
The user-space hibernation sends a wrong notification after the image   

 
restoration because of thinko for the file flag check.  RDONLY  

 
corresponds to hibernation and WRONLY to restoration, confusingly.  

 


 
  After downgrading to 2.6.32-29 everything works properly. 

 


 
Additional info:

 


 
pm-utils: 1.3.0-3   

 
uswsusp: 0.8-1.2


-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.32-5-686 depends on:
ii  debconf [debconf-2.0] 1.5.36 Debian configuration management