Re: Software Suspend 2.0

From: Måns Rullgård (mru_at_kth.se)
Date: 01/31/04

  • Next message: Matthias Urlichs: "Re: BUG: NTPL: waitpid() doesn't return?"
    To: linux-kernel@vger.kernel.org
    Date:	Sat, 31 Jan 2004 23:15:12 +0100
    
    

    Joseph Pingenot <trelane@digitasaru.net> writes:

    > From Måns Rullgård on Saturday, 31 January, 2004:
    >>"Prakash K. Cheemplavam" <PrakashKC@gmx.de> writes:
    >>>> My error. My patch script has put kernel/power/swsusp2.c in the version
    >>> No problem. I already tested it. After throwing out usb modules, it
    >>> did suspend, though taking quite long at the kernel and processing
    >>> (something like that) message. But upon restart, it didn't resume,
    >>> ie. it didn't find its image, just normal swap space.
    >>Try disabling write cache on the disk with hdparm -W0 /dev/hde.
    >
    > When should this be done?
    >
    > I have 2.6.1 + the 2.6.1-specific patches + core patches. It suspends
    > without difficulty, but on boot, it says it couldn't read a part
    > of the resume data (a "chunk", iirc). The status bar doesn't make
    > much progress.
    >
    > I tried hdparm -W 0 right before the call to hibernate (in a script).

    That did the trick for me. You must be having a different problem.

    > But I still have the problem.
    >
    > When should hdparm be called?
    >
    > Thanks!
    >
    > -Joseph

    -- 
    Måns Rullgård
    mru@kth.se
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Matthias Urlichs: "Re: BUG: NTPL: waitpid() doesn't return?"

    Relevant Pages

    • Re: Software Suspend 2.0
      ... > without difficulty, but on boot, it says it couldn't read a part ... > much progress. ... agp and drm drivers suspend support) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 64 bit kernel
      ... the chipset "fooled" the OS into thinking that it was doing 32 bit wide operations. ... kernel problem or if it's a BIOS problem. ... After some searching I found others with similar problems and they had to use "noapic nolapic" kernel boot options to install and boot the OS. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [RFC][PATCH] Way for platforms to alter built-in serial ports
      ... For platforms that can't do that, ... >> and we automatically switch to the corresponding ttyS device later. ... so I hope we can make some progress. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: RFC: [2.6 patch] better i386 CPU selection
      ... If we boot a 386 kernel on a ppro with that bug, ... For the handful of bytes saved in the mtrr driver, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • fastboot, diskstat
      ... that the total time for prefetching + actual boot was only 10% shorter, ... actually cache the pages I touched, ... Also, regarding the directory entries, are they accessed via the buffer ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)