[Bug 1851232] Re: Laptop does not suspend when using open-iscsi

Petr Melnikov 1851232 at bugs.launchpad.net
Fri Mar 5 22:33:38 UTC 2021


i have the same issue...
===========================================================================================
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got resume for 13:66
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got resume for 13:73
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:74
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:81
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:71
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:65
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) event1  - Power Button: device removed
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (**) Option "fd" "31"
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) event17 - Laptop_Integrated_Webcam_HD: In: device removed
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (**) Option "fd" "49"
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (**) Option "fd" "48"
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) event4  - AT Translated Set 2 keyboard: device removed
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (**) Option "fd" "44"
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) event7  - AlpsPS/2 ALPS GlidePoint: device removed
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (**) Option "fd" "49"
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) event5  - Microsoft Microsoft Wireless Optical Mouse® 1.00 Consumer Control: device removed
mar 05 21:18:09 dell-ubuntu20 kernel: rfkill: input handler enabled
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got resume for 13:70
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got resume for 13:67
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got resume for 13:72
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got resume for 13:66
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got resume for 13:73
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:74
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:81
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:71
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:65
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:68
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:69
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 226:0
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:70
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:67
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:72
mar 05 21:18:09 dell-ubuntu20 kernel: Freezing user space processes ... (elapsed 0.002 seconds) done.
mar 05 21:18:09 dell-ubuntu20 kernel: OOM killer disabled.
mar 05 21:18:09 dell-ubuntu20 kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
mar 05 21:18:09 dell-ubuntu20 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
mar 05 21:18:09 dell-ubuntu20 kernel: PM: dpm_run_callback(): scsi_bus_suspend+0x0/0x20 returns -22
mar 05 21:18:09 dell-ubuntu20 kernel: PM: Device 7:0:0:1 failed to suspend async: error -22
mar 05 21:18:09 dell-ubuntu20 kernel: PM: Some devices failed to suspend, or early wake event detected
mar 05 21:18:09 dell-ubuntu20 kernel: OOM killer enabled.
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:66
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got pause for 13:73
mar 05 21:18:09 dell-ubuntu20 kernel: Restarting tasks ... done.
mar 05 21:18:09 dell-ubuntu20 kernel: video LNXVIDEO:00: Restoring backlight state
mar 05 21:18:09 dell-ubuntu20 kernel: video LNXVIDEO:01: Restoring backlight state
mar 05 21:18:09 dell-ubuntu20 systemd-sleep[5817]: Failed to suspend system. System resumed again: Invalid argument
mar 05 21:18:09 dell-ubuntu20 kernel: PM: suspend exit
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got resume for 13:74
mar 05 21:18:09 dell-ubuntu20 systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE
mar 05 21:18:09 dell-ubuntu20 systemd[1]: systemd-suspend.service: Failed with result 'exit-code'.
mar 05 21:18:09 dell-ubuntu20 systemd[1]: Failed to start Suspend.
mar 05 21:18:09 dell-ubuntu20 systemd[1]: Dependency failed for Suspend.
mar 05 21:18:09 dell-ubuntu20 systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
mar 05 21:18:09 dell-ubuntu20 systemd[1]: Stopped target Sleep.
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got resume for 13:81
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got resume for 13:71
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got resume for 13:65
mar 05 21:18:09 dell-ubuntu20 /usr/lib/gdm3/gdm-x-session[2494]: (II) systemd-logind: got resume for 13:68
===========================================================================================

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/1851232

Title:
  Laptop does not suspend when using open-iscsi

Status in open-iscsi package in Ubuntu:
  Confirmed

Bug description:
  When logged into an iSCSI node (isciadm -m -node -l) my laptop won't
  suspend to ram anymore.

  "dmesg -T" after such a failed suspend gives

  [Mo Nov  4 13:22:54 2019] Suspending console(s) (use no_console_suspend to debug)
  [Mo Nov  4 13:22:54 2019] sd 3:0:0:1: [sdb] Synchronizing SCSI cache
  [Mo Nov  4 13:22:54 2019] sd 3:0:0:1: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_TRANSPORT_FAILFAST driverbyte=DRIVER_OK
  [Mo Nov  4 13:22:54 2019] dpm_run_callback(): scsi_bus_suspend+0x0/0x20 returns -5
  [Mo Nov  4 13:22:54 2019] PM: Device 3:0:0:1 failed to suspend async: error -5
  [Mo Nov  4 13:22:54 2019] PM: Some devices failed to suspend, or early wake event detected

  Here sdb is a device I connected to using open-iscsi. The partition on
  it is also mounted.

  When I open the lid again, the login screen will usually show up,
  though I had cases where the system would completely hang, the screen
  would stay black and I had to reboot the whole thing.

  "lsb_release -rd" gives

  Description:	Ubuntu 18.04.3 LTS
  Release:	18.04

  "apt-cache policy open-iscsi" gives

  open-iscsi:
    Installed: 2.0.874-5ubuntu2.7
    Candidate: 2.0.874-5ubuntu2.7

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: open-iscsi 2.0.874-5ubuntu2.7
  ProcVersionSignature: Ubuntu 4.15.0-66.75-generic 4.15.18
  Uname: Linux 4.15.0-66-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Nov  4 13:05:46 2019
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2018-01-18 (655 days ago)
  InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
  SourcePackage: open-iscsi
  UpgradeStatus: Upgraded to bionic on 2018-12-07 (331 days ago)
  modified.conffile..etc.iscsi.iscsid.conf: [inaccessible: [Errno 13] Permission denied: '/etc/iscsi/iscsid.conf']

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1851232/+subscriptions



More information about the foundations-bugs mailing list