On Thu, Oct 30, 2008 at 11:54 PM, Walter Dnes <[EMAIL PROTECTED]> wrote:
>  I ran hibernate once unsuccessfully.  I forgot to put "resume=" into
> my lilo.conf (oops).  I finally did that, but now, hiberate gets to...
>
> hibernate: Running /usr/sbin/s2disk ...
> s2disk: Could not use the resume device (try swapon -a). Reason: No such 
> device
>
> ...and backs out gracefully.  According to "fdisk -l", swap is there...
>
>
> [d530][root][~] fdisk -l
>
> Disk /dev/sda: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xd0000000
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1       60801   488384001    5  Extended
> /dev/sda5               1          62      497952   83  Linux
> /dev/sda6              63         549     3911796   82  Linux swap / Solaris
> /dev/sda7             550       60801   483974158+  83  Linux
>
> ...but according to swapon, it's not...
>
>
> [d530][root][~] swapon -a
> swapon: /dev/sda6: Invalid argument
>
>
>  What did I did?  And how do I straighten it out?

Umm... if you're hibernating to the same swap partition you're using
when the system's live... I'm pretty sure you can't do that... even if
everything does manage to fit, having sort out what belongs back in
ram and what doesn't ... it's not a very sane thing to expect the
kernel+userspace tools there to do. If I recall from last time I
considered setting it up on my system, software hibernate needs an
otherwise unused swap partition that's just a little bigger than the
amount of physical ram in your system.

-- 
Poison [BLX]
Joshua M. Murphy

Reply via email to