Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-28 Thread Stefan Seyfried
On Tue, Aug 15, 2006 at 11:59:30AM +0200, Pavel Machek wrote: > Hi! > > > Thanks for the response. I couldn't actually find the struct you > > mentioned in 2.6.18-rc3 (I even grepped through the whole tree and > > didn't find it - I am using Jason's patched but I don't think it > > removed this).

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-15 Thread Pavel Machek
Hi! > Thanks for the response. I couldn't actually find the struct you > mentioned in 2.6.18-rc3 (I even grepped through the whole tree and > didn't find it - I am using Jason's patched but I don't think it > removed this). Is in the -mm2 code? I don't think it matters too > much because using

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-14 Thread Sheer El-Showk
Hi Pavel, Thanks for the response. I couldn't actually find the struct you mentioned in 2.6.18-rc3 (I even grepped through the whole tree and didn't find it - I am using Jason's patched but I don't think it removed this). Is in the -mm2 code? I don't think it matters too much because using s2ra

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-13 Thread Pavel Machek
Hi! > >>I also notice that when I suspend to ram if I stare at the screen from > >>different angles I can still see some faint characters in the > >>background which makes me think that at some level the screen is not > >>completley off. > > > >Backlight off but screen is not. Yep,

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-13 Thread Pavel Machek
Hi! > So, might this general IDE fix solve my problem? I compiled > 2.6.18-rc3-mm2 and tried 's2ram -f' but it just crashed while > suspending so I couldn't test this. Will this patch eventually get > merged into the next release (i.e. 2.6.19)? Jason if you want this > tested more I can try it

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-12 Thread Jason Lunz
On Thu, Aug 10, 2006 at 11:55:09AM +0200, Sheer El-Showk wrote: > piix9092 0 [permanent] > ide_core 115900 3 ide_cd,piix,ide_disk > > Your patch was at the more general level of the ide drivers so do you > have any idea why it didn't work on this particular drive

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-11 Thread Rafael J. Wysocki
On Friday 11 August 2006 12:12, Stefan Seyfried wrote: > On Fri, Aug 11, 2006 at 10:34:23AM +0200, Rafael J. Wysocki wrote: > > > There have not been any comments except for the Pavel's one, so I gather > > I can put this into the CVS? > > Yes. We can still fine-tune it later, if somebody should

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-11 Thread Stefan Seyfried
On Fri, Aug 11, 2006 at 10:34:23AM +0200, Rafael J. Wysocki wrote: > There have not been any comments except for the Pavel's one, so I gather > I can put this into the CVS? Yes. We can still fine-tune it later, if somebody should find problems. Now that i am running a pretty recent kernel, i will

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-11 Thread Rafael J. Wysocki
On Monday 31 July 2006 08:23, Rafael J. Wysocki wrote: > Hi, > > I have invented an installation procedure for SUSE 10.1 that allows the user > to > integrate s2disk (s2both) with powersaved and put the resume binary into the > initramfs image created by mkinitrd. > > The instruction is appended

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-10 Thread Sheer El-Showk
ICH4-M I think? 'lspci' says 00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03) While 'dmesg' also claims: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ICH4: IDE controller at

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-10 Thread Benjamin Herrenschmidt
> AFAICT, the situation with drivers/ide is that it happens to work (by > luck) well enough for most people that it's been ignored until now. And > when it doesn't work, the result is a hard, difficult-to-debug hang on > resume that is rarely diagnosed because the standard > try-it-with-all-module

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-10 Thread Sheer El-Showk
Hi Pavel (and others), On 8/9/06, Pavel Machek <[EMAIL PROTECTED]> wrote: > >I also notice that when I suspend to ram if I stare at the screen from > >different angles I can still see some faint characters in the > >background which makes me think that at some level the screen is not >

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Jason Lunz
On Thu, Aug 10, 2006 at 12:54:19AM +0200, Sheer El-Showk wrote: > Is this a similar problem to what you were having on your laptop > before the patch? Would you expect your patch to work for me or do > you think its an unrelated problem? Whatever it is I definately have > an issue with the disk t

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Sheer El-Showk
Sorry to say that it doesn't seem to help much on my laptop. I installed 2.6.18-rc3 with your patch (I even checked the code to see that the patch got implemented) and tried s2ram from the console and suspend still took noticably long. Moreover, when I got back a prompt I tried and 'ls' and the m

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Rafael J. Wysocki
On Wednesday 09 August 2006 22:38, Jason Lunz wrote: > On Wed, Aug 09, 2006 at 10:12:10PM +0200, Rafael J. Wysocki wrote: ]--snip--[ > > I think Benjamin's may be describing my hardware. My current patch is > calling hwif->tuneproc(), which resets both controller and drives > afaict. I plan on co

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Jason Lunz
On Wed, Aug 09, 2006 at 10:12:10PM +0200, Rafael J. Wysocki wrote: > AFAIK, the AHCI suspend to RAM support is on its way, but does anyone know > about the other SATA/PATA drivers? AFAICT, the situation with drivers/ide is that it happens to work (by luck) well enough for most people that it's bee

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Rafael J. Wysocki
On Wednesday 09 August 2006 15:15, Jason Lunz wrote: > On Wed, Aug 09, 2006 at 01:42:17PM +0200, Rafael J. Wysocki wrote: > > The fix was for AMD/NVidia IDE, but Alan vetoed it on the basis that it > > should > > be done at the general level. Everyone agreed, but I don't know if anyone > > took c

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Rafael J. Wysocki
On Wednesday 09 August 2006 18:27, Sheer El-Showk wrote: > So, might this general IDE fix solve my problem? I compiled > 2.6.18-rc3-mm2 and tried 's2ram -f' but it just crashed while > suspending so I couldn't test this. There is a general suspend failure related to the block IO in -rc3-mm2. I'm

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Jason Lunz
On Wed, Aug 09, 2006 at 06:27:13PM +0200, Sheer El-Showk wrote: > So, might this general IDE fix solve my problem? I compiled > 2.6.18-rc3-mm2 and tried 's2ram -f' but it just crashed while > suspending so I couldn't test this. Maybe. Which ide driver are you using? There's plenty of other stuff

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Sheer El-Showk
So, might this general IDE fix solve my problem? I compiled 2.6.18-rc3-mm2 and tried 's2ram -f' but it just crashed while suspending so I couldn't test this. Will this patch eventually get merged into the next release (i.e. 2.6.19)? Jason if you want this tested more I can try it but the -mm2 is

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Jason Lunz
On Wed, Aug 09, 2006 at 01:42:17PM +0200, Rafael J. Wysocki wrote: > The fix was for AMD/NVidia IDE, but Alan vetoed it on the basis that it should > be done at the general level. Everyone agreed, but I don't know if anyone > took care of that. Jason? I redid the patch at the general IDE level.

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Rafael J. Wysocki
Hi, On Wednesday 09 August 2006 13:23, Pavel Machek wrote: ]--snip--[ > > Yes, so it is definitely harddrive. You probably should add all > details to bugzilla.kernel.org, and then ask the IDE maintainers. > > Ouch and I think there were patches fixing that, not yet in > mainline... Well, I'm n

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Pavel Machek
Hi! > I think you're right Stefan, this is very possibly a hard disk timeout > issue because even after suspend wakes up I can run a few commands, > even accessing the hard disk, but then after another few seconds if I > try to access the hard-disk the command will block (the machine does > not fr

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Rafael J. Wysocki
On Wednesday 09 August 2006 12:31, Sheer El-Showk wrote: > Hi Rafael, > > Should the patch you gave me work against a normal 2.6.18-rc3 tree? > The patch command is telling me it can't find the file to patch at > input line 9 (which does not seem to point to a file). Sorry if I'm > being dense bu

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Stefan Seyfried
On Wed, Aug 09, 2006 at 12:40:19PM +0200, Sheer El-Showk wrote: > Hi, > > I think you're right Stefan, this is very possibly a hard disk timeout > issue because even after suspend wakes up I can run a few commands, > even accessing the hard disk, but then after another few seconds if I > try to ac

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Sheer El-Showk
Hi, I think you're right Stefan, this is very possibly a hard disk timeout issue because even after suspend wakes up I can run a few commands, even accessing the hard disk, but then after another few seconds if I try to access the hard-disk the command will block (the machine does not freeze, just

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Stefan Seyfried
On Wed, Aug 09, 2006 at 11:30:50AM +0200, Sheer El-Showk wrote: > Hi Guys, > > Again, thanks for all the input. Stefan my machine is new. I bought it less > than two years ago and it was a very expensive laptop ;-> Its a Sony A190 > (the ones with the giant screens that are completely unportable

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Sheer El-Showk
Hi Rafael, Should the patch you gave me work against a normal 2.6.18-rc3 tree? The patch command is telling me it can't find the file to patch at input line 9 (which does not seem to point to a file). Sorry if I'm being dense but I don't know the expected syntax of the patch file. I ran 'patch -

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Pavel Machek
Hi! Please no html posts. >I don't really know how powersave is setup but I presume if I just >call s2ram manually from the console that this does not run any >scripts or anything on resume right? But when I try s2ram manually it >still takes ~30 seconds to get me back to X windo

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Rafael J. Wysocki
On Wednesday 09 August 2006 11:30, Sheer El-Showk wrote: > Hi Guys, > > Again, thanks for all the input. Stefan my machine is new. I bought it less > than two years ago and it was a very expensive laptop ;-> Its a Sony A190 > (the ones with the giant screens that are completely unportable) and i

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Sheer El-Showk
Hi Guys,Again, thanks for all the input. Stefan my machine is new.  I bought it less than two years ago and it was a very expensive laptop ;->  Its a Sony A190 (the ones with the giant screens that are completely unportable) and in Windows resume is pretty fast (its been a while since i tested it b

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Stefan Seyfried
Hi, On Wed, Aug 09, 2006 at 09:47:18AM +0200, Pavel Machek wrote: > On Wed 2006-08-09 08:50:07, Stefan Seyfried wrote: > > I think this highly depends on the specific machine's BIOS. > > I have machines here that resume in less than 2 seconds and others that > > take 20 seconds and more. > > Whi

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Pavel Machek
On Wed 2006-08-09 08:50:07, Stefan Seyfried wrote: > Hi, > > On Tue, Aug 08, 2006 at 10:07:49PM +0200, Sheer El-Showk wrote: > > > to work at all (which I'll try to debug). I even used the new version of > > suspend downloaded from sourceforge (which doesn't go through powersave) and > > it stil

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-09 Thread Pavel Machek
Hi! >Thanks for the response. Does it matter that its 2.6.18-rc4 and not >2.6.18-rc3? I compiled rc3 a while ago and just tried it out and >didn't get a significant improvment. Specifically, suspending to ram >using powersave still takes about 30 seconds to resume and suspending

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-08 Thread Stefan Seyfried
Hi, On Tue, Aug 08, 2006 at 10:07:49PM +0200, Sheer El-Showk wrote: > to work at all (which I'll try to debug). I even used the new version of > suspend downloaded from sourceforge (which doesn't go through powersave) and > it still takes ~30 seconds to come back to life. Should I be expecting

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-08 Thread Sheer El-Showk
Hi Pavel,Thanks for the response.  Does it matter that its 2.6.18-rc4 and not 2.6.18-rc3?  I compiled rc3 a while ago and just tried it out and didn't get a significant improvment.  Specifically, suspending to ram using powersave still takes about 30 seconds to resume and suspending to disk doesn't

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-08 Thread Pavel Machek
Hi! >I'm using the stock suspend with SLED 10 (which seems to be almost the >same RPM as in Suse 10.1 - suspend-20060406-9.8). >S2RAM reports the following on my machine: >This machine can be identified by: >sys_vendor = "Sony Corporation" >sys_product = "VGN-A19

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-08-01 Thread Sheer El-Showk
Hi,I'm using the stock suspend with SLED 10 (which seems to be almost the same RPM as in Suse 10.1 - suspend-20060406-9.8).  S2RAM reports the following on my machine:This machine can be identified by:     sys_vendor   = "Sony Corporation"    sys_product  = "VGN-A190(UC)"    sys_version  = "C0003EL

Re: [Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-07-31 Thread Pavel Machek
Hi! > I have invented an installation procedure for SUSE 10.1 that allows the user > to > integrate s2disk (s2both) with powersaved and put the resume binary into the > initramfs image created by mkinitrd. > > The instruction is appended and the scritpt and patches referred to in it are > attach

[Suspend-devel] [RFC] Installation instructions for SUSE 10.1

2006-07-30 Thread Rafael J. Wysocki
Hi, I have invented an installation procedure for SUSE 10.1 that allows the user to integrate s2disk (s2both) with powersaved and put the resume binary into the initramfs image created by mkinitrd. The instruction is appended and the scritpt and patches referred to in it are attached. Some file