Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Nigel Cunningham
Hi. Jesse Barnes wrote: Well, it seems like we'll have to fix drivers in either case, and isn't a kexec approach fundamentally more sound and simple, design-wise? Rafael pointed out some problems with properly setting wakeup states, but I think that could be overcome... No. AFAICS, kexec

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Nigel Cunningham
Hi. Matthew Garrett wrote: On Thu, Feb 21, 2008 at 09:45:02AM +1100, Nigel Cunningham wrote: - people keep talking about hibernating to an ext3 fs mounted on fuse as a limitation of the freezer. To do that with kexec, you're still going to have to bmap the ext3 fs and pass the block list

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Nigel Cunningham
Hi. Greg KH wrote: On Thu, Feb 21, 2008 at 11:40:06AM +1100, Nigel Cunningham wrote: Hi. Matthew Garrett wrote: On Thu, Feb 21, 2008 at 09:45:02AM +1100, Nigel Cunningham wrote: - people keep talking about hibernating to an ext3 fs mounted on fuse as a limitation of the freezer. To do

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Nigel Cunningham
Hi. Matthew Garrett wrote: On Thu, Feb 21, 2008 at 11:40:06AM +1100, Nigel Cunningham wrote: Matthew Garrett wrote: No, with a freezer-based model you can basically *never* suspend to anything related to FUSE or a userspace USB device or anything involving userspace iSCSI initiators

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Nigel Cunningham
Hi Greg. Greg KH wrote: On Thu, Feb 21, 2008 at 12:17:06PM +1100, Nigel Cunningham wrote: Hi. Greg KH wrote: On Thu, Feb 21, 2008 at 11:40:06AM +1100, Nigel Cunningham wrote: Hi. Matthew Garrett wrote: On Thu, Feb 21, 2008 at 09:45:02AM +1100, Nigel Cunningham wrote: - people keep talking

Re: [linux-pm] Re: [patch] hibernation: utilize ACPI hardware signature

2008-01-03 Thread Nigel Cunningham
Hi. Rafael J. Wysocki wrote: Is there another mechanism preventing this? Not at the kernel level, but you can prevent this from happening by running mkswap on all swap spaces that refuse to come up after a fresh boot. We really should do something about this. It should be possible to handle

Re: [linux-pm] Re: [patch] hibernation: utilize ACPI hardware signature

2008-01-03 Thread Nigel Cunningham
Hi. Rafael J. Wysocki wrote: I suppose we can always disable this when we start to support hardware changing over hibernate (I have ideas in this direction - memory cold plugging, for a start). Well, if we support such features, we won't be following ACPI any more. Mmm. Apparently I'm not

Re: [linux-pm] Re: [patch] hibernation: utilize ACPI hardware signature

2008-01-03 Thread Nigel Cunningham
Hi. Rafael J. Wysocki wrote: On Thursday, 3 of January 2008, Nigel Cunningham wrote: Hi. Rafael J. Wysocki wrote: I suppose we can always disable this when we start to support hardware changing over hibernate (I have ideas in this direction - memory cold plugging, for a start). Well

Re: [linux-pm] Re: [patch] hibernation: utilize ACPI hardware signature

2008-01-02 Thread Nigel Cunningham
Hi. Rafael J. Wysocki wrote: On Wednesday, 2 of January 2008, Erik Andrén wrote: Hi, 2008/1/2, Shaohua Li [EMAIL PROTECTED]: ACPI defines a hardware signature. BIOS calculates the signature according to hardware configure, if hardware changes, the signature will change, in this case, S4

Re: [linux-pm] Re: Hibernate after alarm wakes from STR

2007-07-11 Thread Nigel Cunningham
Hi. On Wednesday 11 July 2007 20:09:04 Rafael J. Wysocki wrote: On Wednesday, 11 July 2007 05:14, Nigel Cunningham wrote: On Wednesday 11 July 2007 11:59:48 Matthew Garrett wrote: On Wed, Jul 11, 2007 at 11:39:37AM +1000, Nigel Cunningham wrote: Yeah, that is a bit confusing

Re: [linux-pm] Re: Hibernate after alarm wakes from STR

2007-07-11 Thread Nigel Cunningham
Hi. On Thursday 12 July 2007 02:04:33 David Brownell wrote: On Tuesday 10 July 2007, Nigel Cunningham wrote: Yeah, the bit I consider to be ugly is opening the files from within the kernel, but it seemed to be necessary in order to provide the functionality without having to rely

Re: [linux-pm] Re: Hibernate after alarm wakes from STR

2007-07-10 Thread Nigel Cunningham
Hi. On Wednesday 11 July 2007 02:51:03 David Brownell wrote: On Monday 09 July 2007, Nigel Cunningham wrote: Hi. On Tuesday 10 July 2007 02:26:32 David Brownell wrote: On Monday 09 July 2007, Marcelo Tosatti wrote: On Sun, Jul 08, 2007 at 07:44:03PM -0700, David Brownell wrote

Re: [linux-pm] Re: Hibernate after alarm wakes from STR

2007-07-10 Thread Nigel Cunningham
Hi. On Wednesday 11 July 2007 10:45:50 Matthew Garrett wrote: On Wed, Jul 11, 2007 at 08:16:40AM +1000, Nigel Cunningham wrote: Yeah, the bit I consider to be ugly is opening the files from within the kernel, but it seemed to be necessary in order to provide the functionality without

Re: [linux-pm] Re: Hibernate after alarm wakes from STR

2007-07-10 Thread Nigel Cunningham
Hi. On Wednesday 11 July 2007 11:23:02 Matthew Garrett wrote: On Wed, Jul 11, 2007 at 10:53:35AM +1000, Nigel Cunningham wrote: On Wednesday 11 July 2007 10:45:50 Matthew Garrett wrote: How are you going to shift into suspend to disk without going via userspace? It's quite plausible

Re: [linux-pm] Re: Hibernate after alarm wakes from STR

2007-07-10 Thread Nigel Cunningham
Hi. On Wednesday 11 July 2007 11:59:48 Matthew Garrett wrote: On Wed, Jul 11, 2007 at 11:39:37AM +1000, Nigel Cunningham wrote: Yeah, that is a bit confusing. At the moment, I'm doing the suspend to ram platform dependent preparation and cleanup in this scenario. That's definitely

Re: [linux-pm] Re: Hibernate after alarm wakes from STR

2007-07-09 Thread Nigel Cunningham
Hi. On Tuesday 10 July 2007 02:26:32 David Brownell wrote: On Monday 09 July 2007, Marcelo Tosatti wrote: On Sun, Jul 08, 2007 at 07:44:03PM -0700, David Brownell wrote: Better a /sys/power/wakeup_event (or whatever) that's more easily found. It could link to the device issuing the

Re: [PATCH] swsusp: Do not use pm_ops

2007-05-03 Thread Nigel Cunningham
Hi. Sorry for my quietness. Looks pretty straightforward to me :) Nigel signature.asc Description: This is a digitally signed message part

Re: [linux-pm] [PATCH 3/6] [-mm]: ACPI: duplicate ACPI sleep alarm attribute in sysfs

2007-01-25 Thread Nigel Cunningham
Hi. On Thu, 2007-01-25 at 18:12 -0500, Len Brown wrote: On Thursday 25 January 2007 14:47, Pavel Machek wrote: Hi! Note that a few RTCs ignore rtc_wkalrm.enabled when setting alarms, or aren't set up correctly, so they won't yet behave with this attribute. Signed-off-by:

Re: [linux-pm] [PATCH 0/6] [-mm]: ACPI: duplicate ACPI procfs functions in sysfs

2007-01-24 Thread Nigel Cunningham
Hi. On Wed, 2007-01-24 at 21:03 -0500, Len Brown wrote: Patch 03-05: add ACPI sleep attributes in sysfs. /proc/acpi/sleep is already deprecated by /sys/power/state. Does that mean we drop standby (S1) capability on PCs? I think we need to make /sys/power/state handle S1.

Re: 2.6.19-rc1: known regressions

2006-10-05 Thread Nigel Cunningham
Hi. On Thu, 2006-10-05 at 06:28 +0200, Adrian Bunk wrote: Contrary to popular belief, there are people who test -rc kernels and report bugs. And there are even people who test -git kernels. Slightly off topic, but let me report a metoo as far as testing -git goes (you can even find a

Re: patch [0/2]: acpi: add generic removable drive bay support

2006-09-07 Thread Nigel Cunningham
Hi Kristen. Great to see this! Allow me to anticipate a question I'm sure will come: will this play well with (say) suspending while docked and resuming undocked? Regards, Nigel - To unsubscribe from this list: send the line unsubscribe linux-acpi in the body of a message to [EMAIL PROTECTED]

Re: ACPI_DOCK bug: noone cares

2006-07-09 Thread Nigel Cunningham
Hi. On Monday 10 July 2006 08:38, Linus Torvalds wrote: On Sun, 9 Jul 2006, Brown, Len wrote: So I ask you. If I fix the Kconfig issue today, will you accept a push that restores this driver to 2.6.18? Sure. Great! Sorry Linus from me too - I've been assigned to watch this for Redhat

Re: Hibernate

2006-04-13 Thread Nigel Cunningham
Hi Allan. On Wednesday 12 April 2006 22:50, Cleaveland, AJ Allan @ IS wrote: I'm trying to get hibernate to work on CentOS 4. What I really want to do is use hibernate to start-up the machine every time. To do this I would create an image to come out of hibernate with and set the machine to

Re: Power-button event after resume from S3

2006-04-13 Thread Nigel Cunningham
Hi. On Friday 14 April 2006 00:28, Felix Kuehling wrote: On Tue, 2006-11-04 at 14:14 +1000, Nigel Cunningham wrote: Hi. On Tuesday 11 April 2006 12:35, Sanjoy Mahajan wrote: if(acpi_during_suspend_resume) don't generate power button event to confuse user space daemon

Re: Power-button event after resume from S3

2006-04-10 Thread Nigel Cunningham
Hi. On Tuesday 11 April 2006 12:35, Sanjoy Mahajan wrote: if(acpi_during_suspend_resume) don't generate power button event to confuse user space daemon This patch might be useful useful in setting and unsetting acpi_during_suspend_resume (and also using it, but you should ignore

Re: ACPI Compile error in current git (pci.h)

2006-04-05 Thread Nigel Cunningham
Hi Greg. On Thursday 06 April 2006 13:50, Greg KH wrote: On Fri, Mar 24, 2006 at 02:37:18PM +1000, Nigel Cunningham wrote: Hi again. On Friday 24 March 2006 14:04, Nigel Cunningham wrote: Hi. Current git produces the following compile error (x86_64 uniprocessor compile

ACPI Compile error in current git (pci.h)

2006-03-23 Thread Nigel Cunningham
Hi. Current git produces the following compile error (x86_64 uniprocessor compile): arch/x86_64/pci/mmconfig.c:152: error: conflicting types for ‘pci_mmcfg_init’ arch/i386/pci/pci.h:85: error: previous declaration of ‘pci_mmcfg_init’ was here make[1]: *** [arch/x86_64/pci/mmconfig.o] Error 1

Re: S3 sleep regression / 2.6.16-rc1+acpi-release-20060113

2006-03-12 Thread Nigel Cunningham
Hi Bernard. On Sunday 05 February 2006 06:53, Sanjoy Mahajan wrote: After the first suspend, do you have any processes sucking all available cpu? This sounds like a thread that has been added since 2.6.15, which is being told to enter the freezer, but isn't doing it. They usually end up

Re: S3 sleep regression / 2.6.16-rc1+acpi-release-20060113

2006-03-12 Thread Nigel Cunningham
[ OOPS. Forward the wrong message. Will do the right one in a minute. Sorry! ] pgpAmApGAxTIx.pgp Description: PGP signature

Re: S3 sleep regression / 2.6.16-rc1+acpi-release-20060113

2006-02-03 Thread Nigel Cunningham
Hi. On Saturday 04 February 2006 15:02, Sanjoy Mahajan wrote: The gory details are at http://bugzilla.kernel.org/show_bug.cgi?id=5989, but the short summary: With 2.6.15, S3 sleep and wake were 98% fine (once in a while waking would hang, but I haven't managed to reproduce it). However,