Hi,

I'm testing to see if I can suspend/resume using a swap file. I have
created a swap file on one of my (lvm) partitions and have the
the following lines in my config file (which I got with swap-offset):

resume device = /dev/mapper/vg_cs-local
resume offset = 12979490

s2disk refuses to suspend however, because in the function

static inline int set_swap_file(int dev, dev_t blkdev, loff_t offset)
        .
        .
        error = ioctl(dev, SNAPSHOT_SET_SWAP_AREA, &swap);

Sets errno to 25.

This is on a 2.6.19.2 kernel btw. Am I doing something wrong?

grts Tim

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to