[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962359

Title:
  Hibernation fails due to resource busy during swap file check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1962359/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962359

Title:
  Hibernation fails due to resource busy during swap file check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1962359/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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  /* Device or resource busy */

-- 
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 during swap file check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1962359/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 busy during swap file check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1962359/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 hibernation failure isn't logged in the dmesg.

That's correct. The machine just stalls with a blank screen. It's still
awake as is apparent by motherboard lights. It cannot be awoken in any
way and needs to cold restarted using power button.

Curiously if I run smem before I attempt to hibernate, it does not show
any processes using swap. ie

$ smem --columns="swap" --no-header | tr -d " " | awk '$1 != 0' | wc -l
0

-- 
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 during swap file check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1962359/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 during swap file check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1962359/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs