Re: [Suspend-devel] [linux-pm] Dangers of touching disk between suspend and resume

2006-12-01 Thread Nigel Cunningham
Hi. On Fri, 2006-12-01 at 08:39 +0100, Stefan Seyfried wrote: > So if somebody submits a patch that implements a "reset_signature" program, > i'll include that in the suspend package. I don't know if you care (you might not want to support Suspend2), but for Suspend2 enabled kernels, you can just

Re: [Suspend-devel] [linux-pm] [RFC][PATCH -mm 1/5] PM: Make freeze_processes SMP-safe

2006-12-01 Thread Rafael J. Wysocki
On Friday, 1 December 2006 23:07, Alan Stern wrote: > On Fri, 1 Dec 2006, Rafael J. Wysocki wrote: > > > Well, the current code does exactly the same - it freezes userland tasks > > by sending them fake signals (and there's no way to check if such a process > > holds any locks at that time). More

Re: [Suspend-devel] [linux-pm] [RFC][PATCH -mm 1/5] PM: Make freeze_processes SMP-safe

2006-12-01 Thread Alan Stern
On Fri, 1 Dec 2006, Rafael J. Wysocki wrote: > Well, the current code does exactly the same - it freezes userland tasks > by sending them fake signals (and there's no way to check if such a process > holds any locks at that time). Moreover, it's been doing that from day one > and my patch doesn't

Re: [Suspend-devel] [linux-pm] [RFC][PATCH -mm 1/5] PM: Make freeze_processes SMP-safe

2006-12-01 Thread Rafael J. Wysocki
On Friday, 1 December 2006 22:17, Alan Stern wrote: > On Fri, 1 Dec 2006, Rafael J. Wysocki wrote: > > > On Friday, 1 December 2006 15:56, Alan Stern wrote: > > > On Thu, 30 Nov 2006, Rafael J. Wysocki wrote: > > > > > > > > Here's what I mean. usb-storage's kernel thread is unfreezable, > > >

Re: [Suspend-devel] [linux-pm] [RFC][PATCH -mm 1/5] PM: Make freeze_processes SMP-safe

2006-12-01 Thread Alan Stern
On Fri, 1 Dec 2006, Rafael J. Wysocki wrote: > On Friday, 1 December 2006 15:56, Alan Stern wrote: > > On Thu, 30 Nov 2006, Rafael J. Wysocki wrote: > > > > > > Here's what I mean. usb-storage's kernel thread is unfreezable, because > > > > it might be needed for reading or writing a memory imag

Re: [Suspend-devel] [linux-pm] [RFC][PATCH -mm 1/5] PM: Make freeze_processes SMP-safe

2006-12-01 Thread Rafael J. Wysocki
On Friday, 1 December 2006 15:56, Alan Stern wrote: > On Thu, 30 Nov 2006, Rafael J. Wysocki wrote: > > > > Here's what I mean. usb-storage's kernel thread is unfreezable, because > > > it might be needed for reading or writing a memory image to a swap > > > region. > > > If there's an I/O err

Re: [Suspend-devel] [linux-pm] [RFC][PATCH -mm 1/5] PM: Make freeze_processes SMP-safe

2006-12-01 Thread Alan Stern
On Thu, 30 Nov 2006, Rafael J. Wysocki wrote: > > Here's what I mean. usb-storage's kernel thread is unfreezable, because > > it might be needed for reading or writing a memory image to a swap region. > > If there's an I/O error then usb-storage will try to issue a USB port > > reset, for which

Re: [Suspend-devel] acer travel mate 2413 NLM - s2ram - f -a 3 DOES WORK - under a user on suse 10.1 final remastered, NOT under root on suse 10.1 final

2006-12-01 Thread Stefan Seyfried
On Thu, Nov 30, 2006 at 11:12:15PM +0100, jan sekal wrote: > I hope, this is what you need: > l158dio:~ # s2ram -i > This machine can be identified by: > sys_vendor = "Acer" > sys_product = "TravelMate 2410" > sys_version = "0100 " > bios_version = "V1.04 " > See /