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

Petr Melnikov 1851232 at bugs.launchpad.net
Fri Mar 5 22:44:48 UTC 2021


open-iscsi 2.0.874-7.1ubuntu6.1 amd64 [installed]

-Version-
Kernel		: Linux 5.8.0-44-generic (x86_64)
Version		: #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021
C Library		: GNU C Library / (Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31
Distribution		: Ubuntu 20.04.2 LTS

========================

in my case -- my iscsi target goes sleep by inactivity (i mean a physical hard-drive).
so it probably doesn't have enough time to wake up - between suspending started and getting some response from the target

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