Re: [Bisected Regression in 2.6.35] A full tmpfs filesystem causeshibernationto hang

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: KOSAKI Motohiro
Date: Sunday, August 29, 2010 - 7:28 pm

> On 26/08/10 11:09 AM, KOSAKI Motohiro wrote:

Grr. I'm surprised this result ;-)
shrink_all_memory() finish to shrink memory successfully. but your
system still hang immediately after. I have no idea why this mysterious
occur. 

I prepared next debugging patch. It added prenty debug printk. I hope
it enlighten up which path makes system hang-up.

1. apply my new patch

2. Enable following PM debug option in Kconfig

  [*] Power Management support
  [*]   Power Management Debug Support
  [*]     Extra PM attributes in sysfs for low-level debugging/testing
  [*]     Verbose Power Management debugging

3. append following kernel boot option into grub configration file

	no_console_suspend=1

3. kernel build and reboot
4. some prepare
   # echo 8 > /proc/sysrq-trigger
   # cd /sys/power
   # echo 1 > pm_trace
   # echo 0 > pm_async

5. run your test program



This is expected result because tmpfs shrink need swap-out. then
we need i/o time.


Please send me your .config and full dmesg.


Thanks many and many help us!
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Bisected Regression in 2.6.35] A full tmpfs filesyste ..., Rafael J. Wysocki, (Wed Aug 25, 10:31 am)
Re: [Bisected Regression in 2.6.35] A full tmpfs filesyste ..., KOSAKI Motohiro, (Sun Aug 29, 7:28 pm)
Re: [Bisected Regression in 2.6.35] A full tmpfs filesyste ..., Rafael J. Wysocki, (Thu Sep 2, 12:57 pm)
Important news regarding the two different patches, M. Vefa Bicakci, (Mon Sep 6, 4:27 am)
Re: Important news regarding the two different patches, Rafael J. Wysocki, (Mon Sep 6, 11:43 am)
Re: [Bisected Regression in 2.6.35] A full tmpfs filesyste ..., Rafael J. Wysocki, (Mon Sep 6, 11:46 am)
Re: [Bisected Regression in 2.6.35] A full tmpfs filesyste ..., Rafael J. Wysocki, (Mon Sep 6, 12:54 pm)
Re: Important news regarding the two different patches, M. Vefa Bicakci, (Mon Sep 6, 6:34 pm)
Re: Important news regarding the two different patches, KOSAKI Motohiro, (Mon Sep 6, 6:58 pm)
Re: Important news regarding the two different patches, Rafael J. Wysocki, (Tue Sep 7, 2:44 pm)
Re: Important news regarding the two different patches, M. Vefa Bicakci, (Wed Sep 8, 5:56 am)
Re: PATCH: PM / Hibernate: Avoid hitting OOM during preall ..., Rafael J. Wysocki, (Sat Sep 11, 12:06 pm)
[PATCH] PM / Hibernate: Make default image size depend on ..., Rafael J. Wysocki, (Sat Sep 11, 3:27 pm)
Re: [PATCH] PM / Hibernate: Make default image size depend ..., Rafael J. Wysocki, (Mon Sep 13, 10:52 am)