Debian Testing (sarge)
Compile IDE support into kernel (not as a module)!
If the IDE drivers are compiled as a module, they are not available to the initrd (which is the default Debian boot method), and so the swap partition cannot be found either on suspend or resume.
The solution is to ensure that CONFIG_IDE=y and CONFIG_<your_IDE_chipset> is set in the .config file. You can use lspci or dmesg to determine IDE chipset.
If this is not done, after the swsusp patches are applied the following error messages are displayed:
Looking for first block of swap header at block 0.
Setting logical block size of resume device to 4096.
Software Suspend 2.0: Attempting to set blocksize for 303 to 4096.
Software Suspend 2.0: Sorry. Location looks invalid.
Software Suspend 2.0: Not able to successfully parse this resume device.
Software Suspend 2.0: Missing or invalid storage location (resume2=
parameter). Please correct and rerun lilo (or equivalent) before suspending.
For debian kernels 2.4.26-*-1 with nvidia kernels 6106
Fix for nvidia 6106 mendioned on ../Nvidia page doesn't work for me. So the current workaround for me is to use:
deb http://snapshot.debian.net/archive/2004/06/01/debian testing main contrib non-free deb http://snapshot.debian.net/archive/2004/06/01/debian-non-US testing/non-US main contrib non-free deb-src http://snapshot.debian.net/archive/2004/06/01/debian testing main contrib non-free deb-src http://snapshot.debian.net/archive/2004/06/01/debian-non-US testing/non-US main contrib non-free
in sources.list, so that older version of 2.4.26 kernel with older version of nvidia is downloded. then you can apt-get source kernel-image-... ; apt-get build-dep kernel-image-... ; patch the sources with swsusp2, etcaetera. Hopefully it will work.
This is a temporary solution, until newer nvidia starts working with swsusp2.




