[Touch-packages] [Bug 2057687] Re: systemctl hibernate error: "Call to Hibernate failed: Invalid argument"

2024-04-29 Thread cc
The "Call to Hibernate failed: Invalid argument" problem, i try to
resolve it by using a separate swap partition(i used a swap file before
upgrade to 24.04), changing the  /etc/default/grub by removing the
resume=xxx and resume_offset=xxx kernel parameter,  changing the
/etc/initramfs-tools/conf.d/resume  by  adding resume=xxx, then sudo
update-grub2, sudo update-initramfs -c -k all.

My config file and swap partition looks like:
$ blkid
/dev/mapper/vgubuntu-swap: UUID="a01cbd0d-9dcc-405a-9a5e-a3d2687419fc" 
TYPE="swap"

$ cat /etc/default/grub|grep LINUX
GRUB_CMDLINE_LINUX_DEFAULT="splash"
GRUB_CMDLINE_LINUX=""

$ cat /etc/initramfs-tools/conf.d/resume   
resume=UUID=a01cbd0d-9dcc-405a-9a5e-a3d2687419fc

Test and check the log.
$ sudo systemctl hibernate
It works.

$ journalctl -x --no-pager --since='2024-04-29 13:45:00'

Some log looks like below:
The system has now entered the hibernate sleep state.
..
kernel: ACPI: PM: Preparing to enter system sleep state S4
..
kernel: ACPI: PM: Waking up from system sleep state S4
..

If anyone met the "Wakeup event detected during hibernation, rolling back" 
problem, change the /etc/modprobe.d/blacklist.conf and add blacklist kernel 
module, for example:
blacklist intel_hid

FYI.
https://bbs.archlinux.org/viewtopic.php?id=294111
Bug 218634 - Hibernate fails with "Wakeup event detected during hibernation, 
rolling back"
https://bugzilla.kernel.org/show_bug.cgi?id=218634


** Bug watch added: Linux Kernel Bug Tracker #218634
   https://bugzilla.kernel.org/show_bug.cgi?id=218634

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2057687

Title:
  systemctl hibernate error: "Call to Hibernate failed: Invalid
  argument"

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  After upgrading systemd to 255(255.2-3ubuntu2) hibernate stopped
  working.

  Trying to hibernate:
  systemctl hibernate

  I get:
  Call to Hibernate failed: Invalid argument

  systemctl status systemd-hibernate.service

  -
  × systemd-hibernate.service - Hibernate
   Loaded: loaded (/usr/lib/systemd/system/systemd-hibernate.service; 
static)
   Active: failed (Result: exit-code) since Tue 2024-03-12 18:48:12 MSK; 
1min 33s ago
 Docs: man:systemd-hibernate.service(8)
  Process: 4473 ExecStart=/usr/lib/systemd/systemd-sleep hibernate 
(code=exited, status=1/FAILURE)
 Main PID: 4473 (code=exited, status=1/FAILURE)
  CPU: 5ms

  мар 12 18:48:12 ASUSPRO-P3540FA systemd[1]: Starting 
systemd-hibernate.service - Hibernate...
  мар 12 18:48:12 ASUSPRO-P3540FA systemd-sleep[4473]: Failed to find location 
to hibernate to: Invalid argument
  мар 12 18:48:12 ASUSPRO-P3540FA systemd[1]: systemd-hibernate.service: Main 
process exited, code=exited, status=1/FAILURE
  мар 12 18:48:12 ASUSPRO-P3540FA systemd[1]: systemd-hibernate.service: Failed 
with result 'exit-code'.
  мар 12 18:48:12 ASUSPRO-P3540FA systemd[1]: Failed to start 
systemd-hibernate.service - Hibernate.
  --

  Previous version (254.x) worked: swapfile(on EXT4 fs) is used to
  hibernate/resume, resume with resume_offset kernel parameters.

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1767578] [NEW] libcurl is missing brotli support

2018-04-27 Thread cc
Public bug reported:

Now that the bionic release of curl has added HTTP/2 support, please
consider adding support for brotli too.

This can be compiled in with the --with-brotli flag that is already
available and adding the libbrotli-dev package as a dependency.

** Affects: curl (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: brotli curl

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to curl in Ubuntu.
https://bugs.launchpad.net/bugs/1767578

Title:
  libcurl is missing brotli support

Status in curl package in Ubuntu:
  New

Bug description:
  Now that the bionic release of curl has added HTTP/2 support, please
  consider adding support for brotli too.

  This can be compiled in with the --with-brotli flag that is already
  available and adding the libbrotli-dev package as a dependency.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1567697] Re: libcurl is missing http2 support

2017-11-19 Thread cc
+1 for adding HTTP2 support. While we are asking for features, pls
enable TCP Fast Open too in the compilation flags.

It's kind of sad that the curl that ships with macOS has more features
enabled than in Ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to curl in Ubuntu.
https://bugs.launchpad.net/bugs/1567697

Title:
  libcurl is missing http2 support

Status in curl package in Ubuntu:
  Confirmed

Bug description:
  libcurl supports HTTP/2.0 through libnghttp2, but the package on
  Ubuntu is not compiled with it.

  Alternatively, a libcurl4-(gnutls|openssl)-nghttp2 might be a good
  idea.

  See also: https://curl.haxx.se/docs/http2.html

  curl CLI tool should not need an update, as it already has the
  commandline switches, but when you use them it comes back with
  unsupported protocol.

  drwilco@eris:~$ curl --http2 www.google.com
  curl: (1) Unsupported protocol

  
  drwilco@eris:~$ lsb_release -rd
  Description:  Ubuntu Xenial Xerus (development branch)
  Release:  16.04
  root@eris:~# apt-cache policy libcurl3
  libcurl3:
Installed: 7.47.0-1ubuntu2
Candidate: 7.47.0-1ubuntu2
Version table:
   *** 7.47.0-1ubuntu2 500
  500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
  100 /var/lib/dpkg/status

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp