[Bug 1962359] Re: Hibernation fails due to resource busy during swap file check

2022-05-24 Thread zyf0330
Sorry, I am wrong. Previously, I set "resume=LABEL=Swap" into grub `GRUB_CMDLINE_LINUX` param, and got error msg `kernel: PM: Image not found (code -16)` and resume failed. After change to set `resume=/dev/xxx-to-swap`, resume works. -- You received this bug notification because you are a

[Bug 1962359] Re: Hibernation fails due to resource busy during swap file check

2022-05-24 Thread zyf0330
I am lucky that find the same problem here. I use Ubuntu 21.10, and the error info is same `kernel: PM: Image not found (code -16)`. This is my swap info NAME TYPE SIZE USED PRIO /dev/nvme1n1p5 partition 32G 0B -2 -- You received this bug notification because you are a

[Bug 1962359] Re: Hibernation fails due to resource busy during swap file check

2022-04-05 Thread bsdz
For me, when I ran journalctl (see above) the following message was present: "kernel: PM: Image not found (code -16)". The minus sign is prefixed to the error code and 16 is a standard linux kernel error code, i.e. $ grep 16 /usr/include/asm-generic/errno-base.h #define EBUSY 16 /*

[Bug 1962359] Re: Hibernation fails due to resource busy during swap file check

2022-04-04 Thread James
Same here. I have 48GB Ram and 76GB swap partition. Where did you see the error code -16 is EBUSY? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962359 Title: Hibernation fails due to resource

[Bug 1962359] Re: Hibernation fails due to resource busy during swap file check

2022-03-02 Thread bsdz
> Is the swap space big enough? A good point. This worked on previous versions on Ubuntu with swap (18GB) only 50% of RAM (32GB). I recreated my /swapfile with 38GB and the same issue persists. ie. $ free -m total ... Mem: 31964 Swap: 38911 > Furthermore, the

[Bug 1962359] Re: Hibernation fails due to resource busy during swap file check

2022-03-01 Thread Kai-Heng Feng
Is the swap space big enough? Furthermore, the hibernation failure isn't logged in the dmesg. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962359 Title: Hibernation fails due to resource busy