Re: TOI and kernel 3.7-3.8 resume problem

Glenn Washburn <[email protected]> Sat, 23 Mar 2013 18:57:51 +0700
Newsgroups gmane.linux.swsusp.devel
Message-ID <20130323185751.6df67d34@crass-Ideapad-Z570>
I'm having this same behavior, Milan.  I'm using 3.5 from the TOI PPA
for Ubuntu on a Lenovo Z-570.  Kernel 3.2 was working fine for me as
well. Have you tried to reproduce this in a virtual machine?  This
could make it easier for Nigel to reproduce the error (if I get the
chance, I'll try this as well).

Glenn

On Tue, 19 Mar 2013 20:52:53 +0100
Milan Oravec <[email protected]> wrote:

> Hi, for me works default kernel hibernation flawless, but TOI doesn't.
> Last stable version for me was 3.2 tree, form 3.3 a get hibernation
> freeze when larger part of memory is used. Tested on 2 sony laptops. I
> was able to hibernate over 1 year my laptop on pre 3.3 TOI kernel.
> TOI is WAY quicker and doesn't swapout on hibernation, but form 3.3
> unstable for me. :(
> 
> I've tried TOI PPA for ubuntu, if it was not my .config causing those
> lockups, but it is the same, freeze in 5-10 hibernate cycles.
> 
> 
> Best regards
> 
> Milan
> 
> --------------------------------------------------------------------
> 
> Tuto spravu nepreveril ziadny antivirus - nebolo treba...
> 
> On 18.03.2013 23:10, Pedro Ribeiro wrote:
> > Hi Federico,
> > 
> > I'm currently using ToI with a kernel 3.7 and it has been rock
> > solid. I have heard of some users having problems with 3.8... but I
> > haven't tried that myself.
> > 
> > Maybe it has something to do with your hardware? Do you use
> > pm-utils? This package has a history of causing hibernation
> > problems, at least to me. It is supposed to fix all kinds of power
> > management problems, but has a lot of corner cases for legacy
> > hardware which end up ruining hibernation and suspend for newer
> > computers.
> > 
> > If you do use pm-utils, try installing the hibernate script (also a
> > sub-project of ToI). It takes some time to set up properly and a
> > bit of nosing with the config files, but it gets the job done
> > beautifully, especially when compared to pm-utils.
> > 
> > A quick way to find out if pm-utils is messing with your system is
> > to try hibernation via the command line. As root, do "echo
> > /sys/power/state". Wait for it to hibernate, and then resume. If it
> > works without a problem, then it's something to do with pm-utils or
> > your configuration.
> > 
> > Regards,
> > Pedro
> > 
> > 
> > On 18 March 2013 14:20, Federico Di Pierro <[email protected]
> > <mailto:[email protected]>> wrote:
> > 
> >     Well, trying to debug it better.
> >     I left an xfce4-terminal open, and after resume (while screen
> >     "seems" off)  /sys/class/backlight/intel_backlight/brightness
> > is not set to 0.
> >     By the way, i managed to workaround the problem with an easy
> > bash script, executed by systemd during resume. It only changes vt
> > (chvt 2) and revert to my tty1 (chvt 1). It now works, but i think
> > it is not a very clean method, so i'm looking to find a better
> > solution. Any tips?
> > 
> > 
> >     2013/3/11 Federico Di Pierro <[email protected]
> >     <mailto:[email protected]>>
> > 
> >         Hi!
> >         Since kernel 3.7 and 3.8, patched with toi, i 've been
> > facing a strange issue while resuming: my netbook screen stays
> > black, until i change tty, and return back to my "x" tty. Then
> >         everything works flawlessly.
> >         My graphic card is an integrated intel GMA 3150. The same
> >         problem is happening to my brother, his netbook has a intel
> > GMA945. With kernel 3.6 (and prior), i never had any issue.
> >         I'm using archlinux.
> > 
> >         Another resume issue, that had always sticken our netbooks,
> > is that resuming with an external sd card plugged in, it results in
> >         a kernel panic. 
> > 
> >         Please, ask me for everything you need,I'll try to be as
> > helpful as I can.
> > 
> >         Thanks for your great work
> >         Bye
> >