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
[ 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
/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