Hi,
i have set up a swapfile instead a swap partition on a fresh slackware64 14.0 system
Code:
root@orion7:~# dd if=/dev/zero of=/swapfile bs=1M count=4096
root@orion7:~# mkswap /swapfile
Setting up swapspace version 1, size = 4194300 KiB
no label, UUID=55751e8f-2792-43c8-98ff-0fae10b7834e
root@orion7:~# swapon /swapfile
root@orion7:~# cat /proc/swaps
Filename Type Size Used Priority
/swapfile file 4194300 0 -1
if i try suspend to disk, is not working, dmesg says:
Code:
[ 2213.764376] PM: thaw of devices complete after 345.673 msecs
[ 2213.765505] PM: Using 1 thread(s) for compression.
[ 2213.765509] PM: Compressing and saving image data (268449 pages) ... done
[ 2221.439687] PM: Wrote 1073796 kbytes in 7.67 seconds (139.99 MB/s)
[ 2221.440114] PM: S
[ 2221.463504] PM: Swap header not found!
[ 2221.463506] |
[ 2221.596333] Restarting tasks ... done.
do i miss something?
regards fl0