Re: Software Suspend 2.0

Micha Feigin
2004-02-01T00:28:52Z

On Sat, Jan 31, 2004 at 05:11:37PM -0600, Joseph Pingenot wrote:
> >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).
> But I still have the problem.
>
> When should hdparm be called?
>

Is X running with dri support? If so as a start try stopping X and see
if that solves your problem (there is still a problem with most of the
agp and drm drivers suspend support)

> Thanks!
>
> -Joseph
> -
> 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/
>