Description of problem: swapon: /var/cache/swap/swap.dat: swapon failed: Invalid argument Version-Release number of selected component (if applicable): util-linux-2.28.2-1.fc25.ppc64 kernel-core-4.8.6-300.fc25.ppc64 How reproducible: Always Steps to Reproduce: 1. dd if=/dev/zero of=swap.dat bs=1024 count=4194316 2. mkswap swap.dat 3. sync # long standing bug requires swap header on disk before kernel sees it 4. swapon swap.dat Actual results: swapon: /var/cache/swap/swap.dat: swapon failed: Invalid argument Expected results: Successful completion Additional info: A swapfile 1K shorter than 4G works. As a workaround, swapspace can be increased beyond 4G by using multiple swapfiles.
I can't reproduce this issue within the same environment (kernel, util-linux) on a physical machine. AFAIK Stuart was using a KVM guest.
(In reply to Dan Horák from comment #1) > I can't reproduce this issue within the same environment (kernel, > util-linux) on a physical machine. AFAIK Stuart was using a KVM guest. Yes, I was using a KVM guest to debug an issue with cjdns building for ppc64. Let me test on x86_64 KVM guest...
Works in a F25 KVM on X86_64. I'll ask to borrow a ppc64 vm again to see if it is still broken there. Or are you already doing that?
i have tested on F25 KVM on ppc64, it works fine for me. following packages is installed in kvm ppc64: kernel-4.8.4-301.fc25.ppc64 util-linux-2.28.2-1.fc25.ppc64 i'm testing it again with new kernel-4.8.10-300.fc25.ppc64, will post the result soon
I guess, we can close this issue. [Please, reopen if able to reproduce with the new updates]