On Wednesday, 8 August 2007 21:17, Felix wrote: > Rafael J. Wysocki wrote: > > > > 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 > > Hi, > > I've tried to follow your instructions but I don't think it worked the > way it should: I couldn't select CONFIG_DISABLE_CONSOLE_SUSPEND=y (It's > found in make xconfig but greyed out). I've manually added a line to my > .config but it's gone after building the kernel!? > > Nevertheless, here's what happens if I boot into the new kernel and > follow your instructions: > > First, I noticed frequent messages of this kind: > > ACPI: EC: Handler for query 0x81 is not found! > > and > ACPI: EC: Handler for query 0x80 is not found! > > After "echo disk > /sys/power/state" I get some messages about > suspending ...(devices I or something) then I get back to the command > prompt. Only the following messages remain: > > swsusp: Marking nosave pages: 000.....009f000 - 000....00100000 > swsusp: Basic bitmaps created > ieee1394: Host added: ID:BUS[0-00:1023] GUID[00c09f000044c250] > > I don't think this is of any help, though...
Yes, it is. At least we know that none of the device drivers that you use is totally broken wrt suspend. Also, I've seen EC messages similar to the above somewhere ... Now, can you do the same thing, but instead of running "echo test > /sys/power/disk" run "echo shutdown > /sys/power/disk" and see what happens? Greetings, Rafael -- "Premature optimization is the root of all evil." - Donald Knuth ------------------------------------------------------------------------- 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