public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.10-rc3-mm1: swsusp
@ 2004-12-18 17:52 Rafael J. Wysocki
  2004-12-19 17:34 ` Pavel Machek
  2004-12-19 22:48 ` Ari Pollak
  0 siblings, 2 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2004-12-18 17:52 UTC (permalink / raw)
  To: LKML; +Cc: Pavel Machek

Hi,

I must say I'm really impressed with the progress that swsusp made since I 
tried it last time (close to 2.6.10-rc1 as I recall).  Now I've been using it 
for a couple of days on 2.6.10-rc3-mm1 and It's never refused to suspend the 
machine because of the lack of (contiguous) memory which happened very often 
before, and it seems to be much faster.  Using it my notebook has reached 
more that 1 day of uptime recently, wich was practically impossible 
previously.  It's a great job and vast improvement for which I thank you very 
much!

Still, unfortunately, today it crashed on suspend and I wasn't able to get any 
useful information related to the crash, because swsusp apparently does not 
send some of its messages to the serial console.  In particular, anything 
from within the critical section is not printed there and that's why I think 
(I'm not sure though) that the crash occured in the critical section.  Could 
you tell me please if it's possible to make all of the swsusp messages appear 
on the serial console and, if so, how to do this (I've already tried "dmesg 
-n 8" and "echo 9 > /proc/sysrq-trigger" but none of them helps)?

Greets,
RJW

-- 
- 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"

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

* Re: 2.6.10-rc3-mm1: swsusp
  2004-12-18 17:52 2.6.10-rc3-mm1: swsusp Rafael J. Wysocki
@ 2004-12-19 17:34 ` Pavel Machek
  2004-12-20  0:44   ` Rafael J. Wysocki
  2004-12-19 22:48 ` Ari Pollak
  1 sibling, 1 reply; 6+ messages in thread
From: Pavel Machek @ 2004-12-19 17:34 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: LKML

Hi!

> I must say I'm really impressed with the progress that swsusp made since I 
> tried it last time (close to 2.6.10-rc1 as I recall).  Now I've been using it 
> for a couple of days on 2.6.10-rc3-mm1 and It's never refused to suspend the 
> machine because of the lack of (contiguous) memory which happened very often 
> before, and it seems to be much faster.  Using it my notebook has
> reached 

Hmmm, unfortunately I did not changes in that area. Perhaps memory
managment was fixed/improved?

> Still, unfortunately, today it crashed on suspend and I wasn't able to get any 
> useful information related to the crash, because swsusp apparently does not 
> send some of its messages to the serial console.  In particular, anything 
> from within the critical section is not printed there and that's why I think 
> (I'm not sure though) that the crash occured in the critical section.  Could 
> you tell me please if it's possible to make all of the swsusp messages appear 
> on the serial console and, if so, how to do this (I've already tried "dmesg 
> -n 8" and "echo 9 > /proc/sysrq-trigger" but none of them helps)?

Using regular vga console and digital camera seems to be popular way
to get dumps. I'm not sure why swsusp critical section interferes with
serial, perhaps serial console support has to "know" about serial
console and not suspend it during suspend() call?

								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] 6+ messages in thread

* Re: 2.6.10-rc3-mm1: swsusp
  2004-12-18 17:52 2.6.10-rc3-mm1: swsusp Rafael J. Wysocki
  2004-12-19 17:34 ` Pavel Machek
@ 2004-12-19 22:48 ` Ari Pollak
  2004-12-20  0:47   ` Rafael J. Wysocki
  1 sibling, 1 reply; 6+ messages in thread
From: Ari Pollak @ 2004-12-19 22:48 UTC (permalink / raw)
  To: linux-kernel

Rafael J. Wysocki wrote:
> Still, unfortunately, today it crashed on suspend and I wasn't able to get any 
> useful information related to the crash,

Have you tried an -rc3-bk13 snapshot? Some changes went in related to 
ALSA drivers and swsusp/ACPI suspend, perhaps it will fix the problem.


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

* Re: 2.6.10-rc3-mm1: swsusp
  2004-12-19 17:34 ` Pavel Machek
@ 2004-12-20  0:44   ` Rafael J. Wysocki
  2004-12-20  9:10     ` Pavel Machek
  0 siblings, 1 reply; 6+ messages in thread
From: Rafael J. Wysocki @ 2004-12-20  0:44 UTC (permalink / raw)
  To: Pavel Machek; +Cc: LKML

On Sunday 19 of December 2004 18:34, Pavel Machek wrote:
> Hi!
> 
[-- snip --]
> 
> > Still, unfortunately, today it crashed on suspend and I wasn't able to get
> > any useful information related to the crash, because swsusp apparently
> > does not send some of its messages to the serial console.  In particular,
> > anything from within the critical section is not printed there and that's
> > why I think (I'm not sure though) that the crash occured in the critical
> > section.  Could you tell me please if it's possible to make all of the
> > swsusp messages appear on the serial console and, if so, how to do this
> > (I've already tried "dmesg -n 8" and "echo 9 > /proc/sysrq-trigger" but
> > none of them helps)? 
> 
> Using regular vga console and digital camera seems to be popular way
> to get dumps.

Well, the problem is that:
1) I don't have a DC,
2) even if I had one, my VTs go nuts after switching to X and then they only 
display garbage ... :-)

> I'm not sure why swsusp critical section interferes with 
> serial, perhaps serial console support has to "know" about serial
> console and not suspend it during suspend() call?

It didn't do that before 2.6.9 or so.  Something must have changed afterwards.  
And the serial console shows messages that appear right before writing the 
image to swap (like "swsusp: Version: ..." etc.).

Greets,
RJW

-- 
- 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"

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

* Re: 2.6.10-rc3-mm1: swsusp
  2004-12-19 22:48 ` Ari Pollak
@ 2004-12-20  0:47   ` Rafael J. Wysocki
  0 siblings, 0 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2004-12-20  0:47 UTC (permalink / raw)
  To: Ari Pollak; +Cc: linux-kernel

On Sunday 19 of December 2004 23:48, Ari Pollak wrote:
> Rafael J. Wysocki wrote:
> > Still, unfortunately, today it crashed on suspend and I wasn't able to get 
any 
> > useful information related to the crash,
> 
> Have you tried an -rc3-bk13 snapshot? Some changes went in related to 
> ALSA drivers and swsusp/ACPI suspend, perhaps it will fix the problem.

Unfortunately, I have no time for playing with -bk kernels.  I'll wait for 
-rc4 or 2.6.10 or maybe Andrew will include this fixes into -mm before?

Greets,
RJW

-- 
- 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"

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

* Re: 2.6.10-rc3-mm1: swsusp
  2004-12-20  0:44   ` Rafael J. Wysocki
@ 2004-12-20  9:10     ` Pavel Machek
  0 siblings, 0 replies; 6+ messages in thread
From: Pavel Machek @ 2004-12-20  9:10 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: LKML

Hi!

> > I'm not sure why swsusp critical section interferes with 
> > serial, perhaps serial console support has to "know" about serial
> > console and not suspend it during suspend() call?
> 
> It didn't do that before 2.6.9 or so.  Something must have changed afterwards.  
> And the serial console shows messages that appear right before writing the 
> image to swap (like "swsusp: Version: ..." etc.).

You may want to remove suspend() support from serial drivers and see
what happens... Or find exact patch that broke it.
								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] 6+ messages in thread

end of thread, other threads:[~2004-12-20  9:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-18 17:52 2.6.10-rc3-mm1: swsusp Rafael J. Wysocki
2004-12-19 17:34 ` Pavel Machek
2004-12-20  0:44   ` Rafael J. Wysocki
2004-12-20  9:10     ` Pavel Machek
2004-12-19 22:48 ` Ari Pollak
2004-12-20  0:47   ` Rafael J. Wysocki

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