Re: Suspend - no resume
On Fri, May 26, 2006 at 10:21:40AM +0300, Ossi Väänänen wrote:
> Hey,
>
> I'm using suspend2 as well on my two debian laptops (lifebook p1510 and
> acer aspire 5021). I'm not using initrd at all with the setup, for
> obvious reasons: as I anyway had to roll your own kernel with suspend2
> patches, it was much less trouble to compile enough stuff statically
> into the kernel than to start hacking the linuxrc in initrd to notice
> when to resume and when to just boot.
>
> The basic idea is:
> - compile all IDE/ATA bus related stuff into the kernel statically (so
> that the kernel can access your discs without loading the modules from
> the initrd)
> - and filesystem support to mount your root filesystem, too
> - and the suspend2 stuff as well
>
> After that, just boot without initrd, with something like the following
> in your grub config:
> title 2.6.16 -- no rd, resume
> root (hd0,0)
> kernel /boot/vmlinuz-2.6.16 root=/dev/hda1 rw
> resume2=swap:/dev/hda5 noapic
> savedefault
> boot
another thing: try suspending without X first: eg Ctrl-Alt-F1, and
then as root, stop gdm (xdm, etc) with
/etc/init.d/gdm stop
On the suspend2.net page, there are other hints on debugging, see
http://www.suspend2.net/HOWTO-5.html#ss5.3
Tamas
Reply to: