Re: F33 BTRFS - Not enough swap space for hibernation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 7, 2020 at 11:55 AM Samuel Sieb <samuel@xxxxxxxx> wrote:

So this is why you aren't noticing any improvement from zram.  You
aren't using any swap at all at this point.  But more importantly, this
is why hibernation isn't working.  You don't have any disk swap.  What
happened to your swap file?

Alright, I am now out of ideas.

I have tried the btrfs_map_physical.c script to get the physical offset. 

I now even have the 'Hibernate' option in the 'KDE Leave' menu.

BUT....

When I do a hibernate either via the KDE menu or 'systemctl hibernate', the screen goes blank for 2 seconds and comes back.

Hibernation is not successful.

This is what I get from 'dmesg':

[  269.976652] PM: Cannot find swap device, try swapon -a
[  269.976655] PM: Cannot get swap writer
[  270.069993] PM: hibernation: Basic memory bitmaps freed
[  270.069997] OOM killer enabled.
[  270.069999] Restarting tasks ... done.
[  270.076223] Bluetooth: hci0: RTL: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[  270.076867] Bluetooth: hci0: RTL: rom_version status=0 version=1
[  270.076870] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_fw.bin
[  270.076880] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_config.bin
[  270.076945] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[  270.076951] Bluetooth: hci0: RTL: cfg_sz -2, total sz 22496
[  270.097216] PM: hibernation: hibernation exit

What does 'Cannot get swap writer' mean ?

This is my output from 'swapon':

$ swapon
NAME         TYPE      SIZE USED PRIO
/fedora.swap file       10G   0B   -2
/dev/zram0   partition 3.8G  27M  100


Patrick said BTRFS have been set up by people here, but I could not find any relevant threads that showed that.
 
So what is going wrong ?

Is this a bug ?

--
Regards,
Sreyan Chakravarty
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux