public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.12-rc1-mm4 and suspend2ram (and synaptics)
@ 2005-03-31 22:08 Norbert Preining
       [not found] ` <20050331220822.GA22418-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Norbert Preining @ 2005-03-31 22:08 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, acpi-devel

Dear Andrew, dear developers!

Since 2.6.12-rc1-mmX I cannot get suspend2ram working again as it was
with 2.6.11-mm4 with the same .config.

I suspends fine, but never resumes. No CapsLock, no sysrq, no network is
working. Nothing in the log files. Is there anything which may cause
these troubles when compiled into the kernel and not loaded as module?
(as it was with my usb stuff until 2.6.11-mm2, after this I had to stop
hotplug, before I could go with usb running).


On a side node: Once suspend2ram couldn't stop all tasks, in fact
cpufreq, although it was stopped with /etc/init.d/cpufreqd stop, was
mentioned in syslog as not being able to be stopped, and after this
halfway through suspend, my touchpad (synaptics) and kbd wasn't working
anymore.  After resume the touchpad is somehow behaving strange.
THe touchpad is not working at all, the keyboard seems to react to some
events (Sysrq is working, but normal typing not, nor power button/acpi
stuff).

In the syslog I find:
vmunix: psmouse.c: TouchPad at isa0060/serio1/input0 lost synchronization, throwing 4 bytes away.
vmunix: psmouse.c: TouchPad at isa0060/serio1/input0 lot sync at byte 1

I would be happy to test some stuff to get S2R back to work!

Thanks a lot and all the best

Norbert

-------------------------------------------------------------------------------
Norbert Preining <preining AT logic DOT at>                 Università di Siena
sip:preining@at43.tuwien.ac.at                             +43 (0) 59966-690018
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
HARBLEDOWN (vb.)
To manoeuvre a double mattress down a winding staircase.
			--- Douglas Adams, The Meaning of Liff

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

* Re: 2.6.12-rc1-mm4 and suspend2ram (and synaptics)
       [not found] ` <20050331220822.GA22418-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
@ 2005-04-01 11:33   ` Pavel Machek
       [not found]     ` <20050401113335.GA13160-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
  2005-04-03 22:45     ` [ACPI] " Norbert Preining
  0 siblings, 2 replies; 11+ messages in thread
From: Pavel Machek @ 2005-04-01 11:33 UTC (permalink / raw)
  To: Norbert Preining
  Cc: Andrew Morton, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi!

> Since 2.6.12-rc1-mmX I cannot get suspend2ram working again as it was
> with 2.6.11-mm4 with the same .config.
> 
> I suspends fine, but never resumes. No CapsLock, no sysrq, no network is
> working. Nothing in the log files. Is there anything which may cause
> these troubles when compiled into the kernel and not loaded as module?
> (as it was with my usb stuff until 2.6.11-mm2, after this I had to stop
> hotplug, before I could go with usb running).

Try suspend2disk, first, and try suspend2ram with minimal kernel
config.
							Pavel
-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30

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

* Re: Re: 2.6.12-rc1-mm4 and suspend2ram (and synaptics)
       [not found]     ` <20050401113335.GA13160-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2005-04-01 17:38       ` Stefan Schweizer
       [not found]         ` <e79639220504010938582bade6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Schweizer @ 2005-04-01 17:38 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Norbert Preining, Andrew Morton,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Same issue here.

Suspend-to-ram works perfectly fine with kernel 2.6.12-rc1-mm1, in
mm2,3 and mm4 it is broken.

It suspends properly but does not resume. Just a blackscreen and no
reaction on keypress/usb plug-in/network/power button.

regards,
Stefan


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Re: 2.6.12-rc1-mm4 and suspend2ram (and synaptics)
       [not found]         ` <e79639220504010938582bade6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2005-04-02  8:59           ` Pavel Machek
       [not found]             ` <20050402085935.GC1330-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
  2005-05-26  4:34           ` Andrew Morton
  1 sibling, 1 reply; 11+ messages in thread
From: Pavel Machek @ 2005-04-02  8:59 UTC (permalink / raw)
  To: Stefan Schweizer
  Cc: Pavel Machek, Norbert Preining, Andrew Morton,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi!

> Same issue here.
> 
> Suspend-to-ram works perfectly fine with kernel 2.6.12-rc1-mm1, in
> mm2,3 and mm4 it is broken.
> 
> It suspends properly but does not resume. Just a blackscreen and no
> reaction on keypress/usb plug-in/network/power button.
> 

Same way to debug it, then.... try minimal drivers.
-- 
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: [ACPI] Re: 2.6.12-rc1-mm4 and suspend2ram (and synaptics)
  2005-04-01 11:33   ` Pavel Machek
       [not found]     ` <20050401113335.GA13160-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2005-04-03 22:45     ` Norbert Preining
  2005-04-03 22:59       ` Pavel Machek
  1 sibling, 1 reply; 11+ messages in thread
From: Norbert Preining @ 2005-04-03 22:45 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Andrew Morton, linux-kernel, acpi-devel

On Fre, 01 Apr 2005, Pavel Machek wrote:
> > I suspends fine, but never resumes. No CapsLock, no sysrq, no network is
> > working. Nothing in the log files. Is there anything which may cause
> > these troubles when compiled into the kernel and not loaded as module?
> > (as it was with my usb stuff until 2.6.11-mm2, after this I had to stop
> > hotplug, before I could go with usb running).
> 
> Try suspend2disk, first, and try suspend2ram with minimal kernel
> config.

suspend2disk runs without any problem, even with X running.

it is only suspend2ram which stopped working after 2.6.11-mm4 (at least
in 2.6.12-rc1-mm3,4).

Concerning tests with minimal kernel config: I guess since it *was*
working there should not be a change necessary -- but well, from
2.6.11-mm2 to 2.6.11-mm4 I had to stop hotplug/usb to get ot working, so
maybe now I have to stop all the other things. Grrrr. This is not what I
want!

Isn't there a different way?

Best wishes

Norbert

-------------------------------------------------------------------------------
Norbert Preining <preining AT logic DOT at>                 Università di Siena
sip:preining@at43.tuwien.ac.at                             +43 (0) 59966-690018
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
DORRIDGE (n.)
Technical term for one of the lame excuses written in very small print
on the side of packets of food or washing powder to explain why
there's hardly anything inside. Examples include 'Contents may have
settled in transit' and 'To keep each biscuit fresh they have been
individually wrapped in silver paper and cellophane and separated with
corrugated lining, a cardboard flap, and heavy industrial tyres'.
			--- Douglas Adams, The Meaning of Liff

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

* Re: [ACPI] Re: 2.6.12-rc1-mm4 and suspend2ram (and synaptics)
  2005-04-03 22:45     ` [ACPI] " Norbert Preining
@ 2005-04-03 22:59       ` Pavel Machek
       [not found]         ` <20050403225929.GE13466-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Pavel Machek @ 2005-04-03 22:59 UTC (permalink / raw)
  To: Norbert Preining; +Cc: Andrew Morton, linux-kernel, acpi-devel

Hi!

> it is only suspend2ram which stopped working after 2.6.11-mm4 (at least
> in 2.6.12-rc1-mm3,4).
> 
> Concerning tests with minimal kernel config: I guess since it *was*
> working there should not be a change necessary -- but well, from
> 2.6.11-mm2 to 2.6.11-mm4 I had to stop hotplug/usb to get ot working, so
> maybe now I have to stop all the other things. Grrrr. This is not what I
> want!
> 
> Isn't there a different way?

I'd like to fix the problem, but first I need to know where the
problem is.  If it works with minimal config, I know that it is one of
drivers you deselected.
								Pavel
-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!

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

* Re: Re: 2.6.12-rc1-mm4 and suspend2ram (and synaptics)
       [not found]         ` <20050403225929.GE13466-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2005-04-04  8:16           ` Norbert Preining
  0 siblings, 0 replies; 11+ messages in thread
From: Norbert Preining @ 2005-04-04  8:16 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Andrew Morton, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi Pavel!

On Mon, 04 Apr 2005, Pavel Machek wrote:
> I'd like to fix the problem, but first I need to know where the
> problem is.  If it works with minimal config, I know that it is one of
> drivers you deselected.

It's b44. It *was* working with b44 insmod-ed and up and running, but
now as soon as b44-eth0 is ifup-ed while suspending, the resume freezes.
If I do a ifdown eth0 before suspending, it works.

Best wishes

Norbert

-------------------------------------------------------------------------------
Norbert Preining <preining AT logic DOT at>                 Università di Siena
sip:preining-5G14tY4QmKiDqU6vP1vexV6hYfS7NtTn@public.gmane.org                             +43 (0) 59966-690018
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
PUDSEY (n.)
The curious-shaped flat wads of dough left on a kitchen table after
someone has been cutting scones out of it.
			--- Douglas Adams, The Meaning of Liff


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Re: 2.6.12-rc1-mm4 and suspend2ram (and synaptics)
       [not found]             ` <20050402085935.GC1330-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
@ 2005-04-05 15:01               ` Romano Giannetti
       [not found]                 ` <20050405150105.GA26149-NfIQswJzSEaq9fEpoSJUslHdEuJhDOxL@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Romano Giannetti @ 2005-04-05 15:01 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Stefan Schweizer, Norbert Preining, Andrew Morton,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> 
> Same way to debug it, then.... try minimal drivers.

Yes, the lifer of a kernel debugger is hard... 

Pavel, one question (maybe stupid, I am not at all an expert). Wouldn't be
possible to add a printk when invoking and returning from suspend/resume
methods of drivers, telling if they are specific or generic on? Maybe with
the help of the serial console could be an aid to detect wich drivers are
failing in that case. It could have helped the ALPS case, methinks.
Obviously, under a "kernel hacking" config. I'd love to be able to make it
myself, but I do not know where to start... 

        Romano 



