Good News!
This bug is still here. Same error on
Dell Inspiron 13-7353, Ubuntu 20.04.1 (Upgraded from 18.05.5),
Kernel:
Linux NOMIS-inspiron 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC
2020 x86_64 x86_64 x86_64 GNU/Linux
Filesystem btrfs, Storage: Samsung 650 SSD (1TB).
Was working
Hello,
thanks to clickwir, this has helped me solve it in Ubuntu 20.04 with
btrfs!
Best regards,
Mélodie
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1788321
Title:
Fixed my problem.
While looking through /var/log/syslog, I noticed this line around the
same time swap mount failed.
BTRFS warning (device sda3): swapfile must not be copy-on-write
Then a few lines later...
systemd[1]: swap.img.swap: Failed with result 'exit-code'.
systemd[1]: Failed to
Just did a fresh install of 20.04 as a Proxmox VM and see this "invalid
argument" in the start up messages and syslog. Trying to start it
manually also fails. Tried recreating it, also failed.
root@changeme:/# fallocate -l 2G /swap.img
root@changeme:/# chmod 600 /swap.img
root@changeme:/# ls
Getting the same error on old bare metal:
4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 x86_64
x86_64 x86_64 GNU/Linux
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz
stepping: 13
** Tags added: cscc
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1788321
Title:
swapon failed: invalid argument
Status in linux package in Ubuntu:
Confirmed
ubuntu 16.04, hit the same issue as this. swapon -v shows these:
```
swapon: /my/swap: found swap signature: version 1d, page-size 4, same byte order
swapon: /my/swap: pagesize=4096, swapsize=13..., devsize=13
swapon: /my/swap: swapon failed: Invalid argument
```
--
You received this bug
Like John Shipp, we are on Debian 9.4 32-bit (on VMware) and still have
this issue on the latest kernel: 4.9.0-8-686-pae #1 SMP Debian
4.9.110-3+deb9u6 (2018-10-08)
Message in syslog is :
swapon: /dev/sdb1: swapon failed: Invalid argument
To work round it, I've pinned kernel at 4.9.0-7 on
Seems fixed for
Linux 4.4.0-137-generic #163~14.04.1-Ubuntu SMP Mon Sep 24 17:13:32 UTC
2018 i686 i686 GNU/Linux
Thank you.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
fixed for me as well, thanks
Linux svn-desktop16 4.15.0-36-generic #39~16.04.1-Ubuntu SMP Tue Sep 25
09:00:45 UTC 2018 i686 i686 i686 GNU/Linux
$ free
totalusedfree shared buff/cache available
Mem:1022124 244104 112896 14520
Last kernel 4.15.0-36-generic #39-Ubuntu i686 fixes the issue for me.
Could you try, please?
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1788321
Title:
swapon
My perspective suggests that this bug might have came from upsteam.
I'm running DEBIAN 9 in VMware Workstation 12.5.9 build-7535481 and
having this exact same issue.
AFFECTED = Linux 4.9.0-8-686-pae #1 SMP Debian 4.9.110-3+deb9u4
(2018-08-21) i686 GNU/Linux
NOT affected = Linux 4.9.0-7-686-pae
I am running
Linux 4.4.0-135-generic #161~14.04.1-Ubuntu SMP Tue Aug 28 11:19:03 UTC
2018 GNU/Linux
as a virtual machine in VMWare and got the same problem with swapon.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to
Maybe this is the fix:
x86/speculation/l1tf: fix overflow on l1tf_pfn_limit() on 32bit
https://lkml.org/lkml/2018/8/20/222
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
On Xenial, update to "linux-image-4.4.0-135-generic 4.4.0-135.161" did
not fix the problem, but I noticed a message, that might be related to
the issue:
[3.083083] Truncating oversized swap area, only using 0k out of
261116k
--
You received this bug notification because you are a member of
Swapon is not working with swap file or swap partion. Mkswap with Kernel
4.15.0-30-gernic and swapon with Kernel 4.15.0-33-gernic is even not
working.
VMware ESXi 6.0 + Ubuntu 18.04 (32Bit)
- Linux 4.15.0-33-generic (i686)
affected
VMware ESXi 6.0 + Ubuntu 18.04 (32Bit)
- Linux
This is the failing "swapon" sequence from updated Xenial i386 on
vmware:
3915 open("/dev/sda2", O_RDONLY|O_LARGEFILE) = 3
3915 uname({sysname="Linux", nodename="v3ls1717", ...}) = 0
3915 ioctl(3, BLKGETSIZE64, [535822336]) = 0
3915 read(3,
>> Do you also have to re-run mkswap when switching back to the older,
working kernel, or does simply using the other kernel let you run swapon
on the same file that doesn't work with the newer kernel?
Nope, same swap file / swap partition, without have to re-run mkswap.
>> Also what does
This doesn't happen on amd64. Do you also have to re-run mkswap when
switching back to the older, working kernel, or does simply using the
other kernel let you run swapon on the same file that doesn't work with
the newer kernel?
** Changed in: linux (Ubuntu)
Status: Incomplete =>
Also what does getconf PAGESIZE say under the broken kernel?
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1788321
Title:
swapon failed: invalid argument
Status in
** Changed in: linux (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1788321
Title:
swapon failed: invalid argument
** Tags added: regression-update
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1788321
Title:
swapon failed: invalid argument
Status in linux package in Ubuntu:
Charlie,
as regards me:
- Ubuntu 18.04
- Linux 4.15.0-33-generic #36-Ubuntu GNU/Linux
- util-linux|mount 2.31.1-0.4ubuntu3.1
affected
- Ubuntu 16.04
- Linux 4.15.0-33-generic #36~16.04.1-Ubuntu GNU/Linux
- util-linux|mount 2.27.1-6ubuntu3.6
not affected
--
You received this bug notification
the changes that broke this seem to be related to the L1 terminal
patches. i've linked the CVE numbers. maybe that will get us some
help.
** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2018-3620
** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2018-3646
** Also
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: util-linux (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
i'm running debian.
i'm using 686 (32 bit) and pae. what kernel are you running?
kernel 4.9.0-5 works and 4.9.0-8 is broken (didn't check others).
apt-get changelog linux-image-4.9.0-8-686-pae has lots of swap related
notes so they definitely borked something.
--
You received this bug
Hi charlie,
thank you for your answer.
I confirm I'm using VMware me too.
Last kernel 4.15.0-33 doesn't fix the issue.
Last kernel not affected is 4.15.0-30.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in
** Package changed: ubuntu => util-linux (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1788321
Title:
swapon failed: invalid argument
Status in util-linux
28 matches
Mail list logo