You are not logged in.
GParted 0.17.0
mkswap from util-linux 2.24.1
unsupported swap version '1' from gparted information about my swap partition
It shows up as a little warning flag in gparted and I can right click > information to see the error on my swap partition
I have tried.
rex@localhost ~ :( $ sudo mkswap -L swap -U 7301f639-f674-460e-9db1-d708b7d2149b /dev/sda6
mkswap: /dev/sda6: warning: wiping old swap signature.
Setting up swapspace version 1, size = 2097148 KiB
LABEL=swap, UUID=7301f639-f674-460e-9db1-d708b7d2149b
Last edited by rexineffect (2014-02-22 09:23:22)
Offline
Which versions does parted support? Can you mkswap as that version? I'm not sure as I use a swap file rather than a partition.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
@loafer, there is only one swap version of relevance these days. According to the man page, version one has been supported since 1998 and version 0 support was removed from the kernel in 2002.
Offline
Yes always RTFM before posting!
It could be this:
http://www.spinics.net/lists/util-linux … 08867.html
Last edited by jasonwryan (2014-02-20 07:16:49)
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
@loafer,
If you are posting an actual link, you don't need to do anything. But putting code tags around it will make it not clickable.
Otherwise you could use url tags to make any string of text a clickable link. So your link would become (use the quote button to see how this is done):
Edit: After having looked at the link, that does look like it could be of significance to your quest here...
Last edited by WonderWoofy (2014-02-20 07:07:48)
Offline
Yea I went through the manual and see that swap version 1 since 1998 also. after that I assumed it couldn't be my gparted version or really anything else being outdated.
Also I seen this forum post you guys gave me the link to, I just didn't see it as significant and I don't get why there are no images or any other posts on it. I will try to go through it and find something I just don't get why it isn't like a regular forum. I even tried just going to the main website www.spinics.com but there are no images or anything their either.
Offline
Fixed in upstream commit
Offline
This may be a silly question, but have you used the "# swapon /dev/sda6" command to activate the swap partition?
Offline
Fixed in upstream commit
Yea that looks like a fix, I can't figure out what is that and how do I do it. Sorry if this is stupid question but I just don't know.
Can you tell me what is that code he is changing?
Offline
kerolasa wrote:Fixed in upstream commit
Yea that looks like a fix, I can't figure out what is that and how do I do it. Sorry if this is stupid question but I just don't know.
Can you tell me what is that code he is changing?
The swaplabel command checks if the version is supported. That check contained a bug however; the check was done against version != 2; but it should have been version != 1. That has been fixed in the referenced commit. That fix has been commited 5 days ago; so you'll need to wait for a new util-linux package to be released which contains the fix. Until that happens you can ignore the error
Last edited by Spider.007 (2014-02-22 15:10:39)
Offline
Thanks!
Offline
Still not fixed?
Offline
Probably not because I'm also getting this error
Offline
Please stop kicking this thread. It has been fixed; but there isn't a new package available which includes this fix.
It is only useful to kick this thread when 2.24.2 is released and it still doesn't work
Offline
Please stop kicking this thread. It has been fixed; but there isn't a new package available which includes this fix.
It is only useful to kick this thread when 2.24.2 is released and it still doesn't work
Indeed. But util-linux 2.24.2-1 has just hit [testing], so either people should try that or be patient while it makes its way to [core].
Offline