Public bug reported:

Thinkpad T450s, docking station, Altus Metrum Chaoskey plugged into the
docking station - suspend fails often (more than half the time, maybe
not 100% but easily duplicated in my setup) in that it doesn't seem to
go all the way down - and on wakeup, lsusb output doesn't update, `lsusb
-t` hangs when run.  It *may* require "suspend, undock, unsuspend" but
I'm not convinced...

Interesting logs include a "blocked for more than 120 seconds" traceback
after restore that goes through chaoskey_disconnect even though the
laptop is undocked so it's no longer attached:

[17038.103142] Call Trace:
  __schedule+0x297/0x8b0
  schedule+0x2c/0x80
  schedule_timeout+0x1cf/0x350
  ? ttwu_do_activate+0x7a/0x90
  wait_for_completion+0xba/0x140
  ? wake_up_q+0x80/0x80
  hwrng_unregister+0x8f/0xa0
***  chaoskey_disconnect+0xbe/0x110 [chaoskey] ***
  usb_unbind_interface+0x77/0x290
  device_release_driver_internal+0x15b/0x220
  device_release_driver+0x12/0x20
  bus_remove_device+0xec/0x160
  device_del+0x13d/0x360
  ? usb_remove_ep_devs+0x1f/0x30
  usb_disable_device+0x9f/0x270
  usb_disconnect+0xc6/0x270
  hub_quiesce+0x48/0xa0
  hub_event+0xfb/0xb10
  process_one_work+0x1de/0x410
  worker_thread+0x32/0x410
  kthread+0x121/0x140
  ? process_one_work+0x410/0x410
  ? kthread_create_worker_on_cpu+0x70/0x70
  ? do_syscall_64+0x73/0x130
  ? SyS_exit_group+0x14/0x20
  ret_from_fork+0x35/0x40

Kernel is most recently `4.15.0-13-generic #14-Ubuntu` but it's been
going on for the last month of bionic, and *possibly* longer but I only
recently caught that the Chaoskey was related.

$ lsb_release -rd
Description:    Ubuntu Bionic Beaver (development branch)
Release:        18.04

$ uname -a
Linux workbench 4.15.0-13-generic #14-Ubuntu SMP Sat Mar 17 13:44:27 UTC 2018 
x86_64 x86_64 x86_64 GNU/Linux

$ dpkg --status linux-image-4.15.0-13-generic
Package: linux-image-4.15.0-13-generic
Status: install ok installed
Priority: optional
Section: kernel
Installed-Size: 72167
Maintainer: Ubuntu Kernel Team <kernel-t...@lists.ubuntu.com>
Architecture: amd64
Source: linux
Version: 4.15.0-13.14
Provides: aufs-dkms, fuse-module, ivtv-modules, kvm-api-4, linux-image, 
redhat-cluster-modules, spl-dkms, spl-modules, virtualbox-guest-modules, 
zfs-dkms, zfs-modules
Depends: kmod
Recommends: grub-pc | grub-efi-amd64 | grub-efi-ia32 | grub | lilo, 
initramfs-tools | linux-initramfs-tool
Suggests: fdutils, linux-doc-4.15.0 | linux-source-4.15.0, linux-tools, 
linux-headers-4.15.0-13-generic
Description: Linux kernel image for version 4.15.0 on 64 bit x86 SMP
 This package contains the Linux kernel image for version 4.15.0 on
 64 bit x86 SMP.
 .
 Also includes the corresponding System.map file, the modules built by the
 packager, and scripts that try to ensure that the system is not left in an
 unbootable state after an update.
 .
 Supports Generic processors.
 .
 Geared toward desktop and server systems.
 .
 You likely do not want to install this package directly. Instead, install
 the linux-generic meta-package, which will ensure that upgrades work
 correctly, and that supporting packages are also installed.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: bionic

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

Title:
  chaoskey interferes with suspend on thinkpad

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to