On Tuesday, 7 August 2007 22:42, Felix wrote:
> Rafael J. Wysocki wrote:
> > On Tuesday, 7 August 2007 22:24, Felix wrote:
> >   
> >
> > Hmm, boxes with similar hardware configurations usually suspend with no
> > problems.
> >
> > May I see your .config?
> >   
> 
> Sure,
> 
> the config-2.6.18.1-jawaka is the .config of the working kernel, the 
> config-2.6.2.1-jawaka is in fact of the 2.6.23-rc2 kernel. And yes, 
> s2disk was working (mostly) without problems before.

Can you please do the following:

* compile the kernel with CONFIG_DISABLE_CONSOLE_SUSPEND=y
  and the appended patch applied
* boot the kernel with init=/bin/bash
* run "mount /sys && mount /proc && swapon -a"
* run "echo 8 > /proc/sys/kernel/printk"
* run "echo test > /sys/power/disk"
* run "echo disk > /sys/power/state"

and see what gets printed (assuming that the operation will fail; otherwise
you should return back to the command prompt)?

Greetings,
Rafael


---
 drivers/base/power/suspend.c |    2 ++
 1 file changed, 2 deletions(-)

Index: linux-2.6.23-rc1-mm2/drivers/base/power/suspend.c
===================================================================
--- linux-2.6.23-rc1-mm2.orig/drivers/base/power/suspend.c
+++ linux-2.6.23-rc1-mm2/drivers/base/power/suspend.c
@@ -136,8 +136,6 @@ int device_suspend(pm_message_t state)
                get_device(dev);
                mutex_unlock(&dpm_list_mtx);
 
+               printk("Suspending device %s\n", kobject_name(&dev->kobj));
+
                error = suspend_device(dev, state);
 
                mutex_lock(&dpm_list_mtx);

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to