-- 
Romano Giannetti             -  Univ. Pontificia Comillas (Madrid, Spain)
Electronic Engineer - phone +34 915 422 800 ext 2416  fax +34 915 596 569


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Re: 2.6.12-rc1-mm4 and suspend2ram (and synaptics)
       [not found]                 ` <20050405150105.GA26149-NfIQswJzSEaq9fEpoSJUslHdEuJhDOxL@public.gmane.org>
@ 2005-04-05 15:31                   ` Rafael J. Wysocki
       [not found]                     ` <200504051731.52845.rjw-KKrjLPT3xs0@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Rafael J. Wysocki @ 2005-04-05 15:31 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	romano-1BxYRfzsdQW8A8a7gxElqg
  Cc: Pavel Machek, Stefan Schweizer, Norbert Preining, Andrew Morton,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

Hi,

On Tuesday, 5 of April 2005 17:01, Romano Giannetti wrote:
> > 
> > Same way to debug it, then.... try minimal drivers.
> 
> Yes, the lifer of a kernel debugger is hard... 
> 
> Pavel, one question (maybe stupid, I am not at all an expert). Wouldn't be
> possible to add a printk when invoking and returning from suspend/resume
> methods of drivers, telling if they are specific or generic on? Maybe with
> the help of the serial console could be an aid to detect wich drivers are
> failing in that case.

The serial sonsole itself is disabled during suspend/resume, so you have to
hack the serial driver's suspend/resume routines to get any output on it
at that time. :-)

Anyway, if you want to put some debug printks somewhere, IMO a good place
to start is in resume_device() in drivers/base/power/resume.c or
in suspend_device() in drivers/base/power/suspend.c (actually, there already
is one, you only need to enable it).

Greets,
Rafael


-- 
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Re: 2.6.12-rc1-mm4 and suspend2ram (and synaptics)
       [not found]                     ` <200504051731.52845.rjw-KKrjLPT3xs0@public.gmane.org>
@ 2005-04-05 17:58                       ` Matthew Garrett
  0 siblings, 0 replies; 11+ messages in thread
From: Matthew Garrett @ 2005-04-05 17:58 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tue, 2005-04-05 at 17:31 +0200, Rafael J. Wysocki wrote:

> The serial sonsole itself is disabled during suspend/resume, so you have to
> hack the serial driver's suspend/resume routines to get any output on it
> at that time. :-)

"Easiest" thing to do is add a small amount of assembler to the top of
wakeup.S to program the UART to 96008n1 or something similar.

-- 
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Re: 2.6.12-rc1-mm4 and suspend2ram (and synaptics)
       [not found]         ` <e79639220504010938582bade6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2005-04-02  8:59           ` Pavel Machek
@ 2005-05-26  4:34           ` Andrew Morton
  1 sibling, 0 replies; 11+ messages in thread
From: Andrew Morton @ 2005-05-26  4:34 UTC (permalink / raw)
  To: Stefan Schweizer
  Cc: pavel-+ZI9xUNit7I, preining-DX+603jRYB8,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Stefan Schweizer <sschweizer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Same issue here.
> 
> Suspend-to-ram works perfectly fine with kernel 2.6.12-rc1-mm1, in
> mm2,3 and mm4 it is broken.
> 
> It suspends properly but does not resume. Just a blackscreen and no
> reaction on keypress/usb plug-in/network/power button.

Are these problems still present in 2.6.12-rc5 or 2.6.12-rc5-mm1?

Thanks.


-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click

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

end of thread, other threads:[~2005-05-26  4:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-31 22:08 2.6.12-rc1-mm4 and suspend2ram (and synaptics) Norbert Preining
     [not found] ` <20050331220822.GA22418-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
2005-04-01 11:33   ` Pavel Machek
     [not found]     ` <20050401113335.GA13160-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-04-01 17:38       ` Stefan Schweizer
     [not found]         ` <e79639220504010938582bade6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2005-04-02  8:59           ` Pavel Machek
     [not found]             ` <20050402085935.GC1330-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2005-04-05 15:01               ` Romano Giannetti
     [not found]                 ` <20050405150105.GA26149-NfIQswJzSEaq9fEpoSJUslHdEuJhDOxL@public.gmane.org>
2005-04-05 15:31                   ` Rafael J. Wysocki
     [not found]                     ` <200504051731.52845.rjw-KKrjLPT3xs0@public.gmane.org>
2005-04-05 17:58                       ` Matthew Garrett
2005-05-26  4:34           ` Andrew Morton
2005-04-03 22:45     ` [ACPI] " Norbert Preining
2005-04-03 22:59       ` Pavel Machek
     [not found]         ` <20050403225929.GE13466-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-04-04  8:16           ` Norbert Preining

